@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://emahealth.io/fhir/clinical/Observation/EjemploEmaObservation> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "EjemploEmaObservation"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://emahealth.io/fhir/clinical/StructureDefinition/ema-observation"^^xsd:anyURI ;
       fhir:l <https://emahealth.io/fhir/clinical/StructureDefinition/ema-observation>
     ] )
  ] ; # 
  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: Observación EjemploEmaObservation</b></p><a name=\"EjemploEmaObservation\"> </a><a name=\"hcEjemploEmaObservation\"> </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-ema-observation.html\">EMA Observation</a></p></div><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 1558-6}\">Glucosa : Suero o Plasma : Punto temporal: Concentración de masa: Cuantitativo:</span></p><p><b>subject</b>: <a href=\"Patient/ejemplo-patient\">María Fernández</a></p><p><b>encounter</b>: <a href=\"Encounter/ejemplo-encounter\">Consulta control diabético</a></p><p><b>effective</b>: 2026-03-10 08:30:00-0300</p><p><b>performer</b>: <a href=\"Practitioner/ejemplo-practitioner\">Dr. Andrés Soto</a></p><p><b>value</b>: 126 mg/dL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg/dL = 'mg/dL')</span></p><p><b>interpretation</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation H}\">High</span></p></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 "laboratory" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:1558-6 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "1558-6" ] ;
       fhir:display [ fhir:v "Glucosa : Suero o Plasma : Punto temporal: Concentración de masa: Cuantitativo:" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <https://emahealth.io/fhir/clinical/Patient/ejemplo-patient> ;
     fhir:reference [ fhir:v "Patient/ejemplo-patient" ] ;
     fhir:display [ fhir:v "María Fernández" ]
  ] ; # 
  fhir:encounter [
     fhir:l <https://emahealth.io/fhir/clinical/Encounter/ejemplo-encounter> ;
     fhir:reference [ fhir:v "Encounter/ejemplo-encounter" ] ;
     fhir:display [ fhir:v "Consulta control diabético" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2026-03-10T08:30:00-03:00"^^xsd:dateTime
  ] ; # 
  fhir:performer ( [
     fhir:l <https://emahealth.io/fhir/clinical/Practitioner/ejemplo-practitioner> ;
     fhir:reference [ fhir:v "Practitioner/ejemplo-practitioner" ] ;
     fhir:display [ fhir:v "Dr. Andrés Soto" ]
  ] ) ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "126"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "mg/dL" ] ;
     fhir:system [
       fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
       fhir:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "mg/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 "H" ] ;
       fhir:display [ fhir:v "High" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

