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

ConceptMap: ConceptMap GetAlertInformation TKB to FHIR AllergyIntolerance/Flag (Experimental)

Official URL: https://inera.se/fhir/core/ConceptMap/getalertinformation-tkb-to-allergyintolerance Version: 0.2.0
Draft as of 2025-11-24 Computable Name: ConceptMapGetAlertInformationTKBToAllergyIntolerance

Complete mapping from GetAlertInformation TKB service to FHIR AllergyIntolerance and Flag resources

Mapping from https://rivta.se/domains/clinicalprocess/healthcond/description/GetAlertInformationResponder/2 to AllergyIntolerance


Group 1 Mapping from https://rivta.se/domains/clinicalprocess/healthcond/description/GetAlertInformationResponder/2 to Bundle

Source CodeRelationshipTarget CodeComment
patientId (Query parameter: Patient ID filter)(not mapped)NOT MAPPED. Used as search parameter: GET /AllergyIntolerance?patient=Patient/191212121212
alertType (Query parameter: Filter by alert type)(not mapped)NOT MAPPED. Filter by alert type (pharmaceutical hypersensitivity, serious disease, etc.). Used to route to AllergyIntolerance vs Flag resources.

Group 2 Mapping from https://rivta.se/domains/clinicalprocess/healthcond/description/GetAlertInformationResponder/2 to AllergyIntolerance

Source CodeRelationshipTarget CodeComment
alertInformation.alertInformationHeader.documentId (Alert ID (unique business identifier))is equivalent toidentifierUnique alert identifier within source system. System derived from sourceSystemHSAid.
alertInformation.alertInformationHeader.patientId (Patient ID (personnummer/samordningsnummer))is equivalent topatientReference to Patient with Swedish national identifier. OID 1.2.752.129.2.1.3.1 (personnummer), 1.2.752.129.2.1.3.3 (samordningsnummer)
alertInformation.alertInformationHeader.approvedForPatient (Approved for patient access (true/false))is equivalent tometa.securityIf false, add security label NOPATIENT to restrict patient access (menprövningsflagga).
alertInformation.alertInformationBody.typeOfAlertInformation (Type of alert (Läkemedelsöverkänslighet))maps to wider concepttypeSwedish alert type → FHIR AllergyIntolerance.type (allergy|intolerance). Only pharmaceutical hypersensitivity maps here. Other types use Flag resource.
alertInformation.alertInformationBody.hypersensitivity.typeOfHypersensitivity (Type of hypersensitivity (medication, food, environment))maps to wider conceptcategorySwedish hypersensitivity type (KV Typ av överkänslighet OID 1.2.752.129.2.2.3.10) → FHIR category: medication|food|environment|biologic. Requires ConceptMap.
alertInformation.alertInformationBody.hypersensitivity.degreeOfSeverity (Degree of severity)maps to wider conceptcriticalitySwedish severity codes (KV Allvarlighetsgrad OID 1.2.752.129.2.2.3.3) → FHIR criticality: low|high|unable-to-assess. Lindrig/Måttlig→low, Svår/Livshotande→high.
alertInformation.alertInformationBody.hypersensitivity.degreeOfCertainty (Degree of certainty/verification)maps to wider conceptverificationStatusSwedish certainty codes (KV Visshetsgrad OID 1.2.752.129.2.2.3.11) → FHIR verificationStatus: unconfirmed|presumed|confirmed|refuted. Requires ConceptMap.
alertInformation.alertInformationBody.hypersensitivity.pharmaceuticalHypersensitivity.atcSubstance (ATC substance code)is equivalent tocodeATC code for pharmaceutical substance. System: http://www.whocc.no/atc or Swedish ATC (OID 1.2.752.129.2.2.3.1.1). code.coding.code + code.coding.display.
alertInformation.alertInformationBody.hypersensitivity.pharmaceuticalHypersensitivity.atcSubstance.code (ATC code value)is equivalent tocode.coding.codeATC code (e.g., N02BE01 for paracetamol). System: http://www.whocc.no/atc
alertInformation.alertInformationBody.hypersensitivity.pharmaceuticalHypersensitivity.atcSubstance.displayName (Substance name)is equivalent tocode.coding.displaySubstance display name (e.g., 'Paracetamol')
alertInformation.alertInformationBody.hypersensitivity.pharmaceuticalHypersensitivity.nonAtcSubstance (Non-ATC substance description)is equivalent tocode.textFree text description when ATC code not available. Use code.text.
alertInformation.alertInformationBody.hypersensitivity.pharmaceuticalHypersensitivity.pharmaceuticalProductId (NPL product ID)maps to wider conceptcode.codingNPL (Nordic Pharmaceutical List) ID. System: OID 1.2.752.129.2.1.5.1. Add as additional coding alongside ATC.
alertInformation.alertInformationBody.alertInformationComment (Comment/description of reaction)is equivalent toreaction.descriptionFree text description of observed reaction. For coded reactions, use reaction.manifestation with SNOMED CT codes.
alertInformation.alertInformationBody.ascertainedDate (Date when hypersensitivity was ascertained)is equivalent toonsetDateTimeWhen the allergy/intolerance was first identified or occurred.
alertInformation.alertInformationBody.verifiedTime (Verification timestamp)is equivalent torecordedDateWhen the allergy was verified/recorded in the system. Also in Provenance.recorded.
alertInformation.alertInformationBody.validityTimePeriod.start (Validity period start)is equivalent toonsetDateTimeStart of validity period for the alert.
alertInformation.alertInformationBody.validityTimePeriod.end (Validity period end)maps to wider conceptlastOccurrenceEnd of validity. If ended, may also set clinicalStatus=inactive or resolved.
alertInformation.alertInformationBody.obsoleteTime (Time when alert became obsolete)maps to wider conceptclinicalStatusIf obsoleteTime is set, clinicalStatus=inactive or resolved. Store actual obsolete timestamp in Provenance.recorded with activity=UPDATE describing status change.
alertInformation.alertInformationHeader.nullified (Alert nullified flag)is equivalent toverificationStatusIf nullified=true, set verificationStatus=entered-in-error. Store nullifiedReason in Provenance.

