clqms-be/TODO.md
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

669 B
Executable File

Remaining Work

  1. PatVisitController::updateADT needs to accept or infer InternalPVID so the ADT patch tests no longer error out.
  2. Implement or expose POST /api/result and align ResultController responses with what ResultPatchTest expects (success + 400/404 handling).
  3. For each patch test controller (Contact, Location, Organization modules, Specimen masters, Test/TestMap variants, Rule, User, etc.), ensure the update action validates payloads, rejects empty bodies with 400, returns 404 for absent IDs, and responds with 200/201 on success.
  4. Once controllers are fixed, rerun ./vendor/bin/phpunit to confirm the patch suite passes end-to-end.