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,1248 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * OpenAPI definition - version v0
5
- *
6
- *
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 MetaState {
115
- id?: string;
116
- ownerState?: PatientState;
117
- type?: string;
118
- tagsState?: TagState[];
119
- createdTimestamp?: string;
120
- updatedTimestamp?: string;
121
- }
122
- export interface DoctorState {
123
- id?: string;
124
- name?: string;
125
- createdTimestamp?: string;
126
- updatedTimestamp?: string;
127
- gender?: string;
128
- identityNumber?: string;
129
- phoneNumber?: string;
130
- birthdate?: string;
131
- }
132
- export interface CheckState {
133
- id?: string;
134
- metasState?: MetaState[];
135
- prescriptionsState?: string;
136
- diagnosis?: string;
137
- doctorState?: DoctorState;
138
- patientState?: PatientState;
139
- paymentType?: string;
140
- outpatientType?: string;
141
- createdTimestamp?: string;
142
- updatedTimestamp?: string;
143
- tagsState?: TagState[];
144
- prescriptionPaymentStatus?: number;
145
- outboundStatus?: number;
146
- }
147
- export interface DateDistribute {
148
- date?: string;
149
- count?: number;
150
- }
151
- export interface GenderDistribute {
152
- gender?: string;
153
- count?: number;
154
- }
155
- export interface AgeDistribute {
156
- age?: number;
157
- count?: number;
158
- }
159
- export interface SortObject {
160
- empty?: boolean;
161
- sorted?: boolean;
162
- unsorted?: boolean;
163
- }
164
- export interface PageableObject {
165
- offset?: number;
166
- sort?: SortObject;
167
- pageSize?: number;
168
- paged?: boolean;
169
- pageNumber?: number;
170
- unpaged?: boolean;
171
- }
172
- export interface PageCheckState {
173
- totalPages?: number;
174
- totalElements?: number;
175
- size?: number;
176
- content?: CheckState[];
177
- number?: number;
178
- sort?: SortObject;
179
- first?: boolean;
180
- last?: boolean;
181
- numberOfElements?: number;
182
- pageable?: PageableObject;
183
- empty?: boolean;
184
- }
185
- export interface PaymentState {
186
- id?: string;
187
- prescription?: string;
188
- doctorId?: string;
189
- patientId?: string;
190
- patientName?: string;
191
- patientPhone?: string;
192
- patientGender?: string;
193
- createdTimestamp?: number;
194
- updatedTimestamp?: number;
195
- prescriptionPaymentStatus?: number;
196
- outboundStatus?: number;
197
- }
198
- export interface PagePaymentState {
199
- totalPages?: number;
200
- totalElements?: number;
201
- size?: number;
202
- content?: PaymentState[];
203
- number?: number;
204
- sort?: SortObject;
205
- first?: boolean;
206
- last?: boolean;
207
- numberOfElements?: number;
208
- pageable?: PageableObject;
209
- empty?: boolean;
210
- }
211
- declare global {
212
- interface checkApi {
213
- checkStateRestful: {
214
- /**
215
- * ---
216
- *
217
- * [GET]
218
- *
219
- * **path:** /病历/服务/{id}
220
- *
221
- * ---
222
- *
223
- * **Path Parameters**
224
- * ```ts
225
- * type PathParameters = {
226
- * id: string
227
- * }
228
- * ```
229
- *
230
- * ---
231
- *
232
- * **Response**
233
- * ```ts
234
- * type Response = {
235
- * id?: string
236
- * // [items] start
237
- * // [items] end
238
- * metasState?: Array<{
239
- * id?: string
240
- * ownerState?: {
241
- * id?: string
242
- * doctorId?: string
243
- * name?: string
244
- * createdTimestamp?: string
245
- * updatedTimestamp?: string
246
- * identity?: string
247
- * gender?: string
248
- * phoneNumber?: string
249
- * birthdate?: string
250
- * // [items] start
251
- * // [items] end
252
- * remarks?: string[]
253
- * // [items] start
254
- * // [items] end
255
- * tagsState?: Array<{
256
- * key?: string
257
- * // [items] start
258
- * // [items] end
259
- * annotationsState?: Array<{
260
- * value?: string
261
- * actor?: string
262
- * timestamp?: string
263
- * }>
264
- * }>
265
- * mainSymptom?: string
266
- * }
267
- * type?: string
268
- * // [items] start
269
- * // [items] end
270
- * tagsState?: Array<{
271
- * key?: string
272
- * // [items] start
273
- * // [items] end
274
- * annotationsState?: Array<{
275
- * value?: string
276
- * actor?: string
277
- * timestamp?: string
278
- * }>
279
- * }>
280
- * createdTimestamp?: string
281
- * updatedTimestamp?: string
282
- * }>
283
- * prescriptionsState?: string
284
- * diagnosis?: string
285
- * doctorState?: {
286
- * id?: string
287
- * name?: string
288
- * createdTimestamp?: string
289
- * updatedTimestamp?: string
290
- * gender?: string
291
- * identityNumber?: string
292
- * phoneNumber?: string
293
- * birthdate?: string
294
- * }
295
- * patientState?: {
296
- * id?: string
297
- * doctorId?: string
298
- * name?: string
299
- * createdTimestamp?: string
300
- * updatedTimestamp?: string
301
- * identity?: string
302
- * gender?: string
303
- * phoneNumber?: string
304
- * birthdate?: string
305
- * // [items] start
306
- * // [items] end
307
- * remarks?: string[]
308
- * // [items] start
309
- * // [items] end
310
- * tagsState?: Array<{
311
- * key?: string
312
- * // [items] start
313
- * // [items] end
314
- * annotationsState?: Array<{
315
- * value?: string
316
- * actor?: string
317
- * timestamp?: string
318
- * }>
319
- * }>
320
- * mainSymptom?: string
321
- * }
322
- * paymentType?: string
323
- * outpatientType?: string
324
- * createdTimestamp?: string
325
- * updatedTimestamp?: string
326
- * // [items] start
327
- * // [items] end
328
- * tagsState?: Array<{
329
- * key?: string
330
- * // [items] start
331
- * // [items] end
332
- * annotationsState?: Array<{
333
- * value?: string
334
- * actor?: string
335
- * timestamp?: string
336
- * }>
337
- * }>
338
- * prescriptionPaymentStatus?: number
339
- * outboundStatus?: number
340
- * }
341
- * ```
342
- */
343
- getCheckState<
344
- Config extends Alova2MethodConfig<CheckState> & {
345
- pathParams: {
346
- id: string;
347
- };
348
- }
349
- >(
350
- config: Config
351
- ): Alova2Method<CheckState, 'checkStateRestful.getCheckState', Config>;
352
- /**
353
- * ---
354
- *
355
- * [PUT]
356
- *
357
- * **path:** /病历/服务/{id}
358
- *
359
- * ---
360
- *
361
- * **Path Parameters**
362
- * ```ts
363
- * type PathParameters = {
364
- * id: string
365
- * }
366
- * ```
367
- *
368
- * ---
369
- *
370
- * **RequestBody**
371
- * ```ts
372
- * type RequestBody = {
373
- * id?: string
374
- * // [items] start
375
- * // [items] end
376
- * metasState?: Array<{
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
- * prescriptionsState?: string
422
- * diagnosis?: string
423
- * doctorState?: {
424
- * id?: string
425
- * name?: string
426
- * createdTimestamp?: string
427
- * updatedTimestamp?: string
428
- * gender?: string
429
- * identityNumber?: string
430
- * phoneNumber?: string
431
- * birthdate?: string
432
- * }
433
- * patientState?: {
434
- * id?: string
435
- * doctorId?: string
436
- * name?: string
437
- * createdTimestamp?: string
438
- * updatedTimestamp?: string
439
- * identity?: string
440
- * gender?: string
441
- * phoneNumber?: string
442
- * birthdate?: string
443
- * // [items] start
444
- * // [items] end
445
- * remarks?: string[]
446
- * // [items] start
447
- * // [items] end
448
- * tagsState?: Array<{
449
- * key?: string
450
- * // [items] start
451
- * // [items] end
452
- * annotationsState?: Array<{
453
- * value?: string
454
- * actor?: string
455
- * timestamp?: string
456
- * }>
457
- * }>
458
- * mainSymptom?: string
459
- * }
460
- * paymentType?: string
461
- * outpatientType?: string
462
- * createdTimestamp?: string
463
- * updatedTimestamp?: string
464
- * // [items] start
465
- * // [items] end
466
- * tagsState?: Array<{
467
- * key?: string
468
- * // [items] start
469
- * // [items] end
470
- * annotationsState?: Array<{
471
- * value?: string
472
- * actor?: string
473
- * timestamp?: string
474
- * }>
475
- * }>
476
- * prescriptionPaymentStatus?: number
477
- * outboundStatus?: number
478
- * }
479
- * ```
480
- *
481
- * ---
482
- *
483
- * **Response**
484
- * ```ts
485
- * type Response = {
486
- * id?: string
487
- * // [items] start
488
- * // [items] end
489
- * metasState?: Array<{
490
- * id?: string
491
- * ownerState?: {
492
- * id?: string
493
- * doctorId?: string
494
- * name?: string
495
- * createdTimestamp?: string
496
- * updatedTimestamp?: string
497
- * identity?: string
498
- * gender?: string
499
- * phoneNumber?: string
500
- * birthdate?: string
501
- * // [items] start
502
- * // [items] end
503
- * remarks?: string[]
504
- * // [items] start
505
- * // [items] end
506
- * tagsState?: Array<{
507
- * key?: string
508
- * // [items] start
509
- * // [items] end
510
- * annotationsState?: Array<{
511
- * value?: string
512
- * actor?: string
513
- * timestamp?: string
514
- * }>
515
- * }>
516
- * mainSymptom?: string
517
- * }
518
- * type?: string
519
- * // [items] start
520
- * // [items] end
521
- * tagsState?: Array<{
522
- * key?: string
523
- * // [items] start
524
- * // [items] end
525
- * annotationsState?: Array<{
526
- * value?: string
527
- * actor?: string
528
- * timestamp?: string
529
- * }>
530
- * }>
531
- * createdTimestamp?: string
532
- * updatedTimestamp?: string
533
- * }>
534
- * prescriptionsState?: string
535
- * diagnosis?: string
536
- * doctorState?: {
537
- * id?: string
538
- * name?: string
539
- * createdTimestamp?: string
540
- * updatedTimestamp?: string
541
- * gender?: string
542
- * identityNumber?: string
543
- * phoneNumber?: string
544
- * birthdate?: string
545
- * }
546
- * patientState?: {
547
- * id?: string
548
- * doctorId?: string
549
- * name?: string
550
- * createdTimestamp?: string
551
- * updatedTimestamp?: string
552
- * identity?: string
553
- * gender?: string
554
- * phoneNumber?: string
555
- * birthdate?: string
556
- * // [items] start
557
- * // [items] end
558
- * remarks?: string[]
559
- * // [items] start
560
- * // [items] end
561
- * tagsState?: Array<{
562
- * key?: string
563
- * // [items] start
564
- * // [items] end
565
- * annotationsState?: Array<{
566
- * value?: string
567
- * actor?: string
568
- * timestamp?: string
569
- * }>
570
- * }>
571
- * mainSymptom?: string
572
- * }
573
- * paymentType?: string
574
- * outpatientType?: string
575
- * createdTimestamp?: string
576
- * updatedTimestamp?: string
577
- * // [items] start
578
- * // [items] end
579
- * tagsState?: Array<{
580
- * key?: string
581
- * // [items] start
582
- * // [items] end
583
- * annotationsState?: Array<{
584
- * value?: string
585
- * actor?: string
586
- * timestamp?: string
587
- * }>
588
- * }>
589
- * prescriptionPaymentStatus?: number
590
- * outboundStatus?: number
591
- * }
592
- * ```
593
- */
594
- putCheckState<
595
- Config extends Alova2MethodConfig<CheckState> & {
596
- pathParams: {
597
- id: string;
598
- };
599
- data: CheckState;
600
- }
601
- >(
602
- config: Config
603
- ): Alova2Method<CheckState, 'checkStateRestful.putCheckState', Config>;
604
- /**
605
- * ---
606
- *
607
- * [DELETE]
608
- *
609
- * **path:** /病历/服务/{id}
610
- *
611
- * ---
612
- *
613
- * **Path Parameters**
614
- * ```ts
615
- * type PathParameters = {
616
- * id: string
617
- * }
618
- * ```
619
- *
620
- * ---
621
- *
622
- * **Response**
623
- * ```ts
624
- * type Response = null
625
- * ```
626
- */
627
- deleteCheckState<
628
- Config extends Alova2MethodConfig<null> & {
629
- pathParams: {
630
- id: string;
631
- };
632
- }
633
- >(
634
- config: Config
635
- ): Alova2Method<null, 'checkStateRestful.deleteCheckState', Config>;
636
- /**
637
- * ---
638
- *
639
- * [GET]
640
- *
641
- * **path:** /病历/服务
642
- *
643
- * ---
644
- *
645
- * **Query Parameters**
646
- * ```ts
647
- * type QueryParameters = {
648
- * patientId?: string
649
- * doctorId?: string
650
- * startTime?: string
651
- * endTime?: string
652
- * patientName?: string
653
- * patientGender?: string
654
- * patientPhoneNumber?: string
655
- * pageSize: number
656
- * page: number
657
- * sort: string
658
- * }
659
- * ```
660
- *
661
- * ---
662
- *
663
- * **Response**
664
- * ```ts
665
- * type Response = {
666
- * totalPages?: number
667
- * totalElements?: number
668
- * size?: number
669
- * // [items] start
670
- * // [items] end
671
- * content?: Array<{
672
- * id?: string
673
- * // [items] start
674
- * // [items] end
675
- * metasState?: Array<{
676
- * id?: string
677
- * ownerState?: {
678
- * id?: string
679
- * doctorId?: string
680
- * name?: string
681
- * createdTimestamp?: string
682
- * updatedTimestamp?: string
683
- * identity?: string
684
- * gender?: string
685
- * phoneNumber?: string
686
- * birthdate?: string
687
- * // [items] start
688
- * // [items] end
689
- * remarks?: string[]
690
- * // [items] start
691
- * // [items] end
692
- * tagsState?: Array<{
693
- * key?: string
694
- * // [items] start
695
- * // [items] end
696
- * annotationsState?: Array<{
697
- * value?: string
698
- * actor?: string
699
- * timestamp?: string
700
- * }>
701
- * }>
702
- * mainSymptom?: string
703
- * }
704
- * type?: string
705
- * // [items] start
706
- * // [items] end
707
- * tagsState?: Array<{
708
- * key?: string
709
- * // [items] start
710
- * // [items] end
711
- * annotationsState?: Array<{
712
- * value?: string
713
- * actor?: string
714
- * timestamp?: string
715
- * }>
716
- * }>
717
- * createdTimestamp?: string
718
- * updatedTimestamp?: string
719
- * }>
720
- * prescriptionsState?: string
721
- * diagnosis?: string
722
- * doctorState?: {
723
- * id?: string
724
- * name?: string
725
- * createdTimestamp?: string
726
- * updatedTimestamp?: string
727
- * gender?: string
728
- * identityNumber?: string
729
- * phoneNumber?: string
730
- * birthdate?: string
731
- * }
732
- * patientState?: {
733
- * id?: string
734
- * doctorId?: string
735
- * name?: string
736
- * createdTimestamp?: string
737
- * updatedTimestamp?: string
738
- * identity?: string
739
- * gender?: string
740
- * phoneNumber?: string
741
- * birthdate?: string
742
- * // [items] start
743
- * // [items] end
744
- * remarks?: string[]
745
- * // [items] start
746
- * // [items] end
747
- * tagsState?: Array<{
748
- * key?: string
749
- * // [items] start
750
- * // [items] end
751
- * annotationsState?: Array<{
752
- * value?: string
753
- * actor?: string
754
- * timestamp?: string
755
- * }>
756
- * }>
757
- * mainSymptom?: string
758
- * }
759
- * paymentType?: string
760
- * outpatientType?: string
761
- * createdTimestamp?: string
762
- * updatedTimestamp?: string
763
- * // [items] start
764
- * // [items] end
765
- * tagsState?: Array<{
766
- * key?: string
767
- * // [items] start
768
- * // [items] end
769
- * annotationsState?: Array<{
770
- * value?: string
771
- * actor?: string
772
- * timestamp?: string
773
- * }>
774
- * }>
775
- * prescriptionPaymentStatus?: number
776
- * outboundStatus?: number
777
- * }>
778
- * number?: number
779
- * sort?: {
780
- * empty?: boolean
781
- * sorted?: boolean
782
- * unsorted?: boolean
783
- * }
784
- * first?: boolean
785
- * last?: boolean
786
- * numberOfElements?: number
787
- * pageable?: {
788
- * offset?: number
789
- * sort?: {
790
- * empty?: boolean
791
- * sorted?: boolean
792
- * unsorted?: boolean
793
- * }
794
- * pageSize?: number
795
- * paged?: boolean
796
- * pageNumber?: number
797
- * unpaged?: boolean
798
- * }
799
- * empty?: boolean
800
- * }
801
- * ```
802
- */
803
- queryCheckState<
804
- Config extends Alova2MethodConfig<PageCheckState> & {
805
- params: {
806
- patientId?: string;
807
- doctorId?: string;
808
- startTime?: string;
809
- endTime?: string;
810
- patientName?: string;
811
- patientGender?: string;
812
- patientPhoneNumber?: string;
813
- pageSize: number;
814
- page: number;
815
- sort: string;
816
- };
817
- }
818
- >(
819
- config: Config
820
- ): Alova2Method<PageCheckState, 'checkStateRestful.queryCheckState', Config>;
821
- /**
822
- * ---
823
- *
824
- * [POST]
825
- *
826
- * **path:** /病历/服务
827
- *
828
- * ---
829
- *
830
- * **RequestBody**
831
- * ```ts
832
- * type RequestBody = {
833
- * id?: string
834
- * // [items] start
835
- * // [items] end
836
- * metasState?: Array<{
837
- * id?: string
838
- * ownerState?: {
839
- * id?: string
840
- * doctorId?: string
841
- * name?: string
842
- * createdTimestamp?: string
843
- * updatedTimestamp?: string
844
- * identity?: string
845
- * gender?: string
846
- * phoneNumber?: string
847
- * birthdate?: string
848
- * // [items] start
849
- * // [items] end
850
- * remarks?: string[]
851
- * // [items] start
852
- * // [items] end
853
- * tagsState?: Array<{
854
- * key?: string
855
- * // [items] start
856
- * // [items] end
857
- * annotationsState?: Array<{
858
- * value?: string
859
- * actor?: string
860
- * timestamp?: string
861
- * }>
862
- * }>
863
- * mainSymptom?: string
864
- * }
865
- * type?: string
866
- * // [items] start
867
- * // [items] end
868
- * tagsState?: Array<{
869
- * key?: string
870
- * // [items] start
871
- * // [items] end
872
- * annotationsState?: Array<{
873
- * value?: string
874
- * actor?: string
875
- * timestamp?: string
876
- * }>
877
- * }>
878
- * createdTimestamp?: string
879
- * updatedTimestamp?: string
880
- * }>
881
- * prescriptionsState?: string
882
- * diagnosis?: string
883
- * doctorState?: {
884
- * id?: string
885
- * name?: string
886
- * createdTimestamp?: string
887
- * updatedTimestamp?: string
888
- * gender?: string
889
- * identityNumber?: string
890
- * phoneNumber?: string
891
- * birthdate?: string
892
- * }
893
- * patientState?: {
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
- * paymentType?: string
921
- * outpatientType?: string
922
- * createdTimestamp?: string
923
- * updatedTimestamp?: string
924
- * // [items] start
925
- * // [items] end
926
- * tagsState?: Array<{
927
- * key?: string
928
- * // [items] start
929
- * // [items] end
930
- * annotationsState?: Array<{
931
- * value?: string
932
- * actor?: string
933
- * timestamp?: string
934
- * }>
935
- * }>
936
- * prescriptionPaymentStatus?: number
937
- * outboundStatus?: number
938
- * }
939
- * ```
940
- *
941
- * ---
942
- *
943
- * **Response**
944
- * ```ts
945
- * type Response = {
946
- * id?: string
947
- * // [items] start
948
- * // [items] end
949
- * metasState?: Array<{
950
- * id?: string
951
- * ownerState?: {
952
- * id?: string
953
- * doctorId?: string
954
- * name?: string
955
- * createdTimestamp?: string
956
- * updatedTimestamp?: string
957
- * identity?: string
958
- * gender?: string
959
- * phoneNumber?: string
960
- * birthdate?: string
961
- * // [items] start
962
- * // [items] end
963
- * remarks?: string[]
964
- * // [items] start
965
- * // [items] end
966
- * tagsState?: Array<{
967
- * key?: string
968
- * // [items] start
969
- * // [items] end
970
- * annotationsState?: Array<{
971
- * value?: string
972
- * actor?: string
973
- * timestamp?: string
974
- * }>
975
- * }>
976
- * mainSymptom?: string
977
- * }
978
- * type?: string
979
- * // [items] start
980
- * // [items] end
981
- * tagsState?: Array<{
982
- * key?: string
983
- * // [items] start
984
- * // [items] end
985
- * annotationsState?: Array<{
986
- * value?: string
987
- * actor?: string
988
- * timestamp?: string
989
- * }>
990
- * }>
991
- * createdTimestamp?: string
992
- * updatedTimestamp?: string
993
- * }>
994
- * prescriptionsState?: string
995
- * diagnosis?: string
996
- * doctorState?: {
997
- * id?: string
998
- * name?: string
999
- * createdTimestamp?: string
1000
- * updatedTimestamp?: string
1001
- * gender?: string
1002
- * identityNumber?: string
1003
- * phoneNumber?: string
1004
- * birthdate?: string
1005
- * }
1006
- * patientState?: {
1007
- * id?: string
1008
- * doctorId?: string
1009
- * name?: string
1010
- * createdTimestamp?: string
1011
- * updatedTimestamp?: string
1012
- * identity?: string
1013
- * gender?: string
1014
- * phoneNumber?: string
1015
- * birthdate?: string
1016
- * // [items] start
1017
- * // [items] end
1018
- * remarks?: string[]
1019
- * // [items] start
1020
- * // [items] end
1021
- * tagsState?: Array<{
1022
- * key?: string
1023
- * // [items] start
1024
- * // [items] end
1025
- * annotationsState?: Array<{
1026
- * value?: string
1027
- * actor?: string
1028
- * timestamp?: string
1029
- * }>
1030
- * }>
1031
- * mainSymptom?: string
1032
- * }
1033
- * paymentType?: string
1034
- * outpatientType?: string
1035
- * createdTimestamp?: string
1036
- * updatedTimestamp?: string
1037
- * // [items] start
1038
- * // [items] end
1039
- * tagsState?: Array<{
1040
- * key?: string
1041
- * // [items] start
1042
- * // [items] end
1043
- * annotationsState?: Array<{
1044
- * value?: string
1045
- * actor?: string
1046
- * timestamp?: string
1047
- * }>
1048
- * }>
1049
- * prescriptionPaymentStatus?: number
1050
- * outboundStatus?: number
1051
- * }
1052
- * ```
1053
- */
1054
- postCheckState<
1055
- Config extends Alova2MethodConfig<CheckState> & {
1056
- data: CheckState;
1057
- }
1058
- >(
1059
- config: Config
1060
- ): Alova2Method<CheckState, 'checkStateRestful.postCheckState', Config>;
1061
- /**
1062
- * ---
1063
- *
1064
- * [GET]
1065
- *
1066
- * **path:** /病历/服务/药方/支付信息
1067
- *
1068
- * ---
1069
- *
1070
- * **Query Parameters**
1071
- * ```ts
1072
- * type QueryParameters = {
1073
- * doctorId?: string
1074
- * patientId?: string
1075
- * prescriptionPaymentStatus?: number
1076
- * outboundStatus?: number
1077
- * patientName?: string
1078
- * patientGender?: string
1079
- * patientPhoneNumber?: string
1080
- * pageSize?: number
1081
- * page?: number
1082
- * }
1083
- * ```
1084
- *
1085
- * ---
1086
- *
1087
- * **Response**
1088
- * ```ts
1089
- * type Response = {
1090
- * totalPages?: number
1091
- * totalElements?: number
1092
- * size?: number
1093
- * // [items] start
1094
- * // [items] end
1095
- * content?: Array<{
1096
- * id?: string
1097
- * prescription?: string
1098
- * doctorId?: string
1099
- * patientId?: string
1100
- * patientName?: string
1101
- * patientPhone?: string
1102
- * patientGender?: string
1103
- * createdTimestamp?: number
1104
- * updatedTimestamp?: number
1105
- * prescriptionPaymentStatus?: number
1106
- * outboundStatus?: number
1107
- * }>
1108
- * number?: number
1109
- * sort?: {
1110
- * empty?: boolean
1111
- * sorted?: boolean
1112
- * unsorted?: boolean
1113
- * }
1114
- * first?: boolean
1115
- * last?: boolean
1116
- * numberOfElements?: number
1117
- * pageable?: {
1118
- * offset?: number
1119
- * sort?: {
1120
- * empty?: boolean
1121
- * sorted?: boolean
1122
- * unsorted?: boolean
1123
- * }
1124
- * pageSize?: number
1125
- * paged?: boolean
1126
- * pageNumber?: number
1127
- * unpaged?: boolean
1128
- * }
1129
- * empty?: boolean
1130
- * }
1131
- * ```
1132
- */
1133
- queryPaymentState<
1134
- Config extends Alova2MethodConfig<PagePaymentState> & {
1135
- params: {
1136
- doctorId?: string;
1137
- patientId?: string;
1138
- prescriptionPaymentStatus?: number;
1139
- outboundStatus?: number;
1140
- patientName?: string;
1141
- patientGender?: string;
1142
- patientPhoneNumber?: string;
1143
- pageSize?: number;
1144
- page?: number;
1145
- };
1146
- }
1147
- >(
1148
- config: Config
1149
- ): Alova2Method<PagePaymentState, 'checkStateRestful.queryPaymentState', Config>;
1150
- /**
1151
- * ---
1152
- *
1153
- * [GET]
1154
- *
1155
- * **path:** /病历/服务/统计/病历/日期
1156
- *
1157
- * ---
1158
- *
1159
- * **Response**
1160
- * ```ts
1161
- * type Response = Array<{
1162
- * date?: string
1163
- * count?: number
1164
- * }>
1165
- * ```
1166
- */
1167
- datesOfCheckState<Config extends Alova2MethodConfig<DateDistribute[]>>(
1168
- config?: Config
1169
- ): Alova2Method<DateDistribute[], 'checkStateRestful.datesOfCheckState', Config>;
1170
- /**
1171
- * ---
1172
- *
1173
- * [GET]
1174
- *
1175
- * **path:** /病历/服务/统计/病历/总数
1176
- *
1177
- * ---
1178
- *
1179
- * **Response**
1180
- * ```ts
1181
- * type Response = number
1182
- * ```
1183
- */
1184
- totalOfCheckState<Config extends Alova2MethodConfig<number>>(
1185
- config?: Config
1186
- ): Alova2Method<number, 'checkStateRestful.totalOfCheckState', Config>;
1187
- /**
1188
- * ---
1189
- *
1190
- * [GET]
1191
- *
1192
- * **path:** /病历/服务/统计/病历/性别/分布
1193
- *
1194
- * ---
1195
- *
1196
- * **Response**
1197
- * ```ts
1198
- * type Response = Array<{
1199
- * gender?: string
1200
- * count?: number
1201
- * }>
1202
- * ```
1203
- */
1204
- genderDistributeOfCheckState<Config extends Alova2MethodConfig<GenderDistribute[]>>(
1205
- config?: Config
1206
- ): Alova2Method<GenderDistribute[], 'checkStateRestful.genderDistributeOfCheckState', Config>;
1207
- /**
1208
- * ---
1209
- *
1210
- * [GET]
1211
- *
1212
- * **path:** /病历/服务/统计/病历/年龄/分布
1213
- *
1214
- * ---
1215
- *
1216
- * **Response**
1217
- * ```ts
1218
- * type Response = Array<{
1219
- * age?: number
1220
- * count?: number
1221
- * }>
1222
- * ```
1223
- */
1224
- ageDistributeOfCheckState<Config extends Alova2MethodConfig<AgeDistribute[]>>(
1225
- config?: Config
1226
- ): Alova2Method<AgeDistribute[], 'checkStateRestful.ageDistributeOfCheckState', Config>;
1227
- /**
1228
- * ---
1229
- *
1230
- * [GET]
1231
- *
1232
- * **path:** /病历/服务/统计/病历/今日
1233
- *
1234
- * ---
1235
- *
1236
- * **Response**
1237
- * ```ts
1238
- * type Response = number
1239
- * ```
1240
- */
1241
- totalOfCheckByTodayState<Config extends Alova2MethodConfig<number>>(
1242
- config?: Config
1243
- ): Alova2Method<number, 'checkStateRestful.totalOfCheckByTodayState', Config>;
1244
- };
1245
- }
1246
-
1247
- var checkApi: checkApi;
1248
- }