AppointmentResponse constructor

const AppointmentResponse({
  1. @Default(Dstu2ResourceType.AppointmentResponse) @JsonKey(unknownEnumValue: Dstu2ResourceType.AppointmentResponse) 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. required Reference appointment,
  15. FhirInstant? start,
  16. @JsonKey(name: '_start') Element? startElement,
  17. FhirInstant? end,
  18. @JsonKey(name: '_end') Element? endElement,
  19. List<CodeableConcept>? participantType,
  20. Reference? actor,
  21. @JsonKey(required: true, unknownEnumValue: AppointmentResponseParticipantStatus.unknown) required AppointmentResponseParticipantStatus participantStatus,
  22. @JsonKey(name: '_participantStatus') Element? participantStatusElement,
  23. String? comment,
  24. @JsonKey(name: '_comment') Element? commentElement,
})

Implementation

const factory AppointmentResponse({
  @Default(Dstu2ResourceType.AppointmentResponse)
  @JsonKey(unknownEnumValue: Dstu2ResourceType.AppointmentResponse)
  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,
  required Reference appointment,
  FhirInstant? start,
  @JsonKey(name: '_start') Element? startElement,
  FhirInstant? end,
  @JsonKey(name: '_end') Element? endElement,
  List<CodeableConcept>? participantType,
  Reference? actor,
  @JsonKey(
      required: true,
      unknownEnumValue: AppointmentResponseParticipantStatus.unknown)
  required AppointmentResponseParticipantStatus participantStatus,
  @JsonKey(name: '_participantStatus') Element? participantStatusElement,
  String? comment,
  @JsonKey(name: '_comment') Element? commentElement,
}) = _AppointmentResponse;