{{ Form::label('patient', __('messages.prescription.patient').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ $prescription->patient->user->full_name }}
{{ Form::label('patient', __('messages.patient_admission.doctor').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ $prescription->doctor->user->full_name }}
{{ Form::label('food_allergies', __('messages.prescription.food_allergies').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->food_allergies)) ? $prescription->food_allergies : __('messages.common.n/a') }}
{{ Form::label('tendency_bleed', __('messages.prescription.tendency_bleed').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->tendency_bleed)) ? $prescription->tendency_bleed : __('messages.common.n/a') }}
{{ Form::label('heart_disease', __('messages.prescription.heart_disease').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->heart_disease)) ? $prescription->heart_disease : __('messages.common.n/a') }}
{{ Form::label('high_blood_pressure', __('messages.prescription.high_blood_pressure').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->high_blood_pressure)) ? $prescription->high_blood_pressure : __('messages.common.n/a') }}
{{ Form::label('diabetic', __('messages.prescription.diabetic').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->diabetic)) ? $prescription->diabetic : __('messages.common.n/a') }}
{{ Form::label('surgery', __('messages.prescription.surgery').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->surgery)) ? $prescription->surgery : __('messages.common.n/a') }}
{{ Form::label('accident', __('messages.prescription.accident').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->accident)) ? $prescription->accident : __('messages.common.n/a') }}
{{ Form::label('others', __('messages.prescription.others').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->others)) ? $prescription->others : __('messages.common.n/a') }}
{{ Form::label('medical_history', __('messages.new_change.added_at').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->medical_history)) ? \Carbon\Carbon::parse($prescription->medical_history)->translatedFormat('jS M, Y') : __('messages.common.n/a') }}
{{ Form::label('current_medication', __('messages.prescription.current_medication').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->current_medication)) ? $prescription->current_medication : __('messages.common.n/a') }}
{{ Form::label('female_pregnancy', __('messages.prescription.female_pregnancy').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->female_pregnancy)) ? $prescription->female_pregnancy : __('messages.common.n/a') }}
{{ Form::label('breast_feeding', __('messages.prescription.breast_feeding').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->breast_feeding)) ? $prescription->breast_feeding : __('messages.common.n/a') }}
{{ Form::label('health_insurance', __('messages.prescription.health_insurance').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->health_insurance)) ? $prescription->health_insurance : __('messages.common.n/a') }}
{{ Form::label('low_income', __('messages.prescription.low_income').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->low_income)) ? $prescription->low_income : __('messages.common.n/a') }}
{{ Form::label('reference', __('messages.prescription.reference').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ (isset($prescription->reference)) ? $prescription->reference : __('messages.common.n/a') }}
{{ Form::label('status', __('messages.common.status').':', ['class' => 'pb-2 fs-5 text-gray-600']) }}

{{($prescription->status == 1) ? __('messages.filter.active') : __('messages.filter.deactive')}}

{{ Form::label('created_at', __('messages.common.created_on').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ $prescription->created_at->diffForHumans() }}
{{ Form::label('updated_at', __('messages.common.last_updated').':', ['class' => 'pb-2 fs-5 text-gray-600']) }} {{$prescription->updated_at->diffForHumans() }}
@if(!empty($medicines))
@foreach($prescription->getMedicine as $medicine) @foreach($medicine->medicines as $medi) @break @endforeach @endforeach
{{ __('messages.prescription.medicine_name') }} {{ __('messages.ipd_patient_prescription.dosage') }} {{ __('messages.prescription.duration') }} {{ __('messages.medicine_bills.dose_interval') }}
{!! $medi->name !!} {{ $medicine->dosage }} @if($medicine->time == 0) (After Meal) @else (Before Meal) @endif {{ $medicine->day }} Day {{ App\Models\Prescription::DOSE_INTERVAL[$medicine->dose_interval] }}
@endif