application.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. #The region code, where application deployed
  2. deploy:
  3. region: 3502
  4. #EHR platform user default password
  5. default:
  6. password: 123456
  7. redis-key-schema:
  8. std:
  9. version-table-prefix: std_cda_versions
  10. version-name: name
  11. data-set-table-prefix: std_data_set_
  12. data-set-code: code
  13. data-set-name: name
  14. meta-data-table-prefix: std_meta_data_
  15. meta-data-dict-id: dict_id
  16. meta-data-type: type
  17. dict-entry-table-prefix: std_dictionary_entry_
  18. dict-entry-value: value
  19. org:
  20. table: organizations
  21. name: name
  22. # 提取器参数,从数据集中提取摘要、事件时间与身份标识
  23. extractor:
  24. # 事件提取参数
  25. # 门诊从“门诊摘要”与“挂号”数据集提取事件
  26. # 住院从“病人摘要”,“入院记录”与“病案首页”提取事件
  27. # 值用于生成事件摘要
  28. event:
  29. data-sets:
  30. - HDSC01_01: Clinic
  31. - HDSC01_02: Clinic
  32. - HDSC02_01: Resident
  33. - HDSC02_02: Resident
  34. - HDSC02_09: Resident
  35. meta-data:
  36. - HDSD00_01_457_D # 挂号时间
  37. - HDSD00_01_185_D # 出院时间
  38. # 身份提取参数,从人口学处提取
  39. identity:
  40. data-sets:
  41. - HDSA00_01
  42. meta-data:
  43. id-card-no: HDSA00_01_017_S # 身份标识
  44. id-card-type: HDSA00_01_016_S # 身份类型
  45. # 卡提取参数
  46. card:
  47. data-sets:
  48. - HDSC01_01: 门诊-病人摘要
  49. - HDSC01_02: 门诊-挂号
  50. - HDSC02_01: 住院-病人摘要
  51. - HDSC02_02: 住院-首页
  52. meta-data:
  53. - CARD_NO
  54. - CARD_TYPE
  55. #Application error definition, this file define common errors,
  56. #if the error is used only in your application, please define it in your application configuration file.
  57. ehr.common.invalid.parameter: 参数解析错误
  58. ehr.common.query.not.found: 不存在该对象
  59. ehr.common.repeat.code: 代码重复
  60. #Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10190
  61. svr-adaption.server.port: 10150
  62. svr-app.server.port: 10160
  63. svr-dict.server.port: 10050
  64. svr-esb.server.port: 10130
  65. svr-geography.server.port: 10090
  66. svr-health-profile.server.port: 9009
  67. svr-organization.server.port: 10070
  68. svr-pack-mgr.server.port: 10140
  69. svr-pack-resolve.server.port: 10170
  70. svr-patient.server.port: 10100
  71. svr-security.server.port: 10110
  72. svr-special-dict.server.port: 10180
  73. svr-standard.server.port: 10040
  74. svr-user.server.port: 10120
  75. ag-ehr-platform.server.port: 443
  76. ag-admin.server.port: 10000
  77. svr-family.server.port: 10190
  78. #Application acuator
  79. endpoints:
  80. restart:
  81. enabled: true
  82. shutdown:
  83. enabled: true
  84. health:
  85. sensitive: false
  86. spring:
  87. #JPA config for MySQL
  88. jpa:
  89. database-platform: org.hibernate.dialect.MySQL5Dialect
  90. hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  91. show-sql: true
  92. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  93. cloud:
  94. inetutils:
  95. ignoredInterfaces:
  96. - docker0
  97. - veth.*
  98. - vmnet.*
  99. eureka:
  100. client:
  101. serviceUrl:
  102. defaultZone: http://${eureka-server-ip}/eureka/
  103. ---
  104. spring:
  105. profiles: dev
  106. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  107. #else the server must have host map.
  108. eureka:
  109. instance:
  110. prefer-ip-address: false
  111. eureka-server-ip: 192.168.1.220:8761
  112. ---
  113. spring:
  114. profiles: test
  115. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  116. #else the server must have host map.
  117. eureka:
  118. instance:
  119. prefer-ip-address: false
  120. eureka-server-ip: 172.19.103.73:8761
  121. ---
  122. spring:
  123. profiles: prod
  124. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  125. #else the server must have host map.
  126. eureka:
  127. instance:
  128. prefer-ip-address: false
  129. eureka-server-ip: 11.1.2.21:8761