@aitmed/aitmed-document-template 1.71.0 → 1.77.0
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.
- package/dist/config/icon.d.ts +10 -10
- package/dist/config/templateMobile.d.ts +73 -73
- package/dist/config/templatePS.d.ts +74 -73
- package/dist/index.d.ts +14 -14
- package/dist/interface.d.ts +64 -64
- package/dist/main.d.ts +1 -1
- package/dist/my-component-library.es.js +4424 -4413
- package/dist/my-component-library.umd.js +42 -42
- package/dist/store/index.d.ts +329 -329
- package/dist/style.css +1 -1
- package/dist/utils/base64.d.ts +9 -9
- package/dist/utils/image.d.ts +11 -11
- package/dist/utils/isMobile.d.ts +1 -1
- package/dist/utils/role.config.d.ts +6 -6
- package/dist/utils/textSharp.d.ts +5 -5
- package/dist/utils/time.d.ts +2 -2
- package/dist/utils/type.config.d.ts +6 -6
- package/dist/utils/utils.d.ts +5 -5
- package/package.json +82 -82
package/dist/store/index.d.ts
CHANGED
|
@@ -1,329 +1,329 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import aitmedTemplateRole from '../utils/role.config';
|
|
3
|
-
import aitmedTemplateType from '../utils/type.config';
|
|
4
|
-
interface DOCUMENT_OPTONS {
|
|
5
|
-
data?: Ref<Record<string, any>>;
|
|
6
|
-
ecos?: any;
|
|
7
|
-
role?: aitmedTemplateRole;
|
|
8
|
-
docType?: aitmedTemplateType;
|
|
9
|
-
info?: Info;
|
|
10
|
-
relatedDom?: HTMLElement | null;
|
|
11
|
-
}
|
|
12
|
-
interface SIGNATURE_PAD_OPTIONS {
|
|
13
|
-
dataKey: string;
|
|
14
|
-
type: aitmedTemplateRole;
|
|
15
|
-
isGuardian: boolean;
|
|
16
|
-
formData: Record<string, any>;
|
|
17
|
-
timeKey?: string;
|
|
18
|
-
value?: string;
|
|
19
|
-
}
|
|
20
|
-
interface DATE_PICKER_OPTIONS {
|
|
21
|
-
dataKey: string;
|
|
22
|
-
formData: Record<string, any>;
|
|
23
|
-
}
|
|
24
|
-
interface IMAGE_EDITOR_OPTIONS {
|
|
25
|
-
dataKey: string;
|
|
26
|
-
formData: Record<string, any>;
|
|
27
|
-
src: string;
|
|
28
|
-
markable: boolean;
|
|
29
|
-
}
|
|
30
|
-
interface RECOMMEND_DIAGNOSIS_OPTIONS {
|
|
31
|
-
formData: Record<string, any>;
|
|
32
|
-
}
|
|
33
|
-
declare type RECOMMEND_DIAGNOSIS_LIST = Array<{
|
|
34
|
-
isChecked: boolean;
|
|
35
|
-
code: string;
|
|
36
|
-
description: string;
|
|
37
|
-
comment: string;
|
|
38
|
-
}>;
|
|
39
|
-
interface Info {
|
|
40
|
-
rootNotebookID: string;
|
|
41
|
-
providerSignatureInfo?: {
|
|
42
|
-
eid: string;
|
|
43
|
-
vid: string;
|
|
44
|
-
fid: string;
|
|
45
|
-
};
|
|
46
|
-
patientSignatureInfo?: {
|
|
47
|
-
eid: string;
|
|
48
|
-
vid: string;
|
|
49
|
-
fid: string;
|
|
50
|
-
};
|
|
51
|
-
attorneySignatureInfo?: {
|
|
52
|
-
eid: string;
|
|
53
|
-
vid: string;
|
|
54
|
-
fid: string;
|
|
55
|
-
};
|
|
56
|
-
facilityId: string;
|
|
57
|
-
locationIds: Array<string>;
|
|
58
|
-
patientId: string;
|
|
59
|
-
}
|
|
60
|
-
export declare const useDocumentTemplateStore: import("pinia").StoreDefinition<"documentTempalte", import("pinia")._UnwrapAll<Pick<{
|
|
61
|
-
setDocumentTemplate: ({ ecos, role, docType, info, relatedDom }: Omit<DOCUMENT_OPTONS, "data">) => void;
|
|
62
|
-
getDocumentTemplate: () => {
|
|
63
|
-
ecos?: any;
|
|
64
|
-
role?: aitmedTemplateRole | undefined;
|
|
65
|
-
docType?: aitmedTemplateType | undefined;
|
|
66
|
-
info?: {
|
|
67
|
-
rootNotebookID: string;
|
|
68
|
-
providerSignatureInfo?: {
|
|
69
|
-
eid: string;
|
|
70
|
-
vid: string;
|
|
71
|
-
fid: string;
|
|
72
|
-
} | undefined;
|
|
73
|
-
patientSignatureInfo?: {
|
|
74
|
-
eid: string;
|
|
75
|
-
vid: string;
|
|
76
|
-
fid: string;
|
|
77
|
-
} | undefined;
|
|
78
|
-
attorneySignatureInfo?: {
|
|
79
|
-
eid: string;
|
|
80
|
-
vid: string;
|
|
81
|
-
fid: string;
|
|
82
|
-
} | undefined;
|
|
83
|
-
facilityId: string;
|
|
84
|
-
locationIds: Array<string>;
|
|
85
|
-
patientId: string;
|
|
86
|
-
} | undefined;
|
|
87
|
-
relatedDom?: HTMLElement | null | undefined;
|
|
88
|
-
data: Record<string, any>;
|
|
89
|
-
};
|
|
90
|
-
setFormData: (newData: Record<string, any>) => void;
|
|
91
|
-
documentTemplateData: Ref<Record<string, any>>;
|
|
92
|
-
}, "documentTemplateData">>, Pick<{
|
|
93
|
-
setDocumentTemplate: ({ ecos, role, docType, info, relatedDom }: Omit<DOCUMENT_OPTONS, "data">) => void;
|
|
94
|
-
getDocumentTemplate: () => {
|
|
95
|
-
ecos?: any;
|
|
96
|
-
role?: aitmedTemplateRole | undefined;
|
|
97
|
-
docType?: aitmedTemplateType | undefined;
|
|
98
|
-
info?: {
|
|
99
|
-
rootNotebookID: string;
|
|
100
|
-
providerSignatureInfo?: {
|
|
101
|
-
eid: string;
|
|
102
|
-
vid: string;
|
|
103
|
-
fid: string;
|
|
104
|
-
} | undefined;
|
|
105
|
-
patientSignatureInfo?: {
|
|
106
|
-
eid: string;
|
|
107
|
-
vid: string;
|
|
108
|
-
fid: string;
|
|
109
|
-
} | undefined;
|
|
110
|
-
attorneySignatureInfo?: {
|
|
111
|
-
eid: string;
|
|
112
|
-
vid: string;
|
|
113
|
-
fid: string;
|
|
114
|
-
} | undefined;
|
|
115
|
-
facilityId: string;
|
|
116
|
-
locationIds: Array<string>;
|
|
117
|
-
patientId: string;
|
|
118
|
-
} | undefined;
|
|
119
|
-
relatedDom?: HTMLElement | null | undefined;
|
|
120
|
-
data: Record<string, any>;
|
|
121
|
-
};
|
|
122
|
-
setFormData: (newData: Record<string, any>) => void;
|
|
123
|
-
documentTemplateData: Ref<Record<string, any>>;
|
|
124
|
-
}, never>, Pick<{
|
|
125
|
-
setDocumentTemplate: ({ ecos, role, docType, info, relatedDom }: Omit<DOCUMENT_OPTONS, "data">) => void;
|
|
126
|
-
getDocumentTemplate: () => {
|
|
127
|
-
ecos?: any;
|
|
128
|
-
role?: aitmedTemplateRole | undefined;
|
|
129
|
-
docType?: aitmedTemplateType | undefined;
|
|
130
|
-
info?: {
|
|
131
|
-
rootNotebookID: string;
|
|
132
|
-
providerSignatureInfo?: {
|
|
133
|
-
eid: string;
|
|
134
|
-
vid: string;
|
|
135
|
-
fid: string;
|
|
136
|
-
} | undefined;
|
|
137
|
-
patientSignatureInfo?: {
|
|
138
|
-
eid: string;
|
|
139
|
-
vid: string;
|
|
140
|
-
fid: string;
|
|
141
|
-
} | undefined;
|
|
142
|
-
attorneySignatureInfo?: {
|
|
143
|
-
eid: string;
|
|
144
|
-
vid: string;
|
|
145
|
-
fid: string;
|
|
146
|
-
} | undefined;
|
|
147
|
-
facilityId: string;
|
|
148
|
-
locationIds: Array<string>;
|
|
149
|
-
patientId: string;
|
|
150
|
-
} | undefined;
|
|
151
|
-
relatedDom?: HTMLElement | null | undefined;
|
|
152
|
-
data: Record<string, any>;
|
|
153
|
-
};
|
|
154
|
-
setFormData: (newData: Record<string, any>) => void;
|
|
155
|
-
documentTemplateData: Ref<Record<string, any>>;
|
|
156
|
-
}, "setDocumentTemplate" | "getDocumentTemplate" | "setFormData">>;
|
|
157
|
-
export declare const useCalendarPickerStore: import("pinia").StoreDefinition<"calendarPicker", import("pinia")._UnwrapAll<Pick<{
|
|
158
|
-
getCalendarPciker: () => {
|
|
159
|
-
status: boolean;
|
|
160
|
-
options: {
|
|
161
|
-
dataKey: string;
|
|
162
|
-
formData: Record<string, any>;
|
|
163
|
-
};
|
|
164
|
-
open: (options: DATE_PICKER_OPTIONS) => void;
|
|
165
|
-
close: () => void;
|
|
166
|
-
};
|
|
167
|
-
}, never>>, Pick<{
|
|
168
|
-
getCalendarPciker: () => {
|
|
169
|
-
status: boolean;
|
|
170
|
-
options: {
|
|
171
|
-
dataKey: string;
|
|
172
|
-
formData: Record<string, any>;
|
|
173
|
-
};
|
|
174
|
-
open: (options: DATE_PICKER_OPTIONS) => void;
|
|
175
|
-
close: () => void;
|
|
176
|
-
};
|
|
177
|
-
}, never>, Pick<{
|
|
178
|
-
getCalendarPciker: () => {
|
|
179
|
-
status: boolean;
|
|
180
|
-
options: {
|
|
181
|
-
dataKey: string;
|
|
182
|
-
formData: Record<string, any>;
|
|
183
|
-
};
|
|
184
|
-
open: (options: DATE_PICKER_OPTIONS) => void;
|
|
185
|
-
close: () => void;
|
|
186
|
-
};
|
|
187
|
-
}, "getCalendarPciker">>;
|
|
188
|
-
export declare const useSignaturePadStore: import("pinia").StoreDefinition<"signaturePad", import("pinia")._UnwrapAll<Pick<{
|
|
189
|
-
getSignaturePad: () => {
|
|
190
|
-
status: boolean;
|
|
191
|
-
options: {
|
|
192
|
-
dataKey: string;
|
|
193
|
-
type: aitmedTemplateRole;
|
|
194
|
-
isGuardian: boolean;
|
|
195
|
-
formData: Record<string, any>;
|
|
196
|
-
timeKey?: string | undefined;
|
|
197
|
-
value?: string | undefined;
|
|
198
|
-
};
|
|
199
|
-
confirm: (key: string, saveData: string, docType: number, roleType: aitmedTemplateRole) => Promise<void>;
|
|
200
|
-
open: (options: SIGNATURE_PAD_OPTIONS) => void;
|
|
201
|
-
close: () => void;
|
|
202
|
-
};
|
|
203
|
-
}, never>>, Pick<{
|
|
204
|
-
getSignaturePad: () => {
|
|
205
|
-
status: boolean;
|
|
206
|
-
options: {
|
|
207
|
-
dataKey: string;
|
|
208
|
-
type: aitmedTemplateRole;
|
|
209
|
-
isGuardian: boolean;
|
|
210
|
-
formData: Record<string, any>;
|
|
211
|
-
timeKey?: string | undefined;
|
|
212
|
-
value?: string | undefined;
|
|
213
|
-
};
|
|
214
|
-
confirm: (key: string, saveData: string, docType: number, roleType: aitmedTemplateRole) => Promise<void>;
|
|
215
|
-
open: (options: SIGNATURE_PAD_OPTIONS) => void;
|
|
216
|
-
close: () => void;
|
|
217
|
-
};
|
|
218
|
-
}, never>, Pick<{
|
|
219
|
-
getSignaturePad: () => {
|
|
220
|
-
status: boolean;
|
|
221
|
-
options: {
|
|
222
|
-
dataKey: string;
|
|
223
|
-
type: aitmedTemplateRole;
|
|
224
|
-
isGuardian: boolean;
|
|
225
|
-
formData: Record<string, any>;
|
|
226
|
-
timeKey?: string | undefined;
|
|
227
|
-
value?: string | undefined;
|
|
228
|
-
};
|
|
229
|
-
confirm: (key: string, saveData: string, docType: number, roleType: aitmedTemplateRole) => Promise<void>;
|
|
230
|
-
open: (options: SIGNATURE_PAD_OPTIONS) => void;
|
|
231
|
-
close: () => void;
|
|
232
|
-
};
|
|
233
|
-
}, "getSignaturePad">>;
|
|
234
|
-
export declare const useImageEditorStore: import("pinia").StoreDefinition<"imageEditor", import("pinia")._UnwrapAll<Pick<{
|
|
235
|
-
getImageEditor: () => {
|
|
236
|
-
status: boolean;
|
|
237
|
-
options: {
|
|
238
|
-
dataKey: string;
|
|
239
|
-
formData: Record<string, any>;
|
|
240
|
-
src: string;
|
|
241
|
-
markable: boolean;
|
|
242
|
-
};
|
|
243
|
-
confirm: (key: string, saveData: string, type: string) => Promise<void>;
|
|
244
|
-
open: (options: IMAGE_EDITOR_OPTIONS) => void;
|
|
245
|
-
close: () => void;
|
|
246
|
-
};
|
|
247
|
-
}, never>>, Pick<{
|
|
248
|
-
getImageEditor: () => {
|
|
249
|
-
status: boolean;
|
|
250
|
-
options: {
|
|
251
|
-
dataKey: string;
|
|
252
|
-
formData: Record<string, any>;
|
|
253
|
-
src: string;
|
|
254
|
-
markable: boolean;
|
|
255
|
-
};
|
|
256
|
-
confirm: (key: string, saveData: string, type: string) => Promise<void>;
|
|
257
|
-
open: (options: IMAGE_EDITOR_OPTIONS) => void;
|
|
258
|
-
close: () => void;
|
|
259
|
-
};
|
|
260
|
-
}, never>, Pick<{
|
|
261
|
-
getImageEditor: () => {
|
|
262
|
-
status: boolean;
|
|
263
|
-
options: {
|
|
264
|
-
dataKey: string;
|
|
265
|
-
formData: Record<string, any>;
|
|
266
|
-
src: string;
|
|
267
|
-
markable: boolean;
|
|
268
|
-
};
|
|
269
|
-
confirm: (key: string, saveData: string, type: string) => Promise<void>;
|
|
270
|
-
open: (options: IMAGE_EDITOR_OPTIONS) => void;
|
|
271
|
-
close: () => void;
|
|
272
|
-
};
|
|
273
|
-
}, "getImageEditor">>;
|
|
274
|
-
export declare const useRecommendDiagnosisStore: import("pinia").StoreDefinition<"recommendDiagnosis", import("pinia")._UnwrapAll<Pick<{
|
|
275
|
-
getRecommendDiagnosis: () => {
|
|
276
|
-
status: boolean;
|
|
277
|
-
cache: {
|
|
278
|
-
hasCache: boolean;
|
|
279
|
-
list: {
|
|
280
|
-
isChecked: boolean;
|
|
281
|
-
code: string;
|
|
282
|
-
description: string;
|
|
283
|
-
comment: string;
|
|
284
|
-
}[];
|
|
285
|
-
};
|
|
286
|
-
options: {
|
|
287
|
-
formData: Record<string, any>;
|
|
288
|
-
};
|
|
289
|
-
open: (options: RECOMMEND_DIAGNOSIS_OPTIONS) => void;
|
|
290
|
-
close: () => void;
|
|
291
|
-
};
|
|
292
|
-
}, never>>, Pick<{
|
|
293
|
-
getRecommendDiagnosis: () => {
|
|
294
|
-
status: boolean;
|
|
295
|
-
cache: {
|
|
296
|
-
hasCache: boolean;
|
|
297
|
-
list: {
|
|
298
|
-
isChecked: boolean;
|
|
299
|
-
code: string;
|
|
300
|
-
description: string;
|
|
301
|
-
comment: string;
|
|
302
|
-
}[];
|
|
303
|
-
};
|
|
304
|
-
options: {
|
|
305
|
-
formData: Record<string, any>;
|
|
306
|
-
};
|
|
307
|
-
open: (options: RECOMMEND_DIAGNOSIS_OPTIONS) => void;
|
|
308
|
-
close: () => void;
|
|
309
|
-
};
|
|
310
|
-
}, never>, Pick<{
|
|
311
|
-
getRecommendDiagnosis: () => {
|
|
312
|
-
status: boolean;
|
|
313
|
-
cache: {
|
|
314
|
-
hasCache: boolean;
|
|
315
|
-
list: {
|
|
316
|
-
isChecked: boolean;
|
|
317
|
-
code: string;
|
|
318
|
-
description: string;
|
|
319
|
-
comment: string;
|
|
320
|
-
}[];
|
|
321
|
-
};
|
|
322
|
-
options: {
|
|
323
|
-
formData: Record<string, any>;
|
|
324
|
-
};
|
|
325
|
-
open: (options: RECOMMEND_DIAGNOSIS_OPTIONS) => void;
|
|
326
|
-
close: () => void;
|
|
327
|
-
};
|
|
328
|
-
}, "getRecommendDiagnosis">>;
|
|
329
|
-
export type { SIGNATURE_PAD_OPTIONS, DATE_PICKER_OPTIONS, IMAGE_EDITOR_OPTIONS, RECOMMEND_DIAGNOSIS_OPTIONS, RECOMMEND_DIAGNOSIS_LIST };
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import aitmedTemplateRole from '../utils/role.config';
|
|
3
|
+
import aitmedTemplateType from '../utils/type.config';
|
|
4
|
+
interface DOCUMENT_OPTONS {
|
|
5
|
+
data?: Ref<Record<string, any>>;
|
|
6
|
+
ecos?: any;
|
|
7
|
+
role?: aitmedTemplateRole;
|
|
8
|
+
docType?: aitmedTemplateType;
|
|
9
|
+
info?: Info;
|
|
10
|
+
relatedDom?: HTMLElement | null;
|
|
11
|
+
}
|
|
12
|
+
interface SIGNATURE_PAD_OPTIONS {
|
|
13
|
+
dataKey: string;
|
|
14
|
+
type: aitmedTemplateRole;
|
|
15
|
+
isGuardian: boolean;
|
|
16
|
+
formData: Record<string, any>;
|
|
17
|
+
timeKey?: string;
|
|
18
|
+
value?: string;
|
|
19
|
+
}
|
|
20
|
+
interface DATE_PICKER_OPTIONS {
|
|
21
|
+
dataKey: string;
|
|
22
|
+
formData: Record<string, any>;
|
|
23
|
+
}
|
|
24
|
+
interface IMAGE_EDITOR_OPTIONS {
|
|
25
|
+
dataKey: string;
|
|
26
|
+
formData: Record<string, any>;
|
|
27
|
+
src: string;
|
|
28
|
+
markable: boolean;
|
|
29
|
+
}
|
|
30
|
+
interface RECOMMEND_DIAGNOSIS_OPTIONS {
|
|
31
|
+
formData: Record<string, any>;
|
|
32
|
+
}
|
|
33
|
+
declare type RECOMMEND_DIAGNOSIS_LIST = Array<{
|
|
34
|
+
isChecked: boolean;
|
|
35
|
+
code: string;
|
|
36
|
+
description: string;
|
|
37
|
+
comment: string;
|
|
38
|
+
}>;
|
|
39
|
+
interface Info {
|
|
40
|
+
rootNotebookID: string;
|
|
41
|
+
providerSignatureInfo?: {
|
|
42
|
+
eid: string;
|
|
43
|
+
vid: string;
|
|
44
|
+
fid: string;
|
|
45
|
+
};
|
|
46
|
+
patientSignatureInfo?: {
|
|
47
|
+
eid: string;
|
|
48
|
+
vid: string;
|
|
49
|
+
fid: string;
|
|
50
|
+
};
|
|
51
|
+
attorneySignatureInfo?: {
|
|
52
|
+
eid: string;
|
|
53
|
+
vid: string;
|
|
54
|
+
fid: string;
|
|
55
|
+
};
|
|
56
|
+
facilityId: string;
|
|
57
|
+
locationIds: Array<string>;
|
|
58
|
+
patientId: string;
|
|
59
|
+
}
|
|
60
|
+
export declare const useDocumentTemplateStore: import("pinia").StoreDefinition<"documentTempalte", import("pinia")._UnwrapAll<Pick<{
|
|
61
|
+
setDocumentTemplate: ({ ecos, role, docType, info, relatedDom }: Omit<DOCUMENT_OPTONS, "data">) => void;
|
|
62
|
+
getDocumentTemplate: () => {
|
|
63
|
+
ecos?: any;
|
|
64
|
+
role?: aitmedTemplateRole | undefined;
|
|
65
|
+
docType?: aitmedTemplateType | undefined;
|
|
66
|
+
info?: {
|
|
67
|
+
rootNotebookID: string;
|
|
68
|
+
providerSignatureInfo?: {
|
|
69
|
+
eid: string;
|
|
70
|
+
vid: string;
|
|
71
|
+
fid: string;
|
|
72
|
+
} | undefined;
|
|
73
|
+
patientSignatureInfo?: {
|
|
74
|
+
eid: string;
|
|
75
|
+
vid: string;
|
|
76
|
+
fid: string;
|
|
77
|
+
} | undefined;
|
|
78
|
+
attorneySignatureInfo?: {
|
|
79
|
+
eid: string;
|
|
80
|
+
vid: string;
|
|
81
|
+
fid: string;
|
|
82
|
+
} | undefined;
|
|
83
|
+
facilityId: string;
|
|
84
|
+
locationIds: Array<string>;
|
|
85
|
+
patientId: string;
|
|
86
|
+
} | undefined;
|
|
87
|
+
relatedDom?: HTMLElement | null | undefined;
|
|
88
|
+
data: Record<string, any>;
|
|
89
|
+
};
|
|
90
|
+
setFormData: (newData: Record<string, any>) => void;
|
|
91
|
+
documentTemplateData: Ref<Record<string, any>>;
|
|
92
|
+
}, "documentTemplateData">>, Pick<{
|
|
93
|
+
setDocumentTemplate: ({ ecos, role, docType, info, relatedDom }: Omit<DOCUMENT_OPTONS, "data">) => void;
|
|
94
|
+
getDocumentTemplate: () => {
|
|
95
|
+
ecos?: any;
|
|
96
|
+
role?: aitmedTemplateRole | undefined;
|
|
97
|
+
docType?: aitmedTemplateType | undefined;
|
|
98
|
+
info?: {
|
|
99
|
+
rootNotebookID: string;
|
|
100
|
+
providerSignatureInfo?: {
|
|
101
|
+
eid: string;
|
|
102
|
+
vid: string;
|
|
103
|
+
fid: string;
|
|
104
|
+
} | undefined;
|
|
105
|
+
patientSignatureInfo?: {
|
|
106
|
+
eid: string;
|
|
107
|
+
vid: string;
|
|
108
|
+
fid: string;
|
|
109
|
+
} | undefined;
|
|
110
|
+
attorneySignatureInfo?: {
|
|
111
|
+
eid: string;
|
|
112
|
+
vid: string;
|
|
113
|
+
fid: string;
|
|
114
|
+
} | undefined;
|
|
115
|
+
facilityId: string;
|
|
116
|
+
locationIds: Array<string>;
|
|
117
|
+
patientId: string;
|
|
118
|
+
} | undefined;
|
|
119
|
+
relatedDom?: HTMLElement | null | undefined;
|
|
120
|
+
data: Record<string, any>;
|
|
121
|
+
};
|
|
122
|
+
setFormData: (newData: Record<string, any>) => void;
|
|
123
|
+
documentTemplateData: Ref<Record<string, any>>;
|
|
124
|
+
}, never>, Pick<{
|
|
125
|
+
setDocumentTemplate: ({ ecos, role, docType, info, relatedDom }: Omit<DOCUMENT_OPTONS, "data">) => void;
|
|
126
|
+
getDocumentTemplate: () => {
|
|
127
|
+
ecos?: any;
|
|
128
|
+
role?: aitmedTemplateRole | undefined;
|
|
129
|
+
docType?: aitmedTemplateType | undefined;
|
|
130
|
+
info?: {
|
|
131
|
+
rootNotebookID: string;
|
|
132
|
+
providerSignatureInfo?: {
|
|
133
|
+
eid: string;
|
|
134
|
+
vid: string;
|
|
135
|
+
fid: string;
|
|
136
|
+
} | undefined;
|
|
137
|
+
patientSignatureInfo?: {
|
|
138
|
+
eid: string;
|
|
139
|
+
vid: string;
|
|
140
|
+
fid: string;
|
|
141
|
+
} | undefined;
|
|
142
|
+
attorneySignatureInfo?: {
|
|
143
|
+
eid: string;
|
|
144
|
+
vid: string;
|
|
145
|
+
fid: string;
|
|
146
|
+
} | undefined;
|
|
147
|
+
facilityId: string;
|
|
148
|
+
locationIds: Array<string>;
|
|
149
|
+
patientId: string;
|
|
150
|
+
} | undefined;
|
|
151
|
+
relatedDom?: HTMLElement | null | undefined;
|
|
152
|
+
data: Record<string, any>;
|
|
153
|
+
};
|
|
154
|
+
setFormData: (newData: Record<string, any>) => void;
|
|
155
|
+
documentTemplateData: Ref<Record<string, any>>;
|
|
156
|
+
}, "setDocumentTemplate" | "getDocumentTemplate" | "setFormData">>;
|
|
157
|
+
export declare const useCalendarPickerStore: import("pinia").StoreDefinition<"calendarPicker", import("pinia")._UnwrapAll<Pick<{
|
|
158
|
+
getCalendarPciker: () => {
|
|
159
|
+
status: boolean;
|
|
160
|
+
options: {
|
|
161
|
+
dataKey: string;
|
|
162
|
+
formData: Record<string, any>;
|
|
163
|
+
};
|
|
164
|
+
open: (options: DATE_PICKER_OPTIONS) => void;
|
|
165
|
+
close: () => void;
|
|
166
|
+
};
|
|
167
|
+
}, never>>, Pick<{
|
|
168
|
+
getCalendarPciker: () => {
|
|
169
|
+
status: boolean;
|
|
170
|
+
options: {
|
|
171
|
+
dataKey: string;
|
|
172
|
+
formData: Record<string, any>;
|
|
173
|
+
};
|
|
174
|
+
open: (options: DATE_PICKER_OPTIONS) => void;
|
|
175
|
+
close: () => void;
|
|
176
|
+
};
|
|
177
|
+
}, never>, Pick<{
|
|
178
|
+
getCalendarPciker: () => {
|
|
179
|
+
status: boolean;
|
|
180
|
+
options: {
|
|
181
|
+
dataKey: string;
|
|
182
|
+
formData: Record<string, any>;
|
|
183
|
+
};
|
|
184
|
+
open: (options: DATE_PICKER_OPTIONS) => void;
|
|
185
|
+
close: () => void;
|
|
186
|
+
};
|
|
187
|
+
}, "getCalendarPciker">>;
|
|
188
|
+
export declare const useSignaturePadStore: import("pinia").StoreDefinition<"signaturePad", import("pinia")._UnwrapAll<Pick<{
|
|
189
|
+
getSignaturePad: () => {
|
|
190
|
+
status: boolean;
|
|
191
|
+
options: {
|
|
192
|
+
dataKey: string;
|
|
193
|
+
type: aitmedTemplateRole;
|
|
194
|
+
isGuardian: boolean;
|
|
195
|
+
formData: Record<string, any>;
|
|
196
|
+
timeKey?: string | undefined;
|
|
197
|
+
value?: string | undefined;
|
|
198
|
+
};
|
|
199
|
+
confirm: (key: string, saveData: string, docType: number, roleType: aitmedTemplateRole) => Promise<void>;
|
|
200
|
+
open: (options: SIGNATURE_PAD_OPTIONS) => void;
|
|
201
|
+
close: () => void;
|
|
202
|
+
};
|
|
203
|
+
}, never>>, Pick<{
|
|
204
|
+
getSignaturePad: () => {
|
|
205
|
+
status: boolean;
|
|
206
|
+
options: {
|
|
207
|
+
dataKey: string;
|
|
208
|
+
type: aitmedTemplateRole;
|
|
209
|
+
isGuardian: boolean;
|
|
210
|
+
formData: Record<string, any>;
|
|
211
|
+
timeKey?: string | undefined;
|
|
212
|
+
value?: string | undefined;
|
|
213
|
+
};
|
|
214
|
+
confirm: (key: string, saveData: string, docType: number, roleType: aitmedTemplateRole) => Promise<void>;
|
|
215
|
+
open: (options: SIGNATURE_PAD_OPTIONS) => void;
|
|
216
|
+
close: () => void;
|
|
217
|
+
};
|
|
218
|
+
}, never>, Pick<{
|
|
219
|
+
getSignaturePad: () => {
|
|
220
|
+
status: boolean;
|
|
221
|
+
options: {
|
|
222
|
+
dataKey: string;
|
|
223
|
+
type: aitmedTemplateRole;
|
|
224
|
+
isGuardian: boolean;
|
|
225
|
+
formData: Record<string, any>;
|
|
226
|
+
timeKey?: string | undefined;
|
|
227
|
+
value?: string | undefined;
|
|
228
|
+
};
|
|
229
|
+
confirm: (key: string, saveData: string, docType: number, roleType: aitmedTemplateRole) => Promise<void>;
|
|
230
|
+
open: (options: SIGNATURE_PAD_OPTIONS) => void;
|
|
231
|
+
close: () => void;
|
|
232
|
+
};
|
|
233
|
+
}, "getSignaturePad">>;
|
|
234
|
+
export declare const useImageEditorStore: import("pinia").StoreDefinition<"imageEditor", import("pinia")._UnwrapAll<Pick<{
|
|
235
|
+
getImageEditor: () => {
|
|
236
|
+
status: boolean;
|
|
237
|
+
options: {
|
|
238
|
+
dataKey: string;
|
|
239
|
+
formData: Record<string, any>;
|
|
240
|
+
src: string;
|
|
241
|
+
markable: boolean;
|
|
242
|
+
};
|
|
243
|
+
confirm: (key: string, saveData: string, type: string) => Promise<void>;
|
|
244
|
+
open: (options: IMAGE_EDITOR_OPTIONS) => void;
|
|
245
|
+
close: () => void;
|
|
246
|
+
};
|
|
247
|
+
}, never>>, Pick<{
|
|
248
|
+
getImageEditor: () => {
|
|
249
|
+
status: boolean;
|
|
250
|
+
options: {
|
|
251
|
+
dataKey: string;
|
|
252
|
+
formData: Record<string, any>;
|
|
253
|
+
src: string;
|
|
254
|
+
markable: boolean;
|
|
255
|
+
};
|
|
256
|
+
confirm: (key: string, saveData: string, type: string) => Promise<void>;
|
|
257
|
+
open: (options: IMAGE_EDITOR_OPTIONS) => void;
|
|
258
|
+
close: () => void;
|
|
259
|
+
};
|
|
260
|
+
}, never>, Pick<{
|
|
261
|
+
getImageEditor: () => {
|
|
262
|
+
status: boolean;
|
|
263
|
+
options: {
|
|
264
|
+
dataKey: string;
|
|
265
|
+
formData: Record<string, any>;
|
|
266
|
+
src: string;
|
|
267
|
+
markable: boolean;
|
|
268
|
+
};
|
|
269
|
+
confirm: (key: string, saveData: string, type: string) => Promise<void>;
|
|
270
|
+
open: (options: IMAGE_EDITOR_OPTIONS) => void;
|
|
271
|
+
close: () => void;
|
|
272
|
+
};
|
|
273
|
+
}, "getImageEditor">>;
|
|
274
|
+
export declare const useRecommendDiagnosisStore: import("pinia").StoreDefinition<"recommendDiagnosis", import("pinia")._UnwrapAll<Pick<{
|
|
275
|
+
getRecommendDiagnosis: () => {
|
|
276
|
+
status: boolean;
|
|
277
|
+
cache: {
|
|
278
|
+
hasCache: boolean;
|
|
279
|
+
list: {
|
|
280
|
+
isChecked: boolean;
|
|
281
|
+
code: string;
|
|
282
|
+
description: string;
|
|
283
|
+
comment: string;
|
|
284
|
+
}[];
|
|
285
|
+
};
|
|
286
|
+
options: {
|
|
287
|
+
formData: Record<string, any>;
|
|
288
|
+
};
|
|
289
|
+
open: (options: RECOMMEND_DIAGNOSIS_OPTIONS) => void;
|
|
290
|
+
close: () => void;
|
|
291
|
+
};
|
|
292
|
+
}, never>>, Pick<{
|
|
293
|
+
getRecommendDiagnosis: () => {
|
|
294
|
+
status: boolean;
|
|
295
|
+
cache: {
|
|
296
|
+
hasCache: boolean;
|
|
297
|
+
list: {
|
|
298
|
+
isChecked: boolean;
|
|
299
|
+
code: string;
|
|
300
|
+
description: string;
|
|
301
|
+
comment: string;
|
|
302
|
+
}[];
|
|
303
|
+
};
|
|
304
|
+
options: {
|
|
305
|
+
formData: Record<string, any>;
|
|
306
|
+
};
|
|
307
|
+
open: (options: RECOMMEND_DIAGNOSIS_OPTIONS) => void;
|
|
308
|
+
close: () => void;
|
|
309
|
+
};
|
|
310
|
+
}, never>, Pick<{
|
|
311
|
+
getRecommendDiagnosis: () => {
|
|
312
|
+
status: boolean;
|
|
313
|
+
cache: {
|
|
314
|
+
hasCache: boolean;
|
|
315
|
+
list: {
|
|
316
|
+
isChecked: boolean;
|
|
317
|
+
code: string;
|
|
318
|
+
description: string;
|
|
319
|
+
comment: string;
|
|
320
|
+
}[];
|
|
321
|
+
};
|
|
322
|
+
options: {
|
|
323
|
+
formData: Record<string, any>;
|
|
324
|
+
};
|
|
325
|
+
open: (options: RECOMMEND_DIAGNOSIS_OPTIONS) => void;
|
|
326
|
+
close: () => void;
|
|
327
|
+
};
|
|
328
|
+
}, "getRecommendDiagnosis">>;
|
|
329
|
+
export type { SIGNATURE_PAD_OPTIONS, DATE_PICKER_OPTIONS, IMAGE_EDITOR_OPTIONS, RECOMMEND_DIAGNOSIS_OPTIONS, RECOMMEND_DIAGNOSIS_LIST };
|