How ffreua/neurodoc works
NeuroDoc is a multi-tenant medical-practice platform. A clinician or staff member uses it to manage patients, appointments and clinical encounters, then issues documents and handles billing; patients can also use a public portal to submit requests and exam reports. Major parallel capabilities include exam scheduling, TISS claims, controlled prescriptions through SNCR, AI-assisted work with mandatory physician review, and team messaging. The graph combines README-documented workflows with source-indexed modules; unsampled implementation details are represented at their supported paths, and edges are limited to documented or indexed relationships.
Main entry points: documents Medical documents · tenancy/models.py Tenant and accounts · patients/models.py Patient records · scheduling/models.py Appointments
Components 24
Practice operations
- Exam scheduling
agenda_exames - Appointments
scheduling/models.py - Medical catalogs
catalogs/models.py
Clinical records
- Patient records
patients/models.py - Clinical encounters
clinical
Documents and billing
- Medical documents
documents - Attachment storage
documents/storage.py - SNCR prescriptions
sncr - TISS billing
tiss - Practice finance
finance
Tenant platform
- Tenant and accounts
tenancy/models.py - Roles and permissions
tenancy/permissions.py - Plans and limits
tenancy/plans.py - Audit trail
audit/services.py - Event dispatcher
events/dispatcher.py - Reports and exports
reporting - Sensitive-data logging
base/logging.py
Communications and AI
- Patient communications
communications/models.py - Notifications
notifications - AI assistant
ai - Team chat
teamchat/services.py
Other components
- Clinician and staff
- Patient
- External services
Connections 32
- Clinician and staff → Tenant and accounts: signs in
- Tenant and accounts → Roles and permissions: scopes access
tenancy/permissions.py - Patient → Patient records: registers with clinic
- Clinician and staff → Appointments: manages schedule
- Appointments → Patient records: associates patient
- Clinician and staff → Clinical encounters: records care
- Clinical encounters → Patient records: records in
- Clinician and staff → Exam scheduling: schedules exams
- Clinician and staff → Medical catalogs: uses catalogs
- Clinician and staff → Medical documents: issues documents
- Medical documents → Attachment storage: stores attachments
documents/storage.py - Medical documents → External services: signs PAdES
- Medical documents → SNCR prescriptions: issues controlled prescriptions
- SNCR prescriptions → External services: checks prescriptions
- Clinician and staff → TISS billing: submits claims
- TISS billing → External services: validates ANS format
- Clinician and staff → Practice finance: manages payments
- Appointments → Event dispatcher: publishes schedule events
- Event dispatcher → Patient communications: dispatches appointment events
- Patient communications → External services: sends email and SMS
- Patient → Medical documents: requests through portal
- Patient → Attachment storage: uploads exam reports
- Clinician and staff → AI assistant: requests assistance
- AI assistant → External services: calls configured provider
- AI assistant → Clinician and staff: returns for review
- Clinician and staff → Team chat: messages colleagues
- Clinician and staff → Reports and exports: exports practice data
- Tenant and accounts → Plans and limits: selects plan
tenancy/models.py - Plans and limits → Roles and permissions: limits capabilities
tenancy/permissions.py - Tenant and accounts → Audit trail: records acceptance
tenancy/services.py - Clinician and staff → Audit trail: creates audit events
- Patient records → Sensitive-data logging: protects diagnostic output