@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 -------------------------------------------------------------------

<https://hl7.or.cr/fhir/laboratory-results/Observation/observation-hemoglobin-example> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "observation-hemoglobin-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://hl7.or.cr/fhir/laboratory-results/StructureDefinition/cr-lab-result-hemoglobin"^^xsd:anyURI ;
       fhir:l <https://hl7.or.cr/fhir/laboratory-results/StructureDefinition/cr-lab-result-hemoglobin>
     ] )
  ] ; # 
  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 observation-hemoglobin-example</b></p><a name=\"observation-hemoglobin-example\"> </a><a name=\"hcobservation-hemoglobin-example\"> </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-cr-lab-result-hemoglobin.html\">Resultado de Laboratorio - Hemoglobina</a></p></div><p><b>identifier</b>: <code>http://example.cr/lab-system</code>/LAB-2026-001-HEMOGLOBIN</p><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}\">Laboratory</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 718-7}\">Hemoglobina: Sangre : Punto temporal: Concentración de masa: Cuantitativo:</span></p><p><b>subject</b>: <a href=\"Patient-PatientLabResultExample.html\">Juan Carlos Pérez García (official) Male, DoB: 1980-06-15 ( Cédula Nacional: 402-1234-5678 (use: official, ))</a></p><p><b>effective</b>: 2026-01-20 09:30:00-0600</p><p><b>issued</b>: 2026-01-20 10:15:00-0600</p><p><b>performer</b>: <a href=\"Organization-organization-example.html\">Organization Laboratorio Central Costa Rica</a></p><p><b>value</b>: 14.5 g/dL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codeg/dL = 'g/dL')</span></p><p><b>interpretation</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation N}\">Normal</span></p><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>13.5 g/dL</td><td>17.5 g/dL</td><td><div><p>Normal para hombres</p>\n</div></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.cr/lab-system"^^xsd:anyURI ;
       fhir:l <http://example.cr/lab-system>
     ] ;
     fhir:value [ fhir:v "LAB-2026-001-HEMOGLOBIN" ]
  ] ) ; # 
  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 "laboratory" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:718-7 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "718-7" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <https://hl7.or.cr/fhir/laboratory-results/Patient/PatientLabResultExample> ;
     fhir:reference [ fhir:v "Patient/PatientLabResultExample" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2026-01-20T09:30:00-06:00"^^xsd:dateTime
  ] ; # 
  fhir:issued [ fhir:v "2026-01-20T10:15:00-06:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:l <https://hl7.or.cr/fhir/laboratory-results/Organization/organization-example> ;
     fhir:reference [ fhir:v "Organization/organization-example" ]
  ] ) ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v 14.5 ] ;
     fhir:unit [ fhir:v "g/dL" ] ;
     fhir:system [
       fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
       fhir:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "g/dL" ]
  ] ; # 
  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:referenceRange ( [
     fhir:low [
       fhir:value [ fhir:v 13.5 ] ;
       fhir:unit [ fhir:v "g/dL" ]
     ] ;
     fhir:high [
       fhir:value [ fhir:v 17.5 ] ;
       fhir:unit [ fhir:v "g/dL" ]
     ] ;
     fhir:text [ fhir:v "Normal para hombres" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

