QI-Core Implementation Guide
4.1.0 - release

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

: MedicationAdministration example - 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:MedicationAdministration;
  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-medicationadministration";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration>     ]
  ];
  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 \"example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-medicationadministration.html\">QICoreMedicationAdministration</a></p></div><p><b>status</b>: completed</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: Donald Duck</a> \" CHALMERS\"</p><p><b>context</b>: <a href=\"Encounter-example.html\">Encounter/example</a></p><p><b>supportingInformation</b>: <a href=\"Condition-example.html\">Condition/example</a></p><p><b>effective</b>: 2015-01-15T14:30:00+01:00 --&gt; 2015-01-15T14:30:00+01:00</p><p><b>request</b>: <a href=\"MedicationRequest-example.html\">MedicationRequest/example</a></p><h3>Dosages</h3><table class=\"grid\"><tr><td>-</td><td><b>Route</b></td><td><b>Dose</b></td></tr><tr><td>*</td><td>Intravenous route (qualifier value) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#47625008)</span></td><td>3 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mg = 'mg')</span></td></tr></table></div>"
  ];
  fhir:MedicationAdministration.status [ fhir:value "completed"];
  fhir:MedicationAdministration.medicationReference [
     fhir:Reference.reference [ fhir:value "Medication/example" ]
  ];
  fhir:MedicationAdministration.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Donald Duck" ]
  ];
  fhir:MedicationAdministration.context [
     fhir:Reference.reference [ fhir:value "Encounter/example" ]
  ];
  fhir:MedicationAdministration.supportingInformation [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Condition/example" ]
  ];
  fhir:MedicationAdministration.effectivePeriod [
     fhir:Period.start [ fhir:value "2015-01-15T14:30:00+01:00"^^xsd:dateTime ];
     fhir:Period.end [ fhir:value "2015-01-15T14:30:00+01:00"^^xsd:dateTime ]
  ];
  fhir:MedicationAdministration.request [
     fhir:Reference.reference [ fhir:value "MedicationRequest/example" ]
  ];
  fhir:MedicationAdministration.dosage [
     fhir:MedicationAdministration.dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:47625008;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "47625008" ];
         fhir:Coding.display [ fhir:value "Intravenous route (qualifier value)" ]       ]     ];
     fhir:MedicationAdministration.dosage.dose [
       fhir:Quantity.value [ fhir:value "3"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mg" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mg" ]     ]
  ].

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

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