careplan

Update a careplan activity

Updates careplan activity fields. When a hospital reschedules an encounter in Synops, call this endpoint for each related signable document activity to shift its deadlines (step 2 of 2, after PATCH /encounter/:id). Update endAt, activateAt, and remindAt together — these are all derived from the encounter date and must stay consistent. Related activities are discoverable via GET /careplan-activity?trigger=<encounter.trigger>&type=Message.

patch/careplan-activity/{id}

Request

  • Base URL
    https://api.mijnziekenhuis.be (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

idnumber required

Request body

status'proposed' | 'scheduled' | 'started' | 'cancelled' | 'completed' | 'expired' | 'deleted'
transitionstring
transitionCheckstring
displaystring
triggerstring
plannedAtstring
endAtstring

ISO 8601 datetime. Deadline after which the activity expires. When rescheduling an encounter, update this alongside activateAt and remindAt.

activateAtstring

ISO 8601 datetime. When the activity becomes interactive to the subject.

remindAtstring

ISO 8601 datetime. When a reminder is sent to the subject.

startedAtstring
repeatobject
remindersobject[]
metaobject
contentSlugstring
questionnaireSlugstring
questionnaireIdnumber
questionnaireResponseIdnumber
appointmentIdnumber

Example request

{
  "endAt": "2026-06-12T23:59:59.000Z",
  "activateAt": "2026-06-08T00:00:00.000Z",
  "remindAt": "2026-06-10T09:00:00.000Z"
}

Response

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.