34 Commits

Author SHA1 Message Date
OpenCode Bot
9946978487 chore: refresh CLQMS backend baseline
Re-synced controllers, configs, libraries, seeds, and docs with the latest API expectations and response helpers.
2026-04-08 16:07:19 +07:00
root
2bcdf09b55 chore: repo-wide normalization + rules test coverage
Normalize formatting/line endings across configs, controllers, models, tests, and OpenAPI specs.

Update rule expression/rule engine implementation and remove obsolete RuleAction controller/model.

Add unit tests for rule expression syntax and multi-action behavior, and include docs updates.
2026-03-16 07:24:50 +07:00
8806b007ab Add PatVisit controller and use case documentation
- Add PatVisitController with CRUD operations
- Add use case documentation (docx and md files)
- Update API documentation in api-docs.yaml
- Remove USER_STORIES.md (migrated to docs/)
- Update TODO.md with current tasks
- Update Routes.php for new endpoints
- Update DummySeeder with additional test data
2026-02-15 21:05:25 +07:00
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
061af6e6d7 adding v2 frontend 2025-12-22 16:54:19 +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
09717bb081 gogogo 2025-12-01 16:47:52 +07:00
4d9b265c4c preworking test 2025-11-27 11:52:39 +07:00
3537f7e6cb prework 2025-11-26 16:53:14 +07:00
mikael-zakaria
e2e0a6eeeb Update perbaikan Seeders untuk patient gender dan death 2025-11-25 10:03:49 +07:00
mikael-zakaria
f26628cba8 Update Menambahkan user tes2 ke tabel Users pada Migrations 2025-11-20 09:38:53 +07:00
04b8c79911 add dummy test 2025-11-18 09:14:02 +07:00
6a4cc3a0d6 add dummy test 2025-11-17 16:53:57 +07:00
6772bbed3f prework 2025-11-14 16:50:49 +07:00
8af8fea0ba preworking pvadt 2025-11-13 13:49:24 +07:00
8b41bfc6f1 update org, valueset 2025-11-06 12:28:42 +07:00
56b8012e4a update join account 2025-11-05 15:03:55 +07:00
a1f6b1df61 add dummy data for organization 2025-11-04 13:07:04 +07:00
mikael-zakaria
bf5b5cb0ea Update Seeders dan Zones API dari https ke http 2025-10-23 09:56:59 +07:00
mikael-zakaria
88f2633bb6 Update Patient (Patcom & Unit Testing) 2025-10-19 22:36:31 +07:00
b4fa6c7983 fix seeder createdate 2025-10-15 16:08:52 +07:00
mikael-zakaria
341db47380 Update perbaikan migration specimen, dummy seeder dan indentasi model patisit 2025-10-09 13:04:05 +07:00
mikael-zakaria
90ad785e49 Update Patient Seeders 2025-10-06 09:54:50 +07:00
mikael-zakaria
7844450d88 Update Perbaikan Patient Show, Create dan Update dan penambahan Seeders 2025-10-03 10:46:23 +07:00
750ccdee00 moving country religion race ethnic to valueset 2025-10-01 12:40:05 +07:00
a6c5538b4c fix occupation, create occupation model 2025-09-29 10:56:34 +07:00
7b093aefb3 fix location param, add occupation dummy data 2025-09-29 10:14:01 +07:00
dd999aaf7b contactdetail wow 2025-09-24 16:15:55 +07:00
783018f2f2 fix contactdetail 2025-09-23 16:55:28 +07:00
4db1a61e04 fix location show 2025-09-22 15:37:25 +07:00
f32fe26ba4 add location.loctype 2025-09-19 15:22:25 +07:00
82b22b63b0 change to valueset 2025-09-16 10:10:19 +07:00
e7e9fc1b99 create location + location dummy 2025-09-11 11:09:04 +07:00