{{-- ANC Booking Labs drawer. Read-only summary of the ANC profile once recorded; editable form to enter or update lab values. Like history, saves go to the visit draft. Expected vars: $registration (to find $labsSource) --}} @php $labsSource = $registration->visits ->filter(fn($v) => $v->hemoglobin || $v->urine_protein || $v->vdrl_result || $v->hiv_result || $v->hep_b_result || $v->blood_group_visit) ->sortByDesc('visit_date') ->first(); $lh = $labsSource ?? $draftVisit; @endphp