@extends('layouts.website.website') @section('content')

{{ $prescription->doctor->name }}

{{ $prescription->doctor->department->name }} {{ $prescription->doctor->profile }}


Date : {{ Carbon\Carbon::parse($prescription->date)->format('d,M Y') }}
Prescription Id : {{ $prescription->id }}

Patient: {{ $prescription->patient->name }}
Patient ID: {{ $prescription->patient->id }}
Age: {{ $prescription->patient->age }}
Gender: {{ $prescription->patient->sex }}

History:

{!! $prescription->symtom !!}

Note:

{!! $prescription->note !!}

Advice:

{!! $prescription->advice !!}
Rx
@foreach (App\DoctorPrescriptionMedicine::where('prescription_id',$prescription->id)->get() as $med) @endforeach
Medicine Instruction Frequency
{{ $med->medicine }} - {{ $med->dosage }}mg {{ $med->days }} - {{ $med->instruction }} {{ $med->frequency }}
@if (Auth::user()->role_id == 4) @endif
@endsection