Mappings for the ehealth-provenance resource profile.
  
  
  
 | ehealth-provenance | 
 | Provenance | Entity. Role, or Act, ControlAct[isNormalAct() and subsumes(CACT, classCode) and moodCode=EVN] |  
 |    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 |  
 |    occurred[x] | ./effectiveTime[type=IVL_TS] |  
 |    recorded | unique(./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 |  
 |    location | unique(./participation[isNormalParticipation() and typeCode=LOC]/role[isNormalRole() and subsumes(SDLOC, classCode)]/player[isNormalEntity and classCode="LOC" and determinerCode="INST"] |  
 |    reason | unique(./reasonCode) |  
 |    activity | Act.code |  
 |    agent | ./participation[isNormalParticipation()]  OR  ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV'] |  
 |       id | n/a |  
 |       extension | n/a |  
 |       modifierExtension | N/A |  
 |       type | .role |  
 |       role | .typecode |  
 |       who | .id |  
 |       onBehalfOf | Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code] |  
 |    entity | ./subjectOf |  
 |       id | n/a |  
 |       modifierExtension | N/A |  
 |       role | ./typeCode |  
 |       what | ./text/reference |  
 |       agent | ./author/role |  
 |    signature | ./signatureText |