Skip to main content
POST/transactional-api/mark-patient-as-arrived

Mark Patient as Arrived

Checks a patient in for the given appointment, setting its arrival status to arrived when the appointment is still pending.

Authorization: Bearer token (JWT). See Authentication.

Request

curl -L -X POST 'https://{tenantId}.api.england.medicus.health/transactional-api/mark-patient-as-arrived' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"appointmentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'

Body parameters

FieldTypeRequiredDescription
appointmentIdstring<uuid>YesMedicus appointment identifier.

Responses

200 Patient checked in.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"arrivalStatus": "string",
"patientInstructions": "string"
}
400 Validation error.
4 possible code values
CodeDescriptionWhen
missing-appointment-idThe appointmentId is requiredappointmentId missing
invalid-appointment-idThe appointmentId is not validappointmentId not a valid UUID
appointment-not-foundAppointment not found for this appointmentIdappointmentId doesn't exist
cannot-check-in-late-patientsIt wasn't possible to check you in because your appointment was scheduled to start at 09:10.more than 5 minutes have passed since the appointment's intended start time
{
"errors": [
{
"code": "missing-appointment-id",
"description": "The appointmentId is required"
}
]
}