web-core-tcm 0.0.25 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +134 -0
  2. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/boot.js +70 -0
  3. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +14 -0
  4. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/message.js +6 -0
  5. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.js +10 -0
  6. package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +136 -0
  7. package/dist/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js +7 -0
  8. package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +164 -0
  9. package/dist/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +6 -0
  10. package/dist/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +75 -0
  11. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +8 -0
  12. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +35 -0
  13. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +42 -0
  14. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +17 -0
  15. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js +156 -0
  16. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +349 -0
  17. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +39 -0
  18. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +72 -0
  19. package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +551 -0
  20. package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js +159 -0
  21. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +58 -0
  22. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +350 -0
  23. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +25 -0
  24. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js +145 -0
  25. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +110 -0
  26. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +107 -0
  27. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +24 -0
  28. package/dist/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +556 -0
  29. package/dist/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +36 -0
  30. package/dist/node_modules/@vue/shared/dist/shared.esm-bundler.js +26 -0
  31. package/dist/node_modules/alova/dist/adapter/fetch.esm.js +55 -0
  32. package/dist/node_modules/alova/dist/alova.esm.js +414 -0
  33. package/dist/node_modules/alova/dist/clienthook/index.esm.js +89 -0
  34. package/dist/node_modules/builder-pattern/dist/index.js +22 -0
  35. package/dist/node_modules/jwt-decode/build/esm/index.js +52 -0
  36. package/dist/node_modules/pinyin/lib/esm/pinyin.js +242260 -0
  37. package/dist/node_modules/punycode/punycode.es6.js +139 -0
  38. package/dist/node_modules/quasar/src/composables/use-quasar/use-quasar.js +8 -0
  39. package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +4 -0
  40. package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +4 -0
  41. package/dist/src/api/algorithm/comprehensiveAlgorithm.js +16 -0
  42. package/dist/src/api/algorithm/index.d.ts +10 -0
  43. package/dist/src/api/algorithm/index.js +62 -0
  44. package/dist/src/api/algorithm/inquiriesAlgorithm.d.ts +13 -0
  45. package/dist/src/api/algorithm/inquiriesAlgorithm.js +9 -0
  46. package/dist/src/api/algorithm/inspectionsAlgorithm.d.ts +2 -0
  47. package/dist/src/api/algorithm/inspectionsAlgorithm.js +10 -0
  48. package/dist/src/api/algorithm/lisemsAlgorithm.d.ts +2 -0
  49. package/dist/src/api/algorithm/lisemsAlgorithm.js +15 -0
  50. package/dist/src/api/algorithm/pulsationsAlgorithm.d.ts +4 -0
  51. package/dist/src/api/algorithm/pulsationsAlgorithm.js +8 -0
  52. package/dist/src/api/authorization/alova/apiDefinitions.d.ts +21 -0
  53. package/dist/src/api/authorization/alova/apiDefinitions.js +9 -0
  54. package/dist/src/api/authorization/alova/createApis.d.ts +10 -0
  55. package/dist/src/api/authorization/alova/createApis.js +51 -0
  56. package/dist/src/api/authorization/alova/implement/authorization.d.ts +4 -0
  57. package/dist/src/api/authorization/alova/implement/authorization.js +15 -0
  58. package/dist/src/api/authorization/alova/index.d.ts +5 -0
  59. package/dist/src/api/authorization/alova/index.js +18 -0
  60. package/dist/src/api/authorization/authorization.d.ts +8 -0
  61. package/dist/src/api/authorization/authorization.js +16 -0
  62. package/dist/src/api/authorization/index.js +9 -0
  63. package/dist/src/api/check/alova/apiDefinitions.d.ts +28 -0
  64. package/dist/src/api/check/alova/apiDefinitions.js +16 -0
  65. package/dist/src/api/check/alova/createApis.d.ts +10 -0
  66. package/dist/src/api/check/alova/createApis.js +51 -0
  67. package/dist/src/api/check/alova/implement/check.d.ts +27 -0
  68. package/dist/src/api/check/alova/implement/check.js +119 -0
  69. package/dist/src/api/check/alova/index.d.ts +5 -0
  70. package/dist/src/api/check/alova/index.js +21 -0
  71. package/dist/src/api/check/check.d.ts +54 -0
  72. package/dist/src/api/check/check.js +131 -0
  73. package/dist/src/api/check/index.js +11 -0
  74. package/dist/src/api/config/alova/index.d.ts +5 -0
  75. package/dist/src/api/config/alova/index.js +55 -0
  76. package/dist/src/api/config/index.d.ts +23 -0
  77. package/dist/src/api/config/index.js +106 -0
  78. package/dist/src/api/device/device.d.ts +5 -0
  79. package/dist/src/api/device/device.js +46 -0
  80. package/dist/src/api/doctor/alova/apiDefinitions.d.ts +26 -0
  81. package/dist/src/api/doctor/alova/apiDefinitions.js +14 -0
  82. package/dist/src/api/doctor/alova/createApis.d.ts +10 -0
  83. package/dist/src/api/doctor/alova/createApis.js +51 -0
  84. package/dist/src/api/doctor/alova/implement/doctor.d.ts +7 -0
  85. package/dist/src/api/doctor/alova/implement/doctor.js +42 -0
  86. package/dist/src/api/doctor/alova/index.d.ts +5 -0
  87. package/dist/src/api/doctor/alova/index.js +20 -0
  88. package/dist/src/api/doctor/doctor.d.ts +22 -0
  89. package/dist/src/api/doctor/doctor.js +29 -0
  90. package/dist/src/api/doctor/index.js +9 -0
  91. package/dist/src/api/metric/implement/metric.d.ts +24 -0
  92. package/dist/src/api/metric/implement/metric.js +80 -0
  93. package/dist/src/api/metric/index.js +6 -0
  94. package/dist/src/api/metric/metric.d.ts +28 -0
  95. package/dist/src/api/metric/metric.js +75 -0
  96. package/dist/src/api/oauth/alova/apiDefinitions.d.ts +24 -0
  97. package/dist/src/api/oauth/alova/apiDefinitions.js +12 -0
  98. package/dist/src/api/oauth/alova/createApis.d.ts +10 -0
  99. package/dist/src/api/oauth/alova/createApis.js +51 -0
  100. package/dist/src/api/oauth/alova/implement/oauth.d.ts +4 -0
  101. package/dist/src/api/oauth/alova/implement/oauth.js +15 -0
  102. package/dist/src/api/oauth/alova/index.d.ts +5 -0
  103. package/dist/src/api/oauth/alova/index.js +17 -0
  104. package/dist/src/api/oauth/index.js +9 -0
  105. package/dist/src/api/oauth/oauth.d.ts +7 -0
  106. package/dist/src/api/oauth/oauth.js +16 -0
  107. package/dist/src/api/outpatient/alova/apiDefinitions.d.ts +25 -0
  108. package/dist/src/api/outpatient/alova/apiDefinitions.js +13 -0
  109. package/dist/src/api/outpatient/alova/createApis.d.ts +10 -0
  110. package/dist/src/api/outpatient/alova/createApis.js +51 -0
  111. package/dist/src/api/outpatient/alova/implement/outpatient.d.ts +10 -0
  112. package/dist/src/api/outpatient/alova/implement/outpatient.js +71 -0
  113. package/dist/src/api/outpatient/alova/index.d.ts +5 -0
  114. package/dist/src/api/outpatient/alova/index.js +21 -0
  115. package/dist/src/api/outpatient/index.js +11 -0
  116. package/dist/src/api/outpatient/outpatient.d.ts +39 -0
  117. package/dist/src/api/outpatient/outpatient.js +45 -0
  118. package/dist/src/api/patient/alova/apiDefinitions.d.ts +39 -0
  119. package/dist/src/api/patient/alova/apiDefinitions.js +27 -0
  120. package/dist/src/api/patient/alova/createApis.d.ts +10 -0
  121. package/dist/src/api/patient/alova/createApis.js +51 -0
  122. package/dist/src/api/patient/alova/implement/meta.d.ts +113 -0
  123. package/dist/src/api/patient/alova/implement/meta.js +404 -0
  124. package/dist/src/api/patient/alova/implement/patient.d.ts +22 -0
  125. package/dist/src/api/patient/alova/implement/patient.js +72 -0
  126. package/dist/src/api/patient/alova/index.d.ts +5 -0
  127. package/dist/src/api/patient/alova/index.js +22 -0
  128. package/dist/src/api/patient/core.d.ts +50 -0
  129. package/dist/src/api/patient/core.js +109 -0
  130. package/dist/src/api/patient/index.js +46 -0
  131. package/dist/src/api/patient/meta.d.ts +238 -0
  132. package/dist/src/api/patient/meta.js +454 -0
  133. package/dist/src/api/patient/patient.d.ts +43 -0
  134. package/dist/src/api/patient/patient.js +42 -0
  135. package/dist/src/api/prescription/alova/apiDefinitions.d.ts +27 -0
  136. package/dist/src/api/prescription/alova/apiDefinitions.js +15 -0
  137. package/dist/src/api/prescription/alova/createApis.d.ts +10 -0
  138. package/dist/src/api/prescription/alova/createApis.js +51 -0
  139. package/dist/src/api/prescription/alova/implement/herbal.d.ts +15 -0
  140. package/dist/src/api/prescription/alova/implement/herbal.js +54 -0
  141. package/dist/src/api/prescription/alova/implement/prescription.d.ts +15 -0
  142. package/dist/src/api/prescription/alova/implement/prescription.js +49 -0
  143. package/dist/src/api/prescription/alova/index.d.ts +5 -0
  144. package/dist/src/api/prescription/alova/index.js +20 -0
  145. package/dist/src/api/prescription/herbal.d.ts +19 -0
  146. package/dist/src/api/prescription/herbal.js +34 -0
  147. package/dist/src/api/prescription/index.js +13 -0
  148. package/dist/src/api/prescription/prescription.d.ts +26 -0
  149. package/dist/src/api/prescription/prescription.js +49 -0
  150. package/dist/src/api/scientist/alova/apiDefinitions.d.ts +25 -0
  151. package/dist/src/api/scientist/alova/apiDefinitions.js +13 -0
  152. package/dist/src/api/scientist/alova/createApis.d.ts +10 -0
  153. package/dist/src/api/scientist/alova/createApis.js +51 -0
  154. package/dist/src/api/scientist/alova/implement/scientist.d.ts +6 -0
  155. package/dist/src/api/scientist/alova/implement/scientist.js +35 -0
  156. package/dist/src/api/scientist/alova/index.d.ts +6 -0
  157. package/dist/src/api/scientist/alova/index.js +21 -0
  158. package/dist/src/api/scientist/index.js +9 -0
  159. package/dist/src/api/scientist/scientist.d.ts +20 -0
  160. package/dist/src/api/scientist/scientist.js +37 -0
  161. package/dist/src/components/models.d.ts +7 -0
  162. package/dist/src/index.js +36 -0
  163. package/dist/src/pages/LoginPage.vue.d.ts +2 -0
  164. package/dist/src/proto/types/Images_pb.d.ts +34 -0
  165. package/dist/src/proto/types/Images_pb.js +10 -0
  166. package/dist/src/proto/types/WaveMap_pb.d.ts +48 -0
  167. package/dist/src/proto/types/WaveMap_pb.js +10 -0
  168. package/dist/src/router/index.d.ts +2 -0
  169. package/dist/src/router/routes.d.ts +3 -0
  170. package/dist/src/util/RichTextUtil.d.ts +1 -0
  171. package/dist/src/util/RichTextUtil.js +6 -0
  172. package/dist/src/util/datetime.d.ts +5 -0
  173. package/dist/src/util/export.d.ts +4 -0
  174. package/dist/src/util/helper.d.ts +65 -0
  175. package/dist/src/util/helper.js +46 -0
  176. package/dist/src/util/image.d.ts +2 -0
  177. package/dist/src/util/image.js +17 -0
  178. package/dist/src/util/number.d.ts +12 -0
  179. package/dist/src/util/s256.d.ts +2 -0
  180. package/dist/src/util/secret.d.ts +10 -0
  181. package/dist/src/util/string.d.ts +21 -0
  182. package/dist/src/util/string.js +10 -0
  183. package/package.json +5 -2
  184. package/.editorconfig +0 -7
  185. package/.github/workflows/test.yml +0 -29
  186. package/.prettierrc.json +0 -5
  187. package/.vscode/extensions.json +0 -15
  188. package/.vscode/settings.json +0 -9
  189. package/eslint.config.js +0 -83
  190. package/index.html +0 -24
  191. package/postcss.config.js +0 -29
  192. package/quasar.config.ts +0 -233
  193. package/src/App.vue +0 -7
  194. package/src/api/algorithm/comprehensiveAlgorithm.ts +0 -20
  195. package/src/api/algorithm/index.ts +0 -50
  196. package/src/api/algorithm/inquiriesAlgorithm.ts +0 -16
  197. package/src/api/algorithm/inspectionsAlgorithm.ts +0 -11
  198. package/src/api/algorithm/lisemsAlgorithm.ts +0 -16
  199. package/src/api/algorithm/pulsationsAlgorithm.ts +0 -8
  200. package/src/api/authorization/alova/apiDefinitions.ts +0 -23
  201. package/src/api/authorization/alova/createApis.ts +0 -114
  202. package/src/api/authorization/alova/globals.d.ts +0 -394
  203. package/src/api/authorization/alova/implement/authorization.ts +0 -14
  204. package/src/api/authorization/alova/index.ts +0 -22
  205. package/src/api/authorization/authorization.ts +0 -16
  206. package/src/api/check/alova/apiDefinitions.ts +0 -30
  207. package/src/api/check/alova/createApis.ts +0 -114
  208. package/src/api/check/alova/globals.d.ts +0 -1257
  209. package/src/api/check/alova/implement/check.ts +0 -165
  210. package/src/api/check/alova/index.ts +0 -22
  211. package/src/api/check/check.ts +0 -217
  212. package/src/api/config/alova/index.ts +0 -71
  213. package/src/api/config/index.ts +0 -132
  214. package/src/api/device/device.js +0 -58
  215. package/src/api/doctor/alova/apiDefinitions.ts +0 -28
  216. package/src/api/doctor/alova/createApis.ts +0 -114
  217. package/src/api/doctor/alova/globals.d.ts +0 -559
  218. package/src/api/doctor/alova/implement/doctor.ts +0 -51
  219. package/src/api/doctor/alova/index.ts +0 -23
  220. package/src/api/doctor/doctor.ts +0 -53
  221. package/src/api/metric/implement/metric.ts +0 -108
  222. package/src/api/metric/metric.ts +0 -114
  223. package/src/api/oauth/alova/apiDefinitions.ts +0 -26
  224. package/src/api/oauth/alova/createApis.ts +0 -114
  225. package/src/api/oauth/alova/globals.d.ts +0 -460
  226. package/src/api/oauth/alova/implement/oauth.ts +0 -24
  227. package/src/api/oauth/alova/index.ts +0 -21
  228. package/src/api/oauth/oauth.ts +0 -19
  229. package/src/api/outpatient/alova/apiDefinitions.ts +0 -27
  230. package/src/api/outpatient/alova/createApis.ts +0 -114
  231. package/src/api/outpatient/alova/globals.d.ts +0 -685
  232. package/src/api/outpatient/alova/implement/outpatient.ts +0 -91
  233. package/src/api/outpatient/alova/index.ts +0 -22
  234. package/src/api/outpatient/outpatient.ts +0 -67
  235. package/src/api/patient/alova/apiDefinitions.ts +0 -41
  236. package/src/api/patient/alova/createApis.ts +0 -114
  237. package/src/api/patient/alova/globals.d.ts +0 -1690
  238. package/src/api/patient/alova/implement/meta.ts +0 -517
  239. package/src/api/patient/alova/implement/patient.ts +0 -99
  240. package/src/api/patient/alova/index.ts +0 -22
  241. package/src/api/patient/core.ts +0 -133
  242. package/src/api/patient/meta.ts +0 -570
  243. package/src/api/patient/patient.ts +0 -98
  244. package/src/api/prescription/alova/apiDefinitions.ts +0 -29
  245. package/src/api/prescription/alova/createApis.ts +0 -114
  246. package/src/api/prescription/alova/globals.d.ts +0 -968
  247. package/src/api/prescription/alova/implement/herbal.ts +0 -68
  248. package/src/api/prescription/alova/implement/prescription.ts +0 -62
  249. package/src/api/prescription/alova/index.ts +0 -22
  250. package/src/api/prescription/herbal.ts +0 -51
  251. package/src/api/prescription/prescription.ts +0 -76
  252. package/src/api/scientist/alova/apiDefinitions.ts +0 -27
  253. package/src/api/scientist/alova/createApis.ts +0 -114
  254. package/src/api/scientist/alova/globals.d.ts +0 -447
  255. package/src/api/scientist/alova/implement/scientist.ts +0 -40
  256. package/src/api/scientist/alova/index.ts +0 -24
  257. package/src/api/scientist/scientist.ts +0 -49
  258. package/src/assets/quasar-logo-vertical.svg +0 -15
  259. package/src/boot/.gitkeep +0 -0
  260. package/src/components/ExampleComponent.vue +0 -37
  261. package/src/components/models.ts +0 -8
  262. package/src/css/app.scss +0 -1
  263. package/src/css/quasar.variables.scss +0 -25
  264. package/src/env.d.ts +0 -7
  265. package/src/layouts/UserLayout.vue +0 -108
  266. package/src/pages/LoginPage.vue +0 -29
  267. package/src/proto/Images.proto +0 -7
  268. package/src/proto/WaveMap.proto +0 -10
  269. package/src/proto/types/Images_pb.ts +0 -48
  270. package/src/proto/types/WaveMap_pb.ts +0 -59
  271. package/src/router/index.ts +0 -37
  272. package/src/router/routes.ts +0 -14
  273. package/src/util/RichTextUtil.ts +0 -5
  274. package/src/util/datetime.ts +0 -43
  275. package/src/util/export.ts +0 -46
  276. package/src/util/helper.ts +0 -159
  277. package/src/util/image.ts +0 -28
  278. package/src/util/number.ts +0 -146
  279. package/src/util/s256.js +0 -27
  280. package/src/util/secret.ts +0 -60
  281. package/src/util/string.ts +0 -121
  282. package/tsconfig.json +0 -7
  283. /package/{public → dist}/favicon.ico +0 -0
  284. /package/{public → dist}/icons/favicon-128x128.png +0 -0
  285. /package/{public → dist}/icons/favicon-16x16.png +0 -0
  286. /package/{public → dist}/icons/favicon-32x32.png +0 -0
  287. /package/{public → dist}/icons/favicon-96x96.png +0 -0
  288. /package/{src/api/authorization/alova/implement/index.ts → dist/src/api/authorization/alova/implement/index.d.ts} +0 -0
  289. /package/{src/api/authorization/index.ts → dist/src/api/authorization/index.d.ts} +0 -0
  290. /package/{src/api/check/alova/implement/index.ts → dist/src/api/check/alova/implement/index.d.ts} +0 -0
  291. /package/{src/api/check/index.ts → dist/src/api/check/index.d.ts} +0 -0
  292. /package/{src/api/doctor/alova/implement/index.ts → dist/src/api/doctor/alova/implement/index.d.ts} +0 -0
  293. /package/{src/api/doctor/index.ts → dist/src/api/doctor/index.d.ts} +0 -0
  294. /package/{src/api/index.ts → dist/src/api/index.d.ts} +0 -0
  295. /package/{src/api/metric/implement/index.ts → dist/src/api/metric/implement/index.d.ts} +0 -0
  296. /package/{src/api/metric/index.ts → dist/src/api/metric/index.d.ts} +0 -0
  297. /package/{src/api/oauth/alova/implement/index.ts → dist/src/api/oauth/alova/implement/index.d.ts} +0 -0
  298. /package/{src/api/oauth/index.ts → dist/src/api/oauth/index.d.ts} +0 -0
  299. /package/{src/api/outpatient/alova/implement/index.ts → dist/src/api/outpatient/alova/implement/index.d.ts} +0 -0
  300. /package/{src/api/outpatient/index.ts → dist/src/api/outpatient/index.d.ts} +0 -0
  301. /package/{src/api/patient/alova/implement/index.ts → dist/src/api/patient/alova/implement/index.d.ts} +0 -0
  302. /package/{src/api/patient/index.ts → dist/src/api/patient/index.d.ts} +0 -0
  303. /package/{src/api/prescription/alova/implement/index.ts → dist/src/api/prescription/alova/implement/index.d.ts} +0 -0
  304. /package/{src/api/prescription/index.ts → dist/src/api/prescription/index.d.ts} +0 -0
  305. /package/{src/api/scientist/alova/implement/index.ts → dist/src/api/scientist/alova/implement/index.d.ts} +0 -0
  306. /package/{src/api/scientist/index.ts → dist/src/api/scientist/index.d.ts} +0 -0
  307. /package/{src/index.ts → dist/src/index.d.ts} +0 -0
  308. /package/{src/proto/index.ts → dist/src/proto/index.d.ts} +0 -0
