Platform and tenant modules represented in the appendix.
Docs Coverage
Generated mapping from docs pages back to routes, Blade views, requests, tests, and supporting implementation files.
Route files mapped to documentation pages.
Blade view files tied into docs coverage.
Tests connected to the product areas they validate.
Platform And Clinics
4 mapped route file(s).
9 mapped Blade file(s).
0 mapped request file(s).
4 mapped test file(s).
routes/auth.phproutes/platform.phproutes/self-serve.phproutes/web.php
resources/views/includes/admin/aside.blade.phpresources/views/platform/clinics/index.blade.phpresources/views/platform/clinics/lifecycle.blade.phpresources/views/platform/clinics/memberships.blade.phpresources/views/platform/clinics/onboarding.blade.phpresources/views/platform/commercial/index.blade.phpresources/views/platform/health/index.blade.phpresources/views/platform/invites/accept.blade.phpresources/views/platform/operations/index.blade.php
tests/Feature/MultiClinicPlatformTest.phptests/Feature/PlatformExpansionTest.phptests/Feature/PlatformOperationsTest.phptests/Feature/SaaSExpansionTest.php
app/Http/Controllers/Platform/AuditExportController.phpapp/Http/Controllers/Platform/ClinicController.phpapp/Http/Controllers/Platform/ClinicInviteAcceptanceController.phpapp/Http/Controllers/Platform/ClinicLifecycleController.phpapp/Http/Controllers/Platform/ClinicMembershipController.phpapp/Http/Controllers/Platform/ClinicOnboardingController.phpapp/Http/Controllers/Platform/CommercialController.phpapp/Http/Controllers/Platform/PlatformHealthController.phpapp/Http/Controllers/Platform/PlatformOperationsController.phpapp/Http/Controllers/PublicSite/OwnerOnboardingController.phpapp/Http/Controllers/PublicSite/SelfServeSignupController.phpapp/Http/Controllers/PublicSite/SsoController.phpapp/Http/Middleware/EnforcePlatformAccessPolicies.phpapp/Http/Middleware/RequireSelectedClinic.phpapp/Models/OwnerOnboardingSession.phpapp/Models/SignupIntent.phpapp/Models/SsoIdentity.phpapp/Models/Tenant.phpapp/Services/Tenancy/ClinicContextService.phpapp/Services/Tenancy/ClinicMembershipService.phpapp/Services/Tenancy/ClinicProvisioningService.phpapp/Services/Tenancy/ClinicRepairService.phpapp/Services/Tenancy/ClinicUpgradeService.phpapp/Services/Tenancy/DemoClinicSeederService.phpapp/Services/Tenancy/MigrationStateRepairService.phpapp/Services/Tenancy/PlatformHealthService.phpapp/Services/Tenancy/PlatformHealthSnapshotService.phpconfig/identity.phpconfig/tenancy.phpdatabase/migrations/2026_06_28_140100_create_tenants_table.phpdatabase/migrations/2026_06_28_140200_create_domains_table.phpdatabase/migrations/2026_06_28_140300_create_clinic_memberships_table.phpdatabase/migrations/2026_06_28_140400_create_clinic_provisioning_records_table.phpdatabase/migrations/2026_06_28_140500_create_platform_admin_access_table.phpdatabase/migrations/2026_06_28_140600_add_global_user_id_to_users_table.phpdatabase/migrations/2026_06_28_140700_seed_platform_clinic_permissions.phpdatabase/migrations/2026_06_28_170000_create_self_serve_and_enterprise_tables.php
Authentication And Account
2 mapped route file(s).
13 mapped Blade file(s).
3 mapped request file(s).
3 mapped test file(s).
routes/auth.phproutes/self-serve.php
resources/views/auth/2fa/challenge.blade.phpresources/views/auth/2fa/settings.blade.phpresources/views/auth/banned.blade.phpresources/views/auth/forgot-password.blade.phpresources/views/auth/locked.blade.phpresources/views/auth/login.blade.phpresources/views/auth/otp.blade.phpresources/views/auth/reset-password.blade.phpresources/views/auth/suspended.blade.phpresources/views/auth/verification-notice.blade.phpresources/views/public/owner-onboarding.blade.phpresources/views/public/plans.blade.phpresources/views/public/signup.blade.php
app/Http/Requests/ProfilePasswordUpdateRequest.phpapp/Http/Requests/ProfileUpdateRequest.phpapp/Http/Requests/UpdatePasswordRequest.php
tests/Feature/AuthForcedPasswordChangeTest.phptests/Feature/ProfileModuleTest.phptests/Feature/SaaSExpansionTest.php
app/Http/Controllers/PublicSite/OwnerOnboardingController.phpapp/Http/Controllers/PublicSite/SelfServeSignupController.phpapp/Http/Controllers/PublicSite/SsoController.phpapp/Models/OwnerOnboardingSession.phpapp/Models/SignupIntent.phpapp/Models/SsoIdentity.phpapp/Services/Auth/AuthService.phpapp/Services/Identity/AbstractOAuthProvider.phpapp/Services/Identity/Contracts/SsoProvider.phpapp/Services/Identity/Data/SsoUserData.phpapp/Services/Identity/GoogleSsoProvider.phpapp/Services/Identity/MicrosoftSsoProvider.phpapp/Services/Identity/SelfServeSignupService.phpapp/Services/Identity/SsoProviderManager.phpapp/Services/Totp/TotpChallengeService.phpapp/Services/Totp/TotpSettingsService.phpapp/Services/TwoFA/OtpService.phpconfig/identity.php
Settings
1 mapped route file(s).
12 mapped Blade file(s).
1 mapped request file(s).
1 mapped test file(s).
routes/modules.php
resources/views/admin/settings/includes/ai.blade.phpresources/views/admin/settings/includes/branding.blade.phpresources/views/admin/settings/includes/channels.blade.phpresources/views/admin/settings/includes/Operix.blade.phpresources/views/admin/settings/includes/general.blade.phpresources/views/admin/settings/includes/left-menu.blade.phpresources/views/admin/settings/includes/otp.blade.phpresources/views/admin/settings/includes/security.blade.phpresources/views/admin/settings/includes/sessions.blade.phpresources/views/admin/settings/includes/summary.blade.phpresources/views/admin/settings/includes/tools.blade.phpresources/views/admin/settings/index.blade.php
app/Http/Requests/SaveSettingsRequest.php
tests/Feature/AiIntegrationTest.php
app/Services/System/ModuleReadinessService.phpapp/Services/System/TenantSettingsBootstrapService.phpapp/Support/Settings/SettingsRepository.php
Roles And Permissions
1 mapped route file(s).
4 mapped Blade file(s).
0 mapped request file(s).
2 mapped test file(s).
routes/modules.php
resources/views/admin/permission/index.blade.phpresources/views/admin/role/edit.blade.phpresources/views/admin/role/include/add-role.blade.phpresources/views/admin/role/index.blade.php
tests/Feature/RoleDashboardModuleTest.phptests/Feature/SeededSystemAccountsTest.php
app/Helpers/helpers.phpapp/Services/Auth/AuthService.php
Patients
1 mapped route file(s).
15 mapped Blade file(s).
8 mapped request file(s).
1 mapped test file(s).
routes/patient.php
resources/views/admin/patient/document-preview.blade.phpresources/views/admin/patient/form.blade.phpresources/views/admin/patient/includes/clinical.blade.phpresources/views/admin/patient/includes/documents.blade.phpresources/views/admin/patient/includes/overview.blade.phpresources/views/admin/patient/includes/partials/visit-report.blade.phpresources/views/admin/patient/includes/timeline.blade.phpresources/views/admin/patient/includes/visits-history.blade.phpresources/views/admin/patient/includes/visits.blade.phpresources/views/admin/patient/index.blade.phpresources/views/admin/patient/partials/profile-content.blade.phpresources/views/admin/patient/partials/table.blade.phpresources/views/admin/patient/print.blade.phpresources/views/admin/patient/profile.blade.phpresources/views/admin/patient/visit-print.blade.php
app/Http/Requests/PatientAllergyStoreRequest.phpapp/Http/Requests/PatientDocumentStoreRequest.phpapp/Http/Requests/PatientHistoryStoreRequest.phpapp/Http/Requests/PatientStoreRequest.phpapp/Http/Requests/PatientTimelineStoreRequest.phpapp/Http/Requests/PatientUpdateRequest.phpapp/Http/Requests/PatientVisitStoreRequest.phpapp/Http/Requests/PatientVitalStoreRequest.php
tests/Feature/PatientModuleTest.php
app/Services/Consultation/ConsultationService.phpapp/Services/Patient/PatientService.php
Doctors
1 mapped route file(s).
6 mapped Blade file(s).
4 mapped request file(s).
1 mapped test file(s).
routes/doctor.php
resources/views/admin/doctor/exceptions.blade.phpresources/views/admin/doctor/form.blade.phpresources/views/admin/doctor/history-calendar.blade.phpresources/views/admin/doctor/index.blade.phpresources/views/admin/doctor/partials/table.blade.phpresources/views/admin/doctor/schedule.blade.php
app/Http/Requests/DoctorScheduleExceptionStoreRequest.phpapp/Http/Requests/DoctorScheduleUpdateRequest.phpapp/Http/Requests/DoctorStoreRequest.phpapp/Http/Requests/DoctorUpdateRequest.php
tests/Feature/DoctorModuleTest.php
app/Services/Doctor/DoctorService.php
Appointments
1 mapped route file(s).
6 mapped Blade file(s).
2 mapped request file(s).
1 mapped test file(s).
routes/appointment.php
resources/views/admin/appointment/calendar.blade.phpresources/views/admin/appointment/follow-ups.blade.phpresources/views/admin/appointment/form.blade.phpresources/views/admin/appointment/index.blade.phpresources/views/admin/appointment/partials/table.blade.phpresources/views/admin/appointment/queue.blade.php
app/Http/Requests/AppointmentStatusRequest.phpapp/Http/Requests/AppointmentStoreRequest.php
tests/Feature/AppointmentModuleTest.php
app/Services/Appointment/AppointmentService.php
Consultation EMR
1 mapped route file(s).
1 mapped Blade file(s).
0 mapped request file(s).
2 mapped test file(s).
routes/patient.php
resources/views/admin/patient/includes/partials/visit-report.blade.php
tests/Feature/PatientModuleTest.phptests/Feature/SmartInsightsModuleTest.php
app/Services/Billing/BillingService.phpapp/Services/Consultation/ConsultationService.php
Pharmacy
1 mapped route file(s).
36 mapped Blade file(s).
0 mapped request file(s).
1 mapped test file(s).
routes/pharmacy.php
resources/views/admin/pharmacy/batches/index.blade.phpresources/views/admin/pharmacy/batches/manage.blade.phpresources/views/admin/pharmacy/batches/partials/manage-audit.blade.phpresources/views/admin/pharmacy/batches/partials/manage-controls.blade.phpresources/views/admin/pharmacy/batches/partials/manage-corrections.blade.phpresources/views/admin/pharmacy/batches/partials/manage-overview.blade.phpresources/views/admin/pharmacy/medicines/form.blade.phpresources/views/admin/pharmacy/medicines/index.blade.phpresources/views/admin/pharmacy/movements/index.blade.phpresources/views/admin/pharmacy/purchase-orders/form.blade.phpresources/views/admin/pharmacy/purchase-orders/index.blade.phpresources/views/admin/pharmacy/purchase-orders/partials/line.blade.phpresources/views/admin/pharmacy/purchase-orders/partials/show-audit.blade.phpresources/views/admin/pharmacy/purchase-orders/partials/show-lifecycle.blade.phpresources/views/admin/pharmacy/purchase-orders/partials/show-overview.blade.phpresources/views/admin/pharmacy/purchase-orders/partials/show-receiving.blade.phpresources/views/admin/pharmacy/purchase-orders/show.blade.phpresources/views/admin/pharmacy/queue/index.blade.phpresources/views/admin/pharmacy/queue/partials/dispense.blade.phpresources/views/admin/pharmacy/queue/partials/hero.blade.phpresources/views/admin/pharmacy/queue/partials/history.blade.phpresources/views/admin/pharmacy/queue/partials/overview.blade.phpresources/views/admin/pharmacy/queue/partials/returns.blade.phpresources/views/admin/pharmacy/queue/partials/reversal.blade.phpresources/views/admin/pharmacy/queue/partials/tabs.blade.phpresources/views/admin/pharmacy/queue/show.blade.phpresources/views/admin/pharmacy/reports/index.blade.phpresources/views/admin/pharmacy/reports/partials/identity-cell.blade.phpresources/views/admin/pharmacy/returns/index.blade.phpresources/views/admin/pharmacy/stock-counts/form.blade.phpresources/views/admin/pharmacy/stock-counts/index.blade.phpresources/views/admin/pharmacy/stock-counts/print.blade.phpresources/views/admin/pharmacy/stock-counts/show.blade.phpresources/views/admin/pharmacy/stock-entry/form.blade.phpresources/views/admin/pharmacy/suppliers/form.blade.phpresources/views/admin/pharmacy/suppliers/index.blade.php
tests/Feature/PharmacyBillingModuleTest.php
app/Services/Pharmacy/InventoryService.phpapp/Services/Prescription/PrescriptionService.php
Billing
1 mapped route file(s).
10 mapped Blade file(s).
0 mapped request file(s).
1 mapped test file(s).
routes/billing.php
resources/views/admin/billing/credit-notes/print.blade.phpresources/views/admin/billing/invoices/index.blade.phpresources/views/admin/billing/invoices/partials/adjustments.blade.phpresources/views/admin/billing/invoices/partials/editor.blade.phpresources/views/admin/billing/invoices/partials/facts.blade.phpresources/views/admin/billing/invoices/partials/payments.blade.phpresources/views/admin/billing/invoices/print.blade.phpresources/views/admin/billing/invoices/show.blade.phpresources/views/admin/billing/payments/receipt.blade.phpresources/views/admin/billing/tax-rates/index.blade.php
tests/Feature/PharmacyBillingModuleTest.php
app/Services/Billing/BillingService.php
Notifications And Activity
1 mapped route file(s).
7 mapped Blade file(s).
0 mapped request file(s).
1 mapped test file(s).
routes/notification.php
resources/views/admin/notification/activity/index.blade.phpresources/views/admin/notification/activity/partials/table.blade.phpresources/views/admin/notification/activity/show.blade.phpresources/views/admin/notification/index.blade.phpresources/views/admin/notification/partials/dropdown.blade.phpresources/views/admin/notification/partials/table.blade.phpresources/views/admin/notification/show.blade.php
tests/Feature/NotificationModuleTest.php
app/Notifications/AbstractAudienceRecipientNotification.phpapp/Notifications/AccountProfileNotification.phpapp/Notifications/AdminSecurityNotification.phpapp/Notifications/AppointmentAdminNotification.phpapp/Notifications/ClinicMembershipInviteNotification.phpapp/Notifications/DoctorRecipientNotification.phpapp/Notifications/OpsAdminNotification.phpapp/Notifications/OtpAdminNotification.phpapp/Notifications/OtpEmailNotification.phpapp/Notifications/PasswordResetLinkNotification.phpapp/Notifications/PatientActionNotification.phpapp/Notifications/PatientAdminNotification.phpapp/Notifications/PatientRecipientNotification.phpapp/Notifications/TwilioSmsChannel.phpapp/Notifications/TwilioWhatsappChannel.phpapp/Notifications/TwoFactorUserNotification.phpapp/Notifications/VerifyEmailNotification.phpapp/Services/Notification/NotificationAudienceService.phpapp/Services/Notification/NotificationService.php
Smart Insights
1 mapped route file(s).
20 mapped Blade file(s).
0 mapped request file(s).
2 mapped test file(s).
routes/insights.php
resources/views/admin/dashboard/index.blade.phpresources/views/admin/dashboard/partials/admin-workspace.blade.phpresources/views/admin/dashboard/partials/charts.blade.phpresources/views/admin/dashboard/partials/clinic-scorecard.blade.phpresources/views/admin/dashboard/partials/commercial-summary.blade.phpresources/views/admin/dashboard/partials/doctor-workspace.blade.phpresources/views/admin/dashboard/partials/inventory-alerts.blade.phpresources/views/admin/dashboard/partials/overview.blade.phpresources/views/admin/dashboard/partials/patient-workspace.blade.phpresources/views/admin/dashboard/partials/pharmacy-workspace.blade.phpresources/views/admin/dashboard/partials/readiness.blade.phpresources/views/admin/dashboard/partials/reception-workspace.blade.phpresources/views/admin/dashboard/partials/smart-insights.blade.phpresources/views/admin/insights/index.blade.phpresources/views/admin/insights/partials/billing.blade.phpresources/views/admin/insights/partials/doctor.blade.phpresources/views/admin/insights/partials/identity-cell.blade.phpresources/views/admin/insights/partials/overview.blade.phpresources/views/admin/insights/partials/pharmacy.blade.phpresources/views/admin/insights/partials/reception.blade.php
tests/Feature/RoleDashboardModuleTest.phptests/Feature/SmartInsightsModuleTest.php
app/Services/Insights/SmartInsightService.phpapp/Services/System/ModuleReadinessService.php
AI Copilot
1 mapped route file(s).
5 mapped Blade file(s).
1 mapped request file(s).
2 mapped test file(s).
routes/ai.php
resources/views/admin/ai/index.blade.phpresources/views/admin/ai/partials/button.blade.phpresources/views/admin/ai/partials/icon-action.blade.phpresources/views/admin/ai/partials/surface-summary.blade.phpresources/views/admin/settings/includes/ai.blade.php
app/Http/Requests/SaveSettingsRequest.php
tests/Feature/AiIntegrationTest.phptests/Feature/SaaSExpansionTest.php
app/Services/Ai/AiAnalyticsService.phpapp/Services/Ai/AiRunService.phpapp/Services/Ai/Contracts/AiProvider.phpapp/Services/Ai/Data/AiGenerationResult.phpapp/Services/Ai/Data/AiProviderHealthResult.phpapp/Services/Ai/Data/RedactionResult.phpapp/Services/Ai/OpenAiProvider.phpapp/Services/Ai/Prompts/AppointmentPromptBuilder.phpapp/Services/Ai/Prompts/BillingPromptBuilder.phpapp/Services/Ai/Prompts/ConsultationPromptBuilder.phpapp/Services/Ai/Prompts/Contracts/PromptBuilder.phpapp/Services/Ai/Prompts/InsightsDailyBriefPromptBuilder.phpapp/Services/Ai/Prompts/PatientPromptBuilder.phpapp/Services/Ai/Prompts/PharmacyPromptBuilder.phpapp/Services/Ai/Support/AiCapabilityCatalog.phpapp/Services/Ai/Support/AiSourceContextBuilder.phpapp/Services/Ai/Support/PhiRedactionService.phpapp/Services/Ai/Support/PromptBuilderRegistry.phpconfig/ai.phpdatabase/migrations/2026_04_14_090100_create_doctor_availabilities_table.phpdatabase/migrations/2026_04_14_130000_add_generation_fields_to_doctor_availabilities_table.phpdatabase/migrations/2026_04_14_180000_add_break_minutes_to_doctor_availabilities_table.phpdatabase/migrations/2026_06_28_120000_create_ai_runs_table.phpdatabase/migrations/2026_06_28_120100_seed_ai_settings_and_permissions.phpdatabase/migrations/2026_06_28_130000_add_runtime_metadata_to_ai_runs_table.phpdatabase/migrations/2026_06_28_140200_create_domains_table.phpdatabase/migrations/2026_06_28_160300_repair_commercial_subscription_table_names.php
Plans And Billing
3 mapped route file(s).
4 mapped Blade file(s).
0 mapped request file(s).
3 mapped test file(s).
routes/commercial.phproutes/platform.phproutes/self-serve.php
resources/views/admin/commercial/index.blade.phpresources/views/platform/commercial/index.blade.phpresources/views/public/owner-onboarding.blade.phpresources/views/public/plans.blade.php
tests/Feature/PlatformExpansionTest.phptests/Feature/PlatformOperationsTest.phptests/Feature/SaaSExpansionTest.php
app/Services/Commercial/ApiTokenService.phpapp/Services/Commercial/ClinicEntitlementService.phpapp/Services/Commercial/ClinicInviteAcceptanceService.phpapp/Services/Commercial/ClinicLifecycleService.phpapp/Services/Commercial/CommercialAccessPolicyService.phpapp/Services/Commercial/CommercialCatalogService.phpapp/Services/Commercial/CommercialUsageCaptureService.phpapp/Services/Commercial/StripeBillingService.phpapp/Services/Identity/SelfServeSignupService.phpconfig/billing.phpdatabase/migrations/2026_06_28_160000_create_commercial_and_security_tables.phpdatabase/migrations/2026_06_28_160300_repair_commercial_subscription_table_names.phpdatabase/migrations/2026_06_28_170000_create_self_serve_and_enterprise_tables.php
Communications Hub
1 mapped route file(s).
2 mapped Blade file(s).
0 mapped request file(s).
2 mapped test file(s).
routes/communications.php
resources/views/admin/communications/index.blade.phpresources/views/admin/communications/templates.blade.php
tests/Feature/PlatformExpansionTest.phptests/Feature/SaaSExpansionTest.php
app/Http/Controllers/Webhooks/TwilioWebhookController.phpapp/Services/Communication/CommunicationHubService.phpapp/Services/Communication/CommunicationTemplateService.phpapp/Services/Communication/CommunicationTransportManager.phpapp/Services/Communication/MailCommunicationTransport.phpapp/Services/Communication/ManualCommunicationTransport.phpapp/Services/Communication/PatientCommunicationPreferenceService.phpapp/Services/Communication/TwilioCommunicationTransport.phpapp/Services/Communication/TwilioWebhookService.phpconfig/comms.phpdatabase/migrations/tenant/2026_06_28_160200_create_communications_and_ai_usage_tables.phpdatabase/migrations/tenant/2026_06_28_170100_add_twilio_delivery_and_patient_preferences.php
Platform Operations
2 mapped route file(s).
5 mapped Blade file(s).
0 mapped request file(s).
3 mapped test file(s).
routes/console.phproutes/platform.php
resources/views/platform/clinics/index.blade.phpresources/views/platform/clinics/lifecycle.blade.phpresources/views/platform/clinics/memberships.blade.phpresources/views/platform/clinics/onboarding.blade.phpresources/views/platform/operations/index.blade.php
tests/Feature/PlatformExpansionTest.phptests/Feature/PlatformOperationsTest.phptests/Feature/SaaSExpansionTest.php
app/Console/Commands/CaptureUsageSnapshotsCommand.phpapp/Console/Commands/ResetDemoCommand.phpapp/Console/Commands/SeedDemoCommand.phpapp/Console/Commands/SyncSubscriptionsCommand.phpapp/Http/Controllers/Platform/AuditExportController.phpapp/Http/Middleware/EnforcePlatformAccessPolicies.phpapp/Jobs/GenerateAuditExportJob.phpapp/Services/Commercial/ClinicLifecycleService.phpapp/Services/Platform/AuditExportService.phpapp/Services/Platform/PlatformAccessPolicyService.phpapp/Services/Platform/PlatformClinicSummaryService.phpdatabase/migrations/2026_06_28_170000_create_self_serve_and_enterprise_tables.php
Private API
1 mapped route file(s).
0 mapped Blade file(s).
0 mapped request file(s).
2 mapped test file(s).
routes/api.php
tests/Feature/PlatformExpansionTest.phptests/Feature/SaaSExpansionTest.php
app/Http/Controllers/Api/Clinic/ClinicApiController.phpapp/Http/Controllers/Api/Platform/PlatformApiController.phpapp/Http/Middleware/AuthenticateApiToken.phpapp/Http/Middleware/EnforcePlatformAccessPolicies.phpapp/Services/Commercial/ApiTokenService.phpapp/Services/Platform/AuditExportService.phpapp/Services/Platform/PlatformAccessPolicyService.phpapp/Services/Platform/PlatformClinicSummaryService.phpdatabase/migrations/2026_02_23_212302_add_login_security_fields_to_users.phpdatabase/migrations/2026_06_28_160000_create_commercial_and_security_tables.phpdatabase/migrations/2026_06_28_170000_create_self_serve_and_enterprise_tables.php