HL7 FHIR Costa Rica - Core
0.0.1-ballot - ci-build

HL7 FHIR Costa Rica - Core, published by Iniciativa HL7 Costa Rica. This guide is not an authorized publication; it is the continuous build for version 0.0.1-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7-cr/core/ and changes regularly. See the Directory of published versions

## Resource Profile: Alergia e Intolerancia

Official URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-allergy-intolerance | Version: 0.0.1-ballot
Standards status: Draft | Maturity Level: 0 | Computable Name: CRCoreAllergyIntolerance
Copyright/Legal: Usado con el permiso de HL7 International, todos los derechos resevados en los Licencias de HL7 Internacional.

Perfil AllergyIntolerance para registrar alergias e intolerancias de pacientes, incluyendo metadatos específicos relacionados con reacciones adversas y su manejo.

Usages:

- This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
AllergyIntolerance |  | 0..* | AllergyIntolerance(5.0.0) | Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1
identifier | S Σ | 0..* | Identifier | External ids for this item
clinicalStatus | ?!S Σ | 1..1 | CodeableConcept | active | inactive | resolved Binding: AllergyIntoleranceClinicalStatusCodes (required)
verificationStatus | ?!S Σ | 1..1 | CodeableConcept | unconfirmed | confirmed | refuted Binding: AllergyIntoleranceVerificationStatus (required)
type | S Σ | 0..1 | CodeableConcept | allergy | intolerance Binding: AllergyIntoleranceType (preferred): Identification of the underlying physiological mechanism for a Reaction Risk.
category | S Σ | 0..* | code | food | medication | environment | biologic | vaccine Binding: AllergyIntoleranceCategory (required)
code | S Σ | 1..1 | CodeableConcept | Código SNOMED-CT de la alergia o intolerancia. Binding: ConditionProblemDiagnosisCodes (required)
patient | S Σ | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se le asocia la alergia o intolerancia.
onset[x] | S | 0..1 | dateTime | Fecha y hora de inicio de la alergia o intolerancia.
recordedDate | S | 0..1 | dateTime | Fecha y hora en que se registró la alergia o intolerancia.
note | S | 0..* | Annotation | Notas adicionales sobre la alergia o intolerancia.
reaction | S | 0..* | BackboneElement | Reacción asociada a la alergia o intolerancia.
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
manifestation | S | 1..* | CodeableReference(Observation) | Manifestación clínica de la reacción. Binding: SNOMEDCTClinicalFindings (required)
description | S | 0..1 | string | Descripción de la reacción.
severity | S | 0..1 | code | Gravedad de la reacción. mild | severe | moderate Binding: AllergyIntoleranceSeverity (required): Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
AllergyIntolerance.clinicalStatus | Base | required | AllergyIntolerance Clinical Status Codes | 📍5.0.0 | FHIR Std.
AllergyIntolerance.verificationStatus | Base | required | AllergyIntolerance Verification Status | 📍5.0.0 | FHIR Std.
AllergyIntolerance.type | Base | preferred | Allergy Intolerance Type | 📍5.0.0 | FHIR Std.
AllergyIntolerance.category | Base | required | Allergy Intolerance Category | 📍5.0.0 | FHIR Std.
AllergyIntolerance.code | Base | required | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​manifestation | Base | required | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​severity | Base | required | Allergy Intolerance Severity | 📍5.0.0 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | AllergyIntolerance | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | AllergyIntolerance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | AllergyIntolerance | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | AllergyIntolerance | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | AllergyIntolerance | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | AllergyIntolerance.implicitRules, AllergyIntolerance.modifierExtension, AllergyIntolerance.identifier, AllergyIntolerance.clinicalStatus, AllergyIntolerance.verificationStatus, AllergyIntolerance.type, AllergyIntolerance.category, AllergyIntolerance.code, AllergyIntolerance.patient, AllergyIntolerance.onset[x], AllergyIntolerance.recordedDate, AllergyIntolerance.note, AllergyIntolerance.reaction, AllergyIntolerance.reaction.modifierExtension, AllergyIntolerance.reaction.manifestation, AllergyIntolerance.reaction.description, AllergyIntolerance.reaction.severity | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | AllergyIntolerance.modifierExtension, AllergyIntolerance.reaction.modifierExtension | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from AllergyIntolerance

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
AllergyIntolerance |  | 0..* | AllergyIntolerance(5.0.0) | Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
identifier | S | 0..* | Identifier | External ids for this item
clinicalStatus | S | 1..1 | CodeableConcept | active | inactive | resolved Binding: AllergyIntoleranceClinicalStatusCodes (required)
verificationStatus | S | 1..1 | CodeableConcept | unconfirmed | confirmed | refuted Binding: AllergyIntoleranceVerificationStatus (required)
type | S | 0..1 | CodeableConcept | allergy | intolerance
category | S | 0..* | code | food | medication | environment | biologic | vaccine Binding: AllergyIntoleranceCategory (required)
code | S | 1..1 | CodeableConcept | Código SNOMED-CT de la alergia o intolerancia. Binding: ConditionProblemDiagnosisCodes (required)
patient | S | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se le asocia la alergia o intolerancia.
onset[x] | S | 0..1 | dateTime | Fecha y hora de inicio de la alergia o intolerancia.
recordedDate | S | 0..1 | dateTime | Fecha y hora en que se registró la alergia o intolerancia.
note | S | 0..* | Annotation | Notas adicionales sobre la alergia o intolerancia.
reaction | S | 0..* | BackboneElement | Reacción asociada a la alergia o intolerancia.
manifestation | S | 1..* | CodeableReference(Observation) | Manifestación clínica de la reacción. Binding: SNOMEDCTClinicalFindings (required)
description | S | 0..1 | string | Descripción de la reacción.
severity | S | 0..1 | code | Gravedad de la reacción. mild | severe | moderate
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
AllergyIntolerance.clinicalStatus | Base | required | AllergyIntolerance Clinical Status Codes | 📍5.0.0 | FHIR Std.
AllergyIntolerance.verificationStatus | Base | required | AllergyIntolerance Verification Status | 📍5.0.0 | FHIR Std.
AllergyIntolerance.category | Base | required | Allergy Intolerance Category | 📍5.0.0 | FHIR Std.
AllergyIntolerance.code | Base | required | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​manifestation | Base | required | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std.

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
AllergyIntolerance |  | 0..* | AllergyIntolerance(5.0.0) | Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1
identifier | S Σ | 0..* | Identifier | External ids for this item
clinicalStatus | ?!S Σ | 1..1 | CodeableConcept | active | inactive | resolved Binding: AllergyIntoleranceClinicalStatusCodes (required)
verificationStatus | ?!S Σ | 1..1 | CodeableConcept | unconfirmed | confirmed | refuted Binding: AllergyIntoleranceVerificationStatus (required)
type | S Σ | 0..1 | CodeableConcept | allergy | intolerance Binding: AllergyIntoleranceType (preferred): Identification of the underlying physiological mechanism for a Reaction Risk.
category | S Σ | 0..* | code | food | medication | environment | biologic | vaccine Binding: AllergyIntoleranceCategory (required)
criticality | Σ | 0..1 | code | low | high | unable-to-assess Binding: AllergyIntoleranceCriticality (required): Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.
code | S Σ | 1..1 | CodeableConcept | Código SNOMED-CT de la alergia o intolerancia. Binding: ConditionProblemDiagnosisCodes (required)
patient | S Σ | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se le asocia la alergia o intolerancia.
encounter |  | 0..1 | Reference(Encounter) | Encounter when the allergy or intolerance was asserted
onset[x] | S | 0..1 | dateTime | Fecha y hora de inicio de la alergia o intolerancia.
recordedDate | S | 0..1 | dateTime | Fecha y hora en que se registró la alergia o intolerancia.
participant | Σ | 0..* | BackboneElement | Who or what participated in the activities related to the allergy or intolerance and how they were involved
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
function | Σ | 0..1 | CodeableConcept | Type of involvement Binding: ParticipationRoleType (extensible)
actor | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | Who or what participated in the activities related to the allergy or intolerance
lastOccurrence |  | 0..1 | dateTime | Date(/time) of last known occurrence of a reaction
note | S | 0..* | Annotation | Notas adicionales sobre la alergia o intolerancia.
reaction | S | 0..* | BackboneElement | Reacción asociada a la alergia o intolerancia.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
substance |  | 0..1 | CodeableConcept | Specific substance or pharmaceutical product considered to be responsible for event Binding: SubstanceCode (example): Codes defining the type of the substance (including pharmaceutical products).
manifestation | S | 1..* | CodeableReference(Observation) | Manifestación clínica de la reacción. Binding: SNOMEDCTClinicalFindings (required)
description | S | 0..1 | string | Descripción de la reacción.
onset |  | 0..1 | dateTime | Date(/time) when manifestations showed
severity | S | 0..1 | code | Gravedad de la reacción. mild | severe | moderate Binding: AllergyIntoleranceSeverity (required): Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.
exposureRoute |  | 0..1 | CodeableConcept | How the subject was exposed to the substance Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of exposure to a substance.
note |  | 0..* | Annotation | Text about event not captured in other fields
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
AllergyIntolerance.language | Base | required | All Languages | 📍5.0.0 | FHIR Std.
AllergyIntolerance.clinicalStatus | Base | required | AllergyIntolerance Clinical Status Codes | 📍5.0.0 | FHIR Std.
AllergyIntolerance.verificationStatus | Base | required | AllergyIntolerance Verification Status | 📍5.0.0 | FHIR Std.
AllergyIntolerance.type | Base | preferred | Allergy Intolerance Type | 📍5.0.0 | FHIR Std.
AllergyIntolerance.category | Base | required | Allergy Intolerance Category | 📍5.0.0 | FHIR Std.
AllergyIntolerance.criticality | Base | required | Allergy Intolerance Criticality | 📍5.0.0 | FHIR Std.
AllergyIntolerance.code | Base | required | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.
AllergyIntolerance.participant.​function | Base | extensible | Participation Role Type | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​substance | Base | example | Substance Code | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​manifestation | Base | required | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​severity | Base | required | Allergy Intolerance Severity | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​exposureRoute | Base | example | SNOMED CT Route Codes | 📍5.0.0 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | AllergyIntolerance | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | AllergyIntolerance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | AllergyIntolerance | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | AllergyIntolerance | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | AllergyIntolerance | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | AllergyIntolerance.meta, AllergyIntolerance.implicitRules, AllergyIntolerance.language, AllergyIntolerance.text, AllergyIntolerance.extension, AllergyIntolerance.modifierExtension, AllergyIntolerance.identifier, AllergyIntolerance.clinicalStatus, AllergyIntolerance.verificationStatus, AllergyIntolerance.type, AllergyIntolerance.category, AllergyIntolerance.criticality, AllergyIntolerance.code, AllergyIntolerance.patient, AllergyIntolerance.encounter, AllergyIntolerance.onset[x], AllergyIntolerance.recordedDate, AllergyIntolerance.participant, AllergyIntolerance.participant.extension, AllergyIntolerance.participant.modifierExtension, AllergyIntolerance.participant.function, AllergyIntolerance.participant.actor, AllergyIntolerance.lastOccurrence, AllergyIntolerance.note, AllergyIntolerance.reaction, AllergyIntolerance.reaction.extension, AllergyIntolerance.reaction.modifierExtension, AllergyIntolerance.reaction.substance, AllergyIntolerance.reaction.manifestation, AllergyIntolerance.reaction.description, AllergyIntolerance.reaction.onset, AllergyIntolerance.reaction.severity, AllergyIntolerance.reaction.exposureRoute, AllergyIntolerance.reaction.note | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | AllergyIntolerance.extension, AllergyIntolerance.modifierExtension, AllergyIntolerance.participant.extension, AllergyIntolerance.participant.modifierExtension, AllergyIntolerance.reaction.extension, AllergyIntolerance.reaction.modifierExtension | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from AllergyIntolerance

