core.removepreferredpharmacyfrompatient | Medplum
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 |
Reference to the Organization resource to remove. |
Returns:
Patient
The modified Patient resource.