Implementation Guide
ePA Audit Event Service
Version 1.0.5-ballot.1 - draft

Resource Profile: EPAAuditEvent - Mappings

Draft as of 2025-02-14

Mappings for the epa-auditevent resource profile.

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

EPAAuditEvent
AuditEventEvent
   typeEvent.code
   purposeOfEventEvent.reasonCode
   agentEvent.performer
      typeEvent.performer.function
      whoEvent.performer.actor
      locationEvent.location
   agent (user)Event.performer
      typeEvent.performer.function
      whoEvent.performer.actor
   agent (client)Event.performer
      typeEvent.performer.function
      whoEvent.performer.actor
   agent (internal)Event.performer
      typeEvent.performer.function
      whoEvent.performer.actor

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

EPAAuditEvent
AuditEventEntity. Role, or Act, ControlAct[moodCode=EVN]
   metan/a, N/A
   implicitRulesn/a
   languagen/a
   textn/a, N/A, Act.text?
   containedEntity. Role, or Act, N/A
   extensionn/a, N/A
   modifierExtensionn/a, N/A
   typen/a, CV, .code (type, subtype and action are pre-coordinated or sent as translations)
   actionn/a, .code (type, subtype and action are pre-coordinated or sent as translations)
   recordedn/a, .effectiveTime
   outcomen/a, .actionNegationInd
   purposeOfEventn/a, CD, * .reasonCode [ControlActReason when Act.class = CACT Control Act] *.outboundRelationship[typeCode=RSON].target
   agentn/a, .participation
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      typen/a, CD, .typeCode and/or .functionCode
      rolen/a, CD, .role
      whon/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .id
      altIdn/a, .id (distinguish id type by root)
      namen/a, .name
      requestorn/a, If participation.typeCode was author, then true
      locationn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), * 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.
      policyn/a, ActPolicyType
      median/a, CV, .player.description.mediaType
      networkn/a, .player.description.reference
         idn/a
         extensionn/a, N/A
         modifierExtensionn/a, N/A
         addressn/a, pre-coordinated into URL
         typen/a, pre-coordinated into URL
      purposeOfUsen/a, CD, *.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target
   agent (user)n/a, .participation
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      typen/a, CD, .typeCode and/or .functionCode
      rolen/a, CD, .role
         idn/a
         extensionn/a, N/A
         codingn/a, CV, union(., ./translation)
            idn/a
            extensionn/a, N/A
            systemn/a, ./codeSystem
            versionn/a, ./codeSystemVersion
            coden/a, ./code
            displayn/a, CV.displayName
            userSelectedn/a, CD.codingRationale
         textn/a, ./originalText[mediaType/code="text/plain"]/data
      whon/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .id
         idn/a
         extensionn/a, N/A
         referencen/a, N/A
         typen/a, N/A
         identifiern/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .identifier
         displayn/a, N/A
      altIdn/a, .id (distinguish id type by root)
      namen/a, .name
      requestorn/a, If participation.typeCode was author, then true
      purposeOfUsen/a, CD, *.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target
   agent (client)n/a, .participation
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      typen/a, CD, .typeCode and/or .functionCode
      rolen/a, CD, .role
      whon/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .id
         idn/a
         extensionn/a, N/A
         referencen/a, N/A
         typen/a, N/A
         identifiern/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .identifier
         displayn/a, N/A
      altIdn/a, .id (distinguish id type by root)
      namen/a, .name
      requestorn/a, If participation.typeCode was author, then true
      purposeOfUsen/a, CD, *.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target
   agent (internal)n/a, .participation
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      typen/a, CD, .typeCode and/or .functionCode
      whon/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .id
      altIdn/a, .id (distinguish id type by root)
      namen/a, .name
      requestorn/a, If participation.typeCode was author, then true
      purposeOfUsen/a, CD, *.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target
   sourcen/a, .participation[typeCode=INF].role[classCode=ASSIGN].player[classCode=DEV, determinerCode=INSTANCE]
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      siten/a, .scopedRole[classCode=LOCE].player.desc
      observern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .id
         idn/a
         extensionn/a, N/A
         referencen/a, N/A
         typen/a, N/A
         identifiern/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .identifier
         displayn/a, N/A
      typen/a, CV, .code
   entityn/a, .outboundRelationship[typeCode=SUBJ].target or .participation[typeCode=SBJ].role
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      namen/a, .title
      descriptionn/a, .text
      detailn/a, .inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]
         idn/a
         extensionn/a, N/A
         modifierExtensionn/a, N/A
         typen/a, .code
         value[x]n/a, .value
         value[x] (valueString)n/a, .value

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

