---
title: Element Details
slug: rtpb-pbm-payers/guide/element-details
docTags: 
createdAt: 2026-06-11T13:19:33.569Z
---

## Requirement Designation

<font color="#000000">Element Attributes:</font>

| **Code**       | **Description**                                                                                                                  |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| mandatory      | The element must be used per the specification (e.g., XML schema validation).                                                    |
| business rule  | If sent, the element must be used per the Surescripts business rule.<br />**Note**: Not all business rules reside in this table. |
| conditional    | The element is to be used per the conditions specified.                                                                          |
| recommended    | Surescripts recommends sending the element as a best practice.                                                                   |
| optional       | Some fields do not have specific conditions. Data should be sent if available.                                                   |
| not used       | Not used by Surescripts.                                                                                                         |

## Message Header Elements

:::hint{type="info"}
**Note**: This guide only includes data elements where Surescripts has specific requirements or further explains the field usage. Refer to the NCPDP RTPB XML Schema listed in Document References for a complete list of fields.
:::

| **Element**                   | **Code**              | **Comment**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ----------------------------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| To/Primary                    | **mandatory&#xA0;**   | The identification of the RTPBRequest sender. This can be found in the 'From/Primary' of the RTPBRequest message.                                                                                                                                                                                                                                                                                                                                                                                   |
| To/@Qualifier                 | **mandatory&#xA0;**   | **Value**:<br />D = Prescriber                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| From/Primary                  | **mandatory&#xA0;**   | The identification of the sender of the message. This is the Surescripts-assigned ParticipantID.                                                                                                                                                                                                                                                                                                                                                                                                    |
| From/@Qualifier               | **mandatory&#xA0;**   | **Value**:<br />PY = Payer/Processor                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| From/Tertiary                 | **conditional&#xA0;** | Tertiary field is populated with the Surescripts ID (S00000000000005) on the RTPBRequest.                                                                                                                                                                                                                                                                                                                                                                                                           |
| From/@Qualifier               | **mandatory&#xA0;**   | **Value**:<br />PY = Payer/Processor                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| MessageID                     | **mandatory&#xA0;**   | A minimum set of standards/algorithms should be used when generating message IDs to ensure uniqueness. If possible, customers should utilize Global Unique Identifiers (GUIDs).<br />See [Message Linkage](docId\:POtvNdGIVkWj0g6cGwReJ) for more details.<br />**S.205:** The sender shall ensure the combination of the From and MessageID elements, for all messages including Error, is unique for at least 18 months. Surescripts recommends an unformatted Globally Unique Identifier (GUID). |
| RelatesToMessageID            | **conditional&#xA0;** | This element is case sensitive.<br />RTPBRequest – Populate with value contained in the related Interchange Control Number ISA13 field from the 271 Eligibility Response.<br />RTPBResponse – Populate with the MessageID from the RTPBRequest.<br />See [Message Linkage](docId\:POtvNdGIVkWj0g6cGwReJ) for more details.<br />**S.210:** Customers shall support the scenarios in the Message Linkage section of this guide.                                                                      |
| SentTime                      | **mandatory&#xA0;**   | Date/time of initiation.<br />Refer to [UTC Time Format](docId:7bl7A3eudOP7nx06E4MwI) for information on how to properly format the date/time data.                                                                                                                                                                                                                                                                                                                                                 |
| SoftwareSenderCertificationID | **conditional&#xA0;** | business rule <br />SoftwareSenderCertificationID has a max length of 10 characters. Surescripts requires sending this field.<br />Identifies the entity responsible for the software that generated the message. The developer may be a software vendor or, if the software was developed “in-house”, the developer is the entity sending the message (e.g., a chain). The value transmitted is determined by the Sender Software Developer.                                                       |
| ConsumingApp Extension        | **conditional**       | **Values:**<br />SURESCRIPTS = prescriber sender type<br />SSHUB = hub and life sciences sender type<br />SSPHARMACY = pharmacy sender type<br />**Note:** This is only applicable on the request. This is not expected to be returned on the response.                                                                                                                                                                                                                                             |

### Message Linkage

