Finnish Base Profiles
1.0.1 - draft Finland flag

Finnish Base Profiles, published by HL7 Finland. This guide is not an authorized publication; it is the continuous build for version 1.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/fhir-fi/finnish-base-profiles/ and changes regularly. See the Directory of published versions

Resource Profile: FiBaseInformationCustodian - Mappings

Draft as of 2024-08-19

Mappings for the fi-base-information-custodian resource profile.

Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

FiBaseInformationCustodian
ProvenanceEvent
   occurred[x]Event.occurred[x]
   locationEvent.location
   reasonEvent.reasonCode
   activityEvent.code
   agentEvent.performer
      typeEvent.performer.function
      whoEvent.performer.actor
   agent (custodian)Event.performer
      typeEvent.performer.function
      whoEvent.performer.actor

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

FiBaseInformationCustodian
ProvenanceEntity. Role, or Act, ControlAct[isNormalAct() and subsumes(CACT, classCode) and moodCode=EVN]
   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.id
      onBehalfOfPerson, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]
   agent (custodian)./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']
      idn/a
      extensionn/a
      modifierExtensionN/A
      type.role
      role.typecode
      role (custodianRole).typecode
         idn/a
         extensionn/a
         codingunion(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         coding (custodianRoleCoding)union(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         text./originalText[mediaType/code="text/plain"]/data
      who.id
         idn/a
         extensionn/a
         referenceN/A
         typeN/A
         identifier.identifier
            idn/a
            extensionn/a
            useRole.code or implied by context
            typeRole.code or implied by context
            systemII.root or Role.id.root
            valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
            periodRole.effectiveTime or implied by context
            assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
         displayN/A
      onBehalfOfPerson, 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./text/reference
      agent./author/role
   signature./signatureText

Mappings for W3C PROV (http://www.w3.org/ns/prov)

FiBaseInformationCustodian
ProvenanceActivity
   targetEntity Created/Updated
   occurred[x]Activity.startTime & Activity.endTime
   recordedActivity.when
   locationActivity.location
   reasonActivity.Activity
   activityActivity.Activity
   agentAgent
      typeAgent.Attribution
   agent (custodian)Agent
      typeAgent.Attribution
   entityEntity
      roleEntity.role
      whatEntity.Identity

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

FiBaseInformationCustodian
Provenance
   targetFiveWs.what[x]
   occurred[x]FiveWs.done[x]
   recordedFiveWs.recorded
   locationFiveWs.where[x]
   reasonFiveWs.why[x]
   activityFiveWs.why[x]
   agentFiveWs.who
      whoFiveWs.actor
   agent (custodian)FiveWs.who
      whoFiveWs.actor

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

FiBaseInformationCustodian
Provenance
   targetAuditEvent.entity.reference
   recordedAuditEvent.recorded
   policyAuditEvent.agent.policy
   locationAuditEvent.agent.location
   reasonAuditEvent.purposeOfEvent
   agentAuditEvent.agent
      typeAuditEvent.agent.type
      roleAuditEvent.agent.role
   agent (custodian)AuditEvent.agent
      typeAuditEvent.agent.type
      roleAuditEvent.agent.role
      role (custodianRole)AuditEvent.agent.role
   entityAuditEvent.entity
      roleAuditEvent.entity.lifecycle
      whatAuditEvent.entity.reference