@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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/aitransparency/Observation/satO2> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "satO2"] ; # 
  fhir:meta [
     fhir:security ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ObservationValue"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ObservationValue>
       ] ;
       fhir:code [ fhir:v "AIAST" ] ;
       fhir:display [ fhir:v "Artificial Intelligence asserted" ]
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: Observation satO2</b></p><a name=\"satO2\"> </a><a name=\"hcsatO2\"> </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\">Language: en</p><p style=\"margin-bottom: 0px\">Security Label: Artificial Intelligence asserted (Details: ObservationValue code AIAST = 'Artificial Intelligence asserted')</p></div><p><b>identifier</b>: <code>http://example.org/observation/id</code>/o1223435-10</p><p><b>partOf</b>: <a href=\"http://server.example.org/fhir/Procedure/ob\">http://server.example.org/fhir/Procedure/ob</a></p><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category vital-signs}\">Vital Signs</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 2708-6}, {urn:iso:std:iso:11073:10101 150456}\">Oxygen saturation in Arterial blood</span></p><p><b>subject</b>: <a href=\"http://server.example.org/fhir/Patient/f201\">http://server.example.org/fhir/Patient/f201</a></p><p><b>effective</b>: 2014-12-05 09:30:10+0100</p><p><b>performer</b>: <a href=\"http://server.example.org/fhir/Practitioner/pract\">http://server.example.org/fhir/Practitioner/pract</a></p><p><b>value</b>: 95 %<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></p><p><b>interpretation</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation N}\">Normal (applies to non-numeric results)</span></p><p><b>device</b>: <a href=\"Device-TheAI.html\">Device: extension = Large Language Models; identifier = http://example.org/ehr/client-ids#goodhealth; manufacturer = Acme Devices, Inc; type = All kinds of Artificial Intelligence; contact = http://example.org</a></p><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Low</b></td><td><b>High</b></td></tr><tr><td style=\"display: none\">*</td><td>90 %<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></td><td>99 %<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/observation/id"^^xsd:anyURI ;
       fhir:l <http://example.org/observation/id>
     ] ;
     fhir:value [ fhir:v "o1223435-10" ]
  ] ) ; # 
  fhir:partOf ( [
     fhir:l <http://server.example.org/fhir/Procedure/ob> ;
     fhir:reference [ fhir:v "http://server.example.org/fhir/Procedure/ob" ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/observation-category>
       ] ;
       fhir:code [ fhir:v "vital-signs" ] ;
       fhir:display [ fhir:v "Vital Signs" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:2708-6 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "2708-6" ] ;
       fhir:display [ fhir:v "Oxygen saturation in Arterial blood" ]
     ] [
       fhir:system [
         fhir:v "urn:iso:std:iso:11073:10101"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:11073:10101>
       ] ;
       fhir:code [ fhir:v "150456" ] ;
       fhir:display [ fhir:v "MDC_PULS_OXIM_SAT_O2" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://server.example.org/fhir/Patient/f201> ;
     fhir:reference [ fhir:v "http://server.example.org/fhir/Patient/f201" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2014-12-05T09:30:10+01:00"^^xsd:dateTime
  ] ; # 
  fhir:performer ( [
     fhir:l <http://server.example.org/fhir/Practitioner/pract> ;
     fhir:reference [ fhir:v "http://server.example.org/fhir/Practitioner/pract" ]
  ] ) ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "95"^^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:interpretation ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation>
       ] ;
       fhir:code [ fhir:v "N" ] ;
       fhir:display [ fhir:v "Normal" ]
     ] ) ;
     fhir:text [ fhir:v "Normal (applies to non-numeric results)" ]
  ] ) ; # 
  fhir:device [
     fhir:l <http://hl7.org/fhir/uv/aitransparency/Device/TheAI> ;
     fhir:reference [ fhir:v "Device/TheAI" ]
  ] ; # 
  fhir:referenceRange ( [
     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:high [
       fhir:value [ fhir:v "99"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "%" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "%" ]
     ]
  ] ) . # 

<http://hl7.org/fhir/uv/aitransparency/Device/TheAI> a fhir:Uv .

# -------------------------------------------------------------------------------------

