AllergyIntolerance class

Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.

Annotations
  • @freezed

Constructors

AllergyIntolerance({@JsonKey(name: 'ID') String? id, @JsonKey(name: 'Identifier') List<Identifier?>? identifier, @JsonKey(name: 'ClinicalStatus') CodeableConcept? clinicalStatus, @JsonKey(name: 'VerificationStatus') CodeableConcept? verificationStatus, @JsonKey(name: 'Type', unknownEnumValue: AllergyIntoleranceTypeEnum.allergy) AllergyIntoleranceTypeEnum? type, @JsonKey(name: 'Category', unknownEnumValue: AllergyIntoleranceCategoryEnum.environment) List<AllergyIntoleranceCategoryEnum?>? category, @JsonKey(name: 'Criticality', unknownEnumValue: AllergyIntoleranceCriticalityEnum.unable_to_assess) AllergyIntoleranceCriticalityEnum? criticality, @JsonKey(name: 'Code') CodeableConcept? code, @JsonKey(name: 'Patient') Reference? patient, @JsonKey(name: 'Encounter') Reference? encounter, @JsonKey(name: 'OnsetDateTime') String? onsetDateTime, @JsonKey(name: 'OnsetAge') Age? onsetAge, @JsonKey(name: 'OnsetPeriod') Period? onsetPeriod, @JsonKey(name: 'OnsetRange') Range? onsetRange, @JsonKey(name: 'OnsetString') String? onsetString, @JsonKey(name: 'RecordedDate') String? recordedDate, @JsonKey(name: 'Recorder') Reference? recorder, @JsonKey(name: 'Asserter') Reference? asserter, @JsonKey(name: 'LastOccurrence') String? lastOccurrence, @JsonKey(name: 'Note') List<Annotation?>? note, @JsonKey(name: 'Reaction') List<AllergyIntoleranceReaction?>? reaction})
factory
AllergyIntolerance.fromJson(Map<String, dynamic> json)
factory

Properties

asserter Reference?
The source of the information about the allergy that is recorded
no setterinherited
category List<AllergyIntoleranceCategoryEnum?>?
Category of the identified substance.
no setterinherited
clinicalStatus CodeableConcept?
The clinical status of the allergy or intolerance.
no setterinherited
code CodeableConcept?
Code for an allergy or intolerance statement (either a positive or a negated/excluded statement).
no setterinherited
copyWith → $AllergyIntoleranceCopyWith<AllergyIntolerance>
no setterinherited
criticality AllergyIntoleranceCriticalityEnum?
Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance.
no setterinherited
encounter Reference?
The encounter when the allergy or intolerance was asserted.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
no setterinherited
identifier List<Identifier?>?
Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
no setterinherited
lastOccurrence String?
Represents the date and/or time of the last known occurrence of a reaction event.
no setterinherited
note List<Annotation?>?
Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.
no setterinherited
onsetAge Age?
no setterinherited
onsetDateTime String?
Estimated or actual date, date-time, or age when allergy or intolerance was identified.
no setterinherited
onsetPeriod Period?
no setterinherited
onsetRange Range?
no setterinherited
onsetString String?
no setterinherited
patient Reference?
The patient who has the allergy or intolerance.
no setterinherited
reaction List<AllergyIntoleranceReaction?>?
Details about each adverse reaction event linked to exposure to the identified substance.
no setterinherited
recordedDate String?
The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.
no setterinherited
recorder Reference?
Individual who recorded the record and takes responsibility for its content.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AllergyIntoleranceTypeEnum?
Identification of the underlying physiological mechanism for the reaction risk
no setterinherited
verificationStatus CodeableConcept?
Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product).
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited