This commit is contained in:
@ -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",
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user