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

Draft as of 2026-10-21

Mappings for the AuditEvent-twss-base resource profile.

Mappings to Structures in this Implementation Guide

NameMapping to TWSSBase AuditEventdoco
AuditEvent
    AuditEvent / id
      AuditEvent / meta
        AuditEvent / implicitRules
          AuditEvent / language
            AuditEvent / text
              AuditEvent / contained
                AuditEvent / extension
                  AuditEvent / modifierExtension
                    AuditEvent / type
                    AuditEvent / subtype
                      AuditEvent / action
                        AuditEvent / period
                        AuditEvent / recorded
                        AuditEvent / outcome
                          AuditEvent / outcomeDesc
                            AuditEvent / purposeOfEvent
                              AuditEvent / Slices for agent
                                AuditEvent / Slices for agent / agent:All Slices
                                AuditEvent / Slices for agent / agent:All Slices / id
                                  AuditEvent / Slices for agent / agent:All Slices / extension
                                    AuditEvent / Slices for agent / agent:All Slices / modifierExtension
                                      AuditEvent / Slices for agent / agent:All Slices / type
                                        AuditEvent / Slices for agent / agent:All Slices / role
                                          AuditEvent / Slices for agent / agent:All Slices / who
                                            AuditEvent / Slices for agent / agent:All Slices / altId
                                            AuditEvent / Slices for agent / agent:All Slices / name
                                              AuditEvent / Slices for agent / agent:All Slices / requestor
                                              AuditEvent / Slices for agent / agent:All Slices / location
                                              AuditEvent / Slices for agent / agent:All Slices / policy
                                                AuditEvent / Slices for agent / agent:All Slices / media
                                                  AuditEvent / Slices for agent / agent:All Slices / network
                                                    AuditEvent / Slices for agent / agent:All Slices / network / id
                                                      AuditEvent / Slices for agent / agent:All Slices / network / extension
                                                        AuditEvent / Slices for agent / agent:All Slices / network / modifierExtension
                                                          AuditEvent / Slices for agent / agent:All Slices / network / address
                                                          AuditEvent / Slices for agent / agent:All Slices / network / type
                                                            AuditEvent / Slices for agent / agent:All Slices / purposeOfUse
                                                              AuditEvent / Slices for agent / agent:ipAddress
                                                                AuditEvent / Slices for agent / agent:ipAddress / id
                                                                  AuditEvent / Slices for agent / agent:ipAddress / extension
                                                                    AuditEvent / Slices for agent / agent:ipAddress / modifierExtension
                                                                      AuditEvent / Slices for agent / agent:ipAddress / type
                                                                        AuditEvent / Slices for agent / agent:ipAddress / role
                                                                          AuditEvent / Slices for agent / agent:ipAddress / who
                                                                            AuditEvent / Slices for agent / agent:ipAddress / altId
                                                                            AuditEvent / Slices for agent / agent:ipAddress / name
                                                                              AuditEvent / Slices for agent / agent:ipAddress / requestor
                                                                              AuditEvent / Slices for agent / agent:ipAddress / location
                                                                              AuditEvent / Slices for agent / agent:ipAddress / policy
                                                                                AuditEvent / Slices for agent / agent:ipAddress / media
                                                                                  AuditEvent / Slices for agent / agent:ipAddress / network
                                                                                    AuditEvent / Slices for agent / agent:ipAddress / network / id
                                                                                      AuditEvent / Slices for agent / agent:ipAddress / network / extension
                                                                                        AuditEvent / Slices for agent / agent:ipAddress / network / modifierExtension
                                                                                          AuditEvent / Slices for agent / agent:ipAddress / network / address
                                                                                          AuditEvent / Slices for agent / agent:ipAddress / network / type
                                                                                            AuditEvent / Slices for agent / agent:ipAddress / purposeOfUse
                                                                                              AuditEvent / source
                                                                                                AuditEvent / source / id
                                                                                                  AuditEvent / source / extension
                                                                                                    AuditEvent / source / modifierExtension
                                                                                                      AuditEvent / source / site
                                                                                                        AuditEvent / source / observer
                                                                                                        AuditEvent / source / type
                                                                                                          AuditEvent / entity
                                                                                                            AuditEvent / entity / id
                                                                                                              AuditEvent / entity / extension
                                                                                                                AuditEvent / entity / modifierExtension
                                                                                                                  AuditEvent / entity / what
                                                                                                                    AuditEvent / entity / type
                                                                                                                      AuditEvent / entity / role
                                                                                                                        AuditEvent / entity / lifecycle
                                                                                                                          AuditEvent / entity / securityLabel
                                                                                                                            AuditEvent / entity / name
                                                                                                                              AuditEvent / entity / description
                                                                                                                                AuditEvent / entity / query
                                                                                                                                  AuditEvent / entity / detail
                                                                                                                                    AuditEvent / entity / detail / id
                                                                                                                                      AuditEvent / entity / detail / extension
                                                                                                                                        AuditEvent / entity / detail / modifierExtension
                                                                                                                                          AuditEvent / entity / detail / type
                                                                                                                                            AuditEvent / entity / detail / value[x]

                                                                                                                                              doco Documentation for this format

                                                                                                                                              Mappings to other Structures

                                                                                                                                              No Mappings Found

                                                                                                                                              Other Mappings

                                                                                                                                              NameWorkflow PatternRIM MappingDICOM Tag MappingFiveWs Pattern MappingW3C PROVFHIR Provenance Mappingdoco
                                                                                                                                              AuditEvent
                                                                                                                                              Event
                                                                                                                                              ControlAct[moodCode=EVN]
                                                                                                                                              Message
                                                                                                                                              AuditEvent / id
                                                                                                                                              AuditEvent / meta
                                                                                                                                              AuditEvent / implicitRules
                                                                                                                                              AuditEvent / language
                                                                                                                                              AuditEvent / text
                                                                                                                                              Act.text?
                                                                                                                                              AuditEvent / contained
                                                                                                                                              N/A
                                                                                                                                              AuditEvent / extension
                                                                                                                                              N/A
                                                                                                                                              AuditEvent / modifierExtension
                                                                                                                                              N/A
                                                                                                                                              AuditEvent / type
                                                                                                                                              Event.code
                                                                                                                                              • .code (type
                                                                                                                                              • subtype and action are pre-coordinated or sent as translations)
                                                                                                                                              EventId
                                                                                                                                              FiveWs.what[x]
                                                                                                                                              Activity
                                                                                                                                              AuditEvent / subtype
                                                                                                                                              • .code (type
                                                                                                                                              • subtype and action are pre-coordinated or sent as translations)
                                                                                                                                              EventTypeCode
                                                                                                                                              FiveWs.what[x]
                                                                                                                                              AuditEvent / action
                                                                                                                                              • .code (type
                                                                                                                                              • subtype and action are pre-coordinated or sent as translations)
                                                                                                                                              EventActionCode
                                                                                                                                              FiveWs.what[x]
                                                                                                                                              AuditEvent / period
                                                                                                                                              Event.occurred[x]
                                                                                                                                              ./effectiveTime[type=IVL_TS]
                                                                                                                                              EventDateTime
                                                                                                                                              FiveWs.done[x]
                                                                                                                                              Activity.startTime & Activity.endTime
                                                                                                                                              Provenance.occurred[x]
                                                                                                                                              AuditEvent / recorded
                                                                                                                                              .effectiveTime
                                                                                                                                              FiveWs.recorded
                                                                                                                                              Activity.when
                                                                                                                                              Provenance.recorded
                                                                                                                                              AuditEvent / outcome
                                                                                                                                              .actionNegationInd
                                                                                                                                              EventOutcomeIndicator
                                                                                                                                              FiveWs.what[x]
                                                                                                                                              AuditEvent / outcomeDesc
                                                                                                                                              .outboundRelationship[typeCode=OUT].target.text
                                                                                                                                              EventOutcomeDescription
                                                                                                                                              FiveWs.what[x]
                                                                                                                                              AuditEvent / purposeOfEvent
                                                                                                                                              Event.reasonCode
                                                                                                                                              * .reasonCode [ControlActReason when Act.class = CACT Control Act] *.outboundRelationship[typeCode=RSON].target
                                                                                                                                              EventPurposeOfUse
                                                                                                                                              FiveWs.why[x]
                                                                                                                                              Activity.Activity
                                                                                                                                              • Provenance.reason
                                                                                                                                              • Provenance.activity
                                                                                                                                              AuditEvent / Slices for agent
                                                                                                                                              Event.performer
                                                                                                                                              .participation
                                                                                                                                              ActiveParticipant
                                                                                                                                              FiveWs.who
                                                                                                                                              Agent
                                                                                                                                              Provenance.agent
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / id
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / extension
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / modifierExtension
                                                                                                                                              N/A
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / type
                                                                                                                                              Event.performer.function
                                                                                                                                              .typeCode and/or .functionCode
                                                                                                                                              RoleIdCode
                                                                                                                                              FiveWs.who
                                                                                                                                              Agent.Attribution
                                                                                                                                              Provenance.agent.type
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / role
                                                                                                                                              .role
                                                                                                                                              RoleIdCode
                                                                                                                                              FiveWs.who
                                                                                                                                              Agent.Attribution
                                                                                                                                              Provenance.agent.role
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / who
                                                                                                                                              Event.performer.actor
                                                                                                                                              .id
                                                                                                                                              UserId
                                                                                                                                              FiveWs.who
                                                                                                                                              Agent.Identity
                                                                                                                                              Provenance.agent.who
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / altId
                                                                                                                                              .id (distinguish id type by root)
                                                                                                                                              AlternativeUserId
                                                                                                                                              FiveWs.who
                                                                                                                                              Agent.Identity
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / name
                                                                                                                                              .name
                                                                                                                                              UserName
                                                                                                                                              FiveWs.who
                                                                                                                                              Agent.Identity
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / requestor
                                                                                                                                              • If participation.typeCode was author
                                                                                                                                              • then true
                                                                                                                                              UserIsRequestor
                                                                                                                                              FiveWs.who
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / location
                                                                                                                                              Event.location
                                                                                                                                              * Role.Class =SDLOC *Role.Code = ServiceDeliveryLocationRoleType *Entity.Code = PlaceEntityType = df.Types of places for Entity.Class = PLC *EntityClass = PLC = df.A physical place or site with its containing structure. May be natural or man-made. The geographic position of a place might or might not be constant.
                                                                                                                                              FiveWs.where[x]
                                                                                                                                              Activity.location
                                                                                                                                              Provenance.location
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / policy
                                                                                                                                              ActPolicyType
                                                                                                                                              ParticipantRoleIDCode
                                                                                                                                              FiveWs.why[x]
                                                                                                                                              Provenance.policy
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / media
                                                                                                                                              .player.description.mediaType
                                                                                                                                              MediaType
                                                                                                                                              FiveWs.where[x]
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / network
                                                                                                                                              .player.description.reference
                                                                                                                                              FiveWs.where[x]
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / network / id
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / network / extension
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / network / modifierExtension
                                                                                                                                              N/A
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / network / address
                                                                                                                                              pre-coordinated into URL
                                                                                                                                              NetworkAccessPointID
                                                                                                                                              FiveWs.where[x]
                                                                                                                                              Agent.Location
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / network / type
                                                                                                                                              pre-coordinated into URL
                                                                                                                                              NetworkAccessPointTypeCode
                                                                                                                                              FiveWs.where[x]
                                                                                                                                              AuditEvent / Slices for agent / agent:All Slices / purposeOfUse
                                                                                                                                              PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target
                                                                                                                                              FiveWs.why[x]
                                                                                                                                              Agent.Activity
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress
                                                                                                                                              Event.performer
                                                                                                                                              .participation
                                                                                                                                              ActiveParticipant
                                                                                                                                              FiveWs.who
                                                                                                                                              Agent
                                                                                                                                              Provenance.agent
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / id
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / extension
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / modifierExtension
                                                                                                                                              N/A
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / type
                                                                                                                                              Event.performer.function
                                                                                                                                              .typeCode and/or .functionCode
                                                                                                                                              RoleIdCode
                                                                                                                                              FiveWs.who
                                                                                                                                              Agent.Attribution
                                                                                                                                              Provenance.agent.type
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / role
                                                                                                                                              .role
                                                                                                                                              RoleIdCode
                                                                                                                                              FiveWs.who
                                                                                                                                              Agent.Attribution
                                                                                                                                              Provenance.agent.role
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / who
                                                                                                                                              Event.performer.actor
                                                                                                                                              .id
                                                                                                                                              UserId
                                                                                                                                              FiveWs.who
                                                                                                                                              Agent.Identity
                                                                                                                                              Provenance.agent.who
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / altId
                                                                                                                                              .id (distinguish id type by root)
                                                                                                                                              AlternativeUserId
                                                                                                                                              FiveWs.who
                                                                                                                                              Agent.Identity
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / name
                                                                                                                                              .name
                                                                                                                                              UserName
                                                                                                                                              FiveWs.who
                                                                                                                                              Agent.Identity
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / requestor
                                                                                                                                              • If participation.typeCode was author
                                                                                                                                              • then true
                                                                                                                                              UserIsRequestor
                                                                                                                                              FiveWs.who
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / location
                                                                                                                                              Event.location
                                                                                                                                              * Role.Class =SDLOC *Role.Code = ServiceDeliveryLocationRoleType *Entity.Code = PlaceEntityType = df.Types of places for Entity.Class = PLC *EntityClass = PLC = df.A physical place or site with its containing structure. May be natural or man-made. The geographic position of a place might or might not be constant.
                                                                                                                                              FiveWs.where[x]
                                                                                                                                              Activity.location
                                                                                                                                              Provenance.location
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / policy
                                                                                                                                              ActPolicyType
                                                                                                                                              ParticipantRoleIDCode
                                                                                                                                              FiveWs.why[x]
                                                                                                                                              Provenance.policy
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / media
                                                                                                                                              .player.description.mediaType
                                                                                                                                              MediaType
                                                                                                                                              FiveWs.where[x]
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / network
                                                                                                                                              .player.description.reference
                                                                                                                                              FiveWs.where[x]
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / network / id
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / network / extension
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / network / modifierExtension
                                                                                                                                              N/A
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / network / address
                                                                                                                                              pre-coordinated into URL
                                                                                                                                              NetworkAccessPointID
                                                                                                                                              FiveWs.where[x]
                                                                                                                                              Agent.Location
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / network / type
                                                                                                                                              pre-coordinated into URL
                                                                                                                                              NetworkAccessPointTypeCode
                                                                                                                                              FiveWs.where[x]
                                                                                                                                              AuditEvent / Slices for agent / agent:ipAddress / purposeOfUse
                                                                                                                                              PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target
                                                                                                                                              FiveWs.why[x]
                                                                                                                                              Agent.Activity
                                                                                                                                              AuditEvent / source
                                                                                                                                              • .participation[typeCode=INF].role[classCode=ASSIGN].player[classCode=DEV
                                                                                                                                              • determinerCode=INSTANCE]
                                                                                                                                              AuditSourceIdentification
                                                                                                                                              FiveWs.witness
                                                                                                                                              AuditEvent / source / id
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / source / extension
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / source / modifierExtension
                                                                                                                                              N/A
                                                                                                                                              AuditEvent / source / site
                                                                                                                                              .scopedRole[classCode=LOCE].player.desc
                                                                                                                                              AuditEnterpriseSiteId
                                                                                                                                              FiveWs.witness
                                                                                                                                              AuditEvent / source / observer
                                                                                                                                              .id
                                                                                                                                              AuditSourceId
                                                                                                                                              FiveWs.witness
                                                                                                                                              AuditEvent / source / type
                                                                                                                                              .code
                                                                                                                                              AuditSourceTypeCode
                                                                                                                                              FiveWs.witness
                                                                                                                                              AuditEvent / entity
                                                                                                                                              .outboundRelationship[typeCode=SUBJ].target or .participation[typeCode=SBJ].role
                                                                                                                                              ParticipantObjectIdentification
                                                                                                                                              FiveWs.what[x]
                                                                                                                                              Entity
                                                                                                                                              • Provenance.target
                                                                                                                                              • Provenance.entity
                                                                                                                                              AuditEvent / entity / id
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / entity / extension
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / entity / modifierExtension
                                                                                                                                              N/A
                                                                                                                                              AuditEvent / entity / what
                                                                                                                                              .id
                                                                                                                                              ParticipantObjectID and ParticipantObjectIDTypeCode
                                                                                                                                              FiveWs.what[x]
                                                                                                                                              • Provenance.target
                                                                                                                                              • Provenance.entity.what
                                                                                                                                              AuditEvent / entity / type
                                                                                                                                              :Act].code or role.player.code
                                                                                                                                              ParticipantObjectTypeCode
                                                                                                                                              FiveWs.what[x]
                                                                                                                                              Entity.type
                                                                                                                                              Provenance.entity.type
                                                                                                                                              AuditEvent / entity / role
                                                                                                                                              role.code (not sure what this would mean for an Act)
                                                                                                                                              ParticipantObjectTypeCodeRole
                                                                                                                                              FiveWs.context
                                                                                                                                              Entity.role
                                                                                                                                              AuditEvent / entity / lifecycle
                                                                                                                                              target of ObservationEvent[code="lifecycle"].value
                                                                                                                                              ParticipantObjectDataLifeCycle
                                                                                                                                              FiveWs.context
                                                                                                                                              Entity.role
                                                                                                                                              Provenance.entity.role
                                                                                                                                              AuditEvent / entity / securityLabel
                                                                                                                                              .confidentialityCode
                                                                                                                                              ParticipantObjectSensitivity
                                                                                                                                              FiveWs.context
                                                                                                                                              AuditEvent / entity / name
                                                                                                                                              .title
                                                                                                                                              ParticipantObjectName
                                                                                                                                              FiveWs.context
                                                                                                                                              Entity.Label
                                                                                                                                              AuditEvent / entity / description
                                                                                                                                              .text
                                                                                                                                              ParticipantObjectDescription
                                                                                                                                              FiveWs.context
                                                                                                                                              AuditEvent / entity / query
                                                                                                                                              No mapping
                                                                                                                                              ParticipantObjectQuery
                                                                                                                                              FiveWs.context
                                                                                                                                              AuditEvent / entity / detail
                                                                                                                                              • .inboundRelationship[typeCode=SUBJ].target[classCode=OBS
                                                                                                                                              • moodCode=EVN]
                                                                                                                                              ParticipantObjectDetail
                                                                                                                                              FiveWs.context
                                                                                                                                              AuditEvent / entity / detail / id
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / entity / detail / extension
                                                                                                                                              n/a
                                                                                                                                              AuditEvent / entity / detail / modifierExtension
                                                                                                                                              N/A
                                                                                                                                              AuditEvent / entity / detail / type
                                                                                                                                              .code
                                                                                                                                              ParticipantObjectDetail.type
                                                                                                                                              FiveWs.context
                                                                                                                                              AuditEvent / entity / detail / value[x]
                                                                                                                                              .value
                                                                                                                                              ParticipantObjectDetail.value
                                                                                                                                              FiveWs.context

                                                                                                                                              doco Documentation for this format