StructureDefinition: DocumentAuditEvent - Mappings

Mappings for Mapping to CH:ATC (https://www.bag.admin.ch/bag/en/home.html)

DocumentAuditEvent
AuditEvent
   subtype (DocumentAuditEventType)Event Type
   recordedEvent Date and Time
   purposeOfEventPurposeOfUse
   agentParticipants
      rolerole (PAT, HCP, ASS, REP, GRP, TCU, DADM)
      userIdapplicable identifier
      nameName
      requestorif participant is Initiator
   entity
   entity (Patient)Patient
      identifierEPR-SPID
   entity (Document)Document
      identifieruniqueId
      detail (repositoryUniqueId)repositoryUniqueId
      detail (homeCommunityID)homeCommunityID
      detail (EprDocumentTypeCode)typeCode

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

DocumentAuditEvent
AuditEventMessage
   typeEventId
   subtypeEventTypeCode
   subtype (DocumentAuditEventType)EventTypeCode
   actionEventActionCode
   recordedEventDateTime
   outcomeEventOutcomeIndicator
   outcomeDescEventOutcomeDescription
   purposeOfEventEventPurposeOfUse
   agentActiveParticipant
      roleRoleIdCode
      userIdUserId
      altIdAlternativeUserId
      nameUserName
      requestorUserIsRequestor
      policyParticipantRoleIDCode
      mediaMediaType
      network
         addressNetworkAccessPointID
         typeNetworkAccessPointTypeCode
   sourceAuditSourceIdentification
      siteAuditEnterpriseSiteId
      identifierAuditSourceId
      typeAuditSourceTypeCode
   entityParticipantObjectIdentification
      identifierParticipantObjectID and ParticipantObjectIDTypeCode
      referenceParticipantObjectID
      typeParticipantObjectTypeCode
      roleParticipantObjectTypeCodeRole
      lifecycleParticipantObjectDataLifeCycle
      securityLabelParticipantObjectSensitivity
      nameParticipantObjectName
      descriptionParticipantObjectDescription
      queryParticipantObjectQuery
      detailParticipantObjectDetail
         typeParticipantObjectDetail.type
         valueParticipantObjectDetail.value
   entity (Patient)ParticipantObjectIdentification
      identifierParticipantObjectID and ParticipantObjectIDTypeCode
      referenceParticipantObjectID
      typeParticipantObjectTypeCode
      roleParticipantObjectTypeCodeRole
      lifecycleParticipantObjectDataLifeCycle
      securityLabelParticipantObjectSensitivity
      nameParticipantObjectName
      descriptionParticipantObjectDescription
      queryParticipantObjectQuery
      detailParticipantObjectDetail
         typeParticipantObjectDetail.type
         valueParticipantObjectDetail.value
   entity (Document)ParticipantObjectIdentification
      identifierParticipantObjectID and ParticipantObjectIDTypeCode
      referenceParticipantObjectID
      typeParticipantObjectTypeCode
      roleParticipantObjectTypeCodeRole
      lifecycleParticipantObjectDataLifeCycle
      securityLabelParticipantObjectSensitivity
      nameParticipantObjectName
      descriptionParticipantObjectDescription
      queryParticipantObjectQuery
      detailParticipantObjectDetail
         typeParticipantObjectDetail.type
         valueParticipantObjectDetail.value
      detail (repositoryUniqueId)ParticipantObjectDetail
         typeParticipantObjectDetail.type
         valueParticipantObjectDetail.value
      detail (homeCommunityID)ParticipantObjectDetail
         typeParticipantObjectDetail.type
         valueParticipantObjectDetail.value
      detail (EprDocumentTypeCode)ParticipantObjectDetail
         typeParticipantObjectDetail.type
         valueParticipantObjectDetail.value

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

DocumentAuditEvent
AuditEventEntity. Role, or Act
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   type.code (type, subtype and action are pre-coordinated or sent as translations)
   subtype.code (type, subtype and action are pre-coordinated or sent as translations)
   subtype (DocumentAuditEventType).code (type, subtype and action are pre-coordinated or sent as translations)
      idn/a
      extensionn/a
      system./codeSystem
      version./codeSystemVersion
      code./code
      displayCV.displayName
      userSelectedCD.codingRationale
   action.code (type, subtype and action are pre-coordinated or sent as translations)
   recorded.effectiveTime
   outcome.actionNegationInd
   outcomeDesc.outboundRelationship[typeCode=OUT].target.text
   purposeOfEvent* .reasonCode [ControlActReason when Act.class = CACT Control Act] *.outboundRelationship[typeCode=RSON].target
   agent.participation
      idn/a
      extensionn/a
      modifierExtensionN/A
      role.role and/or .typeCode and/or .functionCode
      reference.id
      userId.id
      altId.id (distinguish id type by root)
      name.name
      requestorIf 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 may or may not be constant.
      policyActPolicyType
      media.player.description.mediaType
      network.player.description.reference
         idn/a
         extensionn/a
         modifierExtensionN/A
         addresspre-coordinated into URL
         typepre-coordinated into URL
      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]
      idn/a
      extensionn/a
      modifierExtensionN/A
      site.scopedRole[classCode=LOCE].player.desc
      identifier.id
      type.code
   entity.outboundRelationship[typeCode=SUBJ].target or .participation[typeCode=SBJ].role
      idn/a
      extensionn/a
      modifierExtensionN/A
      identifier.id.extension
      reference[self]
      type[self::Act].code or role.player.code
      rolerole.code (not sure what this would mean for an Act)
      lifecycletarget of ObservationEvent[code="lifecycle"].value
      securityLabel.confidentialityCode
      name.title
      description.text
      queryNo mapping
      detail.inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]
         idn/a
         extensionn/a
         modifierExtensionN/A
         type.code
         value.value
   entity (Patient).outboundRelationship[typeCode=SUBJ].target or .participation[typeCode=SBJ].role
      idn/a
      extensionn/a
      modifierExtensionN/A
      identifier.id.extension
         idn/a
         extensionn/a
         useRole.code or implied by context
         typeRole.code or implied by context
         systemII.root or Role.id.root
         valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
         periodRole.effectiveTime or implied by context
         assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
      reference[self]
      type[self::Act].code or role.player.code
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      rolerole.code (not sure what this would mean for an Act)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      lifecycletarget of ObservationEvent[code="lifecycle"].value
      securityLabel.confidentialityCode
      name.title
      description.text
      queryNo mapping
      detail.inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]
         idn/a
         extensionn/a
         modifierExtensionN/A
         type.code
         value.value
   entity (Document).outboundRelationship[typeCode=SUBJ].target or .participation[typeCode=SBJ].role
      idn/a
      extensionn/a
      modifierExtensionN/A
      identifier.id.extension
      reference[self]
      type[self::Act].code or role.player.code
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      rolerole.code (not sure what this would mean for an Act)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      lifecycletarget of ObservationEvent[code="lifecycle"].value
      securityLabel.confidentialityCode
      name.title
      description.text
      queryNo mapping
      detail.inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]
         idn/a
         extensionn/a
         modifierExtensionN/A
         type.code
         value.value
      detail (repositoryUniqueId).inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]
         idn/a
         extensionn/a
         modifierExtensionN/A
         type.code
         value.value
      detail (homeCommunityID).inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]
         idn/a
         extensionn/a
         modifierExtensionN/A
         type.code
         value.value
      detail (EprDocumentTypeCode).inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]
         idn/a
         extensionn/a
         modifierExtensionN/A
         type.code
         value.value

