Parcourir la source

Merge branch 'master' into 122run

gaodm il y a 4 ans
Parent
commit
79ba5b5112
100 fichiers modifiés avec 8878 ajouts et 3 suppressions
  1. 602 0
      cdssman-service/doc/001.20210125自动化测试初始化脚本/cdss_init.sql
  2. 332 0
      cdssman-service/doc/001.20210125自动化测试初始化脚本/user_init.sql
  3. 26 2
      cdssman-service/pom.xml
  4. 1164 0
      cdssman-service/src/main/java/com/diagbot/aggregate/RuleTestAggregate.java
  5. 11 0
      cdssman-service/src/main/java/com/diagbot/client/CdssCoreClient.java
  6. 14 0
      cdssman-service/src/main/java/com/diagbot/client/hystrix/CdssCoreHystrix.java
  7. 1 1
      cdssman-service/src/main/java/com/diagbot/config/MybatisPlusConfigurer.java
  8. 63 0
      cdssman-service/src/main/java/com/diagbot/config/TransactionAspect.java
  9. 23 0
      cdssman-service/src/main/java/com/diagbot/dto/BillMsg.java
  10. 23 0
      cdssman-service/src/main/java/com/diagbot/dto/CaseResultDTO.java
  11. 23 0
      cdssman-service/src/main/java/com/diagbot/dto/CaseStaticResultDTO.java
  12. 170 0
      cdssman-service/src/main/java/com/diagbot/dto/ExportBillDTO.java
  13. 169 0
      cdssman-service/src/main/java/com/diagbot/dto/ExportBillTransfusionDTO.java
  14. 17 0
      cdssman-service/src/main/java/com/diagbot/dto/ExportCommonStaticTestDTO.java
  15. 30 0
      cdssman-service/src/main/java/com/diagbot/dto/ExportCommonTestDTO.java
  16. 158 0
      cdssman-service/src/main/java/com/diagbot/dto/ExportCriticalLisDTO.java
  17. 155 0
      cdssman-service/src/main/java/com/diagbot/dto/ExportCriticalPacsDTO.java
  18. 17 0
      cdssman-service/src/main/java/com/diagbot/dto/ExportLisStaticTestDTO.java
  19. 32 0
      cdssman-service/src/main/java/com/diagbot/dto/ExportLisTestDTO.java
  20. 27 0
      cdssman-service/src/main/java/com/diagbot/dto/IndicationDTO.java
  21. 147 0
      cdssman-service/src/main/java/com/diagbot/entity/CaseInfo.java
  22. 17 0
      cdssman-service/src/main/java/com/diagbot/entity/MappingShortEntity.java
  23. 408 0
      cdssman-service/src/main/java/com/diagbot/entity/ResultBill.java
  24. 356 0
      cdssman-service/src/main/java/com/diagbot/entity/ResultCritical.java
  25. 252 0
      cdssman-service/src/main/java/com/diagbot/entity/ResultHighriskDrug.java
  26. 386 0
      cdssman-service/src/main/java/com/diagbot/entity/ResultHighriskOperation.java
  27. 173 0
      cdssman-service/src/main/java/com/diagbot/entity/ResultInfo.java
  28. 385 0
      cdssman-service/src/main/java/com/diagbot/entity/ResultOtherLis.java
  29. 384 0
      cdssman-service/src/main/java/com/diagbot/entity/ResultOtherPacs.java
  30. 465 0
      cdssman-service/src/main/java/com/diagbot/entity/ResultOtherTransfusion.java
  31. 183 0
      cdssman-service/src/main/java/com/diagbot/entity/ResultStaticInfo.java
  32. 225 0
      cdssman-service/src/main/java/com/diagbot/entity/ResultStaticKnowledge.java
  33. 155 0
      cdssman-service/src/main/java/com/diagbot/entity/RunningInfo.java
  34. 41 0
      cdssman-service/src/main/java/com/diagbot/entity/node/Age.java
  35. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/Allergen.java
  36. 20 0
      cdssman-service/src/main/java/com/diagbot/entity/node/BillConcept.java
  37. 24 0
      cdssman-service/src/main/java/com/diagbot/entity/node/BillCondition.java
  38. 21 0
      cdssman-service/src/main/java/com/diagbot/entity/node/BillConflictItem.java
  39. 39 0
      cdssman-service/src/main/java/com/diagbot/entity/node/BillItem.java
  40. 37 0
      cdssman-service/src/main/java/com/diagbot/entity/node/BillItemDetail.java
  41. 38 0
      cdssman-service/src/main/java/com/diagbot/entity/node/ClinicalFinding.java
  42. 46 0
      cdssman-service/src/main/java/com/diagbot/entity/node/CombiOperation.java
  43. 26 0
      cdssman-service/src/main/java/com/diagbot/entity/node/ConflictDevice.java
  44. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/Dept.java
  45. 42 0
      cdssman-service/src/main/java/com/diagbot/entity/node/Disease.java
  46. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/EntityBaseInfo.java
  47. 102 0
      cdssman-service/src/main/java/com/diagbot/entity/node/EntityInfo.java
  48. 17 0
      cdssman-service/src/main/java/com/diagbot/entity/node/FoodAllergen.java
  49. 42 0
      cdssman-service/src/main/java/com/diagbot/entity/node/Gender.java
  50. 73 0
      cdssman-service/src/main/java/com/diagbot/entity/node/Group.java
  51. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/GuoLinDiseaseName.java
  52. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/GuoLinICD_10Code.java
  53. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/GuoLinICD_9_CM3Code.java
  54. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/GuoLinOperationName.java
  55. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/HerbDeptClass.java
  56. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/HerbFangJiCate.java
  57. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/HerbFangJiClass.java
  58. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/HerbYiBaoClass.java
  59. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/HerbZhiLiaoClass.java
  60. 51 0
      cdssman-service/src/main/java/com/diagbot/entity/node/Lis.java
  61. 21 0
      cdssman-service/src/main/java/com/diagbot/entity/node/LisAlias.java
  62. 30 0
      cdssman-service/src/main/java/com/diagbot/entity/node/LisBigName.java
  63. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/LisCode.java
  64. 41 0
      cdssman-service/src/main/java/com/diagbot/entity/node/LisCritical.java
  65. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/LisFirstClass.java
  66. 69 0
      cdssman-service/src/main/java/com/diagbot/entity/node/LisName.java
  67. 48 0
      cdssman-service/src/main/java/com/diagbot/entity/node/LisRemind.java
  68. 43 0
      cdssman-service/src/main/java/com/diagbot/entity/node/LisResult.java
  69. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/LisSecondClass.java
  70. 42 0
      cdssman-service/src/main/java/com/diagbot/entity/node/LisSet.java
  71. 20 0
      cdssman-service/src/main/java/com/diagbot/entity/node/LisSubNameAndResult.java
  72. 48 0
      cdssman-service/src/main/java/com/diagbot/entity/node/MedAllergen.java
  73. 21 0
      cdssman-service/src/main/java/com/diagbot/entity/node/MedChemClass.java
  74. 21 0
      cdssman-service/src/main/java/com/diagbot/entity/node/MedClass.java
  75. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/MedCode.java
  76. 117 0
      cdssman-service/src/main/java/com/diagbot/entity/node/MedCodeName.java
  77. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/MedJiePouClass.java
  78. 28 0
      cdssman-service/src/main/java/com/diagbot/entity/node/MedNameRegName.java
  79. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/MedProdName.java
  80. 53 0
      cdssman-service/src/main/java/com/diagbot/entity/node/MedRegName.java
  81. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/MedYaoLiClass.java
  82. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/MedYiBaoClass.java
  83. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/MedZhiLiaoClass.java
  84. 42 0
      cdssman-service/src/main/java/com/diagbot/entity/node/Medicine.java
  85. 26 0
      cdssman-service/src/main/java/com/diagbot/entity/node/OralMedicine.java
  86. 30 0
      cdssman-service/src/main/java/com/diagbot/entity/node/PacsCritical.java
  87. 30 0
      cdssman-service/src/main/java/com/diagbot/entity/node/PacsDescribe.java
  88. 80 0
      cdssman-service/src/main/java/com/diagbot/entity/node/PacsName.java
  89. 30 0
      cdssman-service/src/main/java/com/diagbot/entity/node/PacsNameSubName.java
  90. 41 0
      cdssman-service/src/main/java/com/diagbot/entity/node/PacsRemind.java
  91. 23 0
      cdssman-service/src/main/java/com/diagbot/entity/node/PacsResult.java
  92. 65 0
      cdssman-service/src/main/java/com/diagbot/entity/node/PacsSubName.java
  93. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/PathwayName.java
  94. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/ProdName.java
  95. 22 0
      cdssman-service/src/main/java/com/diagbot/entity/node/RegName.java
  96. 36 0
      cdssman-service/src/main/java/com/diagbot/entity/node/Symptom.java
  97. 36 0
      cdssman-service/src/main/java/com/diagbot/entity/node/TransfusionRemind.java
  98. 47 0
      cdssman-service/src/main/java/com/diagbot/entity/node/TransfusionSuggest.java
  99. 50 0
      cdssman-service/src/main/java/com/diagbot/entity/node/Vital.java
  100. 0 0
      cdssman-service/src/main/java/com/diagbot/entity/node/YiBaoDiseaseName.java

+ 602 - 0
cdssman-service/doc/001.20210125自动化测试初始化脚本/cdss_init.sql

@@ -0,0 +1,602 @@
+use `cdss`;
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : cdss
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:02:56
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for test_case_info
+-- ----------------------------
+DROP TABLE IF EXISTS `test_case_info`;
+CREATE TABLE `test_case_info`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `case_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '测试案例',
+  `case_group` int(4) NOT NULL COMMENT '测试组',
+  `case_no` int(4) NOT NULL COMMENT '测试编号',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Records of test_case_info
+-- ----------------------------
+INSERT INTO `test_case_info` VALUES (1, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '开单合理性提醒_通用规则', 1, 1);
+INSERT INTO `test_case_info` VALUES (2, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '开单类型提醒_输血规则', 1, 2);
+INSERT INTO `test_case_info` VALUES (3, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '危机值提醒_实验室检查规则', 1, 3);
+INSERT INTO `test_case_info` VALUES (4, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '危机值提醒_辅助检查规则', 1, 4);
+INSERT INTO `test_case_info` VALUES (5, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '高风险提醒_高危药品规则', 1, 5);
+INSERT INTO `test_case_info` VALUES (6, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '高风险提醒_高危手术规则', 1, 6);
+INSERT INTO `test_case_info` VALUES (7, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '其他提醒_化验规则', 1, 7);
+INSERT INTO `test_case_info` VALUES (8, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '其他提醒_辅检规则', 1, 8);
+INSERT INTO `test_case_info` VALUES (9, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '其他提醒_输血规则', 1, 9);
+INSERT INTO `test_case_info` VALUES (10, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '诊断', 2, 1);
+INSERT INTO `test_case_info` VALUES (11, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '检验', 2, 2);
+INSERT INTO `test_case_info` VALUES (12, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '检查', 2, 3);
+INSERT INTO `test_case_info` VALUES (13, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '药品', 2, 4);
+INSERT INTO `test_case_info` VALUES (14, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '手术/操作', 2, 5);
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : cdss
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:04:11
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for test_result_bill
+-- ----------------------------
+DROP TABLE IF EXISTS `test_result_bill`;
+CREATE TABLE `test_result_bill`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `result_id` bigint(20) NOT NULL COMMENT '测试结果id',
+  `bill_type` int(4) NOT NULL COMMENT '开单类型(1:通用,2:输血)',
+  `bill_item_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开单项类型',
+  `bill_item_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开单项名称',
+  `bill_item_his_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开单项名称(医院端)',
+  `bill_item_his_detail_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开单项名称-细项(医院端)',
+  `conflict_item_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '禁忌项类型',
+  `conflict_item_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '禁忌项名称',
+  `conflict_item_his_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '禁忌项名称(医院端)',
+  `conflict_item_his_detail_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '禁忌项名称-细项(医院端)',
+  `conflict_item_range` int(4) NULL DEFAULT NULL COMMENT '范围(0:范围内,1:范围外)',
+  `input_value` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '输入值(文本/数值)',
+  `reference_value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '参考值',
+  `max_value` decimal(10, 4) NULL DEFAULT NULL COMMENT '参考值(最大值)',
+  `min_value` decimal(10, 4) NULL DEFAULT NULL COMMENT '参考值(最小值)',
+  `unit` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
+  `output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输出结果(提醒文本)',
+  `expected_output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '期望输出结果(提醒文本)',
+  `success` int(4) NULL DEFAULT NULL COMMENT '成功标志(1:成功,0:失败)',
+  `message` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提示信息(异常提醒)',
+  `input_params` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '模拟入参',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : cdss
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:04:19
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for test_result_critical
+-- ----------------------------
+DROP TABLE IF EXISTS `test_result_critical`;
+CREATE TABLE `test_result_critical`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `result_id` bigint(20) NOT NULL COMMENT '测试结果id',
+  `critical_type` int(4) NULL DEFAULT NULL COMMENT '危机值开单项类型(1:实验室检查、2:辅助检查)',
+  `critical_item_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开单项类型',
+  `critical_item_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开单项名称',
+  `critical_item_his_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开单项名称(医院端)',
+  `critical_item_his_detail_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开单项名称-细项(医院端)',
+  `input_value` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '输入值(文本/数值)',
+  `reference_value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '参考值',
+  `critical_item_range` int(4) NULL DEFAULT NULL COMMENT '范围(0:范围内,1:范围外)',
+  `min_value` decimal(10, 4) NULL DEFAULT NULL COMMENT '参考值(最小值)',
+  `max_value` decimal(10, 4) NULL DEFAULT NULL COMMENT '参考值(最大值)',
+  `unit` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
+  `min_age` int(4) NULL DEFAULT NULL COMMENT '年龄最小值',
+  `max_age` int(4) NULL DEFAULT NULL COMMENT '年龄最大值',
+  `output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输出结果(提醒文本)',
+  `expected_output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '期望输出结果(提醒文本)',
+  `success` int(4) NULL DEFAULT NULL COMMENT '成功标志(1:成功,0:失败)',
+  `message` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提示信息(异常提醒)',
+  `input_params` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '模拟入参',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : cdss
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:04:28
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for test_result_highrisk_drug
+-- ----------------------------
+DROP TABLE IF EXISTS `test_result_highrisk_drug`;
+CREATE TABLE `test_result_highrisk_drug`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `result_id` bigint(20) NOT NULL COMMENT '测试结果id',
+  `highrisk_item_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
+  `highrisk_item_reg_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
+  `highrisk_item_his_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
+  `highrisk_item_form` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
+  `highrisk_level` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '药品高危级别(A级高危、B级高危、C级高危)',
+  `output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输出结果(提醒文本)',
+  `expected_output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '期望输出结果(提醒文本)',
+  `success` int(4) NULL DEFAULT NULL COMMENT '成功标志(1:成功,0:失败)',
+  `message` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提示信息(异常提醒)',
+  `input_params` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '模拟入参',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : cdss
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:04:36
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for test_result_highrisk_operation
+-- ----------------------------
+DROP TABLE IF EXISTS `test_result_highrisk_operation`;
+CREATE TABLE `test_result_highrisk_operation`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `result_id` bigint(20) NOT NULL COMMENT '测试结果id',
+  `highrisk_item_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标准名称',
+  `highrisk_item_his_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '医院端名称',
+  `level` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手术级别(1、2、3、4、5)',
+  `factor_item_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '高危条件名称',
+  `factor_item_his_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '高危条件医院端名称',
+  `factor_item_his_detail_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '高危条件医院端名称-细项',
+  `factor_item_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '高危条件类型',
+  `factor_item_range` int(4) NULL DEFAULT NULL COMMENT '高危条件范围',
+  `factor_item_min_value` decimal(10, 4) NULL DEFAULT NULL COMMENT '高危条件最小值',
+  `factor_item_max_value` decimal(10, 4) NULL DEFAULT NULL COMMENT '高危条件最大值',
+  `input_value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '输入值',
+  `factor_item_unit` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '高危条件单位',
+  `factor_item_exact_match` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否模糊匹配',
+  `factor_item_cond` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '高危条件',
+  `output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输出结果(提醒文本)',
+  `expected_output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '期望输出结果(提醒文本)',
+  `success` int(4) NULL DEFAULT NULL COMMENT '成功标志(1:成功,0:失败)',
+  `message` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提示信息(异常提醒)',
+  `input_params` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '模拟入参',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : cdss
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:04:45
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for test_result_info
+-- ----------------------------
+DROP TABLE IF EXISTS `test_result_info`;
+CREATE TABLE `test_result_info`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `hospital_id` bigint(20) NOT NULL COMMENT '医院id',
+  `case_id` bigint(20) NOT NULL COMMENT '测试案例id',
+  `rule_num` int(7) NULL DEFAULT NULL COMMENT '规则条数',
+  `rule_success_num` int(7) NULL DEFAULT NULL COMMENT '规则执行成功条数',
+  `rule_failed_num` int(7) NULL DEFAULT NULL COMMENT '规则执行失败条数',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : cdss
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:05:44
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for test_result_static_info
+-- ----------------------------
+DROP TABLE IF EXISTS `test_result_static_info`;
+CREATE TABLE `test_result_static_info`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `hospital_id` bigint(20) NOT NULL COMMENT '医院id',
+  `case_id` bigint(20) NOT NULL COMMENT '测试案例id',
+  `totle_num` int(7) NOT NULL COMMENT '映射关系总数',
+  `un_mapping_num` int(7) NOT NULL COMMENT '术语未匹配条数',
+  `without_knowledge_num` int(7) NOT NULL COMMENT '缺少静态知识条数',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : cdss
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:05:54
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for test_result_static_knowledge
+-- ----------------------------
+DROP TABLE IF EXISTS `test_result_static_knowledge`;
+CREATE TABLE `test_result_static_knowledge`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `result_id` bigint(20) NOT NULL COMMENT '测试结果id',
+  `type` int(4) NULL DEFAULT NULL COMMENT '术语类型(1:诊断、2:检验、3:检查、4:药品、5:手术/操作)',
+  `label` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '术语标签',
+  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标准术语名称',
+  `his_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '医院术语',
+  `his_detail_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '医院术语-细项',
+  `has_stand_name` int(2) NULL DEFAULT NULL COMMENT '是否有标准词(0:无,1:有)',
+  `has_static_knowledge` int(2) NULL DEFAULT NULL COMMENT '是否有静态知识(0:无,1:有)',
+  `message` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提示信息(异常提醒)',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : cdss
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:06:06
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for test_running_info
+-- ----------------------------
+DROP TABLE IF EXISTS `test_running_info`;
+CREATE TABLE `test_running_info`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `case_id` bigint(20) NULL DEFAULT NULL COMMENT '测试用例id',
+  `hospital_id` bigint(20) NULL DEFAULT NULL COMMENT '医院id',
+  `status` int(4) NULL DEFAULT NULL COMMENT '状态(1:运行中,0:空闲)',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : cdss
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:04:57
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for test_result_other_lis
+-- ----------------------------
+DROP TABLE IF EXISTS `test_result_other_lis`;
+CREATE TABLE `test_result_other_lis`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `result_id` bigint(20) NOT NULL COMMENT '测试结果id',
+  `other_item_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '其他开单项类型',
+  `other_item_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '其他开单项名称',
+  `other_item_his_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '其他开单项名称(医院端)',
+  `other_item_his_detail_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '其他开单项名称-细项(医院端)',
+  `other_item_range` int(4) NULL DEFAULT NULL COMMENT '范围(0:范围内,1:范围外)',
+  `remind_item_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '提醒项类型',
+  `remind_item_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提醒项名称',
+  `remind_item_his_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提醒项名称(医院端)',
+  `remind_item_his_detail_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提醒项名称-细项(医院端)',
+  `input_value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '输入值',
+  `reference_value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '参考值',
+  `max_value` decimal(10, 4) NULL DEFAULT NULL COMMENT '参考值(最大值)',
+  `min_value` decimal(10, 4) NULL DEFAULT NULL COMMENT '参考值(最小值)',
+  `unit` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
+  `output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输出结果(提醒文本)',
+  `expected_output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '期望输出结果(提醒文本)',
+  `success` int(4) NULL DEFAULT NULL COMMENT '成功标志(1:成功,0:失败)',
+  `message` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提示信息(异常提醒)',
+  `input_params` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '模拟入参',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : cdss
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:05:11
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for test_result_other_pacs
+-- ----------------------------
+DROP TABLE IF EXISTS `test_result_other_pacs`;
+CREATE TABLE `test_result_other_pacs`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `result_id` bigint(20) NOT NULL COMMENT '测试结果id',
+  `pacs_describe` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '辅检描述',
+  `pacs_result` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '辅检结果',
+  `remind_item_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '提醒项类型',
+  `remind_item_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提醒项名称',
+  `remind_item_his_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提醒项名称(医院端)',
+  `remind_item_his_detail_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提醒项名称-细项(医院端)',
+  `reference_value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '参考值',
+  `max_age` decimal(10, 4) NULL DEFAULT NULL COMMENT '参考值(最大值)',
+  `min_age` decimal(10, 4) NULL DEFAULT NULL COMMENT '参考值(最小值)',
+  `age_range` int(4) NULL DEFAULT NULL COMMENT '年龄范围(0:范围内,1:范围外)',
+  `input_age` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '输入值',
+  `gender` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '性别',
+  `postoken` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '检查结论有',
+  `negtoken` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '检查结论无',
+  `output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输出结果(提醒文本)',
+  `expected_output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '期望输出结果(提醒文本)',
+  `success` int(4) NULL DEFAULT NULL COMMENT '成功标志(1:成功,0:失败)',
+  `message` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提示信息(异常提醒)',
+  `input_params` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '模拟入参',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : cdss
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:05:21
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for test_result_other_transfusion
+-- ----------------------------
+DROP TABLE IF EXISTS `test_result_other_transfusion`;
+CREATE TABLE `test_result_other_transfusion`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `result_id` bigint(20) NOT NULL COMMENT '测试结果id',
+  `other_item_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '其他开单项名称',
+  `other_item_his_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '其他开单项名称(医院端)',
+  `other_item_his_detail_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '其他开单项名称-细项(医院端)',
+  `other_item_range` int(4) NULL DEFAULT NULL COMMENT '范围(0:范围内,1:范围外)',
+  `other_item_max_value` decimal(10, 4) NULL DEFAULT NULL COMMENT '参考值(最大值)',
+  `other_item_min_value` decimal(10, 4) NULL DEFAULT NULL COMMENT '参考值(最小值)',
+  `other_item_unit` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
+  `other_item_input_value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '输入值',
+  `transfusion_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输注类型',
+  `transfusion_type_his_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输注类型(医院端)',
+  `conflict_item_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '禁忌项类型',
+  `conflict_item_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '禁忌项名称',
+  `conflict_item_his_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '禁忌项名称(医院端)',
+  `conflict_item_his_detail_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '禁忌项名称-细项(医院端)',
+  `reference_value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '参考值',
+  `output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输出结果(提醒文本)',
+  `expected_output` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '期望输出结果(提醒文本)',
+  `success` int(4) NULL DEFAULT NULL COMMENT '成功标志(1:成功,0:失败)',
+  `message` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提示信息(异常提醒)',
+  `input_params` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '模拟入参',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+

+ 332 - 0
cdssman-service/doc/001.20210125自动化测试初始化脚本/user_init.sql

