R6 Ballot (2nd Draft)

Publish-box (todo)

Example MedicationDispense/meddisp0331 (Turtle)

Pharmacy Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Encounter, Patient, Practitioner

Raw Turtle (+ also see Turtle/RDF Format Specification)

Dispense for Warfarin 2mg (NDC Code) where the product is dispensed as multiple strengths based on prescribe dosage

@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:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "meddisp0331"] ; # 
  fhir:contained ( [
     a fhir:Medication ;
     fhir:id [ fhir:v "med0352" ] ;
     fhir:code [
       fhir:coding ( [
         fhir:system [ fhir:v "http://hl7.org/fhir/sid/ndc"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "0056-0170-70" ] ;
         fhir:display [ fhir:v "COUMADIN, 1 BOTTLE in 1 CARTON (0056-0170-70) > 100 TABLET in 1 BOTTLE (package)" ]
       ] ) ; #   <display value=\"Coumadin 2mg tablet\"\/>  
       fhir:text [ fhir:v "Coumadin 2mg tablet" ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "in-progress"] ; # 
  fhir:medication [
     fhir:reference [
       fhir:reference [ fhir:v "#med0352" ] ;
       fhir:display [ fhir:v "COUMADIN, 1 BOTTLE in 1 CARTON (0056-0170-70) > 100 TABLET in 1 BOTTLE (package)" ]
     ] #   Linked to a RESOURCE Medication  ,   <display value=\"Coumadin 2mg tablet\"\/>  
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/pat1" ] ;
     fhir:display [ fhir:v "Donald Duck" ]
  ] ; # 
  fhir:performer ( [
     fhir:actor [
       fhir:reference [ fhir:v "Practitioner/f006" ]
     ]
  ] ) ; # 
  fhir:authorizingPrescription ( [
     fhir:reference [ fhir:v "MedicationRequest/medrx0331" ]
  ] ) ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "DF" ] ;
       fhir:display [ fhir:v "Daily Fill" ]
     ] )
  ] ; # 
  fhir:quantity [
     fhir:value [ fhir:v "1"^^xsd:decimal ] ;
     fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "415818006" ]
  ] ; # 
  fhir:daysSupply [
     fhir:value [ fhir:v "1"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "Day" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "d" ]
  ] ; # 
  fhir:whenPrepared [ fhir:v "2015-01-15T10:20:00Z"^^xsd:dateTime] ; # 
  fhir:dosageInstruction ( [
     fhir:sequence [ fhir:v "1"^^xsd:integer ] ;
     fhir:text [ fhir:v "7mg (=one 5mg tablet PLUS one 2mg tablet) once daily" ] ;
     fhir:additionalInstruction ( [
       fhir:text [ fhir:v "Take along with one 2mg Coumadin tablet for a total daily dose of 7mg as prescribed by physician" ]
     ] ) ;
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ]
       ]
     ] ;
     fhir:doseAndRate ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/dose-rate-type"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "ordered" ] ;
           fhir:display [ fhir:v "Ordered" ]
         ] )
       ] ;
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "2"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "mg" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "mg" ]
       ]
     ] )
  ] )] . # 

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.