R5-AuditEvent-element-map-to-R4
type: ConceptMap
node role: treeRoot
id:
  v: R5-AuditEvent-element-map-to-R4
text:
  status:
    v: generated
  div:
    v: Generated Narrative: ConceptMap R5-AuditEvent-element-map-to-R4 Mapping from http://hl7.org/fhir/5.0 to http://hl7.org/fhir/4.0 Group 1 Mapping from http://hl7.org/fhir/StructureDefinition/AuditEvent|5.0.0 to AuditEventversion: 4.0.1) Source Code Relationship Target Code Comment AuditEvent.meta (meta) is equivalent to AuditEvent.meta Element `AuditEvent.meta` is mapped to FHIR R4 element `AuditEvent.meta` as `Equivalent`. AuditEvent.implicitRules (implicitRules) is equivalent to AuditEvent.implicitRules Element `AuditEvent.implicitRules` is mapped to FHIR R4 element `AuditEvent.implicitRules` as `Equivalent`. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc. AuditEvent.language (language) is equivalent to AuditEvent.language Element `AuditEvent.language` is mapped to FHIR R4 element `AuditEvent.language` as `Equivalent`. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang an…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: fhir
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 0
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Canonical
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4
        l: hl7.fhir.uv.xver-r5.r4
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: trial-use
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Canonical
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4
        l: hl7.fhir.uv.xver-r5.r4
url:
  v: http://hl7.org/fhir/uv/xver/ConceptMap/R5-AuditEvent-element-map-to-R4
  l: R5-AuditEvent-element-map-to-R4
version:
  v: 0.1.0
name:
  v: R5AuditEventElementMapToR4
title:
  v: Cross-version mapping for FHIR R5 AuditEvent to FHIR R4 AuditEvent
status:
  v: active
experimental:
  v: false
date:
  v: 2026-03-17T16:04:44.0303304-05:00
contact:
  name:
    v: FHIR Infrastructure
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/fiwg
description:
  v: This ConceptMap represents cross-version mappings for elements from a FHIR R5 AuditEvent to FHIR R4.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
    display:
      v: World
source: Canonical
  v: http://hl7.org/fhir/5.0
  l: http://hl7.org/fhir/5.0
target: Uri
  v: http://hl7.org/fhir/4.0
  l: http://hl7.org/fhir/4.0
