|
@@ -1041,9 +1041,8 @@ func (this *HisProjectApiController) GetDoctorAdvicePrint() {
|
1041
|
1041
|
adminUserInfo := this.GetAdminUserInfo()
|
1042
|
1042
|
advicePrint, err := service.GetDoctorAdvicePrint(patient_id, recordDateTime, idStrs, adminUserInfo.CurrentOrgId)
|
1043
|
1043
|
projectlist, err := service.GetAllProjectList(adminUserInfo.CurrentOrgId)
|
1044
|
|
- //doctorPorject, err := service.GetDoctorProjectItem(patient_id, recordDateTime)
|
1045
|
|
- //patient, err := service.GetBloodPatientByPatient(patient_id)
|
1046
|
|
- //prescriptionInfo, err := service.GetPrscriptionInfo(patient_id, recordDateTime)
|
|
1044
|
+ //prescriptionInfo, _ := service.GetPrscriptionInfo(patient_id, recordDateTime)
|
|
1045
|
+ hisPatient, _ := service.GetHisPatientById(patient_id)
|
1047
|
1046
|
if err != nil {
|
1048
|
1047
|
this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeUpdateConfig)
|
1049
|
1048
|
return
|
|
@@ -1051,9 +1050,7 @@ func (this *HisProjectApiController) GetDoctorAdvicePrint() {
|
1051
|
1050
|
this.ServeSuccessJSON(map[string]interface{}{
|
1052
|
1051
|
"advicePrint": advicePrint,
|
1053
|
1052
|
"projectlist": projectlist,
|
1054
|
|
- //"patient": patient,
|
1055
|
|
- //"doctorPorject": doctorPorject,
|
1056
|
|
- //"prescriptionInfo": prescriptionInfo,
|
|
1053
|
+ "hisPatient": hisPatient,
|
1057
|
1054
|
})
|
1058
|
1055
|
}
|
1059
|
1056
|
|