Medication constructor

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

Implementation

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