瀏覽代碼

既往史set文本信息

kongwz 5 年之前
父節點
當前提交
ef1455b594

+ 1 - 1
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH0010.java

@@ -30,7 +30,7 @@ public class BEH0010 extends QCCatalogue {
             while (diagIterator.hasNext()){
                 Diag diag = diagIterator.next();
                 String diagName = diag.getName();
-                if(diagName.contains("癌") || diagName.contains("瘤") || diagName.contains("复诊")){
+                if(diagName.contains("癌") || diagName.contains("瘤") || diagName.contains("复诊")|| diagName.contains("术后")){
                     diagIterator.remove();
                 }
             }

+ 3 - 1
kernel/src/main/java/com/lantone/qc/kernel/structure/ai/BeHospitalizedAI.java

@@ -193,7 +193,9 @@ public class BeHospitalizedAI {
         JSONObject aiOut = jsonObject.getJSONObject(entityRelationObject).getJSONObject(BeHospitalizedAI.outputs);
         //放置入inputinfo
         EntityProcessPast entityProcessPast = new EntityProcessPast();
-        inputInfo.getBeHospitalizedDoc().setPastLabel(entityProcessPast.extractEntity(aiOut));
+        PastLabel pastLabel = entityProcessPast.extractEntity(aiOut);
+        pastLabel.setText(inputInfo.getBeHospitalizedDoc().getPastLabel().getText());
+        inputInfo.getBeHospitalizedDoc().setPastLabel(pastLabel);
 
     }