core.medplumclient.readpatienteverything
Home > @medplum/core > MedplumClient > readPatientEverything
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  | (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