@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/Bundle/check> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "check"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://tb.cdc.gov.tw/tb/StructureDefinition/Bundle-tb-check" ;
       fhir:index 0 ;
       fhir:link <https://tb.cdc.gov.tw/tb/StructureDefinition/Bundle-tb-check>
     ]
  ] ;
  fhir:Bundle.type [ fhir:value "message"] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://tb.cdc.gov.tw/tb/MessageHeader/message-check" ] ;
     fhir:Bundle.entry.resource <https://tb.cdc.gov.tw/tb/MessageHeader/message-check>
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://tb.cdc.gov.tw/tb/DiagnosticReport/dia-check" ] ;
     fhir:Bundle.entry.resource <https://tb.cdc.gov.tw/tb/DiagnosticReport/dia-check>
  ], [
     fhir:index 2 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://tb.cdc.gov.tw/tb/Organization/hosp" ] ;
     fhir:Bundle.entry.resource <https://tb.cdc.gov.tw/tb/Organization/hosp>
  ], [
     fhir:index 3 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://tb.cdc.gov.tw/tb/Patient/pat-min" ] ;
     fhir:Bundle.entry.resource <https://tb.cdc.gov.tw/tb/Patient/pat-min>
  ], [
     fhir:index 4 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://tb.cdc.gov.tw/tb/Practitioner/pra-min" ] ;
     fhir:Bundle.entry.resource <https://tb.cdc.gov.tw/tb/Practitioner/pra-min>
  ], [
     fhir:index 5 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://tb.cdc.gov.tw/tb/Encounter/enc-check" ] ;
     fhir:Bundle.entry.resource <https://tb.cdc.gov.tw/tb/Encounter/enc-check>
  ], [
     fhir:index 6 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://tb.cdc.gov.tw/tb/Observation/obs-check" ] ;
     fhir:Bundle.entry.resource <https://tb.cdc.gov.tw/tb/Observation/obs-check>
  ] .

<https://tb.cdc.gov.tw/tb/MessageHeader/message-check> a fhir:MessageHeader ;
  fhir:Resource.id [ fhir:value "message-check"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://tb.cdc.gov.tw/tb/StructureDefinition/MessageHeader-tb-check" ;
       fhir:index 0 ;
       fhir:link <https://tb.cdc.gov.tw/tb/StructureDefinition/MessageHeader-tb-check>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_message-check\"> </a><p class=\"res-header-id\"><b>Generated Narrative: 消息标头 message-check</b></p><a name=\"message-check\"> </a><a name=\"hcmessage-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-MessageHeader-tb-check.html\">生化檢查通報訊息-MessageHeader TB Check</a></p></div><p><b>event</b>: <a href=\"CodeSystem-cdc-message-event.html#cdc-message-event-check\">CDC-訊息事件: check</a> (生化檢查通報)</p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"https://www.ntuh.gov.tw\">https://www.ntuh.gov.tw</a></td></tr></table><p><b>focus</b>: <a href=\"DiagnosticReport-dia-check.html\">Diagnostic Report for 'Cholesterol [Mass/volume] in Serum or Plasma' for '-&gt;Anonymous Patient Male, DoB: 1986-01-01 ( Medical record number (use: official, ))'</a></p></div>"
  ] ;
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "https://tb.cdc.gov.tw/tb/CodeSystem/cdc-message-event" ] ;
     fhir:Coding.code [ fhir:value "check" ]
  ] ;
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.endpoint [ fhir:value "https://www.ntuh.gov.tw" ]
  ] ;
  fhir:MessageHeader.focus [
     fhir:index 0 ;
     fhir:link <https://tb.cdc.gov.tw/tb/DiagnosticReport/dia-check> ;
     fhir:Reference.reference [ fhir:value "DiagnosticReport/dia-check" ]
  ] .

