Mappings for the athena-allergy-profile resource profile.
| Name | athenaFlow | athenaPractice | RIM Mapping | FiveWs Pattern Mapping | HL7 v2 Mapping |
 AllergyIntolerance |
FHIRR4_ALLERGYINTOLERANCEVIEW |
FHIRR4_ALLERGYINTOLERANCEVIEW |
- Observation[classCode=OBS
- moodCode=EVN]
|
|
|
  id |
- MakeId("ALLERGY"
- %RESOURCEID%)
|
- MakeId("ALLERGY"
- %RESOURCEID%)
|
|
|
|
  meta |
|
|
|
|
|
   id |
|
|
n/a |
|
|
   extension |
|
|
n/a |
|
|
   versionId |
MakeId(%AID%) |
MakeId(%AID%) |
|
|
|
   lastUpdated |
%WHENUPDATED% |
%WHENUPDATED% |
|
|
|
   source |
|
|
|
|
|
   Slices for profile |
|
|
|
|
|
    profile:USCore AllergyIntolerance Profile |
|
|
|
|
|
    profile:Athena Allergy Profile |
|
|
|
|
|
   Slices for security |
|
|
|
|
|
    security:SENSITIVECHART |
CheckSensitive(%SENSITIVECHART%) |
CheckSensitive(%SENSITIVECHART%) |
|
|
|
    security:CONFABBR |
|
|
|
|
|
     id |
|
|
n/a |
|
|
     extension |
|
|
n/a |
|
|
     system |
getSiteCodeSystem("ConfidentialDocument") |
getSiteCodeSystem("ConfidentialDocument") |
./codeSystem |
|
C*E.3 |
     version |
|
|
./codeSystemVersion |
|
C*E.7 |
     code |
%CONFABBR% |
%CONFABBR% |
./code |
|
C*E.1 |
     display |
|
|
CV.displayName |
|
C*E.2 - but note this is not well followed |
     userSelected |
|
|
CD.codingRationale |
|
Sometimes implied by being first |
   tag |
MakeChangeTagList(%CHANGE%) |
MakeChangeTagList(%CHANGE%) |
|
|
|
  implicitRules |
|
|
|
|
|
  language |
|
|
|
|
|
  text |
|
|
Act.text? |
|
|
  contained |
|
|
N/A |
|
|
  Slices for extension |
|
|
|
|
|
   extension:encounter |
|
|
|
|
|
    id |
|
|
n/a |
|
|
    extension |
|
|
n/a |
|
|
    url |
|
|
N/A |
|
|
    value[x] |
- MakeReference("ALLERGY"
- %SDID%
- "Encounter")
|
- MakeReference("ALLERGY"
- %SDID%
- "Encounter")
|
N/A |
|
|
   extension:enddate |
|
|
|
|
|
    id |
|
|
n/a |
|
|
    extension |
|
|
n/a |
|
|
    url |
|
|
N/A |
|
|
    value[x] |
%STOPDATE% |
%STOPDATE% |
N/A |
|
|
  modifierExtension |
|
|
N/A |
|
|
  identifier |
- MakeIdentifier("U"
- getSiteSystem("AllergyId")
- %EXTALLERGYID%)
|
- MakeIdentifier("U"
- getSiteSystem("AllergyId")
- %EXTALLERGYID%)
|
id |
FiveWs.identifier |
IAM-7 |
  clinicalStatus |
- MapConceptCode("active"
- %CLINICALSTATUS%
- "ALLERGYCLINICALSTATUS")
|
- MapConceptCode("active"
- %CLINICALSTATUS%
- "ALLERGYCLINICALSTATUS")
|
- Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS
- code="clinicalStatus"
- moodCode=EVN].value
|
FiveWs.status |
|
  verificationStatus |
- MapConcept(%VERIFICATIONSTATUS%
- "ALLERGYVERIFICATIONSTATUS")
|
- MapConcept(%VERIFICATIONSTATUS%
- "ALLERGYVERIFICATIONSTATUS")
|
- Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS
- code="verificationStatus"
- moodCode=EVN].value
|
FiveWs.status |
|
  type |
|
|
code |
FiveWs.class |
IAM-9 |
  category |
- MapCode(%ALLCLASS%
- "ALLERGYCLASS")
|
- MapCode(%ALLCLASS%
- "ALLERGYCLASS")
|
value < IntoleranceValue (Agent) |
FiveWs.class |
AL1-2 |
  criticality |
