Spaces:
Sleeping
Sleeping
Xiaosu Hu
commited on
Commit
·
b9a49e3
1
Parent(s):
e4cc30b
update: some tests were not but not working
Browse files- paintrek-chat-v2.ipynb +51 -2
paintrek-chat-v2.ipynb
CHANGED
@@ -132,11 +132,60 @@
|
|
132 |
},
|
133 |
{
|
134 |
"cell_type": "code",
|
135 |
-
"execution_count":
|
136 |
"metadata": {
|
137 |
"trusted": true
|
138 |
},
|
139 |
-
"outputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
"source": [
|
141 |
"state[\"data\"]"
|
142 |
]
|
|
|
132 |
},
|
133 |
{
|
134 |
"cell_type": "code",
|
135 |
+
"execution_count": 4,
|
136 |
"metadata": {
|
137 |
"trusted": true
|
138 |
},
|
139 |
+
"outputs": [
|
140 |
+
{
|
141 |
+
"data": {
|
142 |
+
"text/plain": [
|
143 |
+
"{'ID': {'name': '',\n",
|
144 |
+
" 'DOB': datetime.date(1900, 1, 1),\n",
|
145 |
+
" 'gender': '',\n",
|
146 |
+
" 'contact': '',\n",
|
147 |
+
" 'emergency_contact': ''},\n",
|
148 |
+
" 'symptom': {'main_symptom': '', 'symptom_length': ''},\n",
|
149 |
+
" 'pain': {'pain_location': '',\n",
|
150 |
+
" 'pain_side': '',\n",
|
151 |
+
" 'pain_intensity': 0,\n",
|
152 |
+
" 'pain_description': '',\n",
|
153 |
+
" 'start_time': datetime.date(1900, 1, 1),\n",
|
154 |
+
" 'radiation': False,\n",
|
155 |
+
" 'triggers': '',\n",
|
156 |
+
" 'symptom': ''},\n",
|
157 |
+
" 'medical_hist': {'medical_condition': '',\n",
|
158 |
+
" 'first_time': datetime.date(1900, 1, 1),\n",
|
159 |
+
" 'surgery_history': '',\n",
|
160 |
+
" 'medication': '',\n",
|
161 |
+
" 'allergy': ''},\n",
|
162 |
+
" 'family_hist': {'family_history': ''},\n",
|
163 |
+
" 'social_hist': {'occupation': '',\n",
|
164 |
+
" 'smoke': False,\n",
|
165 |
+
" 'alcohol': False,\n",
|
166 |
+
" 'drug': False,\n",
|
167 |
+
" 'support_system': '',\n",
|
168 |
+
" 'living_condition': ''},\n",
|
169 |
+
" 'review_system': {'weight_change': '',\n",
|
170 |
+
" 'fever': False,\n",
|
171 |
+
" 'chill': False,\n",
|
172 |
+
" 'night_sweats': False,\n",
|
173 |
+
" 'sleep': '',\n",
|
174 |
+
" 'gastrointestinal': '',\n",
|
175 |
+
" 'urinary': ''},\n",
|
176 |
+
" 'pain_manage': {'pain_medication': '',\n",
|
177 |
+
" 'specialist': False,\n",
|
178 |
+
" 'other_therapy': '',\n",
|
179 |
+
" 'effectiveness': False},\n",
|
180 |
+
" 'functional': {'life_quality': '', 'limit_activity': '', 'mood': ''},\n",
|
181 |
+
" 'plan': {'goal': '', 'expectation': '', 'alternative_treatment': ''}}"
|
182 |
+
]
|
183 |
+
},
|
184 |
+
"execution_count": 4,
|
185 |
+
"metadata": {},
|
186 |
+
"output_type": "execute_result"
|
187 |
+
}
|
188 |
+
],
|
189 |
"source": [
|
190 |
"state[\"data\"]"
|
191 |
]
|