@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-family-structure> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "twss-family-structure"] ;
  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-family-structure</b></p><a name=\"twss-family-structure\"> </a><a name=\"hctwss-family-structure\"> </a><p>This case-sensitive code system <code>https://sfaa.gov.tw/base/CodeSystem/twss-family-structure</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\">A<a name=\"twss-family-structure-A\"> </a></td><td>獨居</td></tr><tr><td style=\"white-space:nowrap\">B<a name=\"twss-family-structure-B\"> </a></td><td>單親家庭</td></tr><tr><td style=\"white-space:nowrap\">C<a name=\"twss-family-structure-C\"> </a></td><td>擴展家庭</td></tr><tr><td style=\"white-space:nowrap\">D<a name=\"twss-family-structure-D\"> </a></td><td>折衷/主幹家庭</td></tr><tr><td style=\"white-space:nowrap\">E<a name=\"twss-family-structure-E\"> </a></td><td>核心家庭</td></tr><tr><td style=\"white-space:nowrap\">F<a name=\"twss-family-structure-F\"> </a></td><td>繼親家庭</td></tr><tr><td style=\"white-space:nowrap\">G<a name=\"twss-family-structure-G\"> </a></td><td>隔代家庭</td></tr><tr><td style=\"white-space:nowrap\">H<a name=\"twss-family-structure-H\"> </a></td><td>手足家庭</td></tr><tr><td style=\"white-space:nowrap\">I<a name=\"twss-family-structure-I\"> </a></td><td>同性伴侶家庭</td></tr><tr><td style=\"white-space:nowrap\">J<a name=\"twss-family-structure-J\"> </a></td><td>同居家庭</td></tr><tr><td style=\"white-space:nowrap\">K<a name=\"twss-family-structure-K\"> </a></td><td>單人家庭</td></tr><tr><td style=\"white-space:nowrap\">Z<a name=\"twss-family-structure-Z\"> </a></td><td>其它家庭</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://sfaa.gov.tw/base/CodeSystem/twss-family-structure"] ;
  fhir:CodeSystem.version [ fhir:value "0.0.1"] ;
  fhir:CodeSystem.name [ fhir:value "TWSSFamilyStructure"] ;
  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-23T14:20:32+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 "個案家庭結構代碼。"] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "12"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "A" ] ;
     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 "I" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "同性伴侶家庭" ]
  ], [
     fhir:index 9 ;
     fhir:CodeSystem.concept.code [ fhir:value "J" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "同居家庭" ]
  ], [
     fhir:index 10 ;
     fhir:CodeSystem.concept.code [ fhir:value "K" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "單人家庭" ]
  ], [
     fhir:index 11 ;
     fhir:CodeSystem.concept.code [ fhir:value "Z" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "其它家庭" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://sfaa.gov.tw/base/CodeSystem/twss-family-structure.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

