臺灣社政領域基礎實作指引
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: ReferralOrganizationTWSSBase - Mappings

Draft as of 2026-08-27

Mappings for the ReferralOrganization-twss-base resource profile.

Mappings to Structures in this Implementation Guide

NameMapping to TWSSBase Referral Organizationdoco
.. Organization
    ... id
      ... meta
        ... implicitRules
          ... text
            ... contained
              ... extension
                ... modifierExtension
                  ... identifier
                    .... id
                      .... extension
                        .... use
                          .... type
                            .... system
                              .... value
                                .... period
                                  .... assigner
                                    ... active
                                      ... type
                                        ... name
                                        ... alias
                                          ... telecom
                                            .... id
                                              .... extension
                                                .... system
                                                  .... value
                                                    .... use
                                                      .... rank
                                                        .... period
                                                          ... address
                                                            .... id
                                                              .... Slices for extension
                                                                ..... extension:room
                                                                  ..... extension:floor
                                                                    ..... extension:number
                                                                      ..... extension:alley
                                                                        ..... extension:lane
                                                                          ..... extension:section
                                                                            ..... extension:neighborhood
                                                                              ..... extension:village
                                                                                .... use
                                                                                  .... type
                                                                                    .... text
                                                                                      .... line
                                                                                        .... city
                                                                                          .... district
                                                                                          .... state
                                                                                            .... postalCode
                                                                                              ..... id
                                                                                                ..... Slices for extension
                                                                                                  ...... extension:PostalCode
                                                                                                    ....... id
                                                                                                      ....... extension
                                                                                                        ....... url
                                                                                                          ....... value[x]
                                                                                                            ........ id
                                                                                                              ........ extension
                                                                                                                ........ Slices for coding
                                                                                                                  ........ Slices for coding
                                                                                                                  ......... coding:PostalCode3
                                                                                                                    .......... id
                                                                                                                      .......... extension
                                                                                                                        .......... system
                                                                                                                          .......... version
                                                                                                                            .......... code
                                                                                                                              .......... display
                                                                                                                                .......... userSelected
                                                                                                                                  ......... coding:PostalCode5
                                                                                                                                    .......... id
                                                                                                                                      .......... extension
                                                                                                                                        .......... system
                                                                                                                                          .......... version
                                                                                                                                            .......... code
                                                                                                                                              .......... display
                                                                                                                                                .......... userSelected
                                                                                                                                                  ......... coding:PostalCode6
                                                                                                                                                    .......... id
                                                                                                                                                      .......... extension
                                                                                                                                                        .......... system
                                                                                                                                                          .......... version
                                                                                                                                                            .......... code
                                                                                                                                                              .......... display
                                                                                                                                                                .......... userSelected
                                                                                                                                                                  ........ text
                                                                                                                                                                    ..... value
                                                                                                                                                                      .... country
                                                                                                                                                                        .... period
                                                                                                                                                                          ... partOf
                                                                                                                                                                            ... contact
                                                                                                                                                                              .... id
                                                                                                                                                                                .... extension
                                                                                                                                                                                  .... modifierExtension
                                                                                                                                                                                    .... purpose
                                                                                                                                                                                      .... name
                                                                                                                                                                                        .... telecom
                                                                                                                                                                                          .... address
                                                                                                                                                                                            ... endpoint

                                                                                                                                                                                              doco Documentation for this format

                                                                                                                                                                                              Mappings to other Structures

                                                                                                                                                                                              No Mappings Found

                                                                                                                                                                                              Other Mappings

                                                                                                                                                                                              NameHL7 v2 MappingRIM MappingServDFiveWs Pattern Mappingdoco
                                                                                                                                                                                              .. Organization
                                                                                                                                                                                              (also see master files messages)
                                                                                                                                                                                              • Organization(classCode=ORG
                                                                                                                                                                                              • determinerCode=INST)
                                                                                                                                                                                              Organization
                                                                                                                                                                                              ... id
                                                                                                                                                                                              ... meta
                                                                                                                                                                                              ... implicitRules
                                                                                                                                                                                              ... text
                                                                                                                                                                                              Act.text?
                                                                                                                                                                                              ... contained
                                                                                                                                                                                              N/A
                                                                                                                                                                                              ... extension
                                                                                                                                                                                              N/A
                                                                                                                                                                                              ... modifierExtension
                                                                                                                                                                                              N/A
                                                                                                                                                                                              ... identifier
                                                                                                                                                                                              XON.10 / XON.3
                                                                                                                                                                                              .scopes[Role](classCode=IDENT)
                                                                                                                                                                                              ./Identifiers
                                                                                                                                                                                              FiveWs.identifier
                                                                                                                                                                                              .... id
                                                                                                                                                                                              n/a
                                                                                                                                                                                              .... extension
                                                                                                                                                                                              .... use
                                                                                                                                                                                              N/A
                                                                                                                                                                                              Role.code or implied by context
                                                                                                                                                                                              .... type
                                                                                                                                                                                              CE/CNE/CWE
                                                                                                                                                                                              CD
                                                                                                                                                                                              .... system
                                                                                                                                                                                              CX.4 / EI-2-4
                                                                                                                                                                                              II.root or Role.id.root
                                                                                                                                                                                              ./IdentifierType
                                                                                                                                                                                              .... value
                                                                                                                                                                                              CX.1 / EI.1
                                                                                                                                                                                              II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
                                                                                                                                                                                              ./Value
                                                                                                                                                                                              .... period
                                                                                                                                                                                              CX.7 + CX.8
                                                                                                                                                                                              Role.effectiveTime or implied by context
                                                                                                                                                                                              ./StartDate and ./EndDate
                                                                                                                                                                                              .... assigner
                                                                                                                                                                                              • CX.4 / (CX.4
                                                                                                                                                                                              • CX.9
                                                                                                                                                                                              • CX.10)
                                                                                                                                                                                              II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
                                                                                                                                                                                              ./IdentifierIssuingAuthority
                                                                                                                                                                                              ... active
                                                                                                                                                                                              No equivalent in HL7 v2
                                                                                                                                                                                              .status
                                                                                                                                                                                              • ./Status (however this concept in ServD more covers why the organization is active or not
                                                                                                                                                                                              • could be delisted
                                                                                                                                                                                              • deregistered
                                                                                                                                                                                              • not operational yet) this could alternatively be derived from ./StartDate and ./EndDate and given a context date.
                                                                                                                                                                                              FiveWs.status
                                                                                                                                                                                              ... type
                                                                                                                                                                                              CE/CNE/CWE
                                                                                                                                                                                              CD
                                                                                                                                                                                              ... name
                                                                                                                                                                                              XON.1
                                                                                                                                                                                              .name
                                                                                                                                                                                              .PreferredName/Name
                                                                                                                                                                                              ... alias
                                                                                                                                                                                              .name
                                                                                                                                                                                              ... telecom
                                                                                                                                                                                              ORC-22?
                                                                                                                                                                                              .telecom
                                                                                                                                                                                              ./ContactPoints
                                                                                                                                                                                              .... id
                                                                                                                                                                                              n/a
                                                                                                                                                                                              .... extension
                                                                                                                                                                                              .... system
                                                                                                                                                                                              XTN.3
                                                                                                                                                                                              ./scheme
                                                                                                                                                                                              ./ContactPointType
                                                                                                                                                                                              .... value
                                                                                                                                                                                              XTN.1 (or XTN.12)
                                                                                                                                                                                              ./url
                                                                                                                                                                                              ./Value
                                                                                                                                                                                              .... use
                                                                                                                                                                                              XTN.2 - but often indicated by field
                                                                                                                                                                                              unique(./use)
                                                                                                                                                                                              ./ContactPointPurpose
                                                                                                                                                                                              .... rank
                                                                                                                                                                                              n/a
                                                                                                                                                                                              n/a
                                                                                                                                                                                              .... period
                                                                                                                                                                                              N/A
                                                                                                                                                                                              ./usablePeriod[type="IVL<TS>"]
                                                                                                                                                                                              ./StartDate and ./EndDate
                                                                                                                                                                                              ... address
                                                                                                                                                                                              XAD
                                                                                                                                                                                              AD
                                                                                                                                                                                              Address
                                                                                                                                                                                              .... id
                                                                                                                                                                                              n/a
                                                                                                                                                                                              .... Slices for extension
                                                                                                                                                                                              n/a
                                                                                                                                                                                              ..... extension:room
                                                                                                                                                                                              ..... extension:floor
                                                                                                                                                                                              ..... extension:number
                                                                                                                                                                                              ..... extension:alley
                                                                                                                                                                                              ..... extension:lane
                                                                                                                                                                                              ..... extension:section
                                                                                                                                                                                              ..... extension:neighborhood
                                                                                                                                                                                              ..... extension:village
                                                                                                                                                                                              .... use
                                                                                                                                                                                              XAD.7
                                                                                                                                                                                              unique(./use)
                                                                                                                                                                                              ./AddressPurpose
                                                                                                                                                                                              .... type
                                                                                                                                                                                              XAD.18
                                                                                                                                                                                              unique(./use)
                                                                                                                                                                                              .... text
                                                                                                                                                                                              XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6
                                                                                                                                                                                              ./formatted
                                                                                                                                                                                              .... line
                                                                                                                                                                                              XAD.1 and XAD.2 have different meanings for a company address than for a person address)
                                                                                                                                                                                              AD.part[parttype = AL]
                                                                                                                                                                                              ./StreetAddress (newline delimitted)
                                                                                                                                                                                              .... city
                                                                                                                                                                                              XAD.3
                                                                                                                                                                                              AD.part[parttype = CTY]
                                                                                                                                                                                              ./Jurisdiction
                                                                                                                                                                                              .... district
                                                                                                                                                                                              XAD.9
                                                                                                                                                                                              AD.part[parttype = CNT | CPA]
                                                                                                                                                                                              .... state
                                                                                                                                                                                              XAD.4
                                                                                                                                                                                              AD.part[parttype = STA]
                                                                                                                                                                                              ./Region
                                                                                                                                                                                              .... postalCode
                                                                                                                                                                                              XAD.5
                                                                                                                                                                                              AD.part[parttype = ZIP]
                                                                                                                                                                                              ./PostalIdentificationCode
                                                                                                                                                                                              ..... id
                                                                                                                                                                                              ..... Slices for extension
                                                                                                                                                                                              ...... extension:PostalCode
                                                                                                                                                                                              ....... id
                                                                                                                                                                                              n/a
                                                                                                                                                                                              ....... extension
                                                                                                                                                                                              ....... url
                                                                                                                                                                                              N/A
                                                                                                                                                                                              ....... value[x]
                                                                                                                                                                                              CE/CNE/CWE
                                                                                                                                                                                              CD
                                                                                                                                                                                              ........ id
                                                                                                                                                                                              n/a
                                                                                                                                                                                              ........ extension
                                                                                                                                                                                              ........ Slices for coding
                                                                                                                                                                                              CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
                                                                                                                                                                                              CV
                                                                                                                                                                                              ........ Slices for coding
                                                                                                                                                                                              ......... coding:PostalCode3
                                                                                                                                                                                              CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
                                                                                                                                                                                              CV
                                                                                                                                                                                              .......... id
                                                                                                                                                                                              n/a
                                                                                                                                                                                              .......... extension
                                                                                                                                                                                              .......... system
                                                                                                                                                                                              C*E.3
                                                                                                                                                                                              ./codeSystem
                                                                                                                                                                                              .......... version
                                                                                                                                                                                              C*E.7
                                                                                                                                                                                              ./codeSystemVersion
                                                                                                                                                                                              .......... code
                                                                                                                                                                                              C*E.1
                                                                                                                                                                                              ./code
                                                                                                                                                                                              .......... display
                                                                                                                                                                                              C*E.2 - but note this is not well followed
                                                                                                                                                                                              CV.displayName
                                                                                                                                                                                              .......... userSelected
                                                                                                                                                                                              Sometimes implied by being first
                                                                                                                                                                                              CD.codingRationale
                                                                                                                                                                                              ......... coding:PostalCode5
                                                                                                                                                                                              CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
                                                                                                                                                                                              CV
                                                                                                                                                                                              .......... id
                                                                                                                                                                                              n/a
                                                                                                                                                                                              .......... extension
                                                                                                                                                                                              .......... system
                                                                                                                                                                                              C*E.3
                                                                                                                                                                                              ./codeSystem
                                                                                                                                                                                              .......... version
                                                                                                                                                                                              C*E.7
                                                                                                                                                                                              ./codeSystemVersion
                                                                                                                                                                                              .......... code
                                                                                                                                                                                              C*E.1
                                                                                                                                                                                              ./code
                                                                                                                                                                                              .......... display
                                                                                                                                                                                              C*E.2 - but note this is not well followed
                                                                                                                                                                                              CV.displayName
                                                                                                                                                                                              .......... userSelected
                                                                                                                                                                                              Sometimes implied by being first
                                                                                                                                                                                              CD.codingRationale
                                                                                                                                                                                              ......... coding:PostalCode6
                                                                                                                                                                                              CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
                                                                                                                                                                                              CV
                                                                                                                                                                                              .......... id
                                                                                                                                                                                              n/a
                                                                                                                                                                                              .......... extension
                                                                                                                                                                                              .......... system
                                                                                                                                                                                              C*E.3
                                                                                                                                                                                              ./codeSystem
                                                                                                                                                                                              .......... version
                                                                                                                                                                                              C*E.7
                                                                                                                                                                                              ./codeSystemVersion
                                                                                                                                                                                              .......... code
                                                                                                                                                                                              C*E.1
                                                                                                                                                                                              ./code
                                                                                                                                                                                              .......... display
                                                                                                                                                                                              C*E.2 - but note this is not well followed
                                                                                                                                                                                              CV.displayName
                                                                                                                                                                                              .......... userSelected
                                                                                                                                                                                              Sometimes implied by being first
                                                                                                                                                                                              CD.codingRationale
                                                                                                                                                                                              ........ text
                                                                                                                                                                                              C*E.9. But note many systems use C*E.2 for this
                                                                                                                                                                                              ./originalText[mediaType/code="text/plain"]/data
                                                                                                                                                                                              ..... value
                                                                                                                                                                                              .... country
                                                                                                                                                                                              XAD.6
                                                                                                                                                                                              AD.part[parttype = CNT]
                                                                                                                                                                                              ./Country
                                                                                                                                                                                              .... period
                                                                                                                                                                                              XAD.12 / XAD.13 + XAD.14
                                                                                                                                                                                              ./usablePeriod[type="IVL<TS>"]
                                                                                                                                                                                              ./StartDate and ./EndDate
                                                                                                                                                                                              ... partOf
                                                                                                                                                                                              No equivalent in HL7 v2
                                                                                                                                                                                              .playedBy[classCode=Part].scoper
                                                                                                                                                                                              n/a
                                                                                                                                                                                              ... contact
                                                                                                                                                                                              .contactParty
                                                                                                                                                                                              .... id
                                                                                                                                                                                              n/a
                                                                                                                                                                                              .... extension
                                                                                                                                                                                              .... modifierExtension
                                                                                                                                                                                              .... purpose
                                                                                                                                                                                              CE/CNE/CWE
                                                                                                                                                                                              CD
                                                                                                                                                                                              .... name
                                                                                                                                                                                              • PID-5
                                                                                                                                                                                              • PID-9
                                                                                                                                                                                              ./name
                                                                                                                                                                                              .... telecom
                                                                                                                                                                                              • PID-13
                                                                                                                                                                                              • PID-14
                                                                                                                                                                                              ./telecom
                                                                                                                                                                                              .... address
                                                                                                                                                                                              XAD
                                                                                                                                                                                              AD
                                                                                                                                                                                              Address
                                                                                                                                                                                              ... endpoint
                                                                                                                                                                                              n/a

                                                                                                                                                                                              doco Documentation for this format