Condition constructor

const Condition({
  1. @Default(Stu3ResourceType.Condition) @JsonKey(unknownEnumValue: Stu3ResourceType.Condition) 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. String? clinicalStatus,
  15. @JsonKey(name: '_clinicalStatus') Element? clinicalStatusElement,
  16. ConditionVerificationStatus? verificationStatus,
  17. @JsonKey(name: '_verificationStatus') Element? verificationStatusElement,
  18. List<CodeableConcept>? category,
  19. CodeableConcept? severity,
  20. CodeableConcept? code,
  21. List<CodeableConcept>? bodySite,
  22. required Reference subject,
  23. Reference? context,
  24. FhirDateTime? onsetDateTime,
  25. @JsonKey(name: '_onsetDateTime') Element? onsetDateTimeElement,
  26. Age? onsetAge,
  27. Period? onsetPeriod,
  28. Range? onsetRange,
  29. String? onsetString,
  30. @JsonKey(name: '_onsetString') Element? onsetStringElement,
  31. FhirDateTime? abatementDateTime,
  32. @JsonKey(name: '_abatementDateTime') Element? abatementDateTimeElement,
  33. Age? abatementAge,
  34. FhirBoolean? abatementBoolean,
  35. @JsonKey(name: '_abatementBoolean') Element? abatementBooleanElement,
  36. Period? abatementPeriod,
  37. Range? abatementRange,
  38. String? abatementString,
  39. @JsonKey(name: '_abatementString') Element? abatementStringElement,
  40. FhirDate? assertedDate,
  41. @JsonKey(name: '_assertedDate') Element? assertedDateElement,
  42. Reference? asserter,
  43. ConditionStage? stage,
  44. List<ConditionEvidence>? evidence,
  45. List<Annotation>? note,
})

Implementation

const factory Condition({
  @Default(Stu3ResourceType.Condition)
  @JsonKey(unknownEnumValue: Stu3ResourceType.Condition)
  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,
  String? clinicalStatus,
  @JsonKey(name: '_clinicalStatus') Element? clinicalStatusElement,
  ConditionVerificationStatus? verificationStatus,
  @JsonKey(name: '_verificationStatus') Element? verificationStatusElement,
  List<CodeableConcept>? category,
  CodeableConcept? severity,
  CodeableConcept? code,
  List<CodeableConcept>? bodySite,
  required Reference subject,
  Reference? context,
  FhirDateTime? onsetDateTime,
  @JsonKey(name: '_onsetDateTime') Element? onsetDateTimeElement,
  Age? onsetAge,
  Period? onsetPeriod,
  Range? onsetRange,
  String? onsetString,
  @JsonKey(name: '_onsetString') Element? onsetStringElement,
  FhirDateTime? abatementDateTime,
  @JsonKey(name: '_abatementDateTime') Element? abatementDateTimeElement,
  Age? abatementAge,
  FhirBoolean? abatementBoolean,
  @JsonKey(name: '_abatementBoolean') Element? abatementBooleanElement,
  Period? abatementPeriod,
  Range? abatementRange,
  String? abatementString,
  @JsonKey(name: '_abatementString') Element? abatementStringElement,
  FhirDate? assertedDate,
  @JsonKey(name: '_assertedDate') Element? assertedDateElement,
  Reference? asserter,
  ConditionStage? stage,
  List<ConditionEvidence>? evidence,
  List<Annotation>? note,
}) = _Condition;