clqms-be/app/Database/Seeds/DBSeeder.php
mahdahar 42006e1af9 feat: implement comprehensive order management with specimens and tests
Major updates to order system:
- Add specimen and test data to order responses (index, show, create, update, status update)
- Implement getOrderSpecimens() and getOrderTests() private methods in OrderTestController
- Support 'include=details' query parameter for expanded order data
- Update OrderTestModel with enhanced query capabilities and transaction handling

API documentation:
- Update OpenAPI specs for orders, patient-visits, and tests
- Add new schemas for order specimens and tests
- Regenerate bundled API documentation

Database:
- Add Requestable field to TestDefSite migration
- Create OrderSeeder and ClearOrderDataSeeder for test data
- Update DBSeeder to include order seeding

Patient visits:
- Add filtering by PatientID, PatientName, and date ranges
- Include LastLocation in visit queries

Testing:
- Add OrderCreateTest with comprehensive test coverage

Documentation:
- Update AGENTS.md with improved controller structure examples
2026-03-03 13:51:27 +07:00

22 lines
477 B
PHP

<?php
namespace App\Database\Seeds;
use CodeIgniter\Database\Seeder;
class DBSeeder extends Seeder
{
public function run()
{
$this->call('OrganizationSeeder');
$this->call('CounterSeeder');
$this->call('ContactSeeder');
$this->call('LocationSeeder');
$this->call('AreaGeoSeeder');
$this->call('SpecimenSeeder');
$this->call('TestSeeder');
$this->call('PatientSeeder');
$this->call('DummySeeder');
$this->call('OrderSeeder');
}
}