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 - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "pdmp-bundle-response-message-1"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-bundle-response-message"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-bundle-response-message>     ] )
  ] ; # 
  fhir:type [ fhir:v "message"] ; # 
  fhir:timestamp [ fhir:v "2020-03-11T08:10:17-05:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "urn:uuid:b5000d0c-fed9-4746-ac26-b5ce0111a2b7"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:b5000d0c-fed9-4746-ac26-b5ce0111a2b7> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164> )
  ] ) . # 

<urn:uuid:b5000d0c-fed9-4746-ac26-b5ce0111a2b7> a fhir:MessageHeader ;
  fhir:id [ fhir:v "b5000d0c-fed9-4746-ac26-b5ce0111a2b7"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-messageheader-response"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-messageheader-response>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<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>"
  ] ; # 
  fhir:event [
a fhir:Coding ;
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:code [ fhir:v "http://hl7.org/fhir/us/pdmp/OperationDefinition/pdmp-history" ] ;
fhir:display [ fhir:v "pdmp-history" ]
  ] ; # 
  fhir:source [
fhir:name [ fhir:v "MyPDMPServer" ] ;
fhir:endpoint [ fhir:v "https://pdmp1.testpdmp.org/"^^xsd:anyURI ]
  ] ; # 
  fhir:response [
fhir:identifier [ fhir:v "messageheader-req-op-1" ] ;
fhir:code [ fhir:v "ok" ]
  ] ; # 
  fhir:focus ( [
fhir:reference [ fhir:v "urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164" ]
  ] ) . # 

<urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164> a fhir:Parameters ;
  fhir:id [ fhir:v "aecbb129-9a73-4b59-9d66-ff5cdb3f3164"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-parameters-response"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-parameters-response>     ] )
  ] ; # 
  fhir:parameter ( [
    ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-header-timestamp-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2023-12-01"^^xsd:date ]     ] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-activity-period-extension"^^xsd:anyURI ] ;
fhir:value [
a fhir:Period ;
fhir:start [ fhir:v "2021-12-02"^^xsd:date ] ;
fhir:end [ fhir:v "2023-12-01"^^xsd:date ]       ]     ] ) ;
fhir:name [ fhir:v "pdmp-history-data" ] ;
    ( fhir:Parameters.parameter.resource [
a fhir:Bundle ;
fhir:id [ fhir:v "bundle-history-data-in-msg-1" ] ;
fhir:meta [
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-bundle-history-result"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-bundle-history-result>         ] )       ] ;
fhir:type [ fhir:v "collection" ] ;
      ( fhir:entry [
fhir:id [ fhir:v "meddispense-res-1" ] ;
fhir:fullUrl [ fhir:v "urn:uuid:9ce2a97b-5cab-4986-814f-4734016e6084"^^xsd:anyURI ] ;
        ( fhir:resource <urn:uuid:9ce2a97b-5cab-4986-814f-4734016e6084> )       ] [
fhir:fullUrl [ fhir:v "urn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57"^^xsd:anyURI ] ;
        ( fhir:resource <urn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57> )       ] [
fhir:fullUrl [ fhir:v "urn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e"^^xsd:anyURI ] ;
        ( fhir:resource <urn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e> )       ] )     ] )
  ] ) . # 

<urn:uuid:9ce2a97b-5cab-4986-814f-4734016e6084> a fhir:MedicationDispense ;
  fhir:meta [
fhir:source [ fhir:v "http://example.org/ma-pdmp"^^xsd:anyURI ] ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-medicationdispense"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-medicationdispense>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<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>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-extension-rx-fill-number"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:positiveInteger ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:medication [
a fhir:CodeableConcept ;
    ( fhir:coding [
fhir:system [ fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "993781" ] ;
fhir:display [ fhir:v "acetaminophen 300 MG / codeine phosphate 30 MG Oral Tablet" ] ;
fhir:userSelected [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/ndc"^^xsd:anyURI ] ;
fhir:code [ fhir:v "00093015001" ]     ] ) ;
fhir:text [ fhir:v "Acetaminophen 300 mg / Codeine 30 mg oral tablet" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "urn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57" ] ;
fhir:display [ fhir:v "August Samuels" ]
  ] ; # 
  fhir:performer ( [
fhir:actor [
fhir:reference [ fhir:v "urn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e" ] ;
fhir:identifier [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/NCPDPProviderIdentificationNumber"^^xsd:anyURI ] ;
fhir:value [ fhir:v "999017" ]       ] ;
fhir:display [ fhir:v "Our Pharmacy" ]     ]
  ] ) ; # 
  fhir:authorizingPrescription ( [
fhir:identifier [
fhir:type [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "FILL" ] ;
fhir:display [ fhir:v "Filler Identifier" ]         ] )       ] ;
fhir:system [ fhir:v "http://mypharmacysystem.com/prescriptionnumber"^^xsd:anyURI ] ;
fhir:value [ fhir:v "065046045550" ]     ]
  ] ) ; # 
  fhir:quantity [
fhir:value [ fhir:v "10"^^xsd:decimal ] ;
fhir:unit [ fhir:v "each" ]
  ] ; # 
  fhir:daysSupply [
fhir:value [ fhir:v "5"^^xsd:decimal ]
  ] ; # 
  fhir:whenPrepared [ fhir:v "2023-06-05"^^xsd:date] ; # 
  fhir:whenHandedOver [
    ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ] ;
fhir:value [ fhir:v "unknown" ]     ] )
  ] ; # 
  fhir:dosageInstruction ( [
fhir:sequence [ fhir:v "1"^^xsd:integer ] ;
fhir:text [ fhir:v "1 tab tid prn pain" ]
  ] ) . # 

<urn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57> a fhir:Patient ;
  fhir:id [ fhir:v "patient-res-1-1"] ; # 
  fhir:meta [
fhir:source [ fhir:v "http://example.org/ma-pdmp"^^xsd:anyURI ] ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<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>"
  ] ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "SS" ]       ] )     ] ;
fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-ssn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "120-35-2435" ]
  ] ) ; # 
  fhir:name ( [
fhir:family [ fhir:v "Samuels" ] ;
    ( fhir:given [ fhir:v "John" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1989-03-12"^^xsd:date] ; # 
  fhir:address ( [
    ( fhir:line [ fhir:v "202 2nd Avenue" ] ) ;
fhir:city [ fhir:v "North Amherst" ] ;
fhir:state [ fhir:v "MA" ] ;
fhir:postalCode [ fhir:v "01059" ]
  ] ) . # 

<urn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e> a fhir:Organization ;
  fhir:id [ fhir:v "pharmacy-res-1-1"] ; # 
  fhir:meta [
fhir:source [ fhir:v "http://example.org/ma-pdmp"^^xsd:anyURI ] ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-organization-pharmacy"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-organization-pharmacy>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">The pharmacy that dispensed the reported medication: Our Pharmacy</div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1669512349" ]
  ] [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/NCPDPProviderIdentificationNumber"^^xsd:anyURI ] ;
fhir:value [ fhir:v "999017" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:name [ fhir:v "Our Pharmacy"] ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "952-555-5555" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "contact-our-pharmacy@email.org" ]
  ] ) ; # 
  fhir:address ( [
    ( fhir:line [ fhir:v "220 Oak St" ] ) ;
fhir:city [ fhir:v "Minneapolis" ] ;
fhir:state [ fhir:v "MN" ] ;
fhir:postalCode [ fhir:v "55008" ] ;
fhir:country [ fhir:v "USA" ]
  ] ) . #