. ├── app │   ├── Http │   │   ├── Controllers │   │   ├── Requests │   │   └── Resources │   ├── Models │   │   ├── Agent.php │   │   ├── BillDocument.php │   │   ├── Bill.php │   │   ├── Branch.php │   │   ├── CaseDoctor.php │   │   ├── CaseDocument.php │   │   ├── CaseModel.php │   │   ├── CaseStatusHistory.php │   │   ├── CaseStatus.php │   │   ├── Company.php │   │   ├── Doctor.php │   │   ├── Document.php │   │   ├── Encounter.php │   │   ├── PatientAgent.php │   │   ├── PatientBranch.php │   │   ├── PatientCompany.php │   │   ├── PatientDocument.php │   │   ├── Patient.php │   │   ├── PrescriptionItem.php │   │   ├── Prescription.php │   │   └── User.php │   ├── Providers │   │   └── AppServiceProvider.php │   └── Services │   ├── BillingService.php │   ├── CaseService.php │   ├── DocumentService.php │   └── PrescriptionService.php ├── bootstrap │   ├── cache │   │   ├── config.php │   │   ├── packages.php │   │   └── services.php │   ├── app.php │   └── providers.php ├── config │   ├── app.php │   ├── auth.php │   ├── cache.php │   ├── cors.php │   ├── database.php │   ├── filesystems.php │   ├── logging.php │   ├── mail.php │   ├── queue.php │   ├── services.php │   └── session.php ├── database │   ├── factories │   │   └── UserFactory.php │   ├── migrations │   │   ├── 0001_01_01_000000_create_users_table.php │   │   ├── 0001_01_01_000001_create_cache_table.php │   │   ├── 0001_01_01_000002_create_jobs_table.php │   │   ├── 2024_01_01_000001_create_patients_table.php │   │   ├── 2024_01_01_000002_create_doctors_table.php │   │   ├── 2024_01_01_000003_create_companies_table.php │   │   ├── 2024_01_01_000004_create_branches_table.php │   │   ├── 2024_01_01_000005_create_agents_table.php │   │   ├── 2024_01_01_000006_create_patient_relationships_tables.php │   │   ├── 2024_01_01_000007_create_case_statuses_table.php │   │   ├── 2024_01_01_000008_create_cases_table.php │   │   ├── 2024_01_01_000009_create_case_status_histories_table.php │   │   ├── 2024_01_01_000010_create_encounters_table.php │   │   ├── 2024_01_01_000011_create_case_doctors_table.php │   │   ├── 2024_01_01_000012_create_prescriptions_table.php │   │   ├── 2024_01_01_000013_create_documents_table.php │   │   └── 2024_01_01_000014_create_bills_table.php │   ├── seeders │   │   ├── CaseStatusSeeder.php │   │   └── DatabaseSeeder.php │   └── database.sqlite ├── public │   ├── favicon.ico │   ├── index.php │   └── robots.txt ├── resources │   ├── css │   │   └── app.css │   ├── js │   │   ├── app.js │   │   └── bootstrap.js │   └── views │   └── welcome.blade.php ├── routes │   ├── api.php │   ├── console.php │   └── web.php ├── tests │   ├── Feature │   │   └── ExampleTest.php │   ├── Unit │   │   └── ExampleTest.php │   └── TestCase.php ├── API_DOCUMENTATION.md ├── artisan ├── CareHub_API.postman_collection.json ├── composer.json ├── composer.lock ├── DEPLOYMENT.md ├── nextjs-integration-example.ts ├── package.json ├── phpunit.xml ├── project_structure.txt ├── PROJECT_SUMMARY.md ├── QUICK_START.md ├── README.md ├── setup.sh └── vite.config.js 25 directories, 91 files