@include('layouts.errors')
@include('flash::message')
{{ Form::hidden('createMedicineFromPrescriptionPost', route('prescription.medicine.store'), ['id' => 'createMedicineFromPrescriptionPost']) }}
{{Form::hidden('uniqueId',2,['class'=>'prescriptionUniqueId'])}}
{{Form::hidden('associateMedicines',json_encode($medicineList),['class'=>'associatePrescriptionMedicines'])}}
{{Form::hidden('associateMeals',json_encode($mealList),['class'=>'associatePrescriptionMeals'])}}
{{Form::hidden('dose_interval',json_encode($doseInverval),['class'=>'DoseInterValId'])}}
{{Form::hidden('dose_duration',json_encode($doseDuration),['class'=>'DoseDurationId'])}}
{{ Form::model($prescription, ['route' => ['prescriptions.update', $prescription->id], 'method' => 'patch', 'id' => 'editPrescription']) }}
@include('prescriptions.edit_fields')
@include('prescriptions.medical-table')
@include('prescriptions.edit-physical-info-fields')
@include('prescriptions.edit-other-fields')
{{ Form::close() }}
@include('prescriptions.add_new_medicine')
@include('prescriptions.templates.templates')