@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 -------------------------------------------------------------------

<https://www.bihealth.org/fhir/enrich-mhealth/DeviceMetric/Example-ENRICH-DeviceMetric-SpO2> a fhir:DeviceMetric ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Example-ENRICH-DeviceMetric-SpO2"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://www.bihealth.org/fhir/enrich-mhealth/StructureDefinition/enrich-mhealth-device-metric" ;
       fhir:index 0 ;
       fhir:link <https://www.bihealth.org/fhir/enrich-mhealth/StructureDefinition/enrich-mhealth-device-metric>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: DeviceMetric Example-ENRICH-DeviceMetric-SpO2</b></p><a name=\"Example-ENRICH-DeviceMetric-SpO2\"> </a><a name=\"hcExample-ENRICH-DeviceMetric-SpO2\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-enrich-mhealth-device-metric.html\">ENRICH-mHealth Device Metric (Sensor Type and Calibration Status)</a></p></div><p><b>type</b>: <span title=\"Codes:{urn:iso:std:iso:11073:10101 150456}\">MDC_PULS_OXIM_SAT_O2</span></p><p><b>unit</b>: <span title=\"Codes:{http://unitsofmeasure.org %}\">%</span></p><p><b>source</b>: <a href=\"Device-Example-ENRICH-Device-Corsano.html\">Device: status = active; manufacturer = Corsano Health; serialNumber = CW287-000123; modelNumber = 287-2; type = </a></p><p><b>operationalStatus</b>: On</p><p><b>category</b>: Measurement</p><h3>Calibrations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>State</b></td><td><b>Time</b></td></tr><tr><td style=\"display: none\">*</td><td>Two Point</td><td>Calibrated</td><td>2020-10-11 09:00:00+0000</td></tr></table></div>"
  ] ;
  fhir:DeviceMetric.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:11073:10101" ] ;
       fhir:Coding.code [ fhir:value "150456" ] ;
       fhir:Coding.display [ fhir:value "MDC_PULS_OXIM_SAT_O2" ]
     ]
  ] ;
  fhir:DeviceMetric.unit [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Coding.code [ fhir:value "%" ] ;
       fhir:Coding.display [ fhir:value "%" ]
     ]
  ] ;
  fhir:DeviceMetric.source [
     fhir:link <https://www.bihealth.org/fhir/enrich-mhealth/Device/Example-ENRICH-Device-Corsano> ;
     fhir:Reference.reference [ fhir:value "Device/Example-ENRICH-Device-Corsano" ]
  ] ;
  fhir:DeviceMetric.operationalStatus [ fhir:value "on"] ;
  fhir:DeviceMetric.category [ fhir:value "measurement"] ;
  fhir:DeviceMetric.calibration [
     fhir:index 0 ;
     fhir:DeviceMetric.calibration.type [ fhir:value "two-point" ] ;
     fhir:DeviceMetric.calibration.state [ fhir:value "calibrated" ] ;
     fhir:DeviceMetric.calibration.time [ fhir:value "2020-10-11T09:00:00Z"^^xsd:dateTime ]
  ] .

# - ontology header ------------------------------------------------------------

<https://www.bihealth.org/fhir/enrich-mhealth/DeviceMetric/Example-ENRICH-DeviceMetric-SpO2.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