@@ -0,0 +1,332 @@
+use `sys-user`;
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : sys-user
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:23:17
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for sys_menu
+-- ----------------------------
+DROP TABLE IF EXISTS `sys_menu`;
+CREATE TABLE `sys_menu`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '菜单名称',
+  `parent_id` bigint(20) NOT NULL DEFAULT -1 COMMENT '-1:表示顶级,其他值表示上级菜单的id',
+  `code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '编码,与前端对应',
+  `order_no` int(11) NOT NULL DEFAULT 0 COMMENT '排序,从小到大',
+  `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '备注',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 93 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '系统菜单' ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Records of sys_menu
+-- ----------------------------
+INSERT INTO `sys_menu` VALUES (1, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '控制台', -1, 'YH-KZT', 1, '用户-控制台');
+INSERT INTO `sys_menu` VALUES (2, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '更多服务', -1, 'YH-GDFW', 2, '用户-更多服务');
+INSERT INTO `sys_menu` VALUES (3, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '机构中心', -1, 'YH-JGZX', 3, '用户-机构中心');
+INSERT INTO `sys_menu` VALUES (4, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '账号信息', 3, 'YH-JGZX-ZHXX', 1, '用户-机构中心-账号信息');
+INSERT INTO `sys_menu` VALUES (5, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '已开通产品', 3, 'YH-JGZX-YKTCP', 2, '用户-机构中心-已开通产品');
+INSERT INTO `sys_menu` VALUES (6, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '安全设置', 3, 'YH-JGZX-AQSZ', 5, '用户-机构中心-安全设置');
+INSERT INTO `sys_menu` VALUES (9, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '管理服务端', 3, 'YH-JGZX-GLFFD', 3, '用户-机构中心-管理服务端');
+INSERT INTO `sys_menu` VALUES (10, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '客户中心', -1, 'LT-KHZX', 2, '朗通-客户中心');
+INSERT INTO `sys_menu` VALUES (11, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '机构信息', 10, 'LT-KHZX-JGXX', 2, '朗通-客户中心-机构信息');
+INSERT INTO `sys_menu` VALUES (12, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '控制台', -1, 'LT-KZT', 1, '朗通-控制台');
+INSERT INTO `sys_menu` VALUES (14, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '已生成令牌', 3, 'YH-JGZX-YSCLP', 4, '用户-机构中心-已生成令牌');
+INSERT INTO `sys_menu` VALUES (15, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '注册用户', 10, 'LT-KHZX-ZCYH', 1, '朗通-客户中心-注册用户');
+INSERT INTO `sys_menu` VALUES (16, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '审核超管信息', 10, 'LT-KHZX-CGXX', 3, '朗通-客户中心-超管信息');
+INSERT INTO `sys_menu` VALUES (17, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '订单系统', -1, 'LT-DDXT', 3, '朗通-订单系统');
+INSERT INTO `sys_menu` VALUES (18, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '产品申请列表', 17, 'LT-DDXT-CPXSQLB', 1, '朗通-订单系统-产品申请列表');
+INSERT INTO `sys_menu` VALUES (19, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '产品线管理', -1, 'LT-CPXGL', 4, '朗通-产品线管理');
+INSERT INTO `sys_menu` VALUES (20, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '个人中心', -1, 'LT-GRZX', 99, '朗通-个人中心');
+INSERT INTO `sys_menu` VALUES (21, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '已认证超管信息', 10, 'LT-YRZCGXX', 0, '朗通-客户中心-已认证超管信息');
+INSERT INTO `sys_menu` VALUES (22, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '产品续费列表', 17, 'LT-CPXFLB', 2, '朗通-订单系统-产品续费列表');
+INSERT INTO `sys_menu` VALUES (23, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 'ICSS数据维护', -1, 'LT-YXSJWH', 5, '朗通-ICSS数据维护');
+INSERT INTO `sys_menu` VALUES (24, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '标签组维护', 23, 'LT-YXSJWH-BQZWH', 10, '朗通-ICSS数据维护-标签组维护');
+INSERT INTO `sys_menu` VALUES (25, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '独立类型标签维护', 23, 'LT-YXSJWH-DLLXBQWH', 20, '朗通-ICSS数据维护-独立类型标签维护');
+INSERT INTO `sys_menu` VALUES (27, 'Y', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '别名维护', 23, 'LT-YXSJWH-BMWH', 25, '朗通-ICSS数据维护-别名维护');
+INSERT INTO `sys_menu` VALUES (28, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '模版维护', 23, 'LT-YXSJWH-MBWH', 30, '朗通-ICSS数据维护-模版维护');
+INSERT INTO `sys_menu` VALUES (30, 'Y', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 'icss科室维护', 23, 'LT-YXSJWH-KSWH', 40, '朗通-ICSS数据维护-icss科室维护');
+INSERT INTO `sys_menu` VALUES (31, 'Y', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '常见选项维护', 23, 'LT-YXSJWH-CJXXWH', 45, '朗通-ICSS数据维护-常见选项维护');
+INSERT INTO `sys_menu` VALUES (33, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '免责声明维护', 38, 'LT-YXSJKWH-MZSMWH', 90, '朗通-医学术语库维护-免责声明维护');
+INSERT INTO `sys_menu` VALUES (34, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '版本信息维护', 60, 'LT-GBBXXWH-BBXXWH', 60, '朗通-各版本信息维护-版本信息维护');
+INSERT INTO `sys_menu` VALUES (35, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '查体模板维护', 23, 'LT-YXSJWH-CTMBWH', 40, '朗通-ICSS数据维护-查体模板维护');
+INSERT INTO `sys_menu` VALUES (37, 'Y', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '提示信息维护', 23, 'LT-YXSJWH-TSXXWH', 50, '朗通-ICSS数据维护-提示信息维护');
+INSERT INTO `sys_menu` VALUES (38, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '医学术语库维护', -1, 'LT-YXSYKWH', 6, '朗通-医学术语库维护');
+INSERT INTO `sys_menu` VALUES (39, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '医学术语命名维护', 38, 'LT-YXSYKWH-YXSYMMWH', 10, '朗通-医学术语库维护-医学术语命名维护');
+INSERT INTO `sys_menu` VALUES (40, 'Y', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '术语医学属性维护', 38, 'LT-YXSYKWH-SYYXSXWH', 2, '朗通-医学术语库维护-术语医学属性维护');
+INSERT INTO `sys_menu` VALUES (41, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '医学术语关系维护', 38, 'LT-YXSYKWH-YXSYGXWH', 20, '朗通-医学术语库维护-医学术语关系维护');
+INSERT INTO `sys_menu` VALUES (42, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '医学术语静态知识维护', 38, 'LT-YXSYKWH-YXSYJTZSWH', 50, '朗通-医学术语库维护-医学术语静态知识维护');
+INSERT INTO `sys_menu` VALUES (43, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '化验大小项与公表项对应维护', 38, 'LT-YXSJWH-HYDXXYGBXDY', 85, '朗通-医学术语库维护-化验大小项与公表项对应维护');
+INSERT INTO `sys_menu` VALUES (44, 'Y', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '慢病管理与评估维护', 23, 'LT-YXSJWH-MBGLYPG', 75, '朗通-ICSS数据维护-慢病管理与评估维护');
+INSERT INTO `sys_menu` VALUES (45, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '慢病指标值关联维护', 38, 'LT-YXSYKWH-MBZBZGLWH', 70, '朗通-医学术语库维护-慢病指标值关联维护');
+INSERT INTO `sys_menu` VALUES (48, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '量表结构维护', 38, 'LT-YXSYKWH-LBJGWH', 60, '朗通-医学术语库维护-量表结构维护');
+INSERT INTO `sys_menu` VALUES (49, 'Y', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '医学术语类型维护', 38, 'LT-YXSYKWH-YXSYLXWH', 5, '朗通-医学术语库维护-医学术语类型维护');
+INSERT INTO `sys_menu` VALUES (50, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '化验子项维护', 38, 'LT-YXSYKWH-HYZXWH', 80, '朗通-医学术语库维护-化验子项维护');
+INSERT INTO `sys_menu` VALUES (51, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '医学术语关联维护', 38, 'LT-YXSYKWH-YXSYGLWH', 30, '朗通-医学术语库维护-医学术语关联维护');
+INSERT INTO `sys_menu` VALUES (52, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '分诊人体图数据维护', 38, 'LT-YXSYKWH-YXSYDCGLWH', 40, '朗通-医学术语库维护-医学术语多层关联维护');
+INSERT INTO `sys_menu` VALUES (53, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '预问诊数据维护', -1, 'LT-YWZSJWH', 8, '朗通-预问诊数据维护');
+INSERT INTO `sys_menu` VALUES (54, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '独立填写单维护', 53, 'LT-YWZSJWH-DLTXDWH', 1, '朗通-预问诊数据维护-独立填写单维护');
+INSERT INTO `sys_menu` VALUES (55, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '组合填写单维护', 53, 'LT-YWZSJWH-ZHTXDWH', 2, '朗通-预问诊数据维护-组合填写单维护');
+INSERT INTO `sys_menu` VALUES (56, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '模版维护', 53, 'LT-YWZSJWH-MBWH', 3, '朗通-预问诊数据维护-模版维护');
+INSERT INTO `sys_menu` VALUES (57, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '诊断依据维护', -1, 'LT-ZDYJWH', 10, '朗通-诊断依据维护');
+INSERT INTO `sys_menu` VALUES (58, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '诊断依据数据维护', 57, 'LT-ZDYJWH-ZDYJSJWH', 10, '朗通-诊断依据维护-诊断依据数据维护');
+INSERT INTO `sys_menu` VALUES (59, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '问题词数据维护', 57, 'LT-ZDYJWH-WTCSJWH', 20, '朗通-诊断依据维护-问题词数据维护');
+INSERT INTO `sys_menu` VALUES (60, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '各版本信息维护', -1, 'LT-GBBXXWH', 11, '朗通-各版本信息维护');
+INSERT INTO `sys_menu` VALUES (61, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '数据统计', -1, 'LT-SJTJ', 12, '朗通-数据统计');
+INSERT INTO `sys_menu` VALUES (62, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '医学数据统计', 61, 'LT-SJTJ-YXSJTJ', 1, '朗通-数据统计-医学数据统计');
+INSERT INTO `sys_menu` VALUES (63, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '辅检子项维护', 38, 'LT-YXSYKWH-FJZXWH', 86, '朗通-医学术语库维护-辅检子项维护');
+INSERT INTO `sys_menu` VALUES (64, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '辅检层级关联维护', 38, 'LT-YXSYKWH-FJCJGLWH', 87, '朗通-医学术语库维护-辅检层级关联维护');
+INSERT INTO `sys_menu` VALUES (65, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '安全管理', -1, 'LT-AQGL', 13, '朗通-安全管理');
+INSERT INTO `sys_menu` VALUES (66, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 'license维护', 65, 'LT-AQGL-LICENSEWH', 1, '朗通-安全管理-license维护');
+INSERT INTO `sys_menu` VALUES (67, 'Y', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '病历管理', -1, 'LT-BLGL', 14, '朗通-病历管理');
+INSERT INTO `sys_menu` VALUES (68, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '规则维护', 38, 'LT-YXSYKWH-GZWH', 91, '朗通-医学术语库维护-规则维护');
+INSERT INTO `sys_menu` VALUES (69, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '规则应用维护', 38, 'LT-YXSYKWH-GZYYWH', 92, '朗通-医学术语库维护-规则应用维护');
+INSERT INTO `sys_menu` VALUES (70, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '病例入录', -1, 'LT-BLZK-BLRl', 15, '朗通-病例入录');
+INSERT INTO `sys_menu` VALUES (71, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '质控条目', 72, 'LT-ZKYMSJWH-ZKTM', 1, '朗通-质控页面数据维护-质控条目');
+INSERT INTO `sys_menu` VALUES (72, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '质控页面数据维护', -1, 'LT-ZKYMSJWH', 17, '朗通-质控页面数据维护');
+INSERT INTO `sys_menu` VALUES (73, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '字段映射维护', 72, 'LT-ZKYMSJWH-ZDYSWH', 5, '朗通-质控页面数据维护-字段映射维护');
+INSERT INTO `sys_menu` VALUES (74, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '组合字段维护', 72, 'LT-ZKYMSJWH-ZHDYWH', 10, '朗通-质控页面数据维护-组合字段维护');
+INSERT INTO `sys_menu` VALUES (75, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '模板维护', 72, 'LT-ZKYMSJWH-MBWH', 15, '朗通-质控页面数据维护-模板维护');
+INSERT INTO `sys_menu` VALUES (76, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '质控类型维护', 72, 'LT-ZKYMSJWH-ZKLXWH', 20, '朗通-质控页面数据维护-质控类型维护');
+INSERT INTO `sys_menu` VALUES (77, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '条目关联质控类型', 72, 'LT-ZKYMSJWH-TMGLZKLX', 25, '朗通-质控页面数据维护-条目关联质控类型');
+INSERT INTO `sys_menu` VALUES (78, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '标准病历', 72, 'LT-ZKYMSJWH-BZBL', 50, '朗通-质控页面数据维护-标准病历');
+INSERT INTO `sys_menu` VALUES (79, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '自动化测试统计', 72, 'LT-ZKYMSJWH-ZDHCSTJ', 55, '朗通-质控页面数据维护-自动化测试统计');
+INSERT INTO `sys_menu` VALUES (80, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '任务列表', 72, 'LT-ZKYMSJWH-RWLB', 56, '朗通-质控页面数据维护-任务列表');
+INSERT INTO `sys_menu` VALUES (81, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 'CDSS数据维护', -1, 'LT-CDSSSJWH', 100, '朗通-CDSS数据维护');
+INSERT INTO `sys_menu` VALUES (82, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '静态术语知识维护', 81, 'LT-CDSSSJWH-JTSYZSWH', 10, '朗通-CDSS数据维护-静态术语知识维护');
+INSERT INTO `sys_menu` VALUES (83, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '医学术语关联维护', 81, 'LT-CDSSSJWH-YXSYGLWH', 20, '朗通-CDSS数据维护-医学术语关联维护');
+INSERT INTO `sys_menu` VALUES (84, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '医院管理', 81, 'LT-CDSSSJWH-YYGL', 30, '朗通-CDSS数据维护-医院管理');
+INSERT INTO `sys_menu` VALUES (85, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '医院用户管理', 81, 'LT-CDSSSJWH-YYYHGL', 40, '朗通-CDSS数据维护-医院用户管理');
+INSERT INTO `sys_menu` VALUES (86, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '电子病历方案配置', 81, 'LT-CDSSSJWH-DZBLFAPZ', 50, '朗通-CDSS数据维护-电子病历方案配置');
+INSERT INTO `sys_menu` VALUES (87, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '版本维护', 81, 'LT-CDSSSJWH-BBWH', 60, '朗通-CDSS数据维护-版本维护');
+INSERT INTO `sys_menu` VALUES (88, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '免责声明维护', 81, 'LT-CDSSSJWH-MZSMWH', 70, '朗通-CDSS数据维护-免责声明维护');
+INSERT INTO `sys_menu` VALUES (89, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '知识图谱标准术语维护', 81, 'LT-CDSSSJWH-ZSTPBZSYWH', 0, '朗通-CDSS数据维护-知识图谱标准术语维护');
+INSERT INTO `sys_menu` VALUES (90, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '医院术语自动化测试', -1, 'LT-YYSYZDHCS', 101, '朗通-医院术语自动化测试');
+INSERT INTO `sys_menu` VALUES (91, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '知识图谱规则测试', 90, 'LT-YYSYZDHCS-ZSTPGZCS', 10, '朗通-医院术语自动化测试-知识图谱规则测试');
+INSERT INTO `sys_menu` VALUES (92, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '静态知识映射测试', 90, 'LT-YYSYZDHCS-JTZSYSCS', 20, '朗通-医院术语自动化测试-静态知识映射测试');
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : sys-user
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:23:28
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for sys_role
+-- ----------------------------
+DROP TABLE IF EXISTS `sys_role`;
+CREATE TABLE `sys_role`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '角色ID',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '角色名称',
+  `roleLevel` int(11) NOT NULL DEFAULT 0 COMMENT '角色等级',
+  `descritpion` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '角色描述',
+  `menuItems` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '菜单ID:对应角色ID',
+  `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '系统角色表' ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Records of sys_role
+-- ----------------------------
+INSERT INTO `sys_role` VALUES (1, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '普通用户', 0, '', '', '');
+INSERT INTO `sys_role` VALUES (2, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '管理员', 0, '', '', '');
+INSERT INTO `sys_role` VALUES (3, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 'ICSS数据维护人员', 0, '', '', '');
+INSERT INTO `sys_role` VALUES (4, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '医学术语库维护人员', 0, '', '', '');
+INSERT INTO `sys_role` VALUES (5, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '预问诊数据维护', 0, '', '', NULL);
+INSERT INTO `sys_role` VALUES (6, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '诊断依据维护', 0, '', '', NULL);
+INSERT INTO `sys_role` VALUES (7, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '各版本信息维护人员', 0, '', '', NULL);
+INSERT INTO `sys_role` VALUES (8, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '注册用户查询', 0, '', '', NULL);
+INSERT INTO `sys_role` VALUES (9, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '数据统计', 0, '', '', NULL);
+INSERT INTO `sys_role` VALUES (10, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 'license', 0, '', '', NULL);
+INSERT INTO `sys_role` VALUES (11, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '病历管理', 0, '', '', NULL);
+INSERT INTO `sys_role` VALUES (12, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '静态信息兼规则维护人员', 0, '', '', NULL);
+INSERT INTO `sys_role` VALUES (13, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '病例录入', 0, '', '', NULL);
+INSERT INTO `sys_role` VALUES (15, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '质控页面数据维护', 0, '', '', NULL);
+INSERT INTO `sys_role` VALUES (16, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 'CDSS数据维护人员(2020新版)', 0, '', '', NULL);
+INSERT INTO `sys_role` VALUES (17, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '医院术语自动化测试人员', 0, '', '', NULL);
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : 192.168.2.236
+ Source Server Type    : MySQL
+ Source Server Version : 50731
+ Source Host           : 192.168.2.236:3306
+ Source Schema         : sys-user
+
+ Target Server Type    : MySQL
+ Target Server Version : 50731
+ File Encoding         : 65001
+
+ Date: 25/01/2021 10:24:29
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for sys_role_menu
+-- ----------------------------
+DROP TABLE IF EXISTS `sys_role_menu`;
+CREATE TABLE `sys_role_menu`  (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime(0) NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `role_id` bigint(20) NOT NULL DEFAULT 0 COMMENT '角色id',
+  `menu_id` bigint(20) NOT NULL DEFAULT 0 COMMENT '菜单id',
+  `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色和菜单的映射表' ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Records of sys_role_menu
+-- ----------------------------
+INSERT INTO `sys_role_menu` VALUES (1, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 1, 1, '用户-控制台');
+INSERT INTO `sys_role_menu` VALUES (2, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 1, 2, '用户-更多服务');
+INSERT INTO `sys_role_menu` VALUES (3, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 1, 3, '用户-机构中心');
+INSERT INTO `sys_role_menu` VALUES (4, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 1, 4, '用户-机构中心-账号信息');
+INSERT INTO `sys_role_menu` VALUES (5, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 1, 5, '用户-机构中心-已开通产品');
+INSERT INTO `sys_role_menu` VALUES (6, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 1, 6, '用户-机构中心-安全设置');
+INSERT INTO `sys_role_menu` VALUES (7, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 1, 9, '用户-机构中心-管理服务端');
+INSERT INTO `sys_role_menu` VALUES (8, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 1, 14, '用户-机构中心-已生成令牌');
+INSERT INTO `sys_role_menu` VALUES (9, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 2, 10, '朗通-客户中心');
+INSERT INTO `sys_role_menu` VALUES (10, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 2, 11, '朗通-客户中心-机构信息');
+INSERT INTO `sys_role_menu` VALUES (11, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 2, 12, '朗通-控制台');
+INSERT INTO `sys_role_menu` VALUES (12, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 2, 15, '朗通-客户中心-注册用户');
+INSERT INTO `sys_role_menu` VALUES (13, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 2, 16, '朗通-客户中心-审核超管信息');
+INSERT INTO `sys_role_menu` VALUES (14, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 2, 17, '朗通-订单系统');
+INSERT INTO `sys_role_menu` VALUES (15, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 2, 18, '朗通-订单系统-产品线申请列表');
+INSERT INTO `sys_role_menu` VALUES (16, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 2, 19, '朗通-产品线管理');
+INSERT INTO `sys_role_menu` VALUES (17, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 2, 20, '朗通-个人中心');
+INSERT INTO `sys_role_menu` VALUES (21, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 2, 21, '朗通-客户中心-已认证超管信息');
+INSERT INTO `sys_role_menu` VALUES (22, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 2, 22, '朗通-订单系统-产品续费列表');
+INSERT INTO `sys_role_menu` VALUES (23, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 3, 23, '朗通-ICSS数据维护');
+INSERT INTO `sys_role_menu` VALUES (24, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 3, 24, '朗通-ICSS数据维护-标签组维护');
+INSERT INTO `sys_role_menu` VALUES (25, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 3, 25, '朗通-ICSS数据维护-独立类型标签维护');
+INSERT INTO `sys_role_menu` VALUES (27, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 3, 27, '朗通-ICSS数据维护-别名维护');
+INSERT INTO `sys_role_menu` VALUES (28, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 3, 28, '朗通-ICSS数据维护-模版维护');
+INSERT INTO `sys_role_menu` VALUES (29, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 3, 29, '朗通-ICSS数据维护-查体模版维护');
+INSERT INTO `sys_role_menu` VALUES (30, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 3, 30, '朗通-ICSS数据维护-icss科室维护');
+INSERT INTO `sys_role_menu` VALUES (31, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 3, 31, '朗通-ICSS数据维护-常见选项维护');
+INSERT INTO `sys_role_menu` VALUES (32, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 3, 32, '朗通-ICSS数据维护-提示信息维护');
+INSERT INTO `sys_role_menu` VALUES (33, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 3, 33, '朗通-ICSS数据维护-免责声明维护');
+INSERT INTO `sys_role_menu` VALUES (34, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 7, 34, '朗通-各版本信息维护-版本信息维护');
+INSERT INTO `sys_role_menu` VALUES (35, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 3, 35, '朗通-ICSS数据维护-查体模板维护');
+INSERT INTO `sys_role_menu` VALUES (38, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 38, '朗通-医学术语库维护');
+INSERT INTO `sys_role_menu` VALUES (39, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 39, '朗通-医学术语库维护-医学术语命名维护');
+INSERT INTO `sys_role_menu` VALUES (40, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 40, '朗通-医学术语库维护-术语医学属性维护');
+INSERT INTO `sys_role_menu` VALUES (41, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 41, '朗通-医学术语库维护-医学术语关系维护');
+INSERT INTO `sys_role_menu` VALUES (42, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 42, '朗通-医学术语库维护-医学术语静态知识维护');
+INSERT INTO `sys_role_menu` VALUES (43, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 43, '朗通-医学术语库维护-化验大小项与公表项对应维护');
+INSERT INTO `sys_role_menu` VALUES (45, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 44, '朗通-ICSS数据维护-慢病管理与评估维护');
+INSERT INTO `sys_role_menu` VALUES (46, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 45, '朗通-ICSS数据维护-慢病指标值关联维护');
+INSERT INTO `sys_role_menu` VALUES (49, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 3, 48, '朗通-医学术语库维护-量表结构维护');
+INSERT INTO `sys_role_menu` VALUES (50, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 49, '朗通-医学术语库维护-医学术语类型维护');
+INSERT INTO `sys_role_menu` VALUES (51, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 51, '朗通-医学术语库维护-医学术语关联维护');
+INSERT INTO `sys_role_menu` VALUES (52, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 52, '朗通-医学术语库维护-医学术语多层关联维护');
+INSERT INTO `sys_role_menu` VALUES (53, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 50, '朗通-医学术语库维护-化验子项维护');
+INSERT INTO `sys_role_menu` VALUES (54, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 5, 53, '朗通-预问诊数据维护');
+INSERT INTO `sys_role_menu` VALUES (55, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 5, 54, '朗通-预问诊数据维护-独立填写单维护');
+INSERT INTO `sys_role_menu` VALUES (56, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 5, 55, '朗通-预问诊数据维护-组合填写单维护');
+INSERT INTO `sys_role_menu` VALUES (57, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 5, 56, '朗通-预问诊数据维护-模版维护');
+INSERT INTO `sys_role_menu` VALUES (58, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 6, 57, '朗通-诊断依据维护');
+INSERT INTO `sys_role_menu` VALUES (59, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 6, 58, '朗通-诊断依据维护-诊断依据数据维护');
+INSERT INTO `sys_role_menu` VALUES (60, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 6, 59, '朗通-诊断依据维护-问题词数据维护');
+INSERT INTO `sys_role_menu` VALUES (61, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 7, 60, '朗通-各版本信息维护-版本信息维护');
+INSERT INTO `sys_role_menu` VALUES (62, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 8, 10, '朗通-客户中心');
+INSERT INTO `sys_role_menu` VALUES (63, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 8, 15, '朗通-客户中心-注册用户');
+INSERT INTO `sys_role_menu` VALUES (64, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 9, 61, '朗通-数据统计');
+INSERT INTO `sys_role_menu` VALUES (65, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 9, 62, '朗通-数据统计-医学数据统计');
+INSERT INTO `sys_role_menu` VALUES (66, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 63, '朗通-医学术语库维护-辅检子项维护');
+INSERT INTO `sys_role_menu` VALUES (67, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 4, 64, '朗通-医学术语库维护-辅检层级关联维护');
+INSERT INTO `sys_role_menu` VALUES (68, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 10, 65, '朗通-安全管理');
+INSERT INTO `sys_role_menu` VALUES (69, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 10, 66, '朗通-安全管理-license维护');
+INSERT INTO `sys_role_menu` VALUES (70, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 11, 67, '朗通-病历管理');
+INSERT INTO `sys_role_menu` VALUES (71, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 12, 42, '朗通-医学术语库维护-医学术语静态知识维护');
+INSERT INTO `sys_role_menu` VALUES (72, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 12, 68, '朗通-医学术语库维护-规则维护');
+INSERT INTO `sys_role_menu` VALUES (73, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 12, 69, '朗通-医学术语库维护-规则应用维护');
+INSERT INTO `sys_role_menu` VALUES (74, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 12, 38, '朗通-医学术语库维护');
+INSERT INTO `sys_role_menu` VALUES (77, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 13, 70, '朗通-病历入录');
+INSERT INTO `sys_role_menu` VALUES (79, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 15, 71, '朗通-质控页面数据维护-质控条目');
+INSERT INTO `sys_role_menu` VALUES (80, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 15, 72, '朗通-质控页面数据维护');
+INSERT INTO `sys_role_menu` VALUES (81, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 15, 73, '朗通-质控页面数据维护-字段映射维护');
+INSERT INTO `sys_role_menu` VALUES (82, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 15, 74, '朗通-质控页面数据维护-组合字段维护');
+INSERT INTO `sys_role_menu` VALUES (83, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 15, 75, '朗通-质控页面数据维护-模板维护');
+INSERT INTO `sys_role_menu` VALUES (84, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 15, 76, '朗通-质控页面数据维护-质控类型维护');
+INSERT INTO `sys_role_menu` VALUES (85, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 15, 77, '朗通-质控页面数据维护-条目关联质控类型');
+INSERT INTO `sys_role_menu` VALUES (86, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 15, 78, '朗通-质控页面数据维护-标准病历');
+INSERT INTO `sys_role_menu` VALUES (87, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 15, 79, '朗通-质控页面数据维护-自动化测试统计');
+INSERT INTO `sys_role_menu` VALUES (88, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 15, 80, '朗通-质控页面数据维护-任务列表');
+INSERT INTO `sys_role_menu` VALUES (89, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 16, 81, '朗通-CDSS数据维护');
+INSERT INTO `sys_role_menu` VALUES (90, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 16, 82, '朗通-CDSS数据维护-静态术语知识维护');
+INSERT INTO `sys_role_menu` VALUES (91, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 16, 83, '朗通-CDSS数据维护-医学术语关联维护');
+INSERT INTO `sys_role_menu` VALUES (92, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 16, 84, '朗通-CDSS数据维护-医院管理');
+INSERT INTO `sys_role_menu` VALUES (93, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 16, 85, '朗通-CDSS数据维护-医院用户管理');
+INSERT INTO `sys_role_menu` VALUES (94, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 16, 86, '朗通-CDSS数据维护-电子病历方案配置');
+INSERT INTO `sys_role_menu` VALUES (95, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 16, 87, '朗通-CDSS数据维护-版本维护');
+INSERT INTO `sys_role_menu` VALUES (96, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 16, 88, '朗通-CDSS数据维护-免责声明维护');
+INSERT INTO `sys_role_menu` VALUES (97, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 16, 89, '朗通-CDSS数据维护-知识图谱标准术语维护');
+INSERT INTO `sys_role_menu` VALUES (98, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 17, 90, '朗通-医院术语自动化测试');
+INSERT INTO `sys_role_menu` VALUES (99, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 17, 91, '朗通-医院术语自动化测试-知识图谱规则测试');
+INSERT INTO `sys_role_menu` VALUES (100, 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 17, 92, '朗通-医院术语自动化测试-静态知识映射测试');
+
+SET FOREIGN_KEY_CHECKS = 1;
+
+
+INSERT INTO `sys_user_role`(`is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `user_id`, `role_id`, `remark`) VALUES ('N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 1, 17, '');
+INSERT INTO `sys_user_role`(`is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `user_id`, `role_id`, `remark`) VALUES ('N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 300, 17, '');
+INSERT INTO `sys_user_role`(`is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `user_id`, `role_id`, `remark`) VALUES ('N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 301, 17, '');
+INSERT INTO `sys_user_role`(`is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `user_id`, `role_id`, `remark`) VALUES ('N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 302, 17, '');
+INSERT INTO `sys_user_role`(`is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `user_id`, `role_id`, `remark`) VALUES ('N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 303, 17, '');
+INSERT INTO `sys_user_role`(`is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `user_id`, `role_id`, `remark`) VALUES ('N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 304, 17, '');
+INSERT INTO `sys_user_role`(`is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `user_id`, `role_id`, `remark`) VALUES ('N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 305, 17, '');
+INSERT INTO `sys_user_role`(`is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `user_id`, `role_id`, `remark`) VALUES ('N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 306, 17, '');
+INSERT INTO `sys_user_role`(`is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `user_id`, `role_id`, `remark`) VALUES ('N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 307, 17, '');
+INSERT INTO `sys_user_role`(`is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `user_id`, `role_id`, `remark`) VALUES ('N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 308, 17, '');

+ 26 - 2
cdssman-service/pom.xml

@@ -90,11 +90,11 @@
             <artifactId>springfox-swagger-ui</artifactId>
         </dependency>
         <!--database-->
-        <dependency>
+        <!--<dependency>
             <groupId>org.neo4j</groupId>
             <artifactId>neo4j-jdbc-driver</artifactId>
             <version>3.4.0</version>
-        </dependency>
+        </dependency>-->
         <!--security-->
         <dependency>
             <groupId>org.springframework.cloud</groupId>
@@ -191,6 +191,23 @@
             <scope>runtime</scope>
         </dependency>
 
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-data-neo4j</artifactId>
+        </dependency>
+
+        <!--<dependency>-->
+        <!--<groupId>org.neo4j</groupId>-->
+        <!--<artifactId>neo4j-ogm-core</artifactId>-->
+        <!--<version>3.2.2</version>-->
+        <!--<scope>compile</scope>-->
+        <!--</dependency>-->
+
+        <dependency>
+            <groupId>org.neo4j</groupId>
+            <artifactId>neo4j-ogm-http-driver</artifactId>
+        </dependency>
+
         <!-- 文件上传相关架包 -->
         <dependency>
             <groupId>commons-fileupload</groupId>
@@ -214,6 +231,13 @@
             <artifactId>easypoi-spring-boot-starter</artifactId>
         </dependency>
 
+        <dependency>
+            <groupId>io.github.lvyahui8</groupId>
+            <artifactId>spring-boot-data-aggregator-starter</artifactId>
+            <version>${aggregator.version}</version>
+        </dependency>
+
+
     </dependencies>
 
     <build>

Fichier diff supprimé car celui-ci est trop grand
+ 1164 - 0
cdssman-service/src/main/java/com/diagbot/aggregate/RuleTestAggregate.java


+ 11 - 0
cdssman-service/src/main/java/com/diagbot/client/CdssCoreClient.java

@@ -1,11 +1,13 @@
 package com.diagbot.client;
 
 import com.diagbot.client.hystrix.CdssCoreHystrix;
+import com.diagbot.dto.IndicationDTO;
 import com.diagbot.dto.RespDTO;
 import com.diagbot.dto.RetrievalDTO;
 import com.diagbot.dto.StaticKnowledgeIndexDTO;
 import com.diagbot.vo.ConceptVO;
 import com.diagbot.vo.HasStaticKnowledgeVO;
+import com.diagbot.vo.IndicationPushVO;
 import com.diagbot.vo.RetrievalVO;
 import com.diagbot.vo.StaticKnowledgeIndexVO;
 import org.springframework.cloud.openfeign.FeignClient;
@@ -57,4 +59,13 @@ public interface CdssCoreClient {
      */
     @PostMapping("/retrieval/index")
     RespDTO<RetrievalDTO> index(@RequestBody @Valid RetrievalVO retrievalVO);
+
+    /**
+     * 开单合理性推理
+     *
+     * @param indicationPushVO
+     * @return
+     */
+    @PostMapping("/core/indication")
+    RespDTO<IndicationDTO> indication(@Valid @RequestBody IndicationPushVO indicationPushVO);
 }

+ 14 - 0
cdssman-service/src/main/java/com/diagbot/client/hystrix/CdssCoreHystrix.java

@@ -1,11 +1,13 @@
 package com.diagbot.client.hystrix;
 
 import com.diagbot.client.CdssCoreClient;
+import com.diagbot.dto.IndicationDTO;
 import com.diagbot.dto.RespDTO;
 import com.diagbot.dto.RetrievalDTO;
 import com.diagbot.dto.StaticKnowledgeIndexDTO;
 import com.diagbot.vo.ConceptVO;
 import com.diagbot.vo.HasStaticKnowledgeVO;
+import com.diagbot.vo.IndicationPushVO;
 import com.diagbot.vo.RetrievalVO;
 import com.diagbot.vo.StaticKnowledgeIndexVO;
 import lombok.extern.slf4j.Slf4j;
@@ -70,4 +72,16 @@ public class CdssCoreHystrix implements CdssCoreClient {
         log.error("【hystrix】调用{}异常", "index");
         return null;
     }
+
+    /**
+     * 开单合理性推理
+     *
+     * @param indicationPushVO
+     * @return
+     */
+    @Override
+    public RespDTO<IndicationDTO> indication(@Valid @RequestBody IndicationPushVO indicationPushVO) {
+        log.error("【hystrix】调用{}异常", "indication");
+        return null;
+    }
 }

+ 1 - 1
cdssman-service/src/main/java/com/diagbot/config/MybatisPlusConfigurer.java

@@ -27,7 +27,7 @@ public class MybatisPlusConfigurer {
         // 设置请求的页面大于最大页后操作,true调回到首页,false继续请求,默认false
         //paginationInterceptor.setOverflow(false);
         // 设置最大单页限制数量,默认500条,-1不受限制
-        paginationInterceptor.setLimit(500L);
+        paginationInterceptor.setLimit(-1L);
         return paginationInterceptor;
     }
 

+ 63 - 0
cdssman-service/src/main/java/com/diagbot/config/TransactionAspect.java

@@ -0,0 +1,63 @@
+package com.diagbot.config;
+import org.neo4j.ogm.session.SessionFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.context.annotation.DependsOn;
+import org.springframework.context.annotation.Primary;
+import org.springframework.data.neo4j.transaction.Neo4jTransactionManager;
+import org.springframework.data.transaction.ChainedTransactionManager;
+import org.springframework.jdbc.datasource.DataSourceTransactionManager;
+import org.springframework.transaction.PlatformTransactionManager;
+import org.springframework.transaction.TransactionStatus;
+
+import javax.sql.DataSource;
+
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2021/1/19 12:39
+ */
+@SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
+@Configuration
+@DependsOn("sessionFactory")
+public class TransactionAspect {
+
+    ThreadLocal<TransactionStatus> transactionStatusThreadLocal = new ThreadLocal<>();
+
+    /**
+     * 定义mysql事务管理器,必须有transactionManager作为默认事务管理器
+     *
+     * @param dataSource
+     * @return
+     */
+    @Bean("transactionManager")
+    @Primary
+    public DataSourceTransactionManager transactionManager(DataSource dataSource) {
+        return new DataSourceTransactionManager(dataSource);
+    }
+
+    /**
+     * 定义neo4j事务管理器
+     *
+     * @param sessionFactory
+     * @return
+     */
+    @Bean("neo4jTransactionManager")
+    public Neo4jTransactionManager neo4jTransactionManager(SessionFactory sessionFactory) {
+        return new Neo4jTransactionManager(sessionFactory);
+    }
+
+    @Autowired
+    @Bean(name = "multiTransactionManager")
+    public PlatformTransactionManager multiTransactionManager(
+            Neo4jTransactionManager neo4jTransactionManager,
+            DataSourceTransactionManager mysqlTransactionManager) {
+        return new ChainedTransactionManager(
+                neo4jTransactionManager, mysqlTransactionManager);
+    }
+
+}
+
+

+ 23 - 0
cdssman-service/src/main/java/com/diagbot/dto/BillMsg.java

@@ -0,0 +1,23 @@
+package com.diagbot.dto;
+
+import lombok.Data;
+
+/**
+ * @description: 开单合理性提示语
+ * @author: zhoutg
+ * @time: 2020/7/29 9:57
+ */
+@Data
+public class BillMsg {
+
+    // 提示信息
+    private String msg;
+    // 开单名称
+    private String orderName;
+    // 开单标准名称
+    private String orderStandName;
+    // 匹配的内容
+    private String content;
+    // 类型
+    private String type;
+}

+ 23 - 0
cdssman-service/src/main/java/com/diagbot/dto/CaseResultDTO.java

@@ -0,0 +1,23 @@
+package com.diagbot.dto;
+
+import lombok.Getter;
+import lombok.Setter;
+
+import java.util.Date;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2021/1/13 17:07
+ */
+@Getter
+@Setter
+public class CaseResultDTO {
+    private String caseName;
+    private Long resultId;
+    private Long caseId;
+    private Integer ruleNum;
+    private Integer ruleSuccessNum;
+    private Integer ruleFailedNum;
+    private Date gmtModified;
+}

+ 23 - 0
cdssman-service/src/main/java/com/diagbot/dto/CaseStaticResultDTO.java

@@ -0,0 +1,23 @@
+package com.diagbot.dto;
+
+import lombok.Getter;
+import lombok.Setter;
+
+import java.util.Date;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2021/1/22 10:16
+ */
+@Getter
+@Setter
+public class CaseStaticResultDTO {
+    private String caseName;
+    private Long resultId;
+    private Long caseId;
+    private Integer totleNum;
+    private Integer unMappingNum;
+    private Integer withoutKnowledgeNum;
+    private Date gmtModified;
+}

+ 170 - 0
cdssman-service/src/main/java/com/diagbot/dto/ExportBillDTO.java

@@ -0,0 +1,170 @@
+package com.diagbot.dto;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2021/1/20 13:52
+ */
+@Getter
+@Setter
+public class ExportBillDTO {
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    @Excel(name = "测试时间", width = 40, orderNum = "1", format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试结果id
+     */
+    private Long resultId;
+
+    /**
+     * 开单类型(1:通用,2:输血)
+     */
+    private Integer billType;
+
+    /**
+     * 开单项类型
+     */
+    @Excel(name = "开单项类型", width = 40, orderNum = "2")
+    private String billItemType;
+
+    /**
+     * 开单项名称
+     */
+    @Excel(name = "开单项(标准术语)", width = 40, orderNum = "3")
+    private String billItemName;
+
+    /**
+     * 开单项名称(医院端)
+     */
+    @Excel(name = "开单项(医院术语)", width = 40, orderNum = "4")
+    private String billItemHisName;
+
+    /**
+     * 开单项名称-细项(医院端)
+     */
+    private String billItemHisDetailName;
+
+    /**
+     * 禁忌项类型
+     */
+    @Excel(name = "禁忌项类型", width = 40, orderNum = "5")
+    private String conflictItemType;
+
+    /**
+     * 禁忌项名称
+     */
+    @Excel(name = "禁忌项(标准术语)", width = 40, orderNum = "6")
+    private String conflictItemName;
+
+    /**
+     * 禁忌项名称(医院端)
+     */
+    @Excel(name = "禁忌项(医院术语)", width = 40, orderNum = "7")
+    private String conflictItemHisName;
+
+    /**
+     * 禁忌项名称-细项(医院端)
+     */
+    @Excel(name = "禁忌项细项(医院术语)", width = 40, orderNum = "8")
+    private String conflictItemHisDetailName;
+
+    /**
+     * 输入值(文本/数值)
+     */
+    @Excel(name = "禁忌项输入值/结果", width = 40, orderNum = "9")
+    private String inputValue;
+
+    /**
+     * 参考值
+     */
+    private String referenceValue;
+
+    /**
+     * 参考值(最大值)
+     */
+    private BigDecimal maxValue;
+
+    /**
+     * 参考值(最小值)
+     */
+    private BigDecimal minValue;
+
+    /**
+     * 单位
+     */
+    private String unit;
+
+    /**
+     * 范围(0:范围内,1:范围外)
+     */
+    private Integer conflictItemRange;
+
+    /**
+     * 输出结果(提醒文本)
+     */
+    @Excel(name = "实际结果", width = 80, orderNum = "10")
+    private String output;
+
+    /**
+     * 期望输出结果(提醒文本)
+     */
+    @Excel(name = "预期结果", width = 80, orderNum = "11")
+    private String expectedOutput;
+
+    /**
+     * 成功标志(1:成功,0:失败)
+     */
+    @Excel(name = "测试结果", width = 20, orderNum = "12", replace = { "失败_0", "成功_1" })
+    private Integer success;
+
+    /**
+     * 提示信息(异常提醒)
+     */
+    @Excel(name = "失败原因", width = 80, orderNum = "13")
+    private String message;
+
+    /**
+     * 模拟入参
+     */
+    private String inputParams;
+}

+ 169 - 0
cdssman-service/src/main/java/com/diagbot/dto/ExportBillTransfusionDTO.java

@@ -0,0 +1,169 @@
+package com.diagbot.dto;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2021/1/20 13:53
+ */
+@Getter
+@Setter
+public class ExportBillTransfusionDTO {
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    @Excel(name = "测试时间", width = 40, orderNum = "1", format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试结果id
+     */
+    private Long resultId;
+
+    /**
+     * 开单类型(1:通用,2:输血)
+     */
+    private Integer billType;
+
+    /**
+     * 开单项类型
+     */
+    private String billItemType;
+
+    /**
+     * 开单项名称
+     */
+    @Excel(name = "输注类型(标准术语)", width = 40, orderNum = "3")
+    private String billItemName;
+
+    /**
+     * 开单项名称(医院端)
+     */
+    @Excel(name = "输注类型(医院术语)", width = 40, orderNum = "4")
+    private String billItemHisName;
+
+    /**
+     * 开单项名称-细项(医院端)
+     */
+    private String billItemHisDetailName;
+
+    /**
+     * 禁忌项类型
+     */
+    @Excel(name = "禁忌项类型", width = 40, orderNum = "5")
+    private String conflictItemType;
+
+    /**
+     * 禁忌项名称
+     */
+    @Excel(name = "禁忌项(标准术语)", width = 40, orderNum = "6")
+    private String conflictItemName;
+
+    /**
+     * 禁忌项名称(医院端)
+     */
+    @Excel(name = "禁忌项(医院术语)", width = 40, orderNum = "7")
+    private String conflictItemHisName;
+
+    /**
+     * 禁忌项名称-细项(医院端)
+     */
+    @Excel(name = "禁忌项细项(医院术语)", width = 40, orderNum = "8")
+    private String conflictItemHisDetailName;
+
+    /**
+     * 输入值(文本/数值)
+     */
+    @Excel(name = "禁忌项输入值/结果", width = 40, orderNum = "9")
+    private String inputValue;
+
+    /**
+     * 参考值
+     */
+    private String referenceValue;
+
+    /**
+     * 参考值(最大值)
+     */
+    private BigDecimal maxValue;
+
+    /**
+     * 参考值(最小值)
+     */
+    private BigDecimal minValue;
+
+    /**
+     * 单位
+     */
+    private String unit;
+
+    /**
+     * 范围(0:范围内,1:范围外)
+     */
+    private Integer conflictItemRange;
+
+    /**
+     * 输出结果(提醒文本)
+     */
+    @Excel(name = "实际结果", width = 80, orderNum = "10")
+    private String output;
+
+    /**
+     * 期望输出结果(提醒文本)
+     */
+    @Excel(name = "预期结果", width = 80, orderNum = "11")
+    private String expectedOutput;
+
+    /**
+     * 成功标志(1:成功,0:失败)
+     */
+    @Excel(name = "测试结果", width = 20, orderNum = "12", replace = { "失败_0", "成功_1" })
+    private Integer success;
+
+    /**
+     * 提示信息(异常提醒)
+     */
+    @Excel(name = "失败原因", width = 80, orderNum = "13")
+    private String message;
+
+    /**
+     * 模拟入参
+     */
+    private String inputParams;
+}

+ 17 - 0
cdssman-service/src/main/java/com/diagbot/dto/ExportCommonStaticTestDTO.java

@@ -0,0 +1,17 @@
+package com.diagbot.dto;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import lombok.Getter;
+import lombok.Setter;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2021/1/22 11:44
+ */
+@Getter
+@Setter
+public class ExportCommonStaticTestDTO extends ExportCommonTestDTO {
+    @Excel(name = "静态知识标识", width = 20, orderNum = "5", replace = { "无_0", "有_1" })
+    private Integer hasStaticKnowledge;
+}

+ 30 - 0
cdssman-service/src/main/java/com/diagbot/dto/ExportCommonTestDTO.java

@@ -0,0 +1,30 @@
+package com.diagbot.dto;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.util.Date;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2021/1/22 11:43
+ */
+@Getter
+@Setter
+public class ExportCommonTestDTO {
+    @Excel(name = "测试时间", width = 40, orderNum = "1", format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date gmtModified;
+    @Excel(name = "医院术语", width = 40, orderNum = "2")
+    private String hisName;
+    private String hisDetailName;
+    @Excel(name = "标准术语", width = 40, orderNum = "4")
+    private String name;
+    /**
+     * 是否有标准词(0:无,1:有)
+     */
+    private Integer hasStandName;
+}

+ 158 - 0
cdssman-service/src/main/java/com/diagbot/dto/ExportCriticalLisDTO.java

@@ -0,0 +1,158 @@
+package com.diagbot.dto;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2021/1/20 13:46
+ */
+@Getter
+@Setter
+public class ExportCriticalLisDTO {
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    @Excel(name = "测试时间", width = 40, orderNum = "1", format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试结果id
+     */
+    private Long resultId;
+
+    /**
+     * 危机值开单项类型(1:实验室检查、2:辅助检查)
+     */
+    private Integer criticalType;
+
+    /**
+     * 开单项类型
+     */
+    private String criticalItemType;
+
+    /**
+     * 开单项名称
+     */
+    @Excel(name = "实验室检查名称(标准术语)", width = 40, orderNum = "2")
+    private String criticalItemName;
+
+    /**
+     * 开单项名称(医院端)
+     */
+    @Excel(name = "实验室检查套餐名(医院术语)", width = 40, orderNum = "3")
+    private String criticalItemHisName;
+
+    /**
+     * 开单项名称-细项(医院端)
+     */
+    @Excel(name = "实验室检查名称(医院术语)", width = 40, orderNum = "4")
+    private String criticalItemHisDetailName;
+
+    /**
+     * 输入值(文本/数值)
+     */
+    @Excel(name = "输入值", width = 40, orderNum = "7")
+    private String inputValue;
+
+    /**
+     * 参考值
+     */
+    private String referenceValue;
+
+    /**
+     * 范围(0:范围内,1:范围外)
+     */
+    private Integer criticalItemRange;
+
+    /**
+     * 参考值(最小值)
+     */
+    @Excel(name = "低危急值", width = 40, orderNum = "6")
+    private BigDecimal minValue;
+
+    /**
+     * 参考值(最大值)
+     */
+    @Excel(name = "高危急值", width = 40, orderNum = "5")
+    private BigDecimal maxValue;
+
+    /**
+     * 单位
+     */
+    private String unit;
+
+    /**
+     * 年龄最小值
+     */
+    private Integer minAge;
+
+    /**
+     * 年龄最大值
+     */
+    private Integer maxAge;
+
+    /**
+     * 输出结果(提醒文本)
+     */
+    @Excel(name = "实际结果", width = 80, orderNum = "10")
+    private String output;
+
+    /**
+     * 期望输出结果(提醒文本)
+     */
+    @Excel(name = "预期结果", width = 80, orderNum = "11")
+    private String expectedOutput;
+
+    /**
+     * 成功标志(1:成功,0:失败)
+     */
+    @Excel(name = "测试结果", width = 20, orderNum = "12", replace = { "失败_0", "成功_1" })
+    private Integer success;
+
+    /**
+     * 提示信息(异常提醒)
+     */
+    @Excel(name = "失败原因", width = 80, orderNum = "13")
+    private String message;
+
+    /**
+     * 模拟入参
+     */
+    private String inputParams;
+}

+ 155 - 0
cdssman-service/src/main/java/com/diagbot/dto/ExportCriticalPacsDTO.java

@@ -0,0 +1,155 @@
+package com.diagbot.dto;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2021/1/20 13:48
+ */
+@Getter
+@Setter
+public class ExportCriticalPacsDTO {
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    @Excel(name = "测试时间", width = 40, orderNum = "1", format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试结果id
+     */
+    private Long resultId;
+
+    /**
+     * 危机值开单项类型(1:实验室检查、2:辅助检查)
+     */
+    private Integer criticalType;
+
+    /**
+     * 开单项类型
+     */
+    private String criticalItemType;
+
+    /**
+     * 开单项名称
+     */
+    @Excel(name = "辅检名称(标准术语)", width = 40, orderNum = "2")
+    private String criticalItemName;
+
+    /**
+     * 开单项名称(医院端)
+     */
+    @Excel(name = "辅检名称(医院术语)", width = 40, orderNum = "3")
+    private String criticalItemHisName;
+
+    /**
+     * 开单项名称-细项(医院端)
+     */
+    private String criticalItemHisDetailName;
+
+    /**
+     * 输入值(文本/数值)
+     */
+    @Excel(name = "辅检结果描述", width = 40, orderNum = "7")
+    private String inputValue;
+
+    /**
+     * 参考值
+     */
+    private String referenceValue;
+
+    /**
+     * 范围(0:范围内,1:范围外)
+     */
+    private Integer criticalItemRange;
+
+    /**
+     * 参考值(最小值)
+     */
+    private BigDecimal minValue;
+
+    /**
+     * 参考值(最大值)
+     */
+    private BigDecimal maxValue;
+
+    /**
+     * 单位
+     */
+    private String unit;
+
+    /**
+     * 年龄最小值
+     */
+    private Integer minAge;
+
+    /**
+     * 年龄最大值
+     */
+    private Integer maxAge;
+
+    /**
+     * 输出结果(提醒文本)
+     */
+    @Excel(name = "实际结果", width = 80, orderNum = "10")
+    private String output;
+
+    /**
+     * 期望输出结果(提醒文本)
+     */
+    @Excel(name = "预期结果", width = 80, orderNum = "11")
+    private String expectedOutput;
+
+    /**
+     * 成功标志(1:成功,0:失败)
+     */
+    @Excel(name = "测试结果", width = 20, orderNum = "12", replace = { "失败_0", "成功_1" })
+    private Integer success;
+
+    /**
+     * 提示信息(异常提醒)
+     */
+    @Excel(name = "失败原因", width = 80, orderNum = "13")
+    private String message;
+
+    /**
+     * 模拟入参
+     */
+    private String inputParams;
+}

+ 17 - 0
cdssman-service/src/main/java/com/diagbot/dto/ExportLisStaticTestDTO.java

@@ -0,0 +1,17 @@
+package com.diagbot.dto;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import lombok.Getter;
+import lombok.Setter;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2021/1/22 11:30
+ */
+@Getter
+@Setter
+public class ExportLisStaticTestDTO extends ExportLisTestDTO {
+    @Excel(name = "静态知识标识", width = 20, orderNum = "5", replace = { "无_0", "有_1" })
+    private Integer hasStaticKnowledge;
+}

+ 32 - 0
cdssman-service/src/main/java/com/diagbot/dto/ExportLisTestDTO.java

@@ -0,0 +1,32 @@
+package com.diagbot.dto;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.util.Date;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2021/1/22 11:31
+ */
+@Getter
+@Setter
+public class ExportLisTestDTO {
+
+    @Excel(name = "测试时间", width = 40, orderNum = "1", format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date gmtModified;
+    @Excel(name = "医院术语(检验套餐)", width = 40, orderNum = "2")
+    private String hisName;
+    @Excel(name = "医院术语(检验细项)", width = 40, orderNum = "3")
+    private String hisDetailName;
+    @Excel(name = "标准术语", width = 40, orderNum = "4")
+    private String name;
+    /**
+     * 是否有标准词(0:无,1:有)
+     */
+    private Integer hasStandName;
+}

+ 27 - 0
cdssman-service/src/main/java/com/diagbot/dto/IndicationDTO.java

@@ -0,0 +1,27 @@
+package com.diagbot.dto;
+
+import lombok.Data;
+
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @description: 提示信息出参
+ * @author: zhoutg
+ * @time: 2020/7/29 9:57
+ */
+@Data
+public class IndicationDTO {
+    // 危机值提醒
+    private List<BillMsg> criticalValList = new ArrayList<>();
+    // 开单合理性提示信息
+    private List<BillMsg> billMsgList = new ArrayList<>();
+    // 高危药品、手术
+    private List<BillMsg> highRiskList = new ArrayList<>();
+    // 其他提醒
+    private List<BillMsg> otherList = new ArrayList<>();
+    // 记录调试信息
+    private Map<String, Object> debug = new LinkedHashMap<>();
+}

+ 147 - 0
cdssman-service/src/main/java/com/diagbot/entity/CaseInfo.java

@@ -0,0 +1,147 @@
+package com.diagbot.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author gaodm
+ * @since 2021-01-22
+ */
+@TableName("test_case_info")
+public class CaseInfo implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试案例
+     */
+    private String caseName;
+
+    /**
+     * 测试组
+     */
+    private Integer caseGroup;
+
+    /**
+     * 测试编号
+     */
+    private Integer caseNo;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+    public Date getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(Date gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+    public Date getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(Date gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+    public String getCaseName() {
+        return caseName;
+    }
+
+    public void setCaseName(String caseName) {
+        this.caseName = caseName;
+    }
+    public Integer getCaseGroup() {
+        return caseGroup;
+    }
+
+    public void setCaseGroup(Integer caseGroup) {
+        this.caseGroup = caseGroup;
+    }
+    public Integer getCaseNo() {
+        return caseNo;
+    }
+
+    public void setCaseNo(Integer caseNo) {
+        this.caseNo = caseNo;
+    }
+
+    @Override
+    public String toString() {
+        return "CaseInfo{" +
+            "id=" + id +
+            ", isDeleted=" + isDeleted +
+            ", gmtCreate=" + gmtCreate +
+            ", gmtModified=" + gmtModified +
+            ", creator=" + creator +
+            ", modifier=" + modifier +
+            ", caseName=" + caseName +
+            ", caseGroup=" + caseGroup +
+            ", caseNo=" + caseNo +
+        "}";
+    }
+}

+ 17 - 0
cdssman-service/src/main/java/com/diagbot/entity/MappingShortEntity.java

@@ -0,0 +1,17 @@
+package com.diagbot.entity;
+
+import lombok.Getter;
+import lombok.Setter;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2021/1/8 16:59
+ */
+@Getter
+@Setter
+public class MappingShortEntity {
+    private String name;
+    private String hisName;
+    private String hisDetailName;
+}

+ 408 - 0
cdssman-service/src/main/java/com/diagbot/entity/ResultBill.java

@@ -0,0 +1,408 @@
+package com.diagbot.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author zhaops
+ * @since 2021-01-11
+ */
+@TableName("test_result_bill")
+public class ResultBill implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试结果id
+     */
+    private Long resultId;
+
+    /**
+     * 开单类型(1:通用,2:输血)
+     */
+    private Integer billType;
+
+    /**
+     * 开单项类型
+     */
+    private String billItemType;
+
+    /**
+     * 开单项名称
+     */
+    private String billItemName;
+
+    /**
+     * 开单项名称(医院端)
+     */
+    private String billItemHisName;
+
+    /**
+     * 开单项名称-细项(医院端)
+     */
+    private String billItemHisDetailName;
+
+    /**
+     * 禁忌项类型
+     */
+    private String conflictItemType;
+
+    /**
+     * 禁忌项名称
+     */
+    private String conflictItemName;
+
+    /**
+     * 禁忌项名称(医院端)
+     */
+    private String conflictItemHisName;
+
+    /**
+     * 禁忌项名称-细项(医院端)
+     */
+    private String conflictItemHisDetailName;
+
+    /**
+     * 输入值(文本/数值)
+     */
+    private String inputValue;
+
+    /**
+     * 参考值
+     */
+    private String referenceValue;
+
+    /**
+     * 参考值(最大值)
+     */
+    private BigDecimal maxValue;
+
+    /**
+     * 参考值(最小值)
+     */
+    private BigDecimal minValue;
+
+    /**
+     * 单位
+     */
+    private String unit;
+
+    /**
+     * 范围(0:范围内,1:范围外)
+     */
+    private Integer conflictItemRange;
+
+    /**
+     * 输出结果(提醒文本)
+     */
+    private String output;
+
+    /**
+     * 期望输出结果(提醒文本)
+     */
+    private String expectedOutput;
+
+    /**
+     * 成功标志(1:成功,0:失败)
+     */
+    private Integer success;
+
+    /**
+     * 提示信息(异常提醒)
+     */
+    private String message;
+
+    /**
+     * 模拟入参
+     */
+    private String inputParams;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+
+    public Date getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(Date gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+
+    public Date getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(Date gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+
+    public Long getResultId() {
+        return resultId;
+    }
+
+    public void setResultId(Long resultId) {
+        this.resultId = resultId;
+    }
+
+    public Integer getBillType() {
+        return billType;
+    }
+
+    public void setBillType(Integer billType) {
+        this.billType = billType;
+    }
+
+    public String getBillItemType() {
+        return billItemType;
+    }
+
+    public void setBillItemType(String billItemType) {
+        this.billItemType = billItemType;
+    }
+
+    public String getBillItemName() {
+        return billItemName;
+    }
+
+    public void setBillItemName(String billItemName) {
+        this.billItemName = billItemName;
+    }
+
+    public String getBillItemHisName() {
+        return billItemHisName;
+    }
+
+    public void setBillItemHisName(String billItemHisName) {
+        this.billItemHisName = billItemHisName;
+    }
+
+    public String getBillItemHisDetailName() {
+        return billItemHisDetailName;
+    }
+
+    public void setBillItemHisDetailName(String billItemHisDetailName) {
+        this.billItemHisDetailName = billItemHisDetailName;
+    }
+
+    public String getConflictItemType() {
+        return conflictItemType;
+    }
+
+    public void setConflictItemType(String conflictItemType) {
+        this.conflictItemType = conflictItemType;
+    }
+
+    public String getConflictItemName() {
+        return conflictItemName;
+    }
+
+    public void setConflictItemName(String conflictItemName) {
+        this.conflictItemName = conflictItemName;
+    }
+
+    public String getConflictItemHisName() {
+        return conflictItemHisName;
+    }
+
+    public void setConflictItemHisName(String conflictItemHisName) {
+        this.conflictItemHisName = conflictItemHisName;
+    }
+
+    public String getConflictItemHisDetailName() {
+        return conflictItemHisDetailName;
+    }
+
+    public void setConflictItemHisDetailName(String conflictItemHisDetailName) {
+        this.conflictItemHisDetailName = conflictItemHisDetailName;
+    }
+
+    public String getInputValue() {
+        return inputValue;
+    }
+
+    public void setInputValue(String inputValue) {
+        this.inputValue = inputValue;
+    }
+
+    public String getReferenceValue() {
+        return referenceValue;
+    }
+
+    public void setReferenceValue(String referenceValue) {
+        this.referenceValue = referenceValue;
+    }
+
+    public BigDecimal getMaxValue() {
+        return maxValue;
+    }
+
+    public void setMaxValue(BigDecimal maxValue) {
+        this.maxValue = maxValue;
+    }
+
+    public BigDecimal getMinValue() {
+        return minValue;
+    }
+
+    public void setMinValue(BigDecimal minValue) {
+        this.minValue = minValue;
+    }
+
+    public String getUnit() {
+        return unit;
+    }
+
+    public void setUnit(String unit) {
+        this.unit = unit;
+    }
+
+    public Integer getConflictItemRange() {
+        return conflictItemRange;
+    }
+
+    public void setConflictItemRange(Integer conflictItemRange) {
+        this.conflictItemRange = conflictItemRange;
+    }
+
+    public String getOutput() {
+        return output;
+    }
+
+    public void setOutput(String output) {
+        this.output = output;
+    }
+
+    public String getExpectedOutput() {
+        return expectedOutput;
+    }
+
+    public void setExpectedOutput(String expectedOutput) {
+        this.expectedOutput = expectedOutput;
+    }
+
+    public Integer getSuccess() {
+        return success;
+    }
+
+    public void setSuccess(Integer success) {
+        this.success = success;
+    }
+
+    public String getMessage() {
+        return message;
+    }
+
+    public void setMessage(String message) {
+        this.message = message;
+    }
+
+    public String getInputParams() {
+        return inputParams;
+    }
+
+    public void setInputParams(String inputParams) {
+        this.inputParams = inputParams;
+    }
+
+    @Override
+    public String toString() {
+        return "ResultBill{" +
+                "id=" + id +
+                ", isDeleted=" + isDeleted +
+                ", gmtCreate=" + gmtCreate +
+                ", gmtModified=" + gmtModified +
+                ", creator=" + creator +
+                ", modifier=" + modifier +
+                ", resultId=" + resultId +
+                ", billType=" + billType +
+                ", billItemType=" + billItemType +
+                ", billItemName=" + billItemName +
+                ", billItemHisName=" + billItemHisName +
+                ", billItemHisDetailName=" + billItemHisDetailName +
+                ", conflictItemType=" + conflictItemType +
+                ", conflictItemName=" + conflictItemName +
+                ", conflictItemHisName=" + conflictItemHisName +
+                ", conflictItemHisDetailName=" + conflictItemHisDetailName +
+                ", inputValue=" + inputValue +
+                ", referenceValue=" + referenceValue +
+                ", maxValue=" + maxValue +
+                ", minValue=" + minValue +
+                ", unit=" + unit +
+                ", conflictItemRange=" + conflictItemRange +
+                ", output=" + output +
+                ", expectedOutput=" + expectedOutput +
+                ", success=" + success +
+                ", message=" + message +
+                ", inputParams" + inputParams +
+                "}";
+    }
+}

+ 356 - 0
cdssman-service/src/main/java/com/diagbot/entity/ResultCritical.java

@@ -0,0 +1,356 @@
+package com.diagbot.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author gaodm
+ * @since 2021-01-14
+ */
+@TableName("test_result_critical")
+public class ResultCritical implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试结果id
+     */
+    private Long resultId;
+
+    /**
+     * 危机值开单项类型(1:实验室检查、2:辅助检查)
+     */
+    private Integer criticalType;
+
+    /**
+     * 开单项类型
+     */
+    private String criticalItemType;
+
+    /**
+     * 开单项名称
+     */
+    private String criticalItemName;
+
+    /**
+     * 开单项名称(医院端)
+     */
+    private String criticalItemHisName;
+
+    /**
+     * 开单项名称-细项(医院端)
+     */
+    private String criticalItemHisDetailName;
+
+    /**
+     * 输入值(文本/数值)
+     */
+    private String inputValue;
+
+    /**
+     * 参考值
+     */
+    private String referenceValue;
+
+    /**
+     * 范围(0:范围内,1:范围外)
+     */
+    private Integer criticalItemRange;
+
+    /**
+     * 参考值(最小值)
+     */
+    private BigDecimal minValue;
+
+    /**
+     * 参考值(最大值)
+     */
+    private BigDecimal maxValue;
+
+    /**
+     * 单位
+     */
+    private String unit;
+
+    /**
+     * 年龄最小值
+     */
+    private Integer minAge;
+
+    /**
+     * 年龄最大值
+     */
+    private Integer maxAge;
+
+    /**
+     * 输出结果(提醒文本)
+     */
+    private String output;
+
+    /**
+     * 期望输出结果(提醒文本)
+     */
+    private String expectedOutput;
+
+    /**
+     * 成功标志(1:成功,0:失败)
+     */
+    private Integer success;
+
+    /**
+     * 提示信息(异常提醒)
+     */
+    private String message;
+
+    /**
+     * 模拟入参
+     */
+    private String inputParams;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+    public Date getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(Date gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+    public Date getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(Date gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+    public Long getResultId() {
+        return resultId;
+    }
+
+    public void setResultId(Long resultId) {
+        this.resultId = resultId;
+    }
+    public Integer getCriticalType() {
+        return criticalType;
+    }
+
+    public void setCriticalType(Integer criticalType) {
+        this.criticalType = criticalType;
+    }
+    public String getCriticalItemType() {
+        return criticalItemType;
+    }
+
+    public void setCriticalItemType(String criticalItemType) {
+        this.criticalItemType = criticalItemType;
+    }
+    public String getCriticalItemName() {
+        return criticalItemName;
+    }
+
+    public void setCriticalItemName(String criticalItemName) {
+        this.criticalItemName = criticalItemName;
+    }
+    public String getCriticalItemHisName() {
+        return criticalItemHisName;
+    }
+
+    public void setCriticalItemHisName(String criticalItemHisName) {
+        this.criticalItemHisName = criticalItemHisName;
+    }
+    public String getCriticalItemHisDetailName() {
+        return criticalItemHisDetailName;
+    }
+
+    public void setCriticalItemHisDetailName(String criticalItemHisDetailName) {
+        this.criticalItemHisDetailName = criticalItemHisDetailName;
+    }
+    public String getInputValue() {
+        return inputValue;
+    }
+
+    public void setInputValue(String inputValue) {
+        this.inputValue = inputValue;
+    }
+    public String getReferenceValue() {
+        return referenceValue;
+    }
+
+    public void setReferenceValue(String referenceValue) {
+        this.referenceValue = referenceValue;
+    }
+    public Integer getCriticalItemRange() {
+        return criticalItemRange;
+    }
+
+    public void setCriticalItemRange(Integer criticalItemRange) {
+        this.criticalItemRange = criticalItemRange;
+    }
+    public BigDecimal getMinValue() {
+        return minValue;
+    }
+
+    public void setMinValue(BigDecimal minValue) {
+        this.minValue = minValue;
+    }
+    public BigDecimal getMaxValue() {
+        return maxValue;
+    }
+
+    public void setMaxValue(BigDecimal maxValue) {
+        this.maxValue = maxValue;
+    }
+    public String getUnit() {
+        return unit;
+    }
+
+    public void setUnit(String unit) {
+        this.unit = unit;
+    }
+    public Integer getMinAge() {
+        return minAge;
+    }
+
+    public void setMinAge(Integer minAge) {
+        this.minAge = minAge;
+    }
+    public Integer getMaxAge() {
+        return maxAge;
+    }
+
+    public void setMaxAge(Integer maxAge) {
+        this.maxAge = maxAge;
+    }
+    public String getOutput() {
+        return output;
+    }
+
+    public void setOutput(String output) {
+        this.output = output;
+    }
+    public String getExpectedOutput() {
+        return expectedOutput;
+    }
+
+    public void setExpectedOutput(String expectedOutput) {
+        this.expectedOutput = expectedOutput;
+    }
+    public Integer getSuccess() {
+        return success;
+    }
+
+    public void setSuccess(Integer success) {
+        this.success = success;
+    }
+    public String getMessage() {
+        return message;
+    }
+
+    public void setMessage(String message) {
+        this.message = message;
+    }
+    public String getInputParams() {
+        return inputParams;
+    }
+
+    public void setInputParams(String inputParams) {
+        this.inputParams = inputParams;
+    }
+
+    @Override
+    public String toString() {
+        return "ResultCritical{" +
+            "id=" + id +
+            ", isDeleted=" + isDeleted +
+            ", gmtCreate=" + gmtCreate +
+            ", gmtModified=" + gmtModified +
+            ", creator=" + creator +
+            ", modifier=" + modifier +
+            ", resultId=" + resultId +
+            ", criticalType=" + criticalType +
+            ", criticalItemType=" + criticalItemType +
+            ", criticalItemName=" + criticalItemName +
+            ", criticalItemHisName=" + criticalItemHisName +
+            ", criticalItemHisDetailName=" + criticalItemHisDetailName +
+            ", inputValue=" + inputValue +
+            ", referenceValue=" + referenceValue +
+            ", criticalItemRange=" + criticalItemRange +
+            ", minValue=" + minValue +
+            ", maxValue=" + maxValue +
+            ", unit=" + unit +
+            ", minAge=" + minAge +
+            ", maxAge=" + maxAge +
+            ", output=" + output +
+            ", expectedOutput=" + expectedOutput +
+            ", success=" + success +
+            ", message=" + message +
+            ", inputParams=" + inputParams +
+        "}";
+    }
+}

+ 252 - 0
cdssman-service/src/main/java/com/diagbot/entity/ResultHighriskDrug.java

@@ -0,0 +1,252 @@
+package com.diagbot.entity;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author gaodm
+ * @since 2021-01-14
+ */
+@TableName("test_result_highrisk_drug")
+public class ResultHighriskDrug implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    @Excel(name = "测试时间", width = 40, orderNum = "1", format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试结果id
+     */
+    private Long resultId;
+
+    @Excel(name = "药品通用名称(标准术语)", width = 40, orderNum = "2")
+    private String highriskItemName;
+
+    @Excel(name = "药品注册名称", width = 40, orderNum = "4")
+    private String highriskItemRegName;
+
+    @Excel(name = "药品通用名称(医院术语)", width = 40, orderNum = "3")
+    private String highriskItemHisName;
+
+    @Excel(name = "剂型", width = 40, orderNum = "5")
+    private String highriskItemForm;
+
+    /**
+     * 药品高危级别(A级高危、B级高危、C级高危)
+     */
+    @Excel(name = "药品高危级别", width = 40, orderNum = "6")
+    private String highriskLevel;
+
+    /**
+     * 输出结果(提醒文本)
+     */
+    @Excel(name = "实际结果", width = 80, orderNum = "10")
+    private String output;
+
+    /**
+     * 期望输出结果(提醒文本)
+     */
+    @Excel(name = "预期结果", width = 80, orderNum = "11")
+    private String expectedOutput;
+
+    /**
+     * 成功标志(1:成功,0:失败)
+     */
+    @Excel(name = "测试结果", width = 20, orderNum = "12", replace = { "失败_0", "成功_1" })
+    private Integer success;
+
+    /**
+     * 提示信息(异常提醒)
+     */
+    @Excel(name = "失败原因", width = 80, orderNum = "13")
+    private String message;
+
+    /**
+     * 模拟入参
+     */
+    private String inputParams;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+    public Date getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(Date gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+    public Date getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(Date gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+    public Long getResultId() {
+        return resultId;
+    }
+
+    public void setResultId(Long resultId) {
+        this.resultId = resultId;
+    }
+    public String getHighriskItemName() {
+        return highriskItemName;
+    }
+
+    public void setHighriskItemName(String highriskItemName) {
+        this.highriskItemName = highriskItemName;
+    }
+    public String getHighriskItemRegName() {
+        return highriskItemRegName;
+    }
+
+    public void setHighriskItemRegName(String highriskItemRegName) {
+        this.highriskItemRegName = highriskItemRegName;
+    }
+    public String getHighriskItemHisName() {
+        return highriskItemHisName;
+    }
+
+    public void setHighriskItemHisName(String highriskItemHisName) {
+        this.highriskItemHisName = highriskItemHisName;
+    }
+    public String getHighriskItemForm() {
+        return highriskItemForm;
+    }
+
+    public void setHighriskItemForm(String highriskItemForm) {
+        this.highriskItemForm = highriskItemForm;
+    }
+    public String getHighriskLevel() {
+        return highriskLevel;
+    }
+
+    public void setHighriskLevel(String highriskLevel) {
+        this.highriskLevel = highriskLevel;
+    }
+    public String getOutput() {
+        return output;
+    }
+
+    public void setOutput(String output) {
+        this.output = output;
+    }
+    public String getExpectedOutput() {
+        return expectedOutput;
+    }
+
+    public void setExpectedOutput(String expectedOutput) {
+        this.expectedOutput = expectedOutput;
+    }
+    public Integer getSuccess() {
+        return success;
+    }
+
+    public void setSuccess(Integer success) {
+        this.success = success;
+    }
+    public String getMessage() {
+        return message;
+    }
+
+    public void setMessage(String message) {
+        this.message = message;
+    }
+    public String getInputParams() {
+        return inputParams;
+    }
+
+    public void setInputParams(String inputParams) {
+        this.inputParams = inputParams;
+    }
+
+    @Override
+    public String toString() {
+        return "ResultHighriskDrug{" +
+            "id=" + id +
+            ", isDeleted=" + isDeleted +
+            ", gmtCreate=" + gmtCreate +
+            ", gmtModified=" + gmtModified +
+            ", creator=" + creator +
+            ", modifier=" + modifier +
+            ", resultId=" + resultId +
+            ", highriskItemName=" + highriskItemName +
+            ", highriskItemRegName=" + highriskItemRegName +
+            ", highriskItemHisName=" + highriskItemHisName +
+            ", highriskItemForm=" + highriskItemForm +
+            ", highriskLevel=" + highriskLevel +
+            ", output=" + output +
+            ", expectedOutput=" + expectedOutput +
+            ", success=" + success +
+            ", message=" + message +
+            ", inputParams=" + inputParams +
+        "}";
+    }
+}

+ 386 - 0
cdssman-service/src/main/java/com/diagbot/entity/ResultHighriskOperation.java

@@ -0,0 +1,386 @@
+package com.diagbot.entity;
+
+import java.math.BigDecimal;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+import java.util.Date;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author gaodm
+ * @since 2021-01-19
+ */
+@TableName("test_result_highrisk_operation")
+public class ResultHighriskOperation implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    @Excel(name = "测试时间", width = 40, orderNum = "1", format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试结果id
+     */
+    private Long resultId;
+
+    /**
+     * 标准名称
+     */
+    @Excel(name = "手术名称(标准术语)", width = 40, orderNum = "2")
+    private String highriskItemName;
+
+    /**
+     * 医院端名称
+     */
+    @Excel(name = "手术名称(医院术语)", width = 40, orderNum = "3")
+    private String highriskItemHisName;
+
+    /**
+     * 手术级别(1、2、3、4、5)
+     */
+    @Excel(name = "手术级别", width = 20, orderNum = "4")
+    private String level;
+
+    /**
+     * 高危条件名称
+     */
+    @Excel(name = "禁忌项(标准术语)", width = 40, orderNum = "6")
+    private String factorItemName;
+
+    /**
+     * 高危条件医院端名称
+     */
+    @Excel(name = "禁忌项(医院术语)", width = 40, orderNum = "7")
+    private String factorItemHisName;
+
+    /**
+     * 高危条件医院端名称-细项
+     */
+    @Excel(name = "禁忌项-细项(医院术语)", width = 40, orderNum = "8")
+    private String factorItemHisDetailName;
+
+    /**
+     * 高危条件类型
+     */
+    @Excel(name = "禁忌项类型", width = 40, orderNum = "5")
+    private String factorItemType;
+
+    /**
+     * 高危条件范围
+     */
+    private Integer factorItemRange;
+
+    /**
+     * 高危条件最小值
+     */
+    private BigDecimal factorItemMinValue;
+
+    /**
+     * 高危条件最大值
+     */
+    private BigDecimal factorItemMaxValue;
+
+    /**
+     * 输入值
+     */
+    @Excel(name = "禁忌项输入值/结果", width = 40, orderNum = "8")
+    private String inputValue;
+
+    /**
+     * 高危条件单位
+     */
+    private String factorItemUnit;
+
+    /**
+     * 是否模糊匹配
+     */
+    private String factorItemExactMatch;
+
+    /**
+     * 高危条件
+     */
+    private String factorItemCond;
+
+    /**
+     * 输出结果(提醒文本)
+     */
+    @Excel(name = "实际结果", width = 80, orderNum = "10")
+    private String output;
+
+    /**
+     * 期望输出结果(提醒文本)
+     */
+    @Excel(name = "预期结果", width = 80, orderNum = "11")
+    private String expectedOutput;
+
+    /**
+     * 成功标志(1:成功,0:失败)
+     */
+    @Excel(name = "测试结果", width = 20, orderNum = "12", replace = { "失败_0", "成功_1" })
+    private Integer success;
+
+    /**
+     * 提示信息(异常提醒)
+     */
+    @Excel(name = "失败原因", width = 80, orderNum = "13")
+    private String message;
+
+    /**
+     * 模拟入参
+     */
+    private String inputParams;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+    public Date getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(Date gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+    public Date getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(Date gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+    public Long getResultId() {
+        return resultId;
+    }
+
+    public void setResultId(Long resultId) {
+        this.resultId = resultId;
+    }
+    public String getHighriskItemName() {
+        return highriskItemName;
+    }
+
+    public void setHighriskItemName(String highriskItemName) {
+        this.highriskItemName = highriskItemName;
+    }
+    public String getHighriskItemHisName() {
+        return highriskItemHisName;
+    }
+
+    public void setHighriskItemHisName(String highriskItemHisName) {
+        this.highriskItemHisName = highriskItemHisName;
+    }
+    public String getLevel() {
+        return level;
+    }
+
+    public void setLevel(String level) {
+        this.level = level;
+    }
+    public String getFactorItemName() {
+        return factorItemName;
+    }
+
+    public void setFactorItemName(String factorItemName) {
+        this.factorItemName = factorItemName;
+    }
+    public String getFactorItemHisName() {
+        return factorItemHisName;
+    }
+
+    public void setFactorItemHisName(String factorItemHisName) {
+        this.factorItemHisName = factorItemHisName;
+    }
+    public String getFactorItemHisDetailName() {
+        return factorItemHisDetailName;
+    }
+
+    public void setFactorItemHisDetailName(String factorItemHisDetailName) {
+        this.factorItemHisDetailName = factorItemHisDetailName;
+    }
+    public String getFactorItemType() {
+        return factorItemType;
+    }
+
+    public void setFactorItemType(String factorItemType) {
+        this.factorItemType = factorItemType;
+    }
+    public Integer getFactorItemRange() {
+        return factorItemRange;
+    }
+
+    public void setFactorItemRange(Integer factorItemRange) {
+        this.factorItemRange = factorItemRange;
+    }
+    public BigDecimal getFactorItemMinValue() {
+        return factorItemMinValue;
+    }
+
+    public void setFactorItemMinValue(BigDecimal factorItemMinValue) {
+        this.factorItemMinValue = factorItemMinValue;
+    }
+    public BigDecimal getFactorItemMaxValue() {
+        return factorItemMaxValue;
+    }
+
+    public void setFactorItemMaxValue(BigDecimal factorItemMaxValue) {
+        this.factorItemMaxValue = factorItemMaxValue;
+    }
+    public String getInputValue() {
+        return inputValue;
+    }
+
+    public void setInputValue(String inputValue) {
+        this.inputValue = inputValue;
+    }
+    public String getFactorItemUnit() {
+        return factorItemUnit;
+    }
+
+    public void setFactorItemUnit(String factorItemUnit) {
+        this.factorItemUnit = factorItemUnit;
+    }
+    public String getFactorItemExactMatch() {
+        return factorItemExactMatch;
+    }
+
+    public void setFactorItemExactMatch(String factorItemExactMatch) {
+        this.factorItemExactMatch = factorItemExactMatch;
+    }
+    public String getFactorItemCond() {
+        return factorItemCond;
+    }
+
+    public void setFactorItemCond(String factorItemCond) {
+        this.factorItemCond = factorItemCond;
+    }
+    public String getOutput() {
+        return output;
+    }
+
+    public void setOutput(String output) {
+        this.output = output;
+    }
+    public String getExpectedOutput() {
+        return expectedOutput;
+    }
+
+    public void setExpectedOutput(String expectedOutput) {
+        this.expectedOutput = expectedOutput;
+    }
+    public Integer getSuccess() {
+        return success;
+    }
+
+    public void setSuccess(Integer success) {
+        this.success = success;
+    }
+    public String getMessage() {
+        return message;
+    }
+
+    public void setMessage(String message) {
+        this.message = message;
+    }
+    public String getInputParams() {
+        return inputParams;
+    }
+
+    public void setInputParams(String inputParams) {
+        this.inputParams = inputParams;
+    }
+
+    @Override
+    public String toString() {
+        return "ResultHighriskOperation{" +
+            "id=" + id +
+            ", isDeleted=" + isDeleted +
+            ", gmtCreate=" + gmtCreate +
+            ", gmtModified=" + gmtModified +
+            ", creator=" + creator +
+            ", modifier=" + modifier +
+            ", resultId=" + resultId +
+            ", highriskItemName=" + highriskItemName +
+            ", highriskItemHisName=" + highriskItemHisName +
+            ", level=" + level +
+            ", factorItemName=" + factorItemName +
+            ", factorItemHisName=" + factorItemHisName +
+            ", factorItemHisDetailName=" + factorItemHisDetailName +
+            ", factorItemType=" + factorItemType +
+            ", factorItemRange=" + factorItemRange +
+            ", factorItemMinValue=" + factorItemMinValue +
+            ", factorItemMaxValue=" + factorItemMaxValue +
+            ", inputValue=" + inputValue +
+            ", factorItemUnit=" + factorItemUnit +
+            ", factorItemExactMatch=" + factorItemExactMatch +
+            ", factorItemCond=" + factorItemCond +
+            ", output=" + output +
+            ", expectedOutput=" + expectedOutput +
+            ", success=" + success +
+            ", message=" + message +
+            ", inputParams=" + inputParams +
+        "}";
+    }
+}

+ 173 - 0
cdssman-service/src/main/java/com/diagbot/entity/ResultInfo.java

@@ -0,0 +1,173 @@
+package com.diagbot.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author zhaops
+ * @since 2021-01-06
+ */
+@TableName("test_result_info")
+public class ResultInfo implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 医院id
+     */
+    private Long hospitalId;
+
+    /**
+     * 测试案例id
+     */
+    private Long caseId;
+
+    /**
+     * 规则条数
+     */
+    private Integer ruleNum;
+
+    /**
+     * 规则执行成功条数
+     */
+    private Integer ruleSuccessNum;
+
+    /**
+     * 规则执行失败条数
+     */
+    private Integer ruleFailedNum;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+    public Date getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(Date gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+    public Date getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(Date gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+    public Long getHospitalId() {
+        return hospitalId;
+    }
+
+    public void setHospitalId(Long hospitalId) {
+        this.hospitalId = hospitalId;
+    }
+    public Long getCaseId() {
+        return caseId;
+    }
+
+    public void setCaseId(Long caseId) {
+        this.caseId = caseId;
+    }
+    public Integer getRuleNum() {
+        return ruleNum;
+    }
+
+    public void setRuleNum(Integer ruleNum) {
+        this.ruleNum = ruleNum;
+    }
+    public Integer getRuleSuccessNum() {
+        return ruleSuccessNum;
+    }
+
+    public void setRuleSuccessNum(Integer ruleSuccessNum) {
+        this.ruleSuccessNum = ruleSuccessNum;
+    }
+    public Integer getRuleFailedNum() {
+        return ruleFailedNum;
+    }
+
+    public void setRuleFailedNum(Integer ruleFailedNum) {
+        this.ruleFailedNum = ruleFailedNum;
+    }
+
+    @Override
+    public String toString() {
+        return "ResultInfo{" +
+            "id=" + id +
+            ", isDeleted=" + isDeleted +
+            ", gmtCreate=" + gmtCreate +
+            ", gmtModified=" + gmtModified +
+            ", creator=" + creator +
+            ", modifier=" + modifier +
+            ", hospitalId=" + hospitalId +
+            ", caseId=" + caseId +
+            ", ruleNum=" + ruleNum +
+            ", ruleSuccessNum=" + ruleSuccessNum +
+            ", ruleFailedNum=" + ruleFailedNum +
+        "}";
+    }
+}

+ 385 - 0
cdssman-service/src/main/java/com/diagbot/entity/ResultOtherLis.java

@@ -0,0 +1,385 @@
+package com.diagbot.entity;
+
+import java.math.BigDecimal;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+import java.util.Date;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author gaodm
+ * @since 2021-01-19
+ */
+@TableName("test_result_other_lis")
+public class ResultOtherLis implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    @Excel(name = "测试时间", width = 40, orderNum = "1", format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试结果id
+     */
+    private Long resultId;
+
+    /**
+     * 其他开单项类型
+     */
+    private String otherItemType;
+
+    /**
+     * 其他开单项名称
+     */
+    @Excel(name = "实验室检查名称(标准术语)", width = 40, orderNum = "2")
+    private String otherItemName;
+
+    /**
+     * 其他开单项名称(医院端)
+     */
+    @Excel(name = "实验室检查套餐名(医院术语))", width = 40, orderNum = "3")
+    private String otherItemHisName;
+
+    /**
+     * 其他开单项名称-细项(医院端)
+     */
+    @Excel(name = "实验室检查名称(医院术语))", width = 40, orderNum = "4")
+    private String otherItemHisDetailName;
+
+    /**
+     * 范围(0:范围内,1:范围外)
+     */
+    private Integer otherItemRange;
+
+    /**
+     * 提醒项类型
+     */
+    @Excel(name = "禁忌项类型", width = 40, orderNum = "6")
+    private String remindItemType;
+
+    /**
+     * 提醒项名称
+     */
+    @Excel(name = "禁忌项(标准术语)", width = 40, orderNum = "7")
+    private String remindItemName;
+
+    /**
+     * 提醒项名称(医院端)
+     */
+    @Excel(name = "禁忌项(医院术语)", width = 40, orderNum = "8")
+    private String remindItemHisName;
+
+    /**
+     * 提醒项名称-细项(医院端)
+     */
+    private String remindItemHisDetailName;
+
+    /**
+     * 输入值
+     */
+    @Excel(name = "实验室检查数值", width = 40, orderNum = "5")
+    private String inputValue;
+
+    /**
+     * 参考值
+     */
+    private String referenceValue;
+
+    /**
+     * 参考值(最大值)
+     */
+    private BigDecimal maxValue;
+
+    /**
+     * 参考值(最小值)
+     */
+    private BigDecimal minValue;
+
+    /**
+     * 单位
+     */
+    private String unit;
+
+    /**
+     * 输出结果(提醒文本)
+     */
+    @Excel(name = "实际结果", width = 80, orderNum = "10")
+    private String output;
+
+    /**
+     * 期望输出结果(提醒文本)
+     */
+    @Excel(name = "预期结果", width = 80, orderNum = "11")
+    private String expectedOutput;
+
+    /**
+     * 成功标志(1:成功,0:失败)
+     */
+    @Excel(name = "测试结果", width = 20, orderNum = "12", replace = { "失败_0", "成功_1" })
+    private Integer success;
+
+    /**
+     * 提示信息(异常提醒)
+     */
+    @Excel(name = "失败原因", width = 80, orderNum = "13")
+    private String message;
+
+    /**
+     * 模拟入参
+     */
+    private String inputParams;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+    public Date getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(Date gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+    public Date getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(Date gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+    public Long getResultId() {
+        return resultId;
+    }
+
+    public void setResultId(Long resultId) {
+        this.resultId = resultId;
+    }
+    public String getOtherItemType() {
+        return otherItemType;
+    }
+
+    public void setOtherItemType(String otherItemType) {
+        this.otherItemType = otherItemType;
+    }
+    public String getOtherItemName() {
+        return otherItemName;
+    }
+
+    public void setOtherItemName(String otherItemName) {
+        this.otherItemName = otherItemName;
+    }
+    public String getOtherItemHisName() {
+        return otherItemHisName;
+    }
+
+    public void setOtherItemHisName(String otherItemHisName) {
+        this.otherItemHisName = otherItemHisName;
+    }
+    public String getOtherItemHisDetailName() {
+        return otherItemHisDetailName;
+    }
+
+    public void setOtherItemHisDetailName(String otherItemHisDetailName) {
+        this.otherItemHisDetailName = otherItemHisDetailName;
+    }
+    public Integer getOtherItemRange() {
+        return otherItemRange;
+    }
+
+    public void setOtherItemRange(Integer otherItemRange) {
+        this.otherItemRange = otherItemRange;
+    }
+    public String getRemindItemType() {
+        return remindItemType;
+    }
+
+    public void setRemindItemType(String remindItemType) {
+        this.remindItemType = remindItemType;
+    }
+    public String getRemindItemName() {
+        return remindItemName;
+    }
+
+    public void setRemindItemName(String remindItemName) {
+        this.remindItemName = remindItemName;
+    }
+    public String getRemindItemHisName() {
+        return remindItemHisName;
+    }
+
+    public void setRemindItemHisName(String remindItemHisName) {
+        this.remindItemHisName = remindItemHisName;
+    }
+    public String getRemindItemHisDetailName() {
+        return remindItemHisDetailName;
+    }
+
+    public void setRemindItemHisDetailName(String remindItemHisDetailName) {
+        this.remindItemHisDetailName = remindItemHisDetailName;
+    }
+    public String getInputValue() {
+        return inputValue;
+    }
+
+    public void setInputValue(String inputValue) {
+        this.inputValue = inputValue;
+    }
+    public String getReferenceValue() {
+        return referenceValue;
+    }
+
+    public void setReferenceValue(String referenceValue) {
+        this.referenceValue = referenceValue;
+    }
+    public BigDecimal getMaxValue() {
+        return maxValue;
+    }
+
+    public void setMaxValue(BigDecimal maxValue) {
+        this.maxValue = maxValue;
+    }
+    public BigDecimal getMinValue() {
+        return minValue;
+    }
+
+    public void setMinValue(BigDecimal minValue) {
+        this.minValue = minValue;
+    }
+    public String getUnit() {
+        return unit;
+    }
+
+    public void setUnit(String unit) {
+        this.unit = unit;
+    }
+    public String getOutput() {
+        return output;
+    }
+
+    public void setOutput(String output) {
+        this.output = output;
+    }
+    public String getExpectedOutput() {
+        return expectedOutput;
+    }
+
+    public void setExpectedOutput(String expectedOutput) {
+        this.expectedOutput = expectedOutput;
+    }
+    public Integer getSuccess() {
+        return success;
+    }
+
+    public void setSuccess(Integer success) {
+        this.success = success;
+    }
+    public String getMessage() {
+        return message;
+    }
+
+    public void setMessage(String message) {
+        this.message = message;
+    }
+    public String getInputParams() {
+        return inputParams;
+    }
+
+    public void setInputParams(String inputParams) {
+        this.inputParams = inputParams;
+    }
+
+    @Override
+    public String toString() {
+        return "ResultOtherLis{" +
+            "id=" + id +
+            ", isDeleted=" + isDeleted +
+            ", gmtCreate=" + gmtCreate +
+            ", gmtModified=" + gmtModified +
+            ", creator=" + creator +
+            ", modifier=" + modifier +
+            ", resultId=" + resultId +
+            ", otherItemType=" + otherItemType +
+            ", otherItemName=" + otherItemName +
+            ", otherItemHisName=" + otherItemHisName +
+            ", otherItemHisDetailName=" + otherItemHisDetailName +
+            ", otherItemRange=" + otherItemRange +
+            ", remindItemType=" + remindItemType +
+            ", remindItemName=" + remindItemName +
+            ", remindItemHisName=" + remindItemHisName +
+            ", remindItemHisDetailName=" + remindItemHisDetailName +
+            ", inputValue=" + inputValue +
+            ", referenceValue=" + referenceValue +
+            ", maxValue=" + maxValue +
+            ", minValue=" + minValue +
+            ", unit=" + unit +
+            ", output=" + output +
+            ", expectedOutput=" + expectedOutput +
+            ", success=" + success +
+            ", message=" + message +
+            ", inputParams=" + inputParams +
+        "}";
+    }
+}

+ 384 - 0
cdssman-service/src/main/java/com/diagbot/entity/ResultOtherPacs.java

@@ -0,0 +1,384 @@
+package com.diagbot.entity;
+
+import java.math.BigDecimal;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+import java.util.Date;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author gaodm
+ * @since 2021-01-20
+ */
+@TableName("test_result_other_pacs")
+public class ResultOtherPacs implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    @Excel(name = "测试时间", width = 40, orderNum = "1", format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试结果id
+     */
+    private Long resultId;
+
+    /**
+     * 辅检描述
+     */
+    private String pacsDescribe;
+
+    /**
+     * 辅检结果
+     */
+    @Excel(name = "检查结果描述(标准术语)", width = 40, orderNum = "2")
+    private String pacsResult;
+
+    /**
+     * 提醒项类型
+     */
+    @Excel(name = "禁忌项类型", width = 40, orderNum = "5")
+    private String remindItemType;
+
+    /**
+     * 提醒项名称
+     */
+    @Excel(name = "禁忌项(标准术语)", width = 40, orderNum = "6")
+    private String remindItemName;
+
+    /**
+     * 提醒项名称(医院端)
+     */
+    @Excel(name = "禁忌项(医院术语)", width = 40, orderNum = "7")
+    private String remindItemHisName;
+
+    /**
+     * 提醒项名称-细项(医院端)
+     */
+    private String remindItemHisDetailName;
+
+    /**
+     * 参考值
+     */
+    private String referenceValue;
+
+    /**
+     * 参考值(最大值)
+     */
+    private BigDecimal maxAge;
+
+    /**
+     * 参考值(最小值)
+     */
+    private BigDecimal minAge;
+
+    /**
+     * 年龄范围(0:范围内,1:范围外)
+     */
+    private Integer ageRange;
+
+    /**
+     * 输入值
+     */
+    @Excel(name = "年龄", width = 40, orderNum = "4")
+    private String inputAge;
+
+    /**
+     * 性别
+     */
+    @Excel(name = "性别", width = 40, orderNum = "3")
+    private String gender;
+
+    /**
+     * 检查结论有
+     */
+    private String postoken;
+
+    /**
+     * 检查结论无
+     */
+    private String negtoken;
+
+    /**
+     * 输出结果(提醒文本)
+     */
+    @Excel(name = "实际结果", width = 80, orderNum = "10")
+    private String output;
+
+    /**
+     * 期望输出结果(提醒文本)
+     */
+    @Excel(name = "预期结果", width = 80, orderNum = "11")
+    private String expectedOutput;
+
+    /**
+     * 成功标志(1:成功,0:失败)
+     */
+    @Excel(name = "测试结果", width = 20, orderNum = "12", replace = { "失败_0", "成功_1" })
+    private Integer success;
+
+    /**
+     * 提示信息(异常提醒)
+     */
+    @Excel(name = "失败原因", width = 80, orderNum = "13")
+    private String message;
+
+    /**
+     * 模拟入参
+     */
+    private String inputParams;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+    public Date getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(Date gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+    public Date getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(Date gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+    public Long getResultId() {
+        return resultId;
+    }
+
+    public void setResultId(Long resultId) {
+        this.resultId = resultId;
+    }
+    public String getPacsDescribe() {
+        return pacsDescribe;
+    }
+
+    public void setPacsDescribe(String pacsDescribe) {
+        this.pacsDescribe = pacsDescribe;
+    }
+    public String getPacsResult() {
+        return pacsResult;
+    }
+
+    public void setPacsResult(String pacsResult) {
+        this.pacsResult = pacsResult;
+    }
+    public String getRemindItemType() {
+        return remindItemType;
+    }
+
+    public void setRemindItemType(String remindItemType) {
+        this.remindItemType = remindItemType;
+    }
+    public String getRemindItemName() {
+        return remindItemName;
+    }
+
+    public void setRemindItemName(String remindItemName) {
+        this.remindItemName = remindItemName;
+    }
+    public String getRemindItemHisName() {
+        return remindItemHisName;
+    }
+
+    public void setRemindItemHisName(String remindItemHisName) {
+        this.remindItemHisName = remindItemHisName;
+    }
+    public String getRemindItemHisDetailName() {
+        return remindItemHisDetailName;
+    }
+
+    public void setRemindItemHisDetailName(String remindItemHisDetailName) {
+        this.remindItemHisDetailName = remindItemHisDetailName;
+    }
+    public String getReferenceValue() {
+        return referenceValue;
+    }
+
+    public void setReferenceValue(String referenceValue) {
+        this.referenceValue = referenceValue;
+    }
+    public BigDecimal getMaxAge() {
+        return maxAge;
+    }
+
+    public void setMaxAge(BigDecimal maxAge) {
+        this.maxAge = maxAge;
+    }
+    public BigDecimal getMinAge() {
+        return minAge;
+    }
+
+    public void setMinAge(BigDecimal minAge) {
+        this.minAge = minAge;
+    }
+    public Integer getAgeRange() {
+        return ageRange;
+    }
+
+    public void setAgeRange(Integer ageRange) {
+        this.ageRange = ageRange;
+    }
+    public String getInputAge() {
+        return inputAge;
+    }
+
+    public void setInputAge(String inputAge) {
+        this.inputAge = inputAge;
+    }
+    public String getGender() {
+        return gender;
+    }
+
+    public void setGender(String gender) {
+        this.gender = gender;
+    }
+    public String getPostoken() {
+        return postoken;
+    }
+
+    public void setPostoken(String postoken) {
+        this.postoken = postoken;
+    }
+    public String getNegtoken() {
+        return negtoken;
+    }
+
+    public void setNegtoken(String negtoken) {
+        this.negtoken = negtoken;
+    }
+    public String getOutput() {
+        return output;
+    }
+
+    public void setOutput(String output) {
+        this.output = output;
+    }
+    public String getExpectedOutput() {
+        return expectedOutput;
+    }
+
+    public void setExpectedOutput(String expectedOutput) {
+        this.expectedOutput = expectedOutput;
+    }
+    public Integer getSuccess() {
+        return success;
+    }
+
+    public void setSuccess(Integer success) {
+        this.success = success;
+    }
+    public String getMessage() {
+        return message;
+    }
+
+    public void setMessage(String message) {
+        this.message = message;
+    }
+    public String getInputParams() {
+        return inputParams;
+    }
+
+    public void setInputParams(String inputParams) {
+        this.inputParams = inputParams;
+    }
+
+    @Override
+    public String toString() {
+        return "ResultOtherPacs{" +
+            "id=" + id +
+            ", isDeleted=" + isDeleted +
+            ", gmtCreate=" + gmtCreate +
+            ", gmtModified=" + gmtModified +
+            ", creator=" + creator +
+            ", modifier=" + modifier +
+            ", resultId=" + resultId +
+            ", pacsDescribe=" + pacsDescribe +
+            ", pacsResult=" + pacsResult +
+            ", remindItemType=" + remindItemType +
+            ", remindItemName=" + remindItemName +
+            ", remindItemHisName=" + remindItemHisName +
+            ", remindItemHisDetailName=" + remindItemHisDetailName +
+            ", referenceValue=" + referenceValue +
+            ", maxAge=" + maxAge +
+            ", minAge=" + minAge +
+            ", ageRange=" + ageRange +
+            ", inputAge=" + inputAge +
+            ", gender=" + gender +
+            ", postoken=" + postoken +
+            ", negtoken=" + negtoken +
+            ", output=" + output +
+            ", expectedOutput=" + expectedOutput +
+            ", success=" + success +
+            ", message=" + message +
+            ", inputParams=" + inputParams +
+        "}";
+    }
+}

+ 465 - 0
cdssman-service/src/main/java/com/diagbot/entity/ResultOtherTransfusion.java

@@ -0,0 +1,465 @@
+package com.diagbot.entity;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+import java.util.Objects;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author gaodm
+ * @since 2021-01-19
+ */
+@TableName("test_result_other_transfusion")
+public class ResultOtherTransfusion implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    @Excel(name = "测试时间", width = 40, orderNum = "1", format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试结果id
+     */
+    private Long resultId;
+
+    /**
+     * 其他开单项名称
+     */
+    @Excel(name = "实验室检查名称(标准术语)", width = 40, orderNum = "2")
+    private String otherItemName;
+
+    /**
+     * 其他开单项名称(医院端)
+     */
+    @Excel(name = "实验室检查套餐名(医院术语)", width = 40, orderNum = "3")
+    private String otherItemHisName;
+
+    /**
+     * 其他开单项名称-细项(医院端)
+     */
+    @Excel(name = "实验室检查名称(医院术语)", width = 40, orderNum = "4")
+    private String otherItemHisDetailName;
+
+    /**
+     * 范围(0:范围内,1:范围外)
+     */
+    private Integer otherItemRange;
+
+    /**
+     * 参考值(最大值)
+     */
+    private BigDecimal otherItemMaxValue;
+
+    /**
+     * 参考值(最小值)
+     */
+    private BigDecimal otherItemMinValue;
+
+    /**
+     * 单位
+     */
+    private String otherItemUnit;
+
+    /**
+     * 输入值
+     */
+    @Excel(name = "实验室检查数值", width = 40, orderNum = "5")
+    private String otherItemInputValue;
+
+    /**
+     * 输注类型
+     */
+    private String transfusionType;
+
+    /**
+     * 输注类型(医院端)
+     */
+    private String transfusionTypeHisName;
+
+    /**
+     * 禁忌项类型
+     */
+    @Excel(name = "禁忌项类型", width = 40, orderNum = "6")
+    private String conflictItemType;
+
+    /**
+     * 禁忌项名称
+     */
+    @Excel(name = "禁忌项(标准术语)", width = 40, orderNum = "7")
+    private String conflictItemName;
+
+    /**
+     * 禁忌项名称(医院端)
+     */
+    @Excel(name = "禁忌项(医院术语)", width = 40, orderNum = "8")
+    private String conflictItemHisName;
+
+    /**
+     * 禁忌项名称-细项(医院端)
+     */
+    private String conflictItemHisDetailName;
+
+    /**
+     * 参考值
+     */
+    private String referenceValue;
+
+    /**
+     * 输出结果(提醒文本)
+     */
+    @Excel(name = "实际结果", width = 80, orderNum = "10")
+    private String output;
+
+    /**
+     * 期望输出结果(提醒文本)
+     */
+    @Excel(name = "预期结果", width = 80, orderNum = "11")
+    private String expectedOutput;
+
+    /**
+     * 成功标志(1:成功,0:失败)
+     */
+    @Excel(name = "测试结果", width = 20, orderNum = "12", replace = { "失败_0", "成功_1" })
+    private Integer success;
+
+    /**
+     * 提示信息(异常提醒)
+     */
+    @Excel(name = "失败原因", width = 80, orderNum = "13")
+    private String message;
+
+    /**
+     * 模拟入参
+     */
+    private String inputParams;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+
+    public Date getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(Date gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+
+    public Date getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(Date gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+
+    public Long getResultId() {
+        return resultId;
+    }
+
+    public void setResultId(Long resultId) {
+        this.resultId = resultId;
+    }
+
+    public String getOtherItemName() {
+        return otherItemName;
+    }
+
+    public void setOtherItemName(String otherItemName) {
+        this.otherItemName = otherItemName;
+    }
+
+    public String getOtherItemHisName() {
+        return otherItemHisName;
+    }
+
+    public void setOtherItemHisName(String otherItemHisName) {
+        this.otherItemHisName = otherItemHisName;
+    }
+
+    public String getOtherItemHisDetailName() {
+        return otherItemHisDetailName;
+    }
+
+    public void setOtherItemHisDetailName(String otherItemHisDetailName) {
+        this.otherItemHisDetailName = otherItemHisDetailName;
+    }
+
+    public Integer getOtherItemRange() {
+        return otherItemRange;
+    }
+
+    public void setOtherItemRange(Integer otherItemRange) {
+        this.otherItemRange = otherItemRange;
+    }
+
+    public BigDecimal getOtherItemMaxValue() {
+        return otherItemMaxValue;
+    }
+
+    public void setOtherItemMaxValue(BigDecimal otherItemMaxValue) {
+        this.otherItemMaxValue = otherItemMaxValue;
+    }
+
+    public BigDecimal getOtherItemMinValue() {
+        return otherItemMinValue;
+    }
+
+    public void setOtherItemMinValue(BigDecimal otherItemMinValue) {
+        this.otherItemMinValue = otherItemMinValue;
+    }
+
+    public String getOtherItemUnit() {
+        return otherItemUnit;
+    }
+
+    public void setOtherItemUnit(String otherItemUnit) {
+        this.otherItemUnit = otherItemUnit;
+    }
+
+    public String getOtherItemInputValue() {
+        return otherItemInputValue;
+    }
+
+    public void setOtherItemInputValue(String otherItemInputValue) {
+        this.otherItemInputValue = otherItemInputValue;
+    }
+
+    public String getTransfusionType() {
+        return transfusionType;
+    }
+
+    public void setTransfusionType(String transfusionType) {
+        this.transfusionType = transfusionType;
+    }
+
+    public String getTransfusionTypeHisName() {
+        return transfusionTypeHisName;
+    }
+
+    public void setTransfusionTypeHisName(String transfusionTypeHisName) {
+        this.transfusionTypeHisName = transfusionTypeHisName;
+    }
+
+    public String getConflictItemType() {
+        return conflictItemType;
+    }
+
+    public void setConflictItemType(String conflictItemType) {
+        this.conflictItemType = conflictItemType;
+    }
+
+    public String getConflictItemName() {
+        return conflictItemName;
+    }
+
+    public void setConflictItemName(String conflictItemName) {
+        this.conflictItemName = conflictItemName;
+    }
+
+    public String getConflictItemHisName() {
+        return conflictItemHisName;
+    }
+
+    public void setConflictItemHisName(String conflictItemHisName) {
+        this.conflictItemHisName = conflictItemHisName;
+    }
+
+    public String getConflictItemHisDetailName() {
+        return conflictItemHisDetailName;
+    }
+
+    public void setConflictItemHisDetailName(String conflictItemHisDetailName) {
+        this.conflictItemHisDetailName = conflictItemHisDetailName;
+    }
+
+    public String getReferenceValue() {
+        return referenceValue;
+    }
+
+    public void setReferenceValue(String referenceValue) {
+        this.referenceValue = referenceValue;
+    }
+
+    public String getOutput() {
+        return output;
+    }
+
+    public void setOutput(String output) {
+        this.output = output;
+    }
+
+    public String getExpectedOutput() {
+        return expectedOutput;
+    }
+
+    public void setExpectedOutput(String expectedOutput) {
+        this.expectedOutput = expectedOutput;
+    }
+
+    public Integer getSuccess() {
+        return success;
+    }
+
+    public void setSuccess(Integer success) {
+        this.success = success;
+    }
+
+    public String getMessage() {
+        return message;
+    }
+
+    public void setMessage(String message) {
+        this.message = message;
+    }
+
+    public String getInputParams() {
+        return inputParams;
+    }
+
+    public void setInputParams(String inputParams) {
+        this.inputParams = inputParams;
+    }
+
+    @Override
+    public String toString() {
+        return "ResultOtherTransfusion{" +
+                "id=" + id +
+                ", isDeleted=" + isDeleted +
+                ", gmtCreate=" + gmtCreate +
+                ", gmtModified=" + gmtModified +
+                ", creator=" + creator +
+                ", modifier=" + modifier +
+                ", resultId=" + resultId +
+                ", otherItemName=" + otherItemName +
+                ", otherItemHisName=" + otherItemHisName +
+                ", otherItemHisDetailName=" + otherItemHisDetailName +
+                ", otherItemRange=" + otherItemRange +
+                ", otherItemMaxValue=" + otherItemMaxValue +
+                ", otherItemMinValue=" + otherItemMinValue +
+                ", otherItemUnit=" + otherItemUnit +
+                ", otherItemInputValue=" + otherItemInputValue +
+                ", transfusionType=" + transfusionType +
+                ", transfusionTypeHisName=" + transfusionTypeHisName +
+                ", conflictItemType=" + conflictItemType +
+                ", conflictItemName=" + conflictItemName +
+                ", conflictItemHisName=" + conflictItemHisName +
+                ", conflictItemHisDetailName=" + conflictItemHisDetailName +
+                ", referenceValue=" + referenceValue +
+                ", output=" + output +
+                ", expectedOutput=" + expectedOutput +
+                ", success=" + success +
+                ", message=" + message +
+                ", inputParams=" + inputParams +
+                "}";
+    }
+
+
+    @Override
+    public boolean equals(Object o) {
+        if (this == o)
+            return true;
+        if (o == null || getClass() != o.getClass())
+            return false;
+        ResultOtherTransfusion resultOtherTransfusion = (ResultOtherTransfusion) o;
+        return Objects.equals(id, resultOtherTransfusion.id)
+                && Objects.equals(isDeleted, resultOtherTransfusion.isDeleted)
+                && Objects.equals(resultId, resultOtherTransfusion.resultId)
+                && Objects.equals(otherItemName, resultOtherTransfusion.otherItemName)
+                && Objects.equals(otherItemHisName, resultOtherTransfusion.otherItemHisName)
+                && Objects.equals(otherItemHisDetailName, resultOtherTransfusion.otherItemHisDetailName)
+                && Objects.equals(otherItemRange, resultOtherTransfusion.otherItemRange)
+                && Objects.equals(otherItemMaxValue, resultOtherTransfusion.otherItemMaxValue)
+                && Objects.equals(otherItemMinValue, resultOtherTransfusion.otherItemMinValue)
+                && Objects.equals(otherItemUnit, resultOtherTransfusion.otherItemUnit)
+                && Objects.equals(otherItemInputValue, resultOtherTransfusion.otherItemInputValue)
+                && Objects.equals(transfusionType, resultOtherTransfusion.transfusionType)
+                && Objects.equals(transfusionTypeHisName, resultOtherTransfusion.transfusionTypeHisName)
+                && Objects.equals(conflictItemType, resultOtherTransfusion.conflictItemType)
+                && Objects.equals(conflictItemName, resultOtherTransfusion.conflictItemName)
+                && Objects.equals(conflictItemHisName, resultOtherTransfusion.conflictItemHisName)
+                && Objects.equals(conflictItemHisDetailName, resultOtherTransfusion.conflictItemHisDetailName)
+                && Objects.equals(referenceValue, resultOtherTransfusion.referenceValue)
+                && Objects.equals(output, resultOtherTransfusion.output)
+                && Objects.equals(expectedOutput, resultOtherTransfusion.expectedOutput)
+                && Objects.equals(success, resultOtherTransfusion.success)
+                && Objects.equals(message, resultOtherTransfusion.message)
+                && Objects.equals(inputParams, resultOtherTransfusion.inputParams);
+    }
+
+    @Override
+    public int hashCode() {
+        return Objects.hash(id, isDeleted, resultId, otherItemName, otherItemHisName, otherItemHisDetailName,
+                otherItemRange, otherItemMaxValue, otherItemMinValue, otherItemUnit, otherItemInputValue,
+                transfusionType, transfusionTypeHisName, conflictItemType, conflictItemName, conflictItemHisName,
+                conflictItemHisDetailName, referenceValue, output, expectedOutput, success, message, inputParams);
+    }
+}

+ 183 - 0
cdssman-service/src/main/java/com/diagbot/entity/ResultStaticInfo.java

@@ -0,0 +1,183 @@
+package com.diagbot.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author gaodm
+ * @since 2021-01-22
+ */
+@TableName("test_result_static_info")
+public class ResultStaticInfo implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 医院id
+     */
+    private Long hospitalId;
+
+    /**
+     * 测试案例id
+     */
+    private Long caseId;
+
+    /**
+     * 映射关系总数
+     */
+    private Integer totleNum;
+
+    /**
+     * 术语未匹配条数
+     */
+    private Integer unMappingNum;
+
+    /**
+     * 缺少静态知识条数
+     */
+    private Integer withoutKnowledgeNum;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+
+    public Date getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(Date gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+
+    public Date getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(Date gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+
+    public Long getHospitalId() {
+        return hospitalId;
+    }
+
+    public void setHospitalId(Long hospitalId) {
+        this.hospitalId = hospitalId;
+    }
+
+    public Long getCaseId() {
+        return caseId;
+    }
+
+    public void setCaseId(Long caseId) {
+        this.caseId = caseId;
+    }
+
+    public Integer getTotleNum() {
+        return totleNum;
+    }
+
+    public void setTotleNum(Integer totleNum) {
+        this.totleNum = totleNum;
+    }
+
+    public Integer getUnMappingNum() {
+        return unMappingNum;
+    }
+
+    public void setUnMappingNum(Integer unMappingNum) {
+        this.unMappingNum = unMappingNum;
+    }
+
+    public Integer getWithoutKnowledgeNum() {
+        return withoutKnowledgeNum;
+    }
+
+    public void setWithoutKnowledgeNum(Integer withoutKnowledgeNum) {
+        this.withoutKnowledgeNum = withoutKnowledgeNum;
+    }
+
+    @Override
+    public String toString() {
+        return "ResultStaticInfo{" +
+                "id=" + id +
+                ", isDeleted=" + isDeleted +
+                ", gmtCreate=" + gmtCreate +
+                ", gmtModified=" + gmtModified +
+                ", creator=" + creator +
+                ", modifier=" + modifier +
+                ", hospitalId=" + hospitalId +
+                ", caseId=" + caseId +
+                ", totleNum=" + totleNum +
+                ", unMappingNum=" + unMappingNum +
+                ", withoutKnowledgeNum=" + withoutKnowledgeNum +
+                "}";
+    }
+}

+ 225 - 0
cdssman-service/src/main/java/com/diagbot/entity/ResultStaticKnowledge.java

@@ -0,0 +1,225 @@
+package com.diagbot.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author gaodm
+ * @since 2021-01-22
+ */
+@TableName("test_result_static_knowledge")
+public class ResultStaticKnowledge implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试结果id
+     */
+    private Long resultId;
+
+    /**
+     * 术语类型(1:诊断、2:检验、3:检查、4:药品、5:手术/操作)
+     */
+    private Integer type;
+
+    /**
+     * 术语标签
+     */
+    private String label;
+
+    /**
+     * 标准术语名称
+     */
+    private String name;
+
+    /**
+     * 医院术语
+     */
+    private String hisName;
+
+    /**
+     * 医院术语-细项
+     */
+    private String hisDetailName;
+
+    /**
+     * 是否有标准词(0:无,1:有)
+     */
+    private Integer hasStandName;
+
+    /**
+     * 是否有静态知识(0:无,1:有)
+     */
+    private Integer hasStaticKnowledge;
+
+    /**
+     * 提示信息(异常提醒)
+     */
+    private String message;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+    public Date getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(Date gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+    public Date getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(Date gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+    public Long getResultId() {
+        return resultId;
+    }
+
+    public void setResultId(Long resultId) {
+        this.resultId = resultId;
+    }
+    public Integer getType() {
+        return type;
+    }
+
+    public void setType(Integer type) {
+        this.type = type;
+    }
+    public String getLabel() {
+        return label;
+    }
+
+    public void setLabel(String label) {
+        this.label = label;
+    }
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+    public String getHisName() {
+        return hisName;
+    }
+
+    public void setHisName(String hisName) {
+        this.hisName = hisName;
+    }
+    public String getHisDetailName() {
+        return hisDetailName;
+    }
+
+    public void setHisDetailName(String hisDetailName) {
+        this.hisDetailName = hisDetailName;
+    }
+    public Integer getHasStandName() {
+        return hasStandName;
+    }
+
+    public void setHasStandName(Integer hasStandName) {
+        this.hasStandName = hasStandName;
+    }
+    public Integer getHasStaticKnowledge() {
+        return hasStaticKnowledge;
+    }
+
+    public void setHasStaticKnowledge(Integer hasStaticKnowledge) {
+        this.hasStaticKnowledge = hasStaticKnowledge;
+    }
+    public String getMessage() {
+        return message;
+    }
+
+    public void setMessage(String message) {
+        this.message = message;
+    }
+
+    @Override
+    public String toString() {
+        return "ResultStaticKnowledge{" +
+            "id=" + id +
+            ", isDeleted=" + isDeleted +
+            ", gmtCreate=" + gmtCreate +
+            ", gmtModified=" + gmtModified +
+            ", creator=" + creator +
+            ", modifier=" + modifier +
+            ", resultId=" + resultId +
+            ", type=" + type +
+            ", label=" + label +
+            ", name=" + name +
+            ", hisName=" + hisName +
+            ", hisDetailName=" + hisDetailName +
+            ", hasStandName=" + hasStandName +
+            ", hasStaticKnowledge=" + hasStaticKnowledge +
+            ", message=" + message +
+        "}";
+    }
+}

+ 155 - 0
cdssman-service/src/main/java/com/diagbot/entity/RunningInfo.java

@@ -0,0 +1,155 @@
+package com.diagbot.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author gaodm
+ * @since 2021-01-22
+ */
+@TableName("test_running_info")
+public class RunningInfo implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private Date gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    private Date gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 测试用例id
+     */
+    private Long caseId;
+
+    /**
+     * 医院id
+     */
+    private Long hospitalId;
+
+    /**
+     * 状态(1:运行中,0:非运行中)
+     */
+    private Integer status;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+
+    public Date getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(Date gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+
+    public Date getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(Date gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+
+    public Long getCaseId() {
+        return caseId;
+    }
+
+    public void setCaseId(Long caseId) {
+        this.caseId = caseId;
+    }
+
+    public Long getHospitalId() {
+        return hospitalId;
+    }
+
+    public void setHospitalId(Long hospitalId) {
+        this.hospitalId = hospitalId;
+    }
+
+    public Integer getStatus() {
+        return status;
+    }
+
+    public void setStatus(Integer status) {
+        this.status = status;
+    }
+
+    @Override
+    public String toString() {
+        return "RunningInfo{" +
+                "id=" + id +
+                ", isDeleted=" + isDeleted +
+                ", gmtCreate=" + gmtCreate +
+                ", gmtModified=" + gmtModified +
+                ", creator=" + creator +
+                ", modifier=" + modifier +
+                ", caseId=" + caseId +
+                ", hospitalId=" + hospitalId +
+                ", status=" + status +
+                "}";
+    }
+}

+ 41 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/Age.java

@@ -0,0 +1,41 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedRegNameAge;
+import com.diagbot.entity.relationship.MedicineAge;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "年龄")
+public class Age extends BaseNode  {
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range;
+
+	@Property(name = "名称")
+	private String termname;
+
+	@Relationship(type = "药品通用名称禁忌年龄", direction = Relationship.INCOMING)
+	private Set<MedicineAge> medicineAges = new HashSet<>();
+
+	@Relationship(type = "药品注册名称禁忌体征", direction = Relationship.INCOMING)
+	private Set<MedRegNameAge> medRegNameAges = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/Allergen.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.PacsNameAllergen;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "过敏原")
+public class Allergen extends BaseNode  {
+
+
+	@Relationship(type = "辅助检查名称禁忌过敏原", direction = Relationship.INCOMING)
+	private Set<PacsNameAllergen> pacsNameAllergens = new HashSet<>();
+
+}

+ 20 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/BillConcept.java

@@ -0,0 +1,20 @@
+package com.diagbot.entity.node;
+
+import lombok.Getter;
+import lombok.Setter;
+import org.springframework.data.neo4j.annotation.QueryResult;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2020/11/19 13:26
+ */
+@Getter
+@Setter
+@QueryResult
+public class BillConcept {
+    private Long id;
+    private String name;
+    private Integer status;
+    private String conceptLabel;
+}

+ 24 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/BillCondition.java

@@ -0,0 +1,24 @@
+package com.diagbot.entity.node;
+
+import lombok.Getter;
+import lombok.Setter;
+import org.springframework.data.neo4j.annotation.QueryResult;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2020/11/18 16:09
+ */
+@Getter
+@Setter
+@QueryResult
+public class BillCondition {
+    private Long id;
+    private String name;
+    private Integer status;
+    private String conditionLabel;
+    private String unit;
+    private Double minValue;
+    private Double maxValue;
+    private Integer range;
+}

+ 21 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/BillConflictItem.java

@@ -0,0 +1,21 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.PacsNameBillConflictItem;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "开单项互斥")
+public class BillConflictItem extends BaseNode  {
+
+	@Relationship(type = "辅助检查名称禁忌开单项互斥", direction = Relationship.INCOMING)
+	private Set<PacsNameBillConflictItem> pacsNameBillConflictItems = new HashSet<>();
+
+}

+ 39 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/BillItem.java

@@ -0,0 +1,39 @@
+package com.diagbot.entity.node;
+
+import lombok.Getter;
+import lombok.Setter;
+import org.springframework.data.neo4j.annotation.QueryResult;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2020/11/17 13:38
+ */
+@Setter
+@Getter
+@QueryResult
+public class BillItem {
+    private String ruleName;
+    private Integer type;
+
+    private Long conceptId;
+    private String conceptName;
+    private String conceptLabel;
+    private Integer conceptStatus;
+
+    private Integer ruleType;
+    private Long relationId;
+    private String relationName;
+    private Integer relationStatus;
+
+    private Long conditionId;
+    private String conditionName;
+    private String conditionLabel;
+    private Double conditionMinValue;
+    private Double conditionMaxValue;
+    private String conditionUnit;
+    private Integer conditionRange;
+    private Integer conditionStatus;
+
+    private String remark;
+}

+ 37 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/BillItemDetail.java

@@ -0,0 +1,37 @@
+package com.diagbot.entity.node;
+
+import lombok.Getter;
+import lombok.Setter;
+import org.springframework.data.neo4j.annotation.QueryResult;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2020/11/24 16:10
+ */
+@Getter
+@Setter
+@QueryResult
+public class BillItemDetail {
+    private String ruleName;
+    private Integer type;
+
+    private Long conceptId;
+    private String conceptName;
+    private String conceptLabel;
+    private Integer conceptStatus;
+
+    private Integer ruleType;
+    private Long relationId;
+    private String relationName;
+    private Integer relationStatus;
+
+    private Long conditionId;
+    private String conditionName;
+    private String conditionLabel;
+    private Double conditionMinValue;
+    private Double conditionMaxValue;
+    private String conditionUnit;
+    private Integer conditionRange;
+    private Integer conditionStatus;
+}

+ 38 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/ClinicalFinding.java

@@ -0,0 +1,38 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.PacsNameClinicalFinding;
+import com.diagbot.entity.relationship.YiBaoOperationNameClinicalFinding;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "临床表现")
+public class ClinicalFinding extends BaseNode {
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range;
+
+	@Relationship(type = "辅助检查名称禁忌临床表现", direction = Relationship.INCOMING)
+	private Set<PacsNameClinicalFinding> pacsNameClinicalFindings = new HashSet<>();
+
+	@Relationship(type = "医保手术和操作名称禁忌临床表现", direction = Relationship.INCOMING)
+	private Set<YiBaoOperationNameClinicalFinding> yiBaoOperationNameClinicalFindings = new HashSet<>();
+
+}

+ 46 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/CombiOperation.java

@@ -0,0 +1,46 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.CombiOperationDisease;
+import com.diagbot.entity.relationship.CombiOperationGender;
+import com.diagbot.entity.relationship.CombiOperationGroup;
+import com.diagbot.entity.relationship.CombiOperationLis;
+import com.diagbot.entity.relationship.CombiOperationMedAllergen;
+import com.diagbot.entity.relationship.CombiOperationPacsDescribe;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "联合项目")
+public class CombiOperation extends BaseNode {
+
+
+	@Property(name = "联合操作")
+	private String combi_name;
+
+	@Relationship(type = "联合项目禁忌实验室检查", direction = Relationship.OUTGOING)
+	private Set<CombiOperationLis> combiOpLiss = new HashSet<>();
+
+	@Relationship(type = "联合项目禁忌辅助检查名称描述", direction = Relationship.OUTGOING)
+	private Set<CombiOperationPacsDescribe> combiOppacsdescs = new HashSet<>();
+
+	@Relationship(type = "联合项目禁忌疾病", direction = Relationship.OUTGOING)
+	private Set<CombiOperationDisease> combiOpdiseases = new HashSet<>();
+
+	@Relationship(type = "联合项目禁忌禁忌人群", direction = Relationship.OUTGOING)
+	private Set<CombiOperationGroup> combiOpgroups = new HashSet<>();
+
+	@Relationship(type = "联合项目禁忌药物过敏原", direction = Relationship.OUTGOING)
+	private Set<CombiOperationMedAllergen> combiOpmedallergens = new HashSet<>();
+
+	@Relationship(type = "联合项目禁忌性别", direction = Relationship.OUTGOING)
+	private CombiOperationGender combiOpgender;
+
+}

+ 26 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/ConflictDevice.java

@@ -0,0 +1,26 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.PacsNameConflictDevice;
+import com.diagbot.entity.relationship.YiBaoOperationNameConflictDevice;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "禁忌医疗器械及物品")
+public class ConflictDevice extends BaseNode {
+
+
+	@Relationship(type = "辅助检查名称禁忌禁忌医疗器械及物品", direction = Relationship.INCOMING)
+	private Set<PacsNameConflictDevice> pacsConflictDevices = new HashSet<>();
+
+	@Relationship(type = "医保手术和操作名称禁忌禁忌医疗器械及物品", direction = Relationship.INCOMING)
+	private Set<YiBaoOperationNameConflictDevice> yiBaoOperationNameConflictDevices = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/Dept.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.YiBaoDiseaseNameDept;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "科室")
+public class Dept extends BaseNode  {
+
+
+	@Relationship(type = "医保疾病名称相关科室", direction = Relationship.INCOMING)
+	private Set<YiBaoDiseaseNameDept> diseaseDept = new HashSet<>();
+
+}

+ 42 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/Disease.java

@@ -0,0 +1,42 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.CombiOperationDisease;
+import com.diagbot.entity.relationship.MedicineDisease;
+import com.diagbot.entity.relationship.PacsNameDisease;
+import com.diagbot.entity.relationship.PacsNameSubNameDisease;
+import com.diagbot.entity.relationship.PacsSubNameDisease;
+import com.diagbot.entity.relationship.YiBaoOperationNameDisease;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "疾病")
+public class Disease extends BaseNode  {
+
+
+	@Relationship(type = "医保手术和操作名称禁忌疾病", direction = Relationship.INCOMING)
+	private Set<YiBaoOperationNameDisease> yibaooperationnameDiseases = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌疾病", direction = Relationship.INCOMING)
+	private Set<PacsNameDisease> pacsNameDiseases = new HashSet<>();
+
+	@Relationship(type = "联合项目禁忌疾病", direction = Relationship.INCOMING)
+	private Set<CombiOperationDisease> combioperationDiseases = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称子项目名称禁忌疾病", direction = Relationship.INCOMING)
+	private Set<PacsNameSubNameDisease> pacsnamesubnameDiseases = new HashSet<>();
+
+	@Relationship(type = "辅助检查子项目名称禁忌疾病", direction = Relationship.INCOMING)
+	private Set<PacsSubNameDisease> pacssubnameDiseases = new HashSet<>();
+
+	@Relationship(type = "药品通用名称禁忌疾病", direction = Relationship.INCOMING)
+	private Set<MedicineDisease> medicineDiseases = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/EntityBaseInfo.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import lombok.Getter;
+import lombok.Setter;
+import org.springframework.data.neo4j.annotation.QueryResult;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2020/12/15 9:51
+ */
+@Getter
+@Setter
+@QueryResult
+public class EntityBaseInfo {
+    private Long id;
+    private String name;
+    private String pycode;
+    private Integer status;
+    private Integer is_kl;
+    private String labelType;
+}

+ 102 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/EntityInfo.java

@@ -0,0 +1,102 @@
+package com.diagbot.entity.node;
+
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Getter;
+import lombok.Setter;
+import org.springframework.data.neo4j.annotation.QueryResult;
+
+import javax.validation.constraints.NotNull;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2020/12/14 10:28
+ */
+@Getter
+@Setter
+@QueryResult
+public class EntityInfo {
+    private Long id;
+    @NotNull(message = "请输入术语名称")
+    private String name;
+    private String pycode;
+    private Integer status;
+    private Integer is_kl;
+    @NotNull(message = "请输入术语类型")
+    private String labelType;
+
+    //通用属性
+    private String age;
+    @ApiModelProperty(hidden = true)
+    private String ageRange;
+    private String gender;
+    //实验室检查名称、实验室检查、体征、实验室检查危急值
+    private String unit;
+    //医保诊断名称、药物过敏原、药品注册名称
+    private String alias;
+    //药物过敏原、药品注册名称
+    private String result;
+    //实验室检查名称
+    private Double minval;
+    //实验室检查名称
+    private Double maxval;
+    //实验室检查名称
+    private Integer range;
+
+
+    //个性化属性
+    //医保诊断名称属性
+    //"分类", "age(0-200)", "sex", "疾病别称", "dept"
+    private Integer category;
+    private String dept;
+    private Double minAge;
+    private Double maxAge;
+
+    //医保手术和操作属性
+    private String opgrade;
+    private String highriskcond;
+
+    //实验室检查名称
+    //"范围", "最小值", "单位", "最大值"
+
+    //实验室检查
+    //"单位"
+
+    //化验细项及结果
+    //"special"
+    private String special;
+
+    //药物过敏原
+    //"药品类型", "结果", "名称"
+    private String medtype;
+
+    //药品注册名称
+    //"药品高危级别", "禁忌给药途径", "禁忌性别", "结果", "名称"
+    private String risklevel;
+    private String conflict_geiyao;
+    private String conflict_gender;
+
+    //药品代码通用名
+    //"批准文号", "药品本位码", "药品企业", "最小包装数量", "注册规格",
+    //"最小制剂单位", "最小包装单位", "包装材质", "注册剂型", "标准注册剂型"
+    //"最小包装数量"
+    private Double min_pack_num;
+    //"注册剂型"
+    private String reg_JiXin;
+    //"药品本位码"
+    private String benWei_Code;
+    // "最小包装单位"
+    private String min_pack_unit;
+    // "注册规格"
+    private String reg_GuiGe;
+    //"包装材质"
+    private String pack_CaiLiao;
+    //"药品企业"
+    private String producer;
+    //"批准文号"
+    private String license_num;
+    //"最小制剂单位"
+    private String min_prod_unit;
+    //"标准注册剂型"
+    private String stand_reg_JiXin;
+}

+ 17 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/FoodAllergen.java

@@ -0,0 +1,17 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2020/12/16 13:14
+ */
+@Setter
+@Getter
+@NodeEntity(label = "食物过敏原")
+public class FoodAllergen extends BaseNode {
+}

+ 42 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/Gender.java

@@ -0,0 +1,42 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.CombiOperationGender;
+import com.diagbot.entity.relationship.LisNameGender;
+import com.diagbot.entity.relationship.LisSetGender;
+import com.diagbot.entity.relationship.PacsNameGender;
+import com.diagbot.entity.relationship.PacsNameSubNameGender;
+import com.diagbot.entity.relationship.YiBaoOperationNameGender;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "性别")
+public class Gender extends BaseNode {
+
+
+	@Relationship(type = "辅助检查名称禁忌性别", direction = Relationship.INCOMING)
+	private Set<PacsNameGender> pacsNameGenders = new HashSet<>();
+
+	@Relationship(type = "实验室检查套餐名禁忌性别", direction = Relationship.INCOMING)
+	private Set<LisSetGender> lissetGenders = new HashSet<>();
+
+	@Relationship(type = "医保手术和操作名称禁忌性别", direction = Relationship.INCOMING)
+	private Set<YiBaoOperationNameGender> yibaooperationnameGenders = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称子项目名称禁忌性别", direction = Relationship.INCOMING)
+	private Set<PacsNameSubNameGender> pacsnamesubnameGenders = new HashSet<>();
+
+	@Relationship(type = "联合项目禁忌性别", direction = Relationship.INCOMING)
+	private Set<CombiOperationGender> combioperationGenders = new HashSet<>();
+
+	@Relationship(type = "实验室检查名称禁忌性别", direction = Relationship.INCOMING)
+	private Set<LisNameGender> lisnameGenders = new HashSet<>();
+
+}

+ 73 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/Group.java

@@ -0,0 +1,73 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.CombiOperationGroup;
+import com.diagbot.entity.relationship.LisNameGroup;
+import com.diagbot.entity.relationship.LisRemindGroup;
+import com.diagbot.entity.relationship.LisSetGroup;
+import com.diagbot.entity.relationship.MedRegNameGroup;
+import com.diagbot.entity.relationship.MedicineGroup;
+import com.diagbot.entity.relationship.PacsNameGroup;
+import com.diagbot.entity.relationship.PacsNameSubNameGroup;
+import com.diagbot.entity.relationship.PacsSubNameGroup;
+import com.diagbot.entity.relationship.YiBaoOperationNameGroup;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "禁忌人群")
+public class Group extends BaseNode  {
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range;
+
+    @Property(name = "禁忌人群指标")
+    private String groupidx;
+
+	@Relationship(type = "实验室检查名称禁忌禁忌人群", direction = Relationship.INCOMING)
+	private Set<LisNameGroup> lisnameGroups = new HashSet<>();
+
+	@Relationship(type = "医保手术和操作名称禁忌禁忌人群", direction = Relationship.INCOMING)
+	private Set<YiBaoOperationNameGroup> yibaooperationnameGroups = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌禁忌人群", direction = Relationship.INCOMING)
+	private Set<PacsNameGroup> pacsNameGroups = new HashSet<>();
+
+	@Relationship(type = "联合项目禁忌禁忌人群", direction = Relationship.INCOMING)
+	private Set<CombiOperationGroup> combioperationGroups = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称子项目名称禁忌禁忌人群", direction = Relationship.INCOMING)
+	private Set<PacsNameSubNameGroup> pacsnamesubnameGroups = new HashSet<>();
+
+	@Relationship(type = "辅助检查子项目名称禁忌禁忌人群", direction = Relationship.INCOMING)
+	private Set<PacsSubNameGroup> pacssubnameGroups = new HashSet<>();
+
+	@Relationship(type = "药品通用名称禁忌禁忌人群", direction = Relationship.INCOMING)
+	private Set<MedicineGroup> medicineGroups = new HashSet<>();
+
+	@Relationship(type = "药品注册名称禁忌禁忌人群", direction = Relationship.INCOMING)
+	private Set<MedRegNameGroup> medRegNameGroups = new HashSet<>();
+
+	@Relationship(type = "实验室检查套餐名禁忌禁忌人群", direction = Relationship.INCOMING)
+	private Set<LisSetGroup> lisSetGroups = new HashSet<>();
+
+	@Relationship(type = "化验提醒指标相关禁忌人群", direction = Relationship.INCOMING)
+	private Set<LisRemindGroup> lisRemindgroup = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/GuoLinDiseaseName.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.YiBaoDiseaseNameGuoLinDiseaseName;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "国临疾病名称")
+public class GuoLinDiseaseName extends BaseNode  {
+
+
+	@Relationship(type = "医保疾病名称相关国临疾病名称", direction = Relationship.INCOMING)
+	private Set<YiBaoDiseaseNameGuoLinDiseaseName> yibaodiseasenameGuoLinDiseaseNames = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/GuoLinICD_10Code.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.YiBaoDiseaseNameGuoLinICD_10Code;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "国临ICD_10代码")
+public class GuoLinICD_10Code extends BaseNode  {
+
+
+	@Relationship(type = "医保疾病名称相关国临ICD-10代码", direction = Relationship.INCOMING)
+	private Set<YiBaoDiseaseNameGuoLinICD_10Code> yibaodiseasenameGuoLinICD_10Codes = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/GuoLinICD_9_CM3Code.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.YiBaoOperationNameGuoLinICD_9_CM3Code;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "国临ICD_9_CM3代码")
+public class GuoLinICD_9_CM3Code extends BaseNode  {
+
+
+	@Relationship(type = "医保手术和操作名称相关国临ICD-9-CM3代码", direction = Relationship.INCOMING)
+	private Set<YiBaoOperationNameGuoLinICD_9_CM3Code> yibaooperationnameGuoLinICD_9_CM3Codes = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/GuoLinOperationName.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.YiBaoOperationNameGuoLinOperationName;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "国临手术和操作名称")
+public class GuoLinOperationName extends BaseNode {
+
+
+	@Relationship(type = "医保手术和操作名称相关国临手术和操作名称", direction = Relationship.INCOMING)
+	private Set<YiBaoOperationNameGuoLinOperationName> yiBaoOperationNameGuoLinOperationNames = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/HerbDeptClass.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameHerbDeptClass;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "中成药科室类别")
+public class HerbDeptClass extends BaseNode {
+
+
+	@Relationship(type = "药品相关中成药科室类别", direction = Relationship.INCOMING)
+	private Set<MedCodeNameHerbDeptClass> medcodenameHerbDeptClass = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/HerbFangJiCate.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameHerbFangJiCate;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "中成药方剂学大类")
+public class HerbFangJiCate extends BaseNode  {
+
+
+	@Relationship(type = "药品相关中成药方剂学大类", direction = Relationship.INCOMING)
+	private Set<MedCodeNameHerbFangJiCate> medCodeNameHerbFangJiCates = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/HerbFangJiClass.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameHerbFangJiClass;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "中成药方剂学类别")
+public class HerbFangJiClass extends BaseNode  {
+
+
+	@Relationship(type = "药品相关中成药方剂学类别", direction = Relationship.INCOMING)
+	private Set<MedCodeNameHerbFangJiClass> medcodenameHerbFangJiClass = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/HerbYiBaoClass.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameHerbYiBaoClass;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "中成药医保类别")
+public class HerbYiBaoClass extends BaseNode  {
+
+
+	@Relationship(type = "药品相关中成药医保类别", direction = Relationship.INCOMING)
+	private Set<MedCodeNameHerbYiBaoClass> medcodenameHerbYiBaoClass = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/HerbZhiLiaoClass.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameHerbZhiLiaoClass;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "中成药治疗学类别")
+public class HerbZhiLiaoClass extends BaseNode  {
+
+
+	@Relationship(type = "药品相关中成药治疗学类别", direction = Relationship.INCOMING)
+	private Set<MedCodeNameHerbZhiLiaoClass> medcodenameHerbZhiLiaoClass = new HashSet<>();
+
+}

+ 51 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/Lis.java

@@ -0,0 +1,51 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.CombiOperationLis;
+import com.diagbot.entity.relationship.PacsNameLis;
+import com.diagbot.entity.relationship.YiBaoOperationNameLis;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "实验室检查")
+public class Lis extends BaseNode  {
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range;
+
+	@Property(name = "实验室检查指标")
+	private String lisidx;
+
+	@Relationship(type = "医保手术和操作名称禁忌实验室检查", direction = Relationship.INCOMING)
+	private Set<YiBaoOperationNameLis> yibaooperationnameLis = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌实验室检查", direction = Relationship.INCOMING)
+	private Set<PacsNameLis> pacsNameLis = new HashSet<>();
+
+	@Relationship(type = "联合项目禁忌实验室检查", direction = Relationship.INCOMING)
+	private Set<CombiOperationLis> combioperationLis = new HashSet<>();
+
+//	@Relationship(type = "辅助检查禁忌实验室检查", direction = Relationship.INCOMING)
+//	private Set<Pacs> pacss = new HashSet<>();
+
+	@Relationship(type = "医保手术和操作禁忌实验室检查", direction = Relationship.INCOMING)
+	private Set<YiBaoOperationNameLis> yibaooperationNameLis = new HashSet<>();
+
+}

+ 21 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/LisAlias.java

@@ -0,0 +1,21 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.LisNameLisAlias;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "实验室检查别名")
+public class LisAlias extends BaseNode {
+
+	@Relationship(type = "实验室检查名称相关实验室检查别名", direction = Relationship.INCOMING)
+	private Set<LisNameLisAlias> lisnameLisAlias = new HashSet<>();
+
+}

+ 30 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/LisBigName.java

@@ -0,0 +1,30 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+
+@Setter
+@Getter
+@NodeEntity(label = "化验套餐名称")
+public class LisBigName extends BaseNode  {
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range;
+
+	@Property(name = "静态知识")
+	private String knowledge;
+
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/LisCode.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.LisNameLisCode;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "实验室检查代码")
+public class LisCode extends BaseNode {
+
+
+	@Relationship(type = "实验室检查名称相关实验室检查代码", direction = Relationship.INCOMING)
+	private Set<LisNameLisCode> lisnameLisCodes = new HashSet<>();
+
+}

+ 41 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/LisCritical.java

@@ -0,0 +1,41 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.LisNameLisCritical;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+
+@Setter
+@Getter
+//@EqualsAndHashCode(callSuper = false)
+@NodeEntity(label = "实验室检查危急值")
+public class LisCritical extends BaseNode  {
+
+    @Property(name = "高危急值")
+    private String maxval;
+
+    @Property(name = "低危急值")
+    private String minval;
+
+    @Property(name = "单位")
+    private String unit;
+
+    @Property(name = "年龄")
+    private String age;
+
+    @Property(name = "危急值范围")
+    private String range;
+
+    @Relationship(type="实验室检查名称相关实验室检查危急值", direction = Relationship.INCOMING)
+    private Set<LisNameLisCritical> lisnameLisCriticals = new HashSet<>();
+
+}
+
+

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/LisFirstClass.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.LisNameLisFirstClass;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "实验室检查一级分类")
+public class LisFirstClass extends BaseNode {
+
+
+	@Relationship(type = "实验室检查名称相关实验室检查一级分类", direction = Relationship.INCOMING)
+	private Set<LisNameLisFirstClass> lisnameLisFirstClass = new HashSet<>();
+
+}

+ 69 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/LisName.java

@@ -0,0 +1,69 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.LisNameGender;
+import com.diagbot.entity.relationship.LisNameGroup;
+import com.diagbot.entity.relationship.LisNameLisAlias;
+import com.diagbot.entity.relationship.LisNameLisCode;
+import com.diagbot.entity.relationship.LisNameLisCritical;
+import com.diagbot.entity.relationship.LisNameLisFirstClass;
+import com.diagbot.entity.relationship.LisNameLisSecondClass;
+import com.diagbot.entity.relationship.LisNameLisSet;
+import com.diagbot.entity.relationship.LisNameYiBaoDiseaseName;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "实验室检查名称")
+public class LisName extends BaseNode  {
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range;
+
+//	@Property(name = "静态知识")
+//	private String knowledge;
+
+	@Relationship(type = "实验室检查名称相关实验室检查代码", direction = Relationship.OUTGOING)
+	private Set<LisNameLisCode> lisNameliscodes = new HashSet<>();
+
+	@Relationship(type = "实验室检查名称相关实验室检查别名", direction = Relationship.OUTGOING)
+	private Set<LisNameLisAlias> lisNamelisaliass = new HashSet<>();
+
+	@Relationship(type = "实验室检查名称相关实验室检查一级分类", direction = Relationship.OUTGOING)
+	private Set<LisNameLisFirstClass> lisNamelisfirstclasss = new HashSet<>();
+
+	@Relationship(type = "实验室检查名称相关实验室检查二级分类", direction = Relationship.OUTGOING)
+	private Set<LisNameLisSecondClass> lisNamelissecondclasss = new HashSet<>();
+
+	@Relationship(type = "实验室检查名称相关实验室检查套餐名", direction = Relationship.OUTGOING)
+	private Set<LisNameLisSet> lisNamelissets = new HashSet<>();
+
+	@Relationship(type = "实验室检查名称禁忌禁忌人群", direction = Relationship.OUTGOING)
+	private Set<LisNameGroup> lisNamegroups = new HashSet<>();
+
+	@Relationship(type = "实验室检查名称禁忌性别", direction = Relationship.OUTGOING)
+	private LisNameGender lisNamegender;
+
+	@Relationship(type="实验室检查名称相关实验室检查危急值", direction = Relationship.OUTGOING)
+	private Set<LisNameLisCritical> lisNameliscritials = new HashSet<>();
+
+	@Relationship(type = "实验室检查名称相关医保疾病名称", direction = Relationship.OUTGOING)
+	private Set<LisNameYiBaoDiseaseName> lisNamedisease = new HashSet<>();
+
+}

+ 48 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/LisRemind.java

@@ -0,0 +1,48 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.LisRemindGroup;
+import com.diagbot.entity.relationship.LisRemindMedicine;
+import com.diagbot.entity.relationship.LisRemindYiBaoDiseaseName;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "化验提醒指标")
+public class LisRemind extends BaseNode  {
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range=0;
+
+	@Property(name = "结果")
+    private String result;
+
+	@Property(name = "实验室检查名称")
+	private String lisname;
+
+	@Relationship(type = "化验提醒指标相关医保疾病名称", direction = Relationship.OUTGOING)
+	private Set<LisRemindYiBaoDiseaseName> lisReminddisease = new HashSet<>();
+
+	@Relationship(type = "化验提醒指标相关禁忌人群", direction = Relationship.OUTGOING)
+	private Set<LisRemindGroup> lisRemindgroup = new HashSet<>();
+
+	@Relationship(type = "化验提醒指标相关药品通用名称", direction = Relationship.OUTGOING)
+	private Set<LisRemindMedicine> lisRemindmedicines = new HashSet<>();
+
+}

+ 43 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/LisResult.java

@@ -0,0 +1,43 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.LisResultYiBaoDiseaseName;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "实验室检查结果")
+public class LisResult extends BaseNode  {
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range;
+
+	@Property(name = "性别")
+	private String gender;
+
+	@Property(name = "年龄最大值")
+	private Integer maxage;
+
+	@Property(name = "年龄最小值")
+	private Integer minage;
+
+	@Relationship(type = "实验室检查结果相关医保疾病名称", direction = Relationship.OUTGOING)
+	private Set<LisResultYiBaoDiseaseName> lisResultdisease = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/LisSecondClass.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.LisNameLisSecondClass;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "实验室检查二级分类")
+public class LisSecondClass extends BaseNode  {
+
+
+	@Relationship(type = "实验室检查名称相关实验室检查二级分类", direction = Relationship.INCOMING)
+	private Set<LisNameLisSecondClass> lisnameLisSecondClass = new HashSet<>();
+
+}

+ 42 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/LisSet.java

@@ -0,0 +1,42 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.LisNameLisSet;
+import com.diagbot.entity.relationship.LisSetGender;
+import com.diagbot.entity.relationship.LisSetGroup;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "实验室检查套餐名")
+public class LisSet extends BaseNode  {
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range;
+
+	@Relationship(type = "实验室检查套餐名禁忌性别", direction = Relationship.OUTGOING)
+	private LisSetGender lisSetgender;
+
+	@Relationship(type = "实验室检查套餐名禁忌禁忌人群", direction = Relationship.OUTGOING)
+	private Set<LisSetGroup> lisSetGroups = new HashSet<>();
+
+	@Relationship(type = "实验室检查名称相关实验室检查套餐名", direction = Relationship.INCOMING)
+	private Set<LisNameLisSet> lisnamelisSet = new HashSet<>();
+
+}

+ 20 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/LisSubNameAndResult.java

@@ -0,0 +1,20 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2020/12/16 13:23
+ */
+@Getter
+@Setter
+@NodeEntity(label = "化验细项及结果")
+public class LisSubNameAndResult extends BaseNode {
+    @Property(name = "special")
+    private String special;
+}

+ 48 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/MedAllergen.java

@@ -0,0 +1,48 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.CombiOperationMedAllergen;
+import com.diagbot.entity.relationship.MedRegNameMedAllergen;
+import com.diagbot.entity.relationship.MedicineMedAllergen;
+import com.diagbot.entity.relationship.PacsNameMedAllergen;
+import com.diagbot.entity.relationship.PacsNameSubNameMedAllergen;
+import com.diagbot.entity.relationship.PacsSubNameMedAllergen;
+import com.diagbot.entity.relationship.YiBaoOperationNameMedAllergen;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "药物过敏原")
+public class MedAllergen extends BaseNode {
+
+	@Property(name = "药品类型")
+	private String medtype;
+
+	@Relationship(type = "辅助检查名称禁忌药物过敏原", direction = Relationship.INCOMING)
+	private Set<PacsNameMedAllergen> pacsMedAllergens = new HashSet<>();
+
+	@Relationship(type = "医保手术和操作名称禁忌药物过敏原", direction = Relationship.INCOMING)
+	private Set<YiBaoOperationNameMedAllergen> yibaooperationnameMedAllergens = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称子项目名称禁忌药物过敏原", direction = Relationship.INCOMING)
+	private Set<PacsNameSubNameMedAllergen> pacsnamesubnameMedAllergens = new HashSet<>();
+
+	@Relationship(type = "辅助检查子项目名称禁忌药物过敏原", direction = Relationship.INCOMING)
+	private Set<PacsSubNameMedAllergen> pacssubnameMedAllergens = new HashSet<>();
+
+	@Relationship(type = "联合项目禁忌药物过敏原", direction = Relationship.INCOMING)
+	private Set<CombiOperationMedAllergen> combioperationMedAllergens = new HashSet<>();
+
+	@Relationship(type = "药品通用名称禁忌药物过敏原", direction = Relationship.INCOMING)
+	private Set<MedicineMedAllergen> medicineMedAllergens = new HashSet<>();
+
+	@Relationship(type = "药品注册名称禁忌药物过敏原", direction = Relationship.INCOMING)
+	private Set<MedRegNameMedAllergen> medRegNameMedAllergens = new HashSet<>();
+}

+ 21 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/MedChemClass.java

@@ -0,0 +1,21 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "药品化学物质类别")
+public class MedChemClass extends BaseNode  {
+
+
+	@Relationship(type = "药品相关药品化学物质类别", direction = Relationship.INCOMING)
+	private Set<MedCodeName> medcodenames = new HashSet<>();
+
+}

+ 21 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/MedClass.java

@@ -0,0 +1,21 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "药品类别")
+public class MedClass extends BaseNode {
+
+
+	@Relationship(type = "药品相关药品类别", direction = Relationship.INCOMING)
+	private Set<MedCodeName> medcodenames = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/MedCode.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameMedCode;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "药品代码")
+public class MedCode extends BaseNode  {
+
+
+	@Relationship(type = "药品相关药品代码", direction = Relationship.INCOMING)
+	private Set<MedCodeNameMedCode> medcodenameMedCodes = new HashSet<>();
+
+}

+ 117 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/MedCodeName.java

@@ -0,0 +1,117 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameHerbDeptClass;
+import com.diagbot.entity.relationship.MedCodeNameHerbFangJiCate;
+import com.diagbot.entity.relationship.MedCodeNameHerbFangJiClass;
+import com.diagbot.entity.relationship.MedCodeNameHerbYiBaoClass;
+import com.diagbot.entity.relationship.MedCodeNameHerbZhiLiaoClass;
+import com.diagbot.entity.relationship.MedCodeNameMedChemClass;
+import com.diagbot.entity.relationship.MedCodeNameMedClass;
+import com.diagbot.entity.relationship.MedCodeNameMedCode;
+import com.diagbot.entity.relationship.MedCodeNameMedJiePouClass;
+import com.diagbot.entity.relationship.MedCodeNameMedProdName;
+import com.diagbot.entity.relationship.MedCodeNameMedRegName;
+import com.diagbot.entity.relationship.MedCodeNameMedYaoLiClass;
+import com.diagbot.entity.relationship.MedCodeNameMedYiBaoClass;
+import com.diagbot.entity.relationship.MedCodeNameMedZhiLiaoClass;
+import com.diagbot.entity.relationship.MedCodeNameMedicine;
+import com.diagbot.entity.relationship.MedCodeNameProdName;
+import com.diagbot.entity.relationship.MedCodeNameRegName;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "药品代码通用名")
+public class MedCodeName extends BaseNode  {
+
+
+	@Property(name = "最小包装数量")
+	private Double min_pack_num;
+
+	@Property(name = "注册剂型")
+	private String reg_JiXin;
+
+	@Property(name = "药品本位码")
+	private String BenWei_Code;
+
+	@Property(name = "最小包装单位")
+	private String min_pack_unit;
+
+	@Property(name = "注册规格")
+	private String reg_GuiGe;
+
+	@Property(name = "包装材质")
+	private String pack_CaiLiao;
+
+	@Property(name = "药品企业")
+	private String producer;
+
+	@Property(name = "批准文号")
+	private String license_num ;
+
+	@Property(name = "最小制剂单位")
+	private String min_prod_unit;
+
+	@Property(name = "标准注册剂型")
+	private String stand_reg_JiXin;
+
+	@Relationship(type = "药品相关药品类别", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameMedClass> medCodeNameMedclasss = new HashSet<>();
+
+	@Relationship(type = "药品相关药品注册名称", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameMedRegName> medCodeNameMedregnames = new HashSet<>();
+
+	@Relationship(type = "药品相关药品通用名称", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameMedicine> medCodeNameMedicines = new HashSet<>();
+
+	@Relationship(type = "药品相关药品化学物质类别", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameMedChemClass> medCodeNameMedchemclass = new HashSet<>();
+
+	@Relationship(type = "药品相关药品药理学类别", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameMedYaoLiClass> medCodeNameMedyaoliclass = new HashSet<>();
+
+	@Relationship(type = "药品相关药品治疗学类别", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameMedZhiLiaoClass> medCodeNameMedzhiliaoclass = new HashSet<>();
+
+	@Relationship(type = "药品相关药品解剖学类别", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameMedJiePouClass> medCodeNameMedjiepouclass = new HashSet<>();
+
+	@Relationship(type = "药品相关药品代码", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameMedCode> medCodeNameMedcodes = new HashSet<>();
+
+	@Relationship(type = "药品相关药品商品名称", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameMedProdName> medCodeNameMedprodnames = new HashSet<>();
+
+	@Relationship(type = "药品相关药品医保类别", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameMedYiBaoClass> medCodeNameMedyibaoclass = new HashSet<>();
+
+	@Relationship(type = "药品相关注册名称", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameRegName> medCodeNameRegnames = new HashSet<>();
+
+	@Relationship(type = "药品相关中成药方剂学大类", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameHerbFangJiCate> medCodeNameHerbfangjicates = new HashSet<>();
+
+	@Relationship(type = "药品相关中成药方剂学类别", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameHerbFangJiClass> medCodeNameHerbfangjiclass = new HashSet<>();
+
+	@Relationship(type = "药品相关中成药治疗学类别", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameHerbZhiLiaoClass> medCodeNameHerbzhiliaoclass = new HashSet<>();
+
+	@Relationship(type = "药品相关中成药科室类别", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameHerbDeptClass> medCodeNameHerbdeptclass = new HashSet<>();
+
+	@Relationship(type = "药品相关中成药医保类别", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameHerbYiBaoClass> medCodeNameHerbyibaoclass = new HashSet<>();
+
+	@Relationship(type = "药品相关商品名称", direction = Relationship.OUTGOING)
+	private Set<MedCodeNameProdName> medCodeNameProdnames = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/MedJiePouClass.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameMedJiePouClass;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "药品解剖学类别")
+public class MedJiePouClass extends BaseNode  {
+
+
+	@Relationship(type = "药品相关药品解剖学类别", direction = Relationship.INCOMING)
+	private Set<MedCodeNameMedJiePouClass> medcodenameMedJiePouClasss = new HashSet<>();
+
+}

+ 28 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/MedNameRegName.java

@@ -0,0 +1,28 @@
+package com.diagbot.entity.node;
+
+import lombok.Getter;
+import lombok.Setter;
+import org.springframework.data.neo4j.annotation.QueryResult;
+
+/**
+ * @Description:
+ * @Author:zhaops
+ * @time: 2021/1/7 16:51
+ */
+@Getter
+@Setter
+@QueryResult
+public class MedNameRegName {
+    /**
+     * 药品通用名称
+     */
+    private String medName;
+    /**
+     * 药品注册名称
+     */
+    private String medRegName;
+    /**
+     * 药品剂型
+     */
+    private String form;
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/MedProdName.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameMedProdName;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "药品商品名称")
+public class MedProdName extends BaseNode  {
+
+
+	@Relationship(type = "药品相关药品商品名称", direction = Relationship.INCOMING)
+	private Set<MedCodeNameMedProdName> medcodenameMedProdNames = new HashSet<>();
+
+}

+ 53 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/MedRegName.java

@@ -0,0 +1,53 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameMedRegName;
+import com.diagbot.entity.relationship.MedRegNameGender;
+import com.diagbot.entity.relationship.MedRegNameGroup;
+import com.diagbot.entity.relationship.MedRegNameMedAllergen;
+import com.diagbot.entity.relationship.MedRegNameMedRegName;
+import com.diagbot.entity.relationship.MedRegNameVital;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "药品注册名称")
+public class MedRegName extends BaseNode {
+
+	@Property(name = "药品高危级别")
+	private String risklevel;
+
+	@Property(name = "禁忌性别")
+	private String conflict_gender;
+
+	@Property(name = "禁忌给药途径")
+	private String conflict_geiyao;
+
+	@Relationship(type = "药品注册名称禁忌体征", direction = Relationship.OUTGOING)
+	private Set<MedRegNameVital> medRegNameVital = new HashSet<>();
+
+	@Relationship(type = "药品注册名称禁忌禁忌人群", direction = Relationship.OUTGOING)
+	private Set<MedRegNameGroup> medRegNameGroup = new HashSet<>();
+
+	@Relationship(type = "药品注册名称禁忌药物过敏原", direction = Relationship.OUTGOING)
+	private Set<MedRegNameMedAllergen> medRegNameMedAllergens = new HashSet<>();
+
+	@Relationship(type = "药品注册名称禁忌药品注册名称", direction = Relationship.OUTGOING)
+	private Set<MedRegNameMedRegName> medRegNameMedregnames_out = new HashSet<>();
+
+	@Relationship(type = "药品相关药品注册名称", direction = Relationship.INCOMING)
+	private Set<MedCodeNameMedRegName> medcodenameMedRegNames = new HashSet<>();
+
+	@Relationship(type = "药品注册名称禁忌药品注册名称", direction = Relationship.INCOMING)
+	private Set<MedRegNameMedRegName> medregnameMedRegNames_in = new HashSet<>();
+
+	@Relationship(type = "药品注册名称禁忌性别", direction = Relationship.OUTGOING)
+	private MedRegNameGender medRegNameGender;
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/MedYaoLiClass.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameMedYaoLiClass;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "药品药理学类别")
+public class MedYaoLiClass extends BaseNode  {
+
+
+	@Relationship(type = "药品相关药品药理学类别", direction = Relationship.INCOMING)
+	private Set<MedCodeNameMedYaoLiClass> medcodenameMedYaoLiClasss = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/MedYiBaoClass.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameMedYiBaoClass;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "药品医保类别")
+public class MedYiBaoClass extends BaseNode  {
+
+
+	@Relationship(type = "药品相关药品医保类别", direction = Relationship.INCOMING)
+	private Set<MedCodeNameMedYiBaoClass> medcodenameMedYiBaoClasss = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/MedZhiLiaoClass.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameMedZhiLiaoClass;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "药品治疗学类别")
+public class MedZhiLiaoClass extends BaseNode {
+
+
+	@Relationship(type = "药品相关药品治疗学类别", direction = Relationship.INCOMING)
+	private Set<MedCodeNameMedZhiLiaoClass> medcodenameMedZhiLiaoClasss = new HashSet<>();
+
+}

+ 42 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/Medicine.java

@@ -0,0 +1,42 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.LisRemindMedicine;
+import com.diagbot.entity.relationship.MedCodeNameMedicine;
+import com.diagbot.entity.relationship.MedicineDisease;
+import com.diagbot.entity.relationship.MedicineGroup;
+import com.diagbot.entity.relationship.MedicineMedAllergen;
+import com.diagbot.entity.relationship.MedicineVital;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "药品通用名称")
+public class Medicine extends BaseNode  {
+
+	@Relationship(type = "药品相关药品通用名称", direction = Relationship.INCOMING)
+	private Set<MedCodeNameMedicine> medcodenameMedicines = new HashSet<>();
+
+	@Relationship(type = "化验提醒指标相关药品通用名称", direction = Relationship.INCOMING)
+	private Set<LisRemindMedicine> lisremindMedicines = new HashSet<>();
+
+	@Relationship(type = "药品通用名称禁忌禁忌人群", direction = Relationship.OUTGOING)
+	private Set<MedicineGroup> medicineGroup = new HashSet<>();
+
+	@Relationship(type = "药品通用名称禁忌体征", direction = Relationship.OUTGOING)
+	private Set<MedicineVital> medicineVital = new HashSet<>();
+
+	@Relationship(type = "药品通用名称禁忌疾病", direction = Relationship.OUTGOING)
+	private Set<MedicineDisease> medicineDisease = new HashSet<>();
+
+	@Relationship(type = "药品通用名称禁忌药物过敏原", direction = Relationship.OUTGOING)
+	private Set<MedicineMedAllergen> medicineMedAllergens = new HashSet<>();
+
+
+}

+ 26 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/OralMedicine.java

@@ -0,0 +1,26 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.PacsNameOralMedicine;
+import com.diagbot.entity.relationship.YiBaoOperationNameOralMedicine;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "服用药品")
+public class OralMedicine extends BaseNode  {
+
+
+	@Relationship(type = "医保手术和操作名称禁忌服用药品", direction = Relationship.INCOMING)
+	private Set<YiBaoOperationNameOralMedicine> yibaooperationnameOralMedicines = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌服用药品", direction = Relationship.INCOMING)
+	private Set<PacsNameOralMedicine> pacsNameOralMedicines = new HashSet<>();
+
+}

+ 30 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/PacsCritical.java

@@ -0,0 +1,30 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+
+
+@Setter
+@Getter
+//@EqualsAndHashCode(callSuper = false)
+@NodeEntity(label = "辅助检查危急值")
+public class PacsCritical extends BaseNode  {
+
+    @Property(name = "规则")
+    private String val;
+
+    @Property(name = "辅助检查名称")
+    private String pacsname;
+
+    @Property(name = "危急值提醒")
+    private String remind;
+
+    @Property(name = "科室名称")
+    private String dept;
+
+}
+
+

+ 30 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/PacsDescribe.java

@@ -0,0 +1,30 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.CombiOperationPacsDescribe;
+import com.diagbot.entity.relationship.PacsNamePacsDescribe;
+import com.diagbot.entity.relationship.YiBaoOperationNamePacsDescribe;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "辅助检查名称描述")
+public class PacsDescribe extends BaseNode  {
+
+
+	@Relationship(type = "医保手术和操作名称禁忌辅助检查名称描述", direction = Relationship.INCOMING)
+	private Set<YiBaoOperationNamePacsDescribe> yibaooperationnamePacsDescribes = new HashSet<>();
+
+	@Relationship(type = "联合项目禁忌辅助检查名称描述", direction = Relationship.INCOMING)
+	private Set<CombiOperationPacsDescribe> combioperationPacsDescribes = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌辅助检查名称描述", direction = Relationship.INCOMING)
+	private Set<PacsNamePacsDescribe> pacsNamePacsDescribes = new HashSet<>();
+
+}

+ 80 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/PacsName.java

@@ -0,0 +1,80 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.PacsNameAllergen;
+import com.diagbot.entity.relationship.PacsNameBillConflictItem;
+import com.diagbot.entity.relationship.PacsNameClinicalFinding;
+import com.diagbot.entity.relationship.PacsNameConflictDevice;
+import com.diagbot.entity.relationship.PacsNameDisease;
+import com.diagbot.entity.relationship.PacsNameGender;
+import com.diagbot.entity.relationship.PacsNameGroup;
+import com.diagbot.entity.relationship.PacsNameLis;
+import com.diagbot.entity.relationship.PacsNameMedAllergen;
+import com.diagbot.entity.relationship.PacsNameOralMedicine;
+import com.diagbot.entity.relationship.PacsNamePacsDescribe;
+import com.diagbot.entity.relationship.PacsNamePacsSubName;
+import com.diagbot.entity.relationship.PacsNameVital;
+import com.diagbot.entity.relationship.PacsNameYiBaoDiseaseName;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "辅助检查名称")
+public class PacsName extends BaseNode {
+
+
+	@Relationship(type = "辅助检查名称包含辅助检查子项目名称", direction = Relationship.OUTGOING)
+	private Set<PacsNamePacsSubName> pacsNamePacssubnames = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌性别", direction = Relationship.OUTGOING)
+	private PacsNameGender pacsNameGender;
+
+	@Relationship(type = "辅助检查名称禁忌临床表现", direction = Relationship.OUTGOING)
+	private Set<PacsNameClinicalFinding> pacsNameClinicalfindings = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌体征", direction = Relationship.OUTGOING)
+	private Set<PacsNameVital> pacsNameVitals = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌实验室检查", direction = Relationship.OUTGOING)
+	private Set<PacsNameLis> pacsNameLis = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌辅助检查名称描述", direction = Relationship.OUTGOING)
+	private Set<PacsNamePacsDescribe> pacsNamePacsdescribes = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌禁忌人群", direction = Relationship.OUTGOING)
+	private Set<PacsNameGroup> pacsNameGroups = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌服用药品", direction = Relationship.OUTGOING)
+	private Set<PacsNameOralMedicine> pacsNameOralmedicines = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌药物过敏原", direction = Relationship.OUTGOING)
+	private Set<PacsNameMedAllergen> pacsNameMedallergens = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌疾病", direction = Relationship.OUTGOING)
+	private Set<PacsNameDisease> pacsNameDiseases = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌过敏原", direction = Relationship.OUTGOING)
+	private Set<PacsNameAllergen> pacsNameAllergens = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌禁忌医疗器械及物品", direction = Relationship.OUTGOING)
+	private Set<PacsNameConflictDevice> pacsNameConflictdevices = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称相关医保疾病名称", direction = Relationship.OUTGOING)
+	private Set<PacsNameYiBaoDiseaseName> pacsNameDisease = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称禁忌开单项互斥", direction = Relationship.OUTGOING)
+	private Set<PacsNameBillConflictItem> pacsNameBillConflictItems = new HashSet<>();
+
+//	@Relationship(type = "辅助检查名称开单互斥辅助检查名称", direction = Relationship.OUTGOING)
+//	private Set<PacsNamePacsName> conflictPacsName_out = new HashSet<>();
+//
+//	@Relationship(type = "辅助检查名称开单互斥辅助检查名称", direction = Relationship.INCOMING)
+//	private Set<PacsNamePacsName> conflictPacsName_in = new HashSet<>();
+
+}

+ 30 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/PacsNameSubName.java

@@ -0,0 +1,30 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "辅助检查名称子项目名称")
+public class PacsNameSubName extends BaseNode {
+
+
+	@Relationship(type = "辅助检查名称子项目名称禁忌性别", direction = Relationship.OUTGOING)
+	private Set<Gender> genders = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称子项目名称禁忌疾病", direction = Relationship.OUTGOING)
+	private Set<Disease> diseases = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称子项目名称禁忌药物过敏原", direction = Relationship.OUTGOING)
+	private Set<MedAllergen> medallergens = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称子项目名称禁忌禁忌人群", direction = Relationship.OUTGOING)
+	private Set<Group> groups = new HashSet<>();
+
+}

+ 41 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/PacsRemind.java

@@ -0,0 +1,41 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+
+@Setter
+@Getter
+@NodeEntity(label = "辅检提醒指标")
+public class PacsRemind extends BaseNode  {
+
+	@Property(name = "年龄最小值")
+	private Double minval;
+
+	@Property(name = "年龄最大值")
+	private Double maxval;
+
+	@Property(name = "年龄范围")
+	private Integer range=0;
+
+	@Property(name = "性别")
+	private String gender;
+
+	@Property(name = "医保疾病名称")
+	private String disease;
+
+	@Property(name = "检查结果")
+    private String result;
+
+	@Property(name = "检查结论有")
+    private String postoken;
+
+	@Property(name = "检查结论无")
+    private String negtoken;
+
+	@Property(name = "提示语")
+	private String msg;
+
+}

+ 23 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/PacsResult.java

@@ -0,0 +1,23 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.PacsResultYiBaoDiseaseName;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "辅助检查名称结果")
+public class PacsResult extends BaseNode  {
+
+
+	@Relationship(type = "辅助检查名称结果相关医保疾病名称", direction = Relationship.OUTGOING)
+	private Set<PacsResultYiBaoDiseaseName> PacsResultDisease = new HashSet<>();
+
+
+}

+ 65 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/PacsSubName.java

@@ -0,0 +1,65 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.PacsNamePacsSubName;
+import com.diagbot.entity.relationship.PacsSubNameAllergen;
+import com.diagbot.entity.relationship.PacsSubNameClinicalFinding;
+import com.diagbot.entity.relationship.PacsSubNameConflictDevice;
+import com.diagbot.entity.relationship.PacsSubNameDisease;
+import com.diagbot.entity.relationship.PacsSubNameGender;
+import com.diagbot.entity.relationship.PacsSubNameGroup;
+import com.diagbot.entity.relationship.PacsSubNameLis;
+import com.diagbot.entity.relationship.PacsSubNameMedAllergen;
+import com.diagbot.entity.relationship.PacsSubNameOralMedicine;
+import com.diagbot.entity.relationship.PacsSubNamePacsDescribe;
+import com.diagbot.entity.relationship.PacsSubNameVital;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "辅助检查子项目名称")
+public class PacsSubName extends BaseNode {
+
+	@Relationship(type = "辅助检查子项目名称禁忌性别", direction = Relationship.OUTGOING)
+	private PacsSubNameGender pacsSubNameGender;
+
+	@Relationship(type = "辅助检查子项目名称禁忌临床表现", direction = Relationship.OUTGOING)
+	private Set<PacsSubNameClinicalFinding> pacsSubNameClinicalfindings = new HashSet<>();
+
+	@Relationship(type = "辅助检查子项目名称禁忌体征", direction = Relationship.OUTGOING)
+	private Set<PacsSubNameVital> pacsSubNameVitals = new HashSet<>();
+
+	@Relationship(type = "辅助检查子项目名称禁忌实验室检查", direction = Relationship.OUTGOING)
+	private Set<PacsSubNameLis> pacsSubNameLis = new HashSet<>();
+
+	@Relationship(type = "辅助检查子项目名称禁忌辅助检查名称描述", direction = Relationship.OUTGOING)
+	private Set<PacsSubNamePacsDescribe> pacsSubNamePacsdescribes = new HashSet<>();
+
+	@Relationship(type = "辅助检查子项目名称禁忌药物过敏原", direction = Relationship.OUTGOING)
+	private Set<PacsSubNameMedAllergen> pacsSubNameMedallergens = new HashSet<>();
+
+	@Relationship(type = "辅助检查子项目名称禁忌禁忌人群", direction = Relationship.OUTGOING)
+	private Set<PacsSubNameGroup> pacsSubNameGroups = new HashSet<>();
+
+	@Relationship(type = "辅助检查子项目名称禁忌服用药品", direction = Relationship.OUTGOING)
+	private Set<PacsSubNameOralMedicine> pacsSubNameOralmedicines = new HashSet<>();
+
+	@Relationship(type = "辅助检查子项目名称禁忌疾病", direction = Relationship.OUTGOING)
+	private Set<PacsSubNameDisease> pacsSubNameDiseases = new HashSet<>();
+
+	@Relationship(type = "辅助检查子项目名称禁忌过敏原", direction = Relationship.OUTGOING)
+	private Set<PacsSubNameAllergen> pacsSubNameAllergens = new HashSet<>();
+
+	@Relationship(type = "辅助检查子项目名称禁忌禁忌医疗器械及物品", direction = Relationship.OUTGOING)
+	private Set<PacsSubNameConflictDevice> pacsSubNameConflictdevices = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称包含辅助检查子项目名称", direction = Relationship.INCOMING)
+	private Set<PacsNamePacsSubName> pacsNamePacsSubNames = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/PathwayName.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.YiBaoDiseaseNamePathwayName;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "临床路径名称")
+public class PathwayName extends BaseNode {
+
+
+	@Relationship(type = "医保疾病名称相关临床路径名称", direction = Relationship.INCOMING)
+	private Set<YiBaoDiseaseNamePathwayName> yiBaoDiseaseNamePathwayNames = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/ProdName.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameProdName;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "商品名称")
+public class ProdName extends BaseNode {
+
+
+	@Relationship(type = "药品相关商品名称", direction = Relationship.INCOMING)
+	private Set<MedCodeNameProdName> medcodenameProdNames = new HashSet<>();
+
+}

+ 22 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/RegName.java

@@ -0,0 +1,22 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedCodeNameRegName;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "注册名称")
+public class RegName extends BaseNode  {
+
+
+	@Relationship(type = "药品相关注册名称", direction = Relationship.INCOMING)
+	private Set<MedCodeNameRegName> medcodenameRegNames = new HashSet<>();
+
+}

+ 36 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/Symptom.java

@@ -0,0 +1,36 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.YiBaoDiseaseNameSymptom;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "症状")
+public class Symptom extends BaseNode  {
+
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range;
+
+	@Relationship(type = "医保疾病名称相关症状", direction = Relationship.INCOMING)
+	private Set<YiBaoDiseaseNameSymptom> diseaseSymptom = new HashSet<>();
+
+
+}

+ 36 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/TransfusionRemind.java

@@ -0,0 +1,36 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+
+import java.util.List;
+
+@Setter
+@Getter
+@NodeEntity(label = "输血提醒指标")
+public class TransfusionRemind extends BaseNode {
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range = 0;
+
+	@Property(name = "指标标签")
+	private String node_label;
+
+	@Property(name = "指标名称")
+	private String index_name;
+
+	@Property(name = "输注类型")
+	private String transfusion_type;
+}

+ 47 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/TransfusionSuggest.java

@@ -0,0 +1,47 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.TransfusionSuggestYiBaoDiseaseName;
+import com.diagbot.entity.relationship.TransfusionSuggestYiBaoOperationName;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "建议输血提醒")
+public class TransfusionSuggest extends BaseNode {
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range=0;
+
+	@Property(name = "指标标签")
+	private String node_label;
+
+	@Property(name = "指标名称")
+	private String index_name;
+
+	@Property(name = "输注类型")
+    private String transfusion_type;
+
+	@Relationship(type="建议输血提醒相关医保疾病名称", direction = Relationship.OUTGOING)
+	private Set<TransfusionSuggestYiBaoDiseaseName> transfusionSuggestDiseases = new HashSet<>();
+
+	@Relationship(type="建议输血提醒相关医保手术和操作名称", direction = Relationship.OUTGOING)
+	private Set<TransfusionSuggestYiBaoOperationName> transfusionSuggestOperations = new HashSet<>();
+
+}

+ 50 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/Vital.java

@@ -0,0 +1,50 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.entity.node.base.BaseNode;
+import com.diagbot.entity.relationship.MedRegNameVital;
+import com.diagbot.entity.relationship.PacsNameVital;
+import com.diagbot.entity.relationship.VitalYiBaoDiseaseName;
+import com.diagbot.entity.relationship.YiBaoOperationNameVital;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "体征")
+public class Vital extends BaseNode  {
+
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range;
+
+	@Property(name = "体征指标")
+	private String vitalidx;
+
+	@Relationship(type = "辅助检查名称禁忌体征", direction = Relationship.INCOMING)
+	private Set<PacsNameVital> pacsVitals = new HashSet<>();
+
+	@Relationship(type = "医保手术和操作名称禁忌体征", direction = Relationship.INCOMING)
+	private Set<YiBaoOperationNameVital> yibaooperationnameVitals = new HashSet<>();
+
+	@Relationship(type = "体征相关医保疾病名称", direction = Relationship.OUTGOING)
+	private Set<VitalYiBaoDiseaseName> vitalDisease = new HashSet<>();
+
+	@Relationship(type = "药品注册名称禁忌体征", direction = Relationship.INCOMING)
+	private Set<MedRegNameVital> medRegNameVitals = new HashSet<>();
+
+}

+ 0 - 0
cdssman-service/src/main/java/com/diagbot/entity/node/YiBaoDiseaseName.java


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff