QI-Core Implementation Guide
4.1.0 - release

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

## : Immunization 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:Immunization;
      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-immunization";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-immunization>     ]
      ];
      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-immunization.html\">QICoreImmunization</a></p></div><p><b>identifier</b>: id: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234</p><p><b>status</b>: completed</p><p><b>vaccineCode</b>: Fluvax (Influenza) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (unknown#FLUVAX)</span></p><p><b>patient</b>: <a href=\"Patient-example.html\">Patient/example</a> \" CHALMERS\"</p><p><b>encounter</b>: <a href=\"Encounter-example.html\">Encounter/example</a></p><p><b>occurrence</b>: 2013-01-01</p><p><b>recorded</b>: 2013-01-10</p><p><b>primarySource</b>: true</p><p><b>location</b>: <a href=\"Location-example.html\">Location/example</a> \"South Wing, second floor\"</p><p><b>manufacturer</b>: <a href=\"Organization-example.html\">Organization/example</a> \"Health Level Seven International\"</p><p><b>lotNumber</b>: AAJN11K</p><p><b>expirationDate</b>: 2015-02-15</p><p><b>site</b>: left arm <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-v3-ActSite.html\">ActSite</a>#LA)</span></p><p><b>route</b>: Injection, intramuscular <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-v3-RouteOfAdministration.html\">RouteOfAdministration</a>#IM)</span></p><p><b>doseQuantity</b>: 5 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mg = 'mg')</span></p><blockquote><p><b>performer</b></p><p><b>function</b>: Ordering Provider <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-v2-0443.html\">providerRole</a>#OP)</span></p><p><b>actor</b>: <a href=\"Practitioner-example.html\">Practitioner/example</a> \" CAREFUL\"</p></blockquote><blockquote><p><b>performer</b></p><p><b>function</b>: Administering Provider <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-v2-0443.html\">providerRole</a>#AP)</span></p><p><b>actor</b>: <a href=\"Practitioner-example.html\">Practitioner/example</a> \" CAREFUL\"</p></blockquote><p><b>note</b>: Notes on adminstration of vaccine</p><p><b>reasonCode</b>: Procedure to meet occupational requirement <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#429060002)</span></p><h3>Reactions</h3><table class=\"grid\"><tr><td>-</td><td><b>Date</b></td><td><b>Detail</b></td><td><b>Reported</b></td></tr><tr><td>*</td><td>2013-01-10</td><td><a href=\"Observation-example.html\">Observation/example</a></td><td>true</td></tr></table><h3>ProtocolApplieds</h3><table class=\"grid\"><tr><td>-</td><td><b>Series</b></td><td><b>Authority</b></td><td><b>TargetDisease</b></td><td><b>DoseNumber[x]</b></td><td><b>SeriesDoses[x]</b></td></tr><tr><td>*</td><td>Vaccination Series 1</td><td><a href=\"Organization-example.html\">Organization/example</a> \"Health Level Seven International\"</td><td>Gestational rubella syndrome <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#1857005)</span></td><td>1</td><td>2</td></tr></table></div>"
      ];
      fhir:Immunization.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
         fhir:Identifier.value [ fhir:value "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" ]
      ];
      fhir:Immunization.status [ fhir:value "completed"];
      fhir:Immunization.vaccineCode [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "urn:oid:1.2.36.1.2001.1005.17" ];
           fhir:Coding.code [ fhir:value "FLUVAX" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Fluvax (Influenza)" ]
      ];
      fhir:Immunization.patient [
         fhir:Reference.reference [ fhir:value "Patient/example" ]
      ];
      fhir:Immunization.encounter [
         fhir:Reference.reference [ fhir:value "Encounter/example" ]
      ];
      fhir:Immunization.occurrenceDateTime [ fhir:value "2013-01-01"^^xsd:date];
      fhir:Immunization.recorded [ fhir:value "2013-01-10"^^xsd:date];
      fhir:Immunization.primarySource [ fhir:value "true"^^xsd:boolean];
      fhir:Immunization.location [
         fhir:Reference.reference [ fhir:value "Location/example" ]
      ];
      fhir:Immunization.manufacturer [
         fhir:Reference.reference [ fhir:value "Organization/example" ]
      ];
      fhir:Immunization.lotNumber [ fhir:value "AAJN11K"];
      fhir:Immunization.expirationDate [ fhir:value "2015-02-15"^^xsd:date];
      fhir:Immunization.site [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActSite" ];
           fhir:Coding.code [ fhir:value "LA" ];
           fhir:Coding.display [ fhir:value "left arm" ]     ]
      ];
      fhir:Immunization.route [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration" ];
           fhir:Coding.code [ fhir:value "IM" ];
           fhir:Coding.display [ fhir:value "Injection, intramuscular" ]     ]
      ];
      fhir:Immunization.doseQuantity [
         fhir:Quantity.value [ fhir:value "5"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "mg" ]
      ];
      fhir:Immunization.performer [
         fhir:index 0;
         fhir:Immunization.performer.function [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0443" ];
             fhir:Coding.code [ fhir:value "OP" ]       ]     ];
         fhir:Immunization.performer.actor [
           fhir:Reference.reference [ fhir:value "Practitioner/example" ]     ]
      ], [
         fhir:index 1;
         fhir:Immunization.performer.function [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0443" ];
             fhir:Coding.code [ fhir:value "AP" ]       ]     ];
         fhir:Immunization.performer.actor [
           fhir:Reference.reference [ fhir:value "Practitioner/example" ]     ]
      ];
      fhir:Immunization.note [
         fhir:index 0;
         fhir:Annotation.text [ fhir:value "Notes on adminstration of vaccine" ]
      ];
      fhir:Immunization.reasonCode [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:429060002;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "429060002" ]     ]
      ];
      fhir:Immunization.reaction [
         fhir:index 0;
         fhir:Immunization.reaction.date [ fhir:value "2013-01-10"^^xsd:date ];
         fhir:Immunization.reaction.detail [
           fhir:Reference.reference [ fhir:value "Observation/example" ]     ];
         fhir:Immunization.reaction.reported [ fhir:value "true"^^xsd:boolean ]
      ];
      fhir:Immunization.protocolApplied [
         fhir:index 0;
         fhir:Immunization.protocolApplied.series [ fhir:value "Vaccination Series 1" ];
         fhir:Immunization.protocolApplied.authority [
           fhir:Reference.reference [ fhir:value "Organization/example" ]     ];
         fhir:Immunization.protocolApplied.targetDisease [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:1857005;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "1857005" ]       ]     ];
         fhir:Immunization.protocolApplied.doseNumberPositiveInt [ fhir:value "1"^^xsd:positiveInteger ];
         fhir:Immunization.protocolApplied.seriesDosesPositiveInt [ fhir:value "2"^^xsd:positiveInteger ]
      ].

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

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