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-provenance Profile.

EHRS FM Record Lifecycle Event - Provenance
ProvenanceEntity. Role, or Act
   id
   meta
   implicitRules
   language
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   target./outboundRelationship[isNormalActRelationship() and typeCode=SUBJ]/target OR ./participation[isNormalParticipation() and typeCode=SBJ]/role OR ./participation[isNormalParticipation() and typeCode=SBJ]/role[isNormalRole()]/player
   occurred[x]./effectiveTime[type=IVL_TS]
   recordedunique(./participation[isNormalParticipation() and typeCode=AUT]/time[type=TS])
   policy./inboundRelationship[isNormalActRelationship() and typeCode="SUBJ"]/source[isNormalAct and subsumes(POLICY, classCode) and moodCode=EVN]/text[typeCode='ED'/tel
   locationunique(./participation[isNormalParticipation() and typeCode=LOC]/role[isNormalRole() and subsumes(SDLOC, classCode)]/player[isNormalEntity and classCode="LOC" and determinerCode="INST"]
   reasonunique(./reasonCode)
   activityAct.code
   agent./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']
      idn/a
      extensionn/a
      modifierExtensionN/A
      type.role
      role.typecode
      who[x].id
      onBehalfOf[x]Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]
   entity./subjectOf
      idn/a
      extensionn/a
      modifierExtensionN/A
      role./typeCode
      what[x]./text/reference
      agent./author/role
   signature./signatureText

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 - Provenance
ProvenanceActivity
   id
   meta
   implicitRules
   language
   text
   contained
   extension
   modifierExtension
   targetEntity Created/Updated
   occurred[x]Activity.startTime & Activity.endTime
   recordedActivity.when
   policy
   locationActivity.location
   reasonActivity.Activity
   activityActivity.Activity
   agentAgent
      id
      extension
      modifierExtension
      typeAgent.Attribution
      role
      who[x]
      onBehalfOf[x]
   entityEntity
      id
      extension
      modifierExtension
      roleEntity.role
      what[x]Entity.Identity
      agent
   signature
EHRS FM Record Lifecycle Event - Provenance
Provenanceinfrastructure.information
   id
   meta
   implicitRules
   language
   text
   contained
   extension
   modifierExtension
   targetFiveWs.what[x]
   occurred[x]FiveWs.done[x]
   recordedFiveWs.recorded
   policy
   locationFiveWs.where[x]
   reasonFiveWs.why[x]
   activityFiveWs.why[x]
   agentFiveWs.who
      id
      extension
      modifierExtension
      type
      role
      who[x]FiveWs.actor
      onBehalfOf[x]
   entity
      id
      extension
      modifierExtension
      role
      what[x]
      agent
   signature
EHRS FM Record Lifecycle Event - Provenance
Provenance
   id
   meta
   implicitRules
   language
   text
   contained
   extension
   modifierExtension
   targetAuditEvent.entity.reference
   occurred[x]
   recordedAuditEvent.recorded
   policyAuditEvent.agent.policy
   locationAuditEvent.agent.location
   reasonAuditEvent.purposeOfEvent
   activityAuditEvent.purposeOfEvent
   agentAuditEvent.agent
      id
      extension
      modifierExtension
      typeAuditEvent.agent.type
      roleAuditEvent.agent.role
      who[x]
      onBehalfOf[x]
   entityAuditEvent.entity
      id
      extension
      modifierExtension
      roleAuditEvent.entity.lifecycle
      what[x]AuditEvent.entity.reference
      agent
   signature