CH EPR FHIR (R4)
4.0.1-ci-build - ci-build Switzerland flag

CH EPR FHIR (R4), published by eHealth Suisse. This guide is not an authorized publication; it is the continuous build for version 4.0.1-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/ehealthsuisse/ch-epr-fhir/ and changes regularly. See the Directory of published versions

Resource Profile: AuditUpdateDocumentMetadataSource - Mappings

Active as of 2024-10-29

Mappings for the ch-mhd-updatedocumentmetadata-audit-source resource profile.

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

AuditUpdateDocumentMetadataSource
AuditEventEvent
   typeEvent.code
   periodEvent.occurred[x]
   purposeOfEventEvent.reasonCode
   agentEvent.performer
      typeEvent.performer.function
      whoEvent.performer.actor
      locationEvent.location
   agent (documentSource)Event.performer
      typeEvent.performer.function
      whoEvent.performer.actor
      locationEvent.location
   agent (documentRecipient)Event.performer
      typeEvent.performer.function
      whoEvent.performer.actor
      locationEvent.location

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

AuditUpdateDocumentMetadataSource
AuditEventEntity. Role, or Act, ControlAct[moodCode=EVN]
   textAct.text?
   containedN/A
   extensionN/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 (chmhd1).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)
   period./effectiveTime[type=IVL_TS]
   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
      type.typeCode and/or .functionCode
      role.role
      who.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 might or might 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
   agent (documentSource).participation
      idn/a
      extensionn/a
      modifierExtensionN/A
      type.typeCode and/or .functionCode
      role.role
      who.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 might or might 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
   agent (documentRecipient).participation
      idn/a
      extensionn/a
      modifierExtensionN/A
      type.typeCode and/or .functionCode
      role.role
      who.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 might or might 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
      observer.id
      type.code
   entity.outboundRelationship[typeCode=SUBJ].target or .participation[typeCode=SBJ].role
      idn/a
      extensionn/a
      modifierExtensionN/A
      what.id
      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[x].value
   entity (patient).outboundRelationship[typeCode=SUBJ].target or .participation[typeCode=SBJ].role
      idn/a
      extensionn/a
      modifierExtensionN/A
      what.id
      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[x].value
   entity (documentReference).outboundRelationship[typeCode=SUBJ].target or .participation[typeCode=SBJ].role
      idn/a
      extensionn/a
      modifierExtensionN/A
      what.id
      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[x].value

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

AuditUpdateDocumentMetadataSource
AuditEventMessage
   typeEventId
   subtypeEventTypeCode
   subtype (chmhd1)EventTypeCode
   actionEventActionCode
   periodEventDateTime
   outcomeEventOutcomeIndicator
   outcomeDescEventOutcomeDescription
   purposeOfEventEventPurposeOfUse
   agentActiveParticipant
      typeRoleIdCode
      roleRoleIdCode
      whoUserId
      altIdAlternativeUserId
      nameUserName
      requestorUserIsRequestor
      policyParticipantRoleIDCode
      mediaMediaType
      network
         addressNetworkAccessPointID
         typeNetworkAccessPointTypeCode
   agent (documentSource)ActiveParticipant
      typeRoleIdCode
      roleRoleIdCode
      whoUserId
      altIdAlternativeUserId
      nameUserName
      requestorUserIsRequestor
      policyParticipantRoleIDCode
      mediaMediaType
      network
         addressNetworkAccessPointID
         typeNetworkAccessPointTypeCode
   agent (documentRecipient)ActiveParticipant
      typeRoleIdCode
      roleRoleIdCode
      whoUserId
      altIdAlternativeUserId
      nameUserName
      requestorUserIsRequestor
      policyParticipantRoleIDCode
      mediaMediaType
      network
         addressNetworkAccessPointID
         typeNetworkAccessPointTypeCode
   sourceAuditSourceIdentification
      siteAuditEnterpriseSiteId
      observerAuditSourceId
      typeAuditSourceTypeCode
   entityParticipantObjectIdentification
      whatParticipantObjectID and ParticipantObjectIDTypeCode
      typeParticipantObjectTypeCode
      roleParticipantObjectTypeCodeRole
      lifecycleParticipantObjectDataLifeCycle
      securityLabelParticipantObjectSensitivity
      nameParticipantObjectName
      descriptionParticipantObjectDescription
      queryParticipantObjectQuery
      detailParticipantObjectDetail
         typeParticipantObjectDetail.type
         value[x]ParticipantObjectDetail.value
   entity (patient)ParticipantObjectIdentification
      whatParticipantObjectID and ParticipantObjectIDTypeCode
      typeParticipantObjectTypeCode
      roleParticipantObjectTypeCodeRole
      lifecycleParticipantObjectDataLifeCycle
      securityLabelParticipantObjectSensitivity
      nameParticipantObjectName
      descriptionParticipantObjectDescription
      queryParticipantObjectQuery
      detailParticipantObjectDetail
         typeParticipantObjectDetail.type
         value[x]ParticipantObjectDetail.value
   entity (documentReference)ParticipantObjectIdentification
      whatParticipantObjectID and ParticipantObjectIDTypeCode
      typeParticipantObjectTypeCode
      roleParticipantObjectTypeCodeRole
      lifecycleParticipantObjectDataLifeCycle
      securityLabelParticipantObjectSensitivity
      nameParticipantObjectName
      descriptionParticipantObjectDescription
      queryParticipantObjectQuery
      detailParticipantObjectDetail
         typeParticipantObjectDetail.type
         value[x]ParticipantObjectDetail.value

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

