This page is part of the CCDA: Consolidated CDA Release (v3.0.0-ballot: CCDA 3.0 Ballot 1) based on FHIR (HL7® FHIR® Standard) v5.0.0. . For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/AllergyIntoleranceObservation | Version: 3.0.0-ballot | |||
Draft as of 2023-12-21 | Computable Name: AllergyIntoleranceObservation | |||
Other Identifiers: id: urn:hl7ii:2.16.840.1.113883.10.20.22.4.7:2014-06-09 |
This template reflects a discrete observation about a patient’s allergy or intolerance. Because it is a discrete observation, it will have a statusCode of “completed”. The effectiveTime, also referred to as the “biologically relevant time” is the time at which the observation holds for the patient. For a provider seeing a patient in the clinic today, observing a history of penicillin allergy that developed five years ago, the effectiveTime is five years ago.
The effectiveTime of the Allergy - Intolerance Observation is the definitive indication of whether or not the underlying allergy/intolerance is resolved. If known to be resolved, then an effectiveTime/high would be present. If the date of resolution is not known, then effectiveTime/high will be present with a nullFlavor of “UNK”.
The agent responsible for an allergy or adverse reaction is not always a manufactured material (for example, food allergies), nor is it necessarily consumed. The following constraints reflect limitations in the base CDA R2 specification, and should be used to represent any type of responsible agent, i.e., use playingEntity classCode = “MMAT” for all agents, manufactured or not.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from SubstanceOrDeviceAllergyIntoleranceObservation
Path | Conformance | ValueSet |
Observation.participant:participant1.participantRole.playingEntity.code | preferred | CommonSubstancesForAllergyAndIntoleranceDocumentationIncludingRefutations |
Path | Conformance | ValueSet / Code |
Observation.classCode | required | Fixed Value: OBS |
Observation.moodCode | required | Fixed Value: EVN |
Observation.code | example | ObservationType |
Observation.statusCode | required | ActStatus |
Observation.value.code | required | AllergyAndIntoleranceType |
Observation.participant:participant1.typeCode | required | Fixed Value: CSM |
Observation.participant:participant1.participantRole.classCode | required | Fixed Value: MANU |
Observation.participant:participant1.participantRole.playingEntity.classCode | required | Fixed Value: MMAT |
Observation.participant:participant1.participantRole.playingEntity.code | preferred | CommonSubstancesForAllergyAndIntoleranceDocumentationIncludingRefutations |
Observation.entryRelationship:entryRelationship1.typeCode | required | Fixed Value: SUBJ |
Observation.entryRelationship:entryRelationship2.typeCode | required | Fixed Value: MFST |
Observation.entryRelationship:entryRelationship3.typeCode | required | Fixed Value: SUBJ |
Observation.entryRelationship:entryRelationship4.typeCode | required | Fixed Value: SUBJ |
Id | Grade | Path(s) | Details | Requirements |
should-author | warning | Observation | SHOULD contain author : author.exists() | |
should-effectiveTime | warning | Observation.entryRelationship:entryRelationship2.observation | SHOULD contain effectiveTime : effectiveTime.exists() | |
should-text-ref-value | warning | Observation, Observation.entryRelationship:entryRelationship1.observation, Observation.entryRelationship:entryRelationship2.observation, Observation.entryRelationship:entryRelationship3.observation, Observation.entryRelationship:entryRelationship4.observation | SHOULD contain text/reference/@value : text.reference.value.exists() |
Path | Conformance | ValueSet / Code |
Observation.nullFlavor | required | CDANullFlavor |
Observation.typeId.nullFlavor | required | CDANullFlavor |
Observation.templateId:substance-device-allergy-intolerance-obs.nullFlavor | required | CDANullFlavor |
Observation.templateId:allergy.nullFlavor | required | CDANullFlavor |
Observation.classCode | required | Fixed Value: OBS |
Observation.moodCode | required | Fixed Value: EVN |
Observation.code | example | ObservationType |
Observation.code.nullFlavor | required | CDANullFlavor |
Observation.text.nullFlavor | required | CDANullFlavor |
Observation.text.compression | required | CDACompressionAlgorithm |
Observation.text.integrityCheckAlgorithm | required | IntegrityCheckAlgorithm |
Observation.text.mediaType | example | MediaType |
Observation.text.representation | required | BinaryDataEncoding |
Observation.statusCode | required | ActStatus |
Observation.statusCode.nullFlavor | required | CDANullFlavor |
Observation.effectiveTime.nullFlavor | required | CDANullFlavor |
Observation.effectiveTime.operator | required | SetOperator |
Observation.priorityCode | example | ActPriority |
Observation.languageCode | required | AllLanguages |
Observation.value.nullFlavor | required | CDANullFlavor |
Observation.value.code | required | AllergyAndIntoleranceType |
Observation.interpretationCode | required | ObservationInterpretation |
Observation.methodCode | example | ObservationMethod |
Observation.participant:participant1.nullFlavor | required | CDANullFlavor |
Observation.participant:participant1.typeId.nullFlavor | required | CDANullFlavor |
Observation.participant:participant1.typeCode | required | Fixed Value: CSM |
Observation.participant:participant1.contextControlCode | required | Fixed Value: OP |
Observation.participant:participant1.participantRole.nullFlavor | required | CDANullFlavor |
Observation.participant:participant1.participantRole.typeId.nullFlavor | required | CDANullFlavor |
Observation.participant:participant1.participantRole.classCode | required | Fixed Value: MANU |
Observation.participant:participant1.participantRole.code | example | RoleCode |
Observation.participant:participant1.participantRole.playingEntity.nullFlavor | required | CDANullFlavor |
Observation.participant:participant1.participantRole.playingEntity.typeId.nullFlavor | required | CDANullFlavor |
Observation.participant:participant1.participantRole.playingEntity.classCode | required | Fixed Value: MMAT |
Observation.participant:participant1.participantRole.playingEntity.determinerCode | required | Fixed Value: INSTANCE |
Observation.participant:participant1.participantRole.playingEntity.code | preferred | CommonSubstancesForAllergyAndIntoleranceDocumentationIncludingRefutations |
Observation.entryRelationship:entryRelationship1.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship1.typeId.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship1.typeCode | required | Fixed Value: SUBJ |
Observation.entryRelationship:entryRelationship2.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship2.typeId.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship2.typeCode | required | Fixed Value: MFST |
Observation.entryRelationship:entryRelationship3.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship3.typeId.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship3.typeCode | required | Fixed Value: SUBJ |
Observation.entryRelationship:entryRelationship4.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship4.typeId.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship4.typeCode | required | Fixed Value: SUBJ |
Observation.referenceRange.nullFlavor | required | CDANullFlavor |
Observation.referenceRange.typeId.nullFlavor | required | CDANullFlavor |
Observation.referenceRange.typeCode | required | Fixed Value: REFV |
Id | Grade | Path(s) | Details | Requirements |
should-author | warning | Observation | SHOULD contain author : author.exists() | |
should-effectiveTime | warning | Observation.entryRelationship:entryRelationship2.observation | SHOULD contain effectiveTime : effectiveTime.exists() | |
should-text-ref-value | warning | Observation, Observation.entryRelationship:entryRelationship1.observation, Observation.entryRelationship:entryRelationship2.observation, Observation.entryRelationship:entryRelationship3.observation, Observation.entryRelationship:entryRelationship4.observation | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Observation.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
This structure is derived from SubstanceOrDeviceAllergyIntoleranceObservation
Differential View
This structure is derived from SubstanceOrDeviceAllergyIntoleranceObservation
Path | Conformance | ValueSet |
Observation.participant:participant1.participantRole.playingEntity.code | preferred | CommonSubstancesForAllergyAndIntoleranceDocumentationIncludingRefutations |
Key Elements View
Path | Conformance | ValueSet / Code |
Observation.classCode | required | Fixed Value: OBS |
Observation.moodCode | required | Fixed Value: EVN |
Observation.code | example | ObservationType |
Observation.statusCode | required | ActStatus |
Observation.value.code | required | AllergyAndIntoleranceType |
Observation.participant:participant1.typeCode | required | Fixed Value: CSM |
Observation.participant:participant1.participantRole.classCode | required | Fixed Value: MANU |
Observation.participant:participant1.participantRole.playingEntity.classCode | required | Fixed Value: MMAT |
Observation.participant:participant1.participantRole.playingEntity.code | preferred | CommonSubstancesForAllergyAndIntoleranceDocumentationIncludingRefutations |
Observation.entryRelationship:entryRelationship1.typeCode | required | Fixed Value: SUBJ |
Observation.entryRelationship:entryRelationship2.typeCode | required | Fixed Value: MFST |
Observation.entryRelationship:entryRelationship3.typeCode | required | Fixed Value: SUBJ |
Observation.entryRelationship:entryRelationship4.typeCode | required | Fixed Value: SUBJ |
Id | Grade | Path(s) | Details | Requirements |
should-author | warning | Observation | SHOULD contain author : author.exists() | |
should-effectiveTime | warning | Observation.entryRelationship:entryRelationship2.observation | SHOULD contain effectiveTime : effectiveTime.exists() | |
should-text-ref-value | warning | Observation, Observation.entryRelationship:entryRelationship1.observation, Observation.entryRelationship:entryRelationship2.observation, Observation.entryRelationship:entryRelationship3.observation, Observation.entryRelationship:entryRelationship4.observation | SHOULD contain text/reference/@value : text.reference.value.exists() |
Snapshot View
Path | Conformance | ValueSet / Code |
Observation.nullFlavor | required | CDANullFlavor |
Observation.typeId.nullFlavor | required | CDANullFlavor |
Observation.templateId:substance-device-allergy-intolerance-obs.nullFlavor | required | CDANullFlavor |
Observation.templateId:allergy.nullFlavor | required | CDANullFlavor |
Observation.classCode | required | Fixed Value: OBS |
Observation.moodCode | required | Fixed Value: EVN |
Observation.code | example | ObservationType |
Observation.code.nullFlavor | required | CDANullFlavor |
Observation.text.nullFlavor | required | CDANullFlavor |
Observation.text.compression | required | CDACompressionAlgorithm |
Observation.text.integrityCheckAlgorithm | required | IntegrityCheckAlgorithm |
Observation.text.mediaType | example | MediaType |
Observation.text.representation | required | BinaryDataEncoding |
Observation.statusCode | required | ActStatus |
Observation.statusCode.nullFlavor | required | CDANullFlavor |
Observation.effectiveTime.nullFlavor | required | CDANullFlavor |
Observation.effectiveTime.operator | required | SetOperator |
Observation.priorityCode | example | ActPriority |
Observation.languageCode | required | AllLanguages |
Observation.value.nullFlavor | required | CDANullFlavor |
Observation.value.code | required | AllergyAndIntoleranceType |
Observation.interpretationCode | required | ObservationInterpretation |
Observation.methodCode | example | ObservationMethod |
Observation.participant:participant1.nullFlavor | required | CDANullFlavor |
Observation.participant:participant1.typeId.nullFlavor | required | CDANullFlavor |
Observation.participant:participant1.typeCode | required | Fixed Value: CSM |
Observation.participant:participant1.contextControlCode | required | Fixed Value: OP |
Observation.participant:participant1.participantRole.nullFlavor | required | CDANullFlavor |
Observation.participant:participant1.participantRole.typeId.nullFlavor | required | CDANullFlavor |
Observation.participant:participant1.participantRole.classCode | required | Fixed Value: MANU |
Observation.participant:participant1.participantRole.code | example | RoleCode |
Observation.participant:participant1.participantRole.playingEntity.nullFlavor | required | CDANullFlavor |
Observation.participant:participant1.participantRole.playingEntity.typeId.nullFlavor | required | CDANullFlavor |
Observation.participant:participant1.participantRole.playingEntity.classCode | required | Fixed Value: MMAT |
Observation.participant:participant1.participantRole.playingEntity.determinerCode | required | Fixed Value: INSTANCE |
Observation.participant:participant1.participantRole.playingEntity.code | preferred | CommonSubstancesForAllergyAndIntoleranceDocumentationIncludingRefutations |
Observation.entryRelationship:entryRelationship1.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship1.typeId.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship1.typeCode | required | Fixed Value: SUBJ |
Observation.entryRelationship:entryRelationship2.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship2.typeId.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship2.typeCode | required | Fixed Value: MFST |
Observation.entryRelationship:entryRelationship3.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship3.typeId.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship3.typeCode | required | Fixed Value: SUBJ |
Observation.entryRelationship:entryRelationship4.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship4.typeId.nullFlavor | required | CDANullFlavor |
Observation.entryRelationship:entryRelationship4.typeCode | required | Fixed Value: SUBJ |
Observation.referenceRange.nullFlavor | required | CDANullFlavor |
Observation.referenceRange.typeId.nullFlavor | required | CDANullFlavor |
Observation.referenceRange.typeCode | required | Fixed Value: REFV |
Id | Grade | Path(s) | Details | Requirements |
should-author | warning | Observation | SHOULD contain author : author.exists() | |
should-effectiveTime | warning | Observation.entryRelationship:entryRelationship2.observation | SHOULD contain effectiveTime : effectiveTime.exists() | |
should-text-ref-value | warning | Observation, Observation.entryRelationship:entryRelationship1.observation, Observation.entryRelationship:entryRelationship2.observation, Observation.entryRelationship:entryRelationship3.observation, Observation.entryRelationship:entryRelationship4.observation | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Observation.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
This structure is derived from SubstanceOrDeviceAllergyIntoleranceObservation