Skip to content

Commit 3db85a0

Browse files
Update PHQ-9 form structure and question types
Converted PHQ-2 Score field from obs to a display-only calculated field
1 parent b675736 commit 3db85a0

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

configuration/backend_configuration/ampathforms/Mental Health Assessment Form.json

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"questionOptions": {
1717
"rendering": "markdown"
1818
},
19-
"id": "fooMarkdown",
19+
"id": "phq9Intro",
2020
"value": [
2121
"**PHQ-9 Depression Screening**",
2222
"",
@@ -76,6 +76,7 @@
7676
"questionOptions": {
7777
"rendering": "radio",
7878
"concept": "167006AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
79+
"conceptMappings": [],
7980
"answers": [
8081
{
8182
"concept": "160215AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
@@ -551,25 +552,14 @@
551552
"questions": [
552553
{
553554
"label": "PHQ-2 Score (Questions 1-2)",
554-
"type": "obs",
555+
"type": "display",
555556
"questionOptions": {
556557
"rendering": "number",
557-
"concept": "165137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
558558
"max": "6",
559559
"min": "0",
560560
"calculate": {
561561
"calculateExpression": "calcPHQ9Score(phq2_1, phq2_2)"
562-
},
563-
"conceptMappings": [
564-
{
565-
"type": "SNOMED-CT",
566-
"value": "720433000"
567-
},
568-
{
569-
"type": "CIEL",
570-
"value": "165137"
571-
}
572-
]
562+
}
573563
},
574564
"behaviours": [
575565
{

0 commit comments

Comments
 (0)