This commit is contained in:
@ -3,7 +3,7 @@ name = "HospitalAssistantBackend"
|
|||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
description = "Backend for Hospital Assistant"
|
description = "Backend for Hospital Assistant"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13,<3.14"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
# Server
|
# Server
|
||||||
"fastapi==0.116.1",
|
"fastapi==0.116.1",
|
||||||
|
|||||||
@ -268,8 +268,8 @@ async def measurement(
|
|||||||
serial_number: Annotated[str, Body()],
|
serial_number: Annotated[str, Body()],
|
||||||
ekg: UploadFile,
|
ekg: UploadFile,
|
||||||
):
|
):
|
||||||
vitaId = '109df850-2268-49fb-bb78-2e0f3c57314d'
|
# vitaId = '109df850-2268-49fb-bb78-2e0f3c57314d'
|
||||||
patient = await c.tdn_api.patient_search(tdn_access_token, vitaId)
|
patient = await c.tdn_api.patient_search(tdn_access_token, user.vita_id)
|
||||||
patientUid = patient['items'][0]['uid']
|
patientUid = patient['items'][0]['uid']
|
||||||
observations = await c.tdn_api.observations_search(
|
observations = await c.tdn_api.observations_search(
|
||||||
tdn_access_token, patientUid
|
tdn_access_token, patientUid
|
||||||
|
|||||||
Reference in New Issue
Block a user