QI-Core Implementation Guide
4.1.0 - release

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

## : Specimen 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:Specimen;
      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-specimen";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-specimen>     ]
      ];
      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-specimen.html\">QICoreSpecimen</a></p></div><p><b>type</b>: Venous blood specimen <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#122555007)</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Patient/example</a> \" CHALMERS\"</p><p><b>receivedTime</b>: 2011-03-04T07:03:00Z</p><h3>Collections</h3><table class=\"grid\"><tr><td>-</td><td><b>Extension</b></td><td><b>Collected[x]</b></td><td><b>Quantity</b></td><td><b>BodySite</b></td></tr><tr><td>*</td><td>, </td><td>2011-03-06T06:15:00Z</td><td>6 mL</td><td>Anterior surface of arm <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#7311008)</span></td></tr></table><h3>Processings</h3><table class=\"grid\"><tr><td>-</td><td><b>Extension</b></td><td><b>Description</b></td><td><b>Procedure</b></td><td><b>Additive</b></td></tr><tr><td>*</td><td></td><td>Treated with anticoagulants.</td><td>Defibrination <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-v2-0373.html\">treatment</a>#DEFB)</span></td><td><a href=\"Substance-example.html\">Substance/example</a></td></tr></table><h3>Containers</h3><table class=\"grid\"><tr><td>-</td><td><b>Extension</b></td><td><b>Type</b></td><td><b>Capacity</b></td></tr><tr><td>*</td><td></td><td>Specimen vial <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#434746001)</span></td><td>10 mL</td></tr></table></div>"
      ];
      fhir:Specimen.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:122555007;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "122555007" ];
           fhir:Coding.display [ fhir:value "Venous blood specimen" ]     ]
      ];
      fhir:Specimen.subject [
         fhir:Reference.reference [ fhir:value "Patient/example" ]
      ];
      fhir:Specimen.receivedTime [ fhir:value "2011-03-04T07:03:00Z"^^xsd:dateTime];
      fhir:Specimen.collection [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority" ];
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://example.com" ];
               fhir:Coding.code [ fhir:value "5" ];
               fhir:Coding.display [ fhir:value "ROUTINE" ]         ]       ]     ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling" ];
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
               fhir:Coding.code [ fhir:value "NOPERSISTP" ];
               fhir:Coding.display [ fhir:value "no collection beyond purpose of use" ]         ]       ]     ];
         fhir:Specimen.collection.collectedDateTime [ fhir:value "2011-03-06T06:15:00Z"^^xsd:dateTime ];
         fhir:Specimen.collection.quantity [
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight" ];
             fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]       ];
           fhir:Quantity.value [ fhir:value "6"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "mL" ]     ];
         fhir:Specimen.collection.bodySite [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:7311008;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "7311008" ];
             fhir:Coding.display [ fhir:value "Anterior surface of arm" ]       ]     ]
      ];
      fhir:Specimen.processing [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/specimen-processingTime" ];
           fhir:Extension.valuePeriod [
             fhir:Period.start [ fhir:value "2011-03-04T07:03:00Z"^^xsd:dateTime ];
             fhir:Period.end [ fhir:value "2011-03-04T07:03:00Z"^^xsd:dateTime ]       ]     ];
         fhir:Specimen.processing.description [ fhir:value "Treated with anticoagulants." ];
         fhir:Specimen.processing.procedure [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0373" ];
             fhir:Coding.code [ fhir:value "DEFB" ];
             fhir:Coding.display [ fhir:value "Defibrination" ]       ]     ];
         fhir:Specimen.processing.additive [
           fhir:index 0;
           fhir:Reference.reference [ fhir:value "Substance/example" ]     ]
      ];
      fhir:Specimen.container [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber" ];
           fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]     ];
         fhir:Specimen.container.type [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:434746001;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "434746001" ];
             fhir:Coding.display [ fhir:value "Specimen vial" ]       ]     ];
         fhir:Specimen.container.capacity [
           fhir:Quantity.value [ fhir:value "10"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "mL" ]     ]
      ].

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

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