emvecchi commited on
Commit
d00eed5
·
verified ·
1 Parent(s): 4eb55d8

Update annotation_questions.py

Browse files
Files changed (1) hide show
  1. annotation_questions.py +15 -9
annotation_questions.py CHANGED
@@ -71,25 +71,28 @@ Please indicate, in the box below, that you are at least 18 years old, have read
71
  fields0: List[Field] = [
72
  Field(name="patient", type="input_col", title=" "),
73
  Field(type="markdown", title="", mandatory=False, other_params={"use_dialogue_name": True}),
74
- ]
75
 
76
- fields1: List[Field] = [
77
- Field(type="expander", title="**Session Transcription:** *(expand)*", children=[
78
- Field(name="dialogue_name", type="input_col", title=""),
79
- ]),
80
-
81
- Field(type="container", title="##### Session-/Patient-Specific Properties", children=[
82
  Field(name="diagnosis", type="likert_radio",
83
  title="Is there mention of a specific [possible] clinical diagnosis?", other_params={'labels': mentioned_y_n}, mandatory=True),
84
  Field(name="stressor", type="likert_radio",
85
  title="Does the patient mention sources of psychological pressure that contribute to the development or worsening of the patient's state?",
86
  other_params={'labels': mentioned_y_n}, mandatory=True),
87
  ]),
 
 
 
 
 
 
 
 
88
 
 
89
  Field(type="container", title="#### True-To-Patient-Prompt Features", children=[
90
  Field(type="expander", title="**Patient Role Description:** *(expand)*", children=[
91
- Field(name="role_name", type="input_col", title=""),
92
- ]),
93
  Field(name="emotion", type="likert_radio",
94
  title="To what extent did the simulated patient’s emotional expressions (e.g., frustration, sadness, guardedness) align with those expected for this role?",
95
  other_params={"labels": degree_labels}, mandatory=True),
@@ -103,7 +106,9 @@ fields1: List[Field] = [
103
  title="Overall, how closely did the patient reflect real patients in terms of realism, variability, and challenge during the session?",
104
  other_params={"labels": degree_labels}, mandatory=True),
105
  ]),
 
106
 
 
107
  Field(type="container", title="#### Interpersonal therapeutic competence", children=[
108
  Field(name="v_expressiveness", type="likert_radio",
109
  title="**Verbal expressiveness.** How fluent, clear, and confident is the person’s verbal communication (regardless of content)?",
@@ -138,6 +143,7 @@ fields1: List[Field] = [
138
  other_params={'labels': ['Avoiding','Poor','Partial','Productive','Resolving']},
139
  mandatory=True, following_mandatory_values=[1]),
140
  ]),
 
141
 
142
  Field(type="container", title="##### Additional Comments *(optional)*", children=[
143
  Field(name="other_comments", type="text", title="Please provide any additional details or information:", mandatory=False),
 
71
  fields0: List[Field] = [
72
  Field(name="patient", type="input_col", title=" "),
73
  Field(type="markdown", title="", mandatory=False, other_params={"use_dialogue_name": True}),
 
74
 
75
+ ####--- EDIT MARKER: Session-specific properties
76
+ Field(type="container", title="#### Session-Specific Properties", children=[
 
 
 
 
77
  Field(name="diagnosis", type="likert_radio",
78
  title="Is there mention of a specific [possible] clinical diagnosis?", other_params={'labels': mentioned_y_n}, mandatory=True),
79
  Field(name="stressor", type="likert_radio",
80
  title="Does the patient mention sources of psychological pressure that contribute to the development or worsening of the patient's state?",
81
  other_params={'labels': mentioned_y_n}, mandatory=True),
82
  ]),
83
+ ####--- END EDIT MARKER
84
+ ]
85
+
86
+ fields1: List[Field] = [
87
+ Field(name="patient", type="input_col", title=" "),
88
+ Field(type="expander", title="**Session Transcription:** *(expand)*", children=[
89
+ Field(name="dialogue_name", type="input_col", title=""),
90
+ ]),
91
 
92
+ ####--- EDIT MARKER: True-To-Patient Properties
93
  Field(type="container", title="#### True-To-Patient-Prompt Features", children=[
94
  Field(type="expander", title="**Patient Role Description:** *(expand)*", children=[
95
+ Field(name="role_name", type="input_col", title=""),]),
 
96
  Field(name="emotion", type="likert_radio",
97
  title="To what extent did the simulated patient’s emotional expressions (e.g., frustration, sadness, guardedness) align with those expected for this role?",
98
  other_params={"labels": degree_labels}, mandatory=True),
 
106
  title="Overall, how closely did the patient reflect real patients in terms of realism, variability, and challenge during the session?",
107
  other_params={"labels": degree_labels}, mandatory=True),
108
  ]),
109
+ ####--- END EDIT MARKER
110
 
111
+ ####--- EDIT MARKER: Interpersonal therapeutic competence
112
  Field(type="container", title="#### Interpersonal therapeutic competence", children=[
113
  Field(name="v_expressiveness", type="likert_radio",
114
  title="**Verbal expressiveness.** How fluent, clear, and confident is the person’s verbal communication (regardless of content)?",
 
143
  other_params={'labels': ['Avoiding','Poor','Partial','Productive','Resolving']},
144
  mandatory=True, following_mandatory_values=[1]),
145
  ]),
146
+ ####--- END EDIT MARKER
147
 
148
  Field(type="container", title="##### Additional Comments *(optional)*", children=[
149
  Field(name="other_comments", type="text", title="Please provide any additional details or information:", mandatory=False),