@@ -1450,6 +1450,7 @@ func (c *HisApiController) GetRegisterInfo() {
}
} else {
+
his, err := service.GetHisPatientInfo(adminInfo.CurrentOrgId, patient.ID, recordDateTime)
if err == gorm.ErrRecordNotFound || his.ID == 0 {
patient := models.XtHisPatient{