Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Medicationdispense0312.ttl

Example MedicationDispense/meddisp0312 (Turtle)

Maturity Level : N/A
Responsible Owner: Pharmacy Work Group Standards Status : Informative Compartments : Encounter , Group , Patient , Practitioner

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

Dispense for Over the Counter medication - Tylenol PM (NDC code) - on hold with as needed dosage with a condition, a dose Range and an Event History

@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/meddisp0312> a fhir:MedicationDispense;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "meddisp0312"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: meddisp0312</p><p><b>contained</b>: </p><p><b>status</b>: on-hold</p><p><b>medication</b>: Tylenol PM. Generated Summary: id: med0309; Tylenol PM <span>(Details : {http://hl7.org/fhir/sid/ndc code '50580-506-02' = 'n/a', given as 'Tylenol PM'})</span></p><p><b>subject</b>: <a>Donald Duck</a></p><h3>Performers</h3><table><tr><td>-</td><td><b>Actor</b></td></tr><tr><td>*</td><td><a>Practitioner/f006</a></td></tr></table><p><b>authorizingPrescription</b>: <a>MedicationRequest/medrx0310</a></p><p><b>type</b>: First Fill <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-ActCode code 'FF' = 'First Fill', given as 'First Fill'})</span></p><p><b>quantity</b>: 100 TAB<span> (Details: http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm code TAB = 'Tablet')</span></p><p><b>daysSupply</b>: 30 Day<span> (Details: UCUM code d = 'd')</span></p><p><b>whenPrepared</b>: 15/01/2015 10:20:00 AM</p><p><b>whenHandedOver</b>: 15/01/2015 4:20:00 PM</p><p><b>dosageInstruction</b>: </p></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Medication;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "med0309" ];
     fhir:Medication.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/ndc" ];
         fhir:Coding.code [ fhir:value "50580-506-02" ];
         fhir:Coding.display [ fhir:value "Tylenol PM" ]
       ]
     ]
  ];
  fhir:MedicationDispense.status [ fhir:value "on-hold"];
  fhir:MedicationDispense.medicationReference [
     fhir:Reference.reference [ fhir:value "#med0309" ];
     fhir:Reference.display [ fhir:value "Tylenol PM" ]
  ];
  fhir:MedicationDispense.subject [
     fhir:link <http://hl7.org/fhir/Patient/pat1>;
     fhir:Reference.reference [ fhir:value "Patient/pat1" ];
     fhir:Reference.display [ fhir:value "Donald Duck" ]
  ];
  fhir:MedicationDispense.performer [
     fhir:index 0;
     fhir:MedicationDispense.performer.actor [
       fhir:link <http://hl7.org/fhir/Practitioner/f006>;
       fhir:Reference.reference [ fhir:value "Practitioner/f006" ]

<http://hl7.org/fhir/MedicationDispense/meddisp0312> a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "meddisp0312"] ; # 
  fhir:contained ( [
     a fhir:Medication ;
     fhir:id [ fhir:v "med0309" ] ;
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://hl7.org/fhir/sid/ndc"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/sid/ndc>
         ] ;
         fhir:code [ fhir:v "50580-608-02" ] ;
         fhir:display [ fhir:v "Tylenol PM Extra Strength, 1 BOTTLE in 1 CARTON (50580-608-02) > 100 TABLET, FILM COATED in 1 BOTTLE (package)" ]
       ] ) ;
       fhir:text [ fhir:v "Tylenol PM" ]

     ]
  ];
  fhir:MedicationDispense.authorizingPrescription [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/MedicationRequest/medrx0310>;
     fhir:Reference.reference [ fhir:value "MedicationRequest/medrx0310" ]
  ];
  fhir:MedicationDispense.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
       fhir:Coding.code [ fhir:value "FF" ];
       fhir:Coding.display [ fhir:value "First Fill" ]

  ] ) ; # 
  fhir:status [ fhir:v "on-hold"] ; # 
  fhir:medication [
     fhir:reference [
       fhir:l <#med0309> ;
       fhir:reference [ fhir:v "#med0309" ] ;
       fhir:display [ fhir:v "Tylenol PM Extra Strength, 1 BOTTLE in 1 CARTON (50580-608-02) > 100 TABLET, FILM COATED in 1 BOTTLE (package)" ]
     ] #   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:MedicationDispense.quantity [
     fhir:Quantity.value [ fhir:value "100"^^xsd:decimal ];
     fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ];
     fhir:Quantity.code [ fhir:value "TAB" ]
  ];
  fhir:MedicationDispense.daysSupply [
     fhir:Quantity.value [ fhir:value "30"^^xsd:decimal ];
     fhir:Quantity.unit [ fhir:value "Day" ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
     fhir:Quantity.code [ fhir:value "d" ]
  ];
  fhir:MedicationDispense.whenPrepared [ fhir:value "2015-01-15T10:20:00Z"^^xsd:dateTime];
  fhir:MedicationDispense.whenHandedOver [ fhir:value "2015-01-15T16:20:00Z"^^xsd:dateTime];
  fhir:MedicationDispense.dosageInstruction [
     fhir:index 0;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ];
     fhir:Dosage.text [ fhir:value "Take 1-2 tablets once daily at bedtime as needed for restless legs" ];
     fhir:Dosage.additionalInstruction [
       fhir:index 0;
       fhir:CodeableConcept.text [ fhir:value "Take at bedtime" ]
     ];
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ];
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]
       ]
     ];
     fhir:Dosage.asNeededCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:32914008;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "32914008" ];
         fhir:Coding.display [ fhir:value "Restless Legs" ]
       ]
     ];
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:26643006;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "26643006" ];
         fhir:Coding.display [ fhir:value "Oral Route" ]
       ]
     ];
     fhir:Dosage.doseAndRate [
       fhir:index 0;
       fhir:Dosage.doseAndRate.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/dose-rate-type" ];
           fhir:Coding.code [ fhir:value "ordered" ];
           fhir:Coding.display [ fhir:value "Ordered" ]

  ] ) ; # 
  fhir:authorizingPrescription ( [
     fhir:l <http://hl7.org/fhir/MedicationRequest/medrx0310> ;
     fhir:reference [ fhir:v "MedicationRequest/medrx0310" ]
  ] ) ; # 
  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 "FF" ] ;
       fhir:display [ fhir:v "First Fill" ]
     ] )
  ] ; # 
  fhir:quantity [
     fhir:value [ fhir:v "100"^^xsd:decimal ] ;
     fhir:system [
       fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm>
     ] ;
     fhir:code [ fhir:v "TAB" ]
  ] ; # 
  fhir:daysSupply [
     fhir:value [ fhir:v "30"^^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:whenHandedOver [ fhir:v "2015-01-15T16:20:00Z"^^xsd:dateTime] ; # 
  fhir:dosageInstruction [
     fhir:simple [
       fhir:text [ fhir:v "Take 1-2 tablets once daily at bedtime as needed for restless legs" ] ;
       fhir:additionalInstruction ( [
         fhir:text [ fhir:v "Take at bedtime" ]
       ] ) ;
       fhir:timing [
         fhir:repeat [
           fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
           fhir:period [ fhir:v "1"^^xsd:decimal ] ;
           fhir:periodUnit [ fhir:v "d" ]

         ]
       ];
       fhir:Dosage.doseAndRate.doseRange [
         fhir:Range.low [
           fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "TAB" ];
           fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ];
           fhir:Quantity.code [ fhir:value "TAB" ]
         ];
         fhir:Range.high [
           fhir:Quantity.value [ fhir:value "2"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "TAB" ];
           fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ];
           fhir:Quantity.code [ fhir:value "TAB" ]

       ] ;
       fhir:asNeededFor ( [
         fhir:coding ( [
           a sct:32914008 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "32914008" ] ;
           fhir:display [ fhir:v "Restless Legs" ]
         ] )
       ] ) ;
       fhir:route [
         fhir:coding ( [
           a sct:26643006 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "26643006" ] ;
           fhir:display [ fhir:v "Oral Route" ]
         ] )
       ] ;
       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 "ordered" ] ;
             fhir:display [ fhir:v "Ordered" ]
           ] )
         ] ;
         fhir:dose [
           a fhir:Range ;
           fhir:low [
             fhir:value [ fhir:v "1"^^xsd:decimal ] ;
             fhir:unit [ fhir:v "TAB" ] ;
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm>
             ] ;
             fhir:code [ fhir:v "TAB" ]
           ] ;
           fhir:high [
             fhir:value [ fhir:v "2"^^xsd:decimal ] ;
             fhir:unit [ fhir:v "TAB" ] ;
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm>
             ] ;
             fhir:code [ fhir:v "TAB" ]
           ]

         ]
       ]

       ] )

     ]
  ] .

  ] . # 


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

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

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

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/MedicationDispense/meddisp0312.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/MedicationDispense/meddisp0312.ttl> .


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


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.