svr-pack-resolve.yml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  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. data:
  133. solr:
  134. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  135. metrics:
  136. export:
  137. statsd:
  138. host: 172.19.103.73
  139. port: 8125
  140. fast-dfs:
  141. tracker-server: 172.19.103.13:22122
  142. public-server: http://172.19.103.52:80
  143. hadoop:
  144. hbase-properties:
  145. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  146. ---
  147. spring:
  148. profiles: alpha
  149. # Mysql
  150. datasource:
  151. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  152. username: ha
  153. password: ha
  154. redis:
  155. host: 192.168.1.220 # Redis server host.
  156. data:
  157. solr:
  158. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  159. metrics:
  160. export:
  161. statsd:
  162. host: 192.168.1.221
  163. port: 8125
  164. fast-dfs:
  165. tracker-server: 172.19.103.54:22122
  166. public-server: http://172.19.103.54:22122
  167. hadoop:
  168. hbase-properties:
  169. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  170. ---
  171. spring:
  172. profiles: test
  173. datasource:
  174. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  175. username: weifuwu
  176. password: weifuwu
  177. redis:
  178. host: 172.19.103.47 # Redis server host.
  179. data:
  180. solr:
  181. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  182. metrics:
  183. export:
  184. statsd:
  185. host: 192.168.1.221
  186. port: 8125
  187. fast-dfs:
  188. tracker-server: 172.19.103.13:22122
  189. public-server: http://172.19.103.52:80
  190. hadoop:
  191. hbase-properties:
  192. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  193. ---
  194. spring:
  195. profiles: prod
  196. datasource:
  197. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  198. username: ha
  199. password: jkzlxm
  200. redis:
  201. host: 11.1.2.20 # Redis server host.
  202. data:
  203. solr:
  204. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  205. #zk-host: node1,node2,node3:2181/solr # ZooKeeper host address in the form HOST:PORT.
  206. zk-host: node1.hde.jkzlehr.com,node2.hde.jkzlehr.com,node3.hde.jkzlehr.com:2181/solr
  207. metrics:
  208. export:
  209. statsd:
  210. host: localhost
  211. port: 8125
  212. fast-dfs:
  213. tracker-server: 11.1.2.9:22122
  214. public-server: http://ds.ehr.yihu.com:22122
  215. hadoop:
  216. hbase-properties:
  217. #- hbase.zookeeper.quorum: node2.jkzl.com,node3.jkzl.com,node1.jkzl.com
  218. - hbase.zookeeper.quorum: node1,node2,node3
  219. ---
  220. spring:
  221. profiles: prod_fz
  222. datasource:
  223. url: jdbc:mysql://192.168.135.39:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  224. username: sr_healtharchive
  225. password: data!@)1
  226. redis:
  227. host: 192.168.135.40 # Redis server host.
  228. port: 6390
  229. data:
  230. solr:
  231. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  232. metrics:
  233. export:
  234. statsd:
  235. host: 192.168.135.29
  236. port: 8125
  237. fast-dfs:
  238. tracker-server: 192.168.135.42:22122
  239. public-server: http://192.168.135.42:22122
  240. hadoop:
  241. hbase-properties:
  242. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com