QI-Core Implementation Guide
4.1.0 - release

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

## : Observation example - TTL Representation

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix loinc: <http://loinc.org/rdf#> .
    @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:Observation;
      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-observation";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation>     ]
      ];
      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 \"example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-observation.html\">QICoreObservation</a></p></div><p><b>bodyPosition</b>: Sitting position (finding) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#33586001)</span></p><p><b>delta</b>: Decreased (qualifier value) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#1250004)</span></p><p><b>status</b>: final</p><p><b>category</b>: Vital Signs <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#vital-signs)</span></p><p><b>code</b>: Hemoglobin [Mass/volume] in Venous blood <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#30350-3)</span></p><p><b>subject</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>effective</b>: 2013-04-02T10:30:10+01:00 --&gt; 2013-04-05T10:30:10+01:00</p><p><b>issued</b>: Apr 3, 2013 2:30:10 PM</p><p><b>value</b>: 7.2 g/dl<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code g/dL = 'g/dL')</span></p><p><b>interpretation</b>: Below low normal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/v2/0078/index.html\">v2 ABNORMAL FLAGS</a>#L \"Low\")</span></p><p><b>bodySite</b>: Superficial forearm vein <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#308046002)</span></p><p><b>method</b>: Injection to forearm <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#120220003)</span></p><p><b>specimen</b>: <a href=\"Specimen-example.html\">Specimen/example</a></p><p><b>derivedFrom</b>: <a href=\"Observation-example.html\">Observation/example</a></p><blockquote><p><b>component</b></p><p><b>code</b>: Systolic blood pressure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#8480-6; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#271649006; clinical-codes#bp-s \"Systolic Blood pressure\")</span></p><p><b>value</b>: 107 mmHg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mm[Hg] = 'mm[Hg]')</span></p><p><b>interpretation</b>: Normal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/v2/0078/index.html\">v2 ABNORMAL FLAGS</a>#N \"normal\")</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Diastolic blood pressure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#8462-4)</span></p><p><b>value</b>: 60 mmHg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mm[Hg] = 'mm[Hg]')</span></p><p><b>interpretation</b>: Below low normal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/v2/0078/index.html\">v2 ABNORMAL FLAGS</a>#L \"low\")</span></p></blockquote></div>"
      ];
      fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" ];
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:33586001;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "33586001" ];
             fhir:Coding.display [ fhir:value "Sitting position (finding)" ]       ]     ]
      ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/observation-delta" ];
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:1250004;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "1250004" ];
             fhir:Coding.display [ fhir:value "Decreased (qualifier value)" ]       ]     ]
      ];
      fhir:Observation.status [ fhir:value "final"];
      fhir:Observation.category [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ];
           fhir:Coding.code [ fhir:value "vital-signs" ];
           fhir:Coding.display [ fhir:value "Vital Signs" ]     ]
      ];
      fhir:Observation.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a loinc:30350-3;
           fhir:Coding.system [ fhir:value "http://loinc.org" ];
           fhir:Coding.code [ fhir:value "30350-3" ];
           fhir:Coding.display [ fhir:value "Hemoglobin [Mass/volume] in Venous blood" ]     ]
      ];
      fhir:Observation.subject [
         fhir:Reference.reference [ fhir:value "Patient/example" ]
      ];
      fhir:Observation.encounter [
         fhir:Reference.reference [ fhir:value "Encounter/example" ]
      ];
      fhir:Observation.effectivePeriod [
         fhir:Period.start [ fhir:value "2013-04-02T10:30:10+01:00"^^xsd:dateTime ];
         fhir:Period.end [ fhir:value "2013-04-05T10:30:10+01:00"^^xsd:dateTime ]
      ];
      fhir:Observation.issued [ fhir:value "2013-04-03T15:30:10+01:00"^^xsd:dateTime];
      fhir:Observation.valueQuantity [
         fhir:Quantity.value [ fhir:value "7.2"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "g/dl" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "g/dL" ]
      ];
      fhir:Observation.interpretation [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0078" ];
           fhir:Coding.code [ fhir:value "L" ];
           fhir:Coding.display [ fhir:value "Low" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Below low normal" ]
      ];
      fhir:Observation.bodySite [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:308046002;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "308046002" ];
           fhir:Coding.display [ fhir:value "Superficial forearm vein" ]     ]
      ];
      fhir:Observation.method [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:120220003;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "120220003" ];
           fhir:Coding.display [ fhir:value "Injection to forearm" ]     ]
      ];
      fhir:Observation.specimen [
         fhir:Reference.reference [ fhir:value "Specimen/example" ]
      ];
      fhir:Observation.derivedFrom [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Observation/example" ]
      ];
      fhir:Observation.component [
         fhir:index 0;
         fhir:Observation.component.code [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a loinc:8480-6;
             fhir:Coding.system [ fhir:value "http://loinc.org" ];
             fhir:Coding.code [ fhir:value "8480-6" ];
             fhir:Coding.display [ fhir:value "Systolic blood pressure" ]       ], [
             fhir:index 1;
             a sct:271649006;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "271649006" ];
             fhir:Coding.display [ fhir:value "Systolic blood pressure" ]       ], [
             fhir:index 2;
             fhir:Coding.system [ fhir:value "http://acme.org/devices/clinical-codes" ];
             fhir:Coding.code [ fhir:value "bp-s" ];
             fhir:Coding.display [ fhir:value "Systolic Blood pressure" ]       ]     ];
         fhir:Observation.component.valueQuantity [
           fhir:Quantity.value [ fhir:value "107"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "mmHg" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "mm[Hg]" ]     ];
         fhir:Observation.component.interpretation [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0078" ];
             fhir:Coding.code [ fhir:value "N" ];
             fhir:Coding.display [ fhir:value "normal" ]       ];
           fhir:CodeableConcept.text [ fhir:value "Normal" ]     ]
      ], [
         fhir:index 1;
         fhir:Observation.component.code [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a loinc:8462-4;
             fhir:Coding.system [ fhir:value "http://loinc.org" ];
             fhir:Coding.code [ fhir:value "8462-4" ];
             fhir:Coding.display [ fhir:value "Diastolic blood pressure" ]       ]     ];
         fhir:Observation.component.valueQuantity [
           fhir:Quantity.value [ fhir:value "60"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "mmHg" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "mm[Hg]" ]     ];
         fhir:Observation.component.interpretation [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0078" ];
             fhir:Coding.code [ fhir:value "L" ];
             fhir:Coding.display [ fhir:value "low" ]       ];
           fhir:CodeableConcept.text [ fhir:value "Below low normal" ]     ]
      ].

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

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