Changelog
v0.4.0
Released date: 2026-06-15
Motivation
Clients need to retrieve a specific historical version of a plan, not just the latest one. This complements the History endpoint (which returns metadata only) by returning the full plan object at a given version.
Changes
- Added
GET /plan/{id}/version/{version}endpoint returning fullResponseobject - Returns
400for invalid UUID or version format,404for plan or version not found
v0.3.0
Released date: 2026-06-12
Motivation
The API now supports retrieving the full version history of a plan, enabling audit trail use cases. Additionally, the Search endpoint now requires the patient parameter to prevent unintended broad queries.
Changes
- Added
GET /plan/{id}/historyendpoint returning[]HistoryResponse - Added
HistoryResponsemodel with fields:version,status,updated_at,updated_by,comment patientquery parameter is now mandatory inSearchendpoint (returns400when missing)
v0.2.0
Released date: 2026-06-12
Motivation
The API model has been refactored to separate request and response. This provides a cleaner public API where server-assigned fields (id, version, updated_at) are not exposed in request bodies, and consumers receive dedicated response objects.
Additionally, the API now enforces optimistic locking via version checking on updates.
Changes
- Split single
Requestmodel intoCreateRequest,UpdateRequest, andResponse - Renamed
planfield toclinical_contentin all requests and responses - Renamed
Planmodel toContent/Clinical Content CreateRequestno longer acceptsversion— assigned by serverUpdateRequestrequiresversion— must match current server version for optimistic lockingUpdateendpoint returns409 Conflicton version mismatch,422 Unprocessable Entityon missing version- Updated
activestatus description to clarify it does NOT imply the plan is approved
v0.1.0
Released date: 2026-06-12
Motivation
Based of the feedback from work meeting 2026-06-11, we have revised which FHIR statuses to include as of now.
Furthermore, we have updated the documentation for the active status
to not imply the plan is approved. This does not currently cause any behavioural changes in the API.
Changes
- Added
Request.statusoptionrevoked - Removed
Request.statusoptionscompletedandon-hold