Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -205,30 +205,31 @@ elif selected_menu == "Annotation Tool":
|
|
205 |
elif selected_menu == "Claim Status Report":
|
206 |
claim_number = st.text_input("Enter the Claim Number")
|
207 |
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
|
|
|
205 |
elif selected_menu == "Claim Status Report":
|
206 |
claim_number = st.text_input("Enter the Claim Number")
|
207 |
|
208 |
+
if claim_number :
|
209 |
+
st.subheader("Claim Attributes:")
|
210 |
+
claim_attributes = get_claim_details()
|
211 |
+
|
212 |
+
for label,value in claim_attributes.items():
|
213 |
+
st.metric(label, value, delta=None, delta_color="normal", help=None)
|
214 |
+
|
215 |
+
st.subheader("Injury Details:")
|
216 |
+
injury_details = get_injury_details()
|
217 |
+
st.write(injury_details)
|
218 |
+
|
219 |
+
|
220 |
+
st.subheader("Injury Severity:")
|
221 |
+
injury_severity = get_injury_severity()
|
222 |
+
st.write(injury_severity)
|
223 |
+
|
224 |
+
st.subheader("Preexisting Conditions:")
|
225 |
+
preexisting_conditions = get_preexisting_conditions()
|
226 |
+
st.write(preexisting_conditions)
|
227 |
+
|
228 |
+
st.subheader("Work Capacity:")
|
229 |
+
work_capacity = get_work_capacity()
|
230 |
+
st.write(work_capacity)
|
231 |
+
|
232 |
+
|
233 |
+
st.subheader("Injury Management Plan:")
|
234 |
+
injury_management_plan = get_injury_management_plan()
|
235 |
+
st.write(injury_management_plan)
|