feat (encounter): update validation maxlength dischargeMethod_code

This commit is contained in:
dpurbosakti
2025-10-13 12:17:03 +07:00
parent 26366c43c5
commit 17e7875d4f
@@ -77,7 +77,7 @@ type MetaDto struct {
}
type DischargeDto struct {
Id uint `json:"id"`
DischargeMethod_Code *ere.DischargeMethodCode `json:"dischargeMethod_code" validate:"maxLength=10"`
DischargeMethod_Code *ere.DischargeMethodCode `json:"dischargeMethod_code" validate:"maxLength=16"`
EarlyEducation *string `json:"earlyEducation"`
MedicalDischargeEducation *string `json:"medicalDischargeEducation"`
AdmDischargeEducation *string `json:"admDischargeEducation"`