---
title: Pharmacy Elements
slug: eprescribing/guide/pharmacy-elements
docTags: 
createdAt: 2026-06-23T17:27:10.939Z
---

## Pharmacy Elements

| **Element Name**   | **Codes**             | **Comments**                                                                                                                                                                                                                                 |
| ------------------ | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Pharmacy           | **conditional&#xA0;** | `business rule` <br />NewRx and CancelRx must have a Pharmacy listed in the Pharmacy elements.<br />For Quality Check information on Pharmacy, see [Prescriber & Pharmacy Information - Surescripts Directory](docId\:pCe7Y-GykOx0wzHsBvGkv) |
|    Identification  | **mandatory&#xA0;**   |                                                                                                                                                                                                                                              |
|       NCPDPID      | **mandatory&#xA0;**   | `business rule` <br />In addition to being required to be populated, the Pharmacy ID (NCPDPID) in the message body must match the NCPDPID in the message header.                                                                             |
|    Address         | **conditional&#xA0;** |                                                                                                                                                                                                                                              |
|       AddressLine1 | **conditional&#xA0;** | `business rule` <br />A PO Box must not be sent in Address Line 1.                                                                                                                                                                           |