Group 3 Mapping from https://rivta.se/domains/clinicalprocess/healthcond/description/GetAlertInformationResponder/2 to Flag

Source CodeRelationshipTarget CodeComment
alertInformation.alertInformationHeader.documentId (Alert ID)is equivalent toidentifierUnique alert identifier for non-pharmaceutical alerts.
alertInformation.alertInformationHeader.patientId (Patient ID)is equivalent tosubjectReference to Patient resource.
alertInformation.alertInformationHeader.approvedForPatient (Approved for patient access)is equivalent tometa.securityIf false, add security label NOPATIENT.
alertInformation.alertInformationBody.typeOfAlertInformation (Type of alert (Allvarlig sjukdom, Behandlingsvarning, etc.))maps to wider conceptcategorySwedish alert type → Flag.category. Use Swedish CodeSystem or map to FHIR flag-category codes: safety|infection|drug|behavioral|etc.
alertInformation.alertInformationBody.seriousDisease (Serious disease information)is equivalent tocodeCoded serious disease (e.g., bleeding disorder, infectious disease). Use SNOMED CT or ICD-10-SE codes.
alertInformation.alertInformationBody.treatmentWarning (Treatment warning)is equivalent tocodeTreatment warning information. Code and text description.
alertInformation.alertInformationBody.communicableDisease (Communicable disease)is equivalent tocodeCommunicable disease alert. Use infectious disease codes.
alertInformation.alertInformationBody.restrictionOfCare (Restriction of care)is equivalent tocodeCare restriction information (e.g., DNR, treatment limitations).
alertInformation.alertInformationBody.unstructuredAlertInformation (Unstructured alert information)is equivalent tocode.textFree text alert when structured data not available.
alertInformation.alertInformationBody.validityTimePeriod (Validity time period)is equivalent toperiodWhen the flag/alert is valid. period.start and period.end.
alertInformation.alertInformationBody.obsoleteTime (Obsolete time)maps to wider conceptstatusIf obsoleteTime set, status=inactive. Otherwise status=active. FHIR status: active|inactive|entered-in-error.
alertInformation.alertInformationBody.alertInformationComment (Alert comment)is equivalent tocode.textAdditional comment/description. Use code.text for brief comment or Flag.note for longer narrative.