Summary

Mandatory: 3 elements
Must-Support: 14 elements

Structures

This structure refers to these other structures:

- Paciente (https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-patient|0.0.1-ballot)

Maturity: 0

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
AllergyIntolerance |  | 0..* | AllergyIntolerance(5.0.0) | Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1
identifier | S Σ | 0..* | Identifier | External ids for this item
clinicalStatus | ?!S Σ | 1..1 | CodeableConcept | active | inactive | resolved Binding: AllergyIntoleranceClinicalStatusCodes (required)
verificationStatus | ?!S Σ | 1..1 | CodeableConcept | unconfirmed | confirmed | refuted Binding: AllergyIntoleranceVerificationStatus (required)
type | S Σ | 0..1 | CodeableConcept | allergy | intolerance Binding: AllergyIntoleranceType (preferred): Identification of the underlying physiological mechanism for a Reaction Risk.
category | S Σ | 0..* | code | food | medication | environment | biologic | vaccine Binding: AllergyIntoleranceCategory (required)
code | S Σ | 1..1 | CodeableConcept | Código SNOMED-CT de la alergia o intolerancia. Binding: ConditionProblemDiagnosisCodes (required)
patient | S Σ | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se le asocia la alergia o intolerancia.
onset[x] | S | 0..1 | dateTime | Fecha y hora de inicio de la alergia o intolerancia.
recordedDate | S | 0..1 | dateTime | Fecha y hora en que se registró la alergia o intolerancia.
note | S | 0..* | Annotation | Notas adicionales sobre la alergia o intolerancia.
reaction | S | 0..* | BackboneElement | Reacción asociada a la alergia o intolerancia.
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
manifestation | S | 1..* | CodeableReference(Observation) | Manifestación clínica de la reacción. Binding: SNOMEDCTClinicalFindings (required)
description | S | 0..1 | string | Descripción de la reacción.
severity | S | 0..1 | code | Gravedad de la reacción. mild | severe | moderate Binding: AllergyIntoleranceSeverity (required): Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
AllergyIntolerance.clinicalStatus | Base | required | AllergyIntolerance Clinical Status Codes | 📍5.0.0 | FHIR Std.
AllergyIntolerance.verificationStatus | Base | required | AllergyIntolerance Verification Status | 📍5.0.0 | FHIR Std.
AllergyIntolerance.type | Base | preferred | Allergy Intolerance Type | 📍5.0.0 | FHIR Std.
AllergyIntolerance.category | Base | required | Allergy Intolerance Category | 📍5.0.0 | FHIR Std.
AllergyIntolerance.code | Base | required | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​manifestation | Base | required | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​severity | Base | required | Allergy Intolerance Severity | 📍5.0.0 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | AllergyIntolerance | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | AllergyIntolerance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | AllergyIntolerance | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | AllergyIntolerance | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | AllergyIntolerance | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | AllergyIntolerance.implicitRules, AllergyIntolerance.modifierExtension, AllergyIntolerance.identifier, AllergyIntolerance.clinicalStatus, AllergyIntolerance.verificationStatus, AllergyIntolerance.type, AllergyIntolerance.category, AllergyIntolerance.code, AllergyIntolerance.patient, AllergyIntolerance.onset[x], AllergyIntolerance.recordedDate, AllergyIntolerance.note, AllergyIntolerance.reaction, AllergyIntolerance.reaction.modifierExtension, AllergyIntolerance.reaction.manifestation, AllergyIntolerance.reaction.description, AllergyIntolerance.reaction.severity | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | AllergyIntolerance.modifierExtension, AllergyIntolerance.reaction.modifierExtension | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

