R6 Ballot (2nd Draft)

Publish-box (todo)

Example MedicationDispense/meddisp0303 (Turtle)

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

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

Dispense for Oxycodone (RxNorm code) - PRN dose with dose range, coded additional instructions and PRN coded pre-condition

@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

[a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "meddisp0303"] ; # 
  fhir:contained ( [
     a fhir:Medication ;
     fhir:id [ fhir:v "med0310" ] ;
     fhir:code [
       fhir:coding ( [
         fhir:system [ fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1049623" ] ;
         fhir:display [ fhir:v "oxycodone hydrochloride 5 MG Oral Tablet [Roxicodone]" ]
       ] )
     ]
  ] ) ; # 
  fhir:partOf ( [
     fhir:reference [ fhir:v "Procedure/biopsy" ]
  ] ) ; # 
  fhir:status [ fhir:v "on-hold"] ; # 
  fhir:notPerformedReason [
     fhir:reference [
       fhir:reference [ fhir:v "DetectedIssue/allergy" ]
     ]
  ] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "outpatient" ] ;
       fhir:display [ fhir:v "Outpatient" ]
     ] )
  ] ) ; # 
  fhir:medication [
     fhir:reference [
       fhir:reference [ fhir:v "#med0310" ]
     ] #   Linked to a RESOURCE Medication  
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/pat1" ] ;
     fhir:display [ fhir:v "Donald Duck" ]
  ] ; # 
  fhir:encounter [
     fhir:reference [ fhir:v "Encounter/f001" ]
  ] ; # 
  fhir:performer ( [
     fhir:actor [
       fhir:reference [ fhir:v "Practitioner/f006" ]
     ]
  ] ) ; # 
  fhir:authorizingPrescription ( [
     fhir:reference [ fhir:v "MedicationRequest/medrx0310" ]
  ] ) ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "EM" ] ;
       fhir:display [ fhir:v "Emergency Supply" ]
     ] )
  ] ; # 
  fhir:quantity [
     fhir:value [ fhir:v "30"^^xsd:decimal ] ;
     fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "TAB" ]
  ] ; # 
  fhir:daysSupply [
     fhir:value [ fhir:v "10"^^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 "2016-04-15T07:14:00+05:00"^^xsd:dateTime] ; # 
  fhir:dosageInstruction ( [
     fhir:sequence [ fhir:v "1"^^xsd:integer ] ;
     fhir:text [ fhir:v "one to two tablets every 4-6 hours as needed for rib pain" ] ;
     fhir:additionalInstruction ( [
       fhir:coding ( [
         a sct:418914006 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "418914006" ] ;
         fhir:display [ fhir:v "Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)" ]
       ] )
     ] ) ;
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "4"^^xsd:decimal ] ;
         fhir:periodMax [ fhir:v "6"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "h" ]
       ]
     ] ;
     fhir:asNeededFor ( [
       fhir:coding ( [
         a sct:297217002 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "297217002" ] ;
         fhir:display [ fhir:v "Rib Pain (finding)" ]
       ] )
     ] ) ;
     fhir:route [
       fhir:coding ( [
         a sct:26643006 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "26643006" ] ;
         fhir:display [ fhir:v "Oral Route" ]
       ] )
     ] ;
     fhir:method [
       fhir:coding ( [
         a sct:421521009 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "421521009" ] ;
         fhir:display [ fhir:v "Swallow - dosing instruction imperative (qualifier value)" ]
       ] )
     ]
  ] )] . # 

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


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.