mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
feat(mental-health): one check-in pattern for every questionnaire, worded as published
Every instrument now runs the same wizard: the form's own question stem above each item (the PHQ-9 and GAD-7 stems were missing), the item's exact answer options as one radio group in source order, progress, Back, number-key answers, and a review step that lists every answer, lets any of them be changed and is the only step that submits. The result leads with the crisis card when it applies, then shows the score on the instrument's scale, the band, what the band means, the change since the last check-in against the meaningful-change threshold, and the next step. Scoring is untouched. The wording was read against the published versions. German follows the PHQ-D and Löwe's GAD-7 verbatim, including the follow-up question in its published formal address. Spanish, Italian and Polish carry the official PHQ-9 and GAD-7 translations, French the official GAD-7, and the GAD-7 gets its own answer set because the Italian forms word it differently. Where a version could not be matched to a published form (the French PHQ-9, every Korean form) the language now shows the English original. Each locale list names its sources, and spot checks pin the corrected wording.
This commit is contained in:
1 parent
49a999ab94
commit
038f8b10cd
24 files changed
+1398
-435
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$comment": "Production functions over 200 lines, keyed \"file :: name\", and their length. Maintained by src/__tests__/source-size-ratchet.test.ts.",
|
||||
"count": 411,
|
||||
"total": 148369,
|
||||
"total": 148357,
|
||||
"entries": {
|
||||
"app/achievements/page.tsx :: AchievementsPage": 206,
|
||||
"app/api/admin/backups/upload/route.ts :: apiHandler(arg)": 314,
|
||||
@@ -210,8 +210,8 @@
|
||||
"components/medications/wizard/medication-wizard-dialog.tsx :: WizardDialogShell": 516,
|
||||
"components/medications/wizard/steps/step3-dose.tsx :: Step3Dose": 222,
|
||||
"components/medications/wizard/steps/step8-summary.tsx :: Step8Summary": 230,
|
||||
"components/mental-health/check-in-wizard.tsx :: CheckInWizard": 214,
|
||||
"components/mental-health/mental-wellbeing.tsx :: MentalWellbeing": 210,
|
||||
"components/mental-health/check-in-wizard.tsx :: CheckInWizard": 205,
|
||||
"components/mental-health/mental-wellbeing.tsx :: MentalWellbeing": 209,
|
||||
"components/mood/manage/tag-groups-card.tsx :: TagGroupsCard": 256,
|
||||
"components/mood/manage/tag-manager-card.tsx :: TagManagerCard": 270,
|
||||
"components/mood/mood-form.tsx :: MoodForm": 513,
|
||||
|
||||
Reference in new issue
Block a user