User Flows
Login and workspace selection
flowchart TD
A["User opens RenalFlow"] --> B["Sign in or accept invite"]
B --> C{"Authenticated?"}
C -- "No" --> B
C -- "Yes" --> D{"One active workspace?"}
D -- "Yes" --> E["Open dashboard"]
D -- "No" --> F["Choose workspace"]
F --> E
Patient and treatment workflow
flowchart TD
A["Create or open patient"] --> B["Maintain patient profile"]
B --> C["Build schedule entry"]
C --> D["Scheduled dialysis session appears"]
D --> E["Start session"]
E --> F["Record vitals and optional consumption"]
F --> G{"Treatment outcome"}
G -- "Completed" --> H["Complete session"]
G -- "Missed" --> I["Mark missed"]
G -- "Stopped early" --> J["Early terminate"]
B --> K["Add labs, nutrition, notes, vaccines, injections"]
Billing access flow
flowchart TD
A["User opens a protected page"] --> B{"Subscription usable?"}
B -- "Yes" --> C["Page opens"]
B -- "No" --> D["Billing access required screen"]
D --> E{"Center admin?"}
E -- "Yes" --> F["Open Billing and restore access"]
E -- "No" --> G["Sign out or ask an admin"]