QI-Core Implementation Guide
4.1.0 - release

Publication Build: This will be filled in by the publication tooling

## : Medication 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: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:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication>     ]
      ];
      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-medication.html\">QICoreMedication</a></p></div><p><b>code</b>: alemtuzumab 10 MG/ML [Lemtrada] <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#1594660)</span></p><p><b>manufacturer</b>: <a name=\"org6\"> </a></p><blockquote><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 \"org6\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-organization.html\">QICoreOrganization</a></p></div><p><b>identifier</b>: id: ORG-006 (TEMP)</p><p><b>active</b>: true</p><p><b>name</b>: Genzyme</p><p><b>telecom</b>: <a href=\"https://www.sanofigenzyme.com/\">https://www.sanofigenzyme.com/</a></p><p><b>address</b>: Cambridge MA USA (WORK)</p></blockquote><p><b>form</b>: Conventional release solution for injection (dose form) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#385219001)</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td>-</td><td><b>Item[x]</b></td><td><b>Strength</b></td></tr><tr><td>*</td><td>Alemtuzumab (substance) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#129472003)</span></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><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>2017-05-22</td></tr></table></div>"
      ];
      fhir:DomainResource.contained [
         a fhir:Organization;
         fhir:index 0;
         fhir:Resource.id [ fhir:value "org6" ];
         fhir:Resource.meta [
           fhir:Meta.profile [
             fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization";
             fhir:index 0;
             fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization>       ]     ];
         fhir:Organization.identifier [
           fhir:index 0;
           fhir:Identifier.use [ fhir:value "temp" ];
           fhir:Identifier.system [ fhir:value "urn:oid:2.16.840.1.113883.4.336" ];
           fhir:Identifier.value [ fhir:value "ORG-006" ]     ];
         fhir:Organization.active [ fhir:value "true"^^xsd:boolean ];
         fhir:Organization.name [ fhir:value "Genzyme" ];
         fhir:Organization.telecom [
           fhir:index 0;
           fhir:ContactPoint.system [ fhir:value "url" ];
           fhir:ContactPoint.value [ fhir:value "https://www.sanofigenzyme.com/" ];
           fhir:ContactPoint.use [ fhir:value "work" ]     ];
         fhir:Organization.address [
           fhir:index 0;
           fhir:Address.use [ fhir:value "work" ];
           fhir:Address.city [ fhir:value "Cambridge" ];
           fhir:Address.state [ fhir:value "MA" ];
           fhir:Address.country [ fhir:value "USA" ]     ]
      ];
      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.manufacturer [
         fhir:Reference.reference [ fhir:value "#org6" ]
      ];
      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 "Conventional release solution for injection (dose form)" ]     ]
      ];
      fhir:Medication.ingredient [
         fhir:index 0;
         fhir:Medication.ingredient.itemCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:129472003;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "129472003" ];
             fhir:Coding.display [ fhir:value "Alemtuzumab (substance)" ]       ]     ];
         fhir:Medication.ingredient.strength [
           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.batch [
         fhir:Medication.batch.lotNumber [ fhir:value "9494788" ];
         fhir:Medication.batch.expirationDate [ fhir:value "2017-05-22"^^xsd:date ]
      ].

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

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