Skip to main content
POST/transactional-api/create-note

Create Note

Creates a clinical note against a patient record. Provide free-text text, a SNOMED CT coded entry via code, or both; at least one is required.

Authorization: Bearer token (JWT). See Authentication.

Request

curl -L -X POST 'https://{tenantId}.api.england.medicus.health/transactional-api/create-note' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"patientId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"text": "Patient called to confirm medication review.",
"code": {
"conceptId": "185389009",
"description": "Telephone encounter"
},
"recordDate": "2026-01-15",
"consultationTopicHeadingId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"hiddenFromPatientFacingServices": false,
"confidentialFromThirdParties": false
}'

Body parameters

FieldTypeRequiredDescription
patientIdstring<uuid>YesMedicus patient identifier.
textstringNoFree-text note body. Required unless code is supplied.
codeobjectNoSNOMED CT coded entry. Required unless text is supplied; resolved against the NHS term browser.
recordDatestring<date>NoRecord date (YYYY-MM-DD). Defaults to today.
consultationTopicHeadingIdstring<uuid> (nullable)No
hiddenFromPatientFacingServicesbooleanNoIf true, hidden from Patient Facing Services (IM1) such as the NHS App.
confidentialFromThirdPartiesbooleanNo

Responses

200 Note created.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
400 Validation error.
8 possible code values
CodeDescriptionWhen
missing-patient-idThe patientId is requiredpatientId missing
invalid-patient-idThe patientId is not validpatientId not a valid UUID
patient-not-foundPatient not found for this patientIdpatientId doesn't exist
invalid-codeCould not resolve conceptId into a SNOMED CT code. Check the NHS term browser.code conceptId doesn't resolve to a SNOMED CT code
no-code-or-textYou must specify one of code or textneither code nor text supplied
invalid-consultation-topic-heading-idThe consultationTopicHeadingId is not a UUIDconsultationTopicHeadingId not a UUID
consultation-topic-heading-not-foundConsultation topic heading not found for this consultationTopicHeadingIdconsultationTopicHeadingId doesn't exist
invalid-record-dateThe recordDate is not a valid date in Y-m-d format.recordDate not a valid date in Y-m-d format
{
"errors": [
{
"code": "missing-patient-id",
"description": "The patientId is required"
}
]
}