Explorar o código

入院记录由非执业医师书写,执业医师未在24小时内

kongwz %!s(int64=5) %!d(string=hai) anos
pai
achega
73c550e868

+ 5 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH0495.java

@@ -33,6 +33,11 @@ public class BEH0495 extends QCCatalogue {
         String shPerson = structureMap.get("审核人");
         String jlDate = structureMap.get("记录日期");
         String shDate = structureMap.get("审核日期");
+        boolean before = StringUtil.parseDateTime(shDate).before(StringUtil.parseDateTime(jlDate));
+        if(before){
+            status.set("-1");
+            return;
+        }
         if (!CatalogueUtil.isOccup(shPerson) || CatalogueUtil.compareTime(StringUtil.parseDateTime(jlDate), StringUtil.parseDateTime(shDate), 24 * 60L)) {
             status.set("-1");
         }