Repository navigation
v0.12.8 — analysis history distinguishes OSAS vs CSAS
Analysis history now distinguishes OSAS vs CSAS
The analysis-history list (/results) now shows the apnea type and the central component, not just a bare AHI. Two columns were added between OAHI and Severity:
- Centr. — central apnea index (
central_index, /h). - Type — an OSAS / CSAS badge. A study is labelled CSAS (central-predominant) when central events make up ≥ 50 % of the AHI (AASM convention), otherwise OSAS; below AHI 5 no type is shown.
The Severity badge is now localised (Mild / Matig / Ernstig in NL, with FR/EN equivalents), so a row reads e.g. AHI 51.3 · OAHI 6.9 · Centr. 44.5 · CSAS · Ernstig — an Ernstig CSAS at a glance.
NL conclusion/diagnosis terminology harmonised "Licht OSAS" → "Mild OSAS" to match the new badge; FR (léger) / EN (mild) / DE (leichtes) were already correct; the N1 sleep-stage label "Licht" (= light sleep) is unchanged.
Classification is a list-level heuristic (_sas_type()); the PDF report remains the source of truth for the full event breakdown.
No scoring change — psgscoring pin unchanged (0.7.6). Already deployed to production and verified live.