{{ \Carbon\Carbon::parse($history->appointment->appointment_date)->format('d-M-Y') }} {{isset($history->appointment->start_time) ? $history->appointment->start_time : ''}} {{ isset($history->appointment->doctor->name)?'By : Dr '.$history->appointment->doctor->name:'' }}
@if(isset($patient->name))P{{$patient->id}} : {{$patient->name}} ( {{ isset($patient->dob_or_age) ? \Carbon\Carbon::parse($patient->dob_or_age)->age : '' }} {{ isset($patient->dob_or_age) && isset($patient->gender) ? ', ' : '' }} {{ isset($patient->gender) ? $patient->gender : '' }} ) {{ isset($patient->phone) ? '- ' . $patient->phone : '' }} {{ isset($patient->address) ? '- ' . $patient->address : '' }}
@isset($patient->referred_by)Referred By: {{ $patient->referred_by }}
@endisset @endif| # | Medicine | Dosage | When | Frequency | Duration | Notes |
| {{$loop->index + 1}} |
{{isset($med_index->medicine)?$med_index->medicine:''}} {{isset($med_index->generic_name)?$med_index->generic_name:''}} |
{{isset($med_index->dosage)?$med_index->dosage:''}} | {{isset($med_index->when)?$med_index->when:''}} | {{isset($med_index->frequency)?$med_index->frequency:''}} | {{isset($med_index->duration)?$med_index->duration:''}} | {{isset($med_index->notes)?$med_index->notes:''}} |