**S.210:** Customers shall support the scenarios in the Message Linkage section of this guide.

The table below illustrates how the MessageIDs in the Eligibility Response, RTPBRequest and RTPBResponse, and NewRx messages are linked.

:::hint{type="info"}
**Note:&#x20;**&#x50;opulate the RelatesToMessageID in an Error message with the MessageID sent in the original message.
:::

| **Field Names**     | **Eligibility Response**                                                                                                          | **RTPBRequest**                                                                                          | **RTPBResponse**                             | **NewRx**                                                                                                           |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| MessageID           | ELIG43211                                                                                                                         | RTPBREQ1                                                                                                 | RTPBRES1                                     | NEWRX                                                                                                               |
|                     | Assigned by responding PBM/payer.<br />Note: This is the Interchange Control Number ISA13 field from the 271 Eligibility Response | Assigned by provider vendor                                                                              | Assigned by PBM/payer                        | Assigned by provider vendor                                                                                         |
| RelatesTo MessageID | N/A                                                                                                                               | ELIG43211                                                                                                | RTPBREQ1                                     | RTPBRES1                                                                                                            |
|                     |                                                                                                                                   | If available, populate with the Interchange Control Number ISA13 field from the 271 Eligibility Response | Populate with the MessageID from RTPBRequest | If available, populate with the MessageID from RTPBResponse.<br />**Note**: Only populate if ProcessedStatus = True |

## RTPBRequest Elements

:::hint{type="info"}
**Notes:**

- There may be instances where multiple RTPBRequests are sent in parallel to gather additional information for the provider. It is recommended to avoid rate limiting to allow for successful message processing.
- This guide only includes data elements where Surescripts has specific requirements or further explains the field usage. Refer to the Real-Time Prescription Benefit Standard v13 schema listed in Document References for a complete list of fields.
- The RTPBRequest for a patient will be tied to the Eligibility Response received within the last 72 hours for that patient. This is accomplished by using the Interchange Control Number ISA13 from the 271 Eligibility Response in the RelatesToMessageID of the RTPBRequest.
- Per ACR S.201, customers shall ensure all messages are syntactically correct before transmission to Surescripts.
:::

