@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://tb.cdc.gov.tw/tb/DiagnosticReport/report> a fhir:DiagnosticReport ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "report"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://tb.cdc.gov.tw/tb/StructureDefinition/DiagnosticReport-tb-reporting" ;
       fhir:index 0 ;
       fhir:link <https://tb.cdc.gov.tw/tb/StructureDefinition/DiagnosticReport-tb-reporting>
     ]
  ] ;
  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: 诊断报告 report</b></p><a name=\"report\"> </a><a name=\"hcreport\"> </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-reporting.html\">實驗室報告-DiagnosticReport TB Reporting</a></p></div><h2><span title=\"Codes:{http://loinc.org 11502-2}\">Laboratory report</span> </h2><table class=\"grid\"><tr><td>Subject</td><td>王大明 Male, DoB: 1996-01-01 ( Health Card Number (use: official, ))</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>Flags</b></td><td><b>Note</b></td><td><b>Relevant Time</b></td><td><b>Reported</b></td></tr><tr><td><a href=\"Observation-smear.html\"><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-report-type smear}\">塗片報告</span></a></td><td><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-smear-result -}\">陰性</span></td><td>Final</td><td/><td>2026-01-01 08:36:48+0800</td><td/></tr><tr><td><a href=\"Observation-mgit.html\"><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-report-type mgit}\">MGIT培養結果報告</span></a></td><td><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-culture-result -}\">陰性</span></td><td>Final</td><td/><td>2026-01-23</td><td/></tr><tr><td><a href=\"Observation-lj.html\"><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-report-type lj}\">L-J培養結果報告</span></a></td><td><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-culture-result -}\">陰性</span></td><td>Final</td><td/><td>2026-02-09</td><td/></tr><tr><td><a href=\"Observation-identify.html\"><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-bacterium M01}\">M.tuberculosis</span></a></td><td><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-identify-result M}\">MTBC</span></td><td>Final</td><td/><td>2026-01-01 08:36:48+0800</td><td/></tr><tr><td><a href=\"Observation-drug-sensitive-1.html\"><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-report-type sensitive1}\">一線藥敏報告</span></a></td><td/><td>Final</td><td><blockquote><div><p>一線藥敏備註</p>\n</div></blockquote></td><td>2026-03-10 10:45:00+0800</td><td/></tr><tr><td><a href=\"Observation-drug-sensitive-2.html\"><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-report-type sensitive2}\">二線藥敏報告</span></a></td><td/><td>Final</td><td><blockquote><div><p>二線藥敏備註</p>\n</div></blockquote></td><td>2026-03-16 10:45:00+0800</td><td/></tr><tr><td><a href=\"Observation-sputum-pcr.html\"><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-report-type sputumPcr}\">痰檢體病原體分生檢測報告</span></a></td><td><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-sputum-pcr-result B}\">無法判定</span></td><td>Final</td><td><blockquote><div><p>痰檢體病原體分生檢測結果備註</p>\n</div></blockquote></td><td>2026-02-13</td><td/></tr><tr><td><a href=\"Observation-igra.html\"><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-report-type igra}\">IGRA報告</span></a></td><td><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-igra-result N}\">陰性</span></td><td>Final</td><td><blockquote><div><p>IGRA備註</p>\n</div></blockquote></td><td>2026-01-13</td><td>2026-01-13 17:00:00+0800</td></tr><tr><td><a href=\"Observation-xpert-mtbc.html\"><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-report-type xpertMTBC}\">Xpert MTBC報告</span></a></td><td><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-xpert-mtbc 1}\">MTBC陽性</span></td><td>Final</td><td/><td>2026-02-04</td><td/></tr><tr><td><a href=\"Observation-xpert-rmp.html\"><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-report-type xpertRMP}\">Xpert RMP報告</span></a></td><td><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-xpert-rmp S}\">敏感</span></td><td>Final</td><td/><td>2026-02-04</td><td/></tr><tr><td><a href=\"Observation-genotype.html\"><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-report-type genotype}\">分生一線藥物報告</span></a></td><td/><td>Final</td><td/><td>2026-02-14</td><td/></tr><tr><td><a href=\"Observation-moleculex.html\"><span title=\"Codes:{https://tb.cdc.gov.tw/tb/CodeSystem/cdc-report-type moleculex}\">分生二線藥物報告</span></a></td><td/><td>Final</td><td/><td>2026-02-18</td><td/></tr></table></div>"
  ] ;
  fhir:DiagnosticReport.status [ fhir:value "final"] ;
  fhir:DiagnosticReport.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:11502-2 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "11502-2" ]
     ]
  ] ;
  fhir:DiagnosticReport.subject [
     fhir:link <https://tb.cdc.gov.tw/tb/Patient/example> ;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ] ;
  fhir:DiagnosticReport.specimen [
     fhir:index 0 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Specimen/sampled> ;
     fhir:Reference.reference [ fhir:value "Specimen/sampled" ]
  ] ;
  fhir:DiagnosticReport.result [
     fhir:index 0 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Observation/smear> ;
     fhir:Reference.reference [ fhir:value "Observation/smear" ]
  ], [
     fhir:index 1 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Observation/mgit> ;
     fhir:Reference.reference [ fhir:value "Observation/mgit" ]
  ], [
     fhir:index 2 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Observation/lj> ;
     fhir:Reference.reference [ fhir:value "Observation/lj" ]
  ], [
     fhir:index 3 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Observation/identify> ;
     fhir:Reference.reference [ fhir:value "Observation/identify" ]
  ], [
     fhir:index 4 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Observation/drug-sensitive-1> ;
     fhir:Reference.reference [ fhir:value "Observation/drug-sensitive-1" ]
  ], [
     fhir:index 5 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Observation/drug-sensitive-2> ;
     fhir:Reference.reference [ fhir:value "Observation/drug-sensitive-2" ]
  ], [
     fhir:index 6 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Observation/sputum-pcr> ;
     fhir:Reference.reference [ fhir:value "Observation/sputum-pcr" ]
  ], [
     fhir:index 7 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Observation/igra> ;
     fhir:Reference.reference [ fhir:value "Observation/igra" ]
  ], [
     fhir:index 8 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Observation/xpert-mtbc> ;
     fhir:Reference.reference [ fhir:value "Observation/xpert-mtbc" ]
  ], [
     fhir:index 9 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Observation/xpert-rmp> ;
     fhir:Reference.reference [ fhir:value "Observation/xpert-rmp" ]
  ], [
     fhir:index 10 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Observation/genotype> ;
     fhir:Reference.reference [ fhir:value "Observation/genotype" ]
  ], [
     fhir:index 11 ;
     fhir:link <https://tb.cdc.gov.tw/tb/Observation/moleculex> ;
     fhir:Reference.reference [ fhir:value "Observation/moleculex" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://tb.cdc.gov.tw/tb/DiagnosticReport/report.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

