|
@ -4,6 +4,7 @@ import com.yihu.wlyy.adapter.PresModeAdapter;
|
|
|
import com.yihu.wlyy.entity.dict.SystemDict;
|
|
|
import com.yihu.wlyy.entity.doctor.profile.Doctor;
|
|
|
import com.yihu.wlyy.entity.doctor.team.admin.AdminTeam;
|
|
|
import com.yihu.wlyy.entity.followup.Followup;
|
|
|
import com.yihu.wlyy.entity.patient.Patient;
|
|
|
import com.yihu.wlyy.entity.patient.SignFamily;
|
|
|
import com.yihu.wlyy.entity.patient.prescription.*;
|
|
@ -495,6 +496,8 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
Patient p = patientDao.findByCode(patient);
|
|
|
String rs = jwPrescriptionService.getRecipe(code, p.getSsc());
|
|
|
com.alibaba.fastjson.JSONObject r = presModeAdapter.modelToSinglePrescription(rs);
|
|
|
|
|
|
Followup followup = followUpDao.getFollowupByPrescriptionCode(code);
|
|
|
String rState = presCheckStateObj(code);
|
|
|
if ("1".equals(rState)) {
|
|
|
r.put("reviewedState", 1);
|
|
@ -503,6 +506,7 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
r.put("reviewedState", 0);
|
|
|
r.put("prescriptionCode", rState);
|
|
|
}
|
|
|
r.put("followup",followup);
|
|
|
|
|
|
return r;
|
|
|
}
|