Skip to Content
ReferenceAPIAppointmentsTransition an appointment

Appointments API

Transition an appointment

Move an appointment through its supported lifecycle.

PATCH/v1/appointments/{appointmentId}
capability appointments.transition · v1health dataserver-scoped workspace

Request

Path, query, and JSON body fields accepted by this operation.

  • appointmentIdstring<uuid>required
    path
  • status"scheduled" | "checked_in" | "in_progress" | "completed" | "cancelled" | "no_show"required
    body
  • expectedUpdatedAtstring<date-time>required
    body

Response

Successful responses use Dawn's data envelope.

  • dataAppointmentrequired
    • idstring<uuid>required
    • workspaceIdstring<uuid>required
    • patientIdstring<uuid>required
    • practitionerIdstring<uuid>required
    • startsAtstring<date-time>required
    • endsAtstring<date-time>required
    • status"scheduled" | "checked_in" | "in_progress" | "completed" | "cancelled" | "no_show"required
    • reasonstring | nullrequired
      max length 240
    • createdAtstring<date-time>required
    • updatedAtstring<date-time>required
  • metaobject

Errors

Error responses use the shared error envelope.

  • 403Scheduling is disabled or unavailable.
  • 404The appointment could not be found.
  • 409The transition is not allowed or the appointment changed.
  • 422The appointment transition is invalid.
  • 503The appointment could not be updated.
Last updated on