|
@@ -639,36 +639,6 @@ public class SiZyService {
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, result.getString(ERROR_MESSAGE));
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, result.getString(ERROR_MESSAGE));
|
|
}
|
|
}
|
|
|
|
|
|
- private int calculateHiPaymtd(SiSetlinfo setlInfo) {
|
|
|
|
- String medType = setlInfo.getMedType();
|
|
|
|
- String insuplcAdmdvs = setlInfo.getInsuplcAdmdvs();
|
|
|
|
- String insutype = setlInfo.getInsutype();
|
|
|
|
- if("439900".equals(insuplcAdmdvs)){
|
|
|
|
- return 4;
|
|
|
|
- }
|
|
|
|
- //先按drg上传 长沙 4301 株洲4302 湘潭 4303 衡阳4304 郴州4310 省本级 439900
|
|
|
|
- String[] drgCityCode = {"4301","4302","4303","4304","4310"};
|
|
|
|
- for(String code:drgCityCode){
|
|
|
|
- if(insuplcAdmdvs.startsWith(code)){
|
|
|
|
- return 4;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- if (medType.equals("2101") || medType.equals("22")) {
|
|
|
|
- List<String> insuplcAdmdvses = Arrays.asList("430121", "430181");
|
|
|
|
- List<String> insutypes = Arrays.asList("340", "350");
|
|
|
|
- if (!insuplcAdmdvs.startsWith("4301") || insuplcAdmdvses.contains(insuplcAdmdvs) || insutypes.contains(insutype)) {
|
|
|
|
- return 1;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- if (medType.equals("2106") || medType.equals("2107") || medType.equals("52")) {
|
|
|
|
- return 1;
|
|
|
|
- }
|
|
|
|
- if (medType.equals("2102")) {
|
|
|
|
- return 2;
|
|
|
|
- }
|
|
|
|
- return 3;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public ResultVo<String> revokeSettlement(ZyPatientInfo p) {
|
|
public ResultVo<String> revokeSettlement(ZyPatientInfo p) {
|
|
SiPatInfo siPatInfo = queryDao.selectSiPatInfoForZy(p.getInpatientNo(), p.getAdmissTimes(), p.getLedgerSn());
|
|
SiPatInfo siPatInfo = queryDao.selectSiPatInfoForZy(p.getInpatientNo(), p.getAdmissTimes(), p.getLedgerSn());
|
|
if (null == p.getStaffId()) {
|
|
if (null == p.getStaffId()) {
|