@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-related-person-relationship> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "twss-related-person-relationship"] ;
  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-related-person-relationship</b></p><a name=\"twss-related-person-relationship\"> </a><a name=\"hctwss-related-person-relationship\"> </a><p>This case-sensitive code system <code>https://sfaa.gov.tw/base/CodeSystem/twss-related-person-relationship</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\">parent<a name=\"twss-related-person-relationship-parent\"> </a></td><td>父/母</td></tr><tr><td style=\"white-space:nowrap\">birthParent<a name=\"twss-related-person-relationship-birthParent\"> </a></td><td>原生父母</td></tr><tr><td style=\"white-space:nowrap\">father<a name=\"twss-related-person-relationship-father\"> </a></td><td>父親</td></tr><tr><td style=\"white-space:nowrap\">stepFather<a name=\"twss-related-person-relationship-stepFather\"> </a></td><td>繼父</td></tr><tr><td style=\"white-space:nowrap\">birthFather<a name=\"twss-related-person-relationship-birthFather\"> </a></td><td>生父</td></tr><tr><td style=\"white-space:nowrap\">mother<a name=\"twss-related-person-relationship-mother\"> </a></td><td>母親</td></tr><tr><td style=\"white-space:nowrap\">stepMother<a name=\"twss-related-person-relationship-stepMother\"> </a></td><td>繼母</td></tr><tr><td style=\"white-space:nowrap\">birthMother<a name=\"twss-related-person-relationship-birthMother\"> </a></td><td>生母</td></tr><tr><td style=\"white-space:nowrap\">fosterParent<a name=\"twss-related-person-relationship-fosterParent\"> </a></td><td>寄養家庭家長</td></tr><tr><td style=\"white-space:nowrap\">fosterFamily<a name=\"twss-related-person-relationship-fosterFamily\"> </a></td><td>寄養家庭</td></tr><tr><td style=\"white-space:nowrap\">kinshipFamily<a name=\"twss-related-person-relationship-kinshipFamily\"> </a></td><td>親屬家庭</td></tr><tr><td style=\"white-space:nowrap\">parentPartner<a name=\"twss-related-person-relationship-parentPartner\"> </a></td><td>父或母之同居人</td></tr><tr><td style=\"white-space:nowrap\">adopter<a name=\"twss-related-person-relationship-adopter\"> </a></td><td>收養人</td></tr><tr><td style=\"white-space:nowrap\">spouse<a name=\"twss-related-person-relationship-spouse\"> </a></td><td>配偶</td></tr><tr><td style=\"white-space:nowrap\">exSpouse<a name=\"twss-related-person-relationship-exSpouse\"> </a></td><td>前配偶</td></tr><tr><td style=\"white-space:nowrap\">cohabitant<a name=\"twss-related-person-relationship-cohabitant\"> </a></td><td>同居人</td></tr><tr><td style=\"white-space:nowrap\">greatGrandmother<a name=\"twss-related-person-relationship-greatGrandmother\"> </a></td><td>曾祖母</td></tr><tr><td style=\"white-space:nowrap\">greatGrandfather<a name=\"twss-related-person-relationship-greatGrandfather\"> </a></td><td>曾祖父</td></tr><tr><td style=\"white-space:nowrap\">paternalGrandmother<a name=\"twss-related-person-relationship-paternalGrandmother\"> </a></td><td>祖母</td></tr><tr><td style=\"white-space:nowrap\">paternalGrandfather<a name=\"twss-related-person-relationship-paternalGrandfather\"> </a></td><td>祖父</td></tr><tr><td style=\"white-space:nowrap\">maternalGrandparent<a name=\"twss-related-person-relationship-maternalGrandparent\"> </a></td><td>外祖父母</td></tr><tr><td style=\"white-space:nowrap\">maternalGrandmother<a name=\"twss-related-person-relationship-maternalGrandmother\"> </a></td><td>外祖母</td></tr><tr><td style=\"white-space:nowrap\">maternalGrandfather<a name=\"twss-related-person-relationship-maternalGrandfather\"> </a></td><td>外祖父</td></tr><tr><td style=\"white-space:nowrap\">sibling<a name=\"twss-related-person-relationship-sibling\"> </a></td><td>兄弟姊妹</td></tr><tr><td style=\"white-space:nowrap\">elderBrother<a name=\"twss-related-person-relationship-elderBrother\"> </a></td><td>哥哥</td></tr><tr><td style=\"white-space:nowrap\">elderSister<a name=\"twss-related-person-relationship-elderSister\"> </a></td><td>姊姊</td></tr><tr><td style=\"white-space:nowrap\">youngerBrother<a name=\"twss-related-person-relationship-youngerBrother\"> </a></td><td>弟弟</td></tr><tr><td style=\"white-space:nowrap\">youngerSister<a name=\"twss-related-person-relationship-youngerSister\"> </a></td><td>妹妹</td></tr><tr><td style=\"white-space:nowrap\">grandchild<a name=\"twss-related-person-relationship-grandchild\"> </a></td><td>孫子女</td></tr><tr><td style=\"white-space:nowrap\">maternalUncle<a name=\"twss-related-person-relationship-maternalUncle\"> </a></td><td>舅舅</td></tr><tr><td style=\"white-space:nowrap\">paternalUncle<a name=\"twss-related-person-relationship-paternalUncle\"> </a></td><td>叔伯</td></tr><tr><td style=\"white-space:nowrap\">paternalAunt<a name=\"twss-related-person-relationship-paternalAunt\"> </a></td><td>姑姑</td></tr><tr><td style=\"white-space:nowrap\">aunt<a name=\"twss-related-person-relationship-aunt\"> </a></td><td>阿姨</td></tr><tr><td style=\"white-space:nowrap\">otherRelative<a name=\"twss-related-person-relationship-otherRelative\"> </a></td><td>其他親戚</td></tr><tr><td style=\"white-space:nowrap\">friend<a name=\"twss-related-person-relationship-friend\"> </a></td><td>案主的朋友</td></tr><tr><td style=\"white-space:nowrap\">classmate<a name=\"twss-related-person-relationship-classmate\"> </a></td><td>同學</td></tr><tr><td style=\"white-space:nowrap\">homeroomTeacher<a name=\"twss-related-person-relationship-homeroomTeacher\"> </a></td><td>導師</td></tr><tr><td style=\"white-space:nowrap\">otherTeacher<a name=\"twss-related-person-relationship-otherTeacher\"> </a></td><td>其他學校教師</td></tr><tr><td style=\"white-space:nowrap\">cramSchoolTeacher<a name=\"twss-related-person-relationship-cramSchoolTeacher\"> </a></td><td>課後輔導或補習班教師</td></tr><tr><td style=\"white-space:nowrap\">guidanceTeacher<a name=\"twss-related-person-relationship-guidanceTeacher\"> </a></td><td>輔導教師</td></tr><tr><td style=\"white-space:nowrap\">childcareWorker<a name=\"twss-related-person-relationship-childcareWorker\"> </a></td><td>托育人員</td></tr><tr><td style=\"white-space:nowrap\">localGovernment<a name=\"twss-related-person-relationship-localGovernment\"> </a></td><td>縣市政府</td></tr><tr><td style=\"white-space:nowrap\">electedRep<a name=\"twss-related-person-relationship-electedRep\"> </a></td><td>民意代表</td></tr><tr><td style=\"white-space:nowrap\">neighbor<a name=\"twss-related-person-relationship-neighbor\"> </a></td><td>鄰居</td></tr><tr><td style=\"white-space:nowrap\">other<a name=\"twss-related-person-relationship-other\"> </a></td><td>其他</td></tr><tr><td style=\"white-space:nowrap\">careAttendant<a name=\"twss-related-person-relationship-careAttendant\"> </a></td><td>照顧服務員</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://sfaa.gov.tw/base/CodeSystem/twss-related-person-relationship"] ;
  fhir:CodeSystem.version [ fhir:value "0.0.1"] ;
  fhir:CodeSystem.name [ fhir:value "TWSSRelatedPersonRelationship"] ;
  fhir:CodeSystem.title [ fhir:value "TWSS-關係人類型代碼系統"] ;
  fhir:CodeSystem.status [ fhir:value "draft"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-10-13T10:48:02+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 原始系統的關係人類型代碼；可精準對應國際關係碼者，請依 TWSS 關係人類型對應 ConceptMap 轉換。"] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "46"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "parent" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "父/母" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "birthParent" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "原生父母" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "father" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "父親" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "stepFather" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "繼父" ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "birthFather" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "生父" ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "mother" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "母親" ]
  ], [
     fhir:index 6 ;
     fhir:CodeSystem.concept.code [ fhir:value "stepMother" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "繼母" ]
  ], [
     fhir:index 7 ;
     fhir:CodeSystem.concept.code [ fhir:value "birthMother" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "生母" ]
  ], [
     fhir:index 8 ;
     fhir:CodeSystem.concept.code [ fhir:value "fosterParent" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "寄養家庭家長" ]
  ], [
     fhir:index 9 ;
     fhir:CodeSystem.concept.code [ fhir:value "fosterFamily" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "寄養家庭" ]
  ], [
     fhir:index 10 ;
     fhir:CodeSystem.concept.code [ fhir:value "kinshipFamily" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "親屬家庭" ]
  ], [
     fhir:index 11 ;
     fhir:CodeSystem.concept.code [ fhir:value "parentPartner" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "父或母之同居人" ]
  ], [
     fhir:index 12 ;
     fhir:CodeSystem.concept.code [ fhir:value "adopter" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "收養人" ]
  ], [
     fhir:index 13 ;
     fhir:CodeSystem.concept.code [ fhir:value "spouse" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "配偶" ]
  ], [
     fhir:index 14 ;
     fhir:CodeSystem.concept.code [ fhir:value "exSpouse" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "前配偶" ]
  ], [
     fhir:index 15 ;
     fhir:CodeSystem.concept.code [ fhir:value "cohabitant" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "同居人" ]
  ], [
     fhir:index 16 ;
     fhir:CodeSystem.concept.code [ fhir:value "greatGrandmother" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "曾祖母" ]
  ], [
     fhir:index 17 ;
     fhir:CodeSystem.concept.code [ fhir:value "greatGrandfather" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "曾祖父" ]
  ], [
     fhir:index 18 ;
     fhir:CodeSystem.concept.code [ fhir:value "paternalGrandmother" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "祖母" ]
  ], [
     fhir:index 19 ;
     fhir:CodeSystem.concept.code [ fhir:value "paternalGrandfather" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "祖父" ]
  ], [
     fhir:index 20 ;
     fhir:CodeSystem.concept.code [ fhir:value "maternalGrandparent" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "外祖父母" ]
  ], [
     fhir:index 21 ;
     fhir:CodeSystem.concept.code [ fhir:value "maternalGrandmother" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "外祖母" ]
  ], [
     fhir:index 22 ;
     fhir:CodeSystem.concept.code [ fhir:value "maternalGrandfather" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "外祖父" ]
  ], [
     fhir:index 23 ;
     fhir:CodeSystem.concept.code [ fhir:value "sibling" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "兄弟姊妹" ]
  ], [
     fhir:index 24 ;
     fhir:CodeSystem.concept.code [ fhir:value "elderBrother" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "哥哥" ]
  ], [
     fhir:index 25 ;
     fhir:CodeSystem.concept.code [ fhir:value "elderSister" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "姊姊" ]
  ], [
     fhir:index 26 ;
     fhir:CodeSystem.concept.code [ fhir:value "youngerBrother" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "弟弟" ]
  ], [
     fhir:index 27 ;
     fhir:CodeSystem.concept.code [ fhir:value "youngerSister" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "妹妹" ]
  ], [
     fhir:index 28 ;
     fhir:CodeSystem.concept.code [ fhir:value "grandchild" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "孫子女" ]
  ], [
     fhir:index 29 ;
     fhir:CodeSystem.concept.code [ fhir:value "maternalUncle" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "舅舅" ]
  ], [
     fhir:index 30 ;
     fhir:CodeSystem.concept.code [ fhir:value "paternalUncle" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "叔伯" ]
  ], [
     fhir:index 31 ;
     fhir:CodeSystem.concept.code [ fhir:value "paternalAunt" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "姑姑" ]
  ], [
     fhir:index 32 ;
     fhir:CodeSystem.concept.code [ fhir:value "aunt" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "阿姨" ]
  ], [
     fhir:index 33 ;
     fhir:CodeSystem.concept.code [ fhir:value "otherRelative" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "其他親戚" ]
  ], [
     fhir:index 34 ;
     fhir:CodeSystem.concept.code [ fhir:value "friend" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "案主的朋友" ]
  ], [
     fhir:index 35 ;
     fhir:CodeSystem.concept.code [ fhir:value "classmate" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "同學" ]
  ], [
     fhir:index 36 ;
     fhir:CodeSystem.concept.code [ fhir:value "homeroomTeacher" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "導師" ]
  ], [
     fhir:index 37 ;
     fhir:CodeSystem.concept.code [ fhir:value "otherTeacher" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "其他學校教師" ]
  ], [
     fhir:index 38 ;
     fhir:CodeSystem.concept.code [ fhir:value "cramSchoolTeacher" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "課後輔導或補習班教師" ]
  ], [
     fhir:index 39 ;
     fhir:CodeSystem.concept.code [ fhir:value "guidanceTeacher" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "輔導教師" ]
  ], [
     fhir:index 40 ;
     fhir:CodeSystem.concept.code [ fhir:value "childcareWorker" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "托育人員" ]
  ], [
     fhir:index 41 ;
     fhir:CodeSystem.concept.code [ fhir:value "localGovernment" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "縣市政府" ]
  ], [
     fhir:index 42 ;
     fhir:CodeSystem.concept.code [ fhir:value "electedRep" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "民意代表" ]
  ], [
     fhir:index 43 ;
     fhir:CodeSystem.concept.code [ fhir:value "neighbor" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "鄰居" ]
  ], [
     fhir:index 44 ;
     fhir:CodeSystem.concept.code [ fhir:value "other" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "其他" ]
  ], [
     fhir:index 45 ;
     fhir:CodeSystem.concept.code [ fhir:value "careAttendant" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "照顧服務員" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://sfaa.gov.tw/base/CodeSystem/twss-related-person-relationship.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

