Api referenceEndpointsFhir
The user as a FHIR R4 Patient
GET
The user as a Patient: id is the user id, active is true, and identifier is the
tenant's external_ref when it set one. No name or birth date (not stored). A
patient_id other than the user's id, or a user of another tenant, is a 404.
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
id*stringFormat
uuidpatient_id*stringThe Patient id, which is the user id; any other value is a 404.
The Patient.
application/fhir+json- response
The user as a FHIR R4 Patient (docs/fhir.md).
resourceType*stringid*stringFormat
uuididentifier?array<>The tenant's external_ref, when it set one.
active*booleancurl -X GET 'http://localhost:8080/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/fhir/Patient/string' \ -H 'Authorization: Bearer ohs_sk_...'{ "resourceType": "Patient", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "identifier": [ { "system": "http://example.com", "value": "string" } ], "active": true}