HL7 PT FHIR Implementation Guide: Community Health
1.0.1 - STU1 International flag

HL7 PT FHIR Implementation Guide: Community Health, published by HL7 Portugal. 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/AnaCeciliaCoimbra/community-health-ig/ and changes regularly. See the Directory of published versions

Resource Profile: AllergyIntolerancePatientAllergy - Mappings

Active as of 2024-12-12

Mappings for the allergy-intolerance-patient-allergy resource profile.

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

AllergyIntolerancePatientAllergy
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
   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
   patient.participation[typeCode=SBJ].role[classCode=PAT]
   encounter.inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
   onset[x]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)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         text./originalText[mediaType/code="text/plain"]/data
      manifestationcode
         idn/a
         extensionn/a
         codingunion(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         text./originalText[mediaType/code="text/plain"]/data
      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
         idn/a
         extensionn/a
         codingunion(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         text./originalText[mediaType/code="text/plain"]/data
      notesubjectOf.observationEvent[code="annotation"].value

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

AllergyIntolerancePatientAllergy
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
   recordedDateFiveWs.recorded
   recorderFiveWs.author
   asserterFiveWs.source

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

AllergyIntolerancePatientAllergy
AllergyIntolerance
   identifierIAM-7
   typeIAM-9
   categoryAL1-2
   criticalityAL1-4
   codeAL1-3 / IAM-3
   patient(PID-3)
   recordedDateIAM-13
   asserterIAM-14 (if patient) / IAM-18 (if practitioner)
   reaction
      substance
         codingC*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
      manifestationAL1-5
         codingC*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
      onsetAL1-6
      exposureRoute
         codingC*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