@endif @if($history->past_history != '')
@endif @php $medicines = isset($history->medicine)?json_decode($history->medicine):""; @endphp @if($medicines)
| # | Medicine | Dosage | When | Frequency | Duration | Notes |
| {{$loop->index + 1}} |
{{ $med_index->medicine ?? '' }} {{ $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:''}} |
@foreach($ref_to_arr as $ref_data) @if(isset($ref_data->doctor_name))