Food Allergies FHIR Implementation Guide
0.1.0-test - CI Build International flag

Food Allergies FHIR Implementation Guide, published by fnovillo. This guide is not an authorized publication; it is the continuous build for version 0.1.0-test built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/novillof/foodAllergy and changes regularly. See the Directory of published versions

Logical Model: Food Allergy Logical Model

Official URL: http://example.com/fhir/example/StructureDefinition/FoodAllergyModel Version: 0.1.0-test
Active as of 2025-07-08 Computable Name: FoodAllergyModel

Food Allergy information model

Usages:

  • This Logical Model is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. FoodAllergyModel 0..* Base Food Allergy Logical Model
... patient 1..1 Reference() The person that has the allergy
... allergen 1..1 CodeableConcept The substance that the person is allergic to
... clinicalStatus 1..1 CodeableConcept The status of the allergy - if it is active or resolved
... recordedDate 0..1 dateTime When the allergy was reported
... recorder 0..1 Reference() Who recorded the allergy
... asserter 0..1 Reference() Who asserted the allergy
... reactions 0..1 BackboneElement known past reactions to the allergen
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... manifestation 0..1 CodeableConcept How the reaction manifested itself
.... certitude 0..1 CodeableConcept How certain we are that the cause of the reaction was the allergen indicated
.... exposure 0..1 CodeableConcept The exposure route to the substance
.... note 0..1 string Additional text note about the allergic reaction

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. FoodAllergyModel 0..* Base Food Allergy Logical Model
... patient 1..1 Reference() The person that has the allergy
... allergen 1..1 CodeableConcept The substance that the person is allergic to
... clinicalStatus 1..1 CodeableConcept The status of the allergy - if it is active or resolved
... recordedDate 0..1 dateTime When the allergy was reported
... recorder 0..1 Reference() Who recorded the allergy
... asserter 0..1 Reference() Who asserted the allergy
... reactions 0..1 BackboneElement known past reactions to the allergen
.... manifestation 0..1 CodeableConcept How the reaction manifested itself
.... certitude 0..1 CodeableConcept How certain we are that the cause of the reaction was the allergen indicated
.... exposure 0..1 CodeableConcept The exposure route to the substance
.... note 0..1 string Additional text note about the allergic reaction

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. FoodAllergyModel 0..* Base Food Allergy Logical Model
... patient 1..1 Reference() The person that has the allergy
... allergen 1..1 CodeableConcept The substance that the person is allergic to
... clinicalStatus 1..1 CodeableConcept The status of the allergy - if it is active or resolved
... recordedDate 0..1 dateTime When the allergy was reported
... recorder 0..1 Reference() Who recorded the allergy
... asserter 0..1 Reference() Who asserted the allergy
... reactions 0..1 BackboneElement known past reactions to the allergen
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... manifestation 0..1 CodeableConcept How the reaction manifested itself
.... certitude 0..1 CodeableConcept How certain we are that the cause of the reaction was the allergen indicated
.... exposure 0..1 CodeableConcept The exposure route to the substance
.... note 0..1 string Additional text note about the allergic reaction

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Base

Summary

Mandatory: 0 element(4 nested mandatory elements)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. FoodAllergyModel 0..* Base Food Allergy Logical Model
... patient 1..1 Reference() The person that has the allergy
... allergen 1..1 CodeableConcept The substance that the person is allergic to
... clinicalStatus 1..1 CodeableConcept The status of the allergy - if it is active or resolved
... recordedDate 0..1 dateTime When the allergy was reported
... recorder 0..1 Reference() Who recorded the allergy
... asserter 0..1 Reference() Who asserted the allergy
... reactions 0..1 BackboneElement known past reactions to the allergen
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... manifestation 0..1 CodeableConcept How the reaction manifested itself
.... certitude 0..1 CodeableConcept How certain we are that the cause of the reaction was the allergen indicated
.... exposure 0..1 CodeableConcept The exposure route to the substance
.... note 0..1 string Additional text note about the allergic reaction

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. FoodAllergyModel 0..* Base Food Allergy Logical Model
... patient 1..1 Reference() The person that has the allergy
... allergen 1..1 CodeableConcept The substance that the person is allergic to
... clinicalStatus 1..1 CodeableConcept The status of the allergy - if it is active or resolved
... recordedDate 0..1 dateTime When the allergy was reported
... recorder 0..1 Reference() Who recorded the allergy
... asserter 0..1 Reference() Who asserted the allergy
... reactions 0..1 BackboneElement known past reactions to the allergen
.... manifestation 0..1 CodeableConcept How the reaction manifested itself
.... certitude 0..1 CodeableConcept How certain we are that the cause of the reaction was the allergen indicated
.... exposure 0..1 CodeableConcept The exposure route to the substance
.... note 0..1 string Additional text note about the allergic reaction

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. FoodAllergyModel 0..* Base Food Allergy Logical Model
... patient 1..1 Reference() The person that has the allergy
... allergen 1..1 CodeableConcept The substance that the person is allergic to
... clinicalStatus 1..1 CodeableConcept The status of the allergy - if it is active or resolved
... recordedDate 0..1 dateTime When the allergy was reported
... recorder 0..1 Reference() Who recorded the allergy
... asserter 0..1 Reference() Who asserted the allergy
... reactions 0..1 BackboneElement known past reactions to the allergen
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... manifestation 0..1 CodeableConcept How the reaction manifested itself
.... certitude 0..1 CodeableConcept How certain we are that the cause of the reaction was the allergen indicated
.... exposure 0..1 CodeableConcept The exposure route to the substance
.... note 0..1 string Additional text note about the allergic reaction

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Base

Summary

Mandatory: 0 element(4 nested mandatory elements)

 

Other representations of profile: CSV, Excel