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

: MedicationDispense negation 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:MedicationDispense;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "negation-example"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotdispensed";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotdispensed>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     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 \"negation-example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-mednotdispensed.html\">QICoreMedicationDispenseNotDone</a></p></div><p><b>QICoreNotDoneRecorded</b>: 2017-01-17</p><p><b>status</b>: declined</p><p><b>statusReason</b>: Drug treatment not indicated (situation) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#183966005)</span></p><p><b>medication</b>: Medication Brand Name value set <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Patient/example</a> \" CHALMERS\"</p><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-example.html\">MedicationRequest/example</a></p></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-recorded" ];
     fhir:Extension.valueDateTime [ fhir:value "2017-01-17"^^xsd:date ]
  ];
  fhir:MedicationDispense.status [ fhir:value "declined"];
  fhir:MedicationDispense.statusReasonCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:183966005;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "183966005" ];
       fhir:Coding.display [ fhir:value "Drug treatment not indicated (situation)" ]     ]
  ];
  fhir:MedicationDispense.medicationCodeableConcept [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDoneValueSet" ];
       fhir:Extension.valueCanonical [
         fhir:value "http://cts.nlm.nih.gov/fhir/2.16.840.1.113883.3.88.12.80.16";
         fhir:link <http://cts.nlm.nih.gov/fhir/2.16.840.1.113883.3.88.12.80.16>       ]     ];
     fhir:CodeableConcept.text [ fhir:value "Medication Brand Name value set" ]
  ];
  fhir:MedicationDispense.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:MedicationDispense.authorizingPrescription [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "MedicationRequest/example" ]
  ];
  fhir:MedicationDispense.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.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" ]       ]     ]
  ].

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

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