MedicationDispense constructor

const MedicationDispense({
  1. @Default(Stu3ResourceType.MedicationDispense) @JsonKey(unknownEnumValue: Stu3ResourceType.MedicationDispense) 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>? partOf,
  15. MedicationDispenseStatus? status,
  16. @JsonKey(name: '_status') Element? statusElement,
  17. CodeableConcept? category,
  18. CodeableConcept? medicationCodeableConcept,
  19. Reference? medicationReference,
  20. Reference? subject,
  21. Reference? context,
  22. List<Reference>? supportingInformation,
  23. List<MedicationDispensePerformer>? performer,
  24. List<Reference>? authorizingPrescription,
  25. CodeableConcept? type,
  26. Quantity? quantity,
  27. Quantity? daysSupply,
  28. String? whenPrepared,
  29. @JsonKey(name: '_whenPrepared') Element? whenPreparedElement,
  30. String? whenHandedOver,
  31. @JsonKey(name: '_whenHandedOver') Element? whenHandedOverElement,
  32. Reference? destination,
  33. List<Reference>? receiver,
  34. List<Annotation>? note,
  35. List<Dosage>? dosageInstruction,
  36. MedicationDispenseSubstitution? substitution,
  37. List<Reference>? detectedIssue,
  38. FhirBoolean? notDone,
  39. @JsonKey(name: '_notDone') Element? notDoneElement,
  40. CodeableConcept? notDoneReasonCodeableConcept,
  41. Reference? notDoneReasonReference,
  42. List<Reference>? eventHistory,
})

Implementation

const factory MedicationDispense({
  @Default(Stu3ResourceType.MedicationDispense)
  @JsonKey(unknownEnumValue: Stu3ResourceType.MedicationDispense)
  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>? partOf,
  MedicationDispenseStatus? status,
  @JsonKey(name: '_status') Element? statusElement,
  CodeableConcept? category,
  CodeableConcept? medicationCodeableConcept,
  Reference? medicationReference,
  Reference? subject,
  Reference? context,
  List<Reference>? supportingInformation,
  List<MedicationDispensePerformer>? performer,
  List<Reference>? authorizingPrescription,
  CodeableConcept? type,
  Quantity? quantity,
  Quantity? daysSupply,
  String? whenPrepared,
  @JsonKey(name: '_whenPrepared') Element? whenPreparedElement,
  String? whenHandedOver,
  @JsonKey(name: '_whenHandedOver') Element? whenHandedOverElement,
  Reference? destination,
  List<Reference>? receiver,
  List<Annotation>? note,
  List<Dosage>? dosageInstruction,
  MedicationDispenseSubstitution? substitution,
  List<Reference>? detectedIssue,
  FhirBoolean? notDone,
  @JsonKey(name: '_notDone') Element? notDoneElement,
  CodeableConcept? notDoneReasonCodeableConcept,
  Reference? notDoneReasonReference,
  List<Reference>? eventHistory,
}) = _MedicationDispense;