@if ($isDailyMode)
LiveDaily counts are live.
@elseif ($cacheStamp)
GeneratedCached {{ $cacheStamp }}.
@else
Not generatedThis period will be available after the scheduled cache generation runs.
@endif
Counts are total visits for the selected day. “Reached lab/counsellor/dispensing” means a same-day record exists in that service module. Gender (headcount) counts unique patients.
Long wait >90 mins: {{ $dailyDurationSummary['longWaitRate'] }}%
Long-wait patients
{{ $dailyDurationSummary['longWaiters'] }}
Reception → dispensing • Included {{ $dailyDurationSummary['dispensed'] ?? 0 }}
• Excluded (no dispensing) {{ $dailyDurationSummary['excludedNoDispensing'] ?? 0 }}
Calculation: start at reception check-in (`created_at` in followup_generals); end at dispensing time (`created_at` in consumptions). IDs without same-day dispensing are excluded from duration stats and shown in grey in the daily time-in-clinic band chart.
Counts are total visits for the selected period. “Reached lab/counsellor/dispensing” means a record exists in that module within the same period. Gender (headcount) counts unique patients.
X-axis shows day + date in the selected report period. Stacked groups are waiting-time bands (minutes): 1-90, 91-150, 151-210, 211-270, 271-330.
Hover a bar segment to see its count and percentage of that day. Grey means excluded IDs with no same-day dispensing record.
@if ($timeInClinicPeriodTotal > 0)
{{ ($viewMode ?? '') === 'monthly' ? 'Selected month' : 'Selected period' }} total:
{{ number_format($timeInClinicPeriodTotal) }} records. Percentages below are calculated over this total.
Time-in-clinic: followup_generals.created_at (reception start) to consumptions.created_at (dispensing end) per PID/day; IDs without dispensing are counted in excluded (grey).
Coverage map
Clinic areas in Myanmar
Base wards are from MIMU v9.4 ward boundaries and matched by Region, Township, and Ward from the registration data.
MAM_A ClinicMAM_BMAM_C1 ClinicMAM_A ID pointsMAM_B ID pointsMAM_C1 ID points
Send clinic-to-ward details next, and this map will be updated with exact assignment and additional Myanmar locations.
Stacked bars compare each clinic's time-in-clinic percentage for the selected month.
Consultation total and MD counts are shown below for context only.
{{ $selectedMonthLabel }}
Clinic
Consultations
MD workload visits
MD count
Time-in-clinic records
@foreach ($clinicTimeInClinicComparison as $clinicRow)