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