@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://emahealth.io/fhir/mx/Observation/EjemploEmaObservationMx> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "EjemploEmaObservationMx"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://emahealth.io/fhir/mx/StructureDefinition/ema-observation" ;
       fhir:index 0 ;
       fhir:link <https://emahealth.io/fhir/mx/StructureDefinition/ema-observation>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation EjemploEmaObservationMx</b></p><a name=\"EjemploEmaObservationMx\"> </a><a name=\"hcEjemploEmaObservationMx\"> </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 (México)</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 85354-9}\">Presión arterial</span></p><p><b>subject</b>: <a href=\"Patient-EjemploEmaPatientMx.html\">Guadalupe Hernández López (official) Female, DoB: 1974-03-12 ( https://emahealth.io/fhir/mx/sid/rfc#RFC#HELG740312AB1 (use: official, ))</a></p><p><b>encounter</b>: <a href=\"Encounter-EjemploEmaEncounterMx.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); type = Follow-up visit; period = 2026-04-15 10:00:00-0600 --&gt; 2026-04-15 10:30:00-0600</a></p><p><b>effective</b>: 2026-04-15 10:05:00-0600</p><p><b>performer</b>: <a href=\"Practitioner-EjemploEmaPractitionerMx.html\">Practitioner Alejandra Ramírez Torres (official)</a></p><p><b>interpretation</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation H}\">High</span></p><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 8480-6}\">Systolic blood pressure</span></p><p><b>value</b>: 142 mmHg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemm[Hg] = 'mm[Hg]')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 8462-4}\">Diastolic blood pressure</span></p><p><b>value</b>: 91 mmHg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemm[Hg] = 'mm[Hg]')</span></p></blockquote></div>"
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ] ;
       fhir:Coding.code [ fhir:value "vital-signs" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:85354-9 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "85354-9" ] ;
       fhir:Coding.display [ fhir:value "Blood pressure panel with all children optional" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Presión arterial" ]
  ] ;
  fhir:Observation.subject [
     fhir:link <https://emahealth.io/fhir/mx/Patient/EjemploEmaPatientMx> ;
     fhir:Reference.reference [ fhir:value "Patient/EjemploEmaPatientMx" ]
  ] ;
  fhir:Observation.encounter [
     fhir:link <https://emahealth.io/fhir/mx/Encounter/EjemploEmaEncounterMx> ;
     fhir:Reference.reference [ fhir:value "Encounter/EjemploEmaEncounterMx" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2026-04-15T10:05:00-06:00"^^xsd:dateTime] ;
  fhir:Observation.performer [
     fhir:index 0 ;
     fhir:link <https://emahealth.io/fhir/mx/Practitioner/EjemploEmaPractitionerMx> ;
     fhir:Reference.reference [ fhir:value "Practitioner/EjemploEmaPractitionerMx" ]
  ] ;
  fhir:Observation.interpretation [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" ] ;
       fhir:Coding.code [ fhir:value "H" ] ;
       fhir:Coding.display [ fhir:value "High" ]
     ]
  ] ;
  fhir:Observation.component [
     fhir:index 0 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:8480-6 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "8480-6" ] ;
         fhir:Coding.display [ fhir:value "Systolic blood pressure" ]
       ]
     ] ;
     fhir:Observation.component.valueQuantity [
       fhir:Quantity.value [ fhir:value "142"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "mmHg" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "mm[Hg]" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:8462-4 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "8462-4" ] ;
         fhir:Coding.display [ fhir:value "Diastolic blood pressure" ]
       ]
     ] ;
     fhir:Observation.component.valueQuantity [
       fhir:Quantity.value [ fhir:value "91"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "mmHg" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "mm[Hg]" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://emahealth.io/fhir/mx/Observation/EjemploEmaObservationMx.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

