@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 -------------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Observation/ExampleObservationLabComponentCodingDARBypass> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleObservationLabComponentCodingDARBypass"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-observation-lab" ;
       fhir:index -1 ;
       fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-observation-lab>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "vi"] ;
  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 ExampleObservationLabComponentCodingDARBypass</b></p><a name=\"ExampleObservationLabComponentCodingDARBypass\"> </a><a name=\"hcExampleObservationLabComponentCodingDARBypass\"> </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-lab.html\">Xét nghiệm VN Core — VN Core Observation Laboratory Profile</a></p></div><p><b>status</b>: Preliminary</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 24323-8}\">Comprehensive metabolic 2000 panel - Serum or Plasma</span></p><p><b>subject</b>: <a href=\"Patient-ExamplePatientNguyenVanAn.html\">Nguyễn Văn An Male, DoB: 1985-03-15 ( Căn cước công dân: VNCCCD#001085012345)</a></p><p><b>effective</b>: 2026-05-12 09:15:00+0700</p><p><b>performer</b>: <a href=\"Organization-ExampleOrganizationChoRay.html\">Organization Bệnh viện Chợ Rẫy</a></p><h3>Components</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://loinc.org null}\">Mã thành phần không có giá trị — fixture âm</span></td><td>5.6 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemmol/L = 'mmol/L')</span></td></tr></table></div>"
  ] ;
  fhir:Observation.status [ fhir:value "preliminary"] ;
  fhir:Observation.category [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ] ;
       fhir:Coding.code [ fhir:value "laboratory" ] ;
       fhir:Coding.display [ fhir:value "Laboratory" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a loinc:24323-8 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "24323-8" ] ;
       fhir:Coding.display [ fhir:value "Comprehensive metabolic 2000 panel - Serum or Plasma" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <http://fhir.hl7.org.vn/core/Patient/ExamplePatientNguyenVanAn> ;
     fhir:Reference.reference [ fhir:value "Patient/ExamplePatientNguyenVanAn" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2026-05-12T09:15:00+07:00"^^xsd:dateTime] ;
  fhir:Observation.performer [
     fhir:index -1 ;
     fhir:link <http://fhir.hl7.org.vn/core/Organization/ExampleOrganizationChoRay> ;
     fhir:Reference.reference [ fhir:value "Organization/ExampleOrganizationChoRay" ]
  ] ;
  fhir:Observation.component [
     fhir:index -1 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [
           fhir:Element.extension [
             fhir:index -1 ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ] ;
             fhir:Extension.valueCode [ fhir:value "unknown" ]
           ]
         ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Mã thành phần không có giá trị — fixture âm" ]
     ] ;
     fhir:Observation.component.valueQuantity [
       fhir:Quantity.value [ fhir:value "5.6"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "mmol/L" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "mmol/L" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Observation/ExampleObservationLabComponentCodingDARBypass.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

