@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/uv/phd/DeviceAlert/spo2-device-alert> a fhir:DeviceAlert ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "spo2-device-alert"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/phd/StructureDefinition/PhdDeviceAlert"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/phd/StructureDefinition/PhdDeviceAlert>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: DeviceAlert spo2-device-alert</b></p><a name=\"spo2-device-alert\"> </a><a name=\"hcspo2-device-alert\"> </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-PhdDeviceAlert.html\">PhdDeviceAlert</a></p></div><p><b>status</b>: In Progress</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/devicealert-type physiological}\">Physiological</span></p><p><b>code</b>: <span title=\"Codes:{urn:iso:std:iso:11073:10101 196670}\">Low Range Alert</span></p><p><b>subject</b>: <a href=\"Patient-patientExample-1.html\">Sisansarah Lorianthah Piggy  (no stated gender), DoB Unknown ( Medical record number)</a></p><p><b>occurrence</b>: 2018-11-13 17:59:02-0500 --&gt; (ongoing)</p><p><b>device</b>: <a href=\"Device-phd-74E8FFFEFF051C00.001C05FFE874.html\">Device: identifier = IEEE 11073 System Identifier: 74-E8-FF-FE-FF-05-1C-00,Bluetooth MAC address: Bluetooth Address as a device identifier#00-1C-05-FF-E8-74; manufacturer = Nonin_Medical_Inc.; serialNumber = 501900083; modelNumber = Model 3230; type = MDC_MOC_VMS_MDS_SIMP</a></p><h3>DerivedFroms</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Observation</b></td><td><b>Limit</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Observation-numeric-spo2-alarm.html\">Observation MDC_PULS_OXIM_SAT_O2</a></td><td>90-? %</td></tr></table><p><b>label</b>: SpO2 &lt; 90%</p><h3>Signals</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ActivationState</b></td><td><b>Presence</b></td><td><b>Manifestation</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/devicealert-activation-state on}\">on</span></td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/devicealert-presence on}\">On</span></td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/devicealert-manifestation aud}\">Auditory</span></td><td><span title=\"Codes:\">Alerting when SpO2 &lt; 90%</span></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "in-progress"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/devicealert-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/devicealert-type>
       ] ;
       fhir:code [ fhir:v "physiological" ]
     ] )
  ] ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:iso:std:iso:11073:10101"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:11073:10101>
       ] ;
       fhir:code [ fhir:v "196670" ] ;
       fhir:display [ fhir:v "MDC_EVT_LO" ]
     ] ) ;
     fhir:text [ fhir:v "Low Range Alert" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/uv/phd/Patient/patientExample-1> ;
     fhir:reference [ fhir:v "Patient/patientExample-1" ]
  ] ; # 
  fhir:occurrence [
     fhir:start [ fhir:v "2018-11-13T17:59:02-05:00"^^xsd:dateTime ]
  ] ; # 
  fhir:device [
     fhir:l <http://hl7.org/fhir/uv/phd/Device/phd-74E8FFFEFF051C00.001C05FFE874> ;
     fhir:reference [ fhir:v "Device/phd-74E8FFFEFF051C00.001C05FFE874" ]
  ] ; # 
  fhir:derivedFrom ( [
     fhir:observation [
       fhir:l <http://hl7.org/fhir/uv/phd/Observation/numeric-spo2-alarm> ;
       fhir:reference [ fhir:v "Observation/numeric-spo2-alarm" ]
     ] ;
     fhir:limit [
       fhir:low [
         fhir:value [ fhir:v "90"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "%" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "%" ]
       ]
     ]
  ] ) ; # 
  fhir:label [ fhir:v "SpO2 < 90%"] ; # 
  fhir:signal ( [
     fhir:activationState [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/devicealert-activation-state"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/devicealert-activation-state>
         ] ;
         fhir:code [ fhir:v "on" ]
       ] )
     ] ;
     fhir:presence [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/devicealert-presence"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/devicealert-presence>
         ] ;
         fhir:code [ fhir:v "on" ]
       ] )
     ] ;
     fhir:manifestation [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/devicealert-manifestation"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/devicealert-manifestation>
         ] ;
         fhir:code [ fhir:v "aud" ] ;
         fhir:display [ fhir:v "Auditory" ]
       ] )
     ] ;
     fhir:type ( [
       fhir:text [ fhir:v "Alerting when SpO2 < 90%" ]
     ] )
  ] ) . # 

<http://hl7.org/fhir/uv/phd/Patient/patientExample-1> a fhir:Uv .

<http://hl7.org/fhir/uv/phd/Device/phd-74E8FFFEFF051C00.001C05FFE874> a fhir:Uv .

<http://hl7.org/fhir/uv/phd/Observation/numeric-spo2-alarm> a fhir:Uv .

# -------------------------------------------------------------------------------------

