QI-Core Implementation Guide
4.1.0 - release

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

## : Device 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:Device;
      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-device";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device>     ]
      ];
      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-device.html\">QICoreDevice</a></p></div><p><b>identifier</b>: id: 345675, Serial Number: AMID-342135-8464</p><h3>UdiCarriers</h3><table class=\"grid\"><tr><td>-</td><td><b>DeviceIdentifier</b></td><td><b>CarrierHRF</b></td></tr><tr><td>*</td><td>09504000059118</td><td>(01)09504000059118(17)141120(10)7654321D(21)10987654d321</td></tr></table><p><b>status</b>: active</p><p><b>manufacturer</b>: Acme Devices, Inc</p><p><b>lotNumber</b>: 43453424</p><p><b>modelNumber</b>: AB 45-J</p><p><b>type</b>: ECG <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#86184003 \"Electrocardiographic monitor and recorder\")</span></p><p><b>patient</b>: <a href=\"Patient-example.html\">Patient/example</a> \" CHALMERS\"</p><p><b>contact</b>: ph: ext 4352</p><p><b>note</b>: QA Checked (By Practitioner/example @Jun 28, 2015 4:03:32 AM)</p></div>"
      ];
      fhir:Device.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "http://goodcare.org/devices/id" ];
         fhir:Identifier.value [ fhir:value "345675" ]
      ], [
         fhir:index 1;
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
             fhir:Coding.code [ fhir:value "SNO" ]       ];
           fhir:CodeableConcept.text [ fhir:value "Serial Number" ]     ];
         fhir:Identifier.value [ fhir:value "AMID-342135-8464" ]
      ];
      fhir:Device.udiCarrier [
         fhir:index 0;
         fhir:Device.udiCarrier.deviceIdentifier [ fhir:value "09504000059118" ];
         fhir:Device.udiCarrier.carrierHRF [ fhir:value "(01)09504000059118(17)141120(10)7654321D(21)10987654d321" ]
      ];
      fhir:Device.status [ fhir:value "active"];
      fhir:Device.manufacturer [ fhir:value "Acme Devices, Inc"];
      fhir:Device.lotNumber [ fhir:value "43453424"];
      fhir:Device.modelNumber [ fhir:value "AB 45-J"];
      fhir:Device.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:86184003;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "86184003" ];
           fhir:Coding.display [ fhir:value "Electrocardiographic monitor and recorder" ]     ];
         fhir:CodeableConcept.text [ fhir:value "ECG" ]
      ];
      fhir:Device.patient [
         fhir:Reference.reference [ fhir:value "Patient/example" ]
      ];
      fhir:Device.contact [
         fhir:index 0;
         fhir:ContactPoint.system [ fhir:value "phone" ];
         fhir:ContactPoint.value [ fhir:value "ext 4352" ]
      ];
      fhir:Device.note [
         fhir:index 0;
         fhir:Annotation.authorReference [
           fhir:Reference.reference [ fhir:value "Practitioner/example" ]     ];
         fhir:Annotation.time [ fhir:value "2015-06-28T14:03:32+10:00"^^xsd:dateTime ];
         fhir:Annotation.text [ fhir:value "QA Checked" ]
      ].

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

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