feat (encounter): add flow to insert adm employee

This commit is contained in:
dpurbosakti
2025-10-16 12:16:51 +07:00
parent 2fb47d0d48
commit d4806d90fb
4 changed files with 23 additions and 2 deletions
@@ -15,6 +15,8 @@ import (
erc "simrs-vx/internal/domain/references/common"
ere "simrs-vx/internal/domain/references/encounter"
pa "simrs-vx/pkg/auth-helper"
)
type CreateDto struct {
@@ -33,10 +35,12 @@ type CreateDto struct {
Ref_Number *string `json:"ref_number" validate:"maxLength=20"`
Trx_Number *string `json:"trx_number" validate:"maxLength=20"`
Appointment_Doctor_Id *uint `json:"appointment_doctor_id"`
Adm_Employee_Id *uint `json:"adm_employee_id"`
Adm_Employee_Id *uint `json:"-"`
Responsible_Doctor_Id *uint `json:"responsible_doctor_id"`
RefSource_Name *string `json:"refSource_name" validate:"maxLength=100"`
Appointment_Id *uint `json:"appointment_id"`
pa.AuthInfo
}
type ReadListDto struct {