Skip to main content
GET/transactional-api/patient/:patientId/demographics

Get Patient Demographics

Returns the demographic details for a single patient. Empty fields are omitted from the response.

Authorization: Bearer token (JWT). See Authentication.

Request​

curl -L -X GET 'https://{tenantId}.api.england.medicus.health/transactional-api/patient/:patientId/demographics' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'

Path and query parameters

NameInTypeRequiredDescription
patientIdpathstring<uuid>YesMedicus patient identifier.

Responses​

200 Patient demographics.

Response fields

FieldTypeDescription
patientIdstring<uuid>Medicus patient identifier.
officialName.prefixstring
officialName.givenNamestring
officialName.middleNamesstring
officialName.familyNamestring
officialName.suffixstring
homeAddress.line1string
homeAddress.line2string
homeAddress.line3string
homeAddress.localitystring
homeAddress.administrativeAreastring
homeAddress.postalCodestring
homeAddress.countrystring
dateOfBirthstring<date>
genderstring
nhsNumberstring
homeTelephoneNumberstring
mobileTelephoneNumberstring
workTelephoneNumberstring
emailAddressstring
{
"patientId": "4d59c916-9726-11ec-af3f-0a58a9feac02",
"officialName": {
"prefix": "Mr",
"givenName": "Frodo",
"middleNames": "Drogo",
"familyName": "Baggins",
"suffix": "Esq"
},
"homeAddress": {
"line1": "Flat 6",
"line2": "16-19",
"line3": "Commercial Row",
"locality": "Doc Penfro",
"administrativeArea": "Pembrokeshire",
"postalCode": "SA72 6LA",
"country": "England"
},
"dateOfBirth": "1971-07-09",
"gender": "male",
"nhsNumber": "9693646525",
"homeTelephoneNumber": "07958 662735",
"mobileTelephoneNumber": "07700 900321",
"workTelephoneNumber": "01646 683000",
"emailAddress": "caitriona.mccormack@medicus.health"
}
400 Validation error.
3 possible code values
CodeDescriptionWhen
invalid-patient-idThe patientId is not a UUIDpatientId not a UUID
patient-not-foundPatient not found for this patientIdpatientId doesn't exist
patient-restrictedAccess to this patient is restricted for this staff member.patient record is marked as restricted in Medicus; only explicitly permitted staff members can access it (not a configuration error, handle gracefully)

Response fields

FieldTypeDescription
errors[].codestring
errors[].descriptionstring
{
"errors": [
{
"code": "invalid-patient-id",
"description": "The patientId is not a UUID"
}
]
}