|
@@ -81,7 +81,8 @@ public class THR03076 extends QCCatalogue {
|
|
drugName = structMap.get("医嘱项目名称");
|
|
drugName = structMap.get("医嘱项目名称");
|
|
value = structMap.get("医嘱单次剂量");
|
|
value = structMap.get("医嘱单次剂量");
|
|
startDateStr = structMap.get("医嘱开始时间");
|
|
startDateStr = structMap.get("医嘱开始时间");
|
|
- startDate = DateUtil.dateZeroClear(StringUtil.parseDateTime(startDateStr));
|
|
|
|
|
|
+// startDate = DateUtil.dateZeroClear(StringUtil.parseDateTime(startDateStr));
|
|
|
|
+ startDate = StringUtil.parseDateTime(startDateStr);
|
|
if (extData != null && extData.containsKey(startDate) && extData.get(startDate).equals(drugName)) {
|
|
if (extData != null && extData.containsKey(startDate) && extData.get(startDate).equals(drugName)) {
|
|
continue; //THR02985 医嘱有抗生素使用病程无记录,规则中没报未记录的抗生素继续走这条规则,报未记录的抗生素过滤
|
|
continue; //THR02985 医嘱有抗生素使用病程无记录,规则中没报未记录的抗生素继续走这条规则,报未记录的抗生素过滤
|
|
}
|
|
}
|
|
@@ -184,10 +185,10 @@ public class THR03076 extends QCCatalogue {
|
|
if ((adDate.before(wardDate) && !CatalogueUtil.compareTime(adDate, wardDate, 48 * 60L))
|
|
if ((adDate.before(wardDate) && !CatalogueUtil.compareTime(adDate, wardDate, 48 * 60L))
|
|
|| (wardDate.before(adDate) && !CatalogueUtil.compareTime(wardDate, adDate, 24 * 60L))) {
|
|
|| (wardDate.before(adDate) && !CatalogueUtil.compareTime(wardDate, adDate, 24 * 60L))) {
|
|
wardUsage.removeAll(adUsage);//比如adUsage有1.0、2.0,wardUsage中有2.0、3.0,removeAll之后wardUsage只剩3.0
|
|
wardUsage.removeAll(adUsage);//比如adUsage有1.0、2.0,wardUsage中有2.0、3.0,removeAll之后wardUsage只剩3.0
|
|
- if (wardUsage.size() == 0){
|
|
|
|
|
|
+ if (wardUsage.size() == 0) {
|
|
match = true;
|
|
match = true;
|
|
}
|
|
}
|
|
- adDateStr = DateUtil.formatDate(adDate);
|
|
|
|
|
|
+ adDateStr = DateUtil.formatDateTime(adDate);
|
|
if (!match && wardUsage.size() > 0 && !sb.toString().contains(drugKey + "(" + adDateStr + ")")) {
|
|
if (!match && wardUsage.size() > 0 && !sb.toString().contains(drugKey + "(" + adDateStr + ")")) {
|
|
infoAppend(sb, ai.getKey(), adDateStr);
|
|
infoAppend(sb, ai.getKey(), adDateStr);
|
|
break;
|
|
break;
|
|
@@ -218,7 +219,8 @@ public class THR03076 extends QCCatalogue {
|
|
for (Map<String, String> structMap : docAdvStruct) {
|
|
for (Map<String, String> structMap : docAdvStruct) {
|
|
drugName = structMap.get("医嘱项目名称");
|
|
drugName = structMap.get("医嘱项目名称");
|
|
startDateStr = structMap.get("医嘱开始时间");
|
|
startDateStr = structMap.get("医嘱开始时间");
|
|
- startDate = DateUtil.dateZeroClear(StringUtil.parseDateTime(startDateStr));
|
|
|
|
|
|
+// startDate = DateUtil.dateZeroClear(StringUtil.parseDateTime(startDateStr));
|
|
|
|
+ startDate = StringUtil.parseDateTime(startDateStr);
|
|
if (antibioticDateTimes.containsKey(drugName)) {
|
|
if (antibioticDateTimes.containsKey(drugName)) {
|
|
Map<Date, Integer> map = antibioticDateTimes.get(drugName);
|
|
Map<Date, Integer> map = antibioticDateTimes.get(drugName);
|
|
if (map.containsKey(startDate)) {
|
|
if (map.containsKey(startDate)) {
|