Spaces:
Sleeping
Sleeping
eaglelandsonce
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,10 @@ if st.button("Generate Data"):
|
|
109 |
members_df = generate_members(num_members)
|
110 |
providers_df = generate_providers(num_providers)
|
111 |
services_df = generate_services(num_services, enrollments_df["PRIMARY_PERSON_KEY"].tolist())
|
112 |
-
|
|
|
|
|
|
|
113 |
|
114 |
# Display and download data
|
115 |
st.subheader("Enrollments Data")
|
|
|
109 |
members_df = generate_members(num_members)
|
110 |
providers_df = generate_providers(num_providers)
|
111 |
services_df = generate_services(num_services, enrollments_df["PRIMARY_PERSON_KEY"].tolist())
|
112 |
+
|
113 |
+
# Adjust Breast Cancer Patients to not exceed Members
|
114 |
+
max_breast_cancer_patients = min(num_patients, num_members)
|
115 |
+
breast_cancer_df = generate_breast_cancer_data(members_df, max_breast_cancer_patients)
|
116 |
|
117 |
# Display and download data
|
118 |
st.subheader("Enrollments Data")
|