@extends('layouts.admin') @section('page_kicker', 'Records') @section('page_title', 'Medical records') @section('content') @if(auth()->user()->role === 'hospital_admin')

Create medical record

Attach clinical summary to a patient profile.

@csrf
@endif

Patient history

Chronological record entries.

@foreach($records as $record)

Record #{{ $record->id }} · Patient profile #{{ $record->patient_profile_id }}

{{ \Illuminate\Support\Str::limit($record->summary, 220) }}

Doctor ID: {{ $record->doctor_id }} · {{ $record->created_at }}

@endforeach
{{ $records->links() }}
@endsection