@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://tb.cdc.gov.tw/tb/Observation/obs-check> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "obs-check"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://tb.cdc.gov.tw/tb/StructureDefinition/Observation-tb-check" ;
       fhir:index 0 ;
       fhir:link <https://tb.cdc.gov.tw/tb/StructureDefinition/Observation-tb-check>
     ]
  ] ;
  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: 观察 obs-check</b></p><a name=\"obs-check\"> </a><a name=\"hcobs-check\"> </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-Observation-tb-check.html\">生化檢查-Observation TB Check</a></p></div><p><b>identifier</b>: 1</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 2093-3}, {https://tb.cdc.gov.tw/tb/CodeSystem/cdc-report-type lj}\">Cholesterol [Mass/volume] in Serum or Plasma</span></p><p><b>subject</b>: <a href=\"Patient-pat-min.html\">Anonymous Patient Male, DoB: 1986-01-01 ( Medical record number (use: official, ))</a></p><p><b>effective</b>: 2025-07-02</p><p><b>issued</b>: 2025-07-02 09:30:12+0800</p><p><b>value</b>: 154 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 ND}\">Not detected</span></p><p><b>note</b>: </p><blockquote><div><p>無</p>\n</div></blockquote><p><b>method</b>: <span title=\"Codes:{http://snomed.info/sct 70621000052105}\">Spectrophotometric</span></p><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Low</b></td><td><b>High</b></td></tr><tr><td style=\"display: none\">*</td><td>0</td><td>200</td></tr></table></div>"
  ] ;
  fhir:Observation.identifier [
     fhir:index 0 ;
     fhir:Identifier.value [ fhir:value "1" ]
  ] ;
  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 "laboratory" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:2093-3 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "2093-3" ]
     ], [
       fhir:index 1 ;
       fhir:Coding.system [ fhir:value "https://tb.cdc.gov.tw/tb/CodeSystem/cdc-report-type" ] ;
       fhir:Coding.code [ fhir:value "lj" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <https://tb.cdc.gov.tw/tb/Patient/pat-min> ;
     fhir:Reference.reference [ fhir:value "Patient/pat-min" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2025-07-02"^^xsd:date] ;
  fhir:Observation.issued [ fhir:value "2025-07-02T09:30:12.234+08:00"^^xsd:dateTime] ;
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "154"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "mg/dL" ] ;
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
     fhir:Quantity.code [ fhir:value "mg/dL" ]
  ] ;
  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 "ND" ]
     ]
  ] ;
  fhir:Observation.note [
     fhir:index 0 ;
     fhir:Annotation.text [ fhir:value "無" ]
  ] ;
  fhir:Observation.method [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:70621000052105 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "70621000052105" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Spectrophotometric" ]
  ] ;
  fhir:Observation.referenceRange [
     fhir:index 0 ;
     fhir:Observation.referenceRange.low [
       fhir:Quantity.value [ fhir:value "0"^^xsd:decimal ]
     ] ;
     fhir:Observation.referenceRange.high [
       fhir:Quantity.value [ fhir:value "200"^^xsd:decimal ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://tb.cdc.gov.tw/tb/Observation/obs-check.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

