CarePlan constructor

const CarePlan({
  1. @Default(Stu3ResourceType.CarePlan) @JsonKey(unknownEnumValue: Stu3ResourceType.CarePlan) 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. List<Reference>? definition,
  15. List<Reference>? basedOn,
  16. List<Reference>? replaces,
  17. List<Reference>? partOf,
  18. CarePlanStatus? status,
  19. @JsonKey(name: '_status') Element? statusElement,
  20. CarePlanIntent? intent,
  21. @JsonKey(name: '_intent') Element? intentElement,
  22. List<CodeableConcept>? category,
  23. String? title,
  24. @JsonKey(name: '_title') Element? titleElement,
  25. String? description,
  26. @JsonKey(name: '_description') Element? descriptionElement,
  27. required Reference subject,
  28. Reference? context,
  29. Period? period,
  30. List<Reference>? author,
  31. List<Reference>? careTeam,
  32. List<Reference>? addresses,
  33. List<Reference>? supportingInfo,
  34. List<Reference>? goal,
  35. List<CarePlanActivity>? activity,
  36. List<Annotation>? note,
})

Implementation

const factory CarePlan({
  @Default(Stu3ResourceType.CarePlan)
  @JsonKey(unknownEnumValue: Stu3ResourceType.CarePlan)
  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,
  List<Reference>? definition,
  List<Reference>? basedOn,
  List<Reference>? replaces,
  List<Reference>? partOf,
  CarePlanStatus? status,
  @JsonKey(name: '_status') Element? statusElement,
  CarePlanIntent? intent,
  @JsonKey(name: '_intent') Element? intentElement,
  List<CodeableConcept>? category,
  String? title,
  @JsonKey(name: '_title') Element? titleElement,
  String? description,
  @JsonKey(name: '_description') Element? descriptionElement,
  required Reference subject,
  Reference? context,
  Period? period,
  List<Reference>? author,
  List<Reference>? careTeam,
  List<Reference>? addresses,
  List<Reference>? supportingInfo,
  List<Reference>? goal,
  List<CarePlanActivity>? activity,
  List<Annotation>? note,
}) = _CarePlan;