<https://tb.cdc.gov.tw/tb/DiagnosticReport/dia-check> a fhir:DiagnosticReport ;
  fhir:Resource.id [ fhir:value "dia-check"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://tb.cdc.gov.tw/tb/StructureDefinition/DiagnosticReport-tb-check" ;
       fhir:index 0 ;
       fhir:link <https://tb.cdc.gov.tw/tb/StructureDefinition/DiagnosticReport-tb-check>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DiagnosticReport_dia-check\"> </a><p class=\"res-header-id\"><b>Generated Narrative: 诊断报告 dia-check</b></p><a name=\"dia-check\"> </a><a name=\"hcdia-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-DiagnosticReport-tb-check.html\">生化檢查報告-DiagnosticReport TB Check</a></p></div><h2><span title=\"Codes:{http://loinc.org 2093-3}\">Cholesterol [Mass/volume] in Serum or Plasma</span> </h2><table class=\"grid\"><tr><td>Subject</td><td>Anonymous Patient Male, DoB: 1986-01-01 ( Medical record number (use: official, ))</td></tr><tr><td>Relevant Time</td><td>2025-07-02</td></tr><tr><td>Performer</td><td> <a href=\"Organization-hosp.html\">Organization: identifier = Provider number (use: official, ); type = Healthcare Provider</a></td></tr></table><p><b>Report Details</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>Value</b></td><td><b>Reference Range</b></td><td><b>Flags</b></td><td><b>Note</b></td><td><b>Reported</b></td></tr><tr><td><a href=\"Observation-obs-check.html\"><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></a></td><td>154 mg/dL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg/dL = 'mg/dL')</span></td><td>0 - 200</td><td>Final, <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation ND}\">Not detected</span></td><td><blockquote><div><p>無</p>\n</div></blockquote></td><td>2025-07-02 09:30:12+0800</td></tr></table></div>"
  ] ;
  fhir:DiagnosticReport.status [ fhir:value "final"] ;
  fhir:DiagnosticReport.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:DiagnosticReport.subject [
     fhir:link <https://tb.cdc.gov.tw/tb/Patient/pat-min> ;
     fhir:Reference.reference [ fhir:value "Patient/pat-min" ]
  ] ;
  fhir:DiagnosticReport.encounter [
     fhir:link <https://tb.cdc.gov.tw/tb/Encounter/enc-check> ;
     fhir:Reference.reference [ fhir:value "Encounter/enc-check" ]
  ] ;
  fhir:DiagnosticReport.effectiveDateTime [ fhir:value "2025-07-02"^^xsd:date] ;
  fhir:DiagnosticReport.performer [
     fhir:index 0 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Organization/hosp> ;
     fhir:Reference.reference [ fhir:value "Organization/hosp" ]
  ] ;
  fhir:DiagnosticReport.resultsInterpreter [
     fhir:index 0 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Practitioner/pra-min> ;
     fhir:Reference.reference [ fhir:value "Practitioner/pra-min" ]
  ] ;
  fhir:DiagnosticReport.result [
     fhir:index 0 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Observation/obs-check> ;
     fhir:Reference.reference [ fhir:value "Observation/obs-check" ]
  ] .

<https://tb.cdc.gov.tw/tb/Organization/hosp> a fhir:Organization ;
  fhir:Resource.id [ fhir:value "hosp"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://tb.cdc.gov.tw/tb/StructureDefinition/Organization-tb" ;
       fhir:index 0 ;
       fhir:link <https://tb.cdc.gov.tw/tb/StructureDefinition/Organization-tb>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_hosp\"> </a><h3><b>醫事機構</b></h3><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\">Profile: <a href=\"StructureDefinition-Organization-tb.html\">醫事機構-Organization TB</a></p></div><p><b>識別碼型別</b>：Provider number<span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"http://terminology.hl7.org/CodeSystem/v2-0203\">IdentifierType</a>#PRN）</span><br/><b>機構代碼（official）</b>：0401180014 (https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/organization-identifier-tw)</p><p><b>機構種類</b>：Healthcare Provider <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/codesystem-organization-type.html\">OrganizationType</a>#prov)</span></p></div>"
  ] ;
  fhir:Organization.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "PRN" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/organization-identifier-tw" ] ;
     fhir:Identifier.value [ fhir:value "0401180014" ]
  ] ;
  fhir:Organization.type [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/organization-type" ] ;
       fhir:Coding.code [ fhir:value "prov" ]
     ]
  ] .

