|
@@ -9,6 +9,7 @@ import com.lantone.qc.pub.model.doc.DoctorAdviceDoc;
|
|
import com.lantone.qc.pub.model.doc.FirstPageRecordDoc;
|
|
import com.lantone.qc.pub.model.doc.FirstPageRecordDoc;
|
|
import com.lantone.qc.pub.model.doc.LisDoc;
|
|
import com.lantone.qc.pub.model.doc.LisDoc;
|
|
import com.lantone.qc.pub.model.doc.PacsDoc;
|
|
import com.lantone.qc.pub.model.doc.PacsDoc;
|
|
|
|
+import com.lantone.qc.pub.util.ListUtil;
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
@@ -17,13 +18,14 @@ import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @ClassName : MEDI03116
|
|
* @Description: 病理检查缺少病理检查报告单
|
|
* @Description: 病理检查缺少病理检查报告单
|
|
* @author: zh
|
|
* @author: zh
|
|
* @time: 2021/04/06 11:22
|
|
* @time: 2021/04/06 11:22
|
|
*/
|
|
*/
|
|
|
|
|
|
@Component
|
|
@Component
|
|
-public class OPE0310 extends QCCatalogue {
|
|
|
|
|
|
+public class MEDI03116 extends QCCatalogue {
|
|
@Override
|
|
@Override
|
|
protected void start(InputInfo inputInfo, OutputInfo outputInfo) throws ParseException {
|
|
protected void start(InputInfo inputInfo, OutputInfo outputInfo) throws ParseException {
|
|
status.set("0");
|
|
status.set("0");
|
|
@@ -31,6 +33,9 @@ public class OPE0310 extends QCCatalogue {
|
|
if (firstPageRecordDoc == null) {
|
|
if (firstPageRecordDoc == null) {
|
|
//病案首页为空判断医嘱
|
|
//病案首页为空判断医嘱
|
|
List<DoctorAdviceDoc> doctorAdviceDocs = inputInfo.getDoctorAdviceDocs();
|
|
List<DoctorAdviceDoc> doctorAdviceDocs = inputInfo.getDoctorAdviceDocs();
|
|
|
|
+ if(ListUtil.isEmpty(doctorAdviceDocs)){
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if (doctorAdviceDocs.size() == 0) {
|
|
if (doctorAdviceDocs.size() == 0) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -60,11 +65,14 @@ public class OPE0310 extends QCCatalogue {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- String pathologyMoneyStr = firstPageRecordDoc.getStructureMap().get("病理诊疗费").toString();
|
|
|
|
- String operationMoneyStr = firstPageRecordDoc.getStructureMap().get("手术费").toString();
|
|
|
|
- if ((pathologyMoneyStr.equals("0") && StringUtil.isEmpty(pathologyMoneyStr)) || operationMoneyStr.equals("0") && StringUtil.isEmpty(operationMoneyStr)) {
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
|
|
+ String pathologyMoneyStr = firstPageRecordDoc.getStructureMap().get("病理诊断费");
|
|
|
|
+ String operationMoneyStr = firstPageRecordDoc.getStructureMap().get("手术费");
|
|
|
|
+ if(StringUtil.isEmpty(pathologyMoneyStr)||StringUtil.isEmpty(operationMoneyStr)){
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if ((pathologyMoneyStr.equals("0") || operationMoneyStr.equals("0") )) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
double a = Double.parseDouble(pathologyMoneyStr);
|
|
double a = Double.parseDouble(pathologyMoneyStr);
|
|
double b = Double.parseDouble(operationMoneyStr);
|
|
double b = Double.parseDouble(operationMoneyStr);
|
|
if (a > Content.pathologicalFee && b > 0) {
|
|
if (a > Content.pathologicalFee && b > 0) {
|