{{ __('messages.prescription.prescription_details') }}

{{ Form::label('patient', __('messages.prescription.patient').':', ['class' => 'fw-bold text-muted py-3']) }} {{ $prescription->patient->user->full_name }}
{{ Form::label('food_allergies', __('messages.prescription.food_allergies').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->food_allergies)) ? $prescription->food_allergies : __('messages.common.n/a') }}
{{ Form::label('tendency_bleed', __('messages.prescription.tendency_bleed').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->tendency_bleed)) ? $prescription->tendency_bleed : __('messages.common.n/a') }}
{{ Form::label('heart_disease', __('messages.prescription.heart_disease').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->heart_disease)) ? $prescription->heart_disease : __('messages.common.n/a') }}
{{ Form::label('high_blood_pressure', __('messages.prescription.high_blood_pressure').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->high_blood_pressure)) ? $prescription->high_blood_pressure : __('messages.common.n/a') }}
{{ Form::label('diabetic', __('messages.prescription.diabetic').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->diabetic)) ? $prescription->diabetic : __('messages.common.n/a') }}
{{ Form::label('surgery', __('messages.prescription.surgery').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->surgery)) ? $prescription->surgery : __('messages.common.n/a') }}
{{ Form::label('accident', __('messages.prescription.accident').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->accident)) ? $prescription->accident : __('messages.common.n/a') }}
{{ Form::label('others', __('messages.prescription.others').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->others)) ? $prescription->others : __('messages.common.n/a') }}
{{ Form::label('medical_history', __('messages.new_change.added_at').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (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' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->current_medication)) ? $prescription->current_medication : __('messages.common.n/a') }}
{{ Form::label('female_pregnancy', __('messages.prescription.female_pregnancy').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->female_pregnancy)) ? $prescription->female_pregnancy : __('messages.common.n/a') }}
{{ Form::label('breast_feeding', __('messages.prescription.breast_feeding').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->breast_feeding)) ? $prescription->breast_feeding : __('messages.common.n/a') }}
{{ Form::label('health_insurance', __('messages.prescription.health_insurance').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->health_insurance)) ? $prescription->health_insurance : __('messages.common.n/a') }}
{{ Form::label('low_income', __('messages.prescription.low_income').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->low_income)) ? $prescription->low_income : __('messages.common.n/a') }}
{{ Form::label('reference', __('messages.prescription.reference').':', ['class' => 'fw-bold text-muted py-3']) }} {{ (isset($prescription->reference)) ? $prescription->reference : __('messages.common.n/a') }}
{{ Form::label('status', __('messages.common.status').':', ['class' => 'fw-bold text-muted py-3']) }}

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

{{ Form::label('created_at', __('messages.common.created_on').':', ['class' => 'fw-bold text-muted py-3']) }} {{ $prescription->created_at->diffForHumans() }}
{{ Form::label('updated_at', __('messages.common.last_updated').':', ['class' => 'fw-bold text-muted py-3']) }} {{$prescription->updated_at->diffForHumans() }}