delete comment
This commit is contained in:
@@ -19,33 +19,6 @@ func validateRequestCheckout(w http.ResponseWriter, i e.DischargeDto) (valid boo
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
//case ere.DMCConsulPoly, ere.DMCConsulExecutive:
|
||||
// if i.InternalReferences == nil {
|
||||
// rw.DataResponse(w, nil, d.FieldError{
|
||||
// Code: dataValidationFail,
|
||||
// Message: fmt.Sprintf("internalReferences required if discharge_method_code is %s", *i.Discharge_Method_Code),
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
//
|
||||
// for _, v := range *i.InternalReferences {
|
||||
// if v.Unit_Id == nil {
|
||||
// rw.DataResponse(w, nil, d.FieldError{
|
||||
// Code: dataValidationFail,
|
||||
// Message: "internalReferences.unit_id required",
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
//
|
||||
// if v.Doctor_Id == nil {
|
||||
// rw.DataResponse(w, nil, d.FieldError{
|
||||
// Code: dataValidationFail,
|
||||
// Message: "internalReferences.doctor_id required",
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
// }
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
@@ -513,11 +513,6 @@ func CheckOut(input e.DischargeDto) (*d.Data, error) {
|
||||
}
|
||||
}
|
||||
|
||||
//// bulk insert internal-references
|
||||
//if err = createInternalReferences(input, &event, tx); err != nil {
|
||||
// return err
|
||||
//}
|
||||
|
||||
pl.SetLogInfo(&event, nil, "complete")
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user