Differential View

This structure is derived from AllergyIntolerance

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
AllergyIntolerance |  | 0..* | AllergyIntolerance(5.0.0) | Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
identifier | S | 0..* | Identifier | External ids for this item
clinicalStatus | S | 1..1 | CodeableConcept | active | inactive | resolved Binding: AllergyIntoleranceClinicalStatusCodes (required)
verificationStatus | S | 1..1 | CodeableConcept | unconfirmed | confirmed | refuted Binding: AllergyIntoleranceVerificationStatus (required)
type | S | 0..1 | CodeableConcept | allergy | intolerance
category | S | 0..* | code | food | medication | environment | biologic | vaccine Binding: AllergyIntoleranceCategory (required)
code | S | 1..1 | CodeableConcept | Código SNOMED-CT de la alergia o intolerancia. Binding: ConditionProblemDiagnosisCodes (required)
patient | S | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se le asocia la alergia o intolerancia.
onset[x] | S | 0..1 | dateTime | Fecha y hora de inicio de la alergia o intolerancia.
recordedDate | S | 0..1 | dateTime | Fecha y hora en que se registró la alergia o intolerancia.
note | S | 0..* | Annotation | Notas adicionales sobre la alergia o intolerancia.
reaction | S | 0..* | BackboneElement | Reacción asociada a la alergia o intolerancia.
manifestation | S | 1..* | CodeableReference(Observation) | Manifestación clínica de la reacción. Binding: SNOMEDCTClinicalFindings (required)
description | S | 0..1 | string | Descripción de la reacción.
severity | S | 0..1 | code | Gravedad de la reacción. mild | severe | moderate
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
AllergyIntolerance.clinicalStatus | Base | required | AllergyIntolerance Clinical Status Codes | 📍5.0.0 | FHIR Std.
AllergyIntolerance.verificationStatus | Base | required | AllergyIntolerance Verification Status | 📍5.0.0 | FHIR Std.
AllergyIntolerance.category | Base | required | Allergy Intolerance Category | 📍5.0.0 | FHIR Std.
AllergyIntolerance.code | Base | required | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​manifestation | Base | required | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std.

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
AllergyIntolerance |  | 0..* | AllergyIntolerance(5.0.0) | Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1
identifier | S Σ | 0..* | Identifier | External ids for this item
clinicalStatus | ?!S Σ | 1..1 | CodeableConcept | active | inactive | resolved Binding: AllergyIntoleranceClinicalStatusCodes (required)
verificationStatus | ?!S Σ | 1..1 | CodeableConcept | unconfirmed | confirmed | refuted Binding: AllergyIntoleranceVerificationStatus (required)
type | S Σ | 0..1 | CodeableConcept | allergy | intolerance Binding: AllergyIntoleranceType (preferred): Identification of the underlying physiological mechanism for a Reaction Risk.
category | S Σ | 0..* | code | food | medication | environment | biologic | vaccine Binding: AllergyIntoleranceCategory (required)
criticality | Σ | 0..1 | code | low | high | unable-to-assess Binding: AllergyIntoleranceCriticality (required): Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.
code | S Σ | 1..1 | CodeableConcept | Código SNOMED-CT de la alergia o intolerancia. Binding: ConditionProblemDiagnosisCodes (required)
patient | S Σ | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se le asocia la alergia o intolerancia.
encounter |  | 0..1 | Reference(Encounter) | Encounter when the allergy or intolerance was asserted
onset[x] | S | 0..1 | dateTime | Fecha y hora de inicio de la alergia o intolerancia.
recordedDate | S | 0..1 | dateTime | Fecha y hora en que se registró la alergia o intolerancia.
participant | Σ | 0..* | BackboneElement | Who or what participated in the activities related to the allergy or intolerance and how they were involved
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
function | Σ | 0..1 | CodeableConcept | Type of involvement Binding: ParticipationRoleType (extensible)
actor | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | Who or what participated in the activities related to the allergy or intolerance
lastOccurrence |  | 0..1 | dateTime | Date(/time) of last known occurrence of a reaction
note | S | 0..* | Annotation | Notas adicionales sobre la alergia o intolerancia.
reaction | S | 0..* | BackboneElement | Reacción asociada a la alergia o intolerancia.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
substance |  | 0..1 | CodeableConcept | Specific substance or pharmaceutical product considered to be responsible for event Binding: SubstanceCode (example): Codes defining the type of the substance (including pharmaceutical products).
manifestation | S | 1..* | CodeableReference(Observation) | Manifestación clínica de la reacción. Binding: SNOMEDCTClinicalFindings (required)
description | S | 0..1 | string | Descripción de la reacción.
onset |  | 0..1 | dateTime | Date(/time) when manifestations showed
severity | S | 0..1 | code | Gravedad de la reacción. mild | severe | moderate Binding: AllergyIntoleranceSeverity (required): Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.
exposureRoute |  | 0..1 | CodeableConcept | How the subject was exposed to the substance Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of exposure to a substance.
note |  | 0..* | Annotation | Text about event not captured in other fields
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
AllergyIntolerance.language | Base | required | All Languages | 📍5.0.0 | FHIR Std.
AllergyIntolerance.clinicalStatus | Base | required | AllergyIntolerance Clinical Status Codes | 📍5.0.0 | FHIR Std.
AllergyIntolerance.verificationStatus | Base | required | AllergyIntolerance Verification Status | 📍5.0.0 | FHIR Std.
AllergyIntolerance.type | Base | preferred | Allergy Intolerance Type | 📍5.0.0 | FHIR Std.
AllergyIntolerance.category | Base | required | Allergy Intolerance Category | 📍5.0.0 | FHIR Std.
AllergyIntolerance.criticality | Base | required | Allergy Intolerance Criticality | 📍5.0.0 | FHIR Std.
AllergyIntolerance.code | Base | required | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.
AllergyIntolerance.participant.​function | Base | extensible | Participation Role Type | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​substance | Base | example | Substance Code | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​manifestation | Base | required | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​severity | Base | required | Allergy Intolerance Severity | 📍5.0.0 | FHIR Std.
AllergyIntolerance.reaction.​exposureRoute | Base | example | SNOMED CT Route Codes | 📍5.0.0 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | AllergyIntolerance | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | AllergyIntolerance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | AllergyIntolerance | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | AllergyIntolerance | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | AllergyIntolerance | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | AllergyIntolerance.meta, AllergyIntolerance.implicitRules, AllergyIntolerance.language, AllergyIntolerance.text, AllergyIntolerance.extension, AllergyIntolerance.modifierExtension, AllergyIntolerance.identifier, AllergyIntolerance.clinicalStatus, AllergyIntolerance.verificationStatus, AllergyIntolerance.type, AllergyIntolerance.category, AllergyIntolerance.criticality, AllergyIntolerance.code, AllergyIntolerance.patient, AllergyIntolerance.encounter, AllergyIntolerance.onset[x], AllergyIntolerance.recordedDate, AllergyIntolerance.participant, AllergyIntolerance.participant.extension, AllergyIntolerance.participant.modifierExtension, AllergyIntolerance.participant.function, AllergyIntolerance.participant.actor, AllergyIntolerance.lastOccurrence, AllergyIntolerance.note, AllergyIntolerance.reaction, AllergyIntolerance.reaction.extension, AllergyIntolerance.reaction.modifierExtension, AllergyIntolerance.reaction.substance, AllergyIntolerance.reaction.manifestation, AllergyIntolerance.reaction.description, AllergyIntolerance.reaction.onset, AllergyIntolerance.reaction.severity, AllergyIntolerance.reaction.exposureRoute, AllergyIntolerance.reaction.note | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | AllergyIntolerance.extension, AllergyIntolerance.modifierExtension, AllergyIntolerance.participant.extension, AllergyIntolerance.participant.modifierExtension, AllergyIntolerance.reaction.extension, AllergyIntolerance.reaction.modifierExtension | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from AllergyIntolerance

Summary

Mandatory: 3 elements
Must-Support: 14 elements

Structures

This structure refers to these other structures:

- Paciente (https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-patient|0.0.1-ballot)

Maturity: 0

Other representations of profile: CSV, Excel, Schematron