Skip to main content

Get patient $everything

MethodPath
GET/v1/slim/patient/:id/$everything

Authentication · Access policies

Returns a FHIR Bundle with the resident and every resource that references them, using the FHIR Patient/$everything operation. Use it to export or inspect a resident's full record.

Auth: Bearer token. The caller must be a practitioner, an admin, a super admin, or hold the "System Owner" access policy. The access policy must grant Patient:read (admins and super admins skip this check). Scope: The resident must belong to the caller's project (from the token) or one of its sub-projects. A resident in the parent project is refused.

Behaviour​

  • Read-only.
  • The bundle is produced by Medplum and read with the caller's own token, so it contains only resources that token can read.
  • The response is a raw FHIR Bundle, not a Slim DTO.

Example​

curl -X GET 'https://api.sandbox.ovok.com/v1/slim/patient/3f1c2b7e-8d4a-4c1e-9b2f-6a7d5e4c3b21/$everything' \
-H "Authorization: Bearer ${OVOK_TOKEN}"

Successful response​

200 — Patient $everything bundle retrieved successfully.

Errors​

StatusMeaning
401Bearer token is missing, invalid or expired.
403You are not a practitioner, admin or System Owner, you lack Patient:read, your session has no project, Medplum refuses you the patient, or the patient is outside your project and its sub-projects.
404No patient with this id exists.
422id is not a UUID.