Ali2206 commited on
Commit
0c207c3
·
verified ·
1 Parent(s): efde48c

Update api/routes/patients.py

Browse files
Files changed (1) hide show
  1. api/routes/patients.py +6 -1
api/routes/patients.py CHANGED
@@ -16,6 +16,8 @@ import glob
16
  import uuid
17
  import re
18
  import logging
 
 
19
 
20
  # Configure logging
21
  logging.basicConfig(
@@ -460,4 +462,7 @@ async def add_note(
460
  raise HTTPException(
461
  status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
462
  detail=f"Failed to add note: {str(e)}"
463
- )
 
 
 
 
16
  import uuid
17
  import re
18
  import logging
19
+ import time
20
+ import os
21
 
22
  # Configure logging
23
  logging.basicConfig(
 
462
  raise HTTPException(
463
  status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
464
  detail=f"Failed to add note: {str(e)}"
465
+ )
466
+
467
+ # Export the router as 'patients' for api.__init__.py
468
+ patients = router