group:
  source:
    v: http://hl7.org/fhir/StructureDefinition/AuditEvent
    l: AuditEvent
  source version:
    v: 5.0.0
  target:
    v: http://hl7.org/fhir/StructureDefinition/AuditEvent
    l: AuditEvent
  target version:
    v: 4.0.1
  element:
    code:
      v: AuditEvent.meta
    display:
      v: meta
    target:
      code:
        v: AuditEvent.meta
      display:
        v: AuditEvent.meta
      equivalence:
        v: equivalent
      comment:
        v: Element `AuditEvent.meta` is mapped to FHIR R4 element `AuditEvent.meta` as `Equivalent`.
  element:
    code:
      v: AuditEvent.implicitRules
    display:
      v: implicitRules
    target:
      code:
        v: AuditEvent.implicitRules
      display:
        v: AuditEvent.implicitRules
      equivalence:
        v: equivalent
      comment:
        v: Element `AuditEvent.implicitRules` is mapped to FHIR R4 element `AuditEvent.implicitRules` as `Equivalent`. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.
  element:
    code:
      v: AuditEvent.language
    display:
      v: language
    target:
      code:
        v: AuditEvent.language
      display:
        v: AuditEvent.language
      equivalence:
        v: equivalent
      comment:
        v: Element `AuditEvent.language` is mapped to FHIR R4 element `AuditEvent.language` as `Equivalent`. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
  element:
    code:
      v: AuditEvent.text
    display:
      v: text
    target:
      code:
        v: AuditEvent.text
      display:
        v: AuditEvent.text
      equivalence:
        v: equivalent
      comment:
        v: Element `AuditEvent.text` is mapped to FHIR R4 element `AuditEvent.text` as `Equivalent`. Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
  element:
    code:
      v: AuditEvent.contained
    display:
      v: contained
    target:
      code:
        v: AuditEvent.contained
      display:
        v: AuditEvent.contained
      equivalence:
        v: equivalent
      comment:
        v: Element `AuditEvent.contained` is mapped to FHIR R4 element `AuditEvent.contained` as `Equivalent`. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.
  element:
    code:
      v: AuditEvent.category
    display:
      v: category
    target:
      code:
        v: AuditEvent.type
      display:
        v: AuditEvent.type
      equivalence:
        v: wider
      comment:
        v: Element `AuditEvent.category` is mapped to FHIR R4 element `AuditEvent.type` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.category` do not cover the following types: CodeableConcept. The mappings for `AuditEvent.category` do not cover the following types based on type expansion: text.
  element:
    code:
      v: AuditEvent.code
    display:
      v: code
    target:
      code:
        v: AuditEvent.subtype
      display:
        v: AuditEvent.subtype
      equivalence:
        v: relatedto
      comment:
        v: Element `AuditEvent.code` is mapped to FHIR R4 element `AuditEvent.subtype` as `RelatedTo`. The mappings for `AuditEvent.code` do not cover the following types: CodeableConcept. The mappings for `AuditEvent.code` do not cover the following types based on type expansion: text.
  element:
    code:
      v: AuditEvent.action
    display:
      v: action
    target:
      code:
        v: AuditEvent.action
      display:
        v: AuditEvent.action
      equivalence:
        v: equivalent
      comment:
        v: Element `AuditEvent.action` is mapped to FHIR R4 element `AuditEvent.action` as `Equivalent`.

code:
  v: AuditEvent.occurred[x]
display:
  v: occurred[x]
target:
  code:
    v: AuditEvent.period
  display:
    v: AuditEvent.period
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.occurred[x]` is mapped to FHIR R4 element `AuditEvent.period` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.occurred[x]` do not cover the following types: dateTime. The mappings for `AuditEvent.occurred[x]` do not cover the following types based on type expansion: value. The time or period can be a little arbitrary; where possible, the time should correspond to human assessment of the activity time.

code:
  v: AuditEvent.recorded
display:
  v: recorded
target:
  code:
    v: AuditEvent.recorded
  display:
    v: AuditEvent.recorded
  equivalence:
    v: equivalent
  comment:
    v: Element `AuditEvent.recorded` is mapped to FHIR R4 element `AuditEvent.recorded` as `Equivalent`. In a distributed system, some sort of common time base (e.g. an NTP [RFC1305] server) is a good implementation tactic.

code:
  v: AuditEvent.outcome
display:
  v: outcome
target:
  code:
    v: AuditEvent.outcome
  display:
    v: AuditEvent.outcome
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.outcome` is mapped to FHIR R4 element `AuditEvent.outcome` as `Equivalent`. In some cases a "success" may be partial, for example, an incomplete or interrupted transfer of a radiological study. For the purpose of establishing accountability, these distinctions are not relevant.

code:
  v: AuditEvent.authorization
display:
  v: authorization
target:
  code:
    v: AuditEvent.purposeOfEvent
  display:
    v: AuditEvent.purposeOfEvent
  equivalence:
    v: equivalent
  comment:
    v: Element `AuditEvent.authorization` is mapped to FHIR R4 element `AuditEvent.purposeOfEvent` as `Equivalent`. Use AuditEvent.agent.authorization when you know that it is specific to the agent, otherwise use AuditEvent.authorization. For example, during a machine-to-machine transfer it might not be obvious to the audit system who caused the event, but it does know why.

code:
  v: AuditEvent.agent
display:
  v: agent
