Inera Core Implementation Guide
0.2.0 - ci-build
Sweden
Inera Core Implementation Guide - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Draft as of 2025-11-25 |
{
"resourceType" : "ConceptMap",
"id" : "ConceptMapGetActivitiesTKBToProcedure",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap ConceptMapGetActivitiesTKBToProcedure</b></p><a name=\"ConceptMapGetActivitiesTKBToProcedure\"> </a><a name=\"hcConceptMapGetActivitiesTKBToProcedure\"> </a><p>Mapping from https://rivta.se/domains/clinicalprocess/activity/actions/GetActivitiesResponder/1 to <a href=\"http://hl7.org/fhir/R4/procedure.html\">Procedure</a></p><br/><p><b>Group 1 </b>Mapping from <code>https://rivta.se/domains/clinicalprocess/activity/actions/GetActivitiesResponder/1</code> to <a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>patientId (Query parameter: Patient ID filter)</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">NOT MAPPED. Used as search parameter: GET /Procedure?patient=Patient/191212121212</td></tr><tr><td>time (Query parameter: Time period filter)</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">NOT MAPPED. Used as search parameter: GET /Procedure?date=ge2024-01-01&date=le2024-12-31</td></tr><tr><td>activityCode (Query parameter: Activity code filter (KVÅ))</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">NOT MAPPED. Used as search parameter: GET /Procedure?code=http://www.socialstyrelsen.se/kva|ABC12</td></tr><tr><td>activityId (Query parameter: Activity ID filter)</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">NOT MAPPED. Used as search parameter: GET /Procedure?identifier=hsaid|xyz123</td></tr><tr><td>sourceSystemId (Query parameter: Source system filter)</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">NOT MAPPED. Filter by source system HSA-ID</td></tr><tr><td>careGiverId (Query parameter: Care giver filter)</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">NOT MAPPED. Used to filter by care giver organization</td></tr><tr><td>careUnitId (Query parameter: Care unit filter)</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">NOT MAPPED. Used to filter by care unit</td></tr><tr><td>relation (Query parameter: Related information filter)</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">NOT MAPPED. Filter by relationships to other clinical information</td></tr><tr><td>interactionAgreementId (Query parameter: Interaction agreement (deprecated))</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">NOT MAPPED. Fixed UUID, not used: 2866a7c4-9c60-433f-9035-a4d779ffe7a1</td></tr></table><hr/><p><b>Group 2 </b>Mapping from <code>https://rivta.se/domains/clinicalprocess/activity/actions/GetActivitiesResponder/1</code> to <a href=\"http://hl7.org/fhir/R4/procedure.html\">Procedure</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>activityGroup.activity.id (Activity ID (unique business identifier))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>identifier</td><td>Unique activity identifier within source system. id.root = source system HSA-ID, id.extension = local activity ID.</td></tr><tr><td>activityGroup.patient.id (Patient ID (personnummer/samordningsnummer))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>subject</td><td>Reference to PatientBaseInera. Maps personnummer (1.2.752.129.2.1.3.1) or samordningsnummer (1.2.752.129.2.1.3.3).</td></tr><tr><td>activityGroup.activity.code (Activity code (KVÅ or other classification))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>code</td><td>Activity code, typically KVÅ (OID 1.2.752.116.1.1.1.1.4). Maps to CodeableConcept with code.code, code.codeSystem, code.displayName.</td></tr><tr><td>activityGroup.activity.status (Activity status)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>status</td><td>Maps to FHIR status values: preparation, in-progress, completed, not-done, stopped, unknown. TKB uses different code system, requires mapping.</td></tr><tr><td>activityGroup.activity.time (Activity time (point in time or period))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>performedDateTime</td><td>If time.start == time.end, use performedDateTime. If time.start != time.end, use performedPeriod.</td></tr><tr><td>activityGroup.activity.time.start (Activity start time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>performedPeriod.start</td><td>Start of activity period. Format: ÅÅÅÅMMDDttmmss.</td></tr><tr><td>activityGroup.activity.time.end (Activity end time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>performedPeriod.end</td><td>End of activity period. Format: ÅÅÅÅMMDDttmmss.</td></tr><tr><td>activityGroup.performerRole (Performer (practitioner role))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>performer</td><td>Person who performed the activity. Maps to performer.actor (PractitionerBaseInera).</td></tr><tr><td>activityGroup.performerRole.person.id (Performer person ID (HSA-ID))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>performer.actor</td><td>Reference to PractitionerBaseInera. HSA-ID in id.extension (OID 1.2.752.129.2.1.4.1).</td></tr><tr><td>activityGroup.performerRole.code (Performer role code (KV Befattning))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>performer.function</td><td>Role of performer, typically KV Befattning (OID 1.2.752.129.2.2.1.4).</td></tr><tr><td>activityGroup.performerRole.careUnit.id (Care unit (PDL vårdenhet))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>location</td><td>Care unit HSA-ID. Maps to Location resource reference, or use performer.onBehalfOf for organization.</td></tr><tr><td>activityGroup.performerRole.careUnit.careGiver.id (Care giver (vårdgivare organization))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>performer.onBehalfOf</td><td>Reference to OrganizationBaseInera. Care giver HSA-ID (OID 1.2.752.129.2.1.4.1).</td></tr><tr><td>activityGroup.activity.targetSite (Target body site)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>bodySite</td><td>Anatomical location where procedure was performed. Maps to CodeableConcept (e.g., SNOMED CT body site codes).</td></tr><tr><td>activityGroup.activity.method (Activity method)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>extension:method</td><td>Method/technique used during the procedure. Uses standard HL7 procedure-method extension (http://hl7.org/fhir/StructureDefinition/procedure-method).</td></tr><tr><td>activityGroup.activity.description (Activity description (free text))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>note</td><td>Free text description of the activity.</td></tr><tr><td>activityGroup.activity.registrationTime (Registration time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Provenance.recorded</td><td>When activity was registered in system. Use Provenance.recorded with activity=CREATE and target=Procedure.</td></tr><tr><td>activityGroup.activity.approvedForPatient (Approved for patient viewing (menprövningsflagga))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>meta.security</td><td>Menprövningsflagga - indicates patient viewing approval. Use meta.security labels or link to Consent resource for patient access control.</td></tr><tr><td>activityGroup.legalAuthenticator (Legal authenticator (signatory))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Provenance.agent</td><td>Person who signed/authenticated the activity. Map to Provenance resource with agent.role = legal authenticator (http://terminology.hl7.org/CodeSystem/v3-ParticipationType#LA).</td></tr><tr><td>activityGroup.sourceSystem.id (Source system (HSA-ID))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>identifier.system</td><td>Source system HSA-ID. Used as identifier.system prefix, or in meta.source.</td></tr><tr><td>activityGroup.careProcessId (Care process UUID (vårdprocess))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>basedOn</td><td>UUID for individualized care process. Reference EpisodeOfCare resource with identifier.value = careProcessId UUID. Use basedOn since Procedure.partOf only allows Procedure|Observation|MedicationAdministration.</td></tr><tr><td>activityGroup.additionalParticipant (Additional participants)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>performer</td><td>Other participants (persons, devices, locations) in the activity. Map persons to additional performer entries, devices to focalDevice, locations to location element.</td></tr><tr><td>activityGroup.additionalParticipant.type (Participant type)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>performer.function</td><td>Type of participant involvement.</td></tr><tr><td>activityGroup.additionalParticipant.role (Participant role)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>performer.function</td><td>Role code for participant.</td></tr><tr><td>activityGroup.additionalParticipant.device (Participating device)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>focalDevice</td><td>Device used in procedure. Maps to focalDevice with reference to Device resource.</td></tr><tr><td>activityGroup.additionalParticipant.location (Participating location)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>location</td><td>Location where procedure was performed. Reference to Location resource.</td></tr><tr><td>activityGroup.activity.relation (Relations to other clinical information)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>basedOn</td><td>Relationships to observations (chb-o) or other activities (caa-ga). Use basedOn (fulfills order/request), partOf (part of larger activity), or reasonReference (justification) depending on relation type.</td></tr><tr><td>activityGroup.activity.relation.code (Relation type code)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>basedOn</td><td>Type of relationship determines which element to use: basedOn (fulfills), partOf (component), reasonReference (justification). Relation.code context preserved in referenced resource identifier.</td></tr><tr><td>activityGroup.activity.relation.referredInformation.id (Related information ID)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>basedOn</td><td>ID of related observation or activity. Maps to reference (Observation, Procedure, etc.).</td></tr><tr><td>activityGroup.activity.additionalInformation (Additional information (key-value pairs))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>note</td><td>Additional structured information as key-value pairs. Store as formatted text in Procedure.note (Annotation type). For structured data, create referenced Observation resources.</td></tr></table><hr/><p><b>Group 3 </b>Mapping from <code>https://rivta.se/domains/clinicalprocess/activity/actions/GetActivitiesResponder/1</code> to <a href=\"http://hl7.org/fhir/R4/provenance.html\">Provenance</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>activityGroup.legalAuthenticator.id (Legal authenticator ID)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>agent.who</td><td>Reference to PractitionerBaseInera who signed/authenticated the activity.</td></tr><tr><td>activityGroup.legalAuthenticator.time (Authentication time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>occurredDateTime</td><td>When the activity was authenticated/signed.</td></tr><tr><td>activityGroup.legalAuthenticator.name (Authenticator name)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>agent.who.display</td><td>Name of legal authenticator.</td></tr><tr><td>activityGroup.patient.dateOfBirth (Patient date of birth)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>target</td><td>Patient demographics echoed in response. Not mapped separately; available in referenced Patient resource.</td></tr><tr><td>activityGroup.patient.gender (Patient gender (KV Kön))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>target</td><td>Patient demographics. Available in referenced Patient resource with KV Kön code (OID 1.2.752.129.2.2.1.1).</td></tr></table><hr/><p><b>Group 4 </b>Mapping from <code>https://rivta.se/domains/clinicalprocess/activity/actions/GetActivitiesResponder/1</code> to <a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>activityGroup (Activity group (container))</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">NOT MAPPED. Container/grouping structure for optimization. In FHIR, each activity becomes separate Procedure resource in Bundle.</td></tr><tr><td>activityGroup.device (Device (deprecated - use additionalParticipant))</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">NOT MAPPED. Deprecated in TKB v1.3. Use activityGroup.additionalParticipant.device instead.</td></tr><tr><td>activityGroup.location (Location (deprecated - use additionalParticipant))</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">NOT MAPPED. Deprecated in TKB v1.3. Use activityGroup.additionalParticipant.location instead.</td></tr></table></div>"
},
"url" : "https://inera.se/fhir/core/ConceptMap/getactivities-tkb-to-procedure",
"version" : "0.2.0",
"name" : "ConceptMapGetActivitiesTKBToProcedure",
"title" : "ConceptMap GetActivities TKB to FHIR Procedure",
"status" : "draft",
"experimental" : true,
"date" : "2025-11-25",
"publisher" : "Inera AB",
"contact" : [
{
"name" : "Inera AB",
"telecom" : [
{
"system" : "url",
"value" : "https://www.inera.se"
},
{
"system" : "email",
"value" : "info@inera.se"
}
]
},
{
"name" : "Inera AB",
"telecom" : [
{
"system" : "url",
"value" : "https://www.inera.se"
},
{
"system" : "email",
"value" : "info@inera.se"
}
]
}
],
"description" : "Complete mapping from GetActivities TKB service to FHIR Procedure resource",
"jurisdiction" : [
{
"coding" : [
{
"system" : "urn:iso:std:iso:3166",
"code" : "SE",
"display" : "Sweden"
}
]
}
],
"sourceUri" : "https://rivta.se/domains/clinicalprocess/activity/actions/GetActivitiesResponder/1",
"targetCanonical" : "http://hl7.org/fhir/StructureDefinition/Procedure",
"group" : [
{
"source" : "https://rivta.se/domains/clinicalprocess/activity/actions/GetActivitiesResponder/1",
"target" : "http://hl7.org/fhir/StructureDefinition/Bundle",
"element" : [
{
"code" : "patientId",
"display" : "Query parameter: Patient ID filter",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "NOT MAPPED. Used as search parameter: GET /Procedure?patient=Patient/191212121212"
}
]
},
{
"code" : "time",
"display" : "Query parameter: Time period filter",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "NOT MAPPED. Used as search parameter: GET /Procedure?date=ge2024-01-01&date=le2024-12-31"
}
]
},
{
"code" : "activityCode",
"display" : "Query parameter: Activity code filter (KVÅ)",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "NOT MAPPED. Used as search parameter: GET /Procedure?code=http://www.socialstyrelsen.se/kva|ABC12"
}
]
},
{
"code" : "activityId",
"display" : "Query parameter: Activity ID filter",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "NOT MAPPED. Used as search parameter: GET /Procedure?identifier=hsaid|xyz123"
}
]
},
{
"code" : "sourceSystemId",
"display" : "Query parameter: Source system filter",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "NOT MAPPED. Filter by source system HSA-ID"
}
]
},
{
"code" : "careGiverId",
"display" : "Query parameter: Care giver filter",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "NOT MAPPED. Used to filter by care giver organization"
}
]
},
{
"code" : "careUnitId",
"display" : "Query parameter: Care unit filter",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "NOT MAPPED. Used to filter by care unit"
}
]
},
{
"code" : "relation",
"display" : "Query parameter: Related information filter",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "NOT MAPPED. Filter by relationships to other clinical information"
}
]
},
{
"code" : "interactionAgreementId",
"display" : "Query parameter: Interaction agreement (deprecated)",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "NOT MAPPED. Fixed UUID, not used: 2866a7c4-9c60-433f-9035-a4d779ffe7a1"
}
]
}
]
},
{
"source" : "https://rivta.se/domains/clinicalprocess/activity/actions/GetActivitiesResponder/1",
"target" : "http://hl7.org/fhir/StructureDefinition/Procedure",
"element" : [
{
"code" : "activityGroup.activity.id",
"display" : "Activity ID (unique business identifier)",
"target" : [
{
"code" : "identifier",
"equivalence" : "equivalent",
"comment" : "Unique activity identifier within source system. id.root = source system HSA-ID, id.extension = local activity ID."
}
]
},
{
"code" : "activityGroup.patient.id",
"display" : "Patient ID (personnummer/samordningsnummer)",
"target" : [
{
"code" : "subject",
"equivalence" : "equivalent",
"comment" : "Reference to PatientBaseInera. Maps personnummer (1.2.752.129.2.1.3.1) or samordningsnummer (1.2.752.129.2.1.3.3)."
}
]
},
{
"code" : "activityGroup.activity.code",
"display" : "Activity code (KVÅ or other classification)",
"target" : [
{
"code" : "code",
"equivalence" : "equivalent",
"comment" : "Activity code, typically KVÅ (OID 1.2.752.116.1.1.1.1.4). Maps to CodeableConcept with code.code, code.codeSystem, code.displayName."
}
]
},
{
"code" : "activityGroup.activity.status",
"display" : "Activity status",
"target" : [
{
"code" : "status",
"equivalence" : "relatedto",
"comment" : "Maps to FHIR status values: preparation, in-progress, completed, not-done, stopped, unknown. TKB uses different code system, requires mapping."
}
]
},
{
"code" : "activityGroup.activity.time",
"display" : "Activity time (point in time or period)",
"target" : [
{
"code" : "performedDateTime",
"equivalence" : "equivalent",
"comment" : "If time.start == time.end, use performedDateTime. If time.start != time.end, use performedPeriod."
}
]
},
{
"code" : "activityGroup.activity.time.start",
"display" : "Activity start time",
"target" : [
{
"code" : "performedPeriod.start",
"equivalence" : "equivalent",
"comment" : "Start of activity period. Format: ÅÅÅÅMMDDttmmss."
}
]
},
{
"code" : "activityGroup.activity.time.end",
"display" : "Activity end time",
"target" : [
{
"code" : "performedPeriod.end",
"equivalence" : "equivalent",
"comment" : "End of activity period. Format: ÅÅÅÅMMDDttmmss."
}
]
},
{
"code" : "activityGroup.performerRole",
"display" : "Performer (practitioner role)",
"target" : [
{
"code" : "performer",
"equivalence" : "equivalent",
"comment" : "Person who performed the activity. Maps to performer.actor (PractitionerBaseInera)."
}
]
},
{
"code" : "activityGroup.performerRole.person.id",
"display" : "Performer person ID (HSA-ID)",
"target" : [
{
"code" : "performer.actor",
"equivalence" : "equivalent",
"comment" : "Reference to PractitionerBaseInera. HSA-ID in id.extension (OID 1.2.752.129.2.1.4.1)."
}
]
},
{
"code" : "activityGroup.performerRole.code",
"display" : "Performer role code (KV Befattning)",
"target" : [
{
"code" : "performer.function",
"equivalence" : "equivalent",
"comment" : "Role of performer, typically KV Befattning (OID 1.2.752.129.2.2.1.4)."
}
]
},
{
"code" : "activityGroup.performerRole.careUnit.id",
"display" : "Care unit (PDL vårdenhet)",
"target" : [
{
"code" : "location",
"equivalence" : "relatedto",
"comment" : "Care unit HSA-ID. Maps to Location resource reference, or use performer.onBehalfOf for organization."
}
]
},
{
"code" : "activityGroup.performerRole.careUnit.careGiver.id",
"display" : "Care giver (vårdgivare organization)",
"target" : [
{
"code" : "performer.onBehalfOf",
"equivalence" : "equivalent",
"comment" : "Reference to OrganizationBaseInera. Care giver HSA-ID (OID 1.2.752.129.2.1.4.1)."
}
]
},
{
"code" : "activityGroup.activity.targetSite",
"display" : "Target body site",
"target" : [
{
"code" : "bodySite",
"equivalence" : "equivalent",
"comment" : "Anatomical location where procedure was performed. Maps to CodeableConcept (e.g., SNOMED CT body site codes)."
}
]
},
{
"code" : "activityGroup.activity.method",
"display" : "Activity method",
"target" : [
{
"code" : "extension:method",
"equivalence" : "equivalent",
"comment" : "Method/technique used during the procedure. Uses standard HL7 procedure-method extension (http://hl7.org/fhir/StructureDefinition/procedure-method)."
}
]
},
{
"code" : "activityGroup.activity.description",
"display" : "Activity description (free text)",
"target" : [
{
"code" : "note",
"equivalence" : "equivalent",
"comment" : "Free text description of the activity."
}
]
},
{
"code" : "activityGroup.activity.registrationTime",
"display" : "Registration time",
"target" : [
{
"code" : "Provenance.recorded",
"equivalence" : "equivalent",
"comment" : "When activity was registered in system. Use Provenance.recorded with activity=CREATE and target=Procedure."
}
]
},
{
"code" : "activityGroup.activity.approvedForPatient",
"display" : "Approved for patient viewing (menprövningsflagga)",
"target" : [
{
"code" : "meta.security",
"equivalence" : "relatedto",
"comment" : "Menprövningsflagga - indicates patient viewing approval. Use meta.security labels or link to Consent resource for patient access control."
}
]
},
{
"code" : "activityGroup.legalAuthenticator",
"display" : "Legal authenticator (signatory)",
"target" : [
{
"code" : "Provenance.agent",
"equivalence" : "equivalent",
"comment" : "Person who signed/authenticated the activity. Map to Provenance resource with agent.role = legal authenticator (http://terminology.hl7.org/CodeSystem/v3-ParticipationType#LA)."
}
]
},
{
"code" : "activityGroup.sourceSystem.id",
"display" : "Source system (HSA-ID)",
"target" : [
{
"code" : "identifier.system",
"equivalence" : "relatedto",
"comment" : "Source system HSA-ID. Used as identifier.system prefix, or in meta.source."
}
]
},
{
"code" : "activityGroup.careProcessId",
"display" : "Care process UUID (vårdprocess)",
"target" : [
{
"code" : "basedOn",
"equivalence" : "equivalent",
"comment" : "UUID for individualized care process. Reference EpisodeOfCare resource with identifier.value = careProcessId UUID. Use basedOn since Procedure.partOf only allows Procedure|Observation|MedicationAdministration."
}
]
},
{
"code" : "activityGroup.additionalParticipant",
"display" : "Additional participants",
"target" : [
{
"code" : "performer",
"equivalence" : "relatedto",
"comment" : "Other participants (persons, devices, locations) in the activity. Map persons to additional performer entries, devices to focalDevice, locations to location element."
}
]
},
{
"code" : "activityGroup.additionalParticipant.type",
"display" : "Participant type",
"target" : [
{
"code" : "performer.function",
"equivalence" : "relatedto",
"comment" : "Type of participant involvement."
}
]
},
{
"code" : "activityGroup.additionalParticipant.role",
"display" : "Participant role",
"target" : [
{
"code" : "performer.function",
"equivalence" : "relatedto",
"comment" : "Role code for participant."
}
]
},
{
"code" : "activityGroup.additionalParticipant.device",
"display" : "Participating device",
"target" : [
{
"code" : "focalDevice",
"equivalence" : "equivalent",
"comment" : "Device used in procedure. Maps to focalDevice with reference to Device resource."
}
]
},
{
"code" : "activityGroup.additionalParticipant.location",
"display" : "Participating location",
"target" : [
{
"code" : "location",
"equivalence" : "equivalent",
"comment" : "Location where procedure was performed. Reference to Location resource."
}
]
},
{
"code" : "activityGroup.activity.relation",
"display" : "Relations to other clinical information",
"target" : [
{
"code" : "basedOn",
"equivalence" : "relatedto",
"comment" : "Relationships to observations (chb-o) or other activities (caa-ga). Use basedOn (fulfills order/request), partOf (part of larger activity), or reasonReference (justification) depending on relation type."
}
]
},
{
"code" : "activityGroup.activity.relation.code",
"display" : "Relation type code",
"target" : [
{
"code" : "basedOn",
"equivalence" : "relatedto",
"comment" : "Type of relationship determines which element to use: basedOn (fulfills), partOf (component), reasonReference (justification). Relation.code context preserved in referenced resource identifier."
}
]
},
{
"code" : "activityGroup.activity.relation.referredInformation.id",
"display" : "Related information ID",
"target" : [
{
"code" : "basedOn",
"equivalence" : "relatedto",
"comment" : "ID of related observation or activity. Maps to reference (Observation, Procedure, etc.)."
}
]
},
{
"code" : "activityGroup.activity.additionalInformation",
"display" : "Additional information (key-value pairs)",
"target" : [
{
"code" : "note",
"equivalence" : "relatedto",
"comment" : "Additional structured information as key-value pairs. Store as formatted text in Procedure.note (Annotation type). For structured data, create referenced Observation resources."
}
]
}
]
},
{
"source" : "https://rivta.se/domains/clinicalprocess/activity/actions/GetActivitiesResponder/1",
"target" : "http://hl7.org/fhir/StructureDefinition/Provenance",
"element" : [
{
"code" : "activityGroup.legalAuthenticator.id",
"display" : "Legal authenticator ID",
"target" : [
{
"code" : "agent.who",
"equivalence" : "equivalent",
"comment" : "Reference to PractitionerBaseInera who signed/authenticated the activity."
}
]
},
{
"code" : "activityGroup.legalAuthenticator.time",
"display" : "Authentication time",
"target" : [
{
"code" : "occurredDateTime",
"equivalence" : "equivalent",
"comment" : "When the activity was authenticated/signed."
}
]
},
{
"code" : "activityGroup.legalAuthenticator.name",
"display" : "Authenticator name",
"target" : [
{
"code" : "agent.who.display",
"equivalence" : "equivalent",
"comment" : "Name of legal authenticator."
}
]
},
{
"code" : "activityGroup.patient.dateOfBirth",
"display" : "Patient date of birth",
"target" : [
{
"code" : "target",
"equivalence" : "relatedto",
"comment" : "Patient demographics echoed in response. Not mapped separately; available in referenced Patient resource."
}
]
},
{
"code" : "activityGroup.patient.gender",
"display" : "Patient gender (KV Kön)",
"target" : [
{
"code" : "target",
"equivalence" : "relatedto",
"comment" : "Patient demographics. Available in referenced Patient resource with KV Kön code (OID 1.2.752.129.2.2.1.1)."
}
]
}
]
},
{
"source" : "https://rivta.se/domains/clinicalprocess/activity/actions/GetActivitiesResponder/1",
"target" : "http://hl7.org/fhir/StructureDefinition/Bundle",
"element" : [
{
"code" : "activityGroup",
"display" : "Activity group (container)",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "NOT MAPPED. Container/grouping structure for optimization. In FHIR, each activity becomes separate Procedure resource in Bundle."
}
]
},
{
"code" : "activityGroup.device",
"display" : "Device (deprecated - use additionalParticipant)",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "NOT MAPPED. Deprecated in TKB v1.3. Use activityGroup.additionalParticipant.device instead."
}
]
},
{
"code" : "activityGroup.location",
"display" : "Location (deprecated - use additionalParticipant)",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "NOT MAPPED. Deprecated in TKB v1.3. Use activityGroup.additionalParticipant.location instead."
}
]
}
]
}
]
}