Mappings for the allergyintolerance resource.
| AllergyIntolerance | Observation[classCode=OBS, moodCode=EVN] |
| identifier | id |
| status | statusCode |
| type | code |
| category | value < IntoleranceValue (Agent) |
| criticality | inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)] |
| substance | .participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType] |
| patient | .participation[typeCode=SBJ].role[classCode=PAT] |
| recordedDate | .participation[typeCode=AUT].time |
| recorder | .participation[typeCode=AUT].role |
| reporter | .participation[typeCode=INF].role |
| onset | effectiveTime.low |
| lastOccurence | 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)] |
| substance | outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].participation[typeCode=CSM].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType] |
| certainty | uncertaintyCode |
| manifestation | code |
| description | text |
| onset | effectiveTime.low |
| 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 |