feat(web): two-stage questionnaires, screening result and diary by result
- Sign-in: centred ЕМИАС card without the sidebar; anonymous entry asks «Депрессия / ПТСР».
- Stage 1 is the same for everyone and follows the fixed order of the MVP questionnaire:
PHQ-2 → trauma filter/TSQ → RUS-AUDIT-S → C-SSRS → context; stage 2 only where stage 1
is positive. Starts without a profile.
- After stage 1 the patient sees a preliminary result (screening, not a diagnosis), stored
with the record; it switches on the diary modules (depression / PTSD).
- Stage 2 diary: morning (sleep, sleep quality, alcohol) and evening (mood, medication,
3 PHQ-9 items in rotation, short PCL-5); C-SSRS since last contact only under risk;
flags on weekly means against the personal norm; scheduled full scales with change
(remission, response, worsening).
- Questionnaire log: GET /me/{token}/results and the «Мои результаты» screen.
- Questionnaires centred without the sidebar and without scale names; «Продолжить позже»
goes home; confirmations are toasts; free-text comments are optional.
- Demo policy config/questionnaire_demo.yaml (INTAKE_DEMO only, not a clinical approval).
ADR-012.
Refs #77
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,17 +1,27 @@
|
||||
version: intake-v2-2026-10-03
|
||||
version: intake-v3-2026-10-04
|
||||
enabled: false
|
||||
approval: null
|
||||
# Release decisions cover texts, diary anchors/thresholds, schedules and contact readiness.
|
||||
content_review: null
|
||||
contact_review: null
|
||||
timezone: Europe/Moscow
|
||||
daily_hour: 19
|
||||
mood_baseline_days: 7
|
||||
mood_bad_days: 3
|
||||
mood_drop: 3
|
||||
sleep_bad_days: 3
|
||||
# Stage 2 diary («Этап 2: наблюдение после диагноза»): morning block after waking, evening block at 20:00.
|
||||
morning_hour: 8
|
||||
evening_hour: 20
|
||||
# Personal norm = the first `norm_days` of observation; compared with the mean of the last `week_days`.
|
||||
# Flag numbers are the team's candidates (PDF «Этап 2», p.4) — agree with the doctor.
|
||||
norm_days: 14
|
||||
week_days: 7
|
||||
min_norm_values: 7
|
||||
min_week_values: 4
|
||||
mood_drop: 3 # weekly mood mean fell ≥3 below the norm → unscheduled PHQ-9
|
||||
depression_item_rise: 1.0 # weekly mean of a PHQ-9 diary item rose ≥1 above its norm → PHQ-9 earlier
|
||||
ptsd_sum_rise: 3.0 # weekly mean of the 4-item PCL-5 sum rose ≥3 above the norm → PCL-5 earlier
|
||||
sleep_bad_days: 3 # <4 h or «очень плохо» three nights in a row → flag to the doctor
|
||||
sleep_hours_below: 4
|
||||
nightmares_at: 3
|
||||
alcohol_heavy_portions: 6 # ≥6 standard drinks a day = heavy day (volumes of RUS-AUDIT item 3)
|
||||
alcohol_heavy_days: 2 # heavy days in a week → full RUS-AUDIT
|
||||
adherence_below: 0.8 # share of days with medication taken over a week
|
||||
missed_medication_days: 3
|
||||
high_risk_silence_days: 2
|
||||
medication_days: [7, 14, 28]
|
||||
|
||||
Reference in New Issue
Block a user