AllergyIntolerance constructor
const
AllergyIntolerance({
- @Default(Stu3ResourceType.AllergyIntolerance) @JsonKey(unknownEnumValue: Stu3ResourceType.AllergyIntolerance) Stu3ResourceType resourceType,
- @JsonKey(includeFromJson: true, includeToJson: false) int? dbId,
- @JsonKey(name: 'id') FhirId? fhirId,
- FhirMeta? meta,
- FhirUri? implicitRules,
- @JsonKey(name: '_implicitRules') Element? implicitRulesElement,
- FhirCode? language,
- @JsonKey(name: '_language') Element? languageElement,
- Narrative? text,
- List<
Resource> ? contained, - @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, - List<
FhirExtension> ? modifierExtension, - List<
Identifier> ? identifier, - AllergyIntoleranceClinicalStatus? clinicalStatus,
- @JsonKey(name: '_clinicalStatus') Element? clinicalStatusElement,
- AllergyIntoleranceVerificationStatus? verificationStatus,
- @JsonKey(name: '_verificationStatus') Element? verificationStatusElement,
- AllergyIntoleranceType? type,
- @JsonKey(name: '_type') Element? typeElement,
- List<
AllergyIntoleranceCategory> ? category, - @JsonKey(name: '_category') List<
Element?> ? categoryElement, - AllergyIntoleranceCriticality? criticality,
- @JsonKey(name: '_criticality') Element? criticalityElement,
- CodeableConcept? code,
- required Reference patient,
- FhirDateTime? onsetDateTime,
- @JsonKey(name: '_onsetDateTime') Element? onsetDateTimeElement,
- Age? onsetAge,
- Period? onsetPeriod,
- Range? onsetRange,
- String? onsetString,
- @JsonKey(name: '_onsetString') Element? onsetStringElement,
- FhirDate? assertedDate,
- @JsonKey(name: '_assertedDate') Element? assertedDateElement,
- Reference? recorder,
- Reference? asserter,
- String? lastOccurrence,
- @JsonKey(name: '_lastOccurrence') Element? lastOccurrenceElement,
- List<
Annotation> ? note, - List<
AllergyIntoleranceReaction> ? reaction,
Implementation
const factory AllergyIntolerance({
@Default(Stu3ResourceType.AllergyIntolerance)
@JsonKey(unknownEnumValue: Stu3ResourceType.AllergyIntolerance)
Stu3ResourceType resourceType,
@JsonKey(includeFromJson: true, includeToJson: false) int? dbId,
@JsonKey(name: 'id') FhirId? fhirId,
FhirMeta? meta,
FhirUri? implicitRules,
@JsonKey(name: '_implicitRules') Element? implicitRulesElement,
FhirCode? language,
@JsonKey(name: '_language') Element? languageElement,
Narrative? text,
List<Resource>? contained,
@JsonKey(name: 'extension') List<FhirExtension>? extension_,
List<FhirExtension>? modifierExtension,
List<Identifier>? identifier,
AllergyIntoleranceClinicalStatus? clinicalStatus,
@JsonKey(name: '_clinicalStatus') Element? clinicalStatusElement,
AllergyIntoleranceVerificationStatus? verificationStatus,
@JsonKey(name: '_verificationStatus') Element? verificationStatusElement,
AllergyIntoleranceType? type,
@JsonKey(name: '_type') Element? typeElement,
List<AllergyIntoleranceCategory>? category,
@JsonKey(name: '_category') List<Element?>? categoryElement,
AllergyIntoleranceCriticality? criticality,
@JsonKey(name: '_criticality') Element? criticalityElement,
CodeableConcept? code,
required Reference patient,
FhirDateTime? onsetDateTime,
@JsonKey(name: '_onsetDateTime') Element? onsetDateTimeElement,
Age? onsetAge,
Period? onsetPeriod,
Range? onsetRange,
String? onsetString,
@JsonKey(name: '_onsetString') Element? onsetStringElement,
FhirDate? assertedDate,
@JsonKey(name: '_assertedDate') Element? assertedDateElement,
Reference? recorder,
Reference? asserter,
String? lastOccurrence,
@JsonKey(name: '_lastOccurrence') Element? lastOccurrenceElement,
List<Annotation>? note,
List<AllergyIntoleranceReaction>? reaction,
}) = _AllergyIntolerance;