emvecchi commited on
Commit
43a83a3
·
verified ·
1 Parent(s): f8071d0

Update annotation_questions.py

Browse files
Files changed (1) hide show
  1. annotation_questions.py +8 -6
annotation_questions.py CHANGED
@@ -79,7 +79,11 @@ fields0: List[Field] = [
79
 
80
 
81
  ####--- EDIT MARKER: Session-specific properties
82
- Field(type="container", title="### Description of Patient During Session", children=[
 
 
 
 
83
  Field(type="container", title="##### Presentation of Patient's Psychological 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),
@@ -92,7 +96,7 @@ fields0: List[Field] = [
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),
@@ -105,7 +109,7 @@ fields0: List[Field] = [
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
  Field(type="container", title="##### Behavioral & Pragmatic Properties", children=[
110
  Field(name="symptom", type="y_n_radio",
111
  title="Does the patient explicitly mention **symptoms** related to their psychological state?", other_params={'labels': yes_no_other_labels}, mandatory=True),
@@ -118,7 +122,7 @@ fields0: List[Field] = [
118
  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?",
119
  other_params={'labels': yes_no_other_labels}, mandatory=True),
120
  Field(name="trigger_desc", type="text", title="If so, describe:", mandatory=False),
121
- ]
122
  ]),
123
  ####--- END EDIT MARKER
124
  ]
@@ -133,8 +137,6 @@ fields1: List[Field] = [
133
 
134
  ####--- EDIT MARKER: True-To-Patient Properties
135
  Field(type="container", title="#### True-To-Patient-Prompt Features", children=[
136
- # Field(type="expander", title="**Patient Role Description:** *(expand)*", children=[
137
- # Field(name="role_name", type="input_col", title=""),]),
138
  Field(name="emotion", type="likert_radio",
139
  title="To what extent did the simulated patient’s emotional expressions (e.g., frustration, sadness, guardedness) align with those expected for this role?",
140
  other_params={"labels": degree_labels}, mandatory=True),
 
79
 
80
 
81
  ####--- EDIT MARKER: Session-specific properties
82
+ Field(type="markdown", title="", mandatory=False, other_params={
83
+ "instruction_content": True,
84
+ "content": "### Overview of Patient in Therapy Session"
85
+ },),
86
+
87
  Field(type="container", title="##### Presentation of Patient's Psychological State", children=[
88
  Field(name="symptom", type="y_n_radio",
89
  title="Does the patient explicitly mention **symptoms** related to their psychological state?", other_params={'labels': yes_no_other_labels}, mandatory=True),
 
96
  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?",
97
  other_params={'labels': yes_no_other_labels}, mandatory=True),
98
  Field(name="trigger_desc", type="text", title="If so, describe:", mandatory=False),
99
+ ]),
100
  Field(type="container", title="##### Conversational Style", children=[
101
  Field(name="symptom", type="y_n_radio",
102
  title="Does the patient explicitly mention **symptoms** related to their psychological state?", other_params={'labels': yes_no_other_labels}, mandatory=True),
 
109
  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?",
110
  other_params={'labels': yes_no_other_labels}, mandatory=True),
111
  Field(name="trigger_desc", type="text", title="If so, describe:", mandatory=False),
112
+ ]),
113
  Field(type="container", title="##### Behavioral & Pragmatic Properties", children=[
114
  Field(name="symptom", type="y_n_radio",
115
  title="Does the patient explicitly mention **symptoms** related to their psychological state?", other_params={'labels': yes_no_other_labels}, mandatory=True),
 
122
  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?",
123
  other_params={'labels': yes_no_other_labels}, mandatory=True),
124
  Field(name="trigger_desc", type="text", title="If so, describe:", mandatory=False),
125
+ ]),
126
  ]),
127
  ####--- END EDIT MARKER
128
  ]
 
137
 
138
  ####--- EDIT MARKER: True-To-Patient Properties
139
  Field(type="container", title="#### True-To-Patient-Prompt Features", children=[
 
 
140
  Field(name="emotion", type="likert_radio",
141
  title="To what extent did the simulated patient’s emotional expressions (e.g., frustration, sadness, guardedness) align with those expected for this role?",
142
  other_params={"labels": degree_labels}, mandatory=True),