Deploy Ladill Care / deploy (push) Successful in 43s
Mirror Cardiology-depth stage flows, workspace tabs, reports/print, clinical alerts, demo seeds, and PHPUnit coverage for child health, fracture clinic, and ENT pathways. Co-authored-by: Cursor <cursoragent@cursor.com>
91 lines
3.6 KiB
PHP
91 lines
3.6 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Pediatrics summary · {{ $patient->fullName() }}</title>
|
|
<style>
|
|
body { font-family: system-ui, sans-serif; color: #0f172a; margin: 2rem; }
|
|
h1 { font-size: 1.25rem; margin: 0 0 .25rem; }
|
|
h2 { font-size: .95rem; margin: 1.25rem 0 .5rem; border-bottom: 1px solid #e2e8f0; padding-bottom: .25rem; }
|
|
.meta { color: #64748b; font-size: .875rem; }
|
|
dl { display: grid; grid-template-columns: 10rem 1fr; gap: .35rem .75rem; font-size: .875rem; }
|
|
dt { color: #64748b; }
|
|
dd { margin: 0; font-weight: 500; }
|
|
@media print { .no-print { display: none; } }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p class="no-print"><a href="{{ route('care.specialty.workspace', ['module' => 'pediatrics', 'visit' => $visit]) }}">Back</a></p>
|
|
|
|
<h1>{{ $patient->fullName() }}</h1>
|
|
<p class="meta">
|
|
{{ $patient->patient_number }}
|
|
· Visit #{{ $visit->id }}
|
|
· Stage {{ $visit->specialty_stage ?? '—' }}
|
|
· {{ $visit->checked_in_at?->format('d M Y H:i') ?? '—' }}
|
|
</p>
|
|
|
|
<h2>History</h2>
|
|
@if ($history)
|
|
<dl>
|
|
<dt>HPI</dt><dd>{{ $history->payload['history'] ?? '—' }}</dd>
|
|
<dt>Birth history</dt><dd>{{ $history->payload['birth_history'] ?? '—' }}</dd>
|
|
<dt>Past medical</dt><dd>{{ $history->payload['past_medical'] ?? '—' }}</dd>
|
|
<dt>Feeding</dt><dd>{{ $history->payload['feeding'] ?? '—' }}</dd>
|
|
<dt>Medications</dt><dd>{{ $history->payload['medications'] ?? '—' }}</dd>
|
|
</dl>
|
|
@else
|
|
<p class="meta">No history recorded.</p>
|
|
@endif
|
|
|
|
<h2>Exam / growth</h2>
|
|
@if ($exam)
|
|
<dl>
|
|
<dt>Complaint</dt><dd>{{ $exam->payload['chief_complaint'] ?? '—' }}</dd>
|
|
<dt>Weight / height</dt><dd>{{ $exam->payload['weight_kg'] ?? '—' }} kg · {{ $exam->payload['height_cm'] ?? '—' }} cm</dd>
|
|
<dt>Growth concern</dt><dd>{{ $exam->payload['growth_concern'] ?? '—' }}</dd>
|
|
<dt>Immunization</dt><dd>{{ $exam->payload['immunization_status'] ?? '—' }}</dd>
|
|
<dt>Exam</dt><dd>{{ $exam->payload['examination'] ?? '—' }}</dd>
|
|
</dl>
|
|
@else
|
|
<p class="meta">No exam recorded.</p>
|
|
@endif
|
|
|
|
<h2>Investigations</h2>
|
|
@if ($investigation)
|
|
<dl>
|
|
<dt>Investigation</dt><dd>{{ $investigation->payload['investigation'] ?? '—' }}</dd>
|
|
<dt>Findings</dt><dd>{{ $investigation->payload['findings'] ?? '—' }}</dd>
|
|
<dt>Impression</dt><dd>{{ $investigation->payload['impression'] ?? '—' }}</dd>
|
|
</dl>
|
|
@else
|
|
<p class="meta">No investigation recorded.</p>
|
|
@endif
|
|
|
|
<h2>Diagnosis & plan</h2>
|
|
@if ($plan)
|
|
<dl>
|
|
<dt>Diagnosis</dt><dd>{{ $plan->payload['diagnosis'] ?? '—' }}</dd>
|
|
<dt>Plan</dt><dd>{{ $plan->payload['plan'] ?? '—' }}</dd>
|
|
<dt>Medications</dt><dd>{{ $plan->payload['medications'] ?? '—' }}</dd>
|
|
<dt>Follow-up</dt><dd>{{ $plan->payload['follow_up'] ?? '—' }}</dd>
|
|
</dl>
|
|
@else
|
|
<p class="meta">No plan recorded.</p>
|
|
@endif
|
|
|
|
<h2>Treatment / immunization</h2>
|
|
@if ($treatment)
|
|
<dl>
|
|
<dt>Treatment</dt><dd>{{ $treatment->payload['treatment'] ?? '—' }}</dd>
|
|
<dt>Outcome</dt><dd>{{ $treatment->payload['outcome'] ?? '—' }}</dd>
|
|
<dt>Plan</dt><dd>{{ $treatment->payload['post_treatment_plan'] ?? '—' }}</dd>
|
|
</dl>
|
|
@else
|
|
<p class="meta">No treatment recorded.</p>
|
|
@endif
|
|
|
|
<script>window.print();</script>
|
|
</body>
|
|
</html>
|