target:
  code:
    v: AuditEvent.agent
  display:
    v: AuditEvent.agent
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.agent` is mapped to FHIR R4 element `AuditEvent.agent` as `Equivalent`. Several agents may be associated (i.e. have some responsibility for an activity) with an event or activity. For example, an activity may be initiated by one user for other users or involve more than one user. However, only one user may be the initiator/requestor for the activity. When a network are used in an event being recorded, there should be distinct agent elements for the known actors using the network. The agent with a network detail would be the responsible agent for use of that network.

code:
  v: AuditEvent.agent.type
display:
  v: type
target:
  code:
    v: AuditEvent.agent.type
  display:
    v: AuditEvent.agent.type
  equivalence:
    v: equivalent
  comment:
    v: Element `AuditEvent.agent.type` is mapped to FHIR R4 element `AuditEvent.agent.type` as `Equivalent`. For example: assembler, author, prescriber, signer, investigator, etc.

code:
  v: AuditEvent.agent.role
display:
  v: role
target:
  code:
    v: AuditEvent.agent.role
  display:
    v: AuditEvent.agent.role
  equivalence:
    v: equivalent
  comment:
    v: Element `AuditEvent.agent.role` is mapped to FHIR R4 element `AuditEvent.agent.role` as `Equivalent`. For example: Chief-of-Radiology, Nurse, Physician, Medical-Student, etc.

code:
  v: AuditEvent.agent.who
display:
  v: who
target:
  code:
    v: AuditEvent.agent.who
  display:
    v: AuditEvent.agent.who
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.agent.who` is mapped to FHIR R4 element `AuditEvent.agent.who` as `SourceIsBroaderThanTarget`. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `AuditEvent.agent.who` with unmapped reference targets: CareTeam. Where a User ID is available it will go into who.identifier. Where a name of the user (human readable) it will go into who.display.

code:
  v: AuditEvent.agent.requestor
display:
  v: requestor
target:
  code:
    v: AuditEvent.agent.requestor
  display:
    v: AuditEvent.agent.requestor
  equivalence:
    v: equivalent
  comment:
    v: Element `AuditEvent.agent.requestor` is mapped to FHIR R4 element `AuditEvent.agent.requestor` as `Equivalent`. There can only be one initiator. If the initiator is not clear, then do not choose any one agent as the initiator.

code:
  v: AuditEvent.agent.location
display:
  v: location
target:
  code:
    v: AuditEvent.agent.location
  display:
    v: AuditEvent.agent.location
  equivalence:
    v: equivalent
  comment:
    v: Element `AuditEvent.agent.location` is mapped to FHIR R4 element `AuditEvent.agent.location` as `Equivalent`.

code:
  v: AuditEvent.agent.policy
display:
  v: policy
target:
  code:
    v: AuditEvent.agent.policy
  display:
    v: AuditEvent.agent.policy
  equivalence:
    v: equivalent
  comment:
    v: Element `AuditEvent.agent.policy` is mapped to FHIR R4 element `AuditEvent.agent.policy` as `Equivalent`. For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element.

code:
  v: AuditEvent.agent.network[x]
display:
  v: network[x]
target:
  code:
    v: AuditEvent.agent.network
  display:
    v: AuditEvent.agent.network
  equivalence:
    v: equivalent
  comment:
    v: Element `AuditEvent.agent.network[x]` is mapped to FHIR R4 element `AuditEvent.agent.network` as `Equivalent`. When remote network endpoint is known, another agent representing the remote agent would indicate the remote network endpoint used. Convention is to indicate data flowing from Source to Destination. The convention for Search, given data flows both ways (query parameters vs results), is to have the Source as the initiator of the Search Transaction, and the Destination the responder to the Search transaction.

code:
  v: AuditEvent.agent.authorization
display:
  v: authorization
target:
  code:
    v: AuditEvent.agent.purposeOfUse
  display:
    v: AuditEvent.agent.purposeOfUse
  equivalence:
    v: equivalent
  comment:
    v: Element `AuditEvent.agent.authorization` is mapped to FHIR R4 element `AuditEvent.agent.purposeOfUse` as `Equivalent`. Use AuditEvent.agent.authorization when you know that is specific to the agent, otherwise use AuditEvent.authorization. For example, during a machine-to-machine transfer it might not be obvious to the audit system who caused the event, but it does know why.

code:
  v: AuditEvent.source
display:
  v: source
