Files
ladill-care/resources/views/care/specialty/surgery/print.blade.php
T
isaaccladandCursor b7e5a7d9ad
Deploy Ladill Care / deploy (push) Successful in 32s
Add full Oncology, Renal Care, and Surgery specialty clinical suites.
Match Pediatrics/ENT depth with stages, workspace tabs, clinical records, reports/print, demo seed, and suite tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 20:16:18 +00:00

15 lines
2.2 KiB
PHP

<!DOCTYPE html>
<html lang="en"><head><meta charset="utf-8"><title>Surgery summary · {{ $patient->fullName() }}</title>
<style>body{font-family:system-ui,sans-serif;color:#0f172a;margin:2rem}h1{font-size:1.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' => 'surgery', 'visit' => $visit]) }}">Back</a></p>
<h1>{{ $patient->fullName() }}</h1>
<p class="meta">{{ $patient->patient_number }} · Visit #{{ $visit->id }} · Stage {{ $visit->specialty_stage ?? '—' }}</p>
<h2>History</h2>@if($history)<dl><dt>HPI</dt><dd>{{ $history->payload['history'] ?? '—' }}</dd></dl>@else<p class="meta">No history.</p>@endif
<h2>Exam</h2>@if($exam)<dl><dt>Complaint</dt><dd>{{ $exam->payload['chief_complaint'] ?? '—' }}</dd><dt>ASA</dt><dd>{{ $exam->payload['asa_class'] ?? '—' }}</dd></dl>@else<p class="meta">No exam.</p>@endif
<h2>Investigations</h2>@if($investigation)<dl><dt>Investigation</dt><dd>{{ $investigation->payload['investigation'] ?? '—' }}</dd><dt>Findings</dt><dd>{{ $investigation->payload['findings'] ?? '—' }}</dd></dl>@else<p class="meta">No investigation.</p>@endif
<h2>Consent / plan</h2>@if($plan)<dl><dt>Diagnosis</dt><dd>{{ $plan->payload['diagnosis'] ?? '—' }}</dd><dt>Procedure</dt><dd>{{ $plan->payload['proposed_procedure'] ?? '—' }}</dd><dt>Consent</dt><dd>{{ !empty($plan->payload['consent_obtained']) ? 'Yes' : 'No' }}</dd></dl>@else<p class="meta">No plan.</p>@endif
<h2>Procedure</h2>@if($procedure)<dl><dt>Procedure</dt><dd>{{ $procedure->payload['procedure'] ?? '—' }}</dd><dt>Outcome</dt><dd>{{ $procedure->payload['outcome'] ?? '—' }}</dd></dl>@else<p class="meta">No procedure.</p>@endif
<h2>Post-op</h2>@if($postop)<dl><dt>Progress</dt><dd>{{ $postop->payload['progress'] ?? '—' }}</dd><dt>Outcome</dt><dd>{{ $postop->payload['outcome'] ?? '—' }}</dd></dl>@else<p class="meta">No post-op.</p>@endif
<script>window.print();</script></body></html>