Sasidhar commited on
Commit
cf3ff16
·
1 Parent(s): e17ace8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +28 -27
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
- st.subheader("Claim Attributes:")
209
- claim_attributes = get_claim_details()
210
-
211
- for label,value in claim_attributes.items():
212
- st.metric(label, value, delta=None, delta_color="normal", help=None)
213
-
214
- st.subheader("Injury Details:")
215
- injury_details = get_injury_details()
216
- st.write(injury_details)
217
-
218
-
219
- st.subheader("Injury Severity:")
220
- injury_severity = get_injury_severity()
221
- st.write(injury_severity)
222
-
223
- st.subheader("Preexisting Conditions:")
224
- preexisting_conditions = get_preexisting_conditions()
225
- st.write(preexisting_conditions)
226
-
227
- st.subheader("Work Capacity:")
228
- work_capacity = get_work_capacity()
229
- st.write(work_capacity)
230
-
231
-
232
- st.subheader("Injury Management Plan:")
233
- injury_management_plan = get_injury_management_plan()
234
- st.write(injury_management_plan)
 
 
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)