Патч
All checks were successful
Build And Push / publish (push) Successful in 6m24s

This commit is contained in:
2026-02-03 14:34:53 +03:00
parent e2bea46ccd
commit a62c9c2c18
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ name = "HospitalAssistantBackend"
version = "1.0.0"
description = "Backend for Hospital Assistant"
readme = "README.md"
requires-python = ">=3.13"
requires-python = ">=3.13,<3.14"
dependencies = [
# Server
"fastapi==0.116.1",

View File

@ -268,8 +268,8 @@ async def measurement(
serial_number: Annotated[str, Body()],
ekg: UploadFile,
):
vitaId = '109df850-2268-49fb-bb78-2e0f3c57314d'
patient = await c.tdn_api.patient_search(tdn_access_token, vitaId)
# vitaId = '109df850-2268-49fb-bb78-2e0f3c57314d'
patient = await c.tdn_api.patient_search(tdn_access_token, user.vita_id)
patientUid = patient['items'][0]['uid']
observations = await c.tdn_api.observations_search(
tdn_access_token, patientUid