This page is part of the Quality Improvement Core Framework (v1.6.0: STU 2 Ballot 1) based on FHIR v1.6.0. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/qicore/StructureDefinition/qicore-allergyintolerance
This profile was published on Fri Feb 27 00:00:00 AEDT 2015 as a draft by Health Level Seven International (Clinical Quality Information - QICore).
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from AllergyIntolerance
Summary
Must-Support: 10 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
This structure is derived from AllergyIntolerance
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
AllergyIntolerance | I | 0..* | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource 1: extension: reasonRefuted is only permitted if status is refuted | |
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: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
allergyintolerance-resolutionAge | I | 0..1 | Age | Extension URL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
allergyintolerance-reasonRefuted | I | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted Binding: Reasons for refuting allergy or intolerance codes (example) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | ∑ | 0..* | Identifier | External ids for this item |
status | ?!S | 0..1 | code | active | active-confirmed | inactive | resolved | refuted | entered-in-error Binding: AllergyIntoleranceStatus (required) |
type | S | 0..1 | code | allergy | intolerance - Underlying mechanism (if known) Binding: AllergyIntoleranceType (required) |
category | S | 0..1 | code | food | medication | biologic | environment Binding: AllergyIntoleranceCategory (required) |
criticality | S | 0..1 | code | low | high | unable-to-assess Binding: AllergyIntoleranceCriticality (required) |
code | S | 0..1 | CodeableConcept | Allergy or intolerance code Binding: 7.org/fhir/daf/ValueSet/daf-core-substance (preferred) |
patient | S | 1..1 | Reference(Profile qicore-patient) | Who the sensitivity is for |
attestedDate | S | 0..1 | dateTime | Date record was believed accurate |
recorder | 0..1 | Reference(Profile qicore-practitioner | Profile qicore-patient) | Who recorded the sensitivity | |
reporter | ∑ | 0..1 | Reference(Patient | RelatedPerson | Practitioner) | Source of the information about the allergy |
onset | ∑ | 0..1 | dateTime | Date(/time) when manifestations showed |
lastOccurrence | ∑ | 0..1 | dateTime | Date(/time) of last known occurrence of a reaction |
note | 0..* | Annotation | Additional text not captured in other fields | |
reaction | 0..* | BackboneElement | Adverse Reaction Events linked to exposure to substance | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
allergyintolerance-duration | SI | 0..1 | Duration | Extension URL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
substance | ∑ | 0..1 | CodeableConcept | Specific substance or pharmaceutical product considered to be responsible for event Binding: Substance Code (example) |
certainty | ∑ | 0..1 | code | unlikely | likely | confirmed - clinical certainty about the specific substance Binding: AllergyIntoleranceCertainty (required) |
manifestation | S | 1..* | CodeableConcept | Clinical symptoms/signs associated with the Event Binding: 7.org/fhir/daf/ValueSet/daf-manifestation-ccda-codes (preferred) |
description | 0..1 | string | Description of the event as a whole | |
onset | S | 0..1 | dateTime | Date(/time) when manifestations showed |
severity | ∑ | 0..1 | code | mild | moderate | severe (of event as a whole) Binding: AllergyIntoleranceSeverity (required) |
exposureRoute | ∑ | 0..1 | CodeableConcept | How the subject was exposed to the substance Binding: SNOMED CT Route Codes (example) |
note | 0..* | Annotation | Text about event not captured in other fields | |
Documentation for this format |
yet to be done: Xml template
yet to be done: Json template
This structure is derived from StructureDefinition.
Summary
Must-Support: 10 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Differential View
This structure is derived from StructureDefinition.
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
AllergyIntolerance | I | 0..* | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource 1: extension: reasonRefuted is only permitted if status is refuted | |
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: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
allergyintolerance-resolutionAge | I | 0..1 | Age | Extension URL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
allergyintolerance-reasonRefuted | I | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted Binding: Reasons for refuting allergy or intolerance codes (example) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | ∑ | 0..* | Identifier | External ids for this item |
status | ?!S | 0..1 | code | active | active-confirmed | inactive | resolved | refuted | entered-in-error Binding: AllergyIntoleranceStatus (required) |
type | S | 0..1 | code | allergy | intolerance - Underlying mechanism (if known) Binding: AllergyIntoleranceType (required) |
category | S | 0..1 | code | food | medication | biologic | environment Binding: AllergyIntoleranceCategory (required) |
criticality | S | 0..1 | code | low | high | unable-to-assess Binding: AllergyIntoleranceCriticality (required) |
code | S | 0..1 | CodeableConcept | Allergy or intolerance code Binding: 7.org/fhir/daf/ValueSet/daf-core-substance (preferred) |
patient | S | 1..1 | Reference(Profile qicore-patient) | Who the sensitivity is for |
attestedDate | S | 0..1 | dateTime | Date record was believed accurate |
recorder | 0..1 | Reference(Profile qicore-practitioner | Profile qicore-patient) | Who recorded the sensitivity | |
reporter | ∑ | 0..1 | Reference(Patient | RelatedPerson | Practitioner) | Source of the information about the allergy |
onset | ∑ | 0..1 | dateTime | Date(/time) when manifestations showed |
lastOccurrence | ∑ | 0..1 | dateTime | Date(/time) of last known occurrence of a reaction |
note | 0..* | Annotation | Additional text not captured in other fields | |
reaction | 0..* | BackboneElement | Adverse Reaction Events linked to exposure to substance | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
allergyintolerance-duration | SI | 0..1 | Duration | Extension URL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
substance | ∑ | 0..1 | CodeableConcept | Specific substance or pharmaceutical product considered to be responsible for event Binding: Substance Code (example) |
certainty | ∑ | 0..1 | code | unlikely | likely | confirmed - clinical certainty about the specific substance Binding: AllergyIntoleranceCertainty (required) |
manifestation | S | 1..* | CodeableConcept | Clinical symptoms/signs associated with the Event Binding: 7.org/fhir/daf/ValueSet/daf-manifestation-ccda-codes (preferred) |
description | 0..1 | string | Description of the event as a whole | |
onset | S | 0..1 | dateTime | Date(/time) when manifestations showed |
severity | ∑ | 0..1 | code | mild | moderate | severe (of event as a whole) Binding: AllergyIntoleranceSeverity (required) |
exposureRoute | ∑ | 0..1 | CodeableConcept | How the subject was exposed to the substance Binding: SNOMED CT Route Codes (example) |
note | 0..* | Annotation | Text about event not captured in other fields | |
Documentation for this format |
XML Template
yet to be done: Xml template
JSON Template
yet to be done: Json template
Path | Name | Conformance | ValueSet |
AllergyIntolerance.language | Common Languages | extensible | Common Languages |
AllergyIntolerance.extension http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted | Reasons for refuting allergy or intolerance codes | example | Reasons for refuting allergy or intolerance codes |
AllergyIntolerance.status | AllergyIntoleranceStatus | required | AllergyIntoleranceStatus |
AllergyIntolerance.type | AllergyIntoleranceType | required | AllergyIntoleranceType |
AllergyIntolerance.category | AllergyIntoleranceCategory | required | AllergyIntoleranceCategory |
AllergyIntolerance.criticality | AllergyIntoleranceCriticality | required | AllergyIntoleranceCriticality |
AllergyIntolerance.code | ?ext | preferred | http://hl7.org/fhir/daf/ValueSet/daf-core-substance |
AllergyIntolerance.reaction.substance | Substance Code | example | Substance Code |
AllergyIntolerance.reaction.certainty | AllergyIntoleranceCertainty | required | AllergyIntoleranceCertainty |
AllergyIntolerance.reaction.manifestation | ?ext | preferred | http://hl7.org/fhir/daf/ValueSet/daf-manifestation-ccda-codes |
AllergyIntolerance.reaction.severity | AllergyIntoleranceSeverity | required | AllergyIntoleranceSeverity |
AllergyIntolerance.reaction.exposureRoute | SNOMED CT Route Codes | example | SNOMED CT Route Codes |
Id | Path | Details | Requirements |
dom-2 | AllergyIntolerance | If the resource is contained in another resource, it SHALL NOT contain nested Resources XPath: not(parent::f:contained and f:contained) | |
dom-1 | AllergyIntolerance | If the resource is contained in another resource, it SHALL NOT contain any narrative XPath: not(parent::f:contained and f:text) | |
dom-4 | AllergyIntolerance | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated XPath: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated)) | |
dom-3 | AllergyIntolerance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource XPath: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))])) | |
1 | AllergyIntolerance | extension: reasonRefuted is only permitted if status is refuted XPath: not(f:status/@value != 'refuted' and f:extension/@url='http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted') | |
ele-1 | AllergyIntolerance.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | AllergyIntolerance.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | AllergyIntolerance.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | AllergyIntolerance.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | AllergyIntolerance.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | AllergyIntolerance.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | AllergyIntolerance.reaction.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | AllergyIntolerance.reaction.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) |