Canadian Baseline
1.1.0 - CI Build Canada flag

Canadian Baseline, published by HL7 Canada - FHIR Implementation Work Group. This guide is not an authorized publication; it is the continuous build for version 1.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7-Canada/ca-baseline/ and changes regularly. See the Directory of published versions

Resource Profile: AllergyIntoleranceProfile - Mappings

Draft as of 2020-09-08

Mappings for the profile-allergyintolerance resource profile.

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

AllergyIntoleranceProfile
AllergyIntoleranceEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifierid
   clinicalStatusObservation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="clinicalStatus", moodCode=EVN].value
   verificationStatusObservation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="verificationStatus", moodCode=EVN].value
      idn/a
      extensionn/a
      codingunion(., ./translation)
      coding (StatusCode)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (HL7VerificationStatus)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   typecode
   categoryvalue < IntoleranceValue (Agent)
   criticalityinboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]
   codesubstance/product: .participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType] negated/excluded substance/product: .participation[typeCode=CAGNT, negationInd=true].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType] positive or negated/excluded condition/situation: Observation.code=ASSERTION; Observation.value
      idn/a
      extensionn/a
      codingunion(., ./translation)
      coding (NotAsked)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (NoAllergy)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (@default)union(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   patient.participation[typeCode=SBJ].role[classCode=PAT]
   encounter.inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
   onset[x]effectiveTime.low
   onset[x] (onsetDateTime)effectiveTime.low
   recordedDate.participation[typeCode=AUT].time
   recorder.participation[typeCode=AUT].role
   asserter.participation[typeCode=INF].role
   lastOccurrenceoutBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime
   notesubjectOf.observationEvent[code="annotation"].value
   reactionoutBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]
      idn/a
      extensionn/a
      modifierExtensionN/A
      substanceoutBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].participation[typeCode=CSM].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]
         idn/a
         extensionn/a
         codingunion(., ./translation)
         coding (NonDrugAllergen)union(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         coding (CCDD)union(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         coding (@default)union(., ./translation)
         text./originalText[mediaType/code="text/plain"]/data
      manifestationcode
      descriptiontext
      onseteffectiveTime.low
      severityinboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]
      exposureRouteoutBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode
      notesubjectOf.observationEvent[code="annotation"].value

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

AllergyIntoleranceProfile
AllergyIntolerance
   identifierFiveWs.identifier
   clinicalStatusFiveWs.status
   verificationStatusFiveWs.status
   typeFiveWs.class
   categoryFiveWs.class
   criticalityFiveWs.grade
   codeFiveWs.what[x]
   patientFiveWs.subject[x], FiveWs.subject
   encounterFiveWs.context
   onset[x]FiveWs.init
   onset[x] (onsetDateTime)FiveWs.init
   recordedDateFiveWs.recorded
   recorderFiveWs.author
   asserterFiveWs.source

Mappings for HL7 v2 Mapping (http://hl7.org/v2)

AllergyIntoleranceProfile
AllergyIntolerance
   identifierIAM-7
   verificationStatus
      codingC*E.1-8, C*E.10-22
      coding (StatusCode)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (HL7VerificationStatus)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   typeIAM-9
   categoryAL1-2
   criticalityAL1-4
   codeAL1-3 / IAM-3
      codingC*E.1-8, C*E.10-22
      coding (NotAsked)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (NoAllergy)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (@default)C*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   patient(PID-3)
   recordedDateIAM-13
   asserterIAM-14 (if patient) / IAM-18 (if practitioner)
   reaction
      substance
         codingC*E.1-8, C*E.10-22
         coding (NonDrugAllergen)C*E.1-8, C*E.10-22
            systemC*E.3
            versionC*E.7
            codeC*E.1
            displayC*E.2 - but note this is not well followed
            userSelectedSometimes implied by being first
         coding (CCDD)C*E.1-8, C*E.10-22
            systemC*E.3
            versionC*E.7
            codeC*E.1
            displayC*E.2 - but note this is not well followed
            userSelectedSometimes implied by being first
         coding (@default)C*E.1-8, C*E.10-22
         textC*E.9. But note many systems use C*E.2 for this
      manifestationAL1-5
      onsetAL1-6