PhdImplementationGuide 0.3.0 - STU 1 (2nd ballot)

This page is part of the Personal Health Device FHIR IG (v0.3.0: STU 1 Ballot 3) based on FHIR R4. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

Example of a numeric. - TTL Representation

(back to narrative)

Raw ttl

@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "spotnumeric-1.0.0.3"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/phd/StructureDefinition/PhdNumericObservation";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/uv/phd/StructureDefinition/PhdNumericObservation>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: spotnumeric-1.0.0.3</p><p><b>meta</b>: </p><p><b>identifier</b>: sisansarahId-urn:oid:1.2.3.4.5.6.7.8.10-74E8FFFEFF051C00-149530-20181113175902-48.0-2720-150588</p><p><b>status</b>: final</p><p><b>category</b>: Vital Signs <span style=\"background: LightGoldenRodYellow\">(Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs)</span></p><p><b>code</b>: MDC_PULS_OXIM_PULS_RATE <span style=\"background: LightGoldenRodYellow\">(Details : {urn:iso:std:iso:11073:10101 code '149530' = '149530; {LOINC code '8867-4' = 'Heart rate)</span></p><p><b>subject</b>: <a href=\"spotnumeric-1.0.0.3.html\">Generated Summary: id: sisansarahId.1.2.3.4.5.6.7.8.10; Medical record number = sisansarahId; Sisansarah Lorianthah Piggy </a></p><p><b>effective</b>: 14/11/2018 9:59:02 AM</p><p><b>value</b>: 48.0 {beat}/min<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {beat}/min = '{beat}/min')</span></p><p><b>device</b>: <a href=\"spotnumeric-1.0.0.3.html\">Generated Summary: id: phd-74E8FFFEFF051C00.001C05FFE874; IEEE 11073 System Identifier = 74-E8-FF-FE-FF-05-1C-00, Bluetooth MAC address = 00-1C-05-FF-E8-74; manufacturer: Nonin_Medical_Inc.; serialNumber: 501900083; modelNumber: Model 3230; <span title=\"Codes: {urn:iso:std:iso:11073:10101 65573}\">MDC_MOC_VMS_MDS_SIMP</span></a></p><p><b>derivedFrom</b>: <a href=\"spotnumeric-1.0.0.3.html\">Generated Summary: id: coin-20181119202022; <span title=\"Codes: {urn:iso:std:iso:11073:10101 67975}\">MDC_ATTR_TIME_ABS: Absolute time</span>; effective: 12/11/2018 11:07:36 AM; value: 12/11/2018 11:07:35 AM</a></p><h3>Components</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>MDC_ATTR_SUPPLEMENTAL_TYPES <span style=\"background: LightGoldenRodYellow\">(Details : {urn:iso:std:iso:11073:10101 code '68193' = '68193)</span></td><td>MDC_MODALITY_SPOT <span style=\"background: LightGoldenRodYellow\">(Details : {urn:iso:std:iso:11073:10101 code '150588' = '150588)</span></td></tr></table></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice" ];
     fhir:Extension.valueReference [
       fhir:Reference.reference [ fhir:value "Device/phg-ecde3d4e58532d31.000000000000" ]     ]
  ];
  fhir:Observation.identifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "sisansarahId-urn:oid:1.2.3.4.5.6.7.8.10-74E8FFFEFF051C00-149530-20181113175902-48.0-2720-150588" ]
  ];
  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:CodeableConcept.text [ fhir:value "Vital Signs" ]
  ];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:11073:10101" ];
       fhir:Coding.code [ fhir:value "149530" ]     ], [
       fhir:index 1;
       a loinc:8867-4;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "8867-4" ]     ];
     fhir:CodeableConcept.text [ fhir:value "MDC_PULS_OXIM_PULS_RATE" ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/sisansarahId.1.2.3.4.5.6.7.8.10" ]
  ];
  fhir:Observation.effectiveDateTime [ fhir:value "2018-11-13T17:59:02-05:00"^^xsd:dateTime];
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "48.0"^^xsd:decimal ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
     fhir:Quantity.code [ fhir:value "{beat}/min" ]
  ];
  fhir:Observation.device [
     fhir:Reference.reference [ fhir:value "Device/phd-74E8FFFEFF051C00.001C05FFE874" ]
  ];
  fhir:Observation.derivedFrom [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Observation/coin-20181119202022" ]
  ];
  fhir:Observation.component [
     fhir:index 0;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "urn:iso:std:iso:11073:10101" ];
         fhir:Coding.code [ fhir:value "68193" ]       ];
       fhir:CodeableConcept.text [ fhir:value "MDC_ATTR_SUPPLEMENTAL_TYPES" ]     ];
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "urn:iso:std:iso:11073:10101" ];
         fhir:Coding.code [ fhir:value "150588" ]       ];
       fhir:CodeableConcept.text [ fhir:value "MDC_MODALITY_SPOT" ]     ]
  ].

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

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