{{-- Smart Report v2 - Microbiology smears (KOHE, AFBS, GBS). --}} {{-- Mirrors SmartReportService::GetMicrobPDF (lines 4849-4928). Single page, --}} {{-- two-column "Specimen Type" / "Specimen Selection" with a fixed comment block. --}} @php /** @var array $group Group view-model from WebController v2 dispatch */ /** @var \App\Services\SmartReportV2Service $service */ $service = $service ?? app(\App\Services\SmartReportV2Service::class); $Package = $group['package'] ?? ($group['firstPackage'] ?? null); $model = $Package ? $service->buildMicrobModel($Package) : ['specimen_type' => null, 'specimen_selection' => null, 'comment' => '']; @endphp