Skip to main content

Patient $everything Operation

Medplum implements the FHIR $everything operation

FHIR has the option to query everything associated to an individual patient. This is useful when transmitting batch data or getting the full patient history.

Invoke the $everything operation

[base]/R4/Patient/<id>/$everything

Output

The output of the request is a FHIR bundle with all resources belonging to the patient for whom the request is made. The FHIR Bundle created from this operation is the supported machine readable Electronic Health Information Export (EHI) format for Medplum.

Resources Included

Medplum's patient $everything operation includes:

  1. Patient Compartment Resources - All resources defined in the FHIR R4 Patient Compartment

  2. Referenced Resources - Additional resources referenced by patient compartment resources but outside the compartment itself:

    • Organizations
    • Practitioners
    • PractitionerRoles
    • Locations
    • Medications
    • Devices