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

Draft as of 2026-09-03

Mappings for the ServiceRequest-referral-twss-base resource profile.

Mappings to Structures in this Implementation Guide

NameMapping to TWSSBase Referral ServiceRequestdoco
.. ServiceRequest
    ... id
      ... meta
        ... implicitRules
          ... language
            ... text
              ... contained
                ... extension
                  ... modifierExtension
                    ... identifier
                      .... id
                        .... extension
                          .... use
                            .... type
                              .... system
                                .... value
                                  .... period
                                    .... assigner
                                      ... instantiatesCanonical
                                        ... instantiatesUri
                                          ... basedOn
                                            ... replaces
                                              ... requisition
                                                ... status
                                                  ... intent
                                                    ... category
                                                      ... priority
                                                        ... doNotPerform
                                                          ... code
                                                            ... Slices for orderDetail
                                                            .... orderDetail:caseServiceType
                                                            ..... id
                                                              ..... extension
                                                                ..... coding
                                                                  ...... id
                                                                    ...... extension
                                                                      ...... system
                                                                        ...... version
                                                                          ...... code
                                                                            ...... display
                                                                              ...... userSelected
                                                                                ..... text
                                                                                  .... orderDetail:subsidyServiceType
                                                                                  ..... id
                                                                                    ..... extension
                                                                                      ..... coding
                                                                                        ...... id
                                                                                          ...... extension
                                                                                            ...... system
                                                                                              ...... version
                                                                                                ...... code
                                                                                                  ...... display
                                                                                                    ...... userSelected
                                                                                                      ..... text
                                                                                                        ... quantity[x]
                                                                                                          ... subject
                                                                                                            ... encounter
                                                                                                              ... occurrence[x]
                                                                                                                ... asNeeded[x]
                                                                                                                  ... authoredOn
                                                                                                                  ... requester
                                                                                                                  ... performerType
                                                                                                                    ... performer
                                                                                                                    ... locationCode
                                                                                                                      ... locationReference
                                                                                                                        ... reasonCode
                                                                                                                        ... reasonReference
                                                                                                                          ... insurance
                                                                                                                            ... supportingInfo
                                                                                                                              ... specimen
                                                                                                                                ... bodySite
                                                                                                                                  ... note
                                                                                                                                    ... patientInstruction
                                                                                                                                      ... relevantHistory

                                                                                                                                        doco Documentation for this format

                                                                                                                                        Mappings to other Structures

                                                                                                                                        No Mappings Found

                                                                                                                                        Other Mappings

                                                                                                                                        NameWorkflow PatternHL7 v2 MappingRIM MappingFiveWs Pattern MappingQuality Improvement and Clinical Knowledge (QUICK)doco
                                                                                                                                        .. ServiceRequest
                                                                                                                                        Request
                                                                                                                                        ORC
                                                                                                                                        Act[moodCode<=INT]
                                                                                                                                        ... id
                                                                                                                                        ... meta
                                                                                                                                        ... implicitRules
                                                                                                                                        ... language
                                                                                                                                        ... text
                                                                                                                                        Act.text?
                                                                                                                                        ... contained
                                                                                                                                        N/A
                                                                                                                                        ... extension
                                                                                                                                        N/A
                                                                                                                                        ... modifierExtension
                                                                                                                                        N/A
                                                                                                                                        ... identifier
                                                                                                                                        Request.identifier
                                                                                                                                        • ORC.2
                                                                                                                                        • ORC.3
                                                                                                                                        • RF1-6 / RF1-11
                                                                                                                                        .identifier
                                                                                                                                        FiveWs.identifier
                                                                                                                                        ClinicalStatement.identifier
                                                                                                                                        .... id
                                                                                                                                        n/a
                                                                                                                                        .... extension
                                                                                                                                        n/a
                                                                                                                                        .... use
                                                                                                                                        N/A
                                                                                                                                        Role.code or implied by context
                                                                                                                                        .... type
                                                                                                                                        CX.5
                                                                                                                                        Role.code or implied by context
                                                                                                                                        .... system
                                                                                                                                        CX.4 / EI-2-4
                                                                                                                                        II.root or Role.id.root
                                                                                                                                        .... value
                                                                                                                                        CX.1 / EI.1
                                                                                                                                        II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
                                                                                                                                        .... period
                                                                                                                                        CX.7 + CX.8
                                                                                                                                        Role.effectiveTime or implied by context
                                                                                                                                        .... 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
                                                                                                                                        ... instantiatesCanonical
                                                                                                                                        Request.instantiatesCanonical
                                                                                                                                        Varies by domain
                                                                                                                                        .outboundRelationship[typeCode=DEFN].target
                                                                                                                                        ... instantiatesUri
                                                                                                                                        Request.instantiatesUri
                                                                                                                                        Varies by domain
                                                                                                                                        .outboundRelationship[typeCode=DEFN].target
                                                                                                                                        ... basedOn
                                                                                                                                        Request.basedOn
                                                                                                                                        ORC.8 (plus others)
                                                                                                                                        .outboundRelationship[typeCode=FLFS].target
                                                                                                                                        ... replaces
                                                                                                                                        Request.replaces
                                                                                                                                        Handled by message location of ORC (ORC.1=RO or RU)
                                                                                                                                        .outboundRelationship[typeCode=RPLC].target
                                                                                                                                        ... requisition
                                                                                                                                        Request.groupIdentifier
                                                                                                                                        ORC.4
                                                                                                                                        .inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier
                                                                                                                                        ... status
                                                                                                                                        Request.status
                                                                                                                                        • ORC.5
                                                                                                                                        • RF1-1
                                                                                                                                        .status
                                                                                                                                        FiveWs.status
                                                                                                                                        Action.currentStatus
                                                                                                                                        ... intent
                                                                                                                                        Request.intent
                                                                                                                                        N/A
                                                                                                                                        .moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)
                                                                                                                                        FiveWs.class
                                                                                                                                        ... category
                                                                                                                                        RF1-5
                                                                                                                                        • .outboundRelationship[typeCode="COMP].target[classCode="LIST"
                                                                                                                                        • moodCode="INT"].code
                                                                                                                                        FiveWs.class
                                                                                                                                        ... priority
                                                                                                                                        Request.priority
                                                                                                                                        • TQ1.9
                                                                                                                                        • RF1-2
                                                                                                                                        .priorityCode
                                                                                                                                        FiveWs.grade
                                                                                                                                        ... doNotPerform
                                                                                                                                        Request.doNotPerform
                                                                                                                                        .actionNegationInd
                                                                                                                                        ... code
                                                                                                                                        Request.code
                                                                                                                                        PR1-3 / OBR-4 (varies by domain)
                                                                                                                                        .code
                                                                                                                                        FiveWs.what[x]
                                                                                                                                        Procedure.procedureCode
                                                                                                                                        ... Slices for orderDetail
                                                                                                                                        NTE
                                                                                                                                        .code
                                                                                                                                        Procedure.procedureCode
                                                                                                                                        .... orderDetail:caseServiceType
                                                                                                                                        NTE
                                                                                                                                        .code
                                                                                                                                        Procedure.procedureCode
                                                                                                                                        ..... id
                                                                                                                                        n/a
                                                                                                                                        ..... extension
                                                                                                                                        n/a
                                                                                                                                        ..... coding
                                                                                                                                        • C*E.1-8
                                                                                                                                        • C*E.10-22
                                                                                                                                        • union(.
                                                                                                                                        • ./translation)
                                                                                                                                        ...... id
                                                                                                                                        n/a
                                                                                                                                        ...... extension
                                                                                                                                        n/a
                                                                                                                                        ...... 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
                                                                                                                                        .... orderDetail:subsidyServiceType
                                                                                                                                        NTE
                                                                                                                                        .code
                                                                                                                                        Procedure.procedureCode
                                                                                                                                        ..... id
                                                                                                                                        n/a
                                                                                                                                        ..... extension
                                                                                                                                        n/a
                                                                                                                                        ..... coding
                                                                                                                                        • C*E.1-8
                                                                                                                                        • C*E.10-22
                                                                                                                                        • union(.
                                                                                                                                        • ./translation)
                                                                                                                                        ...... id
                                                                                                                                        n/a
                                                                                                                                        ...... extension
                                                                                                                                        n/a
                                                                                                                                        ...... 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
                                                                                                                                        ... quantity[x]
                                                                                                                                        NTE
                                                                                                                                        .quantity
                                                                                                                                        ... subject
                                                                                                                                        Request.subject
                                                                                                                                        PID
                                                                                                                                        .participation[typeCode=SBJ].role
                                                                                                                                        FiveWs.subject
                                                                                                                                        ClinicalStatement.subject
                                                                                                                                        ... encounter
                                                                                                                                        Request.encounter
                                                                                                                                        PV1
                                                                                                                                        • .inboundRelationship(typeCode=COMP].source[classCode<=PCPR
                                                                                                                                        • moodCode=EVN]
                                                                                                                                        FiveWs.context
                                                                                                                                        ClinicalStatement.encounter
                                                                                                                                        ... occurrence[x]
                                                                                                                                        Request.occurrence[x]
                                                                                                                                        • TQ1/TQ2
                                                                                                                                        • OBR-7/OBR-8
                                                                                                                                        .effectiveTime
                                                                                                                                        FiveWs.planned
                                                                                                                                        Procedure.procedureSchedule
                                                                                                                                        ... asNeeded[x]
                                                                                                                                        precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code="Assertion"].value
                                                                                                                                        Proposal.prnReason.reason
                                                                                                                                        ... authoredOn
                                                                                                                                        Request.authoredOn
                                                                                                                                        • ORC.9
                                                                                                                                        • RF1-7 / RF1-9
                                                                                                                                        .participation[typeCode=AUT].time
                                                                                                                                        FiveWs.recorded
                                                                                                                                        Proposal.proposedAtTime
                                                                                                                                        ... requester
                                                                                                                                        Request.requester
                                                                                                                                        • ORC.12
                                                                                                                                        • PRT
                                                                                                                                        .participation[typeCode=AUT].role
                                                                                                                                        FiveWs.author
                                                                                                                                        ClinicalStatement.statementAuthor
                                                                                                                                        ... performerType
                                                                                                                                        Request.performerType
                                                                                                                                        • PRT
                                                                                                                                        • RF!-3
                                                                                                                                        .participation[typeCode=PRF].role[scoper.determinerCode=KIND].code
                                                                                                                                        FiveWs.actor
                                                                                                                                        ... performer
                                                                                                                                        Request.performer
                                                                                                                                        • PRT
                                                                                                                                        • PRD-2/PRD-7 where PRD-3 = RT; Organization: PRD-10 where PRD-3 = RT
                                                                                                                                        .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]
                                                                                                                                        FiveWs.actor
                                                                                                                                        ... locationCode
                                                                                                                                        .participation[typeCode=LOC].role[scoper.determinerCode=KIND].code
                                                                                                                                        FiveWs.actor
                                                                                                                                        ... locationReference
                                                                                                                                        .participation[typeCode=LOC].role[scoper.determinerCode=INSTANCE]
                                                                                                                                        FiveWs.actor
                                                                                                                                        ... reasonCode
                                                                                                                                        Request.reasonCode
                                                                                                                                        • ORC.16
                                                                                                                                        • RF1-10
                                                                                                                                        .reasonCode
                                                                                                                                        FiveWs.why[x]
                                                                                                                                        ... reasonReference
                                                                                                                                        Request.reasonReference
                                                                                                                                        ORC.16
                                                                                                                                        .outboundRelationship[typeCode=RSON].target
                                                                                                                                        FiveWs.why[x]
                                                                                                                                        ... insurance
                                                                                                                                        Request.insurance
                                                                                                                                        IN1/IN2
                                                                                                                                        .outboundRelationship[typeCode=COVBY].target
                                                                                                                                        ... supportingInfo
                                                                                                                                        Request.supportingInfo
                                                                                                                                        Accompanying segments
                                                                                                                                        .outboundRelationship[typeCode=PERT].target
                                                                                                                                        ... specimen
                                                                                                                                        SPM
                                                                                                                                        .participation[typeCode=SPC].role
                                                                                                                                        ... bodySite
                                                                                                                                        SPM
                                                                                                                                        targetSiteCode
                                                                                                                                        Procedure.targetBodySite
                                                                                                                                        ... note
                                                                                                                                        Request.note
                                                                                                                                        NTE
                                                                                                                                        • .inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN
                                                                                                                                        • type=ST]
                                                                                                                                        ClinicalStatement.additionalText
                                                                                                                                        ... patientInstruction
                                                                                                                                        NTE
                                                                                                                                        .text
                                                                                                                                        ... relevantHistory
                                                                                                                                        Request.relevantHistory
                                                                                                                                        N/A
                                                                                                                                        • .inboundRelationship(typeCode=SUBJ].source[classCode=CACT
                                                                                                                                        • moodCode=EVN]

                                                                                                                                        doco Documentation for this format