web-core-tcm 0.0.23 → 0.0.24

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