From 14871279e84874cc89888d4defc1f5e06727678e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lotta=20Skogstr=C3=B6m?= Date: Mon, 30 Mar 2020 15:31:49 +0300 Subject: [PATCH] Add questions about being in contact with healthcare --- backend/src/index.ts | 1 + common/model.ts | 1 + frontend/embed/v1/public/index.html | 11 +++++++++++ infra/modules/main/storage.tf | 1 + 4 files changed, 14 insertions(+) diff --git a/backend/src/index.ts b/backend/src/index.ts index 1e3b7b57..0961573b 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -35,6 +35,7 @@ if (process.argv[0].match(/\/ts-node$/)) { rhinitis: 'no', stomach_issues: 'no', sensory_issues: 'no', + healthcare_contact: 'no', general_wellbeing: 'fine', duration: '1', // or null longterm_medication: 'no', diff --git a/common/model.ts b/common/model.ts index 99727004..3457a7b8 100644 --- a/common/model.ts +++ b/common/model.ts @@ -28,6 +28,7 @@ const responseFields = { rhinitis: yesOrNo, stomach_issues: yesOrNo, sensory_issues: yesOrNo, + healthcare_contact: yesOrNo, general_wellbeing: generalWellbeing, longterm_medication: yesOrNo, smoking: yesOrNo, diff --git a/frontend/embed/v1/public/index.html b/frontend/embed/v1/public/index.html index 33d433cb..beda84af 100644 --- a/frontend/embed/v1/public/index.html +++ b/frontend/embed/v1/public/index.html @@ -142,6 +142,17 @@

Millaisia oireit +
+ + Oletko ollut yhteydessä terveydenhuoltoon oireittesi takia? +
+ + + + +
+

Terveydentila

diff --git a/infra/modules/main/storage.tf b/infra/modules/main/storage.tf index a915abf4..0fb88431 100644 --- a/infra/modules/main/storage.tf +++ b/infra/modules/main/storage.tf @@ -47,6 +47,7 @@ resource "aws_athena_named_query" "create_table" { `rhinitis` string, `stomach_issues` string, `sensory_issues` string, + `healthcare_contact` string, `general_wellbeing` string, `longterm_medication` string, `smoking` string,