@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://fhir.hl7.org.vn/core/Observation/ExampleObservationVitalSpO2> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleObservationVitalSpO2"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-observation-spo2"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-observation-spo2>
     ] )
  ] ; # 
  fhir:language [ fhir:v "vi"] ; # 
  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: Observation ExampleObservationVitalSpO2</b></p><a name=\"ExampleObservationVitalSpO2\"> </a><a name=\"hcExampleObservationVitalSpO2\"> </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-vn-core-observation-spo2.html\">SpO2 VN Core — VN Core Observation SpO2 Profile</a></p></div><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}\">Bão hòa oxy mao mạch (SpO2)</span></p><p><b>subject</b>: <a href=\"Patient-ExamplePatientNguyenVanAn.html\">Nguyễn Văn An</a></p><p><b>encounter</b>: <a href=\"Encounter-ExampleEncounterOutpatient.html\">Encounter: extension = Khám chữa bệnh ban đầu; status = finished; class = ambulatory (ActCode#AMB); period = 2026-03-19 08:30:00+0700 --&gt; 2026-03-19 11:00:00+0700; reasonCode = </a></p><p><b>effective</b>: 2026-04-20 08:00:00+0700</p><p><b>performer</b>: <a href=\"Practitioner-ExamplePractitionerBSCKII.html\">BS CKII Nguyễn Thị Lan</a></p><p><b>value</b>: 94 %<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></p><p><b>interpretation</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation L}\">Low</span></p><p><b>note</b>: </p><blockquote><div><p>SpO2 94% — dưới ngưỡng bình thường. Cần theo dõi sát, cân nhắc thở oxy nếu SpO2 &lt; 92% hoặc có triệu chứng khó thở.</p>\n</div></blockquote><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Low</b></td><td><b>High</b></td><td><b>Text</b></td></tr><tr><td style=\"display: none\">*</td><td>95 %<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></td><td>100 %<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></td><td>95–100% (bình thường)</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  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:text [ fhir:v "Bão hòa oxy mao mạch (SpO2)" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://fhir.hl7.org.vn/core/Patient/ExamplePatientNguyenVanAn> ;
     fhir:reference [ fhir:v "Patient/ExamplePatientNguyenVanAn" ] ;
     fhir:display [ fhir:v "Nguyễn Văn An" ]
  ] ; # 
  fhir:encounter [
     fhir:l <http://fhir.hl7.org.vn/core/Encounter/ExampleEncounterOutpatient> ;
     fhir:reference [ fhir:v "Encounter/ExampleEncounterOutpatient" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2026-04-20T08:00:00+07:00"^^xsd:dateTime
  ] ; # 
  fhir:performer ( [
     fhir:l <http://fhir.hl7.org.vn/core/Practitioner/ExamplePractitionerBSCKII> ;
     fhir:reference [ fhir:v "Practitioner/ExamplePractitionerBSCKII" ] ;
     fhir:display [ fhir:v "BS CKII Nguyễn Thị Lan" ]
  ] ) ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "94"^^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 "L" ] ;
       fhir:display [ fhir:v "Low" ]
     ] )
  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "SpO2 94% — dưới ngưỡng bình thường. Cần theo dõi sát, cân nhắc thở oxy nếu SpO2 < 92% hoặc có triệu chứng khó thở." ]
  ] ) ; # 
  fhir:referenceRange ( [
     fhir:low [
       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:high [
       fhir:value [ fhir:v "100"^^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:text [ fhir:v "95–100% (bình thường)" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

