Developers
V1ClinicalAccess requestsRequestidRecords

Append a practitioner-authored consultation or prescription record

Healthcare recordkeeping only, not pharmacy dispensing or a legal electronic prescription service. No AI generation or automated diagnosis is performed. Identity, licence snapshot and source are assigned by the server. Reuse recordId on retry. Corrections append a new UUID referencing the same author's latest version via supersedesId; originals remain visible.

POST
/v1/clinical/access-requests/{requestId}/records
AuthorizationBearer <token>

In: header

Path Parameters

requestId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/clinical/access-requests/497f6eca-6276-4993-bfeb-53cbbbba6f08/records" \  -H "Content-Type: application/json" \  -d '{    "recordId": "0470cfd4-dcf3-4d8c-ac28-58c6deeff25f",    "code": "consultation",    "schemaVersion": "1.0.0",    "text": "string",    "encounterAt": "2019-08-24T14:15:22Z",    "authorshipConfirmed": true  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "code": "consultation",  "schemaVersion": "1.0.0",  "text": "string",  "encounterAt": "2019-08-24T14:15:22Z",  "recordedAt": "2019-08-24T14:15:22Z",  "source": "practitioner",  "authoredBy": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "licenseAuthority": "string",    "licenseNumber": "string",    "specialistRegistration": "string",    "specialty": "string",    "organization": "string",    "verifiedAt": "2019-08-24T14:15:22Z",    "verificationValidUntil": "2019-08-24T14:15:22Z"  },  "rootId": "5fbed245-3fa3-4aec-a906-36fce6169827",  "revision": 1,  "supersedesId": "688cf67a-2e6c-4e49-8750-5bc8809fcd6f"}