@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/nidrs/CodeSystem/cdc-residence-type> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "cdc-residence-type"] ;
  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-residence-type</b></p><a name=\"cdc-residence-type\"> </a><a name=\"hccdc-residence-type\"> </a><p>This case-sensitive code system <code>https://cdc.gov.tw/nidrs/CodeSystem/cdc-residence-type</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>中文 (Chinese, zh)</b></td></tr><tr><td style=\"white-space:nowrap\">4<a name=\"cdc-residence-type-4\"> </a></td><td>外籍勞工</td><td>外籍勞工</td></tr><tr><td style=\"white-space:nowrap\">5<a name=\"cdc-residence-type-5\"> </a></td><td>外籍人士</td><td>外籍人士</td></tr><tr><td style=\"white-space:nowrap\">6<a name=\"cdc-residence-type-6\"> </a></td><td>外籍配偶</td><td>外籍配偶</td></tr><tr><td style=\"white-space:nowrap\">7<a name=\"cdc-residence-type-7\"> </a></td><td>大陸人士</td><td>大陸人士</td></tr><tr><td style=\"white-space:nowrap\">8<a name=\"cdc-residence-type-8\"> </a></td><td>大陸配偶</td><td>大陸配偶</td></tr><tr><td style=\"white-space:nowrap\">9<a name=\"cdc-residence-type-9\"> </a></td><td>其他</td><td>其他</td></tr><tr><td style=\"white-space:nowrap\">11<a name=\"cdc-residence-type-11\"> </a></td><td>未知</td><td>未知</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://cdc.gov.tw/nidrs/CodeSystem/cdc-residence-type"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "CDCResidenceType"] ;
  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-10-01"^^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-10-01；資料所屬單位：臺灣衛生福利部疾病管制署。"] ;
  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 "7"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "4" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "外籍勞工" ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "zh" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "外籍勞工" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "5" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "外籍人士" ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "zh" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "外籍人士" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "6" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "外籍配偶" ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "zh" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "外籍配偶" ]
     ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "7" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "大陸人士" ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "zh" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "大陸人士" ]
     ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "8" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "大陸配偶" ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "zh" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "大陸配偶" ]
     ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "9" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "其他" ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "zh" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "其他" ]
     ]
  ], [
     fhir:index 6 ;
     fhir:CodeSystem.concept.code [ fhir:value "11" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "未知" ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "zh" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "未知" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://cdc.gov.tw/nidrs/CodeSystem/cdc-residence-type.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

