How kouseidm/meditrack works
MediTrack is a Windows Forms attendance system for clinic staff. Its main workflow is staff login, schedule creation, code-based clock-in/out, justification review, and filtered reports or charts. The graph follows the documented three-layer design and includes maintenance and password/session capabilities. Edges are limited to relationships shown in excerpts, the source index, or README; unsampled screens and business modules are represented at their documented paths, without inferred calls.
Main entry points: FormMenuPrincipal.cs Role-based menu · NPersonal.cs Staff and passwords · DPersonal.cs Staff access · NReporte.cs Reports and charts
Components 24
Desktop screens
- Login screen
Presentacion/FormLogin.cs - Role-based menu
Presentacion/FormMenuPrincipal.cs - Clock-in/out
Presentacion/FormMarcarAsistencia.cs - Schedule screen
Presentacion/FormJornada.cs - Justification screen
Presentacion/FormJustificaciones.cs - Report screen
Presentacion/FormReporte.cs - Charts screen
Presentacion/FormGraficos.cs - Maintenance screens
Presentacion
Business rules
- Session and roles
Negocio/NSesion.cs - Staff and passwords
Negocio/NPersonal.cs - Scheduling and attendance
Negocio/NAsistencia.cs - Justification decisions
Negocio/NJustificacion.cs - Reports and charts
Negocio/NReporte.cs - Area rules
Negocio/NArea.cs - Shift rules
Negocio/NTurno.cs
Data access
- Area access
Datos/DArea.cs - Staff access
Datos/DPersonal.cs - Attendance access
Datos/DAsistencia.cs - Justification access
Datos/DJustificacion.cs - Shift access
Datos/DTurno.cs - EF model context
Datos/MediTrackModel.Context.cs
Attendance data model
- EF entities
Datos
Other components
- Staff user
- SQL Server
Connections 40
- Staff user → Login screen: enters credentials
README.md - Login screen → Staff and passwords: validates login
Presentacion/FormLogin.cs - Staff and passwords → Staff access: looks up staff
Negocio/NPersonal.cs - Staff and passwords → Session and roles: sets session
Negocio/NPersonal.cs - Login screen → Role-based menu: opens on success
Presentacion/FormLogin.cs - Role-based menu → Session and roles: checks roles
Presentacion/FormMenuPrincipal.cs - Role-based menu → Maintenance screens: opens
Presentacion/FormMenuPrincipal.cs - Role-based menu → Schedule screen: opens
Presentacion/FormMenuPrincipal.cs - Role-based menu → Clock-in/out: opens
Presentacion/FormMenuPrincipal.cs - Role-based menu → Justification screen: opens
Presentacion/FormMenuPrincipal.cs - Role-based menu → Report screen: opens
Presentacion/FormMenuPrincipal.cs - Role-based menu → Charts screen: opens
Presentacion/FormMenuPrincipal.cs - Clock-in/out → Scheduling and attendance: records punches
Presentacion/FormMarcarAsistencia.cs - Schedule screen → Scheduling and attendance: programs shifts
Presentacion/FormJornada.cs - Justification screen → Justification decisions: reviews requests
Presentacion/FormJustificaciones.cs - Report screen → Reports and charts: requests reports
Presentacion/FormReporte.cs - Charts screen → Reports and charts: requests charts
Presentacion/FormGraficos.cs - Maintenance screens → Area rules: manages areas
Presentacion/FormPersonal.cs - Maintenance screens → Staff and passwords: manages staff
Presentacion/FormPersonal.cs - Maintenance screens → Shift rules: manages shifts
Presentacion/FormPersonal.cs - Scheduling and attendance → Attendance access: reads and writes
Negocio/NAsistencia.cs - Scheduling and attendance → Staff access: looks up staff
Negocio/NAsistencia.cs - Scheduling and attendance → Shift access: reads shifts
Negocio/NAsistencia.cs - Justification decisions → Justification access: reads and writes
Negocio/NJustificacion.cs - Justification decisions → Attendance access: reads attendance
Negocio/NJustificacion.cs - Reports and charts → Attendance access: reads attendance
Negocio/NReporte.cs - Reports and charts → Staff access: reads staff
Negocio/NReporte.cs - Reports and charts → Area access: reads areas
Negocio/NReporte.cs - Reports and charts → Justification access: reads justifications
Negocio/NReporte.cs - Area rules → Area access: manages areas
Negocio/NArea.cs - Area rules → Staff access: checks assignments
Negocio/NArea.cs - Shift rules → Shift access: manages shifts
Negocio/NTurno.cs - Shift rules → Staff access: checks assignments
Negocio/NTurno.cs - Staff and passwords → Staff access: manages staff
Negocio/NPersonal.cs - Staff and passwords → Area access: checks area
Negocio/NPersonal.cs - Staff and passwords → Shift access: checks shift
Negocio/NPersonal.cs - Attendance access → EF model context: uses context
Datos/DAsistencia.cs - Staff access → EF model context: uses context
Datos/DPersonal.cs - EF model context → SQL Server: queries and saves
- EF model context → EF entities: maps entities
Datos/MediTrackModel.Context.cs