- MapCode(%ISCRITICAL%
- "ALLERGYCRIT")
|
- MapCode(%ISCRITICAL%
- "ALLERGYCRIT")
|
- inboundRelationship[typeCode=SUBJ].source[classCode=OBS
- moodCode=EVN
- code=SEV
- value <= SeverityObservation (Severity Level)]
|
FiveWs.grade |
AL1-4 |
  code |
|
|
-
.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
|
FiveWs.what[x] |
AL1-3 / IAM-3 |
   id |
|
|
n/a |
|
|
   extension |
|
|
n/a |
|
|
   Slices for coding |
|
|
|
|
|
    coding:LabProd |
|
|
|
|
|
     id |
|
|
n/a |
|
|
     extension |
|
|
n/a |
|
|
     system |
|
|
./codeSystem |
|
C*E.3 |
     version |
|
|
./codeSystemVersion |
|
C*E.7 |
     code |
%NDCLABPROD% |
%NDCLABPROD% |
./code |
|
C*E.1 |
     display |
|
|
CV.displayName |
|
C*E.2 - but note this is not well followed |
     userSelected |
|
|
CD.codingRationale |
|
Sometimes implied by being first |
    coding:GPI |
|
|
|
|
|
     id |
|
|
n/a |
|
|
     extension |
|
|
n/a |
|
|
     system |
|
|
./codeSystem |
|
C*E.3 |
     version |
|
|
./codeSystemVersion |
|
C*E.7 |
     code |
%GPI% |
%GPI% |
./code |
|
C*E.1 |
     display |
|
|
CV.displayName |
|
C*E.2 - but note this is not well followed |
     userSelected |
|
|
CD.codingRationale |
|
Sometimes implied by being first |
    coding:DDID |
|
|
|
|
|
     id |
|
|
n/a |
|
|
     extension |
|
|
n/a |
|
|
     system |
|
|
./codeSystem |
|
C*E.3 |
     version |
|
|
./codeSystemVersion |
|
C*E.7 |
     code |
%DDID% |
%DDID% |
./code |
|
C*E.1 |
     display |
|
|
CV.displayName |
|
C*E.2 - but note this is not well followed |
     userSelected |
|
|
CD.codingRationale |
|
Sometimes implied by being first |
    coding:KDC |
|
|
|
|
|
     id |
|
|
n/a |
|
|
     extension |
|
|
n/a |
|
|
     system |
|
|
./codeSystem |
|
C*E.3 |
     version |
|
|
./codeSystemVersion |
|
C*E.7 |
     code |
%KDC% |
%KDC% |
./code |
|
C*E.1 |
     display |
|
|
CV.displayName |
|
C*E.2 - but note this is not well followed |
     userSelected |
|
|
CD.codingRationale |
|
Sometimes implied by being first |
    coding:SNOMED |
|
|
|
|
|
     id |
|
|
n/a |
|
|
     extension |
|
|
n/a |
|
|
     system |
|
|
./codeSystem |
|
C*E.3 |
     version |
|
|
./codeSystemVersion |
|
C*E.7 |
     code |
%SNOMED% |
%SNOMED% |
./code |
|
C*E.1 |
     display |
|
|
CV.displayName |
|
C*E.2 - but note this is not well followed |
     userSelected |
|
|
CD.codingRationale |
|
Sometimes implied by being first |
    coding:RXNORM |
- MakeRxnormCodingList(%RXNORM%
- //www.nlm.nih.gov/research/umls/rxnorm"
- null)
|
- MakeRxnormCodingList(%RXNORM%
- //www.nlm.nih.gov/research/umls/rxnorm"
- null)
|
|
|
|
   text |
%NAME% |
%NAME% |
./originalText[mediaType/code="text/plain"]/data |
|
C*E.9. But note many systems use C*E.2 for this |
  patient |
- MakeReference("PERSON"
- %PID%
- "Patient")
|
- MakeReference("PERSON"
- %PID%
- "Patient")
|
.participation[typeCode=SBJ].role[classCode=PAT] |
FiveWs.subject |
(PID-3) |
  encounter |
|
|
- .inboundRelationship[typeCode=COMP].source[classCode=ENC
- moodCode=EVN]
|
FiveWs.context |
|
  onset[x] |
%ONSETDATE% | %APPROXONSET% |
%ONSETDATE% | %APPROXONSET% |
effectiveTime.low |
FiveWs.init |
|
  recordedDate |
