svr-pack-resolve.yml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. server:
  2. port: ${svr-pack-resolve.server.port}
  3. management:
  4. port: ${server.port}
  5. logging:
  6. level:
  7. com:
  8. netflix: INFO
  9. org:
  10. springframework:
  11. web: INFO
  12. hibernate: ERROR
  13. spring:
  14. datasource:
  15. driver-class-name: com.mysql.jdbc.Driver
  16. max-active: 20
  17. max-idle: 8
  18. min-idle: 8
  19. validation-query: SELECT 1
  20. test-on-borrow: true
  21. # REDIS
  22. redis:
  23. database: 0 # Database index used by the connection factory.
  24. port: 6379 # Redis server port.
  25. password: # Login password of the redis server.
  26. timeout: 0 # Connection timeout in milliseconds.
  27. #sentinel:
  28. # master: # Name of Redis server.
  29. # nodes: # Comma-separated list of host:port pairs.
  30. pool:
  31. max-active: 8 # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
  32. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  33. max-wait: -1 # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
  34. min-idle: 1 # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
  35. # SOLR (SolrProperties)
  36. data:
  37. solr:
  38. repositories.enabled: true # Enable Solr repositories.
  39. fast-dfs:
  40. pool:
  41. init-size: 5
  42. max-size: 20
  43. wait-time: 500
  44. connect-timeout: 2
  45. network-timeout: 30
  46. charset: ISO8859-1
  47. http:
  48. tracker-http-port: 80
  49. anti-steal-token: no
  50. secret-key: FastDFS1234567890
  51. hadoop:
  52. hbase-properties:
  53. - hbase.zookeeper.property.clientPort: 2181
  54. - zookeeper.znode.parent: /hbase-unsecure
  55. user:
  56. name: root
  57. ehr:
  58. # 档案包数据提取器参数,从数据集中提取摘要、事件时间与身份标识
  59. pack-extractor:
  60. # 事件提取参数,用于生成事件摘要
  61. # 门诊从“门诊摘要”与“挂号”数据集提取事件
  62. # 住院从“病人摘要”,“入院记录”与“病案首页”提取事件 Clinic 0门诊 Resident 1住院 MedicalExam 2体检
  63. event:
  64. data-sets:
  65. - HDSC01_01: Clinic
  66. - HDSC01_02: Clinic
  67. - HDSD00_85: Clinic #门诊-挂号
  68. - HDSD00_72: Clinic
  69. - HDSC02_01: Resident
  70. - HDSC02_02: Resident
  71. - HDSC02_09: Resident
  72. - HDSD00_13: Resident #住院-入院记录
  73. - HDSD00_77: Resident
  74. - HDSD00_76: Resident
  75. meta-data:
  76. - HDSD00_01_457 # 挂号时间
  77. - HDSD00_13_057 # 入院时间-v1.3
  78. - HDSD00_01_575 # 入院时间
  79. #诊断信息
  80. diagnosis:
  81. data-sets:
  82. - HDSD00_73 #门诊-诊断记录
  83. - HDSC01_03
  84. - HDSC02_17
  85. meta-data:
  86. - HDSD00_01_550 # 门诊/住院诊断
  87. # 身份提取参数,从人口学提取
  88. identity:
  89. data-sets:
  90. - HDSA00_01
  91. meta-data:
  92. id-card-no: HDSA00_01_017 # 身份标识
  93. id-card-type: HDSA00_01_016 # 身份类型
  94. patient-name: HDSA00_01_009 # 姓名 HDSD00_01_002
  95. # 卡提取参数,从就诊摘要提取
  96. card:
  97. data-sets:
  98. - HDSD00_85: 门诊-挂号 # -v1.3
  99. - HDSD00_13: 住院-入院记录 # -v1.3
  100. - HDSC01_01: 门诊-病人摘要
  101. - HDSC01_02: 门诊-挂号
  102. - HDSC02_01: 住院-病人摘要
  103. - HDSC02_02: 住院-首页
  104. meta-data:
  105. - card-no: JDSD00_85_005 #就诊卡号 CARD_NO
  106. - card-type: JDSD00_85_006 #就诊卡类型 CARD_TYPE
  107. eventIndex: #病人事件索引信息
  108. patientId:
  109. - JDSA00_01_001 #v1.3
  110. - PATIENT_ID
  111. eventNo:
  112. - HDSD00_02_040 # 门(急)诊号 v1.3
  113. - HDSD00_02_066 # 住院号 v1.3
  114. - HDSD03_01_031
  115. - HDSD00_01_579 #会诊记录表编号
  116. - EVENT_NO
  117. eventTime:
  118. - HDSD00_01_457 #就诊日期时间 v1.3
  119. - HDSD00_16_005 #v1.3出院时间
  120. - HDSD00_01_185
  121. #error code and message
  122. ---
  123. spring:
  124. profiles: dev
  125. # Mysql
  126. datasource:
  127. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  128. username: weifuwu
  129. password: weifuwu
  130. redis:
  131. host: 172.19.103.47 # Redis server host.
  132. port: 6379
  133. password: redis!@456
  134. data:
  135. solr:
  136. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  137. metrics:
  138. export:
  139. statsd:
  140. host: 172.19.103.73
  141. port: 8125
  142. fast-dfs:
  143. tracker-server: 172.19.103.13:22122
  144. public-server: http://172.19.103.52:80
  145. hadoop:
  146. hbase-properties:
  147. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  148. ---
  149. spring:
  150. profiles: alpha
  151. # Mysql
  152. datasource:
  153. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  154. username: ha
  155. password: ha
  156. redis:
  157. host: 192.168.1.220 # Redis server host.
  158. data:
  159. solr:
  160. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  161. metrics:
  162. export:
  163. statsd:
  164. host: 192.168.1.221
  165. port: 8125
  166. fast-dfs:
  167. tracker-server: 172.19.103.54:22122
  168. public-server: http://172.19.103.54:22122
  169. hadoop:
  170. hbase-properties:
  171. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  172. ---
  173. spring:
  174. profiles: test
  175. datasource:
  176. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  177. username: weifuwu
  178. password: weifuwu
  179. redis:
  180. host: 172.19.103.47 # Redis server host.
  181. data:
  182. solr:
  183. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  184. metrics:
  185. export:
  186. statsd:
  187. host: 192.168.1.221
  188. port: 8125
  189. fast-dfs:
  190. tracker-server: 172.19.103.13:22122
  191. public-server: http://172.19.103.52:80
  192. hadoop:
  193. hbase-properties:
  194. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  195. ---
  196. spring:
  197. profiles: prod
  198. datasource:
  199. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  200. username: ha
  201. password: jkzlxm
  202. redis:
  203. host: 11.1.2.20 # Redis server host.
  204. data:
  205. solr:
  206. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  207. #zk-host: node1,node2,node3:2181/solr # ZooKeeper host address in the form HOST:PORT.
  208. zk-host: node1.hde.jkzlehr.com,node2.hde.jkzlehr.com,node3.hde.jkzlehr.com:2181/solr
  209. metrics:
  210. export:
  211. statsd:
  212. host: localhost
  213. port: 8125
  214. fast-dfs:
  215. tracker-server: 11.1.2.9:22122
  216. public-server: http://ds.ehr.yihu.com:22122
  217. hadoop:
  218. hbase-properties:
  219. #- hbase.zookeeper.quorum: node2.jkzl.com,node3.jkzl.com,node1.jkzl.com
  220. - hbase.zookeeper.quorum: node1,node2,node3
  221. ---
  222. spring:
  223. profiles: prod_fz
  224. datasource:
  225. url: jdbc:mysql://192.168.135.39:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8
  226. username: sr_healtharchive
  227. password: data!@)1
  228. redis:
  229. host: 192.168.135.40 # Redis server host.
  230. port: 6390
  231. password: redis!@456
  232. data:
  233. solr:
  234. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  235. metrics:
  236. export:
  237. statsd:
  238. host: 192.168.135.29
  239. port: 8125
  240. fast-dfs:
  241. tracker-server: 192.168.135.42:22122
  242. public-server: http://192.168.135.42:22122
  243. hadoop:
  244. hbase-properties:
  245. - hbase.zookeeper.quorum: node1.jkzl.com,node2.jkzl.com,node3.jkzl.com