| **Element**                             | **Code**              | **Comment**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| --------------------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Patient                                 | **mandatory&#xA0;**   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|   Name/LastName                         | **mandatory&#xA0;**   | Patient last name. Populate with the Last Name found in the 271 Eligibility Response in the 2100C loop NM103. Recommend using value exactly as it was received in the 271 Eligibility Response.                                                                                                                                                                                                                                                                                                                                                                                                                     |
|   Name/FirstName                        | **mandatory&#xA0;**   | Patient first name. Populate with the First Name found in the 271 Eligibility Response in the 2100C loop NM104. Recommend using value exactly as it was received in the 271 Eligibility Response.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| SexAndGender/<br />AdministrativeGender | **mandatory&#xA0;**   | Patient gender. Populate with the patient's gender found in the 271 Eligibility Response in the 2100C loop DMG03. Recommend using value exactly as it was received in the 271 Eligibility Response.                                                                                                                                                                                                                                                                                                                                                                                                                 |
|   DateOfBirth                           | **mandatory&#xA0;**   | Date of birth of patient. Populate with the patient's date of birth found in the 271 Eligibility Response in the 2100C loop DMG02 that is qualified by the DMG01 code "D8". Recommend using value exactly as it was received in the 271 Eligibility Response.                                                                                                                                                                                                                                                                                                                                                       |
|   StateProvince                         | **mandatory&#xA0;**   | Patient’s state or province. Populate with the patient's state or province found in the 271 Eligibility Response in the 2100C loop N402. Recommend using value exactly as it was received in the 271 Eligibility Response.<br />**Note:&#x20;**&#x4D;ay contain a value of "UN" when the patient's state/province is unknown or not provided in the request.                                                                                                                                                                                                                                                        |
|   PostalCode                            | **mandatory&#xA0;**   | Patient’s address postal code. Populate with the patient's postal code found in the 271 Eligibility Response in the 2100C loop N403. Recommend using value exactly as it was received in the 271 Eligibility Response.                                                                                                                                                                                                                                                                                                                                                                                              |
|   City Extension                        | **mandatory&#xA0;**   | Patient’s city. Populate with the patient's city found in the 271 Eligibility Response in the 2100C loop N401. Recommend using value exactly as it was received in the 271 Eligibility Response.<br />Customers should use the following URL: \<Extension name="City" url="http\://surescripts.com/extensions/RTPBRequest/Patient/City”>                                                                                                                                                                                                                                                                            |
| BenefitsCoordination                    | **mandatory&#xA0;**   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|   PBMMemberID                           | **conditional&#xA0;** | business rule <br />Surescripts requires this field to be sent.<br />Unique PBMMemberID for the Patient. The ID can be found in the 271 Eligibility Response from the PBM/payer in loop 2100C NM109.                                                                                                                                                                                                                                                                                                                                                                                                                |
| RequestedProduct                        | **mandatory&#xA0;**   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|   Product                               | **mandatory&#xA0;**   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|     DrugCoded/NDC                       | **mandatory&#xA0;**   | NDC of the requested medication.<br />NDC must be an 11-digit numeric in the 5-4-2 format. Dashes shall not be used and leading zeros shall not be suppressed.<br />NDC should be representative. Do not send repackaged, obsolete, private label or unit dose NDC unless it is the only NDC available to identify the medication concept.                                                                                                                                                                                                                                                                          |
|   Quantity                              | **mandatory&#xA0;**   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|     Value                               | **mandatory&#xA0;**   | Quantity for the requested medication.<br />To ensure successful message processing, DaysSupply and Quantity should be a numeric value and greater than zero (0).                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|     CodeListQualifier                   | **mandatory&#xA0;**   | Quantity CodeListQualifier for the requested medication.<br />**Value**:<br />38 = Original Quantity                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| QuantityUnitOf<br />Measure/Code        | **mandatory&#xA0;**   | The QuantityUnitCode should reflect the NCit code.<br />If the NCit code is not sent, the provider vendor may not be able to translate the QuantityUnitCode and the response may result in an error.<br />Example Value: C48542 = Tablet<br />For a list of NCit codes, go to: [http://evs.nci.nih.gov/ftp1/NCPDP/About.html](http://evs.nci.nih.gov/ftp1/NCPDP/About.html). This list should be updated monthly. Use the NCPDP QuantityUnitOfMeasure Terminology rows from the downloaded data.<br />**PM.200**: QuantityUnitOfMeasure Code Qualifiers shall be correctly associated with medication descriptions. |
|   DaysSupply                            | **mandatory&#xA0;**   | business rule <br />DaysSupply must be sent for accurate pricing.<br />DaysSupply is the estimated number of days the prescription will last excluding refills, based upon the prescribed quantity and directions. It is the prescribed quantity divided by the daily doses. While this is typically system calculated, the prescriber retains responsibility for the value.<br />DaysSupply and Quantity must be a numeric value and greater than zero (0).                                                                                                                                                        |
|   Diagnosis                             | **conditional&#xA0;** | ICD-10 diagnosis codes should be included on the RTPBRequest to improve PBM/payer processing accuracy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|     Code                                | **mandatory&#xA0;**   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|     @Qualifier                          | **mandatory&#xA0;**   | **Value**:<br />ABF = ICD10                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Prescriber                              | **mandatory&#xA0;**   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|   Identification/NPI                    | **mandatory&#xA0;**   | NPI for the prescriber. NPI will be validated against the check digit routine. For specific information see: [https://www.cms.gov/Regulations-and-Guidance/Administrative-Simplification/NationalProvIdentStand/Downloads/NPIcheckdigit.pdf](https://www.cms.gov/Regulations-and-Guidance/Administrative-Simplification/NationalProvIdentStand/Downloads/NPIcheckdigit.pdf)                                                                                                                                                                                                                                         |
| Pharmacy                                | **mandatory&#xA0;**   | business rule <br />Pharmacy must be sent for accurate pricing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| Identification/NCPDPID                  | **conditional&#xA0;** | business rule <br />The NCPDPID for the pharmacy must be sent in the RTPBRequest.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Identification/NPI                      | **conditional&#xA0;** | business rule <br />The NPI (National Provider ID) for pharmacy must be sent in the RTPBRequest. NPI will be validated against the check digit routine. For specific information see:<br />[https://www.cms.gov/Regulations-and-Guidance/Administrative-Simplification/NationalProvIdentStand/Downloads/NPIcheckdigit.pdf](https://www.cms.gov/Regulations-and-Guidance/Administrative-Simplification/NationalProvIdentStand/Downloads/NPIcheckdigit.pdf)                                                                                                                                                           |
| BusinessName                            | **mandatory&#xA0;**   | Store name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| PrimaryTelephoneNumber                  | **mandatory&#xA0;**   | Store phone number.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |

