Initial commit — clean history (removed large test files, browser profiles, Medidata/Clario downloads)
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
# create_report_v1.0.md
|
||||
|
||||
**Skript:** `create_report_v1.0.py`
|
||||
**Verze:** 1.0
|
||||
**Datum:** 2026-06-01
|
||||
|
||||
## Popis
|
||||
|
||||
Generuje Excel EDC DataListing report pro studii **77242113UCO3001** z MongoDB (db: `edc`).
|
||||
|
||||
## Výstup
|
||||
|
||||
`Medidata/reports/YYYY-MM-DD 77242113UCO3001 EDC DataListing v1.0.xlsx`
|
||||
|
||||
Stará verze se automaticky přesune do `reports/TRASH/`.
|
||||
|
||||
## Listy
|
||||
|
||||
| List | Kolekce MongoDB | Záznamy (CZE) |
|
||||
|------|----------------|---------------|
|
||||
| DateofVisit | UCO3001.DateofVisit | 55 |
|
||||
| ConcomitantTherapy | UCO3001.ConcomitantTherapy | 91 |
|
||||
| TrialDisposition | UCO3001.TrialDispositionCompletion-Discontinuation | 3 |
|
||||
|
||||
## Sloupce (každý list)
|
||||
|
||||
**Pevné:** SiteNumber · SiteName · Subject · Visit · FolderSeq · RecordPos · LastModified
|
||||
|
||||
**Dynamické:** všechny klíče z `fields{}` v pořadí výskytu v MongoDB
|
||||
|
||||
## Formátování
|
||||
|
||||
- Záhlaví: tmavomodrý fill, bílý tučný text, Calibri 10
|
||||
- Data: Calibri 10, tenké ohraničení
|
||||
- Zmrazení řádku 1, autofilter, šířky sloupců auto (max 55)
|
||||
- Datumy: DD-MMM-YYYY (čas jen pokud != 00:00)
|
||||
|
||||
## Spuštění
|
||||
|
||||
```
|
||||
cd Medidata
|
||||
python create_report_v1.0.py
|
||||
```
|
||||
Reference in New Issue
Block a user