@@ -1,1690 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * 患者服务 - version v1.0
5
- *
6
- * 支持Restful风格的患者服务
7
- *
8
- * OpenAPI version: 3.1.0
9
- *
10
- *
11
- * NOTE: This file is auto generated by the alova's vscode plugin.
12
- *
13
- * https://alova.js.org/devtools/vscode
14
- *
15
- * **Do not edit the file manually.**
16
- */
17
- import type { Alova, AlovaMethodCreateConfig, AlovaGenerics, Method } from 'alova';
18
- import type { $$userConfigMap, alovaInstance } from './index';
19
- import type apiDefinitions from './apiDefinitions';
20
-
21
- type CollapsedAlova = typeof alovaInstance;
22
- type UserMethodConfigMap = typeof $$userConfigMap;
23
-
24
- type Alova2MethodConfig<Responded> =
25
- CollapsedAlova extends Alova<
26
- AlovaGenerics<
27
- any,
28
- any,
29
- infer RequestConfig,
30
- infer Response,
31
- infer ResponseHeader,
32
- infer L1Cache,
33
- infer L2Cache,
34
- infer SE
35
- >
36
- >
37
- ? Omit<
38
- AlovaMethodCreateConfig<
39
- AlovaGenerics<
40
- Responded,
41
- any,
42
- RequestConfig,
43
- Response,
44
- ResponseHeader,
45
- L1Cache,
46
- L2Cache,
47
- SE
48
- >,
49
- any,
50
- Responded
51
- >,
52
- 'params'
53
- >
54
- : never;
55
-
56
- // Extract the return type of transform function that define in $$userConfigMap, if it not exists, use the default type.
57
- type ExtractUserDefinedTransformed<
58
- DefinitionKey extends keyof typeof apiDefinitions,
59
- Default,
60
- > = DefinitionKey extends keyof UserMethodConfigMap
61
- ? UserMethodConfigMap[DefinitionKey]['transform'] extends (...args: any[]) => any
62
- ? Awaited<ReturnType<UserMethodConfigMap[DefinitionKey]['transform']>>
63
- : Default
64
- : Default;
65
- type Alova2Method<
66
- Responded,
67
- DefinitionKey extends keyof typeof apiDefinitions,
68
- CurrentConfig extends Alova2MethodConfig<any>,
69
- > =
70
- CollapsedAlova extends Alova<
71
- AlovaGenerics<
72
- any,
73
- any,
74
- infer RequestConfig,
75
- infer Response,
76
- infer ResponseHeader,
77
- infer L1Cache,
78
- infer L2Cache,
79
- infer SE
80
- >
81
- >
82
- ? Method<
83
- AlovaGenerics<
84
- CurrentConfig extends undefined
85
- ? ExtractUserDefinedTransformed<DefinitionKey, Responded>
86
- : CurrentConfig['transform'] extends (...args: any[]) => any
87
- ? Awaited<ReturnType<CurrentConfig['transform']>>
88
- : ExtractUserDefinedTransformed<DefinitionKey, Responded>,
89
- any,
90
- RequestConfig,
91
- Response,
92
- ResponseHeader,
93
- L1Cache,
94
- L2Cache,
95
- SE
96
- >
97
- >
98
- : never;
99
-
100
- export interface AnnotationState {
101
- value?: string;
102
- actor?: string;
103
- timestamp?: string;
104
- }
105
- export interface TagState {
106
- key?: string;
107
- annotationsState?: AnnotationState[];
108
- }
109
- export interface PatientState {
110
- id?: string;
111
- doctorId?: string;
112
- name?: string;
113
- createdTimestamp?: string;
114
- updatedTimestamp?: string;
115
- identity?: string;
116
- gender?: string;
117
- phoneNumber?: string;
118
- birthdate?: string;
119
- remarks?: string[];
120
- tagsState?: TagState[];
121
- mainSymptom?: string;
122
- }
123
- export interface QueryPatientStateByExactMatchRequest {
124
- id?: string[];
125
- doctorId?: string[];
126
- name?: string[];
127
- phoneNumber?: string[];
128
- gender?: string[];
129
- identityNumber?: string[];
130
- pageSize?: number;
131
- page?: number;
132
- startTime?: number;
133
- endTime?: number;
134
- sort?: string;
135
- }
136
- export interface QueryMetaWithPatientStateRequest {
137
- ownerState?: PatientState;
138
- type?: string;
139
- pageSize?: number;
140
- page?: number;
141
- startTime?: string;
142
- endTime?: string;
143
- sort?: string;
144
- patientStartBirthdate?: string;
145
- patientEndBirthdate?: string;
146
- tagsState?: TagState[];
147
- }
148
- export interface QueryMetaStateByExactMatchRequest {
149
- id?: string[];
150
- ownerState?: PatientState[];
151
- type?: string[];
152
- pageSize?: number;
153
- page?: number;
154
- startTime?: string;
155
- endTime?: string;
156
- sort?: string;
157
- }
158
- export interface QueryMetaStateRequest {
159
- ownerState?: PatientState;
160
- type?: string;
161
- pageSize?: number;
162
- page?: number;
163
- startTime?: string;
164
- endTime?: string;
165
- sort?: string;
166
- }
167
- export interface AgeDistribute {
168
- age?: number;
169
- count?: number;
170
- }
171
- export interface GenderDistribute {
172
- gender?: string;
173
- count?: number;
174
- }
175
- export interface DateDistribute {
176
- date?: string;
177
- count?: number;
178
- }
179
- export interface MetaState {
180
- id?: string;
181
- ownerState?: PatientState;
182
- type?: string;
183
- tagsState?: TagState[];
184
- createdTimestamp?: string;
185
- updatedTimestamp?: string;
186
- }
187
- export interface SortObject {
188
- empty?: boolean;
189
- sorted?: boolean;
190
- unsorted?: boolean;
191
- }
192
- export interface PageableObject {
193
- offset?: number;
194
- sort?: SortObject;
195
- pageSize?: number;
196
- paged?: boolean;
197
- pageNumber?: number;
198
- unpaged?: boolean;
199
- }
200
- export interface PagePatientState {
201
- totalPages?: number;
202
- totalElements?: number;
203
- size?: number;
204
- content?: PatientState[];
205
- number?: number;
206
- sort?: SortObject;
207
- first?: boolean;
208
- last?: boolean;
209
- numberOfElements?: number;
210
- pageable?: PageableObject;
211
- empty?: boolean;
212
- }
213
- export interface PageMetaState {
214
- totalPages?: number;
215
- totalElements?: number;
216
- size?: number;
217
- content?: MetaState[];
218
- number?: number;
219
- sort?: SortObject;
220
- first?: boolean;
221
- last?: boolean;
222
- numberOfElements?: number;
223
- pageable?: PageableObject;
224
- empty?: boolean;
225
- }
226
- declare global {
227
- interface patientApi {
228
- metaStateRestful: {
229
- /**
230
- * ---
231
- *
232
- * [GET]
233
- *
234
- * **path:** /患者/服务/元/{id}
235
- *
236
- * ---
237
- *
238
- * **Path Parameters**
239
- * ```ts
240
- * type PathParameters = {
241
- * id: string
242
- * }
243
- * ```
244
- *
245
- * ---
246
- *
247
- * **Response**
248
- * ```ts
249
- * type Response = {
250
- * id?: string
251
- * ownerState?: {
252
- * id?: string
253
- * doctorId?: string
254
- * name?: string
255
- * createdTimestamp?: string
256
- * updatedTimestamp?: string
257
- * identity?: string
258
- * gender?: string
259
- * phoneNumber?: string
260
- * birthdate?: string
261
- * // [items] start
262
- * // [items] end
263
- * remarks?: string[]
264
- * // [items] start
265
- * // [items] end
266
- * tagsState?: Array<{
267
- * key?: string
268
- * // [items] start
269
- * // [items] end
270
- * annotationsState?: Array<{
271
- * value?: string
272
- * actor?: string
273
- * timestamp?: string
274
- * }>
275
- * }>
276
- * mainSymptom?: string
277
- * }
278
- * type?: string
279
- * // [items] start
280
- * // [items] end
281
- * tagsState?: Array<{
282
- * key?: string
283
- * // [items] start
284
- * // [items] end
285
- * annotationsState?: Array<{
286
- * value?: string
287
- * actor?: string
288
- * timestamp?: string
289
- * }>
290
- * }>
291
- * createdTimestamp?: string
292
- * updatedTimestamp?: string
293
- * }
294
- * ```
295
- */
296
- getMetaState<
297
- Config extends Alova2MethodConfig<MetaState> & {
298
- pathParams: {
299
- id: string;
300
- };
301
- },
302
- >(
303
- config: Config,
304
- ): Alova2Method<MetaState, 'metaStateRestful.getMetaState', Config>;
305
- /**
306
- * ---
307
- *
308
- * [PUT]
309
- *
310
- * **path:** /患者/服务/元/{id}
311
- *
312
- * ---
313
- *
314
- * **Path Parameters**
315
- * ```ts
316
- * type PathParameters = {
317
- * id: string
318
- * }
319
- * ```
320
- *
321
- * ---
322
- *
323
- * **RequestBody**
324
- * ```ts
325
- * type RequestBody = {
326
- * id?: string
327
- * ownerState?: {
328
- * id?: string
329
- * doctorId?: string
330
- * name?: string
331
- * createdTimestamp?: string
332
- * updatedTimestamp?: string
333
- * identity?: string
334
- * gender?: string
335
- * phoneNumber?: string
336
- * birthdate?: string
337
- * // [items] start
338
- * // [items] end
339
- * remarks?: string[]
340
- * // [items] start
341
- * // [items] end
342
- * tagsState?: Array<{
343
- * key?: string
344
- * // [items] start
345
- * // [items] end
346
- * annotationsState?: Array<{
347
- * value?: string
348
- * actor?: string
349
- * timestamp?: string
350
- * }>
351
- * }>
352
- * mainSymptom?: string
353
- * }
354
- * type?: string
355
- * // [items] start
356
- * // [items] end
357
- * tagsState?: Array<{
358
- * key?: string
359
- * // [items] start
360
- * // [items] end
361
- * annotationsState?: Array<{
362
- * value?: string
363
- * actor?: string
364
- * timestamp?: string
365
- * }>
366
- * }>
367
- * createdTimestamp?: string
368
- * updatedTimestamp?: string
369
- * }
370
- * ```
371
- *
372
- * ---
373
- *
374
- * **Response**
375
- * ```ts
376
- * type Response = {
377
- * id?: string
378
- * ownerState?: {
379
- * id?: string
380
- * doctorId?: string
381
- * name?: string
382
- * createdTimestamp?: string
383
- * updatedTimestamp?: string
384
- * identity?: string
385
- * gender?: string
386
- * phoneNumber?: string
387
- * birthdate?: string
388
- * // [items] start
389
- * // [items] end
390
- * remarks?: string[]
391
- * // [items] start
392
- * // [items] end
393
- * tagsState?: Array<{
394
- * key?: string
395
- * // [items] start
396
- * // [items] end
397
- * annotationsState?: Array<{
398
- * value?: string
399
- * actor?: string
400
- * timestamp?: string
401
- * }>
402
- * }>
403
- * mainSymptom?: string
404
- * }
405
- * type?: string
406
- * // [items] start
407
- * // [items] end
408
- * tagsState?: Array<{
409
- * key?: string
410
- * // [items] start
411
- * // [items] end
412
- * annotationsState?: Array<{
413
- * value?: string
414
- * actor?: string
415
- * timestamp?: string
416
- * }>
417
- * }>
418
- * createdTimestamp?: string
419
- * updatedTimestamp?: string
420
- * }
421
- * ```
422
- */
423
- putMetaState<
424
- Config extends Alova2MethodConfig<MetaState> & {
425
- pathParams: {
426
- id: string;
427
- };
428
- data: MetaState;
429
- },
430
- >(
431
- config: Config,
432
- ): Alova2Method<MetaState, 'metaStateRestful.putMetaState', Config>;
433
- /**
434
- * ---
435
- *
436
- * [DELETE]
437
- *
438
- * **path:** /患者/服务/元/{id}
439
- *
440
- * ---
441
- *
442
- * **Path Parameters**
443
- * ```ts
444
- * type PathParameters = {
445
- * id: string
446
- * }
447
- * ```
448
- *
449
- * ---
450
- *
451
- * **Response**
452
- * ```ts
453
- * type Response = null
454
- * ```
455
- */
456
- deleteMetaState<
457
- Config extends Alova2MethodConfig<null> & {
458
- pathParams: {
459
- id: string;
460
- };
461
- },
462
- >(
463
- config: Config,
464
- ): Alova2Method<null, 'metaStateRestful.deleteMetaState', Config>;
465
- /**
466
- * ---
467
- *
468
- * [POST] 创建元状态记录
469
- *
470
- * **path:** /患者/服务/元
471
- *
472
- * ---
473
- *
474
- * **Query Parameters**
475
- * ```ts
476
- * type QueryParameters = {
477
- * ownerId: string
478
- * type: string
479
- * }
480
- * ```
481
- *
482
- * ---
483
- *
484
- * **RequestBody**
485
- * ```ts
486
- * type RequestBody = Blob
487
- * ```
488
- *
489
- * ---
490
- *
491
- * **Response**
492
- * ```ts
493
- * type Response = {
494
- * id?: string
495
- * ownerState?: {
496
- * id?: string
497
- * doctorId?: string
498
- * name?: string
499
- * createdTimestamp?: string
500
- * updatedTimestamp?: string
501
- * identity?: string
502
- * gender?: string
503
- * phoneNumber?: string
504
- * birthdate?: string
505
- * // [items] start
506
- * // [items] end
507
- * remarks?: string[]
508
- * // [items] start
509
- * // [items] end
510
- * tagsState?: Array<{
511
- * key?: string
512
- * // [items] start
513
- * // [items] end
514
- * annotationsState?: Array<{
515
- * value?: string
516
- * actor?: string
517
- * timestamp?: string
518
- * }>
519
- * }>
520
- * mainSymptom?: string
521
- * }
522
- * type?: string
523
- * // [items] start
524
- * // [items] end
525
- * tagsState?: Array<{
526
- * key?: string
527
- * // [items] start
528
- * // [items] end
529
- * annotationsState?: Array<{
530
- * value?: string
531
- * actor?: string
532
- * timestamp?: string
533
- * }>
534
- * }>
535
- * createdTimestamp?: string
536
- * updatedTimestamp?: string
537
- * }
538
- * ```
539
- */
540
- postMetaState<
541
- Config extends Alova2MethodConfig<MetaState> & {
542
- params: {
543
- ownerId: string;
544
- type: string;
545
- };
546
- data: Blob;
547
- },
548
- >(
549
- config: Config,
550
- ): Alova2Method<MetaState, 'metaStateRestful.postMetaState', Config>;
551
- /**
552
- * ---
553
- *
554
- * [POST]
555
- *
556
- * **path:** /患者/服务/元/级联查询
557
- *
558
- * ---
559
- *
560
- * **RequestBody**
561
- * ```ts
562
- * type RequestBody = {
563
- * ownerState?: {
564
- * id?: string
565
- * doctorId?: string
566
- * name?: string
567
- * createdTimestamp?: string
568
- * updatedTimestamp?: string
569
- * identity?: string
570
- * gender?: string
571
- * phoneNumber?: string
572
- * birthdate?: string
573
- * // [items] start
574
- * // [items] end
575
- * remarks?: string[]
576
- * // [items] start
577
- * // [items] end
578
- * tagsState?: Array<{
579
- * key?: string
580
- * // [items] start
581
- * // [items] end
582
- * annotationsState?: Array<{
583
- * value?: string
584
- * actor?: string
585
- * timestamp?: string
586
- * }>
587
- * }>
588
- * mainSymptom?: string
589
- * }
590
- * type?: string
591
- * pageSize?: number
592
- * page?: number
593
- * startTime?: string
594
- * endTime?: string
595
- * sort?: string
596
- * patientStartBirthdate?: string
597
- * patientEndBirthdate?: string
598
- * // [items] start
599
- * // [items] end
600
- * tagsState?: Array<{
601
- * key?: string
602
- * // [items] start
603
- * // [items] end
604
- * annotationsState?: Array<{
605
- * value?: string
606
- * actor?: string
607
- * timestamp?: string
608
- * }>
609
- * }>
610
- * }
611
- * ```
612
- *
613
- * ---
614
- *
615
- * **Response**
616
- * ```ts
617
- * type Response = {
618
- * totalPages?: number
619
- * totalElements?: number
620
- * size?: number
621
- * // [items] start
622
- * // [items] end
623
- * content?: Array<{
624
- * id?: string
625
- * ownerState?: {
626
- * id?: string
627
- * doctorId?: string
628
- * name?: string
629
- * createdTimestamp?: string
630
- * updatedTimestamp?: string
631
- * identity?: string
632
- * gender?: string
633
- * phoneNumber?: string
634
- * birthdate?: string
635
- * // [items] start
636
- * // [items] end
637
- * remarks?: string[]
638
- * // [items] start
639
- * // [items] end
640
- * tagsState?: Array<{
641
- * key?: string
642
- * // [items] start
643
- * // [items] end
644
- * annotationsState?: Array<{
645
- * value?: string
646
- * actor?: string
647
- * timestamp?: string
648
- * }>
649
- * }>
650
- * mainSymptom?: string
651
- * }
652
- * type?: string
653
- * // [items] start
654
- * // [items] end
655
- * tagsState?: Array<{
656
- * key?: string
657
- * // [items] start
658
- * // [items] end
659
- * annotationsState?: Array<{
660
- * value?: string
661
- * actor?: string
662
- * timestamp?: string
663
- * }>
664
- * }>
665
- * createdTimestamp?: string
666
- * updatedTimestamp?: string
667
- * }>
668
- * number?: number
669
- * sort?: {
670
- * empty?: boolean
671
- * sorted?: boolean
672
- * unsorted?: boolean
673
- * }
674
- * first?: boolean
675
- * last?: boolean
676
- * numberOfElements?: number
677
- * pageable?: {
678
- * offset?: number
679
- * sort?: {
680
- * empty?: boolean
681
- * sorted?: boolean
682
- * unsorted?: boolean
683
- * }
684
- * pageSize?: number
685
- * paged?: boolean
686
- * pageNumber?: number
687
- * unpaged?: boolean
688
- * }
689
- * empty?: boolean
690
- * }
691
- * ```
692
- */
693
- queryMetaAndPatientState<
694
- Config extends Alova2MethodConfig<PageMetaState> & {
695
- data: QueryMetaWithPatientStateRequest;
696
- },
697
- >(
698
- config: Config,
699
- ): Alova2Method<PageMetaState, 'metaStateRestful.queryMetaAndPatientState', Config>;
700
- /**
701
- * ---
702
- *
703
- * [POST]
704
- *
705
- * **path:** /患者/服务/元/精确匹配
706
- *
707
- * ---
708
- *
709
- * **RequestBody**
710
- * ```ts
711
- * type RequestBody = {
712
- * // [items] start
713
- * // [items] end
714
- * id?: string[]
715
- * // [items] start
716
- * // [items] end
717
- * ownerState?: Array<{
718
- * id?: string
719
- * doctorId?: string
720
- * name?: string
721
- * createdTimestamp?: string
722
- * updatedTimestamp?: string
723
- * identity?: string
724
- * gender?: string
725
- * phoneNumber?: string
726
- * birthdate?: string
727
- * // [items] start
728
- * // [items] end
729
- * remarks?: string[]
730
- * // [items] start
731
- * // [items] end
732
- * tagsState?: Array<{
733
- * key?: string
734
- * // [items] start
735
- * // [items] end
736
- * annotationsState?: Array<{
737
- * value?: string
738
- * actor?: string
739
- * timestamp?: string
740
- * }>
741
- * }>
742
- * mainSymptom?: string
743
- * }>
744
- * // [items] start
745
- * // [items] end
746
- * type?: string[]
747
- * pageSize?: number
748
- * page?: number
749
- * startTime?: string
750
- * endTime?: string
751
- * sort?: string
752
- * }
753
- * ```
754
- *
755
- * ---
756
- *
757
- * **Response**
758
- * ```ts
759
- * type Response = {
760
- * totalPages?: number
761
- * totalElements?: number
762
- * size?: number
763
- * // [items] start
764
- * // [items] end
765
- * content?: Array<{
766
- * id?: string
767
- * ownerState?: {
768
- * id?: string
769
- * doctorId?: string
770
- * name?: string
771
- * createdTimestamp?: string
772
- * updatedTimestamp?: string
773
- * identity?: string
774
- * gender?: string
775
- * phoneNumber?: string
776
- * birthdate?: string
777
- * // [items] start
778
- * // [items] end
779
- * remarks?: string[]
780
- * // [items] start
781
- * // [items] end
782
- * tagsState?: Array<{
783
- * key?: string
784
- * // [items] start
785
- * // [items] end
786
- * annotationsState?: Array<{
787
- * value?: string
788
- * actor?: string
789
- * timestamp?: string
790
- * }>
791
- * }>
792
- * mainSymptom?: string
793
- * }
794
- * type?: string
795
- * // [items] start
796
- * // [items] end
797
- * tagsState?: Array<{
798
- * key?: string
799
- * // [items] start
800
- * // [items] end
801
- * annotationsState?: Array<{
802
- * value?: string
803
- * actor?: string
804
- * timestamp?: string
805
- * }>
806
- * }>
807
- * createdTimestamp?: string
808
- * updatedTimestamp?: string
809
- * }>
810
- * number?: number
811
- * sort?: {
812
- * empty?: boolean
813
- * sorted?: boolean
814
- * unsorted?: boolean
815
- * }
816
- * first?: boolean
817
- * last?: boolean
818
- * numberOfElements?: number
819
- * pageable?: {
820
- * offset?: number
821
- * sort?: {
822
- * empty?: boolean
823
- * sorted?: boolean
824
- * unsorted?: boolean
825
- * }
826
- * pageSize?: number
827
- * paged?: boolean
828
- * pageNumber?: number
829
- * unpaged?: boolean
830
- * }
831
- * empty?: boolean
832
- * }
833
- * ```
834
- */
835
- queryMetaStateByExactMatch<
836
- Config extends Alova2MethodConfig<PageMetaState> & {
837
- data: QueryMetaStateByExactMatchRequest;
838
- },
839
- >(
840
- config: Config,
841
- ): Alova2Method<PageMetaState, 'metaStateRestful.queryMetaStateByExactMatch', Config>;
842
- /**
843
- * ---
844
- *
845
- * [POST]
846
- *
847
- * **path:** /患者/服务/元/条件查询
848
- *
849
- * ---
850
- *
851
- * **RequestBody**
852
- * ```ts
853
- * type RequestBody = {
854
- * ownerState?: {
855
- * id?: string
856
- * doctorId?: string
857
- * name?: string
858
- * createdTimestamp?: string
859
- * updatedTimestamp?: string
860
- * identity?: string
861
- * gender?: string
862
- * phoneNumber?: string
863
- * birthdate?: string
864
- * // [items] start
865
- * // [items] end
866
- * remarks?: string[]
867
- * // [items] start
868
- * // [items] end
869
- * tagsState?: Array<{
870
- * key?: string
871
- * // [items] start
872
- * // [items] end
873
- * annotationsState?: Array<{
874
- * value?: string
875
- * actor?: string
876
- * timestamp?: string
877
- * }>
878
- * }>
879
- * mainSymptom?: string
880
- * }
881
- * type?: string
882
- * pageSize?: number
883
- * page?: number
884
- * startTime?: string
885
- * endTime?: string
886
- * sort?: string
887
- * }
888
- * ```
889
- *
890
- * ---
891
- *
892
- * **Response**
893
- * ```ts
894
- * type Response = {
895
- * totalPages?: number
896
- * totalElements?: number
897
- * size?: number
898
- * // [items] start
899
- * // [items] end
900
- * content?: Array<{
901
- * id?: string
902
- * ownerState?: {
903
- * id?: string
904
- * doctorId?: string
905
- * name?: string
906
- * createdTimestamp?: string
907
- * updatedTimestamp?: string
908
- * identity?: string
909
- * gender?: string
910
- * phoneNumber?: string
911
- * birthdate?: string
912
- * // [items] start
913
- * // [items] end
914
- * remarks?: string[]
915
- * // [items] start
916
- * // [items] end
917
- * tagsState?: Array<{
918
- * key?: string
919
- * // [items] start
920
- * // [items] end
921
- * annotationsState?: Array<{
922
- * value?: string
923
- * actor?: string
924
- * timestamp?: string
925
- * }>
926
- * }>
927
- * mainSymptom?: string
928
- * }
929
- * type?: string
930
- * // [items] start
931
- * // [items] end
932
- * tagsState?: Array<{
933
- * key?: string
934
- * // [items] start
935
- * // [items] end
936
- * annotationsState?: Array<{
937
- * value?: string
938
- * actor?: string
939
- * timestamp?: string
940
- * }>
941
- * }>
942
- * createdTimestamp?: string
943
- * updatedTimestamp?: string
944
- * }>
945
- * number?: number
946
- * sort?: {
947
- * empty?: boolean
948
- * sorted?: boolean
949
- * unsorted?: boolean
950
- * }
951
- * first?: boolean
952
- * last?: boolean
953
- * numberOfElements?: number
954
- * pageable?: {
955
- * offset?: number
956
- * sort?: {
957
- * empty?: boolean
958
- * sorted?: boolean
959
- * unsorted?: boolean
960
- * }
961
- * pageSize?: number
962
- * paged?: boolean
963
- * pageNumber?: number
964
- * unpaged?: boolean
965
- * }
966
- * empty?: boolean
967
- * }
968
- * ```
969
- */
970
- queryMetaState<
971
- Config extends Alova2MethodConfig<PageMetaState> & {
972
- data: QueryMetaStateRequest;
973
- },
974
- >(
975
- config: Config,
976
- ): Alova2Method<PageMetaState, 'metaStateRestful.queryMetaState', Config>;
977
- /**
978
- * ---
979
- *
980
- * [GET]
981
- *
982
- * **path:** /患者/服务/元/{id}/元象
983
- *
984
- * ---
985
- *
986
- * **Path Parameters**
987
- * ```ts
988
- * type PathParameters = {
989
- * id: string
990
- * }
991
- * ```
992
- *
993
- * ---
994
- *
995
- * **Response**
996
- * ```ts
997
- * type Response = null
998
- * ```
999
- */
1000
- getMetaObject<
1001
- Config extends Alova2MethodConfig<null> & {
1002
- pathParams: {
1003
- id: string;
1004
- };
1005
- },
1006
- >(
1007
- config: Config,
1008
- ): Alova2Method<null, 'metaStateRestful.getMetaObject', Config>;
1009
- };
1010
- patientStateRestful: {
1011
- /**
1012
- * ---
1013
- *
1014
- * [GET]
1015
- *
1016
- * **path:** /患者/服务/{id}
1017
- *
1018
- * ---
1019
- *
1020
- * **Path Parameters**
1021
- * ```ts
1022
- * type PathParameters = {
1023
- * id: string
1024
- * }
1025
- * ```
1026
- *
1027
- * ---
1028
- *
1029
- * **Response**
1030
- * ```ts
1031
- * type Response = {
1032
- * id?: string
1033
- * doctorId?: string
1034
- * name?: string
1035
- * createdTimestamp?: string
1036
- * updatedTimestamp?: string
1037
- * identity?: string
1038
- * gender?: string
1039
- * phoneNumber?: string
1040
- * birthdate?: string
1041
- * // [items] start
1042
- * // [items] end
1043
- * remarks?: string[]
1044
- * // [items] start
1045
- * // [items] end
1046
- * tagsState?: Array<{
1047
- * key?: string
1048
- * // [items] start
1049
- * // [items] end
1050
- * annotationsState?: Array<{
1051
- * value?: string
1052
- * actor?: string
1053
- * timestamp?: string
1054
- * }>
1055
- * }>
1056
- * mainSymptom?: string
1057
- * }
1058
- * ```
1059
- */
1060
- getPatientState<
1061
- Config extends Alova2MethodConfig<PatientState> & {
1062
- pathParams: {
1063
- id: string;
1064
- };
1065
- },
1066
- >(
1067
- config: Config,
1068
- ): Alova2Method<PatientState, 'patientStateRestful.getPatientState', Config>;
1069
- /**
1070
- * ---
1071
- *
1072
- * [PUT]
1073
- *
1074
- * **path:** /患者/服务/{id}
1075
- *
1076
- * ---
1077
- *
1078
- * **Path Parameters**
1079
- * ```ts
1080
- * type PathParameters = {
1081
- * id: string
1082
- * }
1083
- * ```
1084
- *
1085
- * ---
1086
- *
1087
- * **RequestBody**
1088
- * ```ts
1089
- * type RequestBody = {
1090
- * id?: string
1091
- * doctorId?: string
1092
- * name?: string
1093
- * createdTimestamp?: string
1094
- * updatedTimestamp?: string
1095
- * identity?: string
1096
- * gender?: string
1097
- * phoneNumber?: string
1098
- * birthdate?: string
1099
- * // [items] start
1100
- * // [items] end
1101
- * remarks?: string[]
1102
- * // [items] start
1103
- * // [items] end
1104
- * tagsState?: Array<{
1105
- * key?: string
1106
- * // [items] start
1107
- * // [items] end
1108
- * annotationsState?: Array<{
1109
- * value?: string
1110
- * actor?: string
1111
- * timestamp?: string
1112
- * }>
1113
- * }>
1114
- * mainSymptom?: string
1115
- * }
1116
- * ```
1117
- *
1118
- * ---
1119
- *
1120
- * **Response**
1121
- * ```ts
1122
- * type Response = {
1123
- * id?: string
1124
- * doctorId?: string
1125
- * name?: string
1126
- * createdTimestamp?: string
1127
- * updatedTimestamp?: string
1128
- * identity?: string
1129
- * gender?: string
1130
- * phoneNumber?: string
1131
- * birthdate?: string
1132
- * // [items] start
1133
- * // [items] end
1134
- * remarks?: string[]
1135
- * // [items] start
1136
- * // [items] end
1137
- * tagsState?: Array<{
1138
- * key?: string
1139
- * // [items] start
1140
- * // [items] end
1141
- * annotationsState?: Array<{
1142
- * value?: string
1143
- * actor?: string
1144
- * timestamp?: string
1145
- * }>
1146
- * }>
1147
- * mainSymptom?: string
1148
- * }
1149
- * ```
1150
- */
1151
- putPatientState<
1152
- Config extends Alova2MethodConfig<PatientState> & {
1153
- pathParams: {
1154
- id: string;
1155
- };
1156
- data: PatientState;
1157
- },
1158
- >(
1159
- config: Config,
1160
- ): Alova2Method<PatientState, 'patientStateRestful.putPatientState', Config>;
1161
- /**
1162
- * ---
1163
- *
1164
- * [DELETE]
1165
- *
1166
- * **path:** /患者/服务/{id}
1167
- *
1168
- * ---
1169
- *
1170
- * **Path Parameters**
1171
- * ```ts
1172
- * type PathParameters = {
1173
- * id: string
1174
- * }
1175
- * ```
1176
- *
1177
- * ---
1178
- *
1179
- * **Response**
1180
- * ```ts
1181
- * type Response = null
1182
- * ```
1183
- */
1184
- deletePatientState<
1185
- Config extends Alova2MethodConfig<null> & {
1186
- pathParams: {
1187
- id: string;
1188
- };
1189
- },
1190
- >(
1191
- config: Config,
1192
- ): Alova2Method<null, 'patientStateRestful.deletePatientState', Config>;
1193
- /**
1194
- * ---
1195
- *
1196
- * [GET]
1197
- *
1198
- * **path:** /患者/服务
1199
- *
1200
- * ---
1201
- *
1202
- * **Query Parameters**
1203
- * ```ts
1204
- * type QueryParameters = {
1205
- * id?: string
1206
- * doctorId?: string
1207
- * name?: string
1208
- * gender?: string
1209
- * identity?: string
1210
- * pageSize: number
1211
- * page: number
1212
- * phoneNumber?: string
1213
- * startTime?: string
1214
- * endTime?: string
1215
- * sort?: string
1216
- * }
1217
- * ```
1218
- *
1219
- * ---
1220
- *
1221
- * **Response**
1222
- * ```ts
1223
- * type Response = {
1224
- * totalPages?: number
1225
- * totalElements?: number
1226
- * size?: number
1227
- * // [items] start
1228
- * // [items] end
1229
- * content?: Array<{
1230
- * id?: string
1231
- * doctorId?: string
1232
- * name?: string
1233
- * createdTimestamp?: string
1234
- * updatedTimestamp?: string
1235
- * identity?: string
1236
- * gender?: string
1237
- * phoneNumber?: string
1238
- * birthdate?: string
1239
- * // [items] start
1240
- * // [items] end
1241
- * remarks?: string[]
1242
- * // [items] start
1243
- * // [items] end
1244
- * tagsState?: Array<{
1245
- * key?: string
1246
- * // [items] start
1247
- * // [items] end
1248
- * annotationsState?: Array<{
1249
- * value?: string
1250
- * actor?: string
1251
- * timestamp?: string
1252
- * }>
1253
- * }>
1254
- * mainSymptom?: string
1255
- * }>
1256
- * number?: number
1257
- * sort?: {
1258
- * empty?: boolean
1259
- * sorted?: boolean
1260
- * unsorted?: boolean
1261
- * }
1262
- * first?: boolean
1263
- * last?: boolean
1264
- * numberOfElements?: number
1265
- * pageable?: {
1266
- * offset?: number
1267
- * sort?: {
1268
- * empty?: boolean
1269
- * sorted?: boolean
1270
- * unsorted?: boolean
1271
- * }
1272
- * pageSize?: number
1273
- * paged?: boolean
1274
- * pageNumber?: number
1275
- * unpaged?: boolean
1276
- * }
1277
- * empty?: boolean
1278
- * }
1279
- * ```
1280
- */
1281
- queryPatientState<
1282
- Config extends Alova2MethodConfig<PagePatientState> & {
1283
- params: {
1284
- id?: string;
1285
- doctorId?: string;
1286
- name?: string;
1287
- gender?: string;
1288
- identity?: string;
1289
- pageSize: number;
1290
- page: number;
1291
- phoneNumber?: string;
1292
- startTime?: string;
1293
- endTime?: string;
1294
- sort?: string;
1295
- };
1296
- },
1297
- >(
1298
- config: Config,
1299
- ): Alova2Method<PagePatientState, 'patientStateRestful.queryPatientState', Config>;
1300
- /**
1301
- * ---
1302
- *
1303
- * [POST]
1304
- *
1305
- * **path:** /患者/服务
1306
- *
1307
- * ---
1308
- *
1309
- * **RequestBody**
1310
- * ```ts
1311
- * type RequestBody = {
1312
- * id?: string
1313
- * doctorId?: string
1314
- * name?: string
1315
- * createdTimestamp?: string
1316
- * updatedTimestamp?: string
1317
- * identity?: string
1318
- * gender?: string
1319
- * phoneNumber?: string
1320
- * birthdate?: string
1321
- * // [items] start
1322
- * // [items] end
1323
- * remarks?: string[]
1324
- * // [items] start
1325
- * // [items] end
1326
- * tagsState?: Array<{
1327
- * key?: string
1328
- * // [items] start
1329
- * // [items] end
1330
- * annotationsState?: Array<{
1331
- * value?: string
1332
- * actor?: string
1333
- * timestamp?: string
1334
- * }>
1335
- * }>
1336
- * mainSymptom?: string
1337
- * }
1338
- * ```
1339
- *
1340
- * ---
1341
- *
1342
- * **Response**
1343
- * ```ts
1344
- * type Response = {
1345
- * id?: string
1346
- * doctorId?: string
1347
- * name?: string
1348
- * createdTimestamp?: string
1349
- * updatedTimestamp?: string
1350
- * identity?: string
1351
- * gender?: string
1352
- * phoneNumber?: string
1353
- * birthdate?: string
1354
- * // [items] start
1355
- * // [items] end
1356
- * remarks?: string[]
1357
- * // [items] start
1358
- * // [items] end
1359
- * tagsState?: Array<{
1360
- * key?: string
1361
- * // [items] start
1362
- * // [items] end
1363
- * annotationsState?: Array<{
1364
- * value?: string
1365
- * actor?: string
1366
- * timestamp?: string
1367
- * }>
1368
- * }>
1369
- * mainSymptom?: string
1370
- * }
1371
- * ```
1372
- */
1373
- postPatientState<
1374
- Config extends Alova2MethodConfig<PatientState> & {
1375
- data: PatientState;
1376
- },
1377
- >(
1378
- config: Config,
1379
- ): Alova2Method<PatientState, 'patientStateRestful.postPatientState', Config>;
1380
- /**
1381
- * ---
1382
- *
1383
- * [POST]
1384
- *
1385
- * **path:** /患者/服务/精确匹配
1386
- *
1387
- * ---
1388
- *
1389
- * **RequestBody**
1390
- * ```ts
1391
- * type RequestBody = {
1392
- * // [items] start
1393
- * // [items] end
1394
- * id?: string[]
1395
- * // [items] start
1396
- * // [items] end
1397
- * doctorId?: string[]
1398
- * // [items] start
1399
- * // [items] end
1400
- * name?: string[]
1401
- * // [items] start
1402
- * // [items] end
1403
- * phoneNumber?: string[]
1404
- * // [items] start
1405
- * // [items] end
1406
- * gender?: string[]
1407
- * // [items] start
1408
- * // [items] end
1409
- * identityNumber?: string[]
1410
- * pageSize?: number
1411
- * page?: number
1412
- * startTime?: number
1413
- * endTime?: number
1414
- * sort?: string
1415
- * }
1416
- * ```
1417
- *
1418
- * ---
1419
- *
1420
- * **Response**
1421
- * ```ts
1422
- * type Response = {
1423
- * totalPages?: number
1424
- * totalElements?: number
1425
- * size?: number
1426
- * // [items] start
1427
- * // [items] end
1428
- * content?: Array<{
1429
- * id?: string
1430
- * doctorId?: string
1431
- * name?: string
1432
- * createdTimestamp?: string
1433
- * updatedTimestamp?: string
1434
- * identity?: string
1435
- * gender?: string
1436
- * phoneNumber?: string
1437
- * birthdate?: string
1438
- * // [items] start
1439
- * // [items] end
1440
- * remarks?: string[]
1441
- * // [items] start
1442
- * // [items] end
1443
- * tagsState?: Array<{
1444
- * key?: string
1445
- * // [items] start
1446
- * // [items] end
1447
- * annotationsState?: Array<{
1448
- * value?: string
1449
- * actor?: string
1450
- * timestamp?: string
1451
- * }>
1452
- * }>
1453
- * mainSymptom?: string
1454
- * }>
1455
- * number?: number
1456
- * sort?: {
1457
- * empty?: boolean
1458
- * sorted?: boolean
1459
- * unsorted?: boolean
1460
- * }
1461
- * first?: boolean
1462
- * last?: boolean
1463
- * numberOfElements?: number
1464
- * pageable?: {
1465
- * offset?: number
1466
- * sort?: {
1467
- * empty?: boolean
1468
- * sorted?: boolean
1469
- * unsorted?: boolean
1470
- * }
1471
- * pageSize?: number
1472
- * paged?: boolean
1473
- * pageNumber?: number
1474
- * unpaged?: boolean
1475
- * }
1476
- * empty?: boolean
1477
- * }
1478
- * ```
1479
- */
1480
- queryPatientStateByExactMatch<
1481
- Config extends Alova2MethodConfig<PagePatientState> & {
1482
- data: QueryPatientStateByExactMatchRequest;
1483
- },
1484
- >(
1485
- config: Config,
1486
- ): Alova2Method<
1487
- PagePatientState,
1488
- 'patientStateRestful.queryPatientStateByExactMatch',
1489
- Config
1490
- >;
1491
- };
1492
- metricRestful: {
1493
- /**
1494
- * ---
1495
- *
1496
- * [GET]
1497
- *
1498
- * **path:** /患者/服务/统计/患者/总数
1499
- *
1500
- * ---
1501
- *
1502
- * **Response**
1503
- * ```ts
1504
- * type Response = number
1505
- * ```
1506
- */
1507
- totalOfPatient<Config extends Alova2MethodConfig<number>>(
1508
- config?: Config,
1509
- ): Alova2Method<number, 'metricRestful.totalOfPatient', Config>;
1510
- /**
1511
- * ---
1512
- *
1513
- * [GET]
1514
- *
1515
- * **path:** /患者/服务/统计/患者/性别/分布
1516
- *
1517
- * ---
1518
- *
1519
- * **Response**
1520
- * ```ts
1521
- * type Response = Array<{
1522
- * age?: number
1523
- * count?: number
1524
- * }>
1525
- * ```
1526
- */
1527
- ageDistributeOfPatient<Config extends Alova2MethodConfig<AgeDistribute[]>>(
1528
- config?: Config,
1529
- ): Alova2Method<AgeDistribute[], 'metricRestful.ageDistributeOfPatient', Config>;
1530
- /**
1531
- * ---
1532
- *
1533
- * [GET]
1534
- *
1535
- * **path:** /患者/服务/统计/患者/年龄/分布
1536
- *
1537
- * ---
1538
- *
1539
- * **Response**
1540
- * ```ts
1541
- * type Response = Array<{
1542
- * gender?: string
1543
- * count?: number
1544
- * }>
1545
- * ```
1546
- */
1547
- genderDistributeOfPatient<Config extends Alova2MethodConfig<GenderDistribute[]>>(
1548
- config?: Config,
1549
- ): Alova2Method<GenderDistribute[], 'metricRestful.genderDistributeOfPatient', Config>;
1550
- /**
1551
- * ---
1552
- *
1553
- * [GET]
1554
- *
1555
- * **path:** /患者/服务/统计/患者/分布
1556
- *
1557
- * ---
1558
- *
1559
- * **Response**
1560
- * ```ts
1561
- * type Response = Array<{
1562
- * date?: string
1563
- * count?: number
1564
- * }>
1565
- * ```
1566
- */
1567
- dateDistributeOfPatient<Config extends Alova2MethodConfig<DateDistribute[]>>(
1568
- config?: Config,
1569
- ): Alova2Method<DateDistribute[], 'metricRestful.dateDistributeOfPatient', Config>;
1570
- /**
1571
- * ---
1572
- *
1573
- * [GET]
1574
- *
1575
- * **path:** /患者/服务/统计/患者/今日
1576
- *
1577
- * ---
1578
- *
1579
- * **Response**
1580
- * ```ts
1581
- * type Response = number
1582
- * ```
1583
- */
1584
- totalOfPatientByToday<Config extends Alova2MethodConfig<number>>(
1585
- config?: Config,
1586
- ): Alova2Method<number, 'metricRestful.totalOfPatientByToday', Config>;
1587
- /**
1588
- * ---
1589
- *
1590
- * [GET]
1591
- *
1592
- * **path:** /患者/服务/统计/元/日期
1593
- *
1594
- * ---
1595
- *
1596
- * **Query Parameters**
1597
- * ```ts
1598
- * type QueryParameters = {
1599
- * type: string
1600
- * }
1601
- * ```
1602
- *
1603
- * ---
1604
- *
1605
- * **Response**
1606
- * ```ts
1607
- * type Response = Array<{
1608
- * date?: string
1609
- * count?: number
1610
- * }>
1611
- * ```
1612
- */
1613
- datesOfMeta<
1614
- Config extends Alova2MethodConfig<DateDistribute[]> & {
1615
- params: {
1616
- type: string;
1617
- };
1618
- },
1619
- >(
1620
- config: Config,
1621
- ): Alova2Method<DateDistribute[], 'metricRestful.datesOfMeta', Config>;
1622
- /**
1623
- * ---
1624
- *
1625
- * [GET]
1626
- *
1627
- * **path:** /患者/服务/统计/元/总数
1628
- *
1629
- * ---
1630
- *
1631
- * **Query Parameters**
1632
- * ```ts
1633
- * type QueryParameters = {
1634
- * type: string
1635
- * }
1636
- * ```
1637
- *
1638
- * ---
1639
- *
1640
- * **Response**
1641
- * ```ts
1642
- * type Response = number
1643
- * ```
1644
- */
1645
- totalOfMeta<
1646
- Config extends Alova2MethodConfig<number> & {
1647
- params: {
1648
- type: string;
1649
- };
1650
- },
1651
- >(
1652
- config: Config,
1653
- ): Alova2Method<number, 'metricRestful.totalOfMeta', Config>;
1654
- /**
1655
- * ---
1656
- *
1657
- * [GET]
1658
- *
1659
- * **path:** /患者/服务/统计/元/今日
1660
- *
1661
- * ---
1662
- *
1663
- * **Query Parameters**
1664
- * ```ts
1665
- * type QueryParameters = {
1666
- * type: string
1667
- * }
1668
- * ```
1669
- *
1670
- * ---
1671
- *
1672
- * **Response**
1673
- * ```ts
1674
- * type Response = number
1675
- * ```
1676
- */
1677
- totalOfMetaByToday<
1678
- Config extends Alova2MethodConfig<number> & {
1679
- params: {
1680
- type: string;
1681
- };
1682
- },
1683
- >(
1684
- config: Config,
1685
- ): Alova2Method<number, 'metricRestful.totalOfMetaByToday', Config>;
1686
- };
1687
- }
1688
-
1689
- var patientApi: patientApi;
1690
- }