Medication constructor

const Medication({
  1. @Default.new(null) String? compoundPrescription,
  2. @Default.new(null) Substanceproduct? substanceProduct,
  3. @Default.new(null) Medicinalproduct? medicinalProduct,
  4. @Default.new(null) int? numberOfPackages,
  5. @Default.new(null) String? batch,
  6. @Default.new(null) int? expirationDate,
  7. @Default.new(null) String? instructionForPatient,
  8. @Default.new(null) String? instructionForReimbursement,
  9. @Default.new(null) String? commentForDelivery,
  10. @Default.new(null) String? drugRoute,
  11. @Default.new(null) String? temporality,
  12. @Default.new(null) CodeStub? frequency,
  13. @Default.new(null) CodeStub? reimbursementReason,
  14. @Default.new(null) bool? substitutionAllowed,
  15. @Default.new(null) int? beginMoment,
  16. @Default.new(null) int? endMoment,
  17. @Default.new(null) int? deliveryMoment,
  18. @Default.new(null) int? endExecutionMoment,
  19. @Default.new(null) Duration? duration,
  20. @Default.new(null) Renewal? renewal,
  21. @Default.new(null) bool? knownUsage,
  22. @Default.new(null) List<RegimenItem>? regimen,
  23. @Default.new(null) String? posology,
  24. @Default.new(null) Map<String, ParagraphAgreement>? agreements,
  25. @Default.new(null) String? medicationSchemeIdOnSafe,
  26. @Default.new(null) int? medicationSchemeSafeVersion,
  27. @Default.new(null) int? medicationSchemeTimeStampOnSafe,
  28. @Default.new(null) String? medicationSchemeDocumentId,
  29. @Default.new(null) String? safeIdName,
  30. @Default.new(null) String? idOnSafes,
  31. @Default.new(null) int? timestampOnSafe,
  32. @Default.new(null) bool? changeValidated,
  33. @Default.new(null) bool? newSafeMedication,
  34. @Default.new(null) String? medicationUse,
  35. @Default.new(null) String? beginCondition,
  36. @Default.new(null) String? endCondition,
  37. @Default.new(null) String? origin,
  38. @Default.new(null) bool? medicationChanged,
  39. @Default.new(null) bool? posologyChanged,
  40. @Default.new(null) List<Suspension>? suspension,
  41. @Default.new(null) String? prescriptionRID,
  42. @Default.new(null) int? status,
})

Implementation

const factory Medication({
	@Default(null) String? compoundPrescription,
	@Default(null) Substanceproduct? substanceProduct,
	@Default(null) Medicinalproduct? medicinalProduct,
	@Default(null) int? numberOfPackages,
	@Default(null) String? batch,
	@Default(null) int? expirationDate,
	@Default(null) String? instructionForPatient,
	@Default(null) String? instructionForReimbursement,
	@Default(null) String? commentForDelivery,
	@Default(null) String? drugRoute,
	@Default(null) String? temporality,
	@Default(null) CodeStub? frequency,
	@Default(null) CodeStub? reimbursementReason,
	@Default(null) bool? substitutionAllowed,
	@Default(null) int? beginMoment,
	@Default(null) int? endMoment,
	@Default(null) int? deliveryMoment,
	@Default(null) int? endExecutionMoment,
	@Default(null) Duration? duration,
	@Default(null) Renewal? renewal,
	@Default(null) bool? knownUsage,
	@Default(null) List<RegimenItem>? regimen,
	@Default(null) String? posology,
	@Default(null) Map<String, ParagraphAgreement>? agreements,
	@Default(null) String? medicationSchemeIdOnSafe,
	@Default(null) int? medicationSchemeSafeVersion,
	@Default(null) int? medicationSchemeTimeStampOnSafe,
	@Default(null) String? medicationSchemeDocumentId,
	@Default(null) String? safeIdName,
	@Default(null) String? idOnSafes,
	@Default(null) int? timestampOnSafe,
	@Default(null) bool? changeValidated,
	@Default(null) bool? newSafeMedication,
	@Default(null) String? medicationUse,
	@Default(null) String? beginCondition,
	@Default(null) String? endCondition,
	@Default(null) String? origin,
	@Default(null) bool? medicationChanged,
	@Default(null) bool? posologyChanged,
	@Default(null) List<Suspension>? suspension,
	@Default(null) String? prescriptionRID,
	@Default(null) int? status,
}) = _Medication;