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 an Rtsa. - TTL Representation

(back to narrative)

Raw ttl

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

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

 a fhir:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "rtsa-1234"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/phd/StructureDefinition/PhdRtsaObservation";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/uv/phd/StructureDefinition/PhdRtsaObservation>     ]
  ];
  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>: rtsa-1234</p><p><b>meta</b>: </p><p><b>status</b>: final</p><p><b>code</b>: MDC_PULS_OXIM_PLETH: Pleth Wave <span style=\"background: LightGoldenRodYellow\">(Details : {urn:iso:std:iso:11073:10101 code '150452' = '150452; {[not stated] code 'SampledData' = 'SampledData', given as 'Data is a periodic array'})</span></p><p><b>subject</b>: <a href=\"rtsa-1234.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>: 02/08/2018 4:25:24 PM</p><p><b>value</b>: Origin: (system = 'UCUM' code {unitless} 1 = '{unitless} 1'), Period: 0.01, Factor: 3.0, Dimensions: 1, Data: 123 110 97 99 112 118</p><p><b>device</b>: <a href=\"rtsa-1234.html\">Generated Summary: id: phd-00601900010E9234.F45EABA80832; IEEE 11073 System Identifier = 00-60-19-00-01-0E-92-34, Bluetooth MAC address = F4-5E-AB-A8-08-32; manufacturer: Diabetes Care; serialNumber: 20130200002A; modelNumber: Gluc-23; <span title=\"Codes: {urn:iso:std:iso:11073:10101 65573}\">MDC_MOC_VMS_MDS_SIMP</span></a></p><p><b>derivedFrom</b>: <a href=\"rtsa-1234.html\">Generated Summary: id: coin-1234; <span title=\"Codes: {urn:iso:std:iso:11073:10101 67975}\">MDC_ATTR_TIME_ABS: Absolute time</span>; effective: 03/06/2017 8:02:35 AM; value: 03/06/2017 8:02:30 AM</a></p></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.status [ fhir:value "final"];
  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 "150452" ]     ], [
       fhir:index 1;
       fhir:Coding.code [ fhir:value "SampledData" ];
       fhir:Coding.display [ fhir:value "Data is a periodic array" ]     ];
     fhir:CodeableConcept.text [ fhir:value "MDC_PULS_OXIM_PLETH: Pleth Wave" ]
  ];
  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-08-02T02:25:24-04:00"^^xsd:dateTime];
  fhir:Observation.valueSampledData [
     fhir:SampledData.origin [
       fhir:Quantity.value [ fhir:value "0"^^xsd:decimal ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "{unitless} 1" ]     ];
     fhir:SampledData.period [ fhir:value "0.01"^^xsd:decimal ];
     fhir:SampledData.factor [ fhir:value "3.0"^^xsd:decimal ];
     fhir:SampledData.dimensions [ fhir:value "1"^^xsd:positiveInteger ];
     fhir:SampledData.data [ fhir:value "123 110 97 99 112 118" ]
  ];
  fhir:Observation.device [
     fhir:Reference.reference [ fhir:value "Device/phd-00601900010E9234.F45EABA80832" ]
  ];
  fhir:Observation.derivedFrom [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Observation/coin-1234" ]
  ].

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

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