Skip to main content

Care record

Notes, encounters, observations, documents and referrals

๐Ÿ“„๏ธCreate Encounter

Creates a finalised encounter (consultation) against a patient record, with one or more topics, each carrying one or more headings. Coded entries are SNOMED CT `conceptId` + `description` pairs resolved against the NHS term browser. Optionally, observations, notes, and documents can be filed in the same atomic call: see the `observations`/`notes`/`documents` properties on a heading. Every observation, note, and document filed through this endpoint must be nested under a heading; top-level `observations`/`notes`/`documents` arrays are rejected.

๐Ÿ“„๏ธCreate Outbound Referral

Creates an outbound referral against a patient record. Supply a SNOMED CT coded reason via `code` (required). If a `ubrn` is provided the referral is created as an NHS e-RS referral; otherwise a manual referral is created. Optional file `attachments` are base64-encoded. The referrer defaults to the `act` practitioner and organisation in the access token. Send `referredByPractitioner` / `referredByOrganisation` when the clinician who decided to refer is not the token user. With neither, the referrer shows as Unknown. Send `referredToService` for the service or clinic it was booked to.