|
|
@@ -32,6 +32,9 @@ public class JzYbData implements ZyOrJzYbData {
|
|
|
if (null == admMdtrtinfo) {
|
|
|
throw new BizException("没有查询到此患者的参保信息,请按正确流程操作。");
|
|
|
}
|
|
|
+ if (admMdtrtinfo.getMdtrtCertType().equals("01")) {
|
|
|
+ admMdtrtinfo.setMdtrtCertType("02");
|
|
|
+ }
|
|
|
Date setlEndTime = dao.selectSetlEndTime(jzptnt.getInpatientNo(), jzptnt.getAdmissTimes());
|
|
|
if (null != setlEndTime && setlEndTime.after(admMdtrtinfo.getBegntime())) {
|
|
|
throw new BizException(ExceptionEnum.LOGICAL_ERROR, "此患者有 " +
|
|
|
@@ -65,6 +68,9 @@ public class JzYbData implements ZyOrJzYbData {
|
|
|
|
|
|
private List<AdmDiseinfo> makeAdmDiseinfoFromIcd(String patNo, int times, CodeName icd) {
|
|
|
AdmMdtrtinfo admMdtrtinfo = dao.selectAdmMdtrtinfo(patNo, times);
|
|
|
+ if (admMdtrtinfo.getMdtrtCertType().equals("01")) {
|
|
|
+ admMdtrtinfo.setMdtrtCertType("02");
|
|
|
+ }
|
|
|
String[] icdCodeArr = icd.getCode().split(",");
|
|
|
String[] icdNameArr = icd.getName().split(",");
|
|
|
List<AdmDiseinfo> list = new ArrayList<>();
|