@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/meddisp0306> a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "meddisp0306"] ; # 
  fhir:contained ( [
     a fhir:Medication ;
     fhir:id [ fhir:v "med0303" ] ;
     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 "1594660" ] ;
         fhir:display [ fhir:v "alemtuzumab 10 MG/ML [Lemtrada]" ]
       ] )
     ]
  ] ) ; # 
  fhir:status [ fhir:v "in-progress"] ; # 
  fhir:medication [
     fhir:reference [
       fhir:l <#med0303> ;
       fhir:reference [ fhir:v "#med0303" ] ; # Linked to a RESOURCE Medication
       fhir:display [ fhir:v "alemtuzumab 10 MG/ML [Lemtrada]" ]
     ]
  ] ; # 
  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/medrx0317> ;
     fhir:reference [ fhir:v "MedicationRequest/medrx0317" ]
  ] ) ; # 
  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 "DF" ] ;
       fhir:display [ fhir:v "Daily Fill" ]
     ] )
  ] ; # 
  fhir:quantity [
     fhir:value [ fhir:v "5"^^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 "7"^^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-01-15T10:20:00Z"^^xsd:dateTime] ; # 
  fhir:dosageInstruction [
     fhir:renderedInstruction [ fhir:v "Rapid daily-dose escalation, until tolerated, from 3 mg/d, then 10 mg/d, to 30 mg IV over 120 min, 3 times per week on alternate days for up to 12 weeks." ] ;
     fhir:step ( [
       fhir:component ( [
         fhir:text [ fhir:v "Rapid daily-dose escalation, until tolerated, from 3 mg/d, and then 10 mg/d, to the recommended maintenance dose of 30 mg IV over 120 min, 3 times per wk on alternate days for up to 12 wk" ] ;
         fhir:additionalInstruction ( [
           fhir:text [ fhir:v "Rapidly increase dose until tolerated" ]
         ] [
           fhir:text [ fhir:v "Administer on alternate days" ]
         ] ) ;
         fhir:timing [
           fhir:repeat [
             fhir:duration [ fhir:v "12"^^xsd:decimal ] ;
             fhir:durationUnit [ fhir:v "wk" ] ;
             fhir:frequency [ fhir:v "3"^^xsd:positiveInteger ] ;
             fhir:period [ fhir:v "1"^^xsd:decimal ] ;
             fhir:periodUnit [ fhir:v "wk" ]
           ]
         ] ;
         fhir:route [
           fhir:coding ( [
             a sct:47625008 ;
             fhir:system [
               fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
               fhir:l <http://snomed.info/sct>
             ] ;
             fhir:code [ fhir:v "47625008" ] ;
             fhir:display [ fhir:v "Intravenous route" ]
           ] )
         ] ;
         fhir:method [
           fhir:coding ( [
             a sct:422145002 ;
             fhir:system [
               fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
               fhir:l <http://snomed.info/sct>
             ] ;
             fhir:code [ fhir:v "422145002" ] ;
             fhir:display [ fhir:v "Inject - dosing instruction imperative (qualifier value)" ]
           ] )
         ] ;
         fhir:doseAndRate ( [
           fhir:type [
             fhir:coding ( [
               fhir:system [
                 fhir:v "http://terminology.hl7.org/CodeSystem/dose-rate-type"^^xsd:anyURI ;
                 fhir:l <http://terminology.hl7.org/CodeSystem/dose-rate-type>
               ] ;
               fhir:code [ fhir:v "calculated" ] ;
               fhir:display [ fhir:v "Calculated" ]
             ] )
           ] ;
           fhir:dose [
             a fhir:Quantity ;
             fhir:value [ fhir:v "3"^^xsd:decimal ] ;
             fhir:unit [ fhir:v "mg" ] ;
             fhir:system [
               fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
               fhir:l <http://unitsofmeasure.org>
             ] ;
             fhir:code [ fhir:v "mg" ]
           ]
         ] )
       ] )
     ] [
       fhir:component ( [
         fhir:text [ fhir:v "Rapid daily-dose escalation, until tolerated, from 3 mg/d, and then 10 mg/d, to the recommended maintenance dose of 30 mg IV over 120 min, 3 times per wk on alternate days for up to 12 wk" ] ;
         fhir:additionalInstruction ( [
           fhir:text [ fhir:v "Rapidly increase dose until tolerated" ]
         ] [
           fhir:text [ fhir:v "Administer on alternate days" ]
         ] ) ;
         fhir:timing [
           fhir:repeat [
             fhir:duration [ fhir:v "12"^^xsd:decimal ] ;
             fhir:durationUnit [ fhir:v "wk" ] ;
             fhir:frequency [ fhir:v "3"^^xsd:positiveInteger ] ;
             fhir:period [ fhir:v "1"^^xsd:decimal ] ;
             fhir:periodUnit [ fhir:v "wk" ]
           ]
         ] ;
         fhir:route [
           fhir:coding ( [
             a sct:47625008 ;
             fhir:system [
               fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
               fhir:l <http://snomed.info/sct>
             ] ;
             fhir:code [ fhir:v "47625008" ] ;
             fhir:display [ fhir:v "Intravenous route" ]
           ] )
         ] ;
         fhir:method [
           fhir:coding ( [
             a sct:422145002 ;
             fhir:system [
               fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
               fhir:l <http://snomed.info/sct>
             ] ;
             fhir:code [ fhir:v "422145002" ] ;
             fhir:display [ fhir:v "Inject - dosing instruction imperative (qualifier value)" ]
           ] )
         ] ;
         fhir:doseAndRate ( [
           fhir:type [
             fhir:coding ( [
               fhir:system [
                 fhir:v "http://terminology.hl7.org/CodeSystem/dose-rate-type"^^xsd:anyURI ;
                 fhir:l <http://terminology.hl7.org/CodeSystem/dose-rate-type>
               ] ;
               fhir:code [ fhir:v "calculated" ] ;
               fhir:display [ fhir:v "Calculated" ]
             ] )
           ] ;
           fhir:dose [
             a fhir:Quantity ;
             fhir:value [ fhir:v "10"^^xsd:decimal ] ;
             fhir:unit [ fhir:v "mg" ] ;
             fhir:system [
               fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
               fhir:l <http://unitsofmeasure.org>
             ] ;
             fhir:code [ fhir:v "mg" ]
           ]
         ] )
       ] )
     ] [
       fhir:component ( [
         fhir:text [ fhir:v "Rapid daily-dose escalation, until tolerated, from 3 mg/d, and then 10 mg/d, to the recommended maintenance dose of 30 mg IV over 120 min, 3 times per wk on alternate days for up to 12 wk" ] ;
         fhir:additionalInstruction ( [
           fhir:text [ fhir:v "Rapidly increase dose until tolerated" ]
         ] [
           fhir:text [ fhir:v "Administer on alternate days" ]
         ] ) ;
         fhir:timing [
           fhir:repeat [
             fhir:duration [ fhir:v "12"^^xsd:decimal ] ;
             fhir:durationUnit [ fhir:v "wk" ] ;
             fhir:frequency [ fhir:v "3"^^xsd:positiveInteger ] ;
             fhir:period [ fhir:v "1"^^xsd:decimal ] ;
             fhir:periodUnit [ fhir:v "wk" ]
           ]
         ] ;
         fhir:route [
           fhir:coding ( [
             a sct:47625008 ;
             fhir:system [
               fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
               fhir:l <http://snomed.info/sct>
             ] ;
             fhir:code [ fhir:v "47625008" ] ;
             fhir:display [ fhir:v "Intravenous route" ]
           ] )
         ] ;
         fhir:method [
           fhir:coding ( [
             a sct:422145002 ;
             fhir:system [
               fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
               fhir:l <http://snomed.info/sct>
             ] ;
             fhir:code [ fhir:v "422145002" ] ;
             fhir:display [ fhir:v "Inject - dosing instruction imperative (qualifier value)" ]
           ] )
         ] ;
         fhir:doseAndRate ( [
           fhir:type [
             fhir:coding ( [
               fhir:system [
                 fhir:v "http://terminology.hl7.org/CodeSystem/dose-rate-type"^^xsd:anyURI ;
                 fhir:l <http://terminology.hl7.org/CodeSystem/dose-rate-type>
               ] ;
               fhir:code [ fhir:v "calculated" ] ;
               fhir:display [ fhir:v "Calculated" ]
             ] )
           ] ;
           fhir:dose [
             a fhir:Quantity ;
             fhir:value [ fhir:v "30"^^xsd:decimal ] ;
             fhir:unit [ fhir:v "mg" ] ;
             fhir:system [
               fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
               fhir:l <http://unitsofmeasure.org>
             ] ;
             fhir:code [ fhir:v "mg" ]
           ]
         ] )
       ] )
     ] )
  ] . # 

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

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

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

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

