## removePreferredPharmacyFromPatient() function

Removes a preferred pharmacy extension from a Patient.

**Signature:**

```typescript
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.
