R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4 R3 R2

Electronic Health Records Work Group Maturity Level: 1Informative Use Context: Any

Mappings for the ehrsrle-auditevent Profile.

EHRS FM Record Lifecycle Event - Audit Event
AuditEventEntity. Role, or Act
   id
   meta
   implicitRules
   language
   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)
   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
      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 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
      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[x].value
EHRS FM Record Lifecycle Event - Audit Event
AuditEventMessage
   id
   meta
   implicitRules
   language
   text
   contained
   extension
   modifierExtension
   typeEventId
   subtypeEventTypeCode
   actionEventActionCode
   period
   recordedEventDateTime
   outcomeEventOutcomeIndicator
   outcomeDescEventOutcomeDescription
   purposeOfEventEventPurposeOfUse
   agentActiveParticipant
      id
      extension
      modifierExtension
      typeRoleIdCode
      roleRoleIdCode
      reference
      userIdUserId
      altIdAlternativeUserId
      nameUserName
      requestorUserIsRequestor
      location
      policyParticipantRoleIDCode
      mediaMediaType
      network
         id
         extension
         modifierExtension
         addressNetworkAccessPointID
         typeNetworkAccessPointTypeCode
      purposeOfUse
   sourceAuditSourceIdentification
      id
      extension
      modifierExtension
      siteAuditEnterpriseSiteId
      identifierAuditSourceId
      typeAuditSourceTypeCode
   entityParticipantObjectIdentification
      id
      extension
      modifierExtension
      identifierParticipantObjectID and ParticipantObjectIDTypeCode
      referenceParticipantObjectID
      typeParticipantObjectTypeCode
      roleParticipantObjectTypeCodeRole
      lifecycleParticipantObjectDataLifeCycle
      securityLabelParticipantObjectSensitivity
      nameParticipantObjectName
      descriptionParticipantObjectDescription
      queryParticipantObjectQuery
      detailParticipantObjectDetail
         id
         extension
         modifierExtension
         typeParticipantObjectDetail.type
         value[x]ParticipantObjectDetail.value
EHRS FM Record Lifecycle Event - Audit Event
AuditEventinfrastructure.information
   id
   meta
   implicitRules
   language
   text
   contained
   extension
   modifierExtension
   typeFiveWs.what[x]
   subtypeFiveWs.what[x]
   actionFiveWs.what[x]
   periodFiveWs.done[x]
   recordedFiveWs.recorded
   outcomeFiveWs.what[x]
   outcomeDescFiveWs.what[x]
   purposeOfEventFiveWs.why[x]
   agentFiveWs.who
      id
      extension
      modifierExtension
      typeFiveWs.who
      roleFiveWs.who
      referenceFiveWs.who
      userIdFiveWs.who
      altIdFiveWs.who
      nameFiveWs.who
      requestorFiveWs.who
      locationFiveWs.where[x]
      policyFiveWs.why[x]
      mediaFiveWs.where[x]
      networkFiveWs.where[x]
         id
         extension
         modifierExtension
         addressFiveWs.where[x]
         typeFiveWs.where[x]
      purposeOfUseFiveWs.why[x]
   sourceFiveWs.witness
      id
      extension
      modifierExtension
      siteFiveWs.witness
      identifierFiveWs.witness
      typeFiveWs.witness
   entityFiveWs.what[x]
      id
      extension
      modifierExtension
      identifierFiveWs.what[x]
      referenceFiveWs.what[x]
      typeFiveWs.what[x]
      roleFiveWs.context
      lifecycleFiveWs.context
      securityLabelFiveWs.context
      nameFiveWs.context
      descriptionFiveWs.context
      queryFiveWs.context
      detailFiveWs.context
         id
         extension
         modifierExtension
         typeFiveWs.context
         value[x]FiveWs.context

The provenance resource is based on known practices in the HL7 implementation space, particularly those found in the v2 EVN segment, the v3 ControlAct Wrapper, the CDA header, and IHE ATNA. The conceptual model underlying the design is the W3C provenance Specification . Though the content and format of the resource is designed to meet specific requirements for FHIR, all the parts of the resource are formally mapped to the PROV-O specification, and FHIR resources can be transformed to their W3C PROV equivalent.

EHRS FM Record Lifecycle Event - Audit Event
AuditEvent
   id
   meta
   implicitRules
   language
   text
   contained
   extension
   modifierExtension
   typeActivity
   subtype
   action
   periodActivity.startTime & Activity.endTime
   recordedActivity.when
   outcome
   outcomeDesc
   purposeOfEventActivity.Activity
   agentAgent
      id
      extension
      modifierExtension
      typeAgent.Attribution
      roleAgent.Attribution
      referenceAgent.Identity
      userIdAgent.Identity
      altIdAgent.Identity
      nameAgent.Identity
      requestor
      locationActivity.location
      policy
      media
      network
         id
         extension
         modifierExtension
         addressAgent.Location
         type
      purposeOfUseAgent.Activity
   source
      id
      extension
      modifierExtension
      site
      identifier
      type
   entityEntity
      id
      extension
      modifierExtension
      identifier
      reference
      typeEntity.type
      roleEntity.role
      lifecycleEntity.role
      securityLabel
      nameEntity.Label
      description
      query
      detail
         id
         extension
         modifierExtension
         type
         value[x]
EHRS FM Record Lifecycle Event - Audit Event
AuditEvent
   id
   meta
   implicitRules
   language
   text
   contained
   extension
   modifierExtension
   type
   subtype
   action
   periodProvenance.period
   recordedProvenance.recorded
   outcome
   outcomeDesc
   purposeOfEventProvenance.reason, Provenance.activity
   agentProvenance.agent
      id
      extension
      modifierExtension
      typeProvenance.agent.type
      roleProvenance.agent.role
      referenceProvenance.agent.actor
      userIdProvenance.agent.userId
      altId
      name
      requestor
      locationProvenance.location
      policyProvenance.policy
      media
      network
         id
         extension
         modifierExtension
         address
         type
      purposeOfUse
   source
      id
      extension
      modifierExtension
      site
      identifier
      type
   entityProvenance.target, Provenance.entity
      id
      extension
      modifierExtension
      identifier
      referenceProvenance.target, Provenance.entity.reference
      typeProvenance.entity.type
      role
      lifecycleProvenance.entity.role
      securityLabel
      name
      description
      query
      detail
         id
         extension
         modifierExtension
         type
         value[x]