Medication constructor
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,
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;