QI-Core Implementation Guide: STU 3.2 (v3.2.0 for FHIR 3.0.1)

This page is part of the Quality Improvement Core Framework (v3.2.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

Medication 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:Medication;
  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-medication";
       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>contained</b>: </p><p><b>code</b>: alemtuzumab 10 MG/ML [Lemtrada] <span style=\"background: LightGoldenRodYellow\">(Details : {RxNorm code '1594660' = 'alemtuzumab 10 MG/ML [Lemtrada]', given as 'alemtuzumab 10 MG/ML [Lemtrada]'})</span></p><p><b>isBrand</b>: true</p><p><b>manufacturer</b>: <a href=\"Organization-example.html\">Generated Summary: id: example; ??; active; <span title=\"Codes: {http://hl7.org/fhir/organization-type team}\">Organizational team</span>; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org</a></p><p><b>form</b>: Injection solution (qualifier value) <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '385219001' = 'Injection solution', given as 'Injection solution (qualifier value)'})</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td>-</td><td><b>Item[x]</b></td><td><b>IsActive</b></td><td><b>Amount</b></td></tr><tr><td>*</td><td><a href=\"Substance-example.html\">Generated Summary: id: example; 1463; status: active; <span title=\"Codes: {http://hl7.org.fhir/substance-category allergen}\">Allergen</span>; <span title=\"Codes: \">apitoxin (Honey Bee Venom)</span></a></td><td>true</td><td>12 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mg = 'mg')</span>/1.2 mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mL = 'mL')</span></td></tr></table><blockquote><p><b>package</b></p><p><b>container</b>: Vial <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '415818006' = 'Vial', given as 'Vial'})</span></p><h3>Contents</h3><table class=\"grid\"><tr><td>-</td><td><b>Item[x]</b></td><td><b>Amount</b></td></tr><tr><td>*</td><td>unknown resource contained</td><td>3 mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mL = 'mL')</span></td></tr></table><h3>Batches</h3><table class=\"grid\"><tr><td>-</td><td><b>LotNumber</b></td><td><b>ExpirationDate</b></td></tr><tr><td>*</td><td>9494788</td><td>22/05/2017</td></tr></table></blockquote></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Medication;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "med-1" ];
     fhir:Medication.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:408596005;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "408596005" ];
         fhir:Coding.display [ fhir:value "Alemtuzumab 30mg/3mL infusion concentrate (product)" ]       ]     ]
  ];
  fhir:Medication.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
       fhir:Coding.code [ fhir:value "1594660" ];
       fhir:Coding.display [ fhir:value "alemtuzumab 10 MG/ML [Lemtrada]" ]     ]
  ];
  fhir:Medication.isBrand [ fhir:value "true"^^xsd:boolean];
  fhir:Medication.manufacturer [
     fhir:Reference.reference [ fhir:value "Organization/example" ]
  ];
  fhir:Medication.form [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:385219001;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "385219001" ];
       fhir:Coding.display [ fhir:value "Injection solution (qualifier value)" ]     ]
  ];
  fhir:Medication.ingredient [
     fhir:index 0;
     fhir:Medication.ingredient.itemReference [
       fhir:Reference.reference [ fhir:value "Substance/example" ]     ];
     fhir:Medication.ingredient.isActive [ fhir:value "true"^^xsd:boolean ];
     fhir:Medication.ingredient.amount [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "12"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "mg" ]       ];
       fhir:Ratio.denominator [
         fhir:Quantity.value [ fhir:value "1.2"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "mL" ]       ]     ]
  ];
  fhir:Medication.package [
     fhir:Medication.package.container [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:415818006;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "415818006" ];
         fhir:Coding.display [ fhir:value "Vial" ]       ]     ];
     fhir:Medication.package.content [
       fhir:index 0;
       fhir:Medication.package.content.itemReference [
         fhir:Reference.reference [ fhir:value "#med-1" ]       ];
       fhir:Medication.package.content.amount [
         fhir:Quantity.value [ fhir:value "3"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "mL" ]       ]     ];
     fhir:Medication.package.batch [
       fhir:index 0;
       fhir:Medication.package.batch.lotNumber [ fhir:value "9494788" ];
       fhir:Medication.package.batch.expirationDate [ fhir:value "2017-05-22"^^xsd:date ]     ]
  ].

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

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