EE TIS Allergy IG
0.1.0 - draft Estonia flag

EE TIS Allergy IG, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/ig-ee-allergy/ and changes regularly. See the Directory of published versions

Resource Profile: EE TIS AllergyIntolerance Patient Reported

Official URL: https://fhir.ee/allergy/StructureDefinition/ee-tis-allergy-patient-reported Version: 0.1.0
Draft as of 2026-01-29 Computable Name: EETISAllergyPatientReported

A profile for allergy or intolerance which is reported by patient or RelatedPerson.

Usages:

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.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance 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
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... clinicalStatus ?!Σ 1..1 CodeableConcept (Clinical status. (ee Allergia või talumatuse praegune kliiniline seisund (nt aktiivne, remissioonis, lahendatud).
Binding: https://fhir.ee/ValueSet/allergia-kliiniline-staatus (required)
... code Σ 1..1 CodeableConcept Allergy code. (ee Allergeenile vastav standardiseeritud kood. Kui allergeeni kood ei ole saadaval, peab allergeeni kirjeldus olema võimalikult täielik.)
Binding: https://fhir.ee/ValueSet/allergia-allergeenid (required)
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... text Σ 0..1 string Description of allergy when there is no suitable code. ( ee Aine kirjeldus, mis võib vallandada reaktsiooni. Kohustuslik ja võib korduda, kui kood pole piisav või on mitu kirjeldust.)
... patient Σ 1..1 Reference(EE MPI Patient Verified) Who the allergy or intolerance is for
... Slices for onset[x] 0..1 When allergy or intolerance was identified
Slice: Unordered, Open by type:$this
.... onsetDateTime dateTime
.... onsetPeriod Period
.... onset[x]:onsetPeriod 0..1 Period When allergy or intolerance was identified
..... end ΣC 0..1 dateTime Date when allergy was considered resolved/not-active. (ee Kuupäev, millal allergia/talumatus loeti lahenenuks või mitteaktiivseks.
... recordedDate 1..1 dateTime Date when the allergy was first time recorded. (ee Kuupäev, millal allergia esimest korda registreeriti (määratakse süsteemi poolt automaatselt allergia esimese versiooni salvestamisel, järgmistes versioonides ei muudeta).)
... participant Σ 1..1 BackboneElement Who or what participated in the activities related to the allergy or intolerance and how they were involved
.... function Σ 0..1 CodeableConcept Type of involvement
Binding: ParticipationRoleType (extensible)
Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 0..1 uri Identity of the terminology system
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: author
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
.... actor Σ 1..1 Reference(Patient | RelatedPerson) Who or what participated in the activities related to the allergy or intolerance
... note 0..1 Annotation Other relevant information. (ee Muu asjakohane teave, mida ei saanud mujal struktureeritult esitada.)
... reaction 1..* BackboneElement Adverse Reaction Events linked to exposure to substance
.... manifestation 1..* CodeableReference(Observation) How allergy is manifested.(ee Allergilise reaktsiooni kliinilise avaldumise kirjeldus (nt anafülaksia, angioödeem, nõgestõbi). Allergia avaldumine VÕI Reaktsioon allergeenile.)
Binding: https://fhir.ee/ValueSet/allergia-reaktsiooni-avaldumine (required)
.... description 0..1 string Additional explanation of the allergy. (ee Täiendav tekstiline kirjeldus allergiast, talumatusest või meditsiinilisest hoiatusest (nt aspiriini talumatus seedetrakti verejooksu tõttu).
.... onset 0..1 dateTime Date of reaction. (ee Kuupäev, millal reaktsioon esmakordselt täheldati.)
.... exposureRoute 0..1 CodeableConcept What was the route of exposure to the allergen. (ee Kuidas toimus kokkupuude ainega.)
Binding: https://fhir.ee/ValueSet/allergia-kokkupuude-manustamisviis (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AllergyIntolerance.clinicalStatus Base required https://fhir.ee/ValueSet/allergia-kliiniline-staatus Not State Unknown
AllergyIntolerance.category Base required https://fhir.ee/ValueSet/allergia-kategooria Not State Unknown
AllergyIntolerance.code Base required https://fhir.ee/ValueSet/allergia-allergeenid Not State Unknown
AllergyIntolerance.participant.​function Base extensible Participation Role Type 📍5.0.0 FHIR Std.
AllergyIntolerance.reaction.​manifestation Base required https://fhir.ee/ValueSet/allergia-reaktsiooni-avaldumine Not State Unknown
AllergyIntolerance.reaction.​exposureRoute Base required https://fhir.ee/ValueSet/allergia-kokkupuude-manustamisviis Not State Unknown

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 **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from AllergyIntolerance

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
... contained 0..0 Contained, inline Resources
... extension 0..0 Extension
... clinicalStatus 1..1 CodeableConcept (Clinical status. (ee Allergia või talumatuse praegune kliiniline seisund (nt aktiivne, remissioonis, lahendatud).
Binding: https://fhir.ee/ValueSet/allergia-kliiniline-staatus (required)
... type 0..0 allergy | intolerance - Underlying mechanism (if known)
... category 1..1 code Category of allergy. (ee Allergeeni üldine kategooria.)
Binding: https://fhir.ee/ValueSet/allergia-kategooria (required)
... criticality 0..0 low | high | unable-to-assess
... code 1..1 CodeableConcept Allergy code. (ee Allergeenile vastav standardiseeritud kood. Kui allergeeni kood ei ole saadaval, peab allergeeni kirjeldus olema võimalikult täielik.)
Binding: https://fhir.ee/ValueSet/allergia-allergeenid (required)
.... id 0..0 Unique id for inter-element referencing
.... extension 0..0 Extension
.... text 0..1 string Description of allergy when there is no suitable code. ( ee Aine kirjeldus, mis võib vallandada reaktsiooni. Kohustuslik ja võib korduda, kui kood pole piisav või on mitu kirjeldust.)
... patient 1..1 Reference(EE MPI Patient Verified) Who the allergy or intolerance is for
... encounter 0..0 Encounter when the allergy or intolerance was asserted
... Slices for onset[x] 0..1 dateTime, Period When allergy or intolerance was identified
Slice: Unordered, Open by type:$this
.... onset[x]:onsetPeriod 0..1 Period When allergy or intolerance was identified
..... end 0..1 dateTime Date when allergy was considered resolved/not-active. (ee Kuupäev, millal allergia/talumatus loeti lahenenuks või mitteaktiivseks.
.... onset[x]:onsetAge 0..0 When allergy or intolerance was identified
.... onset[x]:onsetRange 0..0 When allergy or intolerance was identified
.... onset[x]:onsetString 0..0 When allergy or intolerance was identified
... recordedDate 1..1 dateTime Date when the allergy was first time recorded. (ee Kuupäev, millal allergia esimest korda registreeriti (määratakse süsteemi poolt automaatselt allergia esimese versiooni salvestamisel, järgmistes versioonides ei muudeta).)
... participant 1..1 BackboneElement Who or what participated in the activities related to the allergy or intolerance and how they were involved
.... id 0..0 Unique id for inter-element referencing
.... extension 0..0 Extension
.... modifierExtension 0..0 Extension
.... function 0..1 CodeableConcept Type of involvement
Required Pattern: At least the following
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: author
.... actor 1..1 Reference(Patient | RelatedPerson) Who or what participated in the activities related to the allergy or intolerance
... lastOccurrence 0..0 Date(/time) of last known occurrence of a reaction
... note 0..1 Annotation Other relevant information. (ee Muu asjakohane teave, mida ei saanud mujal struktureeritult esitada.)
... reaction 1..* BackboneElement Adverse Reaction Events linked to exposure to substance
.... id 0..0 Unique id for inter-element referencing
.... modifierExtension 0..0 Extension
.... substance 0..0 Specific substance or pharmaceutical product considered to be responsible for event
.... manifestation 1..* CodeableReference(Observation) How allergy is manifested.(ee Allergilise reaktsiooni kliinilise avaldumise kirjeldus (nt anafülaksia, angioödeem, nõgestõbi). Allergia avaldumine VÕI Reaktsioon allergeenile.)
Binding: https://fhir.ee/ValueSet/allergia-reaktsiooni-avaldumine (required)
.... description 0..1 string Additional explanation of the allergy. (ee Täiendav tekstiline kirjeldus allergiast, talumatusest või meditsiinilisest hoiatusest (nt aspiriini talumatus seedetrakti verejooksu tõttu).
.... onset 0..1 dateTime Date of reaction. (ee Kuupäev, millal reaktsioon esmakordselt täheldati.)
.... severity 0..0 mild | moderate | severe (of event as a whole)
.... exposureRoute 0..1 CodeableConcept What was the route of exposure to the allergen. (ee Kuidas toimus kokkupuude ainega.)
Binding: https://fhir.ee/ValueSet/allergia-kokkupuude-manustamisviis (required)
.... note 0..0 Text about event not captured in other fields

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
AllergyIntolerance.clinicalStatus Base required https://fhir.ee/ValueSet/allergia-kliiniline-staatus Not State Unknown
AllergyIntolerance.category Base required https://fhir.ee/ValueSet/allergia-kategooria Not State Unknown
AllergyIntolerance.code Base required https://fhir.ee/ValueSet/allergia-allergeenid Not State Unknown
AllergyIntolerance.reaction.​manifestation Base required https://fhir.ee/ValueSet/allergia-reaktsiooni-avaldumine Not State Unknown
AllergyIntolerance.reaction.​exposureRoute Base required https://fhir.ee/ValueSet/allergia-kokkupuude-manustamisviis Not State Unknown
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance 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
... 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
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External ids for this item
... clinicalStatus ?!Σ 1..1 CodeableConcept (Clinical status. (ee Allergia või talumatuse praegune kliiniline seisund (nt aktiivne, remissioonis, lahendatud).
Binding: https://fhir.ee/ValueSet/allergia-kliiniline-staatus (required)
... category Σ 1..1 code Category of allergy. (ee Allergeeni üldine kategooria.)
Binding: https://fhir.ee/ValueSet/allergia-kategooria (required)
... code Σ 1..1 CodeableConcept Allergy code. (ee Allergeenile vastav standardiseeritud kood. Kui allergeeni kood ei ole saadaval, peab allergeeni kirjeldus olema võimalikult täielik.)
Binding: https://fhir.ee/ValueSet/allergia-allergeenid (required)
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
.... text Σ 0..1 string Description of allergy when there is no suitable code. ( ee Aine kirjeldus, mis võib vallandada reaktsiooni. Kohustuslik ja võib korduda, kui kood pole piisav või on mitu kirjeldust.)
... patient Σ 1..1 Reference(EE MPI Patient Verified) Who the allergy or intolerance is for
... Slices for onset[x] 0..1 When allergy or intolerance was identified
Slice: Unordered, Open by type:$this
.... onsetDateTime dateTime
.... onsetPeriod Period
.... onset[x]:onsetPeriod 0..1 Period When allergy or intolerance was identified
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... start ΣC 0..1 dateTime Starting time with inclusive boundary
..... end ΣC 0..1 dateTime Date when allergy was considered resolved/not-active. (ee Kuupäev, millal allergia/talumatus loeti lahenenuks või mitteaktiivseks.
... recordedDate 1..1 dateTime Date when the allergy was first time recorded. (ee Kuupäev, millal allergia esimest korda registreeriti (määratakse süsteemi poolt automaatselt allergia esimese versiooni salvestamisel, järgmistes versioonides ei muudeta).)
... participant Σ 1..1 BackboneElement Who or what participated in the activities related to the allergy or intolerance and how they were involved
.... function Σ 0..1 CodeableConcept Type of involvement
Binding: ParticipationRoleType (extensible)
Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 0..1 uri Identity of the terminology system
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: author
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
.... actor Σ 1..1 Reference(Patient | RelatedPerson) Who or what participated in the activities related to the allergy or intolerance
... note 0..1 Annotation Other relevant information. (ee Muu asjakohane teave, mida ei saanud mujal struktureeritult esitada.)
... reaction 1..* BackboneElement Adverse Reaction Events linked to exposure to substance
.... extension 0..* Extension Additional content defined by implementations
.... manifestation 1..* CodeableReference(Observation) How allergy is manifested.(ee Allergilise reaktsiooni kliinilise avaldumise kirjeldus (nt anafülaksia, angioödeem, nõgestõbi). Allergia avaldumine VÕI Reaktsioon allergeenile.)
Binding: https://fhir.ee/ValueSet/allergia-reaktsiooni-avaldumine (required)
.... description 0..1 string Additional explanation of the allergy. (ee Täiendav tekstiline kirjeldus allergiast, talumatusest või meditsiinilisest hoiatusest (nt aspiriini talumatus seedetrakti verejooksu tõttu).
.... onset 0..1 dateTime Date of reaction. (ee Kuupäev, millal reaktsioon esmakordselt täheldati.)
.... exposureRoute 0..1 CodeableConcept What was the route of exposure to the allergen. (ee Kuidas toimus kokkupuude ainega.)
Binding: https://fhir.ee/ValueSet/allergia-kokkupuude-manustamisviis (required)

doco 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 https://fhir.ee/ValueSet/allergia-kliiniline-staatus Not State Unknown
AllergyIntolerance.category Base required https://fhir.ee/ValueSet/allergia-kategooria Not State Unknown
AllergyIntolerance.code Base required https://fhir.ee/ValueSet/allergia-allergeenid Not State Unknown
AllergyIntolerance.participant.​function Base extensible Participation Role Type 📍5.0.0 FHIR Std.
AllergyIntolerance.reaction.​manifestation Base required https://fhir.ee/ValueSet/allergia-reaktsiooni-avaldumine Not State Unknown
AllergyIntolerance.reaction.​exposureRoute Base required https://fhir.ee/ValueSet/allergia-kokkupuude-manustamisviis Not State Unknown

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 **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from AllergyIntolerance

Summary

Mandatory: 6 elements
Prohibited: 20 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of AllergyIntolerance.onset[x]

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance 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
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... clinicalStatus ?!Σ 1..1 CodeableConcept (Clinical status. (ee Allergia või talumatuse praegune kliiniline seisund (nt aktiivne, remissioonis, lahendatud).
Binding: https://fhir.ee/ValueSet/allergia-kliiniline-staatus (required)
... code Σ 1..1 CodeableConcept Allergy code. (ee Allergeenile vastav standardiseeritud kood. Kui allergeeni kood ei ole saadaval, peab allergeeni kirjeldus olema võimalikult täielik.)
Binding: https://fhir.ee/ValueSet/allergia-allergeenid (required)
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... text Σ 0..1 string Description of allergy when there is no suitable code. ( ee Aine kirjeldus, mis võib vallandada reaktsiooni. Kohustuslik ja võib korduda, kui kood pole piisav või on mitu kirjeldust.)
... patient Σ 1..1 Reference(EE MPI Patient Verified) Who the allergy or intolerance is for
... Slices for onset[x] 0..1 When allergy or intolerance was identified
Slice: Unordered, Open by type:$this
.... onsetDateTime dateTime
.... onsetPeriod Period
.... onset[x]:onsetPeriod 0..1 Period When allergy or intolerance was identified
..... end ΣC 0..1 dateTime Date when allergy was considered resolved/not-active. (ee Kuupäev, millal allergia/talumatus loeti lahenenuks või mitteaktiivseks.
... recordedDate 1..1 dateTime Date when the allergy was first time recorded. (ee Kuupäev, millal allergia esimest korda registreeriti (määratakse süsteemi poolt automaatselt allergia esimese versiooni salvestamisel, järgmistes versioonides ei muudeta).)
... participant Σ 1..1 BackboneElement Who or what participated in the activities related to the allergy or intolerance and how they were involved
.... function Σ 0..1 CodeableConcept Type of involvement
Binding: ParticipationRoleType (extensible)
Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 0..1 uri Identity of the terminology system
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: author
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
.... actor Σ 1..1 Reference(Patient | RelatedPerson) Who or what participated in the activities related to the allergy or intolerance
... note 0..1 Annotation Other relevant information. (ee Muu asjakohane teave, mida ei saanud mujal struktureeritult esitada.)
... reaction 1..* BackboneElement Adverse Reaction Events linked to exposure to substance
.... manifestation 1..* CodeableReference(Observation) How allergy is manifested.(ee Allergilise reaktsiooni kliinilise avaldumise kirjeldus (nt anafülaksia, angioödeem, nõgestõbi). Allergia avaldumine VÕI Reaktsioon allergeenile.)
Binding: https://fhir.ee/ValueSet/allergia-reaktsiooni-avaldumine (required)
.... description 0..1 string Additional explanation of the allergy. (ee Täiendav tekstiline kirjeldus allergiast, talumatusest või meditsiinilisest hoiatusest (nt aspiriini talumatus seedetrakti verejooksu tõttu).
.... onset 0..1 dateTime Date of reaction. (ee Kuupäev, millal reaktsioon esmakordselt täheldati.)
.... exposureRoute 0..1 CodeableConcept What was the route of exposure to the allergen. (ee Kuidas toimus kokkupuude ainega.)
Binding: https://fhir.ee/ValueSet/allergia-kokkupuude-manustamisviis (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AllergyIntolerance.clinicalStatus Base required https://fhir.ee/ValueSet/allergia-kliiniline-staatus Not State Unknown
AllergyIntolerance.category Base required https://fhir.ee/ValueSet/allergia-kategooria Not State Unknown
AllergyIntolerance.code Base required https://fhir.ee/ValueSet/allergia-allergeenid Not State Unknown
AllergyIntolerance.participant.​function Base extensible Participation Role Type 📍5.0.0 FHIR Std.
AllergyIntolerance.reaction.​manifestation Base required https://fhir.ee/ValueSet/allergia-reaktsiooni-avaldumine Not State Unknown
AllergyIntolerance.reaction.​exposureRoute Base required https://fhir.ee/ValueSet/allergia-kokkupuude-manustamisviis Not State Unknown

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 **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from AllergyIntolerance

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
... contained 0..0 Contained, inline Resources
... extension 0..0 Extension
... clinicalStatus 1..1 CodeableConcept (Clinical status. (ee Allergia või talumatuse praegune kliiniline seisund (nt aktiivne, remissioonis, lahendatud).
Binding: https://fhir.ee/ValueSet/allergia-kliiniline-staatus (required)
... type 0..0 allergy | intolerance - Underlying mechanism (if known)
... category 1..1 code Category of allergy. (ee Allergeeni üldine kategooria.)
Binding: https://fhir.ee/ValueSet/allergia-kategooria (required)
... criticality 0..0 low | high | unable-to-assess
... code 1..1 CodeableConcept Allergy code. (ee Allergeenile vastav standardiseeritud kood. Kui allergeeni kood ei ole saadaval, peab allergeeni kirjeldus olema võimalikult täielik.)
Binding: https://fhir.ee/ValueSet/allergia-allergeenid (required)
.... id 0..0 Unique id for inter-element referencing
.... extension 0..0 Extension
.... text 0..1 string Description of allergy when there is no suitable code. ( ee Aine kirjeldus, mis võib vallandada reaktsiooni. Kohustuslik ja võib korduda, kui kood pole piisav või on mitu kirjeldust.)
... patient 1..1 Reference(EE MPI Patient Verified) Who the allergy or intolerance is for
... encounter 0..0 Encounter when the allergy or intolerance was asserted
... Slices for onset[x] 0..1 dateTime, Period When allergy or intolerance was identified
Slice: Unordered, Open by type:$this
.... onset[x]:onsetPeriod 0..1 Period When allergy or intolerance was identified
..... end 0..1 dateTime Date when allergy was considered resolved/not-active. (ee Kuupäev, millal allergia/talumatus loeti lahenenuks või mitteaktiivseks.
.... onset[x]:onsetAge 0..0 When allergy or intolerance was identified
.... onset[x]:onsetRange 0..0 When allergy or intolerance was identified
.... onset[x]:onsetString 0..0 When allergy or intolerance was identified
... recordedDate 1..1 dateTime Date when the allergy was first time recorded. (ee Kuupäev, millal allergia esimest korda registreeriti (määratakse süsteemi poolt automaatselt allergia esimese versiooni salvestamisel, järgmistes versioonides ei muudeta).)
... participant 1..1 BackboneElement Who or what participated in the activities related to the allergy or intolerance and how they were involved
.... id 0..0 Unique id for inter-element referencing
.... extension 0..0 Extension
.... modifierExtension 0..0 Extension
.... function 0..1 CodeableConcept Type of involvement
Required Pattern: At least the following
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: author
.... actor 1..1 Reference(Patient | RelatedPerson) Who or what participated in the activities related to the allergy or intolerance
... lastOccurrence 0..0 Date(/time) of last known occurrence of a reaction
... note 0..1 Annotation Other relevant information. (ee Muu asjakohane teave, mida ei saanud mujal struktureeritult esitada.)
... reaction 1..* BackboneElement Adverse Reaction Events linked to exposure to substance
.... id 0..0 Unique id for inter-element referencing
.... modifierExtension 0..0 Extension
.... substance 0..0 Specific substance or pharmaceutical product considered to be responsible for event
.... manifestation 1..* CodeableReference(Observation) How allergy is manifested.(ee Allergilise reaktsiooni kliinilise avaldumise kirjeldus (nt anafülaksia, angioödeem, nõgestõbi). Allergia avaldumine VÕI Reaktsioon allergeenile.)
Binding: https://fhir.ee/ValueSet/allergia-reaktsiooni-avaldumine (required)
.... description 0..1 string Additional explanation of the allergy. (ee Täiendav tekstiline kirjeldus allergiast, talumatusest või meditsiinilisest hoiatusest (nt aspiriini talumatus seedetrakti verejooksu tõttu).
.... onset 0..1 dateTime Date of reaction. (ee Kuupäev, millal reaktsioon esmakordselt täheldati.)
.... severity 0..0 mild | moderate | severe (of event as a whole)
.... exposureRoute 0..1 CodeableConcept What was the route of exposure to the allergen. (ee Kuidas toimus kokkupuude ainega.)
Binding: https://fhir.ee/ValueSet/allergia-kokkupuude-manustamisviis (required)
.... note 0..0 Text about event not captured in other fields

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
AllergyIntolerance.clinicalStatus Base required https://fhir.ee/ValueSet/allergia-kliiniline-staatus Not State Unknown
AllergyIntolerance.category Base required https://fhir.ee/ValueSet/allergia-kategooria Not State Unknown
AllergyIntolerance.code Base required https://fhir.ee/ValueSet/allergia-allergeenid Not State Unknown
AllergyIntolerance.reaction.​manifestation Base required https://fhir.ee/ValueSet/allergia-reaktsiooni-avaldumine Not State Unknown
AllergyIntolerance.reaction.​exposureRoute Base required https://fhir.ee/ValueSet/allergia-kokkupuude-manustamisviis Not State Unknown

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance 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
... 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
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External ids for this item
... clinicalStatus ?!Σ 1..1 CodeableConcept (Clinical status. (ee Allergia või talumatuse praegune kliiniline seisund (nt aktiivne, remissioonis, lahendatud).
Binding: https://fhir.ee/ValueSet/allergia-kliiniline-staatus (required)
... category Σ 1..1 code Category of allergy. (ee Allergeeni üldine kategooria.)
Binding: https://fhir.ee/ValueSet/allergia-kategooria (required)
... code Σ 1..1 CodeableConcept Allergy code. (ee Allergeenile vastav standardiseeritud kood. Kui allergeeni kood ei ole saadaval, peab allergeeni kirjeldus olema võimalikult täielik.)
Binding: https://fhir.ee/ValueSet/allergia-allergeenid (required)
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
.... text Σ 0..1 string Description of allergy when there is no suitable code. ( ee Aine kirjeldus, mis võib vallandada reaktsiooni. Kohustuslik ja võib korduda, kui kood pole piisav või on mitu kirjeldust.)
... patient Σ 1..1 Reference(EE MPI Patient Verified) Who the allergy or intolerance is for
... Slices for onset[x] 0..1 When allergy or intolerance was identified
Slice: Unordered, Open by type:$this
.... onsetDateTime dateTime
.... onsetPeriod Period
.... onset[x]:onsetPeriod 0..1 Period When allergy or intolerance was identified
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... start ΣC 0..1 dateTime Starting time with inclusive boundary
..... end ΣC 0..1 dateTime Date when allergy was considered resolved/not-active. (ee Kuupäev, millal allergia/talumatus loeti lahenenuks või mitteaktiivseks.
... recordedDate 1..1 dateTime Date when the allergy was first time recorded. (ee Kuupäev, millal allergia esimest korda registreeriti (määratakse süsteemi poolt automaatselt allergia esimese versiooni salvestamisel, järgmistes versioonides ei muudeta).)
... participant Σ 1..1 BackboneElement Who or what participated in the activities related to the allergy or intolerance and how they were involved
.... function Σ 0..1 CodeableConcept Type of involvement
Binding: ParticipationRoleType (extensible)
Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 0..1 uri Identity of the terminology system
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: author
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
.... actor Σ 1..1 Reference(Patient | RelatedPerson) Who or what participated in the activities related to the allergy or intolerance
... note 0..1 Annotation Other relevant information. (ee Muu asjakohane teave, mida ei saanud mujal struktureeritult esitada.)
... reaction 1..* BackboneElement Adverse Reaction Events linked to exposure to substance
.... extension 0..* Extension Additional content defined by implementations
.... manifestation 1..* CodeableReference(Observation) How allergy is manifested.(ee Allergilise reaktsiooni kliinilise avaldumise kirjeldus (nt anafülaksia, angioödeem, nõgestõbi). Allergia avaldumine VÕI Reaktsioon allergeenile.)
Binding: https://fhir.ee/ValueSet/allergia-reaktsiooni-avaldumine (required)
.... description 0..1 string Additional explanation of the allergy. (ee Täiendav tekstiline kirjeldus allergiast, talumatusest või meditsiinilisest hoiatusest (nt aspiriini talumatus seedetrakti verejooksu tõttu).
.... onset 0..1 dateTime Date of reaction. (ee Kuupäev, millal reaktsioon esmakordselt täheldati.)
.... exposureRoute 0..1 CodeableConcept What was the route of exposure to the allergen. (ee Kuidas toimus kokkupuude ainega.)
Binding: https://fhir.ee/ValueSet/allergia-kokkupuude-manustamisviis (required)

doco 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 https://fhir.ee/ValueSet/allergia-kliiniline-staatus Not State Unknown
AllergyIntolerance.category Base required https://fhir.ee/ValueSet/allergia-kategooria Not State Unknown
AllergyIntolerance.code Base required https://fhir.ee/ValueSet/allergia-allergeenid Not State Unknown
AllergyIntolerance.participant.​function Base extensible Participation Role Type 📍5.0.0 FHIR Std.
AllergyIntolerance.reaction.​manifestation Base required https://fhir.ee/ValueSet/allergia-reaktsiooni-avaldumine Not State Unknown
AllergyIntolerance.reaction.​exposureRoute Base required https://fhir.ee/ValueSet/allergia-kokkupuude-manustamisviis Not State Unknown

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 **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from AllergyIntolerance

Summary

Mandatory: 6 elements
Prohibited: 20 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of AllergyIntolerance.onset[x]

 

Other representations of profile: CSV, Excel, Schematron