Skip to main content

core.medplumclient.readpatienteverything

Home > @medplum/core > MedplumClient > readPatientEverything

MedplumClient.readPatientEverything() method

Executes the Patient "everything" operation for a patient.

Signature:

readPatientEverything(id: string, options?: RequestInit): ReadablePromise<Bundle>;

Parameters

ParameterTypeDescription
idstringThe Patient Id
optionsRequestInit(Optional) Optional fetch options.

Returns:

ReadablePromise<Bundle>

A Bundle of all Resources related to the Patient

Example

Example:

const bundle = await medplum.readPatientEverything('123');
console.log(bundle);

See the FHIR "patient-everything" operation for full details: https://hl7.org/fhir/operation-patient-everything.html