feat (encounter): create-with-patient wip

This commit is contained in:
dpurbosakti
2025-12-11 15:29:01 +07:00
committed by Munawwirul Jamal
parent 355f773fec
commit 741b5069ec
7 changed files with 218 additions and 10 deletions
@@ -197,6 +197,7 @@ func SetRoutes() http.Handler {
"PATCH /{id}/req-switch-unit": encounter.O.RequestSwitchUnit,
"PATCH /{id}/approve-switch-unit": encounter.O.ApproveSwitchUnit,
"PATCH /{id}/cancel-switch-unit": encounter.O.CancelSwitchUnit,
"POST /create-with-patient": encounter.O.CreateWithPatient,
})
hk.GroupRoutes("/v1/mcu-order", r, auth.GuardMW, hk.MapHandlerFunc{
"GET /": mcuorder.O.GetList,