Browse Source

添加医院限制

zhoutg 3 years ago
parent
commit
1af3adbfa7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/main/java/com/diagbot/rule/OtherRule.java

+ 4 - 0
src/main/java/com/diagbot/rule/OtherRule.java

@@ -36,6 +36,10 @@ public class OtherRule {
      * @return
      * @return
      */
      */
     public void smhxjcAndYdteog(WordCrfDTO wordCrfDTO, IndicationDTO res) {
     public void smhxjcAndYdteog(WordCrfDTO wordCrfDTO, IndicationDTO res) {
+        // 七院特有
+        if (6 != wordCrfDTO.getHospitalId()) {
+            return;
+        }
         // 1、比较是否包含2种诊断
         // 1、比较是否包含2种诊断
         List<Item> diagAllList = wordCrfDTO.getDiag(); // 结构化诊断
         List<Item> diagAllList = wordCrfDTO.getDiag(); // 结构化诊断
         List<String> zsxList = Lists.newArrayList();// 阻塞性睡眠呼吸暂停综合征医院名称
         List<String> zsxList = Lists.newArrayList();// 阻塞性睡眠呼吸暂停综合征医院名称