| """ | |
| SeniorCare Intelligence Engine | |
| ================================ | |
| A multi-persona AI-driven platform for senior care facilities. | |
| Personas: | |
| - CareGiver (Clinical Shift View) | |
| - Family / POA Portal | |
| - Facility Executive | |
| - Lab Administrator | |
| All data is synthetic. No real PHI/PII is used. | |
| """ | |
| import streamlit as st | |
| from config import APP_NAME, APP_ICON, LAYOUT | |
| from utils.styles import get_global_css | |
| from components.sidebar import render_sidebar | |
| from views import caregiver, family_portal, executive, lab_admin | |
| # --- PAGE CONFIG --- | |
| st.set_page_config( | |
| page_title=APP_NAME, | |
| page_icon=APP_ICON, | |
| layout=LAYOUT, | |
| initial_sidebar_state="expanded", | |
| ) | |
| # --- INJECT GLOBAL CSS --- | |
| st.markdown(get_global_css(), unsafe_allow_html=True) | |
| # --- SIDEBAR & PERSONA ROUTING --- | |
| persona_key = render_sidebar() | |
| # --- RENDER ACTIVE PERSONA VIEW --- | |
| if persona_key == "caregiver": | |
| caregiver.render() | |
| elif persona_key == "family": | |
| family_portal.render() | |
| elif persona_key == "executive": | |
| executive.render() | |
| elif persona_key == "lab_admin": | |
| lab_admin.render() | |
| # --- FOOTER --- | |
| st.divider() | |
| st.caption( | |
| f"{APP_NAME} | Founding Technical Strategy Prototype | " | |
| "HIPAA-Safe Simulated Environment | All data is synthetic" | |
| ) | |