This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). 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
E.2.5 StructureDefinition: EHRSRLE-Provenance - Mappings
Mappings for the ehrsrle-provenance Profile.
E.2 Mappings for RIM Mapping (http://hl7.org/v3)
EHRS FM Record Lifecycle Event - Provenance |
Provenance | EHRSRLE-Provenance | Entity. Role, or Act |
id | | |
meta | | |
implicitRules | | |
language | | |
text | | Act.text? |
contained | | N/A |
extension | | N/A |
modifierExtension | | N/A |
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'] |
id | | n/a |
extension | | n/a |
modifierExtension | | N/A |
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='' |
actor | | Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code] |
userId | | person: .plays:Role(classCode='IDENT').id
practitioner: ./id |
relatedAgent | | .rolelink |
id | | n/a |
extension | | n/a |
modifierExtension | | N/A |
type | | .typeCode |
target | | .target |
entity | | ./subjectOf |
id | | n/a |
extension | | n/a |
modifierExtension | | N/A |
role | | ./typeCode |
type | | ./target |
reference | | ./text/reference |
display | | ./title |
agent | | ./author/role |
signature | | ./signatureText |
E.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.
EHRS FM Record Lifecycle Event - Provenance |
Provenance | EHRSRLE-Provenance | Activity |
id | | |
meta | | |
implicitRules | | |
language | | |
text | | |
contained | | |
extension | | |
modifierExtension | | |
target | | Entity Created/Updated |
period | | Activity.startTime & Activity.endTime |
recorded | | Activity.when |
reason | | Activity.Activity |
activity | | Activity.Activity |
location | | Activity.location |
policy | | |
agent | | Agent |
id | | |
extension | | |
modifierExtension | | |
role | | Agent.Attribution |
actor | | Agent.Identity |
userId | | Agent.Identity |
relatedAgent | | Agent.actedOnBehalfOf |
id | | |
extension | | |
modifierExtension | | |
type | | type |
target | | responsible |
entity | | Entity |
id | | |
extension | | |
modifierExtension | | |
role | | Entity.role |
type | | Entity.type |
reference | | Entity.Identity |
display | | Entity.Label |
agent | | |
signature | | |
E.2 Mappings for W5 Mapping (http://hl7.org/fhir/w5)
EHRS FM Record Lifecycle Event - Provenance |
Provenance | EHRSRLE-Provenance | infrastructure.information |
id | | |
meta | | |
implicitRules | | |
language | | |
text | | |
contained | | |
extension | | |
modifierExtension | | |
target | | what |
period | | when.done |
recorded | | when.recorded |
reason | | why |
activity | | why |
location | | where |
policy | | |
agent | | who |
id | | |
extension | | |
modifierExtension | | |
role | | |
actor | | who.actor |
userId | | who.actor |
relatedAgent | | |
id | | |
extension | | |
modifierExtension | | |
type | | |
target | | |
entity | | |
id | | |
extension | | |
modifierExtension | | |
role | | |
type | | |
reference | | |
display | | |
agent | | |
signature | | |
E.2 Mappings for FHIR AuditEvent (http://hl7.org/fhir/auditevent)
EHRS FM Record Lifecycle Event - Provenance |
Provenance | EHRSRLE-Provenance | |
id | | |
meta | | |
implicitRules | | |
language | | |
text | | |
contained | | |
extension | | |
modifierExtension | | |
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 |
id | | |
extension | | |
modifierExtension | | |
role | | AuditEvent.agent.role |
actor | | AuditEvent.agent.reference |
userId | | AuditEvent.agent.userId |
relatedAgent | | |
id | | |
extension | | |
modifierExtension | | |
type | | |
target | | |
entity | | AuditEvent.entity |
id | | |
extension | | |
modifierExtension | | |
role | | AuditEvent.entity.lifecycle |
type | | AuditEvent.entity.type |
reference | | AuditEvent.entity.reference |
display | | AuditEvent.entity.description |
agent | | |
signature | | |