11 Commits

Author SHA1 Message Date
e36e390f71 refactor: consolidate ValueSet API and simplify seeders
- Consolidate ValueSet routes from multiple nested groups to flat structure
- Delete deprecated ValueSet\ namespaced controllers (ValueSetController, ValueSetDefController)
- Remove ValueSetSeeder and ValueSetCountrySeeder from DBSeeder
- Simplify seeders (LocationSeeder, OrganizationSeeder, PatientSeeder, TestSeeder)
  to use literal string values instead of ValueSet lookups
- Add new ValueSetController and ValueSetDefController in root namespace
- Update test files for new controller structure
The key changes are:
1. Routes: Consolidated from nested ValueSet\ namespace routes to flat ValueSetController routes with /items sub-endpoints
2. Controllers: Deleted old app/Controllers/ValueSet/ directory, created new root-level controllers
3. Seeders: Removed ValueSet dependencies, using literal values like 'ROOM', '1', 'TEST' instead of [12]['ROOM'] etc.
4. Tests: Updated tests to match new controller structure
2026-01-13 16:48:43 +07:00
a2097ade6a feat: Add AreaGeoSeeder for importing geographic data from external database
- Create AreaGeoSeeder to import area geo data from external zones table
- Add field mapping: zonecode→AreaCode, zoneclass→Class, zonename→AreaName, parentzoneid→Parent
- Support same-server external databases using direct SQL queries
- Register seeder in DBSeeder for inclusion in main seeding workflow
2026-01-07 08:59:36 +07:00
3c1aaafe18 fix seeder, and patient unit testing 2025-12-17 15:19:55 +07:00
d4f5e8b16a fix areageo 2025-12-02 12:52:23 +07:00
4d9b265c4c preworking test 2025-11-27 11:52:39 +07:00
8b41bfc6f1 update org, valueset 2025-11-06 12:28:42 +07:00
a1f6b1df61 add dummy data for organization 2025-11-04 13:07:04 +07:00
750ccdee00 moving country religion race ethnic to valueset 2025-10-01 12:40:05 +07:00
c3ef8a5bc2 update contact index 2025-09-23 13:47:00 +07:00
82b22b63b0 change to valueset 2025-09-16 10:10:19 +07:00
3ec6c949aa adding migrate and seeder 2025-09-10 15:20:31 +07:00