target:
  code:
    v: AuditEvent.source
  display:
    v: AuditEvent.source
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.source` is mapped to FHIR R4 element `AuditEvent.source` as `Equivalent`. Events are reported by the actor that detected them. This may be one of the participating actors, but may also be different. The actor may be a human such as a medical-records clerk disclosing data manually, that clerk would be the source for the record of disclosure.

code:
  v: AuditEvent.source.site
display:
  v: site
target:
  code:
    v: AuditEvent.source.site
  display:
    v: AuditEvent.source.site
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.source.site` is mapped to FHIR R4 element `AuditEvent.source.site` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.source.site` do not cover the following types: Reference. The mappings for `AuditEvent.source.site` do not cover the following types based on type expansion: identifier.

code:
  v: AuditEvent.source.observer
display:
  v: observer
target:
  code:
    v: AuditEvent.source.observer
  display:
    v: AuditEvent.source.observer
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.source.observer` is mapped to FHIR R4 element `AuditEvent.source.observer` as `SourceIsBroaderThanTarget`. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `AuditEvent.source.observer` with unmapped reference targets: CareTeam.

code:
  v: AuditEvent.source.type
display:
  v: type
target:
  code:
    v: AuditEvent.source.type
  display:
    v: AuditEvent.source.type
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.source.type` is mapped to FHIR R4 element `AuditEvent.source.type` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.source.type` do not cover the following types: CodeableConcept. The mappings for `AuditEvent.source.type` do not cover the following types based on type expansion: text.

code:
  v: AuditEvent.entity
display:
  v: entity
target:
  code:
    v: AuditEvent.entity
  display:
    v: AuditEvent.entity
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.entity` is mapped to FHIR R4 element `AuditEvent.entity` as `Equivalent`. Required unless the values for event identification, agent identification, and audit source identification are sufficient to document the entire auditable event. Because events may have more than one entity, this group can be a repeating set of values.

code:
  v: AuditEvent.entity.what
display:
  v: what
target:
  code:
    v: AuditEvent.entity.what
  display:
    v: AuditEvent.entity.what
  equivalence:
    v: equivalent
  comment:
    v: Element `AuditEvent.entity.what` is mapped to FHIR R4 element `AuditEvent.entity.what` as `Equivalent`. Use .what.display when all you have is a string (e.g. ParticipantObjectName).

code:
  v: AuditEvent.entity.role
display:
  v: role
target:
  code:
    v: AuditEvent.entity.role
  display:
    v: AuditEvent.entity.role
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.entity.role` is mapped to FHIR R4 element `AuditEvent.entity.role` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.entity.role` do not cover the following types: CodeableConcept. The mappings for `AuditEvent.entity.role` do not cover the following types based on type expansion: text.

code:
  v: AuditEvent.entity.securityLabel
display:
  v: securityLabel
target:
  code:
    v: AuditEvent.entity.securityLabel
  display:
    v: AuditEvent.entity.securityLabel
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.entity.securityLabel` is mapped to FHIR R4 element `AuditEvent.entity.securityLabel` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.entity.securityLabel` do not cover the following types: CodeableConcept. The mappings for `AuditEvent.entity.securityLabel` do not cover the following types based on type expansion: text. Copied from entity meta security tags.

code:
  v: AuditEvent.entity.query
display:
  v: query
target:
  code:
    v: AuditEvent.entity.query
  display:
    v: AuditEvent.entity.query
  equivalence:
    v: equivalent
  comment:
    v: Element `AuditEvent.entity.query` is mapped to FHIR R4 element `AuditEvent.entity.query` as `Equivalent`. The meaning and secondary-encoding of the content of base64 encoded blob is specific to the AuditEvent.type, AuditEvent.subtype, and AuditEvent.entity.role. The base64 is a general-use and safe container for event specific data blobs regardless of the encoding used by the transaction being recorded. An AuditEvent consuming application must understand the event it is consuming and the formats used by the event. For example, if auditing an Oracle network database access, the Oracle formats must be understood as they will be simply encoded in the base64binary blob. The DICOM AuditMessage schema does not support both .name and .query being populated.

code:
  v: AuditEvent.entity.detail
display:
  v: detail
target:
  code:
    v: AuditEvent.entity.detail
  display:
    v: AuditEvent.entity.detail
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.entity.detail` is mapped to FHIR R4 element `AuditEvent.entity.detail` as `Equivalent`.

