Добавлен эндпоинт getDiagnosticResults
This commit is contained in:
@ -144,6 +144,16 @@ async def get_hosp_routes():
|
||||
)
|
||||
|
||||
|
||||
@router.get('/getDiagnosticResults')
|
||||
async def get_diagnostic_results():
|
||||
"""
|
||||
Get list of diagnostic results.
|
||||
"""
|
||||
return await c.vitacore_api.getDiagnosticResults(
|
||||
'4867cc79-9805-4ae2-98d3-2f822848635e'
|
||||
)
|
||||
|
||||
|
||||
@router.post('/measurement', status_code=status.HTTP_202_ACCEPTED)
|
||||
async def measurement(
|
||||
user: Annotated[str, Depends(login)],
|
||||
@ -213,11 +223,6 @@ async def get_elns(user: Annotated[str, Depends(login)]):
|
||||
return mock.elns[0]
|
||||
|
||||
|
||||
@router.get('/getDiagnosticResults')
|
||||
async def get_diagnostic_results(user: Annotated[str, Depends(login)]):
|
||||
return mock.diagnosticResults
|
||||
|
||||
|
||||
@router.get('/getPatFLG')
|
||||
async def get_pat_flg(user: Annotated[str, Depends(login)]):
|
||||
return mock.patFLG[0]
|
||||
|
||||
Reference in New Issue
Block a user