%WHENCREATED% |
%WHENCREATED% |
.participation[typeCode=AUT].time |
FiveWs.recorded |
IAM-13 |
  recorder |
- MakeReference("USR"
- %CREATOR%
- %USRID%
- "Practitioner")
|
- MakeReference("USR"
- %CREATOR%
- %USRID%
- "Practitioner")
|
.participation[typeCode=AUT].role |
FiveWs.author |
|
  asserter |
|
|
.participation[typeCode=INF].role |
FiveWs.source |
IAM-14 (if patient) / IAM-18 (if practitioner) |
  lastOccurrence |
|
|
- outBoundRelationship[typeCode=SUBJ].target[classCode=OBS
- moodCode=EVN
- code <= CommonClinicalObservationType
- value <= ObservationValue (Reaction Type)].effectiveTime
|
|
|
  note |
makeAnnotation(%DESCRIPTION%) |
makeAnnotation(%DESCRIPTION%) |
subjectOf.observationEvent[code="annotation"].value |
|
|
  Slices for reaction |
|
|
- outBoundRelationship[typeCode=SUBJ].target[classCode=OBS
- moodCode=EVN
- code <= CommonClinicalObservationType
- value <= ObservationValue (Reaction Type)]
|
|
|
   reaction:All Slices |
|
|
|
|
|
    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 |
|
|
   reaction:SHOCK |
|
|
- 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 |
     id |
|
|
n/a |
|
|
     extension |
|
|
n/a |
|
|
     coding |
- MakeCoding(%SHOCK%
- //snomed.info/sct"
- "Shock")
|
- MakeCoding(%SHOCK%
- //snomed.info/sct"
- "Shock")
|
|
|
|
     text |
|
|
./originalText[mediaType/code="text/plain"]/data |
|
C*E.9. But note many systems use C*E.2 for this |
    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 |
|
|
   reaction:RESP |
|
|
- 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 |
     id |
|
|
n/a |
|
|
     extension |
|
|
n/a |
|
|
     coding |
- MakeCoding(%RESP%
- //snomed.info/sct"
- "Shortness of Breath")
|
- MakeCoding(%RESP%
- //snomed.info/sct"
- "Shortness of Breath")
|
|
|
|
     text |
|
|
./originalText[mediaType/code="text/plain"]/data |
|
C*E.9. But note many systems use C*E.2 for this |
    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 |
|
|
   reaction:GI |
|
|
- 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 |
     id |
|
|
n/a |
|
|
     extension |
|
|
n/a |
|
|
     coding |
- MakeCoding(%GI%
- //snomed.info/sct"
- "Gastrointestinal")
|
- MakeCoding(%GI%
- //snomed.info/sct"
- "Gastrointestinal")
|
|
|
|
     text |
|
|
./originalText[mediaType/code="text/plain"]/data |
|
C*E.9. But note many systems use C*E.2 for this |
    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 |
|
|
   reaction:HEME |
|
|
- 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 |
     id |
|
|
n/a |
|
|
     extension |
|
|
n/a |
|
|
     coding |
- MakeCoding(%HEME%
- //snomed.info/sct"
- "Bleeding")
|
- MakeCoding(%HEME%
- //snomed.info/sct"
- "Bleeding")
|
|
|
|
     text |
|
|
./originalText[mediaType/code="text/plain"]/data |
|
C*E.9. But note many systems use C*E.2 for this |
    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 |
|
|
   reaction:RASH |
|
|
- 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 |
     id |
|
|
n/a |
|
|
     extension |
|
|
n/a |
|
|
     coding |
- MakeCoding(%RASH%
- //snomed.info/sct"
- "Rash")
|
- MakeCoding(%RASH%
- //snomed.info/sct"
- "Rash")
|
|
|
|
     text |
|
|
./originalText[mediaType/code="text/plain"]/data |
|
C*E.9. But note many systems use C*E.2 for this |
    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 |
|
|
   reaction:OTHER |
|
|
- 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 |
     id |
|
|
n/a |
|
|
     extension |
|
|
n/a |
|
|
     coding |
- MakeCoding(%OTHER%
- //snomed.info/sct"
- %DESCRIPTION%)
|
- MakeCoding(%OTHER%
- //snomed.info/sct"
- %DESCRIPTION%)
|
|
|
|
     text |
|
|
./originalText[mediaType/code="text/plain"]/data |
|
C*E.9. But note many systems use C*E.2 for this |
    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 |