This commit is contained in:
2026-05-05 14:21:35 +02:00
parent 8b85e49a1f
commit cf872477af
9 changed files with 275 additions and 4 deletions
+7 -4
View File
@@ -1,11 +1,13 @@
"""
Covance samples report pro studii 42847922MDD3003.
Čte z MySQL (nejnovější import), generuje Excel s 5 listy:
Čte z MySQL (nejnovější import), generuje Excel s 7 listy:
1. Přehled — agregát per pacient+visit (Received / Not Received / Cancelled)
2. Chybějící — detail Not Received vzorků
3. Kity — pivot kit inventory: centra × typy kitů
4. ZDROJ — surová data samples
5. ZDROJ Kity — surová data kit inventory
3. Kity — kit inventory: centra × typy kitů s expirací
4. eQueries — přehled eQuery dotazů (Open červeně)
5. ZDROJ Vzorky — surová data samples
6. ZDROJ Kity — surová data kit inventory
7. ZDROJ eQuery — surová data eQueries
"""
import os
@@ -37,6 +39,7 @@ EVEN_FILL = PatternFill("solid", fgColor="EBF3FB")
ODD_FILL = PatternFill("solid", fgColor="FFFFFF")
NOTRCV_FILL = PatternFill("solid", fgColor="FCE4D6")
CANCELLED_FILL = PatternFill("solid", fgColor="F2F2F2")
OPEN_FILL = PatternFill("solid", fgColor="FFC7CE")
CENTER = Alignment(horizontal="center", vertical="center")
LEFT = Alignment(horizontal="left", vertical="center")