feat (encounter): create and checkout + checking soapi done
This commit is contained in:
@@ -125,10 +125,10 @@ func SetRoutes() http.Handler {
|
||||
"POST /": encounter.O.Create,
|
||||
"PATCH /{id}": encounter.O.Update,
|
||||
"DELETE /{id}": encounter.O.Delete,
|
||||
"PATCH /{id}/checkOut": encounter.O.CheckOut,
|
||||
"PATCH /{id}/checkout": encounter.O.CheckOut,
|
||||
})
|
||||
|
||||
hc.RegCrud(r, "/v1/soapi", soapi.O)
|
||||
hc.RegCrud(r, "/v1/soapi", auth.GuardMW, soapi.O)
|
||||
hc.RegCrud(r, "/v1/adime", adime.O)
|
||||
hc.RegCrud(r, "/v1/sbar", sbar.O)
|
||||
hc.RegCrud(r, "/v1/person", person.O)
|
||||
|
||||
Reference in New Issue
Block a user