How cauaperesadriani/projeto-integrador works
ClinSecure is a Django web platform for managing clinical studies and participant data with role-based access, consent controls, pseudonymization, encryption, and auditability. The main workflow runs from a user request through URL dispatch to application views, which check access and use study records to manage participation and clinical data; consent and data-protection actions form a related participant-facing branch. The README documents capabilities beyond the sampled excerpts; those are represented where the tree supports them, without asserting unsampled call wiring.
Main entry points: views.py Application views · permissions.py Access checks · models.py Studies and participants · urls.py URL dispatch
Components 16
Web entry
- URL dispatch
clinsecure/urls.py - Account routes
accounts/urls.py - Application views
accounts/views.py - Django configuration
clinsecure/settings.py
Identity and access
- Accounts and 2FA
accounts/views.py - Access checks
accounts/permissions.py
Study operations
- Studies and participants
accounts/models.py - Study participation
accounts/models.py - Clinical data
accounts/models.py
Privacy and audit
- Consent lifecycle
accounts/models.py - Protected documents
accounts/models.py - Encryption utilities
accounts/crypto.py - Audit records
accounts/models.py
Other components
- User
- MySQL database
- Brevo email API
Connections 23
- User → URL dispatch: sends request
- URL dispatch → Account routes: includes routes
- Account routes → Application views: dispatches
- Application views → Accounts and 2FA: handles identity
- Application views → Access checks: checks access
- Application views → Studies and participants: manages studies
- Application views → Study participation: manages enrollment
- Application views → Clinical data: records data
- Application views → Consent lifecycle: records consent
- Application views → Protected documents: handles documents
- Application views → Encryption utilities: encrypts data
- Application views → Audit records: creates audit logs
- Access checks → Studies and participants: checks study links
- Access checks → Study participation: checks participation
- Access checks → Protected documents: checks document access
- Clinical data → MySQL database: persists records
- Studies and participants → MySQL database: persists records
- Study participation → MySQL database: persists records
- Consent lifecycle → MySQL database: persists records
- Protected documents → MySQL database: persists metadata
- Audit records → MySQL database: persists logs
- Django configuration → MySQL database: configures connection
- Application views → Brevo email API: sends reset email