AllergyIntolerance constructor

const AllergyIntolerance({
  1. @Default(Stu3ResourceType.AllergyIntolerance) @JsonKey(unknownEnumValue: Stu3ResourceType.AllergyIntolerance) Stu3ResourceType resourceType,
  2. @JsonKey(includeFromJson: true, includeToJson: false) int? dbId,
  3. @JsonKey(name: 'id') FhirId? fhirId,
  4. FhirMeta? meta,
  5. FhirUri? implicitRules,
  6. @JsonKey(name: '_implicitRules') Element? implicitRulesElement,
  7. FhirCode? language,
  8. @JsonKey(name: '_language') Element? languageElement,
  9. Narrative? text,
  10. List<Resource>? contained,
  11. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  12. List<FhirExtension>? modifierExtension,
  13. List<Identifier>? identifier,
  14. AllergyIntoleranceClinicalStatus? clinicalStatus,
  15. @JsonKey(name: '_clinicalStatus') Element? clinicalStatusElement,
  16. AllergyIntoleranceVerificationStatus? verificationStatus,
  17. @JsonKey(name: '_verificationStatus') Element? verificationStatusElement,
  18. AllergyIntoleranceType? type,
  19. @JsonKey(name: '_type') Element? typeElement,
  20. List<AllergyIntoleranceCategory>? category,
  21. @JsonKey(name: '_category') List<Element?>? categoryElement,
  22. AllergyIntoleranceCriticality? criticality,
  23. @JsonKey(name: '_criticality') Element? criticalityElement,
  24. CodeableConcept? code,
  25. required Reference patient,
  26. FhirDateTime? onsetDateTime,
  27. @JsonKey(name: '_onsetDateTime') Element? onsetDateTimeElement,
  28. Age? onsetAge,
  29. Period? onsetPeriod,
  30. Range? onsetRange,
  31. String? onsetString,
  32. @JsonKey(name: '_onsetString') Element? onsetStringElement,
  33. FhirDate? assertedDate,
  34. @JsonKey(name: '_assertedDate') Element? assertedDateElement,
  35. Reference? recorder,
  36. Reference? asserter,
  37. String? lastOccurrence,
  38. @JsonKey(name: '_lastOccurrence') Element? lastOccurrenceElement,
  39. List<Annotation>? note,
  40. 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;