@extends('layouts.app') @section('title', 'Medical Treatment') @section('content')
{{-- Page guide: what this screen is for --}}
Medical Treatment. Record medical treatment inside the prison: complaint, diagnosis and treatment, prisoner movement and location, treatment status, and referrals.

Medical Treatment

{{ $records->total() }} record(s)
@can('prison.medical.add') New Record@endcan
@if(session('success'))
{{ session('success') }}
@endif
@forelse($records as $r) @empty @endforelse
PrisonerDateComplaintLocationTreatmentMovementActions
{{ optional($r->prisoner)->name ?? '—' }}
{{ optional($r->prisoner)->prisoner_number }}
{{ optional($r->treatment_date)->format('d M Y') }} {{ $r->complaint }} {{ $r->location }} {{ $r->treatment_status }} {{ $r->movement_status }} @if(in_array($r->status ?? '', ['Draft','Scheduled','Open']))
@csrf
@endif
No records yet.
{{ $records->withQueryString()->links() }}
@endsection