@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/ConceptMap/twss-marital-status-to-fhir> a fhir:ConceptMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "twss-marital-status-to-fhir"] ;
  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: ConceptMap twss-marital-status-to-fhir</b></p><a name=\"twss-marital-status-to-fhir\"> </a><a name=\"hctwss-marital-status-to-fhir\"> </a><p>Mapping from (not specified) to <a href=\"http://hl7.org/fhir/R4/valueset-marital-status.html\">MaritalStatus</a></p><br/><p>Mapping from <a href=\"CodeSystem-twss-marital-status-supplement.html\">TWSS-婚姻狀態補充代碼系統</a> to <a href=\"http://terminology.hl7.org/7.3.0/CodeSystem-v3-MaritalStatus.html\">MaritalStatusversion: 5.0.0)</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td></tr><tr><td>married-cohabiting (已婚同居)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#concept-map-equivalence-wider\" title=\"wider\">maps to wider concept</a></td><td>M (Married)</td></tr><tr><td>married-separated (已婚分居)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#concept-map-equivalence-wider\" title=\"wider\">maps to wider concept</a></td><td>M (Married)</td></tr><tr><td>unmarried-cohabiting (未婚同居)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#concept-map-equivalence-wider\" title=\"wider\">maps to wider concept</a></td><td>S (Never Married)</td></tr><tr><td>unmarried-separated (未婚分居)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#concept-map-equivalence-wider\" title=\"wider\">maps to wider concept</a></td><td>S (Never Married)</td></tr><tr><td>divorced-cohabiting (離婚同居)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#concept-map-equivalence-wider\" title=\"wider\">maps to wider concept</a></td><td>D (Divorced)</td></tr><tr><td>divorced-separated (離婚分居)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#concept-map-equivalence-wider\" title=\"wider\">maps to wider concept</a></td><td>D (Divorced)</td></tr><tr><td>widowed-husband-deceased (鰥居（妻亡）)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#concept-map-equivalence-wider\" title=\"wider\">maps to wider concept</a></td><td>W (Widowed)</td></tr><tr><td>widowed-wife-deceased (寡居（夫亡）)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#concept-map-equivalence-wider\" title=\"wider\">maps to wider concept</a></td><td>W (Widowed)</td></tr></table></div>"
  ] ;
  fhir:ConceptMap.url [ fhir:value "https://sfaa.gov.tw/base/ConceptMap/twss-marital-status-to-fhir"] ;
  fhir:ConceptMap.version [ fhir:value "0.0.1"] ;
  fhir:ConceptMap.name [ fhir:value "TWSSMaritalStatusToFHIRMaritalStatus"] ;
  fhir:ConceptMap.title [ fhir:value "TWSS 婚姻狀態對應 FHIR 婚姻狀態"] ;
  fhir:ConceptMap.status [ fhir:value "draft"] ;
  fhir:ConceptMap.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:ConceptMap.date [ fhir:value "2026-08-27T09:36:28+00:00"^^xsd:dateTime] ;
  fhir:ConceptMap.publisher [ fhir:value "衛生福利部社會及家庭署"] ;
  fhir:ConceptMap.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:ConceptMap.description [ fhir:value "TWSS 婚姻狀態補充代碼與 FHIR 原生婚姻狀態代碼之對應。"] ;
  fhir:ConceptMap.targetCanonical [
     fhir:value "http://hl7.org/fhir/ValueSet/marital-status" ;
     fhir:link <http://hl7.org/fhir/ValueSet/marital-status>
  ] ;
  fhir:ConceptMap.group [
     fhir:index 0 ;
     fhir:ConceptMap.group.source [ fhir:value "https://sfaa.gov.tw/base/CodeSystem/twss-marital-status-supplement" ] ;
     fhir:ConceptMap.group.target [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" ] ;
     fhir:ConceptMap.group.targetVersion [ fhir:value "5.0.0" ] ;
     fhir:ConceptMap.group.element [
       fhir:index 0 ;
       fhir:ConceptMap.group.element.code [ fhir:value "married-cohabiting" ] ;
       fhir:ConceptMap.group.element.display [ fhir:value "已婚同居" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index 0 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "M" ] ;
         fhir:ConceptMap.group.element.target.display [ fhir:value "Married" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "wider" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:ConceptMap.group.element.code [ fhir:value "married-separated" ] ;
       fhir:ConceptMap.group.element.display [ fhir:value "已婚分居" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index 0 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "M" ] ;
         fhir:ConceptMap.group.element.target.display [ fhir:value "Married" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "wider" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:ConceptMap.group.element.code [ fhir:value "unmarried-cohabiting" ] ;
       fhir:ConceptMap.group.element.display [ fhir:value "未婚同居" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index 0 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "S" ] ;
         fhir:ConceptMap.group.element.target.display [ fhir:value "Never Married" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "wider" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:ConceptMap.group.element.code [ fhir:value "unmarried-separated" ] ;
       fhir:ConceptMap.group.element.display [ fhir:value "未婚分居" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index 0 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "S" ] ;
         fhir:ConceptMap.group.element.target.display [ fhir:value "Never Married" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "wider" ]
       ]
     ], [
       fhir:index 4 ;
       fhir:ConceptMap.group.element.code [ fhir:value "divorced-cohabiting" ] ;
       fhir:ConceptMap.group.element.display [ fhir:value "離婚同居" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index 0 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "D" ] ;
         fhir:ConceptMap.group.element.target.display [ fhir:value "Divorced" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "wider" ]
       ]
     ], [
       fhir:index 5 ;
       fhir:ConceptMap.group.element.code [ fhir:value "divorced-separated" ] ;
       fhir:ConceptMap.group.element.display [ fhir:value "離婚分居" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index 0 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "D" ] ;
         fhir:ConceptMap.group.element.target.display [ fhir:value "Divorced" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "wider" ]
       ]
     ], [
       fhir:index 6 ;
       fhir:ConceptMap.group.element.code [ fhir:value "widowed-husband-deceased" ] ;
       fhir:ConceptMap.group.element.display [ fhir:value "鰥居（妻亡）" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index 0 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "W" ] ;
         fhir:ConceptMap.group.element.target.display [ fhir:value "Widowed" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "wider" ]
       ]
     ], [
       fhir:index 7 ;
       fhir:ConceptMap.group.element.code [ fhir:value "widowed-wife-deceased" ] ;
       fhir:ConceptMap.group.element.display [ fhir:value "寡居（夫亡）" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index 0 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "W" ] ;
         fhir:ConceptMap.group.element.target.display [ fhir:value "Widowed" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "wider" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://sfaa.gov.tw/base/ConceptMap/twss-marital-status-to-fhir.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

