QI-Core Implementation Guide
4.1.1 - STU 4.1.1 US

This page is part of the Quality Improvement Core Framework (v4.1.1: STU 4) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: MedicationRequest Cumulative Duration - TTL Representation

Raw ttl | Download


@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:MedicationRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "cmd-example"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"cmd-example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-medicationrequest.html\">QICoreMedicationRequest</a></p></div><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: <a href=\"Medication-example.html\">Medication/example</a></p><p><b>subject</b>: <a href=\"Patient-example.html\">Patient/example</a> \" CHALMERS\"</p><p><b>authoredOn</b>: 2015-03-25 07:32:52-0500</p><p><b>requester</b>: <a href=\"Practitioner-example.html\">Practitioner/example</a> \" CAREFUL\"</p><h3>DispenseRequests</h3><table class=\"grid\"><tr><td>-</td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td></tr><tr><td>*</td><td>2</td><td>100 ml<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code ml = 'ml')</span></td></tr></table></div>"
  ];
  fhir:MedicationRequest.status [ fhir:value "active"];
  fhir:MedicationRequest.intent [ fhir:value "order"];
  fhir:MedicationRequest.medicationReference [
     fhir:Reference.reference [ fhir:value "Medication/example" ]
  ];
  fhir:MedicationRequest.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:MedicationRequest.authoredOn [ fhir:value "2015-03-25T19:32:52-05:00"^^xsd:dateTime];
  fhir:MedicationRequest.requester [
     fhir:Reference.reference [ fhir:value "Practitioner/example" ]
  ];
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "3"^^xsd:positiveInteger ];
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]       ]     ];
     fhir:Dosage.site [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:447964005;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "447964005" ]       ]     ];
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:394899003;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "394899003" ];
         fhir:Coding.display [ fhir:value "oral administration of treatment" ]       ]     ];
     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:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "5"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "ml" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "ml" ]       ]     ]
  ];
  fhir:MedicationRequest.dispenseRequest [
     fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "2"^^xsd:nonNegativeInteger ];
     fhir:MedicationRequest.dispenseRequest.quantity [
       fhir:Quantity.value [ fhir:value "100"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "ml" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "ml" ]     ]
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.