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

Mappings for the AuditEvent-twss-base resource profile.

Mappings to Structures in this Implementation Guide

NameMapping to TWSSBase AuditEventdoco
.. AuditEvent
    ... id
      ... meta
        ... implicitRules
          ... text
            ... contained
              ... extension
                ... modifierExtension
                  ... type
                  ... subtype
                    ... action
                      ... period
                      ... recorded
                      ... outcome
                        ... outcomeDesc
                          ... purposeOfEvent
                            ... Slices for agent
                              .... agent:All Slices
                              ..... id
                                ..... extension
                                  ..... modifierExtension
                                    ..... type
                                      ..... role
                                        ..... who
                                          ..... altId
                                          ..... name
                                            ..... requestor
                                            ..... location
                                            ..... policy
                                              ..... media
                                                ..... network
                                                  ...... id
                                                    ...... extension
                                                      ...... modifierExtension
                                                        ...... address
                                                        ...... type
                                                          ..... purposeOfUse
                                                            .... agent:ipAddress
                                                              ..... id
                                                                ..... extension
                                                                  ..... modifierExtension
                                                                    ..... type
                                                                      ..... role
                                                                        ..... who
                                                                          ..... altId
                                                                          ..... name
                                                                            ..... requestor
                                                                            ..... location
                                                                            ..... policy
                                                                              ..... media
                                                                                ..... network
                                                                                  ...... id
                                                                                    ...... extension
                                                                                      ...... modifierExtension
                                                                                        ...... address
                                                                                        ...... type
                                                                                          ..... purposeOfUse
                                                                                            ... source
                                                                                              .... id
                                                                                                .... extension
                                                                                                  .... modifierExtension
                                                                                                    .... site
                                                                                                      .... observer
                                                                                                      .... type
                                                                                                        ... entity
                                                                                                          .... id
                                                                                                            .... extension
                                                                                                              .... modifierExtension
                                                                                                                .... what
                                                                                                                  .... type
                                                                                                                    .... role
                                                                                                                      .... lifecycle
                                                                                                                        .... securityLabel
                                                                                                                          .... name
                                                                                                                            .... description
                                                                                                                              .... query
                                                                                                                                .... detail
                                                                                                                                  ..... id
                                                                                                                                    ..... extension
                                                                                                                                      ..... modifierExtension
                                                                                                                                        ..... type
                                                                                                                                          ..... 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
                                                                                                                                            ... id
                                                                                                                                            ... meta
                                                                                                                                            ... implicitRules
                                                                                                                                            ... text
                                                                                                                                            Act.text?
                                                                                                                                            ... contained
                                                                                                                                            N/A
                                                                                                                                            ... extension
                                                                                                                                            N/A
                                                                                                                                            ... modifierExtension
                                                                                                                                            N/A
                                                                                                                                            ... type
                                                                                                                                            Event.code
                                                                                                                                            • .code (type
                                                                                                                                            • subtype and action are pre-coordinated or sent as translations)
                                                                                                                                            EventId
                                                                                                                                            FiveWs.what[x]
                                                                                                                                            Activity
                                                                                                                                            ... subtype
                                                                                                                                            • .code (type
                                                                                                                                            • subtype and action are pre-coordinated or sent as translations)
                                                                                                                                            EventTypeCode
                                                                                                                                            FiveWs.what[x]
                                                                                                                                            ... action
                                                                                                                                            • .code (type
                                                                                                                                            • subtype and action are pre-coordinated or sent as translations)
                                                                                                                                            EventActionCode
                                                                                                                                            FiveWs.what[x]
                                                                                                                                            ... period
                                                                                                                                            Event.occurred[x]
                                                                                                                                            ./effectiveTime[type=IVL_TS]
                                                                                                                                            EventDateTime
                                                                                                                                            FiveWs.done[x]
                                                                                                                                            Activity.startTime & Activity.endTime
                                                                                                                                            Provenance.occurred[x]
                                                                                                                                            ... recorded
                                                                                                                                            .effectiveTime
                                                                                                                                            FiveWs.recorded
                                                                                                                                            Activity.when
                                                                                                                                            Provenance.recorded
                                                                                                                                            ... outcome
                                                                                                                                            .actionNegationInd
                                                                                                                                            EventOutcomeIndicator
                                                                                                                                            FiveWs.what[x]
                                                                                                                                            ... outcomeDesc
                                                                                                                                            .outboundRelationship[typeCode=OUT].target.text
                                                                                                                                            EventOutcomeDescription
                                                                                                                                            FiveWs.what[x]
                                                                                                                                            ... 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
                                                                                                                                            ... Slices for agent
                                                                                                                                            Event.performer
                                                                                                                                            .participation
                                                                                                                                            ActiveParticipant
                                                                                                                                            FiveWs.who
                                                                                                                                            Agent
                                                                                                                                            Provenance.agent
                                                                                                                                            .... agent:All Slices
                                                                                                                                            ..... id
                                                                                                                                            n/a
                                                                                                                                            ..... extension
                                                                                                                                            n/a
                                                                                                                                            ..... modifierExtension
                                                                                                                                            N/A
                                                                                                                                            ..... type
                                                                                                                                            Event.performer.function
                                                                                                                                            .typeCode and/or .functionCode
                                                                                                                                            RoleIdCode
                                                                                                                                            FiveWs.who
                                                                                                                                            Agent.Attribution
                                                                                                                                            Provenance.agent.type
                                                                                                                                            ..... role
                                                                                                                                            .role
                                                                                                                                            RoleIdCode
                                                                                                                                            FiveWs.who
                                                                                                                                            Agent.Attribution
                                                                                                                                            Provenance.agent.role
                                                                                                                                            ..... who
                                                                                                                                            Event.performer.actor
                                                                                                                                            .id
                                                                                                                                            UserId
                                                                                                                                            FiveWs.who
                                                                                                                                            Agent.Identity
                                                                                                                                            Provenance.agent.who
                                                                                                                                            ..... altId
                                                                                                                                            .id (distinguish id type by root)
                                                                                                                                            AlternativeUserId
                                                                                                                                            FiveWs.who
                                                                                                                                            Agent.Identity
                                                                                                                                            ..... name
                                                                                                                                            .name
                                                                                                                                            UserName
                                                                                                                                            FiveWs.who
                                                                                                                                            Agent.Identity
                                                                                                                                            ..... requestor
                                                                                                                                            • If participation.typeCode was author
                                                                                                                                            • then true
                                                                                                                                            UserIsRequestor
                                                                                                                                            FiveWs.who
                                                                                                                                            ..... 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
                                                                                                                                            ..... policy
                                                                                                                                            ActPolicyType
                                                                                                                                            ParticipantRoleIDCode
                                                                                                                                            FiveWs.why[x]
                                                                                                                                            Provenance.policy
                                                                                                                                            ..... media
                                                                                                                                            .player.description.mediaType
                                                                                                                                            MediaType
                                                                                                                                            FiveWs.where[x]
                                                                                                                                            ..... network
                                                                                                                                            .player.description.reference
                                                                                                                                            FiveWs.where[x]
                                                                                                                                            ...... id
                                                                                                                                            n/a
                                                                                                                                            ...... extension
                                                                                                                                            n/a
                                                                                                                                            ...... modifierExtension
                                                                                                                                            N/A
                                                                                                                                            ...... address
                                                                                                                                            pre-coordinated into URL
                                                                                                                                            NetworkAccessPointID
                                                                                                                                            FiveWs.where[x]
                                                                                                                                            Agent.Location
                                                                                                                                            ...... type
                                                                                                                                            pre-coordinated into URL
                                                                                                                                            NetworkAccessPointTypeCode
                                                                                                                                            FiveWs.where[x]
                                                                                                                                            ..... purposeOfUse
                                                                                                                                            PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target
                                                                                                                                            FiveWs.why[x]
                                                                                                                                            Agent.Activity
                                                                                                                                            .... agent:ipAddress
                                                                                                                                            Event.performer
                                                                                                                                            .participation
                                                                                                                                            ActiveParticipant
                                                                                                                                            FiveWs.who
                                                                                                                                            Agent
                                                                                                                                            Provenance.agent
                                                                                                                                            ..... id
                                                                                                                                            n/a
                                                                                                                                            ..... extension
                                                                                                                                            n/a
                                                                                                                                            ..... modifierExtension
                                                                                                                                            N/A
                                                                                                                                            ..... type
                                                                                                                                            Event.performer.function
                                                                                                                                            .typeCode and/or .functionCode
                                                                                                                                            RoleIdCode
                                                                                                                                            FiveWs.who
                                                                                                                                            Agent.Attribution
                                                                                                                                            Provenance.agent.type
                                                                                                                                            ..... role
                                                                                                                                            .role
                                                                                                                                            RoleIdCode
                                                                                                                                            FiveWs.who
                                                                                                                                            Agent.Attribution
                                                                                                                                            Provenance.agent.role
                                                                                                                                            ..... who
                                                                                                                                            Event.performer.actor
                                                                                                                                            .id
                                                                                                                                            UserId
                                                                                                                                            FiveWs.who
                                                                                                                                            Agent.Identity
                                                                                                                                            Provenance.agent.who
                                                                                                                                            ..... altId
                                                                                                                                            .id (distinguish id type by root)
                                                                                                                                            AlternativeUserId
                                                                                                                                            FiveWs.who
                                                                                                                                            Agent.Identity
                                                                                                                                            ..... name
                                                                                                                                            .name
                                                                                                                                            UserName
                                                                                                                                            FiveWs.who
                                                                                                                                            Agent.Identity
                                                                                                                                            ..... requestor
                                                                                                                                            • If participation.typeCode was author
                                                                                                                                            • then true
                                                                                                                                            UserIsRequestor
                                                                                                                                            FiveWs.who
                                                                                                                                            ..... 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
                                                                                                                                            ..... policy
                                                                                                                                            ActPolicyType
                                                                                                                                            ParticipantRoleIDCode
                                                                                                                                            FiveWs.why[x]
                                                                                                                                            Provenance.policy
                                                                                                                                            ..... media
                                                                                                                                            .player.description.mediaType
                                                                                                                                            MediaType
                                                                                                                                            FiveWs.where[x]
                                                                                                                                            ..... network
                                                                                                                                            .player.description.reference
                                                                                                                                            FiveWs.where[x]
                                                                                                                                            ...... id
                                                                                                                                            n/a
                                                                                                                                            ...... extension
                                                                                                                                            n/a
                                                                                                                                            ...... modifierExtension
                                                                                                                                            N/A
                                                                                                                                            ...... address
                                                                                                                                            pre-coordinated into URL
                                                                                                                                            NetworkAccessPointID
                                                                                                                                            FiveWs.where[x]
                                                                                                                                            Agent.Location
                                                                                                                                            ...... type
                                                                                                                                            pre-coordinated into URL
                                                                                                                                            NetworkAccessPointTypeCode
                                                                                                                                            FiveWs.where[x]
                                                                                                                                            ..... purposeOfUse
                                                                                                                                            PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target
                                                                                                                                            FiveWs.why[x]
                                                                                                                                            Agent.Activity
                                                                                                                                            ... source
                                                                                                                                            • .participation[typeCode=INF].role[classCode=ASSIGN].player[classCode=DEV
                                                                                                                                            • determinerCode=INSTANCE]
                                                                                                                                            AuditSourceIdentification
                                                                                                                                            FiveWs.witness
                                                                                                                                            .... id
                                                                                                                                            n/a
                                                                                                                                            .... extension
                                                                                                                                            n/a
                                                                                                                                            .... modifierExtension
                                                                                                                                            N/A
                                                                                                                                            .... site
                                                                                                                                            .scopedRole[classCode=LOCE].player.desc
                                                                                                                                            AuditEnterpriseSiteId
                                                                                                                                            FiveWs.witness
                                                                                                                                            .... observer
                                                                                                                                            .id
                                                                                                                                            AuditSourceId
                                                                                                                                            FiveWs.witness
                                                                                                                                            .... type
                                                                                                                                            .code
                                                                                                                                            AuditSourceTypeCode
                                                                                                                                            FiveWs.witness
                                                                                                                                            ... entity
                                                                                                                                            .outboundRelationship[typeCode=SUBJ].target or .participation[typeCode=SBJ].role
                                                                                                                                            ParticipantObjectIdentification
                                                                                                                                            FiveWs.what[x]
                                                                                                                                            Entity
                                                                                                                                            • Provenance.target
                                                                                                                                            • Provenance.entity
                                                                                                                                            .... id
                                                                                                                                            n/a
                                                                                                                                            .... extension
                                                                                                                                            n/a
                                                                                                                                            .... modifierExtension
                                                                                                                                            N/A
                                                                                                                                            .... what
                                                                                                                                            .id
                                                                                                                                            ParticipantObjectID and ParticipantObjectIDTypeCode
                                                                                                                                            FiveWs.what[x]
                                                                                                                                            • Provenance.target
                                                                                                                                            • Provenance.entity.what
                                                                                                                                            .... type
                                                                                                                                            :Act].code or role.player.code
                                                                                                                                            ParticipantObjectTypeCode
                                                                                                                                            FiveWs.what[x]
                                                                                                                                            Entity.type
                                                                                                                                            Provenance.entity.type
                                                                                                                                            .... role
                                                                                                                                            role.code (not sure what this would mean for an Act)
                                                                                                                                            ParticipantObjectTypeCodeRole
                                                                                                                                            FiveWs.context
                                                                                                                                            Entity.role
                                                                                                                                            .... lifecycle
                                                                                                                                            target of ObservationEvent[code="lifecycle"].value
                                                                                                                                            ParticipantObjectDataLifeCycle
                                                                                                                                            FiveWs.context
                                                                                                                                            Entity.role
                                                                                                                                            Provenance.entity.role
                                                                                                                                            .... securityLabel
                                                                                                                                            .confidentialityCode
                                                                                                                                            ParticipantObjectSensitivity
                                                                                                                                            FiveWs.context
                                                                                                                                            .... name
                                                                                                                                            .title
                                                                                                                                            ParticipantObjectName
                                                                                                                                            FiveWs.context
                                                                                                                                            Entity.Label
                                                                                                                                            .... description
                                                                                                                                            .text
                                                                                                                                            ParticipantObjectDescription
                                                                                                                                            FiveWs.context
                                                                                                                                            .... query
                                                                                                                                            No mapping
                                                                                                                                            ParticipantObjectQuery
                                                                                                                                            FiveWs.context
                                                                                                                                            .... detail
                                                                                                                                            • .inboundRelationship[typeCode=SUBJ].target[classCode=OBS
                                                                                                                                            • moodCode=EVN]
                                                                                                                                            ParticipantObjectDetail
                                                                                                                                            FiveWs.context
                                                                                                                                            ..... id
                                                                                                                                            n/a
                                                                                                                                            ..... extension
                                                                                                                                            n/a
                                                                                                                                            ..... modifierExtension
                                                                                                                                            N/A
                                                                                                                                            ..... type
                                                                                                                                            .code
                                                                                                                                            ParticipantObjectDetail.type
                                                                                                                                            FiveWs.context
                                                                                                                                            ..... value[x]
                                                                                                                                            .value
                                                                                                                                            ParticipantObjectDetail.value
                                                                                                                                            FiveWs.context

                                                                                                                                            doco Documentation for this format