|
@@ -594,6 +594,38 @@ public class ConsoleFacade {
|
|
|
map.put("MR",Long.valueOf(codeMri.size()));
|
|
|
return map;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取无病案首页抗菌药物使用人数
|
|
|
+ * @param filterVO
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public int getAntibiosisNum(FilterVO filterVO){
|
|
|
+ List<String> adviceVerify = adviceVerify(filterVO);
|
|
|
+ int operationNum=0;
|
|
|
+ for (String behospitalCode : adviceVerify) {
|
|
|
+ QueryWrapper<DoctorAdvice> dtoQueryWrapper = new QueryWrapper<>();
|
|
|
+ dtoQueryWrapper.eq("behospital_code",behospitalCode)
|
|
|
+ .eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
+ .eq("doctor_advice_type",QualityContent.STAT_ORDER)
|
|
|
+ .eq("da_status","执行");
|
|
|
+ //查医嘱表
|
|
|
+ List<DoctorAdvice> doctorAdvices = doctorAdviceFacade.getBaseMapper().selectList(dtoQueryWrapper);
|
|
|
+ doc:
|
|
|
+ for (DoctorAdvice doctorAdvice : doctorAdvices) {
|
|
|
+ String daItemName = doctorAdvice.getDaItemName();
|
|
|
+ List<String> antimicrobialDrugList = QualityContent.Antimicrobial_Drug_List;
|
|
|
+ for (String antimicrobialDrug : antimicrobialDrugList) {
|
|
|
+ if(daItemName.contains(antimicrobialDrug)) {
|
|
|
+ //医嘱包含抗菌药物名称
|
|
|
+ operationNum++;
|
|
|
+ break doc;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return operationNum;
|
|
|
+ }
|
|
|
/**
|
|
|
* 质控病历统计
|
|
|
*
|