База для ручки PostUserMedicationsExecutor.h

This commit is contained in:
2026-01-10 13:32:44 +03:00
parent a4d5384fd3
commit 8eb44b6e45
8 changed files with 119 additions and 48 deletions
+3 -23
View File
@@ -193,27 +193,7 @@ null
"dream_level": 6,
"anxiety_level": 7,
"comment": "Накрыл психоз. Выпил одну таблетку аминазина"
"treatment_scheme": {
"uuid": "bf6d1555-39e9-4d73-8928-4763627f4dd5",
"treatment_name": "Bipolar I Scheme",
"instructions": "Контроль лития в крови раз в 2 месяца. Анализ крови через вену."
"medications": [
{
"uuid": "9bf2dfa9-3add-413c-9a0e-ff605088f1d5",
name: "Haloperidol",
dose: 10
unit: "mg",
"is_urgent": false
},
{
"uuid": "8af2dfa9-3add-413c-9a0e-ff605088f1d5",
"name": "Litii Carbonate",
"dose": 1800,
"unit": "mg",
"is_urgent": false
}
]
}
"treatment_scheme_uuid": bf6d1555-39e9-4d73-8928-4763627f4dd5
}
]
}
@@ -225,11 +205,11 @@ null
##### Response - 200 - OK
```
{
"treatment_schemes": [
"user_treatment_schemes": [
{
"uuid": "248313cb-a75e-4331-8379-d3f2fc36b68d"
"treatment_name": "Bipolar I Scheme Urgent",
"instructions": "Схема для бытрого и жесткого купирования психозов. Аминазин пить каждый день.",
"instructions": "Схема для быстрого и жесткого купирования психозов. Аминазин пить каждый день.",
"medications": [
{
"uuid": "eda5a5f7-167a-44b9-900d-c5c6acfc249b",