emvecchi commited on
Commit
bf48cea
·
verified ·
1 Parent(s): cd41a42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -126,13 +126,13 @@ fields: List[Field] = [
126
  Field(name="dialogue_name", type="input_col", title=""),
127
  ]),
128
 
129
- # Field(type="container", title="##### Session-/Patient-Specific Properties", children=[
130
- # Field(name="diagnosis", type="likert_radio",
131
- # title="Is there mention of a specific [possible] clinical diagnosis?", other_params={'labels': mentioned_y_n}, mandatory=True),
132
- # Field(name="stressor", type="likert_radio",
133
- # title="Does the patient mention sources of psychological pressure that contribute to the development or worsening of the patient's state?",
134
- # other_params={'labels': mentioned_y_n}, mandatory=True),
135
- # ]),
136
 
137
  Field(type="container", title="#### Rupture Markers", children=[
138
  Field(type="expander", title="**Overview of rupture markers** *(expand)*", children=[
@@ -195,9 +195,9 @@ fields: List[Field] = [
195
  mandatory=True, following_mandatory_values=[1]),
196
  ]),
197
 
198
- # Field(type="container", title="##### Additional Comments *(optional)*", children=[
199
- # Field(name="other_comments", type="text", title="Please provide any additional details or information:", mandatory=False),
200
- # ]),
201
  ]
202
  url_conditional_fields = [
203
  Field(name="skip", type="skip_checkbox",
 
126
  Field(name="dialogue_name", type="input_col", title=""),
127
  ]),
128
 
129
+ Field(type="container", title="##### Session-/Patient-Specific Properties", children=[
130
+ Field(name="diagnosis", type="likert_radio",
131
+ title="Is there mention of a specific [possible] clinical diagnosis?", other_params={'labels': mentioned_y_n}, mandatory=True),
132
+ Field(name="stressor", type="likert_radio",
133
+ title="Does the patient mention sources of psychological pressure that contribute to the development or worsening of the patient's state?",
134
+ other_params={'labels': mentioned_y_n}, mandatory=True),
135
+ ]),
136
 
137
  Field(type="container", title="#### Rupture Markers", children=[
138
  Field(type="expander", title="**Overview of rupture markers** *(expand)*", children=[
 
195
  mandatory=True, following_mandatory_values=[1]),
196
  ]),
197
 
198
+ Field(type="container", title="##### Additional Comments *(optional)*", children=[
199
+ Field(name="other_comments", type="text", title="Please provide any additional details or information:", mandatory=False),
200
+ ]),
201
  ]
202
  url_conditional_fields = [
203
  Field(name="skip", type="skip_checkbox",