Connectathon 11 Snapshot

This page is part of the FHIR Specification (v1.2.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

K.16.5 StructureDefinition: GAO Provenance - Mappings

Mappings for the gao-provenance Profile.

K.16 Mappings for RIM (http://hl7.org/v3)

GAO Provenance
ProvenanceControlAct[isNormalAct() and subsumes(CACT, classCode) and moodCode=EVN]
   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
   period./effectiveTime[type=IVL_TS]
   recordedunique(./participation[isNormalParticipation() and typeCode=AUT]/time[type=TS])
   reasonunique(./reasonCode)
   activityAct.code
   locationunique(./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
   agentagent./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']
      idn/a
      extensionn/a
      modifierExtensionN/A
      roleattester: .[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=''
      actorPerson, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]
      userIdperson: .plays:Role(classCode='IDENT').id practitioner: ./id
      relatedAgent.rolelink
         idn/a
         extensionn/a
         modifierExtensionN/A
         type.typeCode
         target.target
   entity./subjectOf
      idn/a
      extensionn/a
      modifierExtensionN/A
      role./typeCode
      type./target
      reference./text/reference
      display./title
      agent./author/role
   signature./signatureText

K.16 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.

GAO Provenance
ProvenanceActivity
   id
   meta
   implicitRules
   language
   text
   contained
   extension
   modifierExtension
   targetEntity Created/Updated
   periodActivity.startTime & Activity.endTime
   recordedActivity.when
   reasonActivity.Activity
   activityActivity.Activity
   locationActivity.location
   policy
   agentagentAgent
      id
      extension
      modifierExtension
      roleAgent.Attribution
      actorAgent.Identity
      userIdAgent.Identity
      relatedAgentAgent.actedOnBehalfOf
         id
         extension
         modifierExtension
         typetype
         targetresponsible
   entityEntity
      id
      extension
      modifierExtension
      roleEntity.role
      typeEntity.type
      referenceEntity.Identity
      displayEntity.Label
      agent
   signature

K.16 Mappings for W5 Mapping (http://hl7.org/fhir/w5)

GAO Provenance
Provenanceinfrastructure.information
   id
   meta
   implicitRules
   language
   text
   contained
   extension
   modifierExtension
   targetwhat
   periodwhen.done
   recordedwhen.recorded
   reasonwhy
   activitywhy
   locationwhere
   policy
   agentagentwho
      id
      extension
      modifierExtension
      role
      actorwho.actor
      userIdwho.actor
      relatedAgent
         id
         extension
         modifierExtension
         type
         target
   entity
      id
      extension
      modifierExtension
      role
      type
      reference
      display
      agent
   signature

K.16 Mappings for FHIR AuditEvent (http://hl7.org/fhir/auditevent)

GAO Provenance
Provenance
   id
   meta
   implicitRules
   language
   text
   contained
   extension
   modifierExtension
   targetAuditEvent.object.reference
   period
   recordedAuditEvent.event.dateTime
   reasonAuditEvent.event.purposeOfEvent
   activityAuditEvent.event.purposeOfEvent
   locationAuditEvent.participant.location
   policyAuditEvent.participant.policy
   agentagentAuditEvent.pariticipant
      id
      extension
      modifierExtension
      roleAuditEvent.participant.role
      actorAuditEvent.participant.reference
      userIdAuditEvent.participant.userId
      relatedAgent
         id
         extension
         modifierExtension
         type
         target
   entityAuditEvent.object
      id
      extension
      modifierExtension
      roleAuditEvent.object.lifecycle
      typeAuditEvent.object.type
      referenceAuditEvent.object.reference
      displayAuditEvent.object.description
      agent
   signature