17 Commits

Author SHA1 Message Date
5fb572c122 feat(routes): add container alias endpoint for ContainerDefController
Added an alternative route alias 'container' that points to ContainerDefController,
providing backward compatibility and flexibility in API endpoint naming.

- Routes '/api/specimen/container' to ContainerDefController methods
- Supports GET, GET with ID, POST, and PATCH operations
- Existing '/api/specimen/containerdef' routes remain unchanged

File: app/Config/Routes.php (+7 lines)

---

refactor(seeds): update and standardize seed data across multiple seeders

Improved data consistency and coverage in database seeds:

AreaGeoSeeder.php:
- Updated geographic area data for better regional coverage
- Standardized data format and field values

DummySeeder.php:
- Refactored dummy data generation for test environments
- Improved data integrity and relationships

PatientSeeder.php:
- Enhanced patient test data with more realistic scenarios
- Updated patient demographic information
- Improved test result distributions

Total: 111 lines changed across seed files

---

docs: add CLQMS project documentation

- Added project documentation file: "prj_clinical laboratory quality management system_3a.docx"
- Comprehensive project specification and requirements document

---

test: remove deprecated TestDefSiteTest.php

- Removed obsolete test file that is no longer needed
- Test coverage consolidated into other test classes

File: tests/feature/TestDef/TestDefSiteTest.php (-374 lines)

---

Summary:
- +58 lines added (routes, seeds, docs)
- -434 lines removed (deprecated test file)
- 6 files affected
2026-01-07 16:55:25 +07:00
cd65e91db1 refactor: Rename controllers to follow CodeIgniter 4 naming convention
- Rename all controllers from X.php to XController.php format
- Add new RefTxtModel for text-based reference ranges
- Rename group_dialog.php to grp_dialog.php and remove title_dialog.php
- Add comprehensive test suite for v2/master/TestDef module
- Update Routes.php to reflect controller renames
- Remove obsolete data files (clqms_v2.sql, lab.dbml)
2026-01-05 16:55:34 +07:00
97edfe50a8 feat: enhance Test Management module with improved UI and tests
- Refactor Tests.php controller with updated logic and error handling
- Update Test migration with schema improvements
- Enhance TestDefCalModel, TestDefGrpModel, TestDefTechModel with CRUD operations
- Improve TestMapModel with better test mapping relationships
- Redesign test dialog views (calc, group, param) with improved UX
- Update tests_index view with better data presentation
- Add CSS styles for test management UI components
- Add TestDefSiteTest feature test for site-based test definitions
- Add TestDefModelsTest unit test for model validation
- Remove obsolete Test Management.docx documentation
2026-01-02 08:33:22 +07:00
118d490bbd refactor: update TestSeeder to use dynamic ValueSet lookups
- Implemented dynamic VID retrieval from ValueSetModel for all test definitions
- Aligned ResultType, RefType, and SpcType with the valueset table
- Updated sample data for Hematology, Chemistry, and Urinalysis tests
- Ensured consistency between ValueSetSeeder and TestSeeder data
2025-12-29 12:55:31 +07:00
3c1aaafe18 fix seeder, and patient unit testing 2025-12-17 15:19:55 +07:00
mikael-zakaria
a9ae893c16 Update unit testing patvisit 2025-10-20 14:09:09 +07:00
mikael-zakaria
88f2633bb6 Update Patient (Patcom & Unit Testing) 2025-10-19 22:36:31 +07:00
mikael-zakaria
6287785b73 Update Unit Testing Patient 2025-10-17 15:31:48 +07:00
mikael-zakaria
fda7a14a5f Update Refactoring Patient 2025-10-16 10:28:40 +07:00
mikael-zakaria
f33cd6cc7b Update Patient Unit Testing 2025-10-14 15:50:22 +07:00
e15a2d98db fix contact creation wo detail 2025-09-26 15:03:11 +07:00
mikael-zakaria
3e151583df Update Unit Testing Patients 2025-09-26 14:11:25 +07:00
mikael-zakaria
e186c6f3de Update Unit Testing Create 2025-09-25 14:01:33 +07:00
mikael-zakaria
408cfae5d5 Update UnitTesting Patients 2025-09-23 10:18:48 +07:00
mikael-zakaria
6454bb12f0 Update Unit Test Patient 2025-09-19 16:42:27 +07:00
1351b8c99f change vsfieldid to vsetid 2025-09-17 15:50:55 +07:00
f7d10cf21c move to root 2025-06-26 15:23:16 +07:00