@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 -------------------------------------------------------------------

<http://hl7.org/fhir/MedicationDispense/meddisp0314> a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "meddisp0314"] ; # 
  fhir:contained ( [
     a fhir:Medication ;
     fhir:id [ fhir:v "med0313" ] ;
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ;
           fhir:l <http://www.nlm.nih.gov/research/umls/rxnorm>
         ] ;
         fhir:code [ fhir:v "206819" ] ;
         fhir:display [ fhir:v "lorazepam 2 MG/ML Injectable Solution [Ativan]" ]
       ] )
     ] ;
     fhir:doseForm [
       fhir:coding ( [
         a sct:385219001 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "385219001" ] ;
         fhir:display [ fhir:v "Solution for injection" ]
       ] )
     ] ;
     fhir:ingredient ( [
       fhir:item [
         fhir:concept [
           fhir:coding ( [
             a sct:387106007 ;
             fhir:system [
               fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
               fhir:l <http://snomed.info/sct>
             ] ;
             fhir:code [ fhir:v "387106007" ] ;
             fhir:display [ fhir:v "Lorazepam (substance)" ]
           ] )
         ]
       ] ;
       fhir:strength [
         a fhir:Ratio ;
         fhir:numerator [
           fhir:value [ fhir:v "2"^^xsd:decimal ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "mg" ]
         ] ;
         fhir:denominator [
           fhir:value [ fhir:v "1"^^xsd:decimal ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "mL" ]
         ]
       ]
     ] )
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:medication [
     fhir:reference [
       fhir:l <#med0313> ;
       fhir:reference [ fhir:v "#med0313" ]
     ] #   Linked to a RESOURCE Medication  
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/pat1> ;
     fhir:reference [ fhir:v "Patient/pat1" ] ;
     fhir:display [ fhir:v "Donald Duck " ]
  ] ; # 
  fhir:performer ( [
     fhir:actor [
       fhir:l <http://hl7.org/fhir/Practitioner/f006> ;
       fhir:reference [ fhir:v "Practitioner/f006" ]
     ]
  ] ) ; # 
  fhir:authorizingPrescription ( [
     fhir:l <http://hl7.org/fhir/MedicationRequest/medrx0315> ;
     fhir:reference [ fhir:v "MedicationRequest/medrx0315" ]
  ] ) ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
       ] ;
       fhir:code [ fhir:v "TF" ] ;
       fhir:display [ fhir:v "Trial Fill" ]
     ] )
  ] ; # 
  fhir:quantity [
     fhir:value [ fhir:v "1"^^xsd:decimal ] ;
     fhir:system [
       fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
       fhir:l <http://snomed.info/sct>
     ] ;
     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:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "d" ]
  ] ; # 
  fhir:whenPrepared [ fhir:v "2015-06-25T07:13:00+05:00"^^xsd:dateTime] ; # 
  fhir:whenHandedOver [ fhir:v "2015-06-26T07:13:00+05:00"^^xsd:dateTime] ; # 
  fhir:dosageInstruction [] . # 

<http://hl7.org/fhir/Patient/pat1> a fhir:Patient .

<http://hl7.org/fhir/Practitioner/f006> a fhir:Practitioner .

<http://hl7.org/fhir/MedicationRequest/medrx0315> a fhir:MedicationRequest .

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

