Commit Graph

  • 212ab4e80a Merge branch 'main' of https://github.com/mahdahar/clqms-be mahdahar 2026-01-28 17:34:11 +07:00
  • e5ac1957fe ● refactor: update API responses to use {field}Label format mahdahar 2026-01-28 17:31:00 +07:00
  • b367d059e2 update gitignore to add serena mahdahar 2026-01-26 13:00:03 +07:00
  • 15ab7017a9 openapi yml creation mahdahar 2026-01-26 12:58:09 +07:00
  • f56200eb53 update areageo endpoint to value and label mahdahar 2026-01-26 10:27:28 +07:00
  • 823694e4a1 add valueset getter to valueset : , valuesetKey : mahdahar 2026-01-20 13:20:37 +07:00
  • e96ffa1ca9 refactor(test): remove legacy v2 master tests and cleanup HealthTest mahdahar 2026-01-19 08:29:56 +07:00
  • 351d3b6279 docs: extract ERD documentation and add database schema files - Remove deprecated valueset migration docs and old project planning files - Add ERD_EXTRACT.md with complete database table definitions - Add clqms_database.dbml for database modeling - Add clqms_database.dbdiagram for visual database design - Add updated prj_3c.md project documentation mahdahar 2026-01-15 12:37:37 +07:00
  • 42a5260f9a feat(valueset): restructure valueset UI and add result-specific CRUD - Restructure valueset pages from single master page to separate views: - Library Valuesets (read-only lookup browser) - Result Valuesets (CRUD for valueset table) - Valueset Definitions (CRUD for valuesetdef table) - Add new ResultValueSetController for result-specific valueset operations - Move views from master/valuesets to result/valueset and result/valuesetdef - Convert valueset sidebar to collapsible nested menu - Add search filtering to ValueSetController index - Remove deprecated welcome_message.php and old nested CRUD view - Update routes to organize under /result namespace Summary of changes: This commit reorganizes the valueset management UI by splitting the monolithic master/valuesets page into three distinct sections, adds a new controller for result-related valueset operations, and restructures the sidebar navigation for better usability. mahdahar 2026-01-14 16:45:58 +07:00
  • 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 haris mahdahar 2026-01-13 16:48:43 +07:00
  • 4aa9cefc3d refactor: consolidate migrations and reorganize valueset data structure Major refactoring to clean up database migrations and reorganize static lookup data: - Consolidated 13 old migrations (2025) into 10 new numbered migrations (2026-01-01) - Deleted redundant migrations: Location, Users, Contact, ValueSet, Counter, RefRange, CRMOrganizations, Organization, AreaGeo, DeviceLogin, EdgeRes - New consolidated migrations: - 2026-01-01-000001_CreateLookups: valueset, counter, containerdef, occupation, specialty - 2026-01-01-000002_CreateOrganization: account, site, location, discipline, department - 2026-01-01-000003_CreatePatientCore: patient, patidentifier, pataddress, patcontact - 2026-01-01-000004_CreateSecurity: contact, contactdetail, userdevices, loginattempts - 2026-01-01-000005_CreatePatientVisits: patvisit, patinsurance - 2026-01-01-000006_CreateOrders: porder, orderitem - 2026-01-01-000007_CreateSpecimens: specimen, specmenactivity, containerdef - 2026-01-01-000008_CreateTestDefinitions: testdefinition, testactivity, refnum, reftxt - 2026-01-01-000009_CreateResults: patresult, patresultdetail, patresultcomment - 2026-01-01-000010_CreateLabInfrastructure: edgeres, edgestatus, edgeack, workstation - Moved 44 JSON files from valuesets/ subdirectory to app/Libraries/Data/ root - Added new country.json lookup - Added _meta.json for valueset metadata - Deleted old valuesets/_meta.json - Renamed gender.json to sex.json for consistency with patient.Sex column - Removed duplicate country.json from valuesets/ - AGENTS.md: Updated Lookups library documentation with new methods - README.md: Complete rewrite of lookup/valueset documentation - Renamed MVP_TODO.md to TODO.md - Added VUE_SPA_IMPLEMENTATION_PLAN.md - Removed deprecated prj_clinical laboratory quality management system_3a.docx - ValueSet.php: Enhanced with caching and new lookup methods - Lookups.php: Removed (functionality merged into ValueSet) Impact: Prepares codebase for 2026 with cleaner migration history and improved lookup data organization for the name-based valueset system. mahdahar 2026-01-13 07:22:25 +07:00
  • bb7df6b70c feat(valueset): refactor from ID-based to name-based lookups Complete overhaul of the valueset system to use human-readable names instead of numeric IDs for improved maintainability and API consistency. - PatientController: Renamed 'Gender' field to 'Sex' in validation rules - ValuesetController: Changed API endpoints from ID-based (/:num) to name-based (/:any) - TestsController: Refactored to use ValueSet library instead of direct valueset queries - Added ValueSet library (app/Libraries/ValueSet.php) with static lookup methods: - getOptions() - returns dropdown format [{value, label}] - getLabel(, ) - returns label for a value - transformLabels(, ) - batch transform records - get() and getRaw() for Lookups compatibility - Added ValueSetApiController for public valueset API endpoints - Added ValueSet refresh endpoint (POST /api/valueset/refresh) - Added DemoOrderController for testing order creation without auth - 2026-01-12-000001: Convert valueset references from VID to VValue - 2026-01-12-000002: Rename patient.Gender column to Sex - OrderTestController: Now uses OrderTestModel with proper model pattern - TestsController: Uses ValueSet library for all lookup operations - ValueSetController: Simplified to use name-based lookups - Updated all organization (account/site/workstation) dialogs and index views - Updated specimen container dialogs and index views - Updated tests_index.php with ValueSet integration - Updated patient dialog form and index views - Removed .factory/config.json and CLAUDE.md (replaced by AGENTS.md) - Consolidated lookups in Lookups.php (removed inline valueset constants) - Updated all test files to match new field names - 32 modified files, 17 new files, 2 deleted files - Net: +661 insertions, -1443 deletions (significant cleanup) mahdahar 2026-01-12 16:53:41 +07:00
  • f11bde4d30 refactor(valueset): simplify API response by removing pagination mahdahar 2026-01-09 16:58:43 +07:00
  • d4029dce38 Update perbaikan ContactSeeder dan AreaGeoSeeder mikael-zakaria 2026-01-08 10:49:19 +07:00
  • c8e18ed283 Merge branch 'main' of https://github.com/mahdahar/clqms-be mikael-zakaria 2026-01-08 08:59:25 +07:00
  • 5fb572c122 feat(routes): add container alias endpoint for ContainerDefController mahdahar 2026-01-07 16:55:25 +07:00
  • a2097ade6a feat: Add AreaGeoSeeder for importing geographic data from external database mahdahar 2026-01-07 08:59:36 +07:00
  • 23681a2dbf Merge branch 'main' of https://github.com/mahdahar/clqms-be mikael-zakaria 2026-01-07 08:38:30 +07:00
  • 624ce828fd create agents.md for valueset scanning mahdahar 2026-01-07 06:38:09 +07:00
  • a47db49f81 feat: improve Location API error handling mahdahar 2026-01-06 17:00:33 +07:00
  • 011ea11cc9 chore: remove deprecated documentation artifacts and update test dialogs mahdahar 2026-01-06 07:51:21 +07:00
  • cd65e91db1 refactor: Rename controllers to follow CodeIgniter 4 naming convention mahdahar 2026-01-05 16:55:34 +07:00
  • 9e0b01e7e2 refactor: reorganize documentation and update test-related files mahdahar 2026-01-05 07:21:12 +07:00
  • 97edfe50a8 feat: enhance Test Management module with improved UI and tests mahdahar 2026-01-02 08:33:22 +07:00
  • 97451496c3 feat(tests): enhance Test Management module with v2 UI dialogs mahdahar 2025-12-30 16:54:33 +07:00
  • a94df3b5f7 **feat: migrate to v2 frontend with Alpine.js pattern** mahdahar 2025-12-30 14:30:35 +07:00
  • c233f6cef6 Perbaikan Auth logout mahdahar 2025-12-30 09:12:32 +07:00
  • 3fa31f6a64 Perbaikan Auth v2 mahdahar 2025-12-30 09:10:50 +07:00
  • f64b5d1bc9 Perbaikan Auth mahdahar 2025-12-30 09:08:58 +07:00
  • eb883cf059 feat: Add V2 UI with JWT auth, DaisyUI 5, and theme system mahdahar 2025-12-30 08:48:13 +07:00
  • cb4181dbff refactor: restructure application architecture and consolidate controllers mahdahar 2025-12-29 16:57:46 +07:00
  • 118d490bbd refactor: update TestSeeder to use dynamic ValueSet lookups mahdahar 2025-12-29 12:55:31 +07:00
  • 883f5b3643 Fix log formatting and outbox message processing mahdahar 2025-12-29 08:23:48 +07:00
  • 622e0bd0de fix patients mahdahar 2025-12-24 16:43:52 +07:00
  • da4942c9f5 fix v2 patients mahdahar 2025-12-24 16:42:07 +07:00
  • ccefd6e295 sidebar fix mahdahar 2025-12-23 06:29:01 +07:00
  • 061af6e6d7 adding v2 frontend mahdahar 2025-12-22 16:54:19 +07:00
  • 066a2a831c Merge branch 'main' of https://github.com/mahdahar/clqms-be mikael-zakaria 2025-12-22 13:09:57 +07:00
  • 2ddd748c71 Update Contact & UserLogin mikael-zakaria 2025-12-22 13:09:49 +07:00
  • eb305d8567 start to do simple frontend using alpinejs mahdahar 2025-12-19 16:48:48 +07:00
  • 3c1aaafe18 fix seeder, and patient unit testing mahdahar 2025-12-17 15:19:55 +07:00
  • 9f83199ddf adding crud test, and some dummy data for all test mahdahar 2025-12-17 10:06:05 +07:00
  • 600f672831 add crud for test mahdahar 2025-12-17 07:03:16 +07:00
  • 6b83f332ea fix test seeder mahdahar 2025-12-16 13:48:33 +07:00
  • d1d3b261ae creating test seeder mahdahar 2025-12-16 13:43:06 +07:00
  • 0be8b67895 move docs to public mahdahar 2025-12-12 12:56:33 +07:00
  • 85dd1e1a4a adding app review by claude mahdahar 2025-12-12 11:00:56 +07:00
  • 2580d64d9e prework mahdahar 2025-12-11 16:43:19 +07:00
  • d9f9768074 add parent to discipline mahdahar 2025-12-08 11:21:48 +07:00
  • 41d6963d96 adding valuesetdef mahdahar 2025-12-03 16:18:01 +07:00
  • 2b9a30a073 yes mahdahar 2025-12-03 15:45:24 +07:00
  • b52726b694 fix location show mahdahar 2025-12-02 14:48:30 +07:00
  • 72002bd437 fix getcities by parent mahdahar 2025-12-02 13:19:42 +07:00
  • 8767b823ca fix getcities showing province mahdahar 2025-12-02 13:14:23 +07:00
  • 9dfcc7c0eb fix double array on getprovinces mahdahar 2025-12-02 13:08:30 +07:00
  • d4f5e8b16a fix areageo mahdahar 2025-12-02 12:52:23 +07:00
  • d5fd300b6a new feature for suhu kuda mahdahar 2025-12-02 09:29:42 +07:00
  • 1755105af1 till discipline mahdahar 2025-12-02 07:09:24 +07:00
  • 09717bb081 gogogo mahdahar 2025-12-01 16:47:52 +07:00
  • 61f6c337ee fix db, and tests index show mahdahar 2025-11-27 14:15:10 +07:00
  • 4d9b265c4c preworking test mahdahar 2025-11-27 11:52:39 +07:00
  • 3537f7e6cb prework mahdahar 2025-11-26 16:53:14 +07:00
  • e2e0a6eeeb Update perbaikan Seeders untuk patient gender dan death mikael-zakaria 2025-11-25 10:03:49 +07:00
  • e342df68f6 Update Rules Patient Index menampilkan Gender mikael-zakaria 2025-11-24 15:38:12 +07:00
  • 5a3eb5a63d Update Rules Patient Identity Fix Version mikael-zakaria 2025-11-24 15:17:33 +07:00
  • c388c03749 Update Rules Patient Identity Update mikael-zakaria 2025-11-24 14:14:44 +07:00
  • 2b81732086 Update Rules Patient Identity mikael-zakaria 2025-11-24 14:11:02 +07:00
  • cac46552f6 Merge branch 'main' of https://github.com/mahdahar/clqms-be mahdahar 2025-11-20 10:51:04 +07:00
  • 0f5d897378 Update Zones untuk get api crm mikael-zakaria 2025-11-20 09:45:16 +07:00
  • f26628cba8 Update Menambahkan user tes2 ke tabel Users pada Migrations mikael-zakaria 2025-11-20 09:38:53 +07:00
  • eae096a37c Merge branch 'main' of https://github.com/mahdahar/clqms-be mikael-zakaria 2025-11-20 09:35:46 +07:00
  • cc0c47510d update model test mahdahar 2025-11-19 15:35:32 +07:00
  • fc990ffa81 add testdefsite rule mahdahar 2025-11-19 14:26:32 +07:00
  • 39c9b39edf fix testdefsite post mahdahar 2025-11-19 13:38:46 +07:00
  • 04b8c79911 add dummy test mahdahar 2025-11-18 09:14:02 +07:00
  • 6a4cc3a0d6 add dummy test mahdahar 2025-11-17 16:53:57 +07:00
  • 6772bbed3f prework mahdahar 2025-11-14 16:50:49 +07:00
  • a0dee0f351 remove seq mahdahar 2025-11-14 08:30:35 +07:00
  • 49a4d5b11f Merge branch 'main' of https://github.com/mahdahar/clqms-be mikael-zakaria 2025-11-13 15:05:49 +07:00
  • 8af8fea0ba preworking pvadt mahdahar 2025-11-13 13:49:24 +07:00
  • 21abee1831 fix patvisit InternalPID mahdahar 2025-11-12 16:02:31 +07:00
  • 2096ede1e5 update patvisit mahdahar 2025-11-12 15:58:01 +07:00
  • bfee374eef fix patvisit mahdahar 2025-11-12 15:26:18 +07:00
  • a450392cfc standard crud for specimen and test mahdahar 2025-11-10 16:02:52 +07:00
  • 97d92f7d59 Merge branch 'main' of https://github.com/mahdahar/clqms-be mikael-zakaria 2025-11-10 13:57:45 +07:00
  • 0e4b9824f7 tod mahdahar 2025-11-07 16:41:42 +07:00
  • a907fb675e add workstation enable text mahdahar 2025-11-07 08:49:01 +07:00
  • 82f8097337 fix workstation show mahdahar 2025-11-07 08:39:47 +07:00
  • 687b853599 fix workstation show mahdahar 2025-11-07 08:39:01 +07:00
  • 5138051f10 fix valueset missing value mahdahar 2025-11-06 13:05:48 +07:00
  • 5b3b2f6cff fix site index mahdahar 2025-11-06 12:55:36 +07:00
  • 8b41bfc6f1 update org, valueset mahdahar 2025-11-06 12:28:42 +07:00
  • 3e2db6a25c change accounts index mahdahar 2025-11-05 15:14:30 +07:00
  • c3189e45ff Merge branch 'main' of https://github.com/mahdahar/clqms-be mikael-zakaria 2025-11-05 15:04:49 +07:00
  • 56b8012e4a update join account mahdahar 2025-11-05 15:03:55 +07:00
  • 8680454db3 fix account zip and parent mahdahar 2025-11-05 10:35:15 +07:00
  • a1f6b1df61 add dummy data for organization mahdahar 2025-11-04 13:07:04 +07:00
  • 1cab4d6578 fix organization mahdahar 2025-11-04 12:22:29 +07:00
  • ff1b3e0e9b Merge branch 'main' of https://github.com/mahdahar/clqms-be mikael-zakaria 2025-11-04 09:42:15 +07:00
  • f41fcad526 Update Zones (Skipped) mikael-zakaria 2025-11-04 09:42:03 +07:00