<https://tb.cdc.gov.tw/tb/Patient/pat-min> a fhir:Patient ;
  fhir:Resource.id [ fhir:value "pat-min"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://tb.cdc.gov.tw/tb/StructureDefinition/Patient-tb" ;
       fhir:index 0 ;
       fhir:link <https://tb.cdc.gov.tw/tb/StructureDefinition/Patient-tb>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><a name=\"Patient_pat-min\"> </a><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-Patient-tb.html\">病人資訊-Patient TB</a></p></div><blockquote><p><b>識別碼型別</b>：National Person Identifier <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"http://terminology.hl7.org/CodeSystem/v2-0203\">Identifier Type Codes</a>#NNxxx）</span><br/><b>身分證字號（official）</b>：M123456789 （http://www.moi.gov.tw）</p></blockquote><blockquote><p><b>識別碼型別</b>：Medical record number <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"http://terminology.hl7.org/CodeSystem/v2-0203\">Identifier Type Codes</a>#MR）</span><br/><b>病歷號（official）</b>：0059820 （https://www.tph.mohw.gov.tw）</p></blockquote><p><b>性別</b>：男</p><p><b>出生日期</b>：1986-01-01</p></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "NNxxx" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://www.moi.gov.tw" ] ;
     fhir:Identifier.value [ fhir:value "M123456789" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "MR" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "https://www.tph.mohw.gov.tw" ] ;
     fhir:Identifier.value [ fhir:value "0059820" ]
  ] ;
  fhir:Patient.gender [ fhir:value "male"] ;
  fhir:Patient.birthDate [ fhir:value "1986-01-01"^^xsd:date] ;
  fhir:Patient.managingOrganization [
     fhir:link <https://tb.cdc.gov.tw/tb/Organization/hosp> ;
     fhir:Reference.reference [ fhir:value "Organization/hosp" ]
  ] .

<https://tb.cdc.gov.tw/tb/Practitioner/pra-min> a fhir:Practitioner ;
  fhir:Resource.id [ fhir:value "pra-min"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://tb.cdc.gov.tw/tb/StructureDefinition/Practitioner-tb" ;
       fhir:index 0 ;
       fhir:link <https://tb.cdc.gov.tw/tb/StructureDefinition/Practitioner-tb>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_pra-min\"> </a><p class=\"res-header-id\"><b>Generated Narrative: 执业人员 pra-min</b></p><a name=\"pra-min\"> </a><a name=\"hcpra-min\"> </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-Practitioner-tb.html\">醫師-Practitioner TB</a></p></div><p><b>identifier</b>: National Person Identifier where the xxx is the ISO table 3166 3-character (alphabetic) country code/I200009876 (use: official, )</p></div>"
  ] ;
  fhir:Practitioner.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "NNxxx" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://www.moi.gov.tw" ] ;
     fhir:Identifier.value [ fhir:value "I200009876" ]
  ] .

<https://tb.cdc.gov.tw/tb/Encounter/enc-check> a fhir:Encounter ;
  fhir:Resource.id [ fhir:value "enc-check"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://tb.cdc.gov.tw/tb/StructureDefinition/Encounter-tb-check" ;
       fhir:index 0 ;
       fhir:link <https://tb.cdc.gov.tw/tb/StructureDefinition/Encounter-tb-check>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Encounter_enc-check\"> </a><p class=\"res-header-id\"><b>Generated Narrative: 就医过程 enc-check</b></p><a name=\"enc-check\"> </a><a name=\"hcenc-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-Encounter-tb-check.html\">生化檢查就醫-Encounter TB Check</a></p></div><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"CodeSystem-cdc-case-status.html#cdc-case-status-P\">CDC-TB用藥通報-門住診別: P</a> (住院負壓)</p><p><b>period</b>: 2025-07-01 --&gt; (ongoing)</p><p><b>reasonCode</b>: <span title=\"Codes:{https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-service-payment-tw 64164B}\">全膝關節置換術</span></p></div>"
  ] ;
  fhir:Encounter.status [ fhir:value "finished"] ;
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "https://tb.cdc.gov.tw/tb/CodeSystem/cdc-case-status" ] ;
     fhir:Coding.code [ fhir:value "P" ]
  ] ;
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2025-07-01"^^xsd:date ]
  ] ;
  fhir:Encounter.reasonCode [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-service-payment-tw" ] ;
       fhir:Coding.code [ fhir:value "64164B" ]
     ]
  ] .

<https://tb.cdc.gov.tw/tb/Observation/obs-check> a fhir:Observation ;
  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\"><a name=\"Observation_obs-check\"> </a><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/Bundle/check.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

