MedicationDto constructor

MedicationDto({
  1. String? compoundPrescription,
  2. SubstanceproductDto? substanceProduct,
  3. MedicinalproductDto? medicinalProduct,
  4. int? numberOfPackages,
  5. String? batch,
  6. String? instructionForPatient,
  7. String? commentForDelivery,
  8. String? drugRoute,
  9. String? temporality,
  10. CodeStubDto? frequency,
  11. CodeStubDto? reimbursementReason,
  12. bool? substitutionAllowed,
  13. int? beginMoment,
  14. int? endMoment,
  15. int? deliveryMoment,
  16. int? endExecutionMoment,
  17. DurationDto? duration,
  18. RenewalDto? renewal,
  19. bool? knownUsage,
  20. List<RegimenItemDto> regimen = const [],
  21. String? posology,
  22. Map<String, ParagraphAgreementDto> agreements = const {},
  23. String? medicationSchemeIdOnSafe,
  24. int? medicationSchemeSafeVersion,
  25. int? medicationSchemeTimeStampOnSafe,
  26. String? medicationSchemeDocumentId,
  27. String? safeIdName,
  28. String? idOnSafes,
  29. int? timestampOnSafe,
  30. bool? changeValidated,
  31. bool? newSafeMedication,
  32. String? medicationUse,
  33. String? beginCondition,
  34. String? endCondition,
  35. String? origin,
  36. bool? medicationChanged,
  37. bool? posologyChanged,
  38. List<SuspensionDto> suspension = const [],
  39. String? prescriptionRID,
  40. int? status,
})

Returns a new MedicationDto instance.

Implementation

MedicationDto({
  this.compoundPrescription,
  this.substanceProduct,
  this.medicinalProduct,
  this.numberOfPackages,
  this.batch,
  this.instructionForPatient,
  this.commentForDelivery,
  this.drugRoute,
  this.temporality,
  this.frequency,
  this.reimbursementReason,
  this.substitutionAllowed,
  this.beginMoment,
  this.endMoment,
  this.deliveryMoment,
  this.endExecutionMoment,
  this.duration,
  this.renewal,
  this.knownUsage,
  this.regimen = const [],
  this.posology,
  this.agreements = const {},
  this.medicationSchemeIdOnSafe,
  this.medicationSchemeSafeVersion,
  this.medicationSchemeTimeStampOnSafe,
  this.medicationSchemeDocumentId,
  this.safeIdName,
  this.idOnSafes,
  this.timestampOnSafe,
  this.changeValidated,
  this.newSafeMedication,
  this.medicationUse,
  this.beginCondition,
  this.endCondition,
  this.origin,
  this.medicationChanged,
  this.posologyChanged,
  this.suspension = const [],
  this.prescriptionRID,
  this.status,
});