@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://sfaa.gov.tw/base/CodeSystem/twss-cohabitation-status> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "twss-cohabitation-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: CodeSystem twss-cohabitation-status</b></p><a name=\"twss-cohabitation-status\"> </a><a name=\"hctwss-cohabitation-status\"> </a><p>This case-sensitive code system <code>https://sfaa.gov.tw/base/CodeSystem/twss-cohabitation-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\">1<a name=\"twss-cohabitation-status-1\"> </a></td><td>獨居</td></tr><tr><td style=\"white-space:nowrap\">B<a name=\"twss-cohabitation-status-B\"> </a></td><td>分偶</td></tr><tr><td style=\"white-space:nowrap\">C<a name=\"twss-cohabitation-status-C\"> </a></td><td>夫妻同住</td></tr><tr><td style=\"white-space:nowrap\">D<a name=\"twss-cohabitation-status-D\"> </a></td><td>與父母同住</td></tr><tr><td style=\"white-space:nowrap\">E<a name=\"twss-cohabitation-status-E\"> </a></td><td>與親戚同住</td></tr><tr><td style=\"white-space:nowrap\">F<a name=\"twss-cohabitation-status-F\"> </a></td><td>與朋友同住</td></tr><tr><td style=\"white-space:nowrap\">G<a name=\"twss-cohabitation-status-G\"> </a></td><td>與子女同住</td></tr><tr><td style=\"white-space:nowrap\">H<a name=\"twss-cohabitation-status-H\"> </a></td><td>與同居人同住</td></tr><tr><td style=\"white-space:nowrap\">3<a name=\"twss-cohabitation-status-3\"> </a></td><td>獨居且聘用看護</td></tr><tr><td style=\"white-space:nowrap\">4<a name=\"twss-cohabitation-status-4\"> </a></td><td>與家屬同住且聘用看護</td></tr><tr><td style=\"white-space:nowrap\">5<a name=\"twss-cohabitation-status-5\"> </a></td><td>使用住宿型社會福利機構</td></tr><tr><td style=\"white-space:nowrap\">6<a name=\"twss-cohabitation-status-6\"> </a></td><td>機構名稱</td></tr><tr><td style=\"white-space:nowrap\">9<a name=\"twss-cohabitation-status-9\"> </a></td><td>其他</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://sfaa.gov.tw/base/CodeSystem/twss-cohabitation-status"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "TWSSCohabitationStatus"] ;
  fhir:CodeSystem.title [ fhir:value "TWSS-同住狀況"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-08-11T08:18:14+00:00"^^xsd:dateTime] ;
  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.twss.gov.tw/" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "TWSS 同住狀況代碼。"] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "13"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "1" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "獨居" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "B" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "分偶" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "C" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "夫妻同住" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "D" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "與父母同住" ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "E" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "與親戚同住" ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "F" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "與朋友同住" ]
  ], [
     fhir:index 6 ;
     fhir:CodeSystem.concept.code [ fhir:value "G" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "與子女同住" ]
  ], [
     fhir:index 7 ;
     fhir:CodeSystem.concept.code [ fhir:value "H" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "與同居人同住" ]
  ], [
     fhir:index 8 ;
     fhir:CodeSystem.concept.code [ fhir:value "3" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "獨居且聘用看護" ]
  ], [
     fhir:index 9 ;
     fhir:CodeSystem.concept.code [ fhir:value "4" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "與家屬同住且聘用看護" ]
  ], [
     fhir:index 10 ;
     fhir:CodeSystem.concept.code [ fhir:value "5" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "使用住宿型社會福利機構" ]
  ], [
     fhir:index 11 ;
     fhir:CodeSystem.concept.code [ fhir:value "6" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "機構名稱" ]
  ], [
     fhir:index 12 ;
     fhir:CodeSystem.concept.code [ fhir:value "9" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "其他" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://sfaa.gov.tw/base/CodeSystem/twss-cohabitation-status.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

