CarePlan constructor

const CarePlan({
  1. @Default(Dstu2ResourceType.CarePlan) @JsonKey(unknownEnumValue: Dstu2ResourceType.CarePlan) Dstu2ResourceType 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. Reference? subject,
  15. @JsonKey(unknownEnumValue: CarePlanStatus.unknown) required CarePlanStatus status,
  16. @JsonKey(name: '_status') Element? statusElement,
  17. Reference? context,
  18. Period? period,
  19. List<Reference>? author,
  20. FhirDateTime? modified,
  21. List<CodeableConcept>? category,
  22. String? description,
  23. @JsonKey(name: '_description') Element? descriptionElement,
  24. List<Reference>? addresses,
  25. List<Reference>? support,
  26. List<CarePlanRelatedPlan>? relatedPlan,
  27. List<CarePlanParticipant>? participant,
  28. List<Reference>? goal,
  29. List<CarePlanActivity>? activity,
  30. Annotation? note,
})

Implementation

const factory CarePlan({
  @Default(Dstu2ResourceType.CarePlan)
  @JsonKey(unknownEnumValue: Dstu2ResourceType.CarePlan)
  Dstu2ResourceType 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,
  Reference? subject,
  @JsonKey(unknownEnumValue: CarePlanStatus.unknown)
  required CarePlanStatus status,
  @JsonKey(name: '_status') Element? statusElement,
  Reference? context,
  Period? period,
  List<Reference>? author,
  FhirDateTime? modified,
  List<CodeableConcept>? category,
  String? description,
  @JsonKey(name: '_description') Element? descriptionElement,
  List<Reference>? addresses,
  List<Reference>? support,
  List<CarePlanRelatedPlan>? relatedPlan,
  List<CarePlanParticipant>? participant,
  List<Reference>? goal,
  List<CarePlanActivity>? activity,
  Annotation? note,
}) = _CarePlan;