added extra page

This commit is contained in:
bolade
2025-11-24 19:37:28 +01:00
parent 580ad5d248
commit 8e8280bcb0
11 changed files with 1073 additions and 61 deletions
+2
View File
@@ -233,6 +233,7 @@ async def upload_files(
str(pnoe_path),
str(spirometry_csv_path),
None, # No SECA file needed anymore
str(oxygenation_path) if oxygenation_path else None, # Oxygenation CSV
)
# Set patient info manually since we're not reading from SECA
weight_kg = float(weight.replace("lbs", "").replace("kg", "").strip())
@@ -442,6 +443,7 @@ async def edit_metrics(request: Request):
str(pnoe_path),
spirometry_csv_path,
None, # No SECA file
str(oxygenation_path) if oxygenation_path else None, # Oxygenation CSV
)
# Set patient info manually
weight_str = patient_info.get("weight", "0")