core.removepreferredpharmacyfrompatient
Home > @medplum/core > removePreferredPharmacyFromPatient
removePreferredPharmacyFromPatient() function
Removes a preferred pharmacy extension from a Patient.
Signature:
export declare function removePreferredPharmacyFromPatient(patient: Patient, orgRef: Reference<Organization>): Patient;
Parameters
Parameter | Type | Description |
|---|---|---|
patient | Patient | The Patient resource to modify (will be mutated). |
orgRef | Reference<Organization> | Reference to the Organization resource to remove. |
Returns:
Patient
The modified Patient resource.