|
@@ -13,8 +13,6 @@ import thyyxxk.webserver.constants.sidicts.*;
|
|
|
import thyyxxk.webserver.dao.his.medicalinsurance.DigitalReceiptDao;
|
|
|
import thyyxxk.webserver.dao.his.medicalinsurance.SiMzDao;
|
|
|
import thyyxxk.webserver.entity.ResultVo;
|
|
|
-import thyyxxk.webserver.entity.dictionary.CodeName;
|
|
|
-import thyyxxk.webserver.entity.inpatient.doctorsadvise.BriefPatInfo;
|
|
|
import thyyxxk.webserver.entity.markmtfees.*;
|
|
|
import thyyxxk.webserver.entity.medicalinsurance.digitalreceipt.*;
|
|
|
import thyyxxk.webserver.entity.medicalinsurance.digitalreceipt.request.*;
|
|
@@ -496,12 +494,6 @@ public class SiMzService {
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
- if (!isInsuplcAdmdvsEligible(insuInfo.getInsuplcAdmdvs())) {
|
|
|
- result.put("code", -1);
|
|
|
- result.put("msg", "患者参保地不满足门诊统筹要求。");
|
|
|
- return result;
|
|
|
- }
|
|
|
-
|
|
|
psninfo.setInsutype(insuInfo.getInsutype());
|
|
|
int count = dao.selectSiMzInfoCount(mzptnt.getPatNo(), mzptnt.getTimes());
|
|
|
if (count == 0) {
|
|
@@ -523,19 +515,6 @@ public class SiMzService {
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
- private InsuInfo getEmployeeInsuInfo(List<InsuInfo> list) {
|
|
|
- for (InsuInfo info : list) {
|
|
|
- Insutype insutype = Insutype.get(info.getInsutype());
|
|
|
- if (null == insutype) {
|
|
|
- continue;
|
|
|
- }
|
|
|
- if (insutype == Insutype.BASIC_MEDICAL_INSURANCE_FOR_EMPLOYEES) {
|
|
|
- return info;
|
|
|
- }
|
|
|
- }
|
|
|
- return null;
|
|
|
- }
|
|
|
-
|
|
|
private InsuInfo getResidantOrEmployeeInsuInfo(List<InsuInfo> list) {
|
|
|
for (InsuInfo info : list) {
|
|
|
Insutype insutype = Insutype.get(info.getInsutype());
|
|
@@ -550,10 +529,6 @@ public class SiMzService {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
- private boolean isInsuplcAdmdvsEligible(String insuplc) {
|
|
|
- return !insuplc.startsWith("4304") && !insuplc.startsWith("4307");
|
|
|
- }
|
|
|
-
|
|
|
private int expContentRequired(String insuplc) {
|
|
|
return (insuplc.startsWith("4301") || insuplc.equals("439900")) ? 0 : 1;
|
|
|
}
|