Spaces:
Sleeping
Sleeping
Update api/routes/patients.py
Browse files- api/routes/patients.py +1 -1
api/routes/patients.py
CHANGED
|
@@ -35,7 +35,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent.parent
|
|
| 35 |
SYNTHEA_DATA_DIR = BASE_DIR / "output" / "fhir"
|
| 36 |
os.makedirs(SYNTHEA_DATA_DIR, exist_ok=True)
|
| 37 |
|
| 38 |
-
@router.post("/", status_code=status.HTTP_201_CREATED)
|
| 39 |
async def create_patient(
|
| 40 |
patient_data: PatientCreate,
|
| 41 |
current_user: dict = Depends(get_current_user)
|
|
|
|
| 35 |
SYNTHEA_DATA_DIR = BASE_DIR / "output" / "fhir"
|
| 36 |
os.makedirs(SYNTHEA_DATA_DIR, exist_ok=True)
|
| 37 |
|
| 38 |
+
@router.post("/patients", status_code=status.HTTP_201_CREATED)
|
| 39 |
async def create_patient(
|
| 40 |
patient_data: PatientCreate,
|
| 41 |
current_user: dict = Depends(get_current_user)
|