Implementation Guide
ePA Basisfunktionalitäten
Version 1.0.6-2 - release

## Resource Profile: EPAAuditEvent - Mappings

Active as of 2025-05-12

Mappings for the epa-auditevent resource profile.

### Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

EPAAuditEvent
AuditEvent | Event
type | Event.code
purposeOfEvent | Event.reasonCode
agent | Event.performer
type | Event.performer.function
who | Event.performer.actor
location | Event.location
agent (user) | Event.performer
type | Event.performer.function
who | Event.performer.actor
agent (client) | Event.performer
type | Event.performer.function
who | Event.performer.actor
agent (internal) | Event.performer
type | Event.performer.function
who | Event.performer.actor

### Mappings for RIM Mapping (http://hl7.org/v3)

EPAAuditEvent
AuditEvent | Entity. Role, or Act, ControlAct[moodCode=EVN]
text | Act.text?
contained | N/A
extension | N/A
modifierExtension | N/A
type | .code (type, subtype and action are pre-coordinated or sent as translations)
action | .code (type, subtype and action are pre-coordinated or sent as translations)
recorded | .effectiveTime
outcome | .actionNegationInd
purposeOfEvent | * .reasonCode [ControlActReason when Act.class = CACT Control Act] *.outboundRelationship[typeCode=RSON].target
agent | .participation
id | n/a
extension | n/a
modifierExtension | N/A
type | .typeCode and/or .functionCode
role | .role
who | .id
altId | .id (distinguish id type by root)
name | .name
requestor | If participation.typeCode was author, then true
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.
policy | ActPolicyType
media | .player.description.mediaType
network | .player.description.reference
id | n/a
extension | n/a
modifierExtension | N/A
address | pre-coordinated into URL
type | pre-coordinated into URL
purposeOfUse | *.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target
agent (user) | .participation
id | n/a
modifierExtension | N/A
type | .typeCode and/or .functionCode
role | .role
id | n/a
extension | n/a
coding | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
who | .id
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
altId | .id (distinguish id type by root)
name | .name
requestor | If participation.typeCode was author, then true
purposeOfUse | *.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target
agent (client) | .participation
id | n/a
extension | n/a
modifierExtension | N/A
type | .typeCode and/or .functionCode
role | .role
who | .id
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
altId | .id (distinguish id type by root)
name | .name
requestor | If participation.typeCode was author, then true
purposeOfUse | *.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target
agent (internal) | .participation
id | n/a
extension | n/a
modifierExtension | N/A
type | .typeCode and/or .functionCode
who | .id
altId | .id (distinguish id type by root)
name | .name
requestor | If participation.typeCode was author, then true
purposeOfUse | *.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target
source | .participation[typeCode=INF].role[classCode=ASSIGN].player[classCode=DEV, determinerCode=INSTANCE]
id | n/a
extension | n/a
modifierExtension | N/A
site | .scopedRole[classCode=LOCE].player.desc
observer | .id
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
type | .code
entity | .outboundRelationship[typeCode=SUBJ].target or .participation[typeCode=SBJ].role
id | n/a
extension | n/a
modifierExtension | N/A
name | .title
description | .text
detail | .inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]
id | n/a
extension | n/a
modifierExtension | N/A
type | .code
value[x] | .value
value[x] (valueString) | .value

### Mappings for DICOM Tag Mapping (http://nema.org/dicom)

EPAAuditEvent
AuditEvent | Message
type | EventId
action | EventActionCode
outcome | EventOutcomeIndicator
purposeOfEvent | EventPurposeOfUse
agent | ActiveParticipant
type | RoleIdCode
role | RoleIdCode
who | UserId
altId | AlternativeUserId
name | UserName
requestor | UserIsRequestor
policy | ParticipantRoleIDCode
media | MediaType
network |
address | NetworkAccessPointID
type | NetworkAccessPointTypeCode
agent (user) | ActiveParticipant
type | RoleIdCode
role | RoleIdCode
who | UserId
altId | AlternativeUserId
name | UserName
requestor | UserIsRequestor
agent (client) | ActiveParticipant
type | RoleIdCode
role | RoleIdCode
who | UserId
altId | AlternativeUserId
name | UserName
requestor | UserIsRequestor
agent (internal) | ActiveParticipant
type | RoleIdCode
who | UserId
altId | AlternativeUserId
name | UserName
requestor | UserIsRequestor
source | AuditSourceIdentification
site | AuditEnterpriseSiteId
observer | AuditSourceId
type | AuditSourceTypeCode
entity | ParticipantObjectIdentification
name | ParticipantObjectName
description | ParticipantObjectDescription
detail | ParticipantObjectDetail
type | ParticipantObjectDetail.type
value[x] | ParticipantObjectDetail.value
value[x] (valueString) | ParticipantObjectDetail.value

### Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

EPAAuditEvent
AuditEvent |
type | FiveWs.what[x]
action | FiveWs.what[x]
recorded | FiveWs.recorded
outcome | FiveWs.what[x]
purposeOfEvent | FiveWs.why[x]
agent | FiveWs.who
type | FiveWs.who
role | FiveWs.who
who | FiveWs.who
altId | FiveWs.who
name | FiveWs.who
requestor | FiveWs.who
location | FiveWs.where[x]
policy | FiveWs.why[x]
media | FiveWs.where[x]
network | FiveWs.where[x]
address | FiveWs.where[x]
type | FiveWs.where[x]
purposeOfUse | FiveWs.why[x]
agent (user) | FiveWs.who
type | FiveWs.who
role | FiveWs.who
who | FiveWs.who
altId | FiveWs.who
name | FiveWs.who
requestor | FiveWs.who
purposeOfUse | FiveWs.why[x]
agent (client) | FiveWs.who
type | FiveWs.who
role | FiveWs.who
who | FiveWs.who
altId | FiveWs.who
name | FiveWs.who
requestor | FiveWs.who
purposeOfUse | FiveWs.why[x]
agent (internal) | FiveWs.who
type | FiveWs.who
who | FiveWs.who
altId | FiveWs.who
name | FiveWs.who
requestor | FiveWs.who
purposeOfUse | FiveWs.why[x]
source | FiveWs.witness
site | FiveWs.witness
observer | FiveWs.witness
type | FiveWs.witness
entity | FiveWs.what[x]
name | FiveWs.context
description | FiveWs.context
detail | FiveWs.context
type | FiveWs.context
value[x] | FiveWs.context
value[x] (valueString) | FiveWs.context

### Mappings for W3C PROV (http://www.w3.org/ns/prov)

EPAAuditEvent
AuditEvent |
type | Activity
recorded | Activity.when
purposeOfEvent | Activity.Activity
agent | Agent
type | Agent.Attribution
role | Agent.Attribution
who | Agent.Identity
altId | Agent.Identity
name | Agent.Identity
location | Activity.location
network |
address | Agent.Location
purposeOfUse | Agent.Activity
agent (user) | Agent
type | Agent.Attribution
role | Agent.Attribution
who | Agent.Identity
altId | Agent.Identity
name | Agent.Identity
purposeOfUse | Agent.Activity
agent (client) | Agent
type | Agent.Attribution
role | Agent.Attribution
who | Agent.Identity
altId | Agent.Identity
name | Agent.Identity
purposeOfUse | Agent.Activity
agent (internal) | Agent
type | Agent.Attribution
who | Agent.Identity
altId | Agent.Identity
name | Agent.Identity
purposeOfUse | Agent.Activity
entity | Entity
name | Entity.Label

### Mappings for FHIR Provenance Mapping (http://hl7.org/fhir/provenance)

EPAAuditEvent
AuditEvent |
recorded | Provenance.recorded
purposeOfEvent | Provenance.reason, Provenance.activity
agent | Provenance.agent
type | Provenance.agent.type
role | Provenance.agent.role
who | Provenance.agent.who
location | Provenance.location
policy | Provenance.policy
agent (user) | Provenance.agent
type | Provenance.agent.type
role | Provenance.agent.role
who | Provenance.agent.who
agent (client) | Provenance.agent
type | Provenance.agent.type
role | Provenance.agent.role
who | Provenance.agent.who
agent (internal) | Provenance.agent
type | Provenance.agent.type
who | Provenance.agent.who
entity | Provenance.target, Provenance.entity