## RTPBResponse Elements

:::hint{type="info"}
**Notes:**

- This guide only includes data elements where Surescripts has specific requirements or further explains the field usage. Refer to the NCPDP RTPB XML Schema listed in Document References for a complete list of fields.
- Per ACR S.200, customers shall be able to receive syntactically valid maximum and minimum populated messages. Optional data elements (and values therein) shall not cause message failure.
:::

| **Element**                                                              | **Code**              | **Comment**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ------------------------------------------------------------------------ | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Response                                                                 | **mandatory&#xA0;**   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|   Processed                                                              | **mandatory&#xA0;**   | Processed should only be sent in instances where benefit information is provided. Please reach out to your Surescripts representative for additional information.                                                                                                                                                                                                                                                                                                                              |
|     Note                                                                 | **conditional&#xA0;** | Recommended to send if needed to aid in message processing.                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|   NotProcessed                                                           | **mandatory&#xA0;**   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|     Note                                                                 | **conditional&#xA0;** | Additional free text information about the RejectCode.<br />Strongly recommended to send to further explain why message was rejected.                                                                                                                                                                                                                                                                                                                                                          |
| ResponseProduct                                                          | **conditional&#xA0;** |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|   Product                                                                | **mandatory&#xA0;**   | Contains the information on the requested medication.                                                                                                                                                                                                                                                                                                                                                                                                                                          |
|   DrugDescription                                                        | **mandatory&#xA0;**   | The drug name, strength, and form associated with the NDC.                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|   PricingAndCoverages                                                    | **mandatory&#xA0;**   | There may be up to 6 PricingAndCoverages returned per ResponseProduct and ResponseAlternativeProduct.<br />**PM.204**: Coverage restrictions for all \<PricingAndCoverages> elements for medication combinations returned (including alternatives).<br />This concession is allowed: An indicator that coverage restriction(s) apply to a specific combination. User action on this indicator presents all coverage restrictions in their entirety.                                            |
| EstimatedCombined<br />PlanAndPatientSavings                             | **conditional&#xA0;** | Provides additional patient and/or health plan savings information that may assist with medication selection.                                                                                                                                                                                                                                                                                                                                                                                  |
|     EstimatedNetPlanCost                                                 | **conditional&#xA0;** | Provides additional health plan cost information that may assist with medication selection.                                                                                                                                                                                                                                                                                                                                                                                                    |
| ResponseAlternative<br />Product                                         | **conditional&#xA0;** | Clinically appropriate alternatives are provided here. This would include information for an alternative medication (if provided) similar to what is supplied in the ResponseProduct element.<br />**PM.205**: All available appropriate alternatives displayed together. If all alternatives cannot be shown together, this concession is allowed: An indicator that alternative medications are available. User interaction on this indicator presents all alternative medications together. |
| PricingAndCoverages/<br />PricingAndCoverage/<br />CoverageStatusMessage | **conditional&#xA0;** | Additional free text information about the coverage status. May be used to communicate non-benefit coverage types as well as coverage restrictions.                                                                                                                                                                                                                                                                                                                                            |
| PricingAndCoverages/<br />PricingAndCoverage/<br />DrugStatus Extension  | **conditional&#xA0;** | Additional free text information about the drug. May be used to communicate drug and pricing specifics.                                                                                                                                                                                                                                                                                                                                                                                        |