code:
  v: AuditEvent.entity.detail.type
display:
  v: type
target:
  code:
    v: AuditEvent.entity.detail.type
  display:
    v: AuditEvent.entity.detail.type
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.entity.detail.type` is mapped to FHIR R4 element `AuditEvent.entity.detail.type` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.entity.detail.type` do not cover the following types: CodeableConcept. The mappings for `AuditEvent.entity.detail.type` do not cover the following types based on type expansion: coding.

code:
  v: AuditEvent.entity.detail.value[x]
display:
  v: value[x]
target:
  code:
    v: AuditEvent.entity.detail.value[x]
  display:
    v: AuditEvent.entity.detail.value[x]
  equivalence:
    v: wider
  comment:
    v: Element `AuditEvent.entity.detail.value[x]` is mapped to FHIR R4 element `AuditEvent.entity.detail.value[x]` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.entity.detail.value[x]` do not cover the following types: boolean, CodeableConcept, dateTime, integer, Period, Quantity, Range, Ratio, time. The target context `AuditEvent.entity.detail.value[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `AuditEvent.entity.detail`.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.category
  l: extension-AuditEvent.category
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.category
  display:
    v: category
  target:
    code:
      v: Extension
    equivalence:
      v: wider
    comment:
      v: Element `AuditEvent.category` is mapped to FHIR R4 element `AuditEvent.type` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.category` do not cover the following types: CodeableConcept. The mappings for `AuditEvent.category` do not cover the following types based on type expansion: text.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.code
  l: extension-AuditEvent.code
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.code
  display:
    v: code
  target:
    code:
      v: Extension
    equivalence:
      v: wider
    comment:
      v: Element `AuditEvent.code` is mapped to FHIR R4 element `AuditEvent.subtype` as `RelatedTo`. The mappings for `AuditEvent.code` do not cover the following types: CodeableConcept. The mappings for `AuditEvent.code` do not cover the following types based on type expansion: text.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.severity
  l: extension-AuditEvent.severity
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.severity
  display:
    v: severity
  target:
    code:
      v: Extension
    equivalence:
      v: wider
    comment:
      v: Element `AuditEvent.severity` has a context of AuditEvent based on following the parent source element upwards and mapping to `AuditEvent`. Element `AuditEvent.severity` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element). ATNA will map this to the SYSLOG PRI element.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.occurred
  l: extension-AuditEvent.occurred
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.occurred[x]
  display:
    v: occurred[x]
  target:
    code:
      v: Extension
    equivalence:
      v: wider
    comment:
      v: Element `AuditEvent.occurred[x]` is mapped to FHIR R4 element `AuditEvent.period` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.occurred[x]` do not cover the following types: dateTime. The mappings for `AuditEvent.occurred[x]` do not cover the following types based on type expansion: value. The time or period can be a little arbitrary; where possible, the time should correspond to human assessment of the activity time.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.outcome.code
  l: extension-AuditEvent.outcome.code
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.outcome.code
  display:
    v: code
  target:
    code:
      v: Extension
    equivalence:
      v: wider
    comment:
      v: Element `AuditEvent.outcome.code` has a context of AuditEvent.outcome based on following the parent source element upwards and mapping to `AuditEvent`. Element `AuditEvent.outcome.code` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element). In some cases a "success" may be partial, for example, an incomplete or interrupted transfer of a radiological study. For the purpose of establishing accountability, these distinctions are not relevant.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.outcome.detail
  l: extension-AuditEvent.outcome.detail
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.outcome.detail
  display:
    v: detail
  target:
    code:
      v: Extension
    equivalence:
      v: wider
    comment:
      v: Element `AuditEvent.outcome.detail` has a context of AuditEvent.outcome based on following the parent source element upwards and mapping to `AuditEvent`. Element `AuditEvent.outcome.detail` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element). A human readable description of the error issue SHOULD be placed in details.text.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.basedOn
  l: extension-AuditEvent.basedOn
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.basedOn
  display:
    v: basedOn
  target:
    code:
      v: Extension
    equivalence:
      v: wider
    comment:
      v: Element `AuditEvent.basedOn` has a context of AuditEvent based on following the parent source element upwards and mapping to `AuditEvent`. Element `AuditEvent.basedOn` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.patient
  l: extension-AuditEvent.patient
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.patient
  display:
    v: patient
  target:
    code:
      v: Extension
    equivalence:
      v: wider
    comment:
      v: Element `AuditEvent.patient` has a context of AuditEvent based on following the parent source element upwards and mapping to `AuditEvent`. Element `AuditEvent.patient` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.encounter
  l: extension-AuditEvent.encounter
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.encounter
  display:
    v: encounter
  target:
    code:
      v: Extension
    equivalence:
      v: wider
    comment:
      v: Element `AuditEvent.encounter` has a context of AuditEvent based on following the parent source element upwards and mapping to `AuditEvent`. Element `AuditEvent.encounter` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.agent
  l: extension-AuditEvent.agent
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.agent
  display:
    v: agent
  target:
    code:
      v: Extension
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.agent` is mapped to FHIR R4 element `AuditEvent.agent` as `Equivalent`. Several agents may be associated (i.e. have some responsibility for an activity) with an event or activity. For example, an activity may be initiated by one user for other users or involve more than one user. However, only one user may be the initiator/requestor for the activity. When a network are used in an event being recorded, there should be distinct agent elements for the known actors using the network. The agent with a network detail would be the responsible agent for use of that network.
element:
  code:
    v: AuditEvent.agent.type
  display:
    v: type
  target:
    code:
      v: Extension.extension:type
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.agent.type` is mapped to FHIR R4 element `AuditEvent.agent.type` as `Equivalent`. For example: assembler, author, prescriber, signer, investigator, etc.
element:
  code:
    v: AuditEvent.agent.role
  display:
    v: role
  target:
    code:
      v: Extension.extension:role
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.agent.role` is mapped to FHIR R4 element `AuditEvent.agent.role` as `Equivalent`. For example: Chief-of-Radiology, Nurse, Physician, Medical-Student, etc.
element:
  code:
    v: AuditEvent.agent.who
  display:
    v: who
  target:
    code:
      v: Extension.extension:who
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.agent.who` is mapped to FHIR R4 element `AuditEvent.agent.who` as `SourceIsBroaderThanTarget`. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `AuditEvent.agent.who` with unmapped reference targets: CareTeam. Where a User ID is available it will go into who.identifier. Where a name of the user (human readable) it will go into who.display.
element:
  code:
    v: AuditEvent.agent.requestor
  display:
    v: requestor
  target:
    code:
      v: Extension.extension:requestor
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.agent.requestor` is mapped to FHIR R4 element `AuditEvent.agent.requestor` as `Equivalent`. There can only be one initiator. If the initiator is not clear, then do not choose any one agent as the initiator.
element:
  code:
    v: AuditEvent.agent.location
  display:
    v: location
  target:
    code:
      v: Extension.extension:location
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.agent.location` is mapped to FHIR R4 element `AuditEvent.agent.location` as `Equivalent`.
element:
  code:
    v: AuditEvent.agent.policy
  display:
    v: policy
  target:
    code:
      v: Extension.extension:policy
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.agent.policy` is mapped to FHIR R4 element `AuditEvent.agent.policy` as `Equivalent`. For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element.
element:
  code:
    v: AuditEvent.agent.network[x]
  display:
    v: network[x]
  target:
    code:
      v: Extension.extension:network
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.agent.network[x]` is mapped to FHIR R4 element `AuditEvent.agent.network` as `Equivalent`. When remote network endpoint is known, another agent representing the remote agent would indicate the remote network endpoint used. Convention is to indicate data flowing from Source to Destination. The convention for Search, given data flows both ways (query parameters vs results), is to have the Source as the initiator of the Search Transaction, and the Destination the responder to the Search transaction.
element:
  code:
    v: AuditEvent.agent.authorization
  display:
    v: authorization
  target:
    code:
      v: Extension.extension:authorization
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.agent.authorization` is mapped to FHIR R4 element `AuditEvent.agent.purposeOfUse` as `Equivalent`. Use AuditEvent.agent.authorization when you know that is specific to the agent, otherwise use AuditEvent.authorization. For example, during a machine-to-machine transfer it might not be obvious to the audit system who caused the event, but it does know why.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/StructureDefinition/alternate-reference
  l: alternate-reference
target version:
  v: 5.2.0
element:
  code:
    v: AuditEvent.agent.who
  display:
    v: who
  target:
    code:
      v: Extension.extension:who
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.agent.who` is mapped to FHIR R4 element `AuditEvent.agent.who` as `SourceIsBroaderThanTarget`. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `AuditEvent.agent.who` with unmapped reference targets: CareTeam. Where a User ID is available it will go into who.identifier. Where a name of the user (human readable) it will go into who.display.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.source.site
  l: extension-AuditEvent.source.site
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.source.site
  display:
    v: site
  target:
    code:
      v: Extension
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.source.site` is mapped to FHIR R4 element `AuditEvent.source.site` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.source.site` do not cover the following types: Reference. The mappings for `AuditEvent.source.site` do not cover the following types based on type expansion: identifier.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.source.type
  l: extension-AuditEvent.source.type
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.source.type
  display:
    v: type
  target:
    code:
      v: Extension
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.source.type` is mapped to FHIR R4 element `AuditEvent.source.type` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.source.type` do not cover the following types: CodeableConcept. The mappings for `AuditEvent.source.type` do not cover the following types based on type expansion: text.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.entity.role
  l: extension-AuditEvent.entity.role
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.entity.role
  display:
    v: role
  target:
    code:
      v: Extension
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.entity.role` is mapped to FHIR R4 element `AuditEvent.entity.role` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.entity.role` do not cover the following types: CodeableConcept. The mappings for `AuditEvent.entity.role` do not cover the following types based on type expansion: text.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.entity.securityLabel
  l: extension-AuditEvent.entity.securityLabel
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.entity.securityLabel
  display:
    v: securityLabel
  target:
    code:
      v: Extension
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.entity.securityLabel` is mapped to FHIR R4 element `AuditEvent.entity.securityLabel` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.entity.securityLabel` do not cover the following types: CodeableConcept. The mappings for `AuditEvent.entity.securityLabel` do not cover the following types based on type expansion: text. Copied from entity meta security tags.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.entity.detail.type
  l: extension-AuditEvent.entity.detail.type
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.entity.detail.type
  display:
    v: type
  target:
    code:
      v: Extension
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.entity.detail.type` is mapped to FHIR R4 element `AuditEvent.entity.detail.type` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.entity.detail.type` do not cover the following types: CodeableConcept. The mappings for `AuditEvent.entity.detail.type` do not cover the following types based on type expansion: coding.

source:
  v: http://hl7.org/fhir/StructureDefinition/AuditEvent
  l: AuditEvent
source version:
  v: 5.0.0
target:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.entity.detail.value
  l: extension-AuditEvent.entity.detail.value
target version:
  v: 0.1.0
element:
  code:
    v: AuditEvent.entity.detail.value[x]
  display:
    v: value[x]
  target:
    code:
      v: Extension
    equivalence:
      v: equivalent
    comment:
      v: Element `AuditEvent.entity.detail.value[x]` is mapped to FHIR R4 element `AuditEvent.entity.detail.value[x]` as `SourceIsBroaderThanTarget`. The mappings for `AuditEvent.entity.detail.value[x]` do not cover the following types: boolean, CodeableConcept, dateTime, integer, Period, Quantity, Range, Ratio, time. The target context `AuditEvent.entity.detail.value[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `AuditEvent.entity.detail`.