@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 -------------------------------------------------------------------

<urn://example.com/ph-ereferral/fhir/Observation/ExampleERefObservationECG> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleERefObservationECG"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-observation"^^xsd:anyURI ;
       fhir:l <https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-observation>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  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 ExampleERefObservationECG</b></p><a name=\"ExampleERefObservationECG\"> </a><a name=\"hcExampleERefObservationECG\"> </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=\"https://build.fhir.org/ig/UP-Manila-SILab/ph-core/StructureDefinition-ph-core-observation.html\">PH Core Observation</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category procedure}\">Procedure</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 11524-6}\">EKG study</span></p><p><b>subject</b>: <a href=\"Patient-ExampleERefPatient.html\">Juan Miguel Dela Cruz  Male, DoB: 1965-07-20 ( urn:oid:2.16.840.1.113883.2.9.4.3.2#PH-123456789)</a></p><p><b>effective</b>: 2025-03-15 09:20:00+0800</p><p><b>value</b>: ST depression in leads V4-V6, T wave inversion in lead III</p><p><b>interpretation</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation A}\">Abnormal</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 "procedure" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:11524-6 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "11524-6" ] ;
       fhir:display [ fhir:v "EKG study" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <urn://example.com/ph-ereferral/fhir/Patient/ExampleERefPatient> ;
     fhir:reference [ fhir:v "Patient/ExampleERefPatient" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2025-03-15T09:20:00+08:00"^^xsd:dateTime
  ] ; # 
  fhir:value [
     a fhir:String ;
     fhir:v "ST depression in leads V4-V6, T wave inversion in lead III"
  ] ; # 
  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 "A" ] ;
       fhir:display [ fhir:v "Abnormal" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

