Business Logic Requirements
Core Entities
- Users: Psychologists (therapists), Administrators
- Patients: Managed by psychologists
- Modules: 10 main development areas
- Activities: Objectives within modules, divided into 3 columns (objective description, specific items/methods, usage techniques)
- Segments: Multiple entries/options within columns 2 and 3 of activities
Key Workflows
For Psychologists
- Select patient
- Choose modules and activities from unified global + expansion layers
- Make selections (personalized patient file - persistent)
- Session state for temporary selections/expansions
- Generate PIP document for download or send to secretariat inbox
For Administrators
- Review expanded activities from psychologists
- Globalize valuable activities to make them available to all
- Clean up unnecessary expansions
- Manage users and rights
System Architecture
- 5-Layer System: Global primary, Global expansion, Patient file, Session structure, Session state
- Expansion: Psychologists can add local activities visible to their patients
- Globalization: Admins promote local activities to global level
- Patient selections persist as patient states in database
- Documents are generated on-the-fly, only sent documents are saved in inbox
Security & Privacy
- Patient data protected, editable only by authorized personnel
- Role-based access (psychologist vs admin)