EPAAuditEvent
AuditEventMessage
   typeEventId
   actionEventActionCode
   outcomeEventOutcomeIndicator
   purposeOfEventEventPurposeOfUse
   agentActiveParticipant
      typeRoleIdCode
      roleRoleIdCode
      whoUserId
      altIdAlternativeUserId
      nameUserName
      requestorUserIsRequestor
      policyParticipantRoleIDCode
      mediaMediaType
      network
         addressNetworkAccessPointID
         typeNetworkAccessPointTypeCode
   agent (user)ActiveParticipant
      typeRoleIdCode
      roleRoleIdCode
      whoUserId
      altIdAlternativeUserId
      nameUserName
      requestorUserIsRequestor
   agent (client)ActiveParticipant
      typeRoleIdCode
      roleRoleIdCode
      whoUserId
      altIdAlternativeUserId
      nameUserName
      requestorUserIsRequestor
   agent (internal)ActiveParticipant
      typeRoleIdCode
      whoUserId
      altIdAlternativeUserId
      nameUserName
      requestorUserIsRequestor
   sourceAuditSourceIdentification
      siteAuditEnterpriseSiteId
      observerAuditSourceId
      typeAuditSourceTypeCode
   entityParticipantObjectIdentification
      nameParticipantObjectName
      descriptionParticipantObjectDescription
      detailParticipantObjectDetail
         typeParticipantObjectDetail.type
         value[x]ParticipantObjectDetail.value
         value[x] (valueString)ParticipantObjectDetail.value

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

EPAAuditEvent
AuditEvent
   typeFiveWs.what[x]
   actionFiveWs.what[x]
   recordedFiveWs.recorded
   outcomeFiveWs.what[x]
   purposeOfEventFiveWs.why[x]
   agentFiveWs.who
      typeFiveWs.who
      roleFiveWs.who
      whoFiveWs.who
      altIdFiveWs.who
      nameFiveWs.who
      requestorFiveWs.who
      locationFiveWs.where[x]
      policyFiveWs.why[x]
      mediaFiveWs.where[x]
      networkFiveWs.where[x]
         addressFiveWs.where[x]
         typeFiveWs.where[x]
      purposeOfUseFiveWs.why[x]
   agent (user)FiveWs.who
      typeFiveWs.who
      roleFiveWs.who
      whoFiveWs.who
      altIdFiveWs.who
      nameFiveWs.who
      requestorFiveWs.who
      purposeOfUseFiveWs.why[x]
   agent (client)FiveWs.who
      typeFiveWs.who
      roleFiveWs.who
      whoFiveWs.who
      altIdFiveWs.who
      nameFiveWs.who
      requestorFiveWs.who
      purposeOfUseFiveWs.why[x]
   agent (internal)FiveWs.who
      typeFiveWs.who
      whoFiveWs.who
      altIdFiveWs.who
      nameFiveWs.who
      requestorFiveWs.who
      purposeOfUseFiveWs.why[x]
   sourceFiveWs.witness
      siteFiveWs.witness
      observerFiveWs.witness
      typeFiveWs.witness
   entityFiveWs.what[x]
      nameFiveWs.context
      descriptionFiveWs.context
      detailFiveWs.context
         typeFiveWs.context
         value[x]FiveWs.context
         value[x] (valueString)FiveWs.context

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

EPAAuditEvent
AuditEvent
   typeActivity
   recordedActivity.when
   purposeOfEventActivity.Activity
   agentAgent
      typeAgent.Attribution
      roleAgent.Attribution
      whoAgent.Identity
      altIdAgent.Identity
      nameAgent.Identity
      locationActivity.location
      network
         addressAgent.Location
      purposeOfUseAgent.Activity
   agent (user)Agent
      typeAgent.Attribution
      roleAgent.Attribution
      whoAgent.Identity
      altIdAgent.Identity
      nameAgent.Identity
      purposeOfUseAgent.Activity
   agent (client)Agent
      typeAgent.Attribution
      roleAgent.Attribution
      whoAgent.Identity
      altIdAgent.Identity
      nameAgent.Identity
      purposeOfUseAgent.Activity
   agent (internal)Agent
      typeAgent.Attribution
      whoAgent.Identity
      altIdAgent.Identity
      nameAgent.Identity
      purposeOfUseAgent.Activity
   entityEntity
      nameEntity.Label

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

EPAAuditEvent
AuditEvent
   recordedProvenance.recorded
   purposeOfEventProvenance.reason, Provenance.activity
   agentProvenance.agent
      typeProvenance.agent.type
      roleProvenance.agent.role
      whoProvenance.agent.who
      locationProvenance.location
      policyProvenance.policy
   agent (user)Provenance.agent
      typeProvenance.agent.type
      roleProvenance.agent.role
      whoProvenance.agent.who
   agent (client)Provenance.agent
      typeProvenance.agent.type
      roleProvenance.agent.role
      whoProvenance.agent.who
   agent (internal)Provenance.agent
      typeProvenance.agent.type
      whoProvenance.agent.who
   entityProvenance.target, Provenance.entity