This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). 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: R5 R4B R4 R3 R2
6.2.8 Resource Provenance - Mappings
Mappings for the provenance resource.
6.2.8.1 Mappings for RIM Mapping (http://hl7.org/v3)
Provenance | ControlAct[isNormalAct() and subsumes(CACT, classCode) and moodCode=EVN] |
target | ./outboundRelationship[isNormalActRelationship() and typeCode=SUBJ]/target OR ./participation[isNormalParticipation() and typeCode=SBJ]/role OR ./participation[isNormalParticipation() and typeCode=SBJ]/role[isNormalRole()]/player |
period | ./effectiveTime[type=IVL_TS] |
recorded | unique(./participation[isNormalParticipation() and typeCode=AUT]/time[type=TS]) |
reason | unique(./reasonCode) |
activity | Act.code |
location | unique(./participation[isNormalParticipation() and typeCode=LOC]/role[isNormalRole() and subsumes(SDLOC, classCode)]/player[isNormalEntity and classCode="LOC" and determinerCode="INST"] |
policy | ./inboundRelationship[isNormalActRelationship() and typeCode="SUBJ"]/source[isNormalAct and subsumes(POLICY, classCode) and moodCode=EVN]/text[typeCode='ED'/tel |
agent | ./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV'] |
role | attester: .[self::participation]/typeCode='RESP' author: .[self::participation]/typeCode='AUT' cc: .[self::participation]/typeCode='IRCP' enterer: .[self::participation]/typeCode='ENT' informant: .[self::participation]/typeCode='INF' performer: .[self::participation]/typeCode='PRF' verifier: .[self::participation]/typeCode='VRF' source: .[self::outboundRelationship]/typeCode='' |
who[x] | |
onBehalfOf[x] | |
relatedAgentType | .typeCode |
entity | ./subjectOf |
role | ./typeCode |
reference | ./text/reference |
agent | ./author/role |
signature | ./signatureText |
6.2.8.2 Mappings for W3C PROV (http://www.w3.org/ns/prov)
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.
Provenance | Activity |
target | Entity Created/Updated |
period | Activity.startTime & Activity.endTime |
recorded | Activity.when |
reason | Activity.Activity |
activity | Activity.Activity |
location | Activity.location |
policy | |
agent | Agent |
role | Agent.Attribution |
who[x] | |
onBehalfOf[x] | |
relatedAgentType | type |
entity | Entity |
role | Entity.role |
reference | Entity.Identity |
agent | |
signature | |
6.2.8.3 Mappings for FHIR AuditEvent (http://hl7.org/fhir/auditevent)
Provenance | |
target | AuditEvent.entity.reference |
period | |
recorded | AuditEvent.recorded |
reason | AuditEvent.purposeOfEvent |
activity | AuditEvent.purposeOfEvent |
location | AuditEvent.agent.location |
policy | AuditEvent.agent.policy |
agent | AuditEvent.agent |
role | AuditEvent.agent.role |
who[x] | |
onBehalfOf[x] | |
relatedAgentType | |
entity | AuditEvent.entity |
role | AuditEvent.entity.lifecycle |
reference | AuditEvent.entity.reference |
agent | |
signature | |