14 Commits

Author SHA1 Message Date
c743049ed1 fix(testmap): align detail patch operation keys with API docs 2026-04-09 15:32:16 +07:00
99d5117bd9 fix(testmap): support flexible detail patch payloads and align patch route coverage 2026-04-09 09:02:50 +07:00
84cfff2201 todo : fixing testmap detail 2026-04-08 16:54:32 +07:00
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
945ea6d183 fix: allow patch routes for partial updates 2026-04-08 06:54:50 +07:00
ae56e34885 fix: remove embedded testmap data from test testsite payloads
Keep test definition responses focused on core fields and update test-map OpenAPI contracts/tests to match the new mapping flow.
2026-04-06 11:24:58 +07:00
694c5a6211 fix: wrap test group members under testdefgrp
Align CALC/GROUP request and response payloads to use the testdefgrp.members structure in controller handling, feature tests, and OpenAPI schemas/examples for a consistent API contract.
2026-04-02 09:06:42 +07:00
eeaed768c9 fix: align test members payload with top-level API contract 2026-04-02 04:52:50 +07:00
399f4d615b feat: support flat test mapping payloads and align patient identifier validation 2026-04-01 20:28:12 +07:00
8aefeaca01 fix: preserve nullable test metadata and day-based age ranges
Avoid coercing missing SiteID, Decimal, and age boundaries to hardcoded defaults so payload intent is retained across test creation and reference range inserts. Align patient result age checks and OpenAPI examples with day-based age bounds, with feature coverage for create variants.
2026-04-01 13:28:44 +07:00
366572a0cb fix: preserve numeric ref range metadata 2026-03-26 14:48:49 +07:00
76c528564c fix: simplify test detail retrieval and clean tracked index artifacts
Use the base test row's RefType and ResultType to decide refnum/reftxt loading, and fetch discipline/department joins directly in getTestById to avoid redundant relation queries. Add feature coverage for show response behavior and include the related workspace cleanup changes so the branch state is consistent.
2026-03-25 14:06:00 +07:00
76ea22d841 refactor: standardize boolean field naming across API domains
Rename legacy boolean helpers to is* naming across test definitions, patient models, and infrastructure data to match rest of backend.

Update controllers, models, migrations, seeders, tests, and OpenAPI docs/bundled spec so contracts and runtime align.
2026-03-25 11:37:17 +07:00
aaadd593dd feat: require id params for update endpoints 2026-03-16 15:58:56 +07:00