浏览代码

长兴评分知情书和告知书屏蔽

rengb 5 年之前
父节点
当前提交
41d3570f07

+ 2 - 2
kernel/src/main/resources/application.yml

@@ -28,10 +28,10 @@ qc:
   hospital_id: 3
 
 CRF:
-  url: http://192.168.3.150:3456/api/mr_info_ex/entity_predict
+  url: http://192.168.2.234:3456/api/mr_info_ex/entity_predict
 
 Similarity:
-  url: http://192.168.3.150:3456/api/mr_info_ex/similarity
+  url: http://192.168.2.234:3456/api/mr_info_ex/similarity
 
 
 logging:          # 日志

+ 16 - 16
trans/src/main/java/com/lantone/qc/trans/changx/ChangxDocTrans.java

@@ -109,14 +109,14 @@ public class ChangxDocTrans extends DocTrans {
                 ChangxThreeLevelWardDocTrans threeLevelWardDocTrans = new ChangxThreeLevelWardDocTrans();
                 inputInfo.setThreeLevelWardDocs(threeLevelWardDocTrans.extract(i));
             }
-            if (i.getTitle().equals("知情同意书")) {
-                ChangxInformedConsentDocTrans informedConsentDocTrans = new ChangxInformedConsentDocTrans();
-                inputInfo.setInformedConsentDoc(informedConsentDocTrans.extract(i));
-            }
-            if (i.getTitle().equals("谈话告知书")) {
-                ChangxNoticeOfConversationDocTrans noticeOfConversationDocTrans = new ChangxNoticeOfConversationDocTrans();
-                inputInfo.setNoticeOfConversationDoc(noticeOfConversationDocTrans.extract(i));
-            }
+//            if (i.getTitle().equals("知情同意书")) {
+//                ChangxInformedConsentDocTrans informedConsentDocTrans = new ChangxInformedConsentDocTrans();
+//                inputInfo.setInformedConsentDoc(informedConsentDocTrans.extract(i));
+//            }
+//            if (i.getTitle().equals("谈话告知书")) {
+//                ChangxNoticeOfConversationDocTrans noticeOfConversationDocTrans = new ChangxNoticeOfConversationDocTrans();
+//                inputInfo.setNoticeOfConversationDoc(noticeOfConversationDocTrans.extract(i));
+//            }
         }
         pageDataHandle(inputInfo);
         return inputInfo;
@@ -227,14 +227,14 @@ public class ChangxDocTrans extends DocTrans {
                             .map(operationDoc -> operationDoc.getPreoperativeDiscussionDoc().getPageData())
                             .collect(Collectors.toList())
             );
-            inputInfo.getPageData().put(
-                    "手术知情同意书",
-                    inputInfo.getOperationDocs()
-                            .stream()
-                            .filter(operationDoc -> operationDoc != null && operationDoc.getOperationInformedConsentDoc() != null)
-                            .map(operationDoc -> operationDoc.getOperationInformedConsentDoc().getPageData())
-                            .collect(Collectors.toList())
-            );
+//            inputInfo.getPageData().put(
+//                    "手术知情同意书",
+//                    inputInfo.getOperationDocs()
+//                            .stream()
+//                            .filter(operationDoc -> operationDoc != null && operationDoc.getOperationInformedConsentDoc() != null)
+//                            .map(operationDoc -> operationDoc.getOperationInformedConsentDoc().getPageData())
+//                            .collect(Collectors.toList())
+//            );
             inputInfo.getPageData().put(
                     "手术安全核查表",
                     inputInfo.getOperationDocs()