Добавлен эндпоинт getMedExamDict

This commit is contained in:
2025-09-30 10:42:38 +03:00
parent 365d6b1696
commit eff590df2b
3 changed files with 62 additions and 5 deletions

View File

@ -75,6 +75,14 @@ async def get_vaccs_report():
)
@router.get('/getMedExamDict')
async def get_med_exam_dict():
"""
Get medical examination dictionary.
"""
return await c.vitacore_api.getMedExamDict()
@router.post('/measurement', status_code=status.HTTP_202_ACCEPTED)
async def measurement(
user: Annotated[str, Depends(login)],
@ -169,11 +177,6 @@ async def get_routes_list(user: Annotated[str, Depends(login)]):
return mock.routesList[0]
@router.get('/getMedExamDict')
async def get_med_exam_dict(user: Annotated[str, Depends(login)]):
return mock.medexamDict
@router.get('/getHospRecommendations')
async def get_hosp_recommendations(user: Annotated[str, Depends(login)]):
return mock.hospRecommendations