Skip to content

Commit

Permalink
110 questionnaire updates (#111)
Browse files Browse the repository at this point in the history
* feat: modified questionnaires

* feat: update plt version 2 with correct version
  • Loading branch information
nicoalee authored May 27, 2024
1 parent 3309870 commit 8e5b7c8
Show file tree
Hide file tree
Showing 10 changed files with 2,367 additions and 12 deletions.
20 changes: 19 additions & 1 deletion populate-scripts/insert-db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,25 @@ INSERT INTO tasks (id, from_platform, task_type, name, description, external_url
NULL,
"PSHARPLAB",
"QUESTIONNAIRE",
"Geriatric Depression Scale - Short Form",
"Modified: General Health Questionnaire",
"",
"",
'{}'
),
(
NULL,
"PSHARPLAB",
"QUESTIONNAIRE",
"Demographic and socioeconomic questionnaire",
"",
"",
'{}'
),
(
NULL,
"PSHARPLAB",
"QUESTIONNAIRE",
"Parkinson Clinical and Medication Questionnaire",
"",
"",
'{}'
Expand Down
4 changes: 2 additions & 2 deletions populate-scripts/update/11-demographics-questionnaire.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
UPDATE tasks set
from_platform = "PSHARPLAB",
task_type = "QUESTIONNAIRE",
name = "Demographics Questionnaire",
description = "Demographics questionnaire without SES questions",
name = "[ARCHIVED] Demographics Questionnaire",
description = "Demographics questionnaire without SES questions. This should no longer be used.",
external_url = "",
config = '{
"taskConfig": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
UPDATE tasks SET
from_platform = "PSHARPLAB",
task_type = "QUESTIONNAIRE",
name = "Demographics Questionnaire With SES",
description = "",
name = "[ARCHIVED] Demographics Questionnaire With SES",
description = "This should no logner be used.",
external_url = "",
config = '{
"taskConfig": {},
Expand Down
4 changes: 2 additions & 2 deletions populate-scripts/update/43-basic-background-questionnaire.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
UPDATE tasks SET
from_platform = "PSHARPLAB",
task_type = "QUESTIONNAIRE",
name = "Basic Background Questionnaire",
description = "Basic Background Questionnaire",
name = "[ARCHIVED] Basic Background Questionnaire",
description = "Basic Background Questionnaire. This should no longer be used.",
external_url = "",
config = '{
"taskConfig": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
UPDATE tasks SET
from_platform = "PSHARPLAB",
task_type = "QUESTIONNAIRE",
name = "Parkinson's treatment Questionnaire",
description = "Parkinson's treatment Questionnaire",
name = "[ARCHIVED] Parkinson's treatment Questionnaire",
description = "Parkinson's treatment Questionnaire. This should no longer be used.",
external_url = "",
config = '{
"taskConfig": {},
Expand Down
4 changes: 2 additions & 2 deletions populate-scripts/update/45-general-health-questionnaire.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
UPDATE tasks SET
from_platform = "PSHARPLAB",
task_type = "QUESTIONNAIRE",
name = "General Health Questionnaire",
description = "General Health Questionnaire",
name = "[ARCHIVED] General Health Questionnaire",
description = "General Health Questionnaire. This should no longer be used.",
external_url = "",
config = '{
"taskConfig": {},
Expand Down
2 changes: 1 addition & 1 deletion populate-scripts/update/65-plt-version-2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ UPDATE tasks SET
external_url = "",
config = '{
"taskConfig": {
"version": 1
"version": 2
},
"metadata": [
{
Expand Down
1,040 changes: 1,040 additions & 0 deletions populate-scripts/update/89-modified-general-health-questionnaire.sql

Large diffs are not rendered by default.

Loading

0 comments on commit 8e5b7c8

Please sign in to comment.