Professional Documents
Culture Documents
Guide 3.0
Based on NCPDP SCRIPT Version 2017071
October 1, 2018
THIS IS AN EARLY ADOPTER GUIDE. REQUIREMENTS ARE SUBJECT TO CHANGE.
MEDICATION HISTORY EARLY ADOPTER DRAFT COMPANION GUIDE 3.0
PUBLISHED BY
SURESCRIPTS, L.L.C.
920 2ND AVENUE S.
MINNEAPOLIS, MN 55402
PHONE: 866-267-9482
FAX: 651-855-3001
This document and all other documents, materials, and information, transmitted or orally communicated by
Surescripts® in the course of the parties’ dealings constitute and are hereby designated as proprietary and
confidential information of Surescripts, and may not be reproduced or distributed (in whole or in part) without the
express written consent of Surescripts.
TABLE OF CONTENTS
Section 1: Product Overview 5
1.1 About Medication History 5
1.2 About This Guide 5
1.3 Examples Disclaimer 6
1.4 Guide Disclaimer 6
1.5 Document References 6
Section 2: Product Integration & Production 8
2.1 Integration Process 8
2.2 Terminology Usage 9
2.3 Transition to Production 9
2.4 Communication Rules 9
2.5 Synchronous Processing 9
2.6 UTC Time Format 10
2.7 Character Set 10
2.8 Compliance 11
Section 3: Messages Overview 12
3.1 Message Descriptions 12
3.2 Medication History Request/Response Message Flow 13
3.2.1 Example Response Scenarios for Multiple Sources of Data 15
3.3 Acknowledgement Messages 16
3.3.1 Status 16
3.3.2 Status Best Practice 16
3.3.3 Error 16
3.3.4 Acknowledgment Message Table 17
3.3.5 Error Codes 17
3.3.6 Error Text Table 18
3.3.7 Message Workflow Scenarios 19
3.4 Message Validation 22
Section 4: Message Definition 23
4.1 Requirement Designation 23
Note: The terms "message" and "transaction" are used interchangeably throughout this guide.
"Transaction" is used when referencing language pulled directly from a standards organization
document which uses the term "transaction".
When developing, this Guide should be used along with the accompanying schema file, additional
documentation referenced, and applicable customary XML coding standards.
NCPDP SCRIPT Standard 2017071 package: Includes the XML Schemas, Implementation Guide, XML
Standard Guide, and SCRIPT Standard Examples Guide V13
This Guide utilizes the NCPDP messaging standard version 2017071 as a baseline. Members of
NCPDP can access standards at http://ncpdp.org/Standards/Standards-Info. To become a
member, please go to https://ncpdp.org/membership/Apply-Online.aspx.
The NCPDP SCRIPT Standard 2017071 package contains a complete list of fields and additional
requirements. Customers should read and comprehend the associated standards prior to reading
this Guide.
NCPDP
9240 E. Raintree Drive
Scottsdale, AZ 85260-7518
Phone: (480) 477-1000
Fax: (480) 767-1042
http://www.ncpdp.org
Note: The time frame of the project can vary depending on your resource allocation for the
project.
Meeting Requirements
During Integration, customers undergo certification testing to demonstrate all requirements are
met. Certification focuses on message format, and when appropriate, application workflow and
display in accordance with Surescripts documentation and the associated Application Certification
Requirements (ACRs). Upon successful completion of certification and, when applicable, other
pre-production network requirements (e.g., Identity Proofing, DEA audit), customers may
transition to production.
shall Requirements customers are required to meet in order to be certified on the Surescripts network.
These requirements will be enforced as part of certification.
should Used for guidance and best practices. Customers are encouraged, but not required, to meet best
practices in order to be certified on the Surescripts network.
l When sending a message to Surescripts, the provider vendor system should set the http
timeout to no less than 30 seconds.
l A receiving system must reply with a valid response within 10 seconds.
When sending only a Date (not Date and Time), it should be sent in your local time zone, and the
receiver should interpret it in their local time. Neither party should attempt to convert the Date to
UTC.
All standard programming languages should have a function for generating a date in the UTC time
zone or displaying a date in the local time zone. The format of the date/time fields in the XML
schema must use the xsd:dateTime format. Examples of that format are: CCYY-MM-
DDTHH:MM:SS.FZ, where the UTC time zone may be specified as Z, + 00:00, or - 00:00. For
example, 2013-01-01T16:09:04.5Z, or 2013-01-01T16:09:04.5-00:00, or 2013-01-
01T16:09:04.5+00:00, where 16:09:04.5Z would be 16 hours, 09 minutes, 04 seconds, 5 fractional
seconds. UTC time is denoted by either the “Z” in the first example or the “-00:00” in the second
example, or the “+00:00” in the third example. The fractional seconds is not required. Refer to
xsd:dateTime for more information.
For simple date fields that do not include the time portion, the format is: CCYY-MM-DD.
Unprintable characters, such as control characters, are not used within the field sets. Defined
unprintable characters are used as delimiters.
UTF-8 is the required character encoding for XML. Other encoding formats are not supported by
Surescripts. It is recommended that customers declare their UTF-8 formatting in the message
header.
2.8 COMPLIANCE
Surescripts goal is efficiency and consistency across the network so that all customers can meet
the highest measures of patient safety, end-to-end reliability, and quality. To ensure that customers
comply with, and adhere to, the approved certification requirements, Surescripts:
l initiates a remediation process for identified compliance issues, and
l monitors customers in production to ensure all network customers remain in compliance with
certification requirements and contractual terms.
Customers agree to notify Surescripts when they have altered, reconfigured or disabled any
portion of a Surescripts certified software product or module, before moving such changes into
production, as they may create a circumstance of non-compliance with the Surescripts certification
issued. In those instances, Surescripts will work with the customer to perform a timely re-
certification, if required, to ensure network compliance and safety.
This Guide is intended for certification on our network only and is not intended to ensure
compliance with state and federal law. In accordance with customer’s legal agreement with
Surescripts, each customer is responsible for conducting its own due diligence to ensure
compliance with all applicable laws and requirements, including, but not limited to, local and state
laws and regulations in which the customer’s application is deployed and used.
As a reminder, Surescripts conducts certification with customers to ensure the application adheres
to network requirements. Surescripts will enforce mandatory fields as required by the Standards
body and Surescripts guide requirements. To maximize interoperability, customers are
recommended to support optional fields that have been created to address gaps in discrete data
needs and the many solutions that are in place for the benefit of the receiver. Surescripts
encourages, but does not guarantee the use of optional discrete fields to support end user
workflows.
The provider sends patient demographic information in the RxHistoryRequest message. Providers can request for up to 12 months of
history from the date of the request.
RxHistoryResponse
The RxHistoryResponse message returns information about outpatient prescriptions that the patient’s PBM/payer has paid for over a
selected period of time and contains retail fill data from pharmacies connected to Surescripts for Medication History.
Up to the last 300 medications are returned, starting with the most recent.
Note: When more medications are available, a More Medications Available response is returned in the Approved/ReasonCode (AQ -
More Medication History Available) and then another RxHistoryRequest can be sent to obtain additional medication history.
The following steps depict the basic workflow of a Medication History message:
*1. Medication History for Ambulatory: The Eligibility Request (270) is sent by the provider vendor system to Surescripts to obtain eligibility
information. The Interchange Control Number (ISA13) from the Eligibility Request (270) is sent in the RxHistoryRequest.
Note: This also applies to Medication History for Reconciliation customers who perform an eligibility request (270).
3. Provider vendor system receives a ‘Status 000’ response from Surescripts acknowledging receipt.
6. Provider vendor system receives an asynchronous aggregated RxHistoryResponse message (including both fill and claim records)
from Surescripts.
Note: In cases where the patient was found and no medications were available, the provider vendor system will receive an
asynchronous RxHistoryResponse message from Surescripts with Response/Approved/ReasonCode = ‘DJ’ and Note = "Although a
patient record was found, no medications were available.”
7. Provider vendor system sends a synchronous ‘Status 010’ response to Surescripts acknowledging receipt.
Valid RxHistoryRequest: N/A N/A N/A No Approved Approved /ReasonCode = ‘DJ’ AND Note =
Medications Patient Not Found.
Patient is not found within
any
of the data suppliers
(PBM/Payers or
Pharmacies).
3.3.1 STATUS
Status is used to indicate to the sender that the message was accepted for processing. A Status is always a synchronous response.
Provider vendors are required to send a Status 010 in response to an RxHistoryResponse indicating that the message processing is
complete and was successful.
Status 000 indicates the process is not complete. A subsequent RxHistoryResponse message should be expected.
3.3.3 ERROR
This message indicates that an error has occurred. An error can be generated when there is a communication problem or when an error
occurs during the processing of the message.
Status 010 Confirms successful delivery and Synchronous response Subsequent acknowledgement message should not be
acceptance of a message to its final indicates the process is expected.
destination. complete.
The final acknowledgement message to
close the transaction workflow.
No further acknowledgement message
should follow.
Error 600, Can be generated when there is a Send to communicate After receiving an Error, do not expect subsequent
601, communication problem or when an error that the transaction acknowledgement messages.
602, occurs during the processing of the failed.
Do not respond to an Error message with an Error
700, message.
Do not send if a message.
900
Closes the transaction workflow. transaction workflow
Subsequent acknowledgement messages has already been
should not be expected. closed (Status Code
010).
Note: The table below does not capture every error situation. Error descriptions are subject to change.
900 No active medhistory portal config found for sender specified version.
900 The received message type is an invalid message type for this service.
900 The message format is not recognized as valid for this service.
900 RxHistoryRequest requires an Eligibility - Interchange Control Number (ISA13) in the RelatesToMessageID field.
900 Requested StartDate cannot be in the future or more than one year in the past.
900 Authorization Failed. Sender account not authorized to send with this certificate.
900 Url id parameter value of {Id from Url} does not match message id value of {Id From Message Header} from message header.
900 Surescripts messaging version specified in the url {Version from Url} does not match version of the message {Version from Message}.
900 Medication History requests sent directly to PBMs are not supported at Surescripts.
900 Sender portal not authorized to send Medication History for Ambulatory RxHistoryRequest messages.
900 Sender portal not authorized to send Medication History for Reconciliation RxHistoryRequest messages.
3e). Provider vendor system receives an asynchronous RxHistoryResponse message from Surescripts with
Response/Approved/ReasonCode = ‘DM’ and Note = "A processing error occurred. No medication history was returned."
Notes:
If some medications are returned but not all sources were accessible, provider vendor system will receive an asynchronous
aggregated RxHistoryResponse message from Surescripts with Response/Approved/Note = “Not all medication history sources were
accessible at this time.”
If PBM/payer system sends an error Code ‘900’ to Surescripts with a description = “Patient not found.”, then the provider vendor
system receives an asynchronous RxHistoryResponse message from Surescripts with Response/Approved/ReasonCode = ‘DM’ and
Note = "A processing error occurred. No medication history was returned."
3f). Provider vendor system sends a ‘Status 010’ response to Surescripts acknowledging receipt.
Note: Surescripts ACRs are not enforced as part of validations, but instead through the certification process.
Code Description
M Required/Mandatory - the element must be used per the specification (e.g., XML schema
validation).
B Required - the element must be used per the Surescripts business rule.
C Situational/Conditional – the element must be used if conditions are met. Some fields do not have
specific conditions. Data should be sent if available.
Where comments are “Not used by Surescripts for medication history”, information will be passed
on, but not used, by Surescripts for processing.
Note: This Guide includes data elements only where Surescripts has specific requirements or
further explains the field usage. Refer to the schema for a complete list of fields.
M @Qualifier Values:
ZZZ = Mutually Defined
M @Qualifier Value:
ZZZ = Mutually defined
M MessageID The sender should ensure the combination of the From and MessageID
elements is unique for at least 18 months. Surescripts recommends an
unformatted Globally Unique Identifier (GUID).
Facility
Note: Facility is required when the Prescriber element is not provided for Medication History for
Reconciliation RxHistoryRequests.
M Identification
Patient
X NonHumanPatient Surescripts does not support the NCPDP SCRIPT elements for
nonhuman patients.
M HumanPatient
M Name
Prescriber
Note: Prescriber element is required for all Medication History for Ambulatory RxHistoryRequests and for
Medication History for Reconciliation RxHistoryRequests where the Facility is not provided.
X Veterinarian Surescripts does not support the NCPDP SCRIPT elements for
veterinarian prescribers.
M NonVeterinarian
M Identification
M NPI The NPI check digit will be validated using the LUHN formula. For
specific information see:
https://www.cms.gov/Regulations-and-Guidance/Administrative-
Simplification/NationalProvIdentStand/Downloads/NPIcheckdigit.pdf
RequestedDates
M StartDate StartDate is the beginning date for the desired history (up to 1 year ago
from today’s date).
If the RxHistoryResponse indicates more medications are available
(Response/Approved/ReasonCode = ‘AQ’) and the requestor desires to
make a subsequent request for additional medications within the dates
of the original request, a new RxHistoryRequest will need to be sent with
the StartDate equal to the original StartDate.
M EndDate EndDate is the end date for the desired history (e.g., today’s date).
EndDate must be after the StartDate.
If the RxHistoryResponse indicates more medications are available
(Response/Approved/ReasonCode = ‘AQ’) and the requestor desires to
make a subsequent request for additional medications within the dates
of the original request, a new RxHistoryRequest will need to be sent with
the EndDate equal to the LastFillDate of the oldest medication returned
in the RxHistoryResponse.
MedicationDispensed
Note: MedicationPrescribed and MedicationDispensedAdministered are not used for Surescripts
Medication History.
C DrugCoded
M @Qualifier Values:
ND = NDC11 (Should be sent)
C Strength/StrengthForm
C Strength/StrengthUnitOf
Measure
M Quantity
C HistoryPrescriberOrderNumber If sent, this is the Prescriber Order Number (PON) from the
prescription.
C HistorySource This is the source and fill number information for the
medication listed.
M Source
Note: In the example(s) below the version is 20170714 which is a republication of version
2017071.
<PostalCode>543215151</PostalCode>
<CountryCode>US</CountryCode>
</Address>
<CommunicationNumbers>
<PrimaryTelephone>
<Number>9528553055</Number>
<Extension>1234</Extension>
<SupportsSMS>Y</SupportsSMS>
</PrimaryTelephone>
<ElectronicMail>myemail@aol.com</ElectronicMail>
</CommunicationNumbers>
</HumanPatient>
</Patient>
<Prescriber>
<NonVeterinarian>
<Identification>
<DEANumber>MJ2746581</DEANumber>
<NPI>1234567893</NPI>
</Identification>
<PracticeLocation>
<BusinessName>Test Clinic</BusinessName>
</PracticeLocation>
<Name>
<LastName>Johnson</LastName>
<FirstName>John</FirstName>
<MiddleName>Joe</MiddleName>
<Suffix>Jr</Suffix>
<Prefix>Dr</Prefix>
</Name>
<Address>
<AddressLine1>272 E Central St</AddressLine1>
<AddressLine2>Ste #1322</AddressLine2>
<City>Anytown</City>
<StateProvince>MN</StateProvince>
<PostalCode>554371319</PostalCode>
<CountryCode>US</CountryCode>
</Address>
<CommunicationNumbers>
<PrimaryTelephone>
<Number>6123892727</Number>
<Extension>55536789</Extension>
<SupportsSMS>Y</SupportsSMS>
</PrimaryTelephone>
<Fax>
<Number>6126529093</Number>
<Extension>4412</Extension>
<SupportsSMS>N</SupportsSMS>
</Fax>
</CommunicationNumbers>
</NonVeterinarian>
</Prescriber>
<RequestedDates>
<StartDate>
<Date>2017-08-13</Date>
</StartDate>
<EndDate>
<Date>2018-08-13</Date>
</EndDate>
</RequestedDates>
</RxHistoryRequest>
</Body>
</Message>
<NonVeterinarian>
<Identification>
<DEANumber>MJ2746581</DEANumber>
<NPI>1234567893</NPI>
</Identification>
<PracticeLocation>
<BusinessName>Test Clinic</BusinessName>
</PracticeLocation>
<Name>
<LastName>Johnson</LastName>
<FirstName>John</FirstName>
<MiddleName>Joe</MiddleName>
<Suffix>Jr</Suffix>
<Prefix>Dr</Prefix>
</Name>
<Address>
<AddressLine1>272 E Central St</AddressLine1>
<AddressLine2>Ste #1322</AddressLine2>
<City>Anytown</City>
<StateProvince>MN</StateProvince>
<PostalCode>554371319</PostalCode>
<CountryCode>US</CountryCode>
</Address>
<CommunicationNumbers>
<PrimaryTelephone>
<Number>6123892727</Number>
<Extension>55536789</Extension>
<SupportsSMS>Y</SupportsSMS>
</PrimaryTelephone>
<Fax>
<Number>6126529093</Number>
<Extension>4412</Extension>
<SupportsSMS>N</SupportsSMS>
</Fax>
</CommunicationNumbers>
</NonVeterinarian>
</Prescriber>
<RequestedDates>
<StartDate>
<Date>2017-08-13</Date>
</StartDate>
<EndDate>
<Date>2018-08-13</Date>
</EndDate>
</RequestedDates>
</RxHistoryRequest>
</Body>
</Message>
<TertiaryIdentification>S00000000000002</TertiaryIdentification>
</Sender>
<Receiver/>
</Security>
<SenderSoftware>
<SenderSoftwareDeveloper>SoftwareDev</SenderSoftwareDeveloper>
<SenderSoftwareProduct>443</SenderSoftwareProduct>
<SenderSoftwareVersionRelease>2.1</SenderSoftwareVersionRelease>
</SenderSoftware>
<TestMessage>1</TestMessage>
</Header>
<Body>
<RxHistoryResponse>
<Response>
<Approved/>
</Response>
<BenefitsCoordination>
<Consent>Y</Consent>
</BenefitsCoordination>
<Patient>
<HumanPatient>
<Name>
<LastName>Doe</LastName>
<FirstName>Jane</FirstName>
<MiddleName>Ann</MiddleName>
<Suffix>Sr</Suffix>
</Name>
<Gender>F</Gender>
<DateOfBirth>
<Date>1983-02-22</Date>
</DateOfBirth>
<Address>
<AddressLine1>123 Main St</AddressLine1>
<City>Anytown</City>
<StateProvince>MN</StateProvince>
<PostalCode>543215151</PostalCode>
<CountryCode>US</CountryCode>
</Address>
</HumanPatient>
</Patient>
<Prescriber>
<NonVeterinarian>
<Identification>
<DEANumber>MJ2746581</DEANumber>
<NPI>1234567893</NPI>
</Identification>
<PracticeLocation>
<BusinessName>Test Clinic</BusinessName>
</PracticeLocation>
<Name>
<LastName>Johnson</LastName>
<FirstName>John</FirstName>
<MiddleName>Joe</MiddleName>
<Suffix>Jr</Suffix>
<Prefix>Dr</Prefix>
</Name>
<Address>
<AddressLine1>272 E Central St</AddressLine1>
<AddressLine2>Ste #1322</AddressLine2>
<City>Anytown</City>
<StateProvince>MN</StateProvince>
<PostalCode>554371319</PostalCode>
<CountryCode>US</CountryCode>
</Address>
<CommunicationNumbers>
<PrimaryTelephone>
<Number>6123892727</Number>
<Extension>55536789</Extension>
<SupportsSMS>Y</SupportsSMS>
</PrimaryTelephone>
<Fax>
<Number>6126529093</Number>
<Extension>4412</Extension>
<SupportsSMS>N</SupportsSMS>
</Fax>
</CommunicationNumbers>
</NonVeterinarian>
</Prescriber>
<MedicationDispensed>
<DrugDescription>Cefdinir 125 MG/5 ML suspension</DrugDescription>
<DrugCoded>
<ProductCode>
<Code>65862021801</Code>
<Qualifier>ND</Qualifier>
</ProductCode>
<Strength>
<StrengthValue>125</StrengthValue>
<StrengthForm>
<Code>C68981</Code>
</StrengthForm>
<StrengthUnitOfMeasure>
<Code>C91131</Code>
</StrengthUnitOfMeasure>
</Strength>
<DrugDBCode>
<Code>309054</Code>
<Qualifier>SCD</Qualifier>
</DrugDBCode>
</DrugCoded>
<Quantity>
<Value>200</Value>
<CodeListQualifier>87</CodeListQualifier>
<QuantityUnitOfMeasure>
<Code>C28254</Code>
</QuantityUnitOfMeasure>
</Quantity>
<DaysSupply>10</DaysSupply>
<LastFillDate>
<Date>2018-06-16</Date>
</LastFillDate>
<Substitutions>0</Substitutions>
<Diagnosis>
<ClinicalInformationQualifier>1</ClinicalInformationQualifier>
<Primary>
<Code>J0100</Code>
<Qualifier>ABF</Qualifier>
<Description>Acute maxillary sinusitis, unspecified</Description>
</Primary>
</Diagnosis>
<HistorySource>
<Source>
<SourceQualifier>PY</SourceQualifier>
</Source>
</HistorySource>
</MedicationDispensed>
<MedicationDispensed>
<DrugDescription>Amoxicillin 125 MG/5 ML suspension</DrugDescription>
<DrugCoded>
<ProductCode>
<Code>65862070655</Code>
<Qualifier>ND</Qualifier>
</ProductCode>
<Strength>
<StrengthValue>125</StrengthValue>
<StrengthForm>
<Code>C68981</Code>
</StrengthForm>
<StrengthUnitOfMeasure>
<Code>C91131</Code>
</StrengthUnitOfMeasure>
</Strength>
<DrugDBCode>
<Code>313797</Code>
<Qualifier>SCD</Qualifier>
</DrugDBCode>
</DrugCoded>
<Quantity>
<Value>100</Value>
<CodeListQualifier>87</CodeListQualifier>
<QuantityUnitOfMeasure>
<Code>C28254</Code>
</QuantityUnitOfMeasure>
</Quantity>
<DaysSupply>10</DaysSupply>
<LastFillDate>
<Date>2018-06-15</Date>
</LastFillDate>
<Substitutions>0</Substitutions>
<Diagnosis>
<ClinicalInformationQualifier>1</ClinicalInformationQualifier>
<Primary>
<Code>H6504</Code>
<Qualifier>ABF</Qualifier>
<Description>Acute serous otitis media, recurrent, right ear</Description>
</Primary>
</Diagnosis>
<HistorySource>
<Source>
<SourceQualifier>PY</SourceQualifier>
</Source>
</HistorySource>
</MedicationDispensed>
<RequestedDates>
<StartDate>
<Date>2017-08-13</Date>
</StartDate>
<EndDate>
<Date>2018-08-13</Date>
</EndDate>
</RequestedDates>
</RxHistoryResponse>
</Body>
</Message>
<SentTime>2018-07-20T08:03:24.184Z</SentTime>
<SenderSoftware>
<SenderSoftwareDeveloper>Surescripts</SenderSoftwareDeveloper>
<SenderSoftwareProduct>Medication History</SenderSoftwareProduct>
<SenderSoftwareVersionRelease>1.0.0.127</SenderSoftwareVersionRelease>
</SenderSoftware>
<TestMessage>1</TestMessage>
</Header>
<Body>
<RxHistoryResponse>
<Response>
<Approved/>
</Response>
<BenefitsCoordination>
<Consent>Y</Consent>
</BenefitsCoordination>
<Patient>
<HumanPatient>
<Name>
<LastName>Doe</LastName>
<FirstName>Jane</FirstName>
<MiddleName>Ann</MiddleName>
<Suffix>Sr</Suffix>
</Name>
<Gender>F</Gender>
<DateOfBirth>
<Date>1983-02-22</Date>
</DateOfBirth>
<Address>
<AddressLine1>123 Main St</AddressLine1>
<City>Anytown</City>
<StateProvince>MN</StateProvince>
<PostalCode>543215151</PostalCode>
<CountryCode>US</CountryCode>
</Address>
</HumanPatient>
</Patient>
<Prescriber>
<NonVeterinarian>
<Identification>
<DEANumber>MJ2746581</DEANumber>
<NPI>1234567893</NPI>
</Identification>
<PracticeLocation>
<BusinessName>Test Clinic</BusinessName>
</PracticeLocation>
<Name>
<LastName>Johnson</LastName>
<FirstName>John</FirstName>
<MiddleName>Joe</MiddleName>
<Suffix>Jr</Suffix>
<Prefix>Dr</Prefix>
</Name>
<Address>
<AddressLine1>272 E Central St</AddressLine1>
<AddressLine2>Ste #1322</AddressLine2>
<City>Anytown</City>
<StateProvince>MN</StateProvince>
<PostalCode>554371319</PostalCode>
<CountryCode>US</CountryCode>
</Address>
<CommunicationNumbers>
<PrimaryTelephone>
<Number>6123892727</Number>
<Extension>55536789</Extension>
<SupportsSMS>Y</SupportsSMS>
</PrimaryTelephone>
<Fax>
<Number>6126529093</Number>
<Extension>4412</Extension>
<SupportsSMS>N</SupportsSMS>
</Fax>
</CommunicationNumbers>
</NonVeterinarian>
</Prescriber>
<MedicationDispensed>
<DrugDescription>Cefdinir 125 MG/5 ML suspension</DrugDescription>
<DrugCoded>
<ProductCode>
<Code>65862021801</Code>
<Qualifier>ND</Qualifier>
</ProductCode>
<Strength>
<StrengthValue>125</StrengthValue>
<StrengthForm>
<Code>C68981</Code>
</StrengthForm>
<StrengthUnitOfMeasure>
<Code>C91131</Code>
</StrengthUnitOfMeasure>
</Strength>
<DrugDBCode>
<Code>309054</Code>
<Qualifier>SCD</Qualifier>
</DrugDBCode>
</DrugCoded>
<Quantity>
<Value>200</Value>
<CodeListQualifier>87</CodeListQualifier>
<QuantityUnitOfMeasure>
<Code>C28254</Code>
</QuantityUnitOfMeasure>
</Quantity>
<DaysSupply>10</DaysSupply>
<LastFillDate>
<Date>2018-06-16</Date>
</LastFillDate>
<Substitutions>0</Substitutions>
<Diagnosis>
<ClinicalInformationQualifier>1</ClinicalInformationQualifier>
<Primary>
<Code>J0100</Code>
<Qualifier>ABF</Qualifier>
<Description>Acute maxillary sinusitis, unspecified</Description>
</Primary>
</Diagnosis>
<HistorySource>
<Source>
<SourceQualifier>PY</SourceQualifier>
</Source>
</HistorySource>
</MedicationDispensed>
<MedicationDispensed>
<DrugDescription>Amoxicillin 125 MG/5 ML suspension</DrugDescription>
<DrugCoded>
<ProductCode>
<Code>65862070655</Code>
<Qualifier>ND</Qualifier>
</ProductCode>
<Strength>
<StrengthValue>125</StrengthValue>
<StrengthForm>
<Code>C68981</Code>
</StrengthForm>
<StrengthUnitOfMeasure>
<Code>C91131</Code>
</StrengthUnitOfMeasure>
</Strength>
<DrugDBCode>
<Code>313797</Code>
<Qualifier>SCD</Qualifier>
</DrugDBCode>
</DrugCoded>
<Quantity>
<Value>100</Value>
<CodeListQualifier>87</CodeListQualifier>
<QuantityUnitOfMeasure>
<Code>C28254</Code>
</QuantityUnitOfMeasure>
</Quantity>
<DaysSupply>10</DaysSupply>
<LastFillDate>
<Date>2018-06-15</Date>
</LastFillDate>
<Substitutions>0</Substitutions>
<Diagnosis>
<ClinicalInformationQualifier>1</ClinicalInformationQualifier>
<Primary>
<Code>H6504</Code>
<Qualifier>ABF</Qualifier>
<Description>Acute serous otitis media, recurrent, right ear</Description>
</Primary>
</Diagnosis>
<HistorySource>
<Source>
<SourceQualifier>PY</SourceQualifier>
</Source>
</HistorySource>
</MedicationDispensed>
<RequestedDates>
<StartDate>
<Date>2017-08-13</Date>
</StartDate>
<EndDate>
<Date>2018-08-13</Date>
</EndDate>
</RequestedDates>
</RxHistoryResponse>
</Body>
</Message>
Note Sent in
Event Comments
RxHistoryResponse
Surescripts cannot find the patient Patient Not Found.
identified.
Note Sent in
Event Comments
RxHistoryResponse
Surescripts cannot obtain results A processing error An error occurred while processing the
from any source due to any occurred. No report. No medication history was returned.
Surescripts or Source error occurring medication history
Examples of errors include, but are not
while attempting to get results. was returned.
limited to:
- Error response
- Timeout from a data source
Surescripts gets results from one, Not all medication Not all available results may be present in
but not all information sources. history sources were this report. Not all information sources were
accessible at this accessible at this time.
time.
Patient was found, but no Although a patient A patient record was found, but no
medications were found for the date record was found, no medication(s) were found or the medication
range specified. medications were (s) that could be found are for dates outside
available.” the range provided by customer.
DEASchedule Use the NCPDP DEASchedule Terminology rows from the downloaded
data.
Message Format
S.101: Customer must create and send syntactically valid messages and shall be able to receive
syntactically valid maximum and minimum populated messages. Optional data elements (and values
therein) shall not cause message failure.
APPENDIX A: TRANSLATION
For details on translation between different versions of the Surescripts implementation of the
NCPDP SCRIPT standard, see Medication History 3.0 Translation Matrix.