core.medplumclient.readpatienteverything | Medplum

MedplumClient.readPatientEverything() method

Executes the Patient "everything" operation for a patient.

Signature:

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

Parameters

Parameter Type Description
id string The Patient Id
options MedplumRequestOptions (Optional) Optional fetch options.

Returns:

ReadablePromise

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.