AuditUpdateDocumentMetadataSource
AuditEvent
   typeFiveWs.what[x]
   subtypeFiveWs.what[x]
   subtype (chmhd1)FiveWs.what[x]
   actionFiveWs.what[x]
   periodFiveWs.done[x]
   recordedFiveWs.recorded
   outcomeFiveWs.what[x]
   outcomeDescFiveWs.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 (documentSource)FiveWs.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 (documentRecipient)FiveWs.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]
   sourceFiveWs.witness
      siteFiveWs.witness
      observerFiveWs.witness
      typeFiveWs.witness
   entityFiveWs.what[x]
      whatFiveWs.what[x]
      typeFiveWs.what[x]
      roleFiveWs.context
      lifecycleFiveWs.context
      securityLabelFiveWs.context
      nameFiveWs.context
      descriptionFiveWs.context
      queryFiveWs.context
      detailFiveWs.context
         typeFiveWs.context
         value[x]FiveWs.context
   entity (patient)FiveWs.what[x]
      whatFiveWs.what[x]
      typeFiveWs.what[x]
      roleFiveWs.context
      lifecycleFiveWs.context
      securityLabelFiveWs.context
      nameFiveWs.context
      descriptionFiveWs.context
      queryFiveWs.context
      detailFiveWs.context
         typeFiveWs.context
         value[x]FiveWs.context
   entity (documentReference)FiveWs.what[x]
      whatFiveWs.what[x]
      typeFiveWs.what[x]
      roleFiveWs.context
      lifecycleFiveWs.context
      securityLabelFiveWs.context
      nameFiveWs.context
      descriptionFiveWs.context
      queryFiveWs.context
      detailFiveWs.context
         typeFiveWs.context
         value[x]FiveWs.context

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

AuditUpdateDocumentMetadataSource
AuditEvent
   typeActivity
   periodActivity.startTime & Activity.endTime
   recordedActivity.when
   purposeOfEventActivity.Activity
   agentAgent
      typeAgent.Attribution
      roleAgent.Attribution
      whoAgent.Identity
      altIdAgent.Identity
      nameAgent.Identity
      locationActivity.location
      network
         addressAgent.Location
      purposeOfUseAgent.Activity
   agent (documentSource)Agent
      typeAgent.Attribution
      roleAgent.Attribution
      whoAgent.Identity
      altIdAgent.Identity
      nameAgent.Identity
      locationActivity.location
      network
         addressAgent.Location
      purposeOfUseAgent.Activity
   agent (documentRecipient)Agent
      typeAgent.Attribution
      roleAgent.Attribution
      whoAgent.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 (documentReference)Entity
      typeEntity.type
      roleEntity.role
      lifecycleEntity.role
      nameEntity.Label

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

AuditUpdateDocumentMetadataSource
AuditEvent
   periodProvenance.occurred[x]
   recordedProvenance.recorded
   purposeOfEventProvenance.reason, Provenance.activity
   agentProvenance.agent
      typeProvenance.agent.type
      roleProvenance.agent.role
      whoProvenance.agent.who
      locationProvenance.location
      policyProvenance.policy
   agent (documentSource)Provenance.agent
      typeProvenance.agent.type
      roleProvenance.agent.role
      whoProvenance.agent.who
      locationProvenance.location
      policyProvenance.policy
   agent (documentRecipient)Provenance.agent
      typeProvenance.agent.type
      roleProvenance.agent.role
      whoProvenance.agent.who
      locationProvenance.location
      policyProvenance.policy
   entityProvenance.target, Provenance.entity
      whatProvenance.target, Provenance.entity.what
      typeProvenance.entity.type
      lifecycleProvenance.entity.role
   entity (patient)Provenance.target, Provenance.entity
      whatProvenance.target, Provenance.entity.what
      typeProvenance.entity.type
      lifecycleProvenance.entity.role
   entity (documentReference)Provenance.target, Provenance.entity
      whatProvenance.target, Provenance.entity.what
      typeProvenance.entity.type
      lifecycleProvenance.entity.role