Spaces:
Sleeping
Sleeping
Update annotation_questions.py
Browse files- annotation_questions.py +23 -4
annotation_questions.py
CHANGED
|
@@ -79,15 +79,34 @@ fields0: List[Field] = [
|
|
| 79 |
|
| 80 |
|
| 81 |
####--- EDIT MARKER: Session-specific properties
|
| 82 |
-
Field(type="container", title="
|
|
|
|
| 83 |
Field(name="symptom", type="y_n_radio",
|
| 84 |
title="Does the patient explicitly mention **symptoms** related to their psychological state?", other_params={'labels': yes_no_other_labels}, mandatory=True),
|
| 85 |
-
Field(name="symptom_desc", type="text", title="
|
| 86 |
Field(name="stressor", type="y_n_radio",
|
| 87 |
title="Does the patient talk about specific things that are adding psychological pressure or making their mental state worse?",
|
| 88 |
other_params={'labels': yes_no_other_labels}, mandatory=True),
|
| 89 |
-
Field(name="stressor_desc", type="text", title="
|
| 90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
####--- END EDIT MARKER
|
| 92 |
]
|
| 93 |
|
|
|
|
| 79 |
|
| 80 |
|
| 81 |
####--- EDIT MARKER: Session-specific properties
|
| 82 |
+
Field(type="container", title="### Description of Patient During Session", children=[
|
| 83 |
+
Field(type="container", title="##### Patient's State", children=[
|
| 84 |
Field(name="symptom", type="y_n_radio",
|
| 85 |
title="Does the patient explicitly mention **symptoms** related to their psychological state?", other_params={'labels': yes_no_other_labels}, mandatory=True),
|
| 86 |
+
Field(name="symptom_desc", type="text", title="If so, which symptoms?", mandatory=False),
|
| 87 |
Field(name="stressor", type="y_n_radio",
|
| 88 |
title="Does the patient talk about specific things that are adding psychological pressure or making their mental state worse?",
|
| 89 |
other_params={'labels': yes_no_other_labels}, mandatory=True),
|
| 90 |
+
Field(name="stressor_desc", type="text", title="If so, list stressors:", mandatory=False),
|
| 91 |
+
Field(name="trigger", type="y_n_radio",
|
| 92 |
+
title="Does the patient describe a particular event or circumstance (e.g., an argument, job loss, injury, crisis) that led them to come to this appointment?",
|
| 93 |
+
other_params={'labels': yes_no_other_labels}, mandatory=True),
|
| 94 |
+
Field(name="trigger_desc", type="text", title="If so, describe:", mandatory=False),
|
| 95 |
+
]
|
| 96 |
+
Field(type="container", title="##### Conversational Style", children=[
|
| 97 |
+
Field(name="symptom", type="y_n_radio",
|
| 98 |
+
title="Does the patient explicitly mention **symptoms** related to their psychological state?", other_params={'labels': yes_no_other_labels}, mandatory=True),
|
| 99 |
+
Field(name="symptom_desc", type="text", title="If so, which symptoms?", mandatory=False),
|
| 100 |
+
Field(name="stressor", type="y_n_radio",
|
| 101 |
+
title="Does the patient talk about specific things that are adding psychological pressure or making their mental state worse?",
|
| 102 |
+
other_params={'labels': yes_no_other_labels}, mandatory=True),
|
| 103 |
+
Field(name="stressor_desc", type="text", title="If so, list stressors:", mandatory=False),
|
| 104 |
+
Field(name="trigger", type="y_n_radio",
|
| 105 |
+
title="Does the patient describe a particular event or circumstance (e.g., an argument, job loss, injury, crisis) that led them to come to this appointment?",
|
| 106 |
+
other_params={'labels': yes_no_other_labels}, mandatory=True),
|
| 107 |
+
Field(name="trigger_desc", type="text", title="If so, describe:", mandatory=False),
|
| 108 |
+
]
|
| 109 |
+
]),
|
| 110 |
####--- END EDIT MARKER
|
| 111 |
]
|
| 112 |
|