SGHI FHIR Profile Implementation Guide
0.1.0 - ci-build

SGHI FHIR Profile Implementation Guide, published by Kathurima Kimathi. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/savannahghi/sil_fhir_profile_ig/ and changes regularly. See the Directory of published versions

## Resource Profile: SGHIAllergyIntolerance - Mappings

Draft as of 2026-05-21

Mappings for the allergyintolerance resource profile.

#### Mappings to Structures in this Implementation Guide

No Mappings Found

#### Mappings to other Structures

No Mappings Found

#### Other Mappings

Name | FiveWs Pattern Mapping | RIM Mapping | HL7 V2 Mapping
--- | --- | --- | ---
AllergyIntolerance | clinical.general | Entity Role or Act Observation[classCode=OBS moodCode=EVN] |
id |  |  |
meta |  |  |
implicitRules |  |  |
language |  |  |
text |  | Act.text? |
contained |  | N/A |
extension |  | N/A |
modifierExtension |  | N/A |
identifier | FiveWs.identifier | id | IAM-7
id |  | n/a |
extension |  | n/a |
use |  | Role.code or implied by context | N/A
type |  | Role.code or implied by context | CX.5
system |  | II.root or Role.id.root | CX.4 / EI-2-4
value |  | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) | CX.1 / EI.1
period |  | Role.effectiveTime or implied by context | CX.7 + CX.8
assigner |  | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper | CX.4 / (CX.4 CX.9 CX.10)
clinicalStatus | FiveWs.status | Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS code="clinicalStatus" moodCode=EVN].value |
verificationStatus | FiveWs.status | Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS code="verificationStatus" moodCode=EVN].value |
type | FiveWs.class | code | IAM-9
category | FiveWs.class | value < IntoleranceValue (Agent) | AL1-2
criticality | FiveWs.grade | inboundRelationship[typeCode=SUBJ].source[classCode=OBS moodCode=EVN code=SEV value <= SeverityObservation (Severity Level)] | AL1-4
code | FiveWs.what[x] | .participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT determinerCode=KIND .participation[typeCode=CAGNT negationInd=true].role[classCode=ADMM].player[classCode=MAT determinerCode=KIND Observation.code=ASSERTION; Observation.value | AL1-3 / IAM-3
patient | FiveWs.subject[x] | .participation[typeCode=SBJ].role[classCode=PAT] | (PID-3)
encounter | FiveWs.context | .inboundRelationship[typeCode=COMP].source[classCode=ENC moodCode=EVN] |
onset[x] | FiveWs.init | effectiveTime.low |
recordedDate | FiveWs.recorded | .participation[typeCode=AUT].time | IAM-13
participant |  | .participation[typeCode=PRF] |
id |  | n/a |
extension |  | n/a |
modifierExtension |  | N/A |
function |  | .participation.functionCode |
actor | FiveWs.who | .player |
lastOccurrence |  | outBoundRelationship[typeCode=SUBJ].target[classCode=OBS moodCode=EVN code <= CommonClinicalObservationType value <= ObservationValue (Reaction Type)].effectiveTime |
note |  | subjectOf.observationEvent[code="annotation"].value |
reaction |  | outBoundRelationship[typeCode=SUBJ].target[classCode=OBS moodCode=EVN code <= CommonClinicalObservationType value <= ObservationValue (Reaction Type)] |
id |  | n/a |
extension |  | n/a |
modifierExtension |  | N/A |
substance |  | outBoundRelationship[typeCode=SAS].target[classCode=SBADM code <= ExposureCode].participation[typeCode=CSM].role[classCode=ADMM].player[classCode=MAT determinerCode=KIND code <= ExposureAgentEntityType] |
manifestation |  | code | AL1-5
description |  | text |
onset |  | effectiveTime.low | AL1-6
severity |  | inboundRelationship[typeCode=SUBJ].source[classCode=OBS moodCode=EVN code=SEV value <= SeverityObservation (Severity Level)] |
exposureRoute |  | outBoundRelationship[typeCode=SAS].target[classCode=SBADM code <= ExposureCode].routeCode |
note |  | subjectOf.observationEvent[code="annotation"].value |
Documentation for this format