Communication constructor

const Communication({
  1. @Default(Stu3ResourceType.Communication) @JsonKey(unknownEnumValue: Stu3ResourceType.Communication) 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>? partOf,
  17. String? status,
  18. @JsonKey(name: '_status') Element? statusElement,
  19. FhirBoolean? notDone,
  20. @JsonKey(name: '_notDone') Element? notDoneElement,
  21. CodeableConcept? notDoneReason,
  22. List<CodeableConcept>? category,
  23. List<CodeableConcept>? medium,
  24. Reference? subject,
  25. List<Reference>? recipient,
  26. List<Reference>? topic,
  27. Reference? context,
  28. String? sent,
  29. @JsonKey(name: '_sent') Element? sentElement,
  30. String? received,
  31. @JsonKey(name: '_received') Element? receivedElement,
  32. Reference? sender,
  33. List<CodeableConcept>? reasonCode,
  34. List<Reference>? reasonReference,
  35. List<CommunicationPayload>? payload,
  36. List<Annotation>? note,
})

Implementation

const factory Communication({
  @Default(Stu3ResourceType.Communication)
  @JsonKey(unknownEnumValue: Stu3ResourceType.Communication)
  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>? partOf,
  String? status,
  @JsonKey(name: '_status') Element? statusElement,
  FhirBoolean? notDone,
  @JsonKey(name: '_notDone') Element? notDoneElement,
  CodeableConcept? notDoneReason,
  List<CodeableConcept>? category,
  List<CodeableConcept>? medium,
  Reference? subject,
  List<Reference>? recipient,
  List<Reference>? topic,
  Reference? context,
  String? sent,
  @JsonKey(name: '_sent') Element? sentElement,
  String? received,
  @JsonKey(name: '_received') Element? receivedElement,
  Reference? sender,
  List<CodeableConcept>? reasonCode,
  List<Reference>? reasonReference,
  List<CommunicationPayload>? payload,
  List<Annotation>? note,
}) = _Communication;