臺灣社政領域基礎實作指引
0.0.1 - ci-build

臺灣社政領域基礎實作指引, published by 衛生福利部社會及家庭署. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/sfaassn2025-source/base/ and changes regularly. See the Directory of published versions

Resource Profile: RelatedPersonTWSSBase - Mappings

Draft as of 2026-10-20

Mappings for the RelatedPerson-twss-base resource profile.

Mappings to Structures in this Implementation Guide

NameMapping to TWSSBase RelatedPersondoco
RelatedPerson
    RelatedPerson / id
      RelatedPerson / meta
        RelatedPerson / implicitRules
          RelatedPerson / language
            RelatedPerson / text
              RelatedPerson / contained
                RelatedPerson / Slices for extension
                RelatedPerson / Slices for extension / extension:nationality
                RelatedPerson / Slices for extension / extension:ethnicGroup
                RelatedPerson / Slices for extension / extension:maritalStatus
                RelatedPerson / Slices for extension / extension:religion
                RelatedPerson / Slices for extension / extension:age
                RelatedPerson / modifierExtension
                  RelatedPerson / Slices for identifier
                  RelatedPerson / Slices for identifier / identifier:All Slices
                  RelatedPerson / Slices for identifier / identifier:All Slices / id
                    RelatedPerson / Slices for identifier / identifier:All Slices / extension
                      RelatedPerson / Slices for identifier / identifier:All Slices / use
                        RelatedPerson / Slices for identifier / identifier:All Slices / type
                          RelatedPerson / Slices for identifier / identifier:All Slices / system
                            RelatedPerson / Slices for identifier / identifier:All Slices / value
                              RelatedPerson / Slices for identifier / identifier:All Slices / period
                                RelatedPerson / Slices for identifier / identifier:All Slices / assigner
                                  RelatedPerson / Slices for identifier / identifier:idCardNumber
                                  RelatedPerson / Slices for identifier / identifier:idCardNumber / id
                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / extension
                                      RelatedPerson / Slices for identifier / identifier:idCardNumber / use
                                        RelatedPerson / Slices for identifier / identifier:idCardNumber / type
                                          RelatedPerson / Slices for identifier / identifier:idCardNumber / type / id
                                            RelatedPerson / Slices for identifier / identifier:idCardNumber / type / extension
                                              RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding
                                                RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / id
                                                  RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / extension
                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / system
                                                      RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / version
                                                        RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / code
                                                          RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / display
                                                            RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / userSelected
                                                              RelatedPerson / Slices for identifier / identifier:idCardNumber / type / text
                                                                RelatedPerson / Slices for identifier / identifier:idCardNumber / system
                                                                  RelatedPerson / Slices for identifier / identifier:idCardNumber / value
                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / period
                                                                      RelatedPerson / Slices for identifier / identifier:idCardNumber / assigner
                                                                        RelatedPerson / Slices for identifier / identifier:relationNumber
                                                                        RelatedPerson / Slices for identifier / identifier:relationNumber / id
                                                                          RelatedPerson / Slices for identifier / identifier:relationNumber / extension
                                                                            RelatedPerson / Slices for identifier / identifier:relationNumber / use
                                                                              RelatedPerson / Slices for identifier / identifier:relationNumber / type
                                                                                RelatedPerson / Slices for identifier / identifier:relationNumber / type / id
                                                                                  RelatedPerson / Slices for identifier / identifier:relationNumber / type / extension
                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding
                                                                                      RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / id
                                                                                        RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / extension
                                                                                          RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / system
                                                                                            RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / version
                                                                                              RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / code
                                                                                                RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / display
                                                                                                  RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / userSelected
                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type / text
                                                                                                      RelatedPerson / Slices for identifier / identifier:relationNumber / system
                                                                                                        RelatedPerson / Slices for identifier / identifier:relationNumber / value
                                                                                                          RelatedPerson / Slices for identifier / identifier:relationNumber / period
                                                                                                            RelatedPerson / Slices for identifier / identifier:relationNumber / assigner
                                                                                                              RelatedPerson / active
                                                                                                                RelatedPerson / patient
                                                                                                                  RelatedPerson / relationship
                                                                                                                  RelatedPerson / name
                                                                                                                  RelatedPerson / name / id
                                                                                                                    RelatedPerson / name / extension
                                                                                                                      RelatedPerson / name / use
                                                                                                                        RelatedPerson / name / text
                                                                                                                          RelatedPerson / name / family
                                                                                                                            RelatedPerson / name / given
                                                                                                                              RelatedPerson / name / prefix
                                                                                                                                RelatedPerson / name / suffix
                                                                                                                                  RelatedPerson / name / period
                                                                                                                                    RelatedPerson / telecom
                                                                                                                                    RelatedPerson / telecom / id
                                                                                                                                      RelatedPerson / telecom / extension
                                                                                                                                        RelatedPerson / telecom / system
                                                                                                                                          RelatedPerson / telecom / value
                                                                                                                                            RelatedPerson / telecom / use
                                                                                                                                              RelatedPerson / telecom / rank
                                                                                                                                                RelatedPerson / telecom / period
                                                                                                                                                  RelatedPerson / gender
                                                                                                                                                  RelatedPerson / birthDate
                                                                                                                                                  RelatedPerson / address
                                                                                                                                                    RelatedPerson / photo
                                                                                                                                                      RelatedPerson / period
                                                                                                                                                        RelatedPerson / communication
                                                                                                                                                          RelatedPerson / communication / id
                                                                                                                                                            RelatedPerson / communication / extension
                                                                                                                                                              RelatedPerson / communication / modifierExtension
                                                                                                                                                                RelatedPerson / communication / language
                                                                                                                                                                  RelatedPerson / communication / preferred

                                                                                                                                                                    doco Documentation for this format

                                                                                                                                                                    Mappings to other Structures

                                                                                                                                                                    No Mappings Found

                                                                                                                                                                    Other Mappings

                                                                                                                                                                    NameRIM MappingFiveWs Pattern MappingHL7 v2 Mappingdoco
                                                                                                                                                                    RelatedPerson
                                                                                                                                                                    role
                                                                                                                                                                    RelatedPerson / id
                                                                                                                                                                    RelatedPerson / meta
                                                                                                                                                                    RelatedPerson / implicitRules
                                                                                                                                                                    RelatedPerson / language
                                                                                                                                                                    RelatedPerson / text
                                                                                                                                                                    Act.text?
                                                                                                                                                                    RelatedPerson / contained
                                                                                                                                                                    N/A
                                                                                                                                                                    RelatedPerson / Slices for extension
                                                                                                                                                                    RelatedPerson / Slices for extension / extension:nationality
                                                                                                                                                                    RelatedPerson / Slices for extension / extension:ethnicGroup
                                                                                                                                                                    RelatedPerson / Slices for extension / extension:maritalStatus
                                                                                                                                                                    RelatedPerson / Slices for extension / extension:religion
                                                                                                                                                                    RelatedPerson / Slices for extension / extension:age
                                                                                                                                                                    RelatedPerson / modifierExtension
                                                                                                                                                                    N/A
                                                                                                                                                                    RelatedPerson / Slices for identifier
                                                                                                                                                                    .id
                                                                                                                                                                    FiveWs.identifier
                                                                                                                                                                    NK1-33
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:All Slices
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:All Slices / id
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:All Slices / extension
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:All Slices / use
                                                                                                                                                                    Role.code or implied by context
                                                                                                                                                                    N/A
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:All Slices / type
                                                                                                                                                                    Role.code or implied by context
                                                                                                                                                                    CX.5
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:All Slices / system
                                                                                                                                                                    II.root or Role.id.root
                                                                                                                                                                    CX.4 / EI-2-4
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:All Slices / value
                                                                                                                                                                    II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
                                                                                                                                                                    CX.1 / EI.1
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:All Slices / period
                                                                                                                                                                    Role.effectiveTime or implied by context
                                                                                                                                                                    CX.7 + CX.8
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:All Slices / assigner
                                                                                                                                                                    II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
                                                                                                                                                                    • CX.4 / (CX.4
                                                                                                                                                                    • CX.9
                                                                                                                                                                    • CX.10)
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber
                                                                                                                                                                    .id
                                                                                                                                                                    FiveWs.identifier
                                                                                                                                                                    NK1-33
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / id
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / extension
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / use
                                                                                                                                                                    Role.code or implied by context
                                                                                                                                                                    N/A
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / type
                                                                                                                                                                    Role.code or implied by context
                                                                                                                                                                    CX.5
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / type / id
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / type / extension
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding
                                                                                                                                                                    • union(.
                                                                                                                                                                    • ./translation)
                                                                                                                                                                    • C*E.1-8
                                                                                                                                                                    • C*E.10-22
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / id
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / extension
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / system
                                                                                                                                                                    ./codeSystem
                                                                                                                                                                    C*E.3
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / version
                                                                                                                                                                    ./codeSystemVersion
                                                                                                                                                                    C*E.7
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / code
                                                                                                                                                                    ./code
                                                                                                                                                                    C*E.1
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / display
                                                                                                                                                                    CV.displayName
                                                                                                                                                                    C*E.2 - but note this is not well followed
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / type / coding / userSelected
                                                                                                                                                                    CD.codingRationale
                                                                                                                                                                    Sometimes implied by being first
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / type / text
                                                                                                                                                                    ./originalText[mediaType/code="text/plain"]/data
                                                                                                                                                                    C*E.9. But note many systems use C*E.2 for this
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / system
                                                                                                                                                                    II.root or Role.id.root
                                                                                                                                                                    CX.4 / EI-2-4
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / value
                                                                                                                                                                    II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
                                                                                                                                                                    CX.1 / EI.1
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / period
                                                                                                                                                                    Role.effectiveTime or implied by context
                                                                                                                                                                    CX.7 + CX.8
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:idCardNumber / assigner
                                                                                                                                                                    II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
                                                                                                                                                                    • CX.4 / (CX.4
                                                                                                                                                                    • CX.9
                                                                                                                                                                    • CX.10)
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber
                                                                                                                                                                    .id
                                                                                                                                                                    FiveWs.identifier
                                                                                                                                                                    NK1-33
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / id
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / extension
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / use
                                                                                                                                                                    Role.code or implied by context
                                                                                                                                                                    N/A
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type
                                                                                                                                                                    Role.code or implied by context
                                                                                                                                                                    CX.5
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type / id
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type / extension
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding
                                                                                                                                                                    • union(.
                                                                                                                                                                    • ./translation)
                                                                                                                                                                    • C*E.1-8
                                                                                                                                                                    • C*E.10-22
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / id
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / extension
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / system
                                                                                                                                                                    ./codeSystem
                                                                                                                                                                    C*E.3
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / version
                                                                                                                                                                    ./codeSystemVersion
                                                                                                                                                                    C*E.7
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / code
                                                                                                                                                                    ./code
                                                                                                                                                                    C*E.1
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / display
                                                                                                                                                                    CV.displayName
                                                                                                                                                                    C*E.2 - but note this is not well followed
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type / coding / userSelected
                                                                                                                                                                    CD.codingRationale
                                                                                                                                                                    Sometimes implied by being first
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / type / text
                                                                                                                                                                    ./originalText[mediaType/code="text/plain"]/data
                                                                                                                                                                    C*E.9. But note many systems use C*E.2 for this
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / system
                                                                                                                                                                    II.root or Role.id.root
                                                                                                                                                                    CX.4 / EI-2-4
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / value
                                                                                                                                                                    II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
                                                                                                                                                                    CX.1 / EI.1
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / period
                                                                                                                                                                    Role.effectiveTime or implied by context
                                                                                                                                                                    CX.7 + CX.8
                                                                                                                                                                    RelatedPerson / Slices for identifier / identifier:relationNumber / assigner
                                                                                                                                                                    II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
                                                                                                                                                                    • CX.4 / (CX.4
                                                                                                                                                                    • CX.9
                                                                                                                                                                    • CX.10)
                                                                                                                                                                    RelatedPerson / active
                                                                                                                                                                    .statusCode
                                                                                                                                                                    FiveWs.status
                                                                                                                                                                    RelatedPerson / patient
                                                                                                                                                                    scoper[classCode=PSN|ANM and determinerCode='INSTANCE']/playedRole[classCode='PAT']/id
                                                                                                                                                                    PID-3
                                                                                                                                                                    RelatedPerson / relationship
                                                                                                                                                                    code
                                                                                                                                                                    FiveWs.class
                                                                                                                                                                    NK1-3
                                                                                                                                                                    RelatedPerson / name
                                                                                                                                                                    name
                                                                                                                                                                    NK1-2
                                                                                                                                                                    RelatedPerson / name / id
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / name / extension
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / name / use
                                                                                                                                                                    unique(./use)
                                                                                                                                                                    • XPN.7
                                                                                                                                                                    • but often indicated by which field contains the name
                                                                                                                                                                    RelatedPerson / name / text
                                                                                                                                                                    ./formatted
                                                                                                                                                                    implied by XPN.11
                                                                                                                                                                    RelatedPerson / name / family
                                                                                                                                                                    ./part[partType = FAM]
                                                                                                                                                                    XPN.1/FN.1
                                                                                                                                                                    RelatedPerson / name / given
                                                                                                                                                                    ./part[partType = GIV]
                                                                                                                                                                    XPN.2 + XPN.3
                                                                                                                                                                    RelatedPerson / name / prefix
                                                                                                                                                                    ./part[partType = PFX]
                                                                                                                                                                    XPN.5
                                                                                                                                                                    RelatedPerson / name / suffix
                                                                                                                                                                    ./part[partType = SFX]
                                                                                                                                                                    XPN/4
                                                                                                                                                                    RelatedPerson / name / period
                                                                                                                                                                    ./usablePeriod[type="IVL<TS>"]
                                                                                                                                                                    XPN.13 + XPN.14
                                                                                                                                                                    RelatedPerson / telecom
                                                                                                                                                                    telecom
                                                                                                                                                                    NK1-5 / NK1-6 / NK1-40
                                                                                                                                                                    RelatedPerson / telecom / id
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / telecom / extension
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / telecom / system
                                                                                                                                                                    ./scheme
                                                                                                                                                                    XTN.3
                                                                                                                                                                    RelatedPerson / telecom / value
                                                                                                                                                                    ./url
                                                                                                                                                                    XTN.1 (or XTN.12)
                                                                                                                                                                    RelatedPerson / telecom / use
                                                                                                                                                                    unique(./use)
                                                                                                                                                                    XTN.2 - but often indicated by field
                                                                                                                                                                    RelatedPerson / telecom / rank
                                                                                                                                                                    n/a
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / telecom / period
                                                                                                                                                                    ./usablePeriod[type="IVL<TS>"]
                                                                                                                                                                    N/A
                                                                                                                                                                    RelatedPerson / gender
                                                                                                                                                                    administrativeGender
                                                                                                                                                                    NK1-15
                                                                                                                                                                    RelatedPerson / birthDate
                                                                                                                                                                    player.birthTime
                                                                                                                                                                    RelatedPerson / address
                                                                                                                                                                    addr
                                                                                                                                                                    NK1-4
                                                                                                                                                                    RelatedPerson / photo
                                                                                                                                                                    player[classCode='PSN' and determinerCode='INSTANCE']/desc
                                                                                                                                                                    OBX-5 - needs a profile
                                                                                                                                                                    RelatedPerson / period
                                                                                                                                                                    .effectiveTime
                                                                                                                                                                    FiveWs.done[x]
                                                                                                                                                                    RelatedPerson / communication
                                                                                                                                                                    LanguageCommunication
                                                                                                                                                                    RelatedPerson / communication / id
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / communication / extension
                                                                                                                                                                    n/a
                                                                                                                                                                    RelatedPerson / communication / modifierExtension
                                                                                                                                                                    N/A
                                                                                                                                                                    RelatedPerson / communication / language
                                                                                                                                                                    player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code
                                                                                                                                                                    RelatedPerson / communication / preferred
                                                                                                                                                                    preferenceInd

                                                                                                                                                                    doco Documentation for this format