@extends('layouts.admin') @section('page_kicker', 'Clinical ops') @section('page_title', 'Patient management') @section('content')
Filter by name, email, or phone.
{{ $patient->name }}
{{ $patient->is_active ? 'Active' : 'Inactive' }}{{ $patient->email }} · Phone: {{ $patient->phone ?? 'N/A' }}
Appointments: {{ \App\Models\HospitalAppointment::where('hospital_id', auth()->user()->hospital_id)->where('patient_id', $patient->id)->count() }} · Prescriptions: {{ \App\Models\Prescription::where('hospital_id', auth()->user()->hospital_id)->where('patient_id', $patient->id)->count() }}