This page is part of the Quality Improvement Core Framework (v3.1.0: STU 3) based on FHIR R3. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

MedicationDispense example

Formats: Narrative, XML, JSON, Turtle

Raw ttl

@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:Resource.id [ fhir:value "example"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationdispense";
       fhir:index 0     ]
  ];
  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>: example</p><p><b>meta</b>: </p><p><b>status</b>: completed</p><p><b>medication</b>: <a href=\"Medication-example.html\">Generated Summary: id: example; <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 1594660}\">Alemtuzumab 10mg/ml (Lemtrada)</span>; isBrand; <span title=\"Codes: {http://snomed.info/sct 385219001}\">Injection solution (qualifier value)</span></a></p><p><b>subject</b>: <a href=\"Patient-example.html\">Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); -unknown-(HOME), ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 25/12/1974; </a></p><h3>Performers</h3><table class=\"grid\"><tr><td>-</td><td><b>Actor</b></td></tr><tr><td>*</td><td><a href=\"Practitioner-example.html\">Generated Summary: id: example; 23; active; Adam Careful </a></td></tr></table><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-example.html\">Generated Summary: id: example; status: active; intent: order; ????; authoredOn: 25/03/2015 7:32:52 PM; </a></p><p><b>quantity</b>: 100 ml<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code ml = 'ml')</span></p><p><b>daysSupply</b>: 30 Day<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code d = 'd')</span></p><p><b>whenPrepared</b>: 30/05/2012 4:20:00 PM</p><p><b>whenHandedOver</b>: 31/05/2012 10:20:00 AM</p><p><b>destination</b>: <a href=\"Location-example.html\">Generated Summary: id: example; B1-S.F2; status: active; name: South Wing, second floor; description: Second floor of the Old South Wing, formerly in use by Psychiatry; mode: instance; <span title=\"Codes: {http://hl7.org/fhir/v3/RoleCode HOSP}\">Hospital</span>; ph: 2328(WORK), fax: 2329(WORK), second wing admissions, http://sampleorg.com/southwing(WORK); <span title=\"Codes: {http://hl7.org/fhir/location-physical-type wi}\">Wing</span></a></p><p><b>receiver</b>: <a href=\"Patient-example.html\">Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); -unknown-(HOME), ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 25/12/1974; </a></p><p><b>dosageInstruction</b>: </p><h3>Substitutions</h3><table class=\"grid\"><tr><td>-</td><td><b>WasSubstituted</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>false</td><td>No substitution made or expected <span style=\"background: LightGoldenRodYellow\">(Details : {http://example.org/MedDispSubType code 'NoSub' = 'NoSub', given as 'No substitution made or expected'})</span></td></tr></table></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining" ];
     fhir:Extension.valueInteger [ fhir:value "0"^^xsd:integer ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/medicationdispense-validityPeriod" ];
     fhir:Extension.valuePeriod [
       fhir:Period.start [ fhir:value "2012-05-30"^^xsd:date ];
       fhir:Period.end [ fhir:value "2012-06-10"^^xsd:date ]     ]
  ];
  fhir:MedicationDispense.status [ fhir:value "completed"];
  fhir:MedicationDispense.medicationReference [
     fhir:Reference.reference [ fhir:value "Medication/example" ]
  ];
  fhir:MedicationDispense.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:MedicationDispense.performer [
     fhir:index 0;
     fhir:MedicationDispense.performer.actor [
       fhir:Reference.reference [ fhir:value "Practitioner/example" ]     ]
  ];
  fhir:MedicationDispense.authorizingPrescription [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "MedicationRequest/example" ]
  ];
  fhir:MedicationDispense.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" ]
  ];
  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 "2012-05-30T16:20:00+00:00"^^xsd:dateTime];
  fhir:MedicationDispense.whenHandedOver [ fhir:value "2012-05-31T10:20:00+00:00"^^xsd:dateTime];
  fhir:MedicationDispense.destination [
     fhir:Reference.reference [ fhir:value "Location/example" ]
  ];
  fhir:MedicationDispense.receiver [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:MedicationDispense.dosageInstruction [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:440231000124106;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "440231000124106" ];
           fhir:Coding.display [ fhir:value "Maintenance dose" ]         ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver" ];
       fhir:Extension.valueDuration [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "min" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "min" ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod" ];
       fhir:Extension.valueRatio [
         fhir:Ratio.numerator [
           fhir:Quantity.value [ fhir:value "15"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "ml" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "ml" ]         ];
         fhir:Ratio.denominator [
           fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "day" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "day" ]         ]       ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume" ];
       fhir:Extension.valueQuantity [
         fhir:Quantity.value [ fhir:value "15"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "ml" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "ml" ]       ]     ];
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "3"^^xsd:integer ];
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]       ]     ];
     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.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:MedicationDispense.substitution [
     fhir:MedicationDispense.substitution.wasSubstituted [ fhir:value "false"^^xsd:boolean ];
     fhir:MedicationDispense.substitution.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.org/MedDispSubType" ];
         fhir:Coding.code [ fhir:value "NoSub" ];
         fhir:Coding.display [ fhir:value "No substitution made or expected" ]       ]     ]
  ].

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

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