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

: MedicationStatment 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:MedicationStatement;
  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-medicationstatement";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationstatement>     ]
  ];
  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-medicationstatement.html\">QICoreMedicationStatement</a></p></div><p><b>status</b>: active</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>effective</b>: 2012-06-01 02:30:00+1400</p><p><b>dateAsserted</b>: 2012-05-14 03:00:00+1400</p><p><b>informationSource</b>: <a href=\"Practitioner-example.html\">Practitioner/example</a> \" CAREFUL\"</p><p><b>derivedFrom</b>: <a href=\"MedicationRequest-example.html\">MedicationRequest/example</a></p></div>"
  ];
  fhir:MedicationStatement.status [ fhir:value "active"];
  fhir:MedicationStatement.medicationReference [
     fhir:Reference.reference [ fhir:value "Medication/example" ]
  ];
  fhir:MedicationStatement.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:MedicationStatement.effectiveDateTime [ fhir:value "2012-06-01T14:30:00+14:00"^^xsd:dateTime];
  fhir:MedicationStatement.dateAsserted [ fhir:value "2012-05-14T15:00:00+14:00"^^xsd:dateTime];
  fhir:MedicationStatement.informationSource [
     fhir:Reference.reference [ fhir:value "Practitioner/example" ]
  ];
  fhir:MedicationStatement.derivedFrom [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "MedicationRequest/example" ]
  ];
  fhir:MedicationStatement.dosage [
     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.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.doseQuantity [
         fhir:Quantity.value [ fhir:value "10"^^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.