How nourhankhal3d/afyatech-architecture works
AfyaTech is a Flutter/Firebase clinic-care architecture implementation. The principal patient workflow is doctor discovery, appointment booking and payment, then live queue tracking with travel-time guidance; clinic staff manage schedules, check-in and consultations. Identity, medical records, notifications, and administrative capabilities support that workflow. The README documents the layered design and intended integrations, but no source excerpts were provided, so edges below reflect documented relationships rather than verified calls in sampled code.
Main entry points: QueueModule Live queue · PaymentModule Payments and refunds · BookingModule Appointment booking · ETAModule Travel-time guidance
Components 20
Patient care
- Doctor discovery
lib/ClinicModule - Appointment booking
lib/BookingModule - Payments and refunds
lib/PaymentModule - Live queue
lib/QueueModule - Travel-time guidance
lib/ETAModule - Medical records
lib/MedicalFileModule
Clinic operations
- Clinic schedules
lib/ClinicModule/Logic/schedule_service.dart - Consultation workflow
lib/MedicalFileModule/Logic/visit_service.dart
Shared platform
- Accounts and verification
lib/IdentityModule - Patient notifications
lib/NotificationModule - Subscriptions and invoices
lib/SubscriptionModule - Cloud Firestore
Administration
- Audit and monitoring
lib/AuditModule - Operational reports
lib/ReportingModule
Other components
- Patient
- Clinic staff
- Administrators
- Payment gateway
- Push and SMS
- Maps service
Connections 19
- Patient → Doctor discovery: searches doctors
README.md - Patient → Appointment booking: books slot
README.md - Patient → Payments and refunds: pays
README.md - Patient → Live queue: tracks turn
README.md - Live queue → Travel-time guidance: guides arrival
README.md - Patient → Medical records: views records
README.md - Clinic staff → Clinic schedules: sets schedule
README.md - Clinic staff → Live queue: checks in
README.md - Clinic staff → Consultation workflow: records visit
README.md - Administrators → Accounts and verification: verifies doctors
README.md - Administrators → Payments and refunds: handles refunds
README.md - Administrators → Audit and monitoring: reads audit logs
README.md - Appointment booking → Cloud Firestore: stores data
README.md - Payments and refunds → Payment gateway: uses adapter
README.md - Patient notifications → Push and SMS: sends alerts
README.md - Travel-time guidance → Maps service: gets travel time
README.md - Accounts and verification → Cloud Firestore: stores data
README.md - Live queue → Cloud Firestore: stores data
README.md - Medical records → Cloud Firestore: stores data
README.md