Merge branch 'migration-vanilia' of https://github.com/dikstub-rssa/simrs-be into feat/encounter-adjustment-142
# Conflicts: # internal/domain/main-entities/rehab/dto.go # internal/use-case/main-use-case/encounter/lib.go
This commit is contained in:
@@ -35,6 +35,7 @@ import (
|
||||
soapi "simrs-vx/internal/interface/main-handler/soapi"
|
||||
|
||||
/******************** actor ********************/
|
||||
|
||||
doctor "simrs-vx/internal/interface/main-handler/doctor"
|
||||
employee "simrs-vx/internal/interface/main-handler/employee"
|
||||
nurse "simrs-vx/internal/interface/main-handler/nurse"
|
||||
@@ -270,8 +271,8 @@ func SetRoutes() http.Handler {
|
||||
hc.RegCrud(r, "/v1/person-contact", personcontact.O)
|
||||
hc.RegCrud(r, "/v1/person-insurance", personinsurance.O)
|
||||
hc.RegCrud(r, "/v1/employee", employee.O)
|
||||
hc.RegCrud(r, "/v1/doctor", doctor.O)
|
||||
hc.RegCrud(r, "/v1/nurse", nurse.O)
|
||||
hc.RegCrudByCode(r, "/v1/doctor", doctor.O)
|
||||
hc.RegCrudByCode(r, "/v1/nurse", nurse.O)
|
||||
hc.RegCrud(r, "/v1/nutritionist", nutritionist.O)
|
||||
hc.RegCrud(r, "/v1/pharmacist", pharmacist.O)
|
||||
hk.GroupRoutes("/v1/user", r, hk.MapHandlerFunc{
|
||||
@@ -295,40 +296,40 @@ func SetRoutes() http.Handler {
|
||||
})
|
||||
|
||||
/******************** sources ********************/
|
||||
hc.RegCrud(r, "/v1/division", division.O)
|
||||
hc.RegCrud(r, "/v1/division-position", divisionposition.O)
|
||||
hc.RegCrud(r, "/v1/installation", installation.O)
|
||||
hc.RegCrud(r, "/v1/unit", unit.O)
|
||||
hc.RegCrudByCode(r, "/v1/division", division.O)
|
||||
hc.RegCrudByCode(r, "/v1/division-position", divisionposition.O)
|
||||
hc.RegCrudByCode(r, "/v1/installation", installation.O)
|
||||
hc.RegCrudByCode(r, "/v1/unit", unit.O)
|
||||
hc.RegCrudByCode(r, "/v1/installation-position", installationposition.O)
|
||||
hc.RegCrudByCode(r, "/v1/unit-position", unitposition.O)
|
||||
hc.RegCrudByCode(r, "/v1/specialist", specialist.O)
|
||||
hc.RegCrudByCode(r, "/v1/subspecialist", subspecialist.O)
|
||||
hc.RegCrudByCode(r, "/v1/specialist-position", specialistposition.O)
|
||||
hc.RegCrudByCode(r, "/v1/subspecialist-position", subspecialistposition.O)
|
||||
hc.RegCrudByCode(r, "/v1/infra", infra.O)
|
||||
hc.RegCrud(r, "/v1/pharmacy-company", pharmacycompany.O)
|
||||
hc.RegCrud(r, "/v1/diagnose-src", diagnosesrc.O)
|
||||
hc.RegCrud(r, "/v1/procedure-src", proceduresrc.O)
|
||||
hc.RegCrud(r, "/v1/uom", uom.O)
|
||||
hc.RegCrud(r, "/v1/item", item.O)
|
||||
hc.RegCrudByCode(r, "/v1/item", item.O)
|
||||
hc.RegCrud(r, "/v1/item-price", itemprice.O)
|
||||
hc.RegCrud(r, "/v1/infra", infra.O)
|
||||
hc.RegCrud(r, "/v1/medicine-group", medicinegroup.O)
|
||||
hc.RegCrud(r, "/v1/medicine-method", medicinemethod.O)
|
||||
hc.RegCrud(r, "/v1/mcu-src-category", mcusrccategory.O)
|
||||
hc.RegCrud(r, "/v1/mcu-src", mcusrc.O)
|
||||
hc.RegCrud(r, "/v1/ethnic", ethnic.O)
|
||||
hc.RegCrud(r, "/v1/insurance-company", insurancecompany.O)
|
||||
hc.RegCrud(r, "/v1/medicine", medicine.O)
|
||||
hc.RegCrud(r, "/v1/device", device.O)
|
||||
hc.RegCrud(r, "/v1/material", material.O)
|
||||
hc.RegCrudByCode(r, "/v1/medicine", medicine.O)
|
||||
hc.RegCrudByCode(r, "/v1/device", device.O)
|
||||
hc.RegCrudByCode(r, "/v1/material", material.O)
|
||||
hc.RegCrud(r, "/v1/doctor-fee", doctorfee.O)
|
||||
hc.RegCrud(r, "/v1/medical-action-src", medicalactionsrc.O)
|
||||
hc.RegCrud(r, "/v1/medical-action-src-item", medicalactionsrcitem.O)
|
||||
hc.RegCrud(r, "/v1/language", language.O)
|
||||
hc.RegCrud(r, "/v1/specialist", specialist.O)
|
||||
hc.RegCrud(r, "/v1/subspecialist", subspecialist.O)
|
||||
hc.RegCrud(r, "/v1/mcu-sub-src", mcusubsrc.O)
|
||||
hc.RegCrud(r, "/v1/vehicle", vehicle.O)
|
||||
hc.RegCrud(r, "/v1/vehicle-hist", vehiclehist.O)
|
||||
hc.RegCrud(r, "/v1/edu-assessment", eduassesment.O)
|
||||
hc.RegCrud(r, "/v1/installation-position", installationposition.O)
|
||||
hc.RegCrud(r, "/v1/unit-position", unitposition.O)
|
||||
hc.RegCrud(r, "/v1/specialist-position", specialistposition.O)
|
||||
hc.RegCrud(r, "/v1/subspecialist-position", subspecialistposition.O)
|
||||
|
||||
hc.RegCrud(r, "/v1/village", village.O)
|
||||
hc.RegCrud(r, "/v1/district", district.O)
|
||||
|
||||
Reference in New Issue
Block a user