Mappings for W5 Mapping (http://hl7.org/fhir/w5)

DocumentAuditEvent
AuditEventinfrastructure.information
   typewhat
   subtypewhat
   subtype (DocumentAuditEventType)what
   actionwhat
   recordedwhen.recorded
   outcomewhat
   outcomeDescwhat
   purposeOfEventwhy
   agentwho
      rolewho
      referencewho
      userIdwho
      altIdwho
      namewho
      requestorwho
      locationwhere
      policywhy
      mediawhere
      networkwhere
         addresswhere
         typewhere
      purposeOfUsewhy
   sourcewho.witness
      sitewho.witness
      identifierwho.witness
      typewho.witness
   entitywhat
      identifierwhat
      referencewhat
      typewhat
      rolecontext
      lifecyclecontext
      securityLabelcontext
      namecontext
      descriptioncontext
      querycontext
      detailcontext
         typecontext
         valuecontext
   entity (Patient)what
      identifierwhat
      referencewhat
      typewhat
      rolecontext
      lifecyclecontext
      securityLabelcontext
      namecontext
      descriptioncontext
      querycontext
      detailcontext
         typecontext
         valuecontext
   entity (Document)what
      identifierwhat
      referencewhat
      typewhat
      rolecontext
      lifecyclecontext
      securityLabelcontext
      namecontext
      descriptioncontext
      querycontext
      detailcontext
         typecontext
         valuecontext
      detail (repositoryUniqueId)context
         typecontext
         valuecontext
      detail (homeCommunityID)context
         typecontext
         valuecontext
      detail (EprDocumentTypeCode)context
         typecontext
         valuecontext

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

DocumentAuditEvent
AuditEvent
   typeActivity
   recordedActivity.when
   purposeOfEventActivity.Activity
   agentAgent
      roleAgent.Attribution
      referenceAgent.Identity
      userIdAgent.Identity
      altIdAgent.Identity
      nameAgent.Identity
      locationActivity.location
      network
         addressAgent.Location
      purposeOfUseAgent.Activity
   entityEntity
      typeEntity.type
      roleEntity.role
      lifecycleEntity.role
      nameEntity.Label
   entity (Patient)Entity
      typeEntity.type
      roleEntity.role
      lifecycleEntity.role
      nameEntity.Label
   entity (Document)Entity
      typeEntity.type
      roleEntity.role
      lifecycleEntity.role
      nameEntity.Label

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

DocumentAuditEvent
AuditEvent
   recordedProvenance.recorded
   purposeOfEventProvenance.reason, Provenance.activity
   agentProvenance.agent
      roleProvenance.agent.role
      referenceProvenance.agent.actor
      userIdProvenance.agent.userId
      locationProvenance.location
      policyProvenance.policy
   entityProvenance.target, Provenance.entity
      referenceProvenance.target, Provenance.entity.reference
      typeProvenance.entity.type
      lifecycleProvenance.entity.role
   entity (Patient)Provenance.target, Provenance.entity
      referenceProvenance.target, Provenance.entity.reference
      typeProvenance.entity.type
      lifecycleProvenance.entity.role
   entity (Document)Provenance.target, Provenance.entity
      referenceProvenance.target, Provenance.entity.reference
      typeProvenance.entity.type
      lifecycleProvenance.entity.role