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
| 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:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | AllergyIntolerance(5.0.0) | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 0..* | Identifier | External ids for this item |
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | active | inactive | resolved Binding: AllergyIntoleranceClinicalStatusCodes (required) |
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | unconfirmed | confirmed | refuted Binding: AllergyIntoleranceVerificationStatus (required) |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | allergy | intolerance Binding: AllergyIntoleranceType (preferred): Identification of the underlying physiological mechanism for a Reaction Risk. |
![]() ![]() |
SΣ | 0..* | code | food | medication | environment | biologic | vaccine Binding: AllergyIntoleranceCategory (required) |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Código SNOMED-CT de la alergia o intolerancia. Binding: ConditionProblemDiagnosisCodes (required) |
![]() ![]() |
SΣ | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se le asocia la alergia o intolerancia. |
![]() ![]() |
S | 0..1 | dateTime | Fecha y hora de inicio de la alergia o intolerancia. |
![]() ![]() |
S | 0..1 | dateTime | Fecha y hora en que se registró la alergia o intolerancia. |
![]() ![]() |
S | 0..* | Annotation | Notas adicionales sobre la alergia o intolerancia. |
![]() ![]() |
S | 0..* | BackboneElement | Reacción asociada a la alergia o intolerancia. |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
S | 1..* | CodeableReference(Observation) | Manifestación clínica de la reacción. Binding: SNOMEDCTClinicalFindings (required) |
![]() ![]() ![]() |
S | 0..1 | string | Descripción de la reacción. |
![]() ![]() ![]() |
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 | ||||
| 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. |
| 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: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | AllergyIntolerance(5.0.0) | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) | |
![]() ![]() |
S | 0..* | Identifier | External ids for this item |
![]() ![]() |
S | 1..1 | CodeableConcept | active | inactive | resolved Binding: AllergyIntoleranceClinicalStatusCodes (required) |
![]() ![]() |
S | 1..1 | CodeableConcept | unconfirmed | confirmed | refuted Binding: AllergyIntoleranceVerificationStatus (required) |
![]() ![]() |
S | 0..1 | CodeableConcept | allergy | intolerance |
![]() ![]() |
S | 0..* | code | food | medication | environment | biologic | vaccine Binding: AllergyIntoleranceCategory (required) |
![]() ![]() |
S | 1..1 | CodeableConcept | Código SNOMED-CT de la alergia o intolerancia. Binding: ConditionProblemDiagnosisCodes (required) |
![]() ![]() |
S | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se le asocia la alergia o intolerancia. |
![]() ![]() |
S | 0..1 | dateTime | Fecha y hora de inicio de la alergia o intolerancia. |
![]() ![]() |
S | 0..1 | dateTime | Fecha y hora en que se registró la alergia o intolerancia. |
![]() ![]() |
S | 0..* | Annotation | Notas adicionales sobre la alergia o intolerancia. |
![]() ![]() |
S | 0..* | BackboneElement | Reacción asociada a la alergia o intolerancia. |
![]() ![]() ![]() |
S | 1..* | CodeableReference(Observation) | Manifestación clínica de la reacción. Binding: SNOMEDCTClinicalFindings (required) |
![]() ![]() ![]() |
S | 0..1 | string | Descripción de la reacción. |
![]() ![]() ![]() |
S | 0..1 | code | Gravedad de la reacción. mild | severe | moderate |
Documentation for this format | ||||
| 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: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | AllergyIntolerance(5.0.0) | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 0..* | Identifier | External ids for this item | ||||
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | active | inactive | resolved Binding: AllergyIntoleranceClinicalStatusCodes (required) | ||||
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | unconfirmed | confirmed | refuted Binding: AllergyIntoleranceVerificationStatus (required) | ||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | allergy | intolerance Binding: AllergyIntoleranceType (preferred): Identification of the underlying physiological mechanism for a Reaction Risk. | ||||
![]() ![]() |
SΣ | 0..* | code | food | medication | environment | biologic | vaccine Binding: AllergyIntoleranceCategory (required) | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Código SNOMED-CT de la alergia o intolerancia. Binding: ConditionProblemDiagnosisCodes (required) | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se le asocia la alergia o intolerancia. | ||||
![]() ![]() |
0..1 | Reference(Encounter) | Encounter when the allergy or intolerance was asserted | |||||
![]() ![]() |
S | 0..1 | dateTime | Fecha y hora de inicio de la alergia o intolerancia. | ||||
![]() ![]() |
S | 0..1 | dateTime | Fecha y hora en que se registró la alergia o intolerancia. | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | Who or what participated in the activities related to the allergy or intolerance and how they were involved | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of involvement Binding: ParticipationRoleType (extensible) | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | Who or what participated in the activities related to the allergy or intolerance | ||||
![]() ![]() |
0..1 | dateTime | Date(/time) of last known occurrence of a reaction | |||||
![]() ![]() |
S | 0..* | Annotation | Notas adicionales sobre la alergia o intolerancia. | ||||
![]() ![]() |
S | 0..* | BackboneElement | Reacción asociada a la alergia o intolerancia. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
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). | |||||
![]() ![]() ![]() |
S | 1..* | CodeableReference(Observation) | Manifestación clínica de la reacción. Binding: SNOMEDCTClinicalFindings (required) | ||||
![]() ![]() ![]() |
S | 0..1 | string | Descripción de la reacción. | ||||
![]() ![]() ![]() |
0..1 | dateTime | Date(/time) when manifestations showed | |||||
![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() ![]() |
0..* | Annotation | Text about event not captured in other fields | |||||
Documentation for this format | ||||||||
| 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. |
| 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:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | AllergyIntolerance(5.0.0) | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 0..* | Identifier | External ids for this item |
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | active | inactive | resolved Binding: AllergyIntoleranceClinicalStatusCodes (required) |
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | unconfirmed | confirmed | refuted Binding: AllergyIntoleranceVerificationStatus (required) |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | allergy | intolerance Binding: AllergyIntoleranceType (preferred): Identification of the underlying physiological mechanism for a Reaction Risk. |
![]() ![]() |
SΣ | 0..* | code | food | medication | environment | biologic | vaccine Binding: AllergyIntoleranceCategory (required) |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Código SNOMED-CT de la alergia o intolerancia. Binding: ConditionProblemDiagnosisCodes (required) |
![]() ![]() |
SΣ | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se le asocia la alergia o intolerancia. |
![]() ![]() |
S | 0..1 | dateTime | Fecha y hora de inicio de la alergia o intolerancia. |
![]() ![]() |
S | 0..1 | dateTime | Fecha y hora en que se registró la alergia o intolerancia. |
![]() ![]() |
S | 0..* | Annotation | Notas adicionales sobre la alergia o intolerancia. |
![]() ![]() |
S | 0..* | BackboneElement | Reacción asociada a la alergia o intolerancia. |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
S | 1..* | CodeableReference(Observation) | Manifestación clínica de la reacción. Binding: SNOMEDCTClinicalFindings (required) |
![]() ![]() ![]() |
S | 0..1 | string | Descripción de la reacción. |
![]() ![]() ![]() |
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 | ||||
| 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. |
| 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: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | AllergyIntolerance(5.0.0) | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) | |
![]() ![]() |
S | 0..* | Identifier | External ids for this item |
![]() ![]() |
S | 1..1 | CodeableConcept | active | inactive | resolved Binding: AllergyIntoleranceClinicalStatusCodes (required) |
![]() ![]() |
S | 1..1 | CodeableConcept | unconfirmed | confirmed | refuted Binding: AllergyIntoleranceVerificationStatus (required) |
![]() ![]() |
S | 0..1 | CodeableConcept | allergy | intolerance |
![]() ![]() |
S | 0..* | code | food | medication | environment | biologic | vaccine Binding: AllergyIntoleranceCategory (required) |
![]() ![]() |
S | 1..1 | CodeableConcept | Código SNOMED-CT de la alergia o intolerancia. Binding: ConditionProblemDiagnosisCodes (required) |
![]() ![]() |
S | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se le asocia la alergia o intolerancia. |
![]() ![]() |
S | 0..1 | dateTime | Fecha y hora de inicio de la alergia o intolerancia. |
![]() ![]() |
S | 0..1 | dateTime | Fecha y hora en que se registró la alergia o intolerancia. |
![]() ![]() |
S | 0..* | Annotation | Notas adicionales sobre la alergia o intolerancia. |
![]() ![]() |
S | 0..* | BackboneElement | Reacción asociada a la alergia o intolerancia. |
![]() ![]() ![]() |
S | 1..* | CodeableReference(Observation) | Manifestación clínica de la reacción. Binding: SNOMEDCTClinicalFindings (required) |
![]() ![]() ![]() |
S | 0..1 | string | Descripción de la reacción. |
![]() ![]() ![]() |
S | 0..1 | code | Gravedad de la reacción. mild | severe | moderate |
Documentation for this format | ||||
| 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: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | AllergyIntolerance(5.0.0) | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 0..* | Identifier | External ids for this item | ||||
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | active | inactive | resolved Binding: AllergyIntoleranceClinicalStatusCodes (required) | ||||
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | unconfirmed | confirmed | refuted Binding: AllergyIntoleranceVerificationStatus (required) | ||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | allergy | intolerance Binding: AllergyIntoleranceType (preferred): Identification of the underlying physiological mechanism for a Reaction Risk. | ||||
![]() ![]() |
SΣ | 0..* | code | food | medication | environment | biologic | vaccine Binding: AllergyIntoleranceCategory (required) | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Código SNOMED-CT de la alergia o intolerancia. Binding: ConditionProblemDiagnosisCodes (required) | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Paciente(0.0.1-ballot)) | Paciente al que se le asocia la alergia o intolerancia. | ||||
![]() ![]() |
0..1 | Reference(Encounter) | Encounter when the allergy or intolerance was asserted | |||||
![]() ![]() |
S | 0..1 | dateTime | Fecha y hora de inicio de la alergia o intolerancia. | ||||
![]() ![]() |
S | 0..1 | dateTime | Fecha y hora en que se registró la alergia o intolerancia. | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | Who or what participated in the activities related to the allergy or intolerance and how they were involved | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of involvement Binding: ParticipationRoleType (extensible) | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | Who or what participated in the activities related to the allergy or intolerance | ||||
![]() ![]() |
0..1 | dateTime | Date(/time) of last known occurrence of a reaction | |||||
![]() ![]() |
S | 0..* | Annotation | Notas adicionales sobre la alergia o intolerancia. | ||||
![]() ![]() |
S | 0..* | BackboneElement | Reacción asociada a la alergia o intolerancia. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
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). | |||||
![]() ![]() ![]() |
S | 1..* | CodeableReference(Observation) | Manifestación clínica de la reacción. Binding: SNOMEDCTClinicalFindings (required) | ||||
![]() ![]() ![]() |
S | 0..1 | string | Descripción de la reacción. | ||||
![]() ![]() ![]() |
0..1 | dateTime | Date(/time) when manifestations showed | |||||
![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() ![]() |
0..* | Annotation | Text about event not captured in other fields | |||||
Documentation for this format | ||||||||
| 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. |
| 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:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron