Browse Source

其他史修改

wangyu 6 years ago
parent
commit
62891ffde9

+ 1 - 0
aipt-service/src/main/java/com/diagbot/facade/ConceptFacade.java

@@ -283,6 +283,7 @@ public class ConceptFacade extends ConceptServiceImpl {
                 typeList.add(LexiconTypeEnum.HISTORY_OF_DRUG_ALLERGY.getKey());
                 typeList.add(LexiconTypeEnum.FAMILY_RELATED_INFECTIOUS_DISEASE_HISTORY.getKey());
                 retrievalVO.setOtherType(typeList);
+                retrievalVO.setType(null);
                 bla = false;
             }
             if (bla) {

+ 14 - 0
aipt-service/src/main/java/com/diagbot/util/ParamConvertUtil.java

@@ -83,6 +83,19 @@ public class ParamConvertUtil {
             case SYMPTOM:
                 type = ConceptTypeEnum.Symptom.getKey();
                 break;
+            case HISTORY_OF_PAST_DISEASES:
+            case HISTORY_OF_TRAUMA:
+            case HISTORY_OF_SURGERY:
+            case HISTORY_OF_BLOOD_TRANSFUSION:
+            case INFECTIOUS_DISEASE_HISTORY:
+            case BAD_HABITS:
+            case MARITAL_HISTORY:
+            case HISTORY_OF_MARRIAGE_AND_CHILDBEARING:
+            case BIRTH_HISTORY:
+            case FAMILY_HISTORY:
+            case FOOD_ALLERGY_HISTORY:
+            case HISTORY_OF_DRUG_ALLERGY:
+            case FAMILY_RELATED_INFECTIOUS_DISEASE_HISTORY:
             case HISTORY:
                 type = ConceptTypeEnum.Other.getKey();
                 break;
@@ -125,6 +138,7 @@ public class ParamConvertUtil {
             case DEPARTMENT:
                 type = ConceptTypeEnum.DEPARTMENT.getKey();
                 break;
+
             default:
                 break;
         }