HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1
0.0.1 - STU1 International flag

HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1, published by HL7 Portugal. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-pt/core/ and changes regularly. See the Directory of published versions

Resource Profile: PT_AllergyIntolerance - Mappings

Active as of 2024-09-23

Mappings for the d20e6bbe-dfd8-4df7-8060-9446ceb892f0 resource profile.

Mappings for ()

PT_AllergyIntolerance
AllergyIntolerance
   identifier
      valueIAM-7
      assigner
         referenceIAM-19
         identifierIAM-19
   clinicalStatus
      coding
         systemIAM-17.3
         codeIAM-17.1
         displayIAM-17.2
      textIAM-17.2
   verificationStatus
      coding
         systemIAM-17.6
         codeIAM-17.4
         displayIAM-17.5
      textIAM-17.5
   typeIAM-9
   categoryIAM-2; AL1-2
   code
      coding
         systemIAM-3.3; AL1-3.3
         codeIAM-3.1; AL1-3.1
         displayIAM-3.2; Al1-3.2
      coding (DCIPT)
         systemIAM-3.3; AL1-3.3
         codeIAM-3.1; AL1-3.1
         displayIAM-3.2; Al1-3.2
      coding (ATC)
         systemIAM-3.3; AL1-3.3
         codeIAM-3.1; AL1-3.1
         displayIAM-3.2; Al1-3.2
      coding (SNOMED)
         systemIAM-3.3; AL1-3.3
         codeIAM-3.1; AL1-3.1
         displayIAM-3.2; Al1-3.2
      coding (INFARMED)
         systemIAM-3.3; AL1-3.3
         codeIAM-3.1; AL1-3.1
         displayIAM-3.2; Al1-3.2
      textTranslation to [PT] of the display field (with mapping IAM-3.2; Al1-3.2)
   patient
      referencePID-3 c/ SNS; PID-18.1; PID-3 c/ SONHO
   onset[x]IAM-11
   recordedDateIAM-13
   recorder
      referenceIAM-18
   asserter
      referenceIAM-15
      identifier
         systemIAM-15.3
         valueIAM-15.1
      displayIAM-15.2
   lastOccurrenceIAM-20
   reaction
      substance
         coding
            systemIAM-3.3; IAM-3.6
            codeIAM-3.1; IAM-3.4
            displayIAM-3.2; IAM-3.5
         coding (DCIPT)
            systemIAM-3.3; AL1-3.3
            codeIAM-3.1; AL1-3.1
            displayIAM-3.2; Al1-3.2
         coding (ATC)
            systemIAM-3.3; AL1-3.3
            codeIAM-3.1; AL1-3.1
            displayIAM-3.2; Al1-3.2
         coding (SNOMED)
            systemIAM-3.3; AL1-3.3
            codeIAM-3.1; AL1-3.1
            displayIAM-3.2; Al1-3.2
         coding (INFARMED)
            systemIAM-3.3; AL1-3.3
            codeIAM-3.1; AL1-3.1
            displayIAM-3.2; Al1-3.2
      manifestation
         coding
            systemIAM-5.3
            codeIAM-5.1
            displayIAM-5.2
         textIAM-5.2
      onsetIAM-11; AL1-6
      severityIAM-4

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

PT_AllergyIntolerance
AllergyIntoleranceEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifierid
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
         idn/a
         extensionn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
   clinicalStatusObservation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="clinicalStatus", moodCode=EVN].value
      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
   verificationStatusObservation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="verificationStatus", moodCode=EVN].value
      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
   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)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (DCIPT)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (ATC)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (SNOMED)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (INFARMED)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   patient.participation[typeCode=SBJ].role[classCode=PAT]
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   encounter.inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
   onset[x]effectiveTime.low
   recordedDate.participation[typeCode=AUT].time
   recorder.participation[typeCode=AUT].role
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   asserter.participation[typeCode=INF].role
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
         idn/a
         extensionn/a
         useRole.code or implied by context
         typeRole.code or implied by context
         systemII.root or Role.id.root
         valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
         periodRole.effectiveTime or implied by context
         assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
      displayN/A
   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
         coding (DCIPT)union(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         coding (ATC)union(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         coding (SNOMED)union(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         coding (INFARMED)union(., ./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
      notesubjectOf.observationEvent[code="annotation"].value

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

PT_AllergyIntolerance
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)

PT_AllergyIntolerance
AllergyIntolerance
   identifierIAM-7
      useN/A
      typeCX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   clinicalStatus
      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
   verificationStatus
      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
   typeIAM-9
   categoryAL1-2
   criticalityAL1-4
   codeAL1-3 / IAM-3
      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
      coding (DCIPT)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 (ATC)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 (SNOMED)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 (INFARMED)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
   patient(PID-3)
   recordedDateIAM-13
   asserterIAM-14 (if patient) / IAM-18 (if practitioner)
      identifier
         useN/A
         typeCX.5
         systemCX.4 / EI-2-4
         valueCX.1 / EI.1
         periodCX.7 + CX.8
         assignerCX.4 / (CX.4,CX.9,CX.10)
   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
         coding (DCIPT)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 (ATC)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 (SNOMED)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 (INFARMED)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
      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