Patients

@if($item->patientConsultations->count() > 0) @foreach ($item->patientConsultations as $consultation ) @endforeach
Status Notes Scheduled Start End Actions
{{ config('status.consultation')[$consultation->status] }} {{ $consultation->doctor_notes }} {{ $consultation->formatDateDiffForHumans('scheduled_at') }} {{ $consultation->formatDateDiffForHumans('started_at') }} {{ $consultation->formatDateDiffForHumans('ended_at') }} Edit @if($consultation->status == 'scheduled') Start @endif
@endif
@if($item->preferredMedications->count() > 0) @foreach ($item->preferredMedications as $meds ) @endforeach
Name Taken Before Effectiveness
{{ $meds->medication_name }} {{ $meds->taken_before ? 'Yes' : 'No' }} {{ $meds->effectiveness }}
@endif
{{ $patient->state }} @php $ordersCount = $patient->medicationOrders->count(); $pendingCount = $patient->medicationOrders->where('status', 'pending')->count(); @endphp @if($ordersCount > 0)
Total: {{ $ordersCount }}
@if($pendingCount > 0)
Pending: {{ $pendingCount }}
@endif
View Patient
@else No orders @endif
View Physician Order