Group 4 Mapping from https://rivta.se/domains/clinicalprocess/healthcond/description/GetAlertInformationResponder/2 to Provenance

Source CodeRelationshipTarget CodeComment
alertInformation.alertInformationHeader.sourceSystemHSAid (Source system HSA-ID)is equivalent toentity.whatHSA-ID of source system. Also mapped to AllergyIntolerance/Flag.meta.source as https://hsaid.se/{HSA-ID}. Provenance.entity.role=source.
alertInformation.alertInformationHeader.accountableHealthcareProfessional.authorTime (Author time (registration timestamp))is equivalent torecordedWhen alert was recorded. Also in AllergyIntolerance.recordedDate.
alertInformation.alertInformationHeader.accountableHealthcareProfessional.healthcareProfessionalHSAid (Healthcare professional HSA-ID)is equivalent toagent.whoReference to Practitioner with HSA-ID. Provenance.agent.type=author. Also in AllergyIntolerance.recorder.
alertInformation.alertInformationHeader.accountableHealthcareProfessional.healthcareProfessionalName (Healthcare professional name)is equivalent toagent.who.displayDisplay name. Full Practitioner resource should have structured name.
alertInformation.alertInformationHeader.accountableHealthcareProfessional.healthcareProfessionalRoleCode (Healthcare professional role/befattning)is related toagent.roleProfessional role (befattning). Use KV Befattning (OID 1.2.752.129.2.2.1.4).
alertInformation.alertInformationHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit (Organization unit)is equivalent toagent.onBehalfOfReference to Organization (organizational unit).
alertInformation.alertInformationHeader.accountableHealthcareProfessional.healthcareProfessionalCareUnitHSAid (Care unit HSA-ID (vårdenhet))is equivalent toentity.whatHSA-ID for care unit. Reference to Organization. Part of PDL hierarchy.
alertInformation.alertInformationHeader.accountableHealthcareProfessional.healthcareProfessionalCareGiverHSAid (Care provider HSA-ID (vårdgivare))is equivalent toentity.whatHSA-ID for care provider. Top-level organization in PDL hierarchy.
alertInformation.alertInformationHeader.legalAuthenticator.signatureTime (Signature timestamp)is equivalent tosignature.whenWhen alert was digitally signed (if applicable).
alertInformation.alertInformationHeader.legalAuthenticator.legalAuthenticatorHSAid (Legal authenticator HSA-ID)is equivalent tosignature.whoReference to Practitioner who signed alert. Provenance.agent.type=legal.
alertInformation.alertInformationHeader.nullifiedReason (Reason for nullification)is related toreasonWhy alert was nullified. Store in Provenance.reason when verificationStatus=entered-in-error.

Group 5 Mapping from https://rivta.se/domains/clinicalprocess/healthcond/description/GetAlertInformationResponder/2 to Bundle

Source CodeRelationshipTarget CodeComment
alertInformation.alertInformationHeader.documentTitle (Document title)(not mapped)NOT MAPPED. Cardinality 0..0 for GetAlertInformation.
alertInformation.alertInformationHeader.documentTime (Document time)(not mapped)NOT MAPPED. Cardinality 0..0 for GetAlertInformation. Use authorTime or verifiedTime instead.
result.resultCode (Result code (OK, INFO, ERROR))(not mapped)NOT MAPPED to resources. HTTP status: OK→200, INFO→200 with warnings, ERROR→4xx/5xx.
result.errorCode (Error code)(not mapped)NOT MAPPED to resources. Use in OperationOutcome.issue.code when resultCode=ERROR.
result.logId (Log ID (UUID for troubleshooting))(not mapped)NOT MAPPED to resources. Use in OperationOutcome.issue.diagnostics or X-Request-Id header.
result.message (Result message)(not mapped)NOT MAPPED to resources. User-facing message in OperationOutcome.issue.diagnostics.