@prefix fhir: <http://hl7.org/fhir/> .
@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://cdc.gov.tw/aids/CodeSystem/cdc-case-status> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "cdc-case-status"] ;
  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: 代码系统 cdc-case-status</b></p><a name=\"cdc-case-status\"> </a><a name=\"hccdc-case-status\"> </a><p>This case-sensitive code system <code>https://cdc.gov.tw/aids/CodeSystem/cdc-case-status</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td></tr><tr><td style=\"white-space:nowrap\">N<a name=\"cdc-case-status-N\"> </a></td><td>門診</td></tr><tr><td style=\"white-space:nowrap\">E<a name=\"cdc-case-status-E\"> </a></td><td>急診</td></tr><tr><td style=\"white-space:nowrap\">R<a name=\"cdc-case-status-R\"> </a></td><td>住院(RCW)</td></tr><tr><td style=\"white-space:nowrap\">P<a name=\"cdc-case-status-P\"> </a></td><td>住院負壓</td></tr><tr><td style=\"white-space:nowrap\">D<a name=\"cdc-case-status-D\"> </a></td><td>住院出院備藥</td></tr><tr><td style=\"white-space:nowrap\">Y<a name=\"cdc-case-status-Y\"> </a></td><td>住院其他(或住院分類無法區分)</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://cdc.gov.tw/aids/CodeSystem/cdc-case-status"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "CDCCaseStatus"] ;
  fhir:CodeSystem.title [ fhir:value "CDC-愛滋用藥通報-門住診別"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-03-31"^^xsd:date] ;
  fhir:CodeSystem.publisher [ fhir:value "衛福部疾病管制署"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "衛福部疾病管制署" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://www.cdc.gov.tw" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "臺灣衛生福利部疾病管制署「門住診別」代碼，代碼出版日期：2026-03-31；資料所屬單位：臺灣衛生福利部疾病管制署。"] ;
  fhir:CodeSystem.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "TW" ]
     ]
  ] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "6"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "N" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "門診" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "E" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "急診" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "R" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "住院(RCW)" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "P" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "住院負壓" ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "D" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "住院出院備藥" ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "Y" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "住院其他(或住院分類無法區分)" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://cdc.gov.tw/aids/CodeSystem/cdc-case-status.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

