Ali2206 commited on
Commit
5d53819
·
verified ·
1 Parent(s): a5b05f4

Update api/routes/patients.py

Browse files
Files changed (1) hide show
  1. api/routes/patients.py +1 -1
api/routes/patients.py CHANGED
@@ -33,7 +33,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent.parent
33
  SYNTHEA_DATA_DIR = BASE_DIR / "output" / "fhir"
34
  os.makedirs(SYNTHEA_DATA_DIR, exist_ok=True)
35
 
36
- @router.post("/ehr/patients", status_code=status.HTTP_201_CREATED)
37
  async def create_patient_ehr(
38
  patient_data: PatientCreate,
39
  current_user: dict = Depends(get_current_user)
 
33
  SYNTHEA_DATA_DIR = BASE_DIR / "output" / "fhir"
34
  os.makedirs(SYNTHEA_DATA_DIR, exist_ok=True)
35
 
36
+ @router.post("/ehr/patients/add", status_code=status.HTTP_201_CREATED)
37
  async def create_patient_ehr(
38
  patient_data: PatientCreate,
39
  current_user: dict = Depends(get_current_user)