|
@@ -1411,7 +1411,7 @@ func (c *HisApiController) GetHisPatientList() {
|
1411
|
1411
|
|
1412
|
1412
|
patients, _ := service.GetNewHisPatientList(adminInfo.CurrentOrgId, recordDateTime, sch_type)
|
1413
|
1413
|
patients_two, _ := service.GetScheduleHisPatientList(adminInfo.CurrentOrgId, "", recordDateTime, sch_type)
|
1414
|
|
- patient_three, _ := service.GetNewHisPatientListTwo(adminInfo.CurrentOrgId, recordDateTime, sch_type)
|
|
1414
|
+
|
1415
|
1415
|
|
1416
|
1416
|
|
1417
|
1417
|
|
|
@@ -1420,10 +1420,15 @@ func (c *HisApiController) GetHisPatientList() {
|
1420
|
1420
|
doctors, _ := service.GetHisAdminUserDoctors(adminInfo.CurrentOrgId)
|
1421
|
1421
|
|
1422
|
1422
|
department, _ := service.GetAllDepartMent(adminInfo.CurrentOrgId)
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+ noElementsSlice := make([]service.PatientThree, 0)
|
1423
|
1426
|
c.ServeSuccessJSON(map[string]interface{}{
|
|
1427
|
+
|
1424
|
1428
|
"list": patients,
|
1425
|
1429
|
"list_two": patients_two,
|
1426
|
|
- "list_three": patient_three,
|
|
1430
|
+ "list_three": noElementsSlice,
|
|
1431
|
+
|
1427
|
1432
|
"info": adminUserInfo,
|
1428
|
1433
|
"doctors": doctors,
|
1429
|
1434
|
"department": department,
|
|
@@ -9825,6 +9830,8 @@ func (c *HisApiController) GetHisChargePatientInfo() {
|
9825
|
9830
|
|
9826
|
9831
|
department, _ := service.GetAllDepartMent(admin.CurrentOrgId)
|
9827
|
9832
|
|
|
9833
|
+ sch, _ := service.GetScheduleByDate(c.GetAdminUserInfo().CurrentOrgId, recordDateTime, patient_id)
|
|
9834
|
+
|
9828
|
9835
|
c.ServeSuccessJSON(map[string]interface{}{
|
9829
|
9836
|
"his_info": his_patient_info,
|
9830
|
9837
|
"xt_info": xt_patient_info,
|
|
@@ -9835,6 +9842,7 @@ func (c *HisApiController) GetHisChargePatientInfo() {
|
9835
|
9842
|
"order": order,
|
9836
|
9843
|
"doctors": doctors,
|
9837
|
9844
|
"department": department,
|
|
9845
|
+ "sch": sch,
|
9838
|
9846
|
})
|
9839
|
9847
|
return
|
9840
|
9848
|
}
|