enhancement update encounter status code

This commit is contained in:
vanilia
2025-10-15 13:59:04 +07:00
parent a77ff4d6aa
commit 360543cfa7
6 changed files with 167 additions and 1 deletions
@@ -168,6 +168,10 @@ func SetRoutes() http.Handler {
"PATCH /{id}": encounter.O.Update,
"DELETE /{id}": encounter.O.Delete,
"PATCH /{id}/checkout": encounter.O.CheckOut,
"PATCH /{id}/proccess": encounter.O.Process,
"PATCH /{id}/cancel": encounter.O.Cancel,
"PATCH /{id}/reject": encounter.O.Reject,
"PATCH /{id}/skip": encounter.O.Skip,
})
hk.GroupRoutes("/v1/medication", r, auth.GuardMW, hk.MapHandlerFunc{
"GET /": medication.O.GetList,