Spaces:
Sleeping
Sleeping
eaglelandsonce
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -158,7 +158,12 @@ def generate_services(num_services, primary_keys):
|
|
158 |
return pd.DataFrame({
|
159 |
"PRIMARY_PERSON_KEY": np.random.choice(primary_keys, num_services),
|
160 |
"SERVICE_SETTING": np.random.choice(["OUTPATIENT", "INPATIENT"], num_services),
|
|
|
|
|
161 |
"AMOUNT_BILLED": np.random.uniform(500, 15000, num_services),
|
|
|
|
|
|
|
162 |
})
|
163 |
|
164 |
# Main Streamlit App
|
|
|
158 |
return pd.DataFrame({
|
159 |
"PRIMARY_PERSON_KEY": np.random.choice(primary_keys, num_services),
|
160 |
"SERVICE_SETTING": np.random.choice(["OUTPATIENT", "INPATIENT"], num_services),
|
161 |
+
"PROC_CODE": np.random.randint(1000, 9999, num_services),
|
162 |
+
"SERVICE_DATE": pd.date_range(start="2023-01-01", periods=num_services).to_numpy(),
|
163 |
"AMOUNT_BILLED": np.random.uniform(500, 15000, num_services),
|
164 |
+
"AMOUNT_PAID": np.random.uniform(500, 15000, num_services),
|
165 |
+
"CLAIM_STATUS": np.random.choice(["PAID", "DENIED", "PENDING"], num_services),
|
166 |
+
"RELATION": np.random.choice(["SUBSCRIBER", "DEPENDENT"], num_services),
|
167 |
})
|
168 |
|
169 |
# Main Streamlit App
|