US Prescription Drug Monitoring Program (PDMP)
1.0.0 - STU1 United States of America flag

US Prescription Drug Monitoring Program (PDMP), published by HL7 International / Pharmacy. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-pdmp/ and changes regularly. See the Directory of published versions

: pdmp-bundle-response-message-1 - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="pdmp-bundle-response-message-1"/>
  <meta>
    <profile
             value="http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-bundle-response-message"/>
  </meta>
  <type value="message"/>
  <timestamp value="2020-03-11T08:10:17-05:00"/>
  <entry>
    <fullUrl value="urn:uuid:b5000d0c-fed9-4746-ac26-b5ce0111a2b7"/>
    <resource>
      <MessageHeader>
        <id value="b5000d0c-fed9-4746-ac26-b5ce0111a2b7"/>
        <meta>
          <profile
                   value="http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-messageheader-response"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">Event = the canonical URL for the pdmp-history operation. Focus is the Parameters resource holding response content.</div>
        </text>
        <eventCoding>
          <system value="urn:ietf:rfc:3986"/>
          <code
                value="http://hl7.org/fhir/us/pdmp/OperationDefinition/pdmp-history"/>
          <display value="pdmp-history"/>
        </eventCoding>
        <source>
          <name value="MyPDMPServer"/>
          <endpoint value="https://pdmp1.testpdmp.org/"/>
        </source>
        <response>
          <identifier value="messageheader-req-op-1"/>
          <code value="ok"/>
        </response>
        <focus>
          <reference value="urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164"/>
        </focus>
      </MessageHeader>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164"/>
    <resource>
      <Parameters>
        <id value="aecbb129-9a73-4b59-9d66-ff5cdb3f3164"/>
        <meta>
          <profile
                   value="http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-parameters-response"/>
        </meta>
        <parameter>
          <extension
                     url="http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-header-timestamp-extension">
            <valueDateTime value="2023-12-01"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-activity-period-extension">
            <valuePeriod>
              <start value="2021-12-02"/>
              <end value="2023-12-01"/>
            </valuePeriod>
          </extension>
          <name value="pdmp-history-data"/>
          <resource>
            <Bundle>
              <id value="bundle-history-data-in-msg-1"/>
              <meta>
                <profile
                         value="http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-bundle-history-result"/>
              </meta>
              <type value="collection"/>
              <entry id="meddispense-res-1">
                <fullUrl
                         value="urn:uuid:9ce2a97b-5cab-4986-814f-4734016e6084"/>
                <resource>
                  <MedicationDispense>
                    <meta>
                      <source value="http://example.org/ma-pdmp"/>
                      <profile
                               value="http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-medicationdispense"/>
                    </meta>
                    <text>
                      <status value="generated"/>
                      <div xmlns="http://www.w3.org/1999/xhtml">A record of a medication that was dispensed to the patient identified in the PDMP request: August Samuels</div>
                    </text>
                    <extension
                               url="http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-extension-rx-fill-number">
                      <valuePositiveInt value="1"/>
                    </extension>
                    <status value="completed"/>
                    <medicationCodeableConcept>
                      <coding>
                        <system
                                value="http://www.nlm.nih.gov/research/umls/rxnorm"/>
                        <code value="993781"/>
                        <display
                                 value="acetaminophen 300 MG / codeine phosphate 30 MG Oral Tablet"/>
                        <userSelected value="true"/>
                      </coding>
                      <coding>
                        <system value="http://hl7.org/fhir/sid/ndc"/>
                        <code value="00093015001"/>
                      </coding>
                      <text
                            value="Acetaminophen 300 mg / Codeine 30 mg oral tablet"/>
                    </medicationCodeableConcept>
                    <subject>
                      <reference
                                 value="urn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57"/>
                      <display value="August Samuels"/>
                    </subject>
                    <performer>
                      <actor>
                        <reference
                                   value="urn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e"/>
                        <identifier>
                          <system
                                  value="http://terminology.hl7.org/CodeSystem/NCPDPProviderIdentificationNumber"/>
                          <value value="999017"/>
                        </identifier>
                        <display value="Our Pharmacy"/>
                      </actor>
                    </performer>
                    <authorizingPrescription>
                      <identifier>
                        <type>
                          <coding>
                            <system
                                    value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                            <code value="FILL"/>
                            <display value="Filler Identifier"/>
                          </coding>
                        </type>
                        <system
                                value="http://mypharmacysystem.com/prescriptionnumber"/>
                        <value value="065046045550"/>
                      </identifier>
                    </authorizingPrescription>
                    <quantity>
                      <value value="10"/>
                      <unit value="each"/>
                    </quantity>
                    <daysSupply>
                      <value value="5"/>
                    </daysSupply>
                    <whenPrepared value="2023-06-05"/>
                    <whenHandedOver>
                      <extension
                                 url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
                        <valueCode value="unknown"/>
                      </extension>
                    </whenHandedOver>
                    <dosageInstruction>
                      <sequence value="1"/>
                      <text value="1 tab tid prn pain"/>
                    </dosageInstruction>
                  </MedicationDispense>
                </resource>
              </entry>
              <entry>
                <fullUrl
                         value="urn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57"/>
                <resource>
                  <Patient>
                    <id value="patient-res-1-1"/>
                    <meta>
                      <source value="http://example.org/ma-pdmp"/>
                      <profile
                               value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"/>
                    </meta>
                    <text>
                      <status value="generated"/>
                      <div xmlns="http://www.w3.org/1999/xhtml">The PDMP Responder's patient record for the patient identified in the PDMP request: August Samuels</div>
                    </text>
                    <identifier>
                      <type>
                        <coding>
                          <system
                                  value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                          <code value="SS"/>
                        </coding>
                      </type>
                      <system value="http://hl7.org/fhir/sid/us-ssn"/>
                      <value value="120-35-2435"/>
                    </identifier>
                    <name>
                      <family value="Samuels"/>
                      <given value="John"/>
                    </name>
                    <gender value="male"/>
                    <birthDate value="1989-03-12"/>
                    <address>
                      <line value="202 2nd Avenue"/>
                      <city value="North Amherst"/>
                      <state value="MA"/>
                      <postalCode value="01059"/>
                    </address>
                  </Patient>
                </resource>
              </entry>
              <entry>
                <fullUrl
                         value="urn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e"/>
                <resource>
                  <Organization>
                    <id value="pharmacy-res-1-1"/>
                    <meta>
                      <source value="http://example.org/ma-pdmp"/>
                      <profile
                               value="http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-organization-pharmacy"/>
                    </meta>
                    <text>
                      <status value="generated"/>
                      <div xmlns="http://www.w3.org/1999/xhtml">The pharmacy that dispensed the reported medication: Our Pharmacy</div>
                    </text>
                    <identifier>
                      <system value="http://hl7.org/fhir/sid/us-npi"/>
                      <value value="1669512349"/>
                    </identifier>
                    <identifier>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/NCPDPProviderIdentificationNumber"/>
                      <value value="999017"/>
                    </identifier>
                    <active value="true"/>
                    <name value="Our Pharmacy"/>
                    <telecom>
                      <system value="phone"/>
                      <value value="952-555-5555"/>
                    </telecom>
                    <telecom>
                      <system value="email"/>
                      <value value="contact-our-pharmacy@email.org"/>
                    </telecom>
                    <address>
                      <line value="220 Oak St"/>
                      <city value="Minneapolis"/>
                      <state value="MN"/>
                      <postalCode value="55008"/>
                      <country value="USA"/>
                    </address>
                  </Organization>
                </resource>
              </entry>
            </Bundle>
          </resource>
        </parameter>
      </Parameters>
    </resource>
  </entry>
</Bundle>