Skip to main content

Get everything for a Patient

Patient $everything returns resources in the Patient's compartment and resolves selected references needed for context. Use the optional filters to limit the date range, resource types, or page size.

MethodPath
GET/fhir/R4/Patient/:id/$everything

Request​

curl --get "https://api.sandbox.ovok.com/fhir/R4/Patient/${PATIENT_ID}/\$everything" \
--header "Authorization: Bearer ${OVOK_TOKEN}" \
--data-urlencode '_since=2026-01-01T00:00:00Z' \
--data-urlencode '_count=50' \
--data-urlencode '_type=Observation,Encounter'
ParameterTypeDescription
:idPathID of the Patient.
_sinceinstantInclude resources updated at or after this timestamp.
_countintegerRequested page size.
_offsetintegerResult offset for pagination.
_typecode listRestrict compartment results to listed resource types.
start, enddateOptional care-date bounds for applicable resources.

Successful response​

The operation returns a FHIR Bundle with type: searchset. Compartment resources appear as entries; additionally resolved references may use search.mode: include.

Bundle fieldDescription
typesearchset identifies search results.
entry[].resourcePatient or related resource.
entry[].search.modematch for matched results or include for resolved references, when present.
linkPagination links when more results are available.

See the FHIR R4 Patient $everything operation for the standard definition.