Browse Source

添加手术

zhoutg 4 năm trước cách đây
mục cha
commit
0733456d57

+ 2 - 0
src/main/java/com/diagbot/dto/WordCrfDTO.java

@@ -40,6 +40,8 @@ public class WordCrfDTO {
     private List<Pacs> pacs = new ArrayList<>();
     // 药品
     private List<Drug> drug = new ArrayList<>();
+    // 手术及操作
+    private List<Item> operation = new ArrayList<>();
     // 主诉
     private ChiefLabel chiefLabel = new ChiefLabel();
     // 现病史

+ 3 - 0
src/main/java/com/diagbot/facade/CommonFacade.java

@@ -58,6 +58,9 @@ public class CommonFacade {
         if (ListUtil.isNotEmpty(searchData.getDrug())) {
             wordCrfDTO.setDrug(searchData.getDrug());
         }
+        if (ListUtil.isNotEmpty(searchData.getOperation())) {
+            wordCrfDTO.setOperation(searchData.getOperation());
+        }
         if (ListUtil.isNotEmpty(searchData.getLisOrder())) {
             wordCrfDTO.setLisOrder(searchData.getLisOrder());
         }