dak.c2s/backend/app/services
CCS Admin 72b6f784fc feat: report service — all 5 sheet calculations + year-over-year
Implements report_service.py with:
- Sheet 1: Auswertung KW gesamt (weekly totals + year summary)
- Sheet 2: Auswertung nach Fachgebieten (per-KW per-Fallgruppe)
- Sheet 3: Auswertung Gutachten (alternative/bestaetigung per group)
- Sheet 4: Auswertung Therapieaenderungen (TA metrics per KW)
- Sheet 5: Auswertung ICD onko (ICD code frequency for onko)
- Dashboard KPIs (total_cases, pending_icd, pending_coding, etc.)
- generate_full_report() for all 5 sheets combined

Implements vorjahr_service.py with:
- Cached year-over-year comparison via yearly_summary table
- get_vorjahr_summary() for Sheet 1 comparison columns
- get_vorjahr_detail() for full previous-year breakdown
- refresh_vorjahr_cache() for cache invalidation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 08:02:53 +00:00
..
__init__.py feat: project scaffolding with FastAPI, config, database connection 2026-02-24 07:24:00 +00:00
audit_service.py feat: admin API, audit logging, notifications, create_admin script 2026-02-24 07:48:41 +00:00
auth_service.py feat: auth system — login, register, refresh, MFA, domain whitelist 2026-02-24 07:46:04 +00:00
csv_parser.py feat: CRM CSV parser with pipe-delimited contact parsing 2026-02-24 07:45:34 +00:00
excel_import.py feat: historical Excel import (Abrechnung_DAK.xlsx) 2026-02-24 07:58:04 +00:00
icd_service.py feat: ICD service — normalize, split, validate, coding template 2026-02-24 07:49:05 +00:00
import_service.py feat: import service with duplicate detection and fall_id generation 2026-02-24 07:49:15 +00:00
notification_service.py feat: notification service — in-app + SMTP email 2026-02-24 07:52:24 +00:00
report_service.py feat: report service — all 5 sheet calculations + year-over-year 2026-02-24 08:02:53 +00:00
vorjahr_service.py feat: report service — all 5 sheet calculations + year-over-year 2026-02-24 08:02:53 +00:00