Communication constructor
const
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,
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;