c2-clinical 1.0.105 → 1.0.107
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/flow/group/GroupFormUnitsFlow.d.ts +2 -2
- package/dist/flow/group/item/BuildTreeFlowItem.d.ts +4 -2
- package/dist/flow/group/item/BuildTreeFlowItem.js +96 -22
- package/dist/models/Recurrence.d.ts +462 -3
- package/dist/models/anamnese/Anamnese.d.ts +81 -9
- package/dist/models/anamnese/AnamneseAnswer.d.ts +108 -12
- package/dist/models/anthropometry/Anthropometry.d.ts +84 -12
- package/dist/models/anthropometry/AnthropometryAnswer.d.ts +81 -9
- package/dist/models/form/Form.d.ts +3 -3
- package/dist/models/form/FormUnit.d.ts +154 -66
- package/dist/models/patient/Address.d.ts +3 -3
- package/dist/models/patient/City.d.ts +3 -3
- package/dist/models/patient/Patient.d.ts +42 -42
- package/dist/models/patient/Phone.d.ts +6 -6
- package/dist/models/qa/QA.d.ts +120 -24
- package/dist/models/qa/QAAnswer.d.ts +108 -12
- package/dist/models/qa/QAProgramming.d.ts +555 -24
- package/dist/models/qpc/QPC.d.ts +54 -6
- package/dist/models/qpc/QPCAnswer.d.ts +81 -9
- package/package.json +2 -2
|
@@ -39,6 +39,7 @@ export interface IValidationQuestion {
|
|
|
39
39
|
formulaToMessage: string;
|
|
40
40
|
}
|
|
41
41
|
export interface IRow {
|
|
42
|
+
id: string;
|
|
42
43
|
line: number;
|
|
43
44
|
collumns: IFormUnit[];
|
|
44
45
|
}
|
|
@@ -140,8 +141,8 @@ export declare const QuestionOptionSchema: Schema<any, import("mongoose").Model<
|
|
|
140
141
|
description: string;
|
|
141
142
|
sequence: number;
|
|
142
143
|
code: string;
|
|
143
|
-
defaultSelection:
|
|
144
|
-
active:
|
|
144
|
+
defaultSelection: boolean;
|
|
145
|
+
active: boolean;
|
|
145
146
|
formulaToEnable?: string | null | undefined;
|
|
146
147
|
thumb?: string | null | undefined;
|
|
147
148
|
image?: string | null | undefined;
|
|
@@ -150,8 +151,8 @@ export declare const QuestionOptionSchema: Schema<any, import("mongoose").Model<
|
|
|
150
151
|
description: string;
|
|
151
152
|
sequence: number;
|
|
152
153
|
code: string;
|
|
153
|
-
defaultSelection:
|
|
154
|
-
active:
|
|
154
|
+
defaultSelection: boolean;
|
|
155
|
+
active: boolean;
|
|
155
156
|
formulaToEnable?: string | null | undefined;
|
|
156
157
|
thumb?: string | null | undefined;
|
|
157
158
|
image?: string | null | undefined;
|
|
@@ -160,8 +161,8 @@ export declare const QuestionOptionSchema: Schema<any, import("mongoose").Model<
|
|
|
160
161
|
description: string;
|
|
161
162
|
sequence: number;
|
|
162
163
|
code: string;
|
|
163
|
-
defaultSelection:
|
|
164
|
-
active:
|
|
164
|
+
defaultSelection: boolean;
|
|
165
|
+
active: boolean;
|
|
165
166
|
formulaToEnable?: string | null | undefined;
|
|
166
167
|
thumb?: string | null | undefined;
|
|
167
168
|
image?: string | null | undefined;
|
|
@@ -197,19 +198,19 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
197
198
|
};
|
|
198
199
|
}, {} & {
|
|
199
200
|
type: string;
|
|
200
|
-
required:
|
|
201
|
+
required: boolean;
|
|
201
202
|
category: string;
|
|
202
203
|
sequence: number;
|
|
203
204
|
formulaToEnable: string;
|
|
204
205
|
code: string;
|
|
205
|
-
active:
|
|
206
|
-
form:
|
|
206
|
+
active: boolean;
|
|
207
|
+
form: Types.ObjectId;
|
|
207
208
|
options: Types.DocumentArray<{
|
|
208
209
|
description: string;
|
|
209
210
|
sequence: number;
|
|
210
211
|
code: string;
|
|
211
|
-
defaultSelection:
|
|
212
|
-
active:
|
|
212
|
+
defaultSelection: boolean;
|
|
213
|
+
active: boolean;
|
|
213
214
|
formulaToEnable?: string | null | undefined;
|
|
214
215
|
thumb?: string | null | undefined;
|
|
215
216
|
image?: string | null | undefined;
|
|
@@ -218,8 +219,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
218
219
|
description: string;
|
|
219
220
|
sequence: number;
|
|
220
221
|
code: string;
|
|
221
|
-
defaultSelection:
|
|
222
|
-
active:
|
|
222
|
+
defaultSelection: boolean;
|
|
223
|
+
active: boolean;
|
|
223
224
|
formulaToEnable?: string | null | undefined;
|
|
224
225
|
thumb?: string | null | undefined;
|
|
225
226
|
image?: string | null | undefined;
|
|
@@ -228,8 +229,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
228
229
|
description: string;
|
|
229
230
|
sequence: number;
|
|
230
231
|
code: string;
|
|
231
|
-
defaultSelection:
|
|
232
|
-
active:
|
|
232
|
+
defaultSelection: boolean;
|
|
233
|
+
active: boolean;
|
|
233
234
|
formulaToEnable?: string | null | undefined;
|
|
234
235
|
thumb?: string | null | undefined;
|
|
235
236
|
image?: string | null | undefined;
|
|
@@ -248,9 +249,9 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
248
249
|
typeOutput: string;
|
|
249
250
|
formulaToMessage: string;
|
|
250
251
|
}>;
|
|
251
|
-
show:
|
|
252
|
-
readOnly:
|
|
253
|
-
ellegibleForComparison:
|
|
252
|
+
show: boolean;
|
|
253
|
+
readOnly: boolean;
|
|
254
|
+
ellegibleForComparison: boolean;
|
|
254
255
|
requestGraphicData: Types.DocumentArray<{
|
|
255
256
|
method: string;
|
|
256
257
|
url: string;
|
|
@@ -289,11 +290,11 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
289
290
|
title?: string | null | undefined;
|
|
290
291
|
html?: string | null | undefined;
|
|
291
292
|
}>;
|
|
292
|
-
account?:
|
|
293
|
+
account?: Types.ObjectId | null | undefined;
|
|
293
294
|
description?: string | null | undefined;
|
|
294
|
-
reference?:
|
|
295
|
+
reference?: Types.ObjectId | null | undefined;
|
|
295
296
|
example?: string | null | undefined;
|
|
296
|
-
parent?:
|
|
297
|
+
parent?: Types.ObjectId | null | undefined;
|
|
297
298
|
line?: number | null | undefined;
|
|
298
299
|
column?: number | null | undefined;
|
|
299
300
|
typeAnswer?: string | null | undefined;
|
|
@@ -305,29 +306,58 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
305
306
|
formulaToReferenceValue?: string | null | undefined;
|
|
306
307
|
formulaToClassificationLabel?: string | null | undefined;
|
|
307
308
|
formulaToClassificationColor?: string | null | undefined;
|
|
308
|
-
isAnalyticalResult?:
|
|
309
|
+
isAnalyticalResult?: boolean | null | undefined;
|
|
309
310
|
codeEnableFreeText?: string | null | undefined;
|
|
310
311
|
labelFreeText?: string | null | undefined;
|
|
311
312
|
graphicData?: any;
|
|
312
|
-
modalConfig?:
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
313
|
+
modalConfig?: {
|
|
314
|
+
description?: string | null | undefined;
|
|
315
|
+
title?: string | null | undefined;
|
|
316
|
+
labelButtonCancel?: string | null | undefined;
|
|
317
|
+
labelButtonConfirm?: string | null | undefined;
|
|
318
|
+
} | null | undefined;
|
|
319
|
+
groupConfig?: {
|
|
320
|
+
showTips: boolean;
|
|
321
|
+
} | null | undefined;
|
|
322
|
+
tableConfig?: {
|
|
323
|
+
headerData: Types.DocumentArray<{
|
|
324
|
+
type?: {
|
|
325
|
+
headerText: string;
|
|
326
|
+
fieldName: string;
|
|
327
|
+
} | null | undefined;
|
|
328
|
+
}, Types.Subdocument<Types.ObjectId, any, {
|
|
329
|
+
type?: {
|
|
330
|
+
headerText: string;
|
|
331
|
+
fieldName: string;
|
|
332
|
+
} | null | undefined;
|
|
333
|
+
}> & {
|
|
334
|
+
type?: {
|
|
335
|
+
headerText: string;
|
|
336
|
+
fieldName: string;
|
|
337
|
+
} | null | undefined;
|
|
338
|
+
}>;
|
|
339
|
+
} | null | undefined;
|
|
340
|
+
uploadFileConfig?: {
|
|
341
|
+
typeFile: string;
|
|
342
|
+
acceptablesExtensions: string[];
|
|
343
|
+
maxSizeInBytes: number;
|
|
344
|
+
thumbExample?: string | null | undefined;
|
|
345
|
+
} | null | undefined;
|
|
316
346
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
|
|
317
347
|
type: string;
|
|
318
|
-
required:
|
|
348
|
+
required: boolean;
|
|
319
349
|
category: string;
|
|
320
350
|
sequence: number;
|
|
321
351
|
formulaToEnable: string;
|
|
322
352
|
code: string;
|
|
323
|
-
active:
|
|
324
|
-
form:
|
|
353
|
+
active: boolean;
|
|
354
|
+
form: Types.ObjectId;
|
|
325
355
|
options: Types.DocumentArray<{
|
|
326
356
|
description: string;
|
|
327
357
|
sequence: number;
|
|
328
358
|
code: string;
|
|
329
|
-
defaultSelection:
|
|
330
|
-
active:
|
|
359
|
+
defaultSelection: boolean;
|
|
360
|
+
active: boolean;
|
|
331
361
|
formulaToEnable?: string | null | undefined;
|
|
332
362
|
thumb?: string | null | undefined;
|
|
333
363
|
image?: string | null | undefined;
|
|
@@ -336,8 +366,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
336
366
|
description: string;
|
|
337
367
|
sequence: number;
|
|
338
368
|
code: string;
|
|
339
|
-
defaultSelection:
|
|
340
|
-
active:
|
|
369
|
+
defaultSelection: boolean;
|
|
370
|
+
active: boolean;
|
|
341
371
|
formulaToEnable?: string | null | undefined;
|
|
342
372
|
thumb?: string | null | undefined;
|
|
343
373
|
image?: string | null | undefined;
|
|
@@ -346,8 +376,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
346
376
|
description: string;
|
|
347
377
|
sequence: number;
|
|
348
378
|
code: string;
|
|
349
|
-
defaultSelection:
|
|
350
|
-
active:
|
|
379
|
+
defaultSelection: boolean;
|
|
380
|
+
active: boolean;
|
|
351
381
|
formulaToEnable?: string | null | undefined;
|
|
352
382
|
thumb?: string | null | undefined;
|
|
353
383
|
image?: string | null | undefined;
|
|
@@ -366,9 +396,9 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
366
396
|
typeOutput: string;
|
|
367
397
|
formulaToMessage: string;
|
|
368
398
|
}>;
|
|
369
|
-
show:
|
|
370
|
-
readOnly:
|
|
371
|
-
ellegibleForComparison:
|
|
399
|
+
show: boolean;
|
|
400
|
+
readOnly: boolean;
|
|
401
|
+
ellegibleForComparison: boolean;
|
|
372
402
|
requestGraphicData: Types.DocumentArray<{
|
|
373
403
|
method: string;
|
|
374
404
|
url: string;
|
|
@@ -407,11 +437,11 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
407
437
|
title?: string | null | undefined;
|
|
408
438
|
html?: string | null | undefined;
|
|
409
439
|
}>;
|
|
410
|
-
account?:
|
|
440
|
+
account?: Types.ObjectId | null | undefined;
|
|
411
441
|
description?: string | null | undefined;
|
|
412
|
-
reference?:
|
|
442
|
+
reference?: Types.ObjectId | null | undefined;
|
|
413
443
|
example?: string | null | undefined;
|
|
414
|
-
parent?:
|
|
444
|
+
parent?: Types.ObjectId | null | undefined;
|
|
415
445
|
line?: number | null | undefined;
|
|
416
446
|
column?: number | null | undefined;
|
|
417
447
|
typeAnswer?: string | null | undefined;
|
|
@@ -423,29 +453,58 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
423
453
|
formulaToReferenceValue?: string | null | undefined;
|
|
424
454
|
formulaToClassificationLabel?: string | null | undefined;
|
|
425
455
|
formulaToClassificationColor?: string | null | undefined;
|
|
426
|
-
isAnalyticalResult?:
|
|
456
|
+
isAnalyticalResult?: boolean | null | undefined;
|
|
427
457
|
codeEnableFreeText?: string | null | undefined;
|
|
428
458
|
labelFreeText?: string | null | undefined;
|
|
429
459
|
graphicData?: any;
|
|
430
|
-
modalConfig?:
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
460
|
+
modalConfig?: {
|
|
461
|
+
description?: string | null | undefined;
|
|
462
|
+
title?: string | null | undefined;
|
|
463
|
+
labelButtonCancel?: string | null | undefined;
|
|
464
|
+
labelButtonConfirm?: string | null | undefined;
|
|
465
|
+
} | null | undefined;
|
|
466
|
+
groupConfig?: {
|
|
467
|
+
showTips: boolean;
|
|
468
|
+
} | null | undefined;
|
|
469
|
+
tableConfig?: {
|
|
470
|
+
headerData: Types.DocumentArray<{
|
|
471
|
+
type?: {
|
|
472
|
+
headerText: string;
|
|
473
|
+
fieldName: string;
|
|
474
|
+
} | null | undefined;
|
|
475
|
+
}, Types.Subdocument<Types.ObjectId, any, {
|
|
476
|
+
type?: {
|
|
477
|
+
headerText: string;
|
|
478
|
+
fieldName: string;
|
|
479
|
+
} | null | undefined;
|
|
480
|
+
}> & {
|
|
481
|
+
type?: {
|
|
482
|
+
headerText: string;
|
|
483
|
+
fieldName: string;
|
|
484
|
+
} | null | undefined;
|
|
485
|
+
}>;
|
|
486
|
+
} | null | undefined;
|
|
487
|
+
uploadFileConfig?: {
|
|
488
|
+
typeFile: string;
|
|
489
|
+
acceptablesExtensions: string[];
|
|
490
|
+
maxSizeInBytes: number;
|
|
491
|
+
thumbExample?: string | null | undefined;
|
|
492
|
+
} | null | undefined;
|
|
434
493
|
}>, {}> & import("mongoose").FlatRecord<{} & {
|
|
435
494
|
type: string;
|
|
436
|
-
required:
|
|
495
|
+
required: boolean;
|
|
437
496
|
category: string;
|
|
438
497
|
sequence: number;
|
|
439
498
|
formulaToEnable: string;
|
|
440
499
|
code: string;
|
|
441
|
-
active:
|
|
442
|
-
form:
|
|
500
|
+
active: boolean;
|
|
501
|
+
form: Types.ObjectId;
|
|
443
502
|
options: Types.DocumentArray<{
|
|
444
503
|
description: string;
|
|
445
504
|
sequence: number;
|
|
446
505
|
code: string;
|
|
447
|
-
defaultSelection:
|
|
448
|
-
active:
|
|
506
|
+
defaultSelection: boolean;
|
|
507
|
+
active: boolean;
|
|
449
508
|
formulaToEnable?: string | null | undefined;
|
|
450
509
|
thumb?: string | null | undefined;
|
|
451
510
|
image?: string | null | undefined;
|
|
@@ -454,8 +513,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
454
513
|
description: string;
|
|
455
514
|
sequence: number;
|
|
456
515
|
code: string;
|
|
457
|
-
defaultSelection:
|
|
458
|
-
active:
|
|
516
|
+
defaultSelection: boolean;
|
|
517
|
+
active: boolean;
|
|
459
518
|
formulaToEnable?: string | null | undefined;
|
|
460
519
|
thumb?: string | null | undefined;
|
|
461
520
|
image?: string | null | undefined;
|
|
@@ -464,8 +523,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
464
523
|
description: string;
|
|
465
524
|
sequence: number;
|
|
466
525
|
code: string;
|
|
467
|
-
defaultSelection:
|
|
468
|
-
active:
|
|
526
|
+
defaultSelection: boolean;
|
|
527
|
+
active: boolean;
|
|
469
528
|
formulaToEnable?: string | null | undefined;
|
|
470
529
|
thumb?: string | null | undefined;
|
|
471
530
|
image?: string | null | undefined;
|
|
@@ -484,9 +543,9 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
484
543
|
typeOutput: string;
|
|
485
544
|
formulaToMessage: string;
|
|
486
545
|
}>;
|
|
487
|
-
show:
|
|
488
|
-
readOnly:
|
|
489
|
-
ellegibleForComparison:
|
|
546
|
+
show: boolean;
|
|
547
|
+
readOnly: boolean;
|
|
548
|
+
ellegibleForComparison: boolean;
|
|
490
549
|
requestGraphicData: Types.DocumentArray<{
|
|
491
550
|
method: string;
|
|
492
551
|
url: string;
|
|
@@ -525,11 +584,11 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
525
584
|
title?: string | null | undefined;
|
|
526
585
|
html?: string | null | undefined;
|
|
527
586
|
}>;
|
|
528
|
-
account?:
|
|
587
|
+
account?: Types.ObjectId | null | undefined;
|
|
529
588
|
description?: string | null | undefined;
|
|
530
|
-
reference?:
|
|
589
|
+
reference?: Types.ObjectId | null | undefined;
|
|
531
590
|
example?: string | null | undefined;
|
|
532
|
-
parent?:
|
|
591
|
+
parent?: Types.ObjectId | null | undefined;
|
|
533
592
|
line?: number | null | undefined;
|
|
534
593
|
column?: number | null | undefined;
|
|
535
594
|
typeAnswer?: string | null | undefined;
|
|
@@ -541,14 +600,43 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
541
600
|
formulaToReferenceValue?: string | null | undefined;
|
|
542
601
|
formulaToClassificationLabel?: string | null | undefined;
|
|
543
602
|
formulaToClassificationColor?: string | null | undefined;
|
|
544
|
-
isAnalyticalResult?:
|
|
603
|
+
isAnalyticalResult?: boolean | null | undefined;
|
|
545
604
|
codeEnableFreeText?: string | null | undefined;
|
|
546
605
|
labelFreeText?: string | null | undefined;
|
|
547
606
|
graphicData?: any;
|
|
548
|
-
modalConfig?:
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
607
|
+
modalConfig?: {
|
|
608
|
+
description?: string | null | undefined;
|
|
609
|
+
title?: string | null | undefined;
|
|
610
|
+
labelButtonCancel?: string | null | undefined;
|
|
611
|
+
labelButtonConfirm?: string | null | undefined;
|
|
612
|
+
} | null | undefined;
|
|
613
|
+
groupConfig?: {
|
|
614
|
+
showTips: boolean;
|
|
615
|
+
} | null | undefined;
|
|
616
|
+
tableConfig?: {
|
|
617
|
+
headerData: Types.DocumentArray<{
|
|
618
|
+
type?: {
|
|
619
|
+
headerText: string;
|
|
620
|
+
fieldName: string;
|
|
621
|
+
} | null | undefined;
|
|
622
|
+
}, Types.Subdocument<Types.ObjectId, any, {
|
|
623
|
+
type?: {
|
|
624
|
+
headerText: string;
|
|
625
|
+
fieldName: string;
|
|
626
|
+
} | null | undefined;
|
|
627
|
+
}> & {
|
|
628
|
+
type?: {
|
|
629
|
+
headerText: string;
|
|
630
|
+
fieldName: string;
|
|
631
|
+
} | null | undefined;
|
|
632
|
+
}>;
|
|
633
|
+
} | null | undefined;
|
|
634
|
+
uploadFileConfig?: {
|
|
635
|
+
typeFile: string;
|
|
636
|
+
acceptablesExtensions: string[];
|
|
637
|
+
maxSizeInBytes: number;
|
|
638
|
+
thumbExample?: string | null | undefined;
|
|
639
|
+
} | null | undefined;
|
|
552
640
|
}> & {
|
|
553
641
|
_id: Types.ObjectId;
|
|
554
642
|
} & {
|
|
@@ -24,7 +24,7 @@ export declare const AddressSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
24
24
|
typeNeighborhood?: string | null | undefined;
|
|
25
25
|
typeStreet?: string | null | undefined;
|
|
26
26
|
cityCodeIbge?: string | null | undefined;
|
|
27
|
-
city?:
|
|
27
|
+
city?: Types.ObjectId | null | undefined;
|
|
28
28
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
29
29
|
description: string;
|
|
30
30
|
number?: string | null | undefined;
|
|
@@ -35,7 +35,7 @@ export declare const AddressSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
35
35
|
typeNeighborhood?: string | null | undefined;
|
|
36
36
|
typeStreet?: string | null | undefined;
|
|
37
37
|
cityCodeIbge?: string | null | undefined;
|
|
38
|
-
city?:
|
|
38
|
+
city?: Types.ObjectId | null | undefined;
|
|
39
39
|
}>, {}> & import("mongoose").FlatRecord<{
|
|
40
40
|
description: string;
|
|
41
41
|
number?: string | null | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const AddressSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
46
46
|
typeNeighborhood?: string | null | undefined;
|
|
47
47
|
typeStreet?: string | null | undefined;
|
|
48
48
|
cityCodeIbge?: string | null | undefined;
|
|
49
|
-
city?:
|
|
49
|
+
city?: Types.ObjectId | null | undefined;
|
|
50
50
|
}> & {
|
|
51
51
|
_id: Types.ObjectId;
|
|
52
52
|
} & {
|
|
@@ -15,17 +15,17 @@ export declare const CitySchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
15
15
|
}, {} & {
|
|
16
16
|
name: string;
|
|
17
17
|
code: string;
|
|
18
|
-
state:
|
|
18
|
+
state: Types.ObjectId;
|
|
19
19
|
abbreviation?: string | null | undefined;
|
|
20
20
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
|
|
21
21
|
name: string;
|
|
22
22
|
code: string;
|
|
23
|
-
state:
|
|
23
|
+
state: Types.ObjectId;
|
|
24
24
|
abbreviation?: string | null | undefined;
|
|
25
25
|
}>, {}> & import("mongoose").FlatRecord<{} & {
|
|
26
26
|
name: string;
|
|
27
27
|
code: string;
|
|
28
|
-
state:
|
|
28
|
+
state: Types.ObjectId;
|
|
29
29
|
abbreviation?: string | null | undefined;
|
|
30
30
|
}> & {
|
|
31
31
|
_id: Types.ObjectId;
|
|
@@ -24,15 +24,15 @@ export interface IPatient extends IDefault {
|
|
|
24
24
|
export declare const PatientAppConfigSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
25
25
|
_id: false;
|
|
26
26
|
}, {
|
|
27
|
-
accessEnable?:
|
|
27
|
+
accessEnable?: boolean | null | undefined;
|
|
28
28
|
accessCode?: string | null | undefined;
|
|
29
29
|
accessExpireDate?: NativeDate | null | undefined;
|
|
30
30
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
31
|
-
accessEnable?:
|
|
31
|
+
accessEnable?: boolean | null | undefined;
|
|
32
32
|
accessCode?: string | null | undefined;
|
|
33
33
|
accessExpireDate?: NativeDate | null | undefined;
|
|
34
34
|
}>, {}> & import("mongoose").FlatRecord<{
|
|
35
|
-
accessEnable?:
|
|
35
|
+
accessEnable?: boolean | null | undefined;
|
|
36
36
|
accessCode?: string | null | undefined;
|
|
37
37
|
accessExpireDate?: NativeDate | null | undefined;
|
|
38
38
|
}> & {
|
|
@@ -46,32 +46,32 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
46
46
|
updatedAt: string;
|
|
47
47
|
};
|
|
48
48
|
}, {} & {
|
|
49
|
-
account:
|
|
50
|
-
active:
|
|
49
|
+
account: import("mongoose").Types.ObjectId;
|
|
50
|
+
active: boolean;
|
|
51
51
|
fullName: string;
|
|
52
52
|
bornDate: NativeDate;
|
|
53
53
|
phones: import("mongoose").Types.DocumentArray<{} & {
|
|
54
|
-
active:
|
|
54
|
+
active: boolean;
|
|
55
55
|
countryCode: string;
|
|
56
|
-
isWhatsapp:
|
|
56
|
+
isWhatsapp: boolean;
|
|
57
57
|
number?: string | null | undefined;
|
|
58
58
|
description?: string | null | undefined;
|
|
59
59
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {} & {
|
|
60
|
-
active:
|
|
60
|
+
active: boolean;
|
|
61
61
|
countryCode: string;
|
|
62
|
-
isWhatsapp:
|
|
62
|
+
isWhatsapp: boolean;
|
|
63
63
|
number?: string | null | undefined;
|
|
64
64
|
description?: string | null | undefined;
|
|
65
65
|
}> & {} & {
|
|
66
|
-
active:
|
|
66
|
+
active: boolean;
|
|
67
67
|
countryCode: string;
|
|
68
|
-
isWhatsapp:
|
|
68
|
+
isWhatsapp: boolean;
|
|
69
69
|
number?: string | null | undefined;
|
|
70
70
|
description?: string | null | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
socialId: string;
|
|
73
73
|
tags: string[];
|
|
74
|
-
sendEmailAsWelcome:
|
|
74
|
+
sendEmailAsWelcome: boolean;
|
|
75
75
|
addresses: import("mongoose").Types.DocumentArray<{
|
|
76
76
|
description: string;
|
|
77
77
|
number?: string | null | undefined;
|
|
@@ -82,7 +82,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
82
82
|
typeNeighborhood?: string | null | undefined;
|
|
83
83
|
typeStreet?: string | null | undefined;
|
|
84
84
|
cityCodeIbge?: string | null | undefined;
|
|
85
|
-
city?:
|
|
85
|
+
city?: import("mongoose").Types.ObjectId | null | undefined;
|
|
86
86
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
87
87
|
description: string;
|
|
88
88
|
number?: string | null | undefined;
|
|
@@ -93,7 +93,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
93
93
|
typeNeighborhood?: string | null | undefined;
|
|
94
94
|
typeStreet?: string | null | undefined;
|
|
95
95
|
cityCodeIbge?: string | null | undefined;
|
|
96
|
-
city?:
|
|
96
|
+
city?: import("mongoose").Types.ObjectId | null | undefined;
|
|
97
97
|
}> & {
|
|
98
98
|
description: string;
|
|
99
99
|
number?: string | null | undefined;
|
|
@@ -104,42 +104,42 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
104
104
|
typeNeighborhood?: string | null | undefined;
|
|
105
105
|
typeStreet?: string | null | undefined;
|
|
106
106
|
cityCodeIbge?: string | null | undefined;
|
|
107
|
-
city?:
|
|
107
|
+
city?: import("mongoose").Types.ObjectId | null | undefined;
|
|
108
108
|
}>;
|
|
109
109
|
genre?: string | null | undefined;
|
|
110
110
|
email?: string | null | undefined;
|
|
111
111
|
appConfig?: {
|
|
112
|
-
accessEnable?:
|
|
112
|
+
accessEnable?: boolean | null | undefined;
|
|
113
113
|
accessCode?: string | null | undefined;
|
|
114
114
|
accessExpireDate?: NativeDate | null | undefined;
|
|
115
115
|
} | null | undefined;
|
|
116
116
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
|
|
117
|
-
account:
|
|
118
|
-
active:
|
|
117
|
+
account: import("mongoose").Types.ObjectId;
|
|
118
|
+
active: boolean;
|
|
119
119
|
fullName: string;
|
|
120
120
|
bornDate: NativeDate;
|
|
121
121
|
phones: import("mongoose").Types.DocumentArray<{} & {
|
|
122
|
-
active:
|
|
122
|
+
active: boolean;
|
|
123
123
|
countryCode: string;
|
|
124
|
-
isWhatsapp:
|
|
124
|
+
isWhatsapp: boolean;
|
|
125
125
|
number?: string | null | undefined;
|
|
126
126
|
description?: string | null | undefined;
|
|
127
127
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {} & {
|
|
128
|
-
active:
|
|
128
|
+
active: boolean;
|
|
129
129
|
countryCode: string;
|
|
130
|
-
isWhatsapp:
|
|
130
|
+
isWhatsapp: boolean;
|
|
131
131
|
number?: string | null | undefined;
|
|
132
132
|
description?: string | null | undefined;
|
|
133
133
|
}> & {} & {
|
|
134
|
-
active:
|
|
134
|
+
active: boolean;
|
|
135
135
|
countryCode: string;
|
|
136
|
-
isWhatsapp:
|
|
136
|
+
isWhatsapp: boolean;
|
|
137
137
|
number?: string | null | undefined;
|
|
138
138
|
description?: string | null | undefined;
|
|
139
139
|
}>;
|
|
140
140
|
socialId: string;
|
|
141
141
|
tags: string[];
|
|
142
|
-
sendEmailAsWelcome:
|
|
142
|
+
sendEmailAsWelcome: boolean;
|
|
143
143
|
addresses: import("mongoose").Types.DocumentArray<{
|
|
144
144
|
description: string;
|
|
145
145
|
number?: string | null | undefined;
|
|
@@ -150,7 +150,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
150
150
|
typeNeighborhood?: string | null | undefined;
|
|
151
151
|
typeStreet?: string | null | undefined;
|
|
152
152
|
cityCodeIbge?: string | null | undefined;
|
|
153
|
-
city?:
|
|
153
|
+
city?: import("mongoose").Types.ObjectId | null | undefined;
|
|
154
154
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
155
155
|
description: string;
|
|
156
156
|
number?: string | null | undefined;
|
|
@@ -161,7 +161,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
161
161
|
typeNeighborhood?: string | null | undefined;
|
|
162
162
|
typeStreet?: string | null | undefined;
|
|
163
163
|
cityCodeIbge?: string | null | undefined;
|
|
164
|
-
city?:
|
|
164
|
+
city?: import("mongoose").Types.ObjectId | null | undefined;
|
|
165
165
|
}> & {
|
|
166
166
|
description: string;
|
|
167
167
|
number?: string | null | undefined;
|
|
@@ -172,42 +172,42 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
172
172
|
typeNeighborhood?: string | null | undefined;
|
|
173
173
|
typeStreet?: string | null | undefined;
|
|
174
174
|
cityCodeIbge?: string | null | undefined;
|
|
175
|
-
city?:
|
|
175
|
+
city?: import("mongoose").Types.ObjectId | null | undefined;
|
|
176
176
|
}>;
|
|
177
177
|
genre?: string | null | undefined;
|
|
178
178
|
email?: string | null | undefined;
|
|
179
179
|
appConfig?: {
|
|
180
|
-
accessEnable?:
|
|
180
|
+
accessEnable?: boolean | null | undefined;
|
|
181
181
|
accessCode?: string | null | undefined;
|
|
182
182
|
accessExpireDate?: NativeDate | null | undefined;
|
|
183
183
|
} | null | undefined;
|
|
184
184
|
}>, {}> & import("mongoose").FlatRecord<{} & {
|
|
185
|
-
account:
|
|
186
|
-
active:
|
|
185
|
+
account: import("mongoose").Types.ObjectId;
|
|
186
|
+
active: boolean;
|
|
187
187
|
fullName: string;
|
|
188
188
|
bornDate: NativeDate;
|
|
189
189
|
phones: import("mongoose").Types.DocumentArray<{} & {
|
|
190
|
-
active:
|
|
190
|
+
active: boolean;
|
|
191
191
|
countryCode: string;
|
|
192
|
-
isWhatsapp:
|
|
192
|
+
isWhatsapp: boolean;
|
|
193
193
|
number?: string | null | undefined;
|
|
194
194
|
description?: string | null | undefined;
|
|
195
195
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {} & {
|
|
196
|
-
active:
|
|
196
|
+
active: boolean;
|
|
197
197
|
countryCode: string;
|
|
198
|
-
isWhatsapp:
|
|
198
|
+
isWhatsapp: boolean;
|
|
199
199
|
number?: string | null | undefined;
|
|
200
200
|
description?: string | null | undefined;
|
|
201
201
|
}> & {} & {
|
|
202
|
-
active:
|
|
202
|
+
active: boolean;
|
|
203
203
|
countryCode: string;
|
|
204
|
-
isWhatsapp:
|
|
204
|
+
isWhatsapp: boolean;
|
|
205
205
|
number?: string | null | undefined;
|
|
206
206
|
description?: string | null | undefined;
|
|
207
207
|
}>;
|
|
208
208
|
socialId: string;
|
|
209
209
|
tags: string[];
|
|
210
|
-
sendEmailAsWelcome:
|
|
210
|
+
sendEmailAsWelcome: boolean;
|
|
211
211
|
addresses: import("mongoose").Types.DocumentArray<{
|
|
212
212
|
description: string;
|
|
213
213
|
number?: string | null | undefined;
|
|
@@ -218,7 +218,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
218
218
|
typeNeighborhood?: string | null | undefined;
|
|
219
219
|
typeStreet?: string | null | undefined;
|
|
220
220
|
cityCodeIbge?: string | null | undefined;
|
|
221
|
-
city?:
|
|
221
|
+
city?: import("mongoose").Types.ObjectId | null | undefined;
|
|
222
222
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
223
223
|
description: string;
|
|
224
224
|
number?: string | null | undefined;
|
|
@@ -229,7 +229,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
229
229
|
typeNeighborhood?: string | null | undefined;
|
|
230
230
|
typeStreet?: string | null | undefined;
|
|
231
231
|
cityCodeIbge?: string | null | undefined;
|
|
232
|
-
city?:
|
|
232
|
+
city?: import("mongoose").Types.ObjectId | null | undefined;
|
|
233
233
|
}> & {
|
|
234
234
|
description: string;
|
|
235
235
|
number?: string | null | undefined;
|
|
@@ -240,12 +240,12 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
240
240
|
typeNeighborhood?: string | null | undefined;
|
|
241
241
|
typeStreet?: string | null | undefined;
|
|
242
242
|
cityCodeIbge?: string | null | undefined;
|
|
243
|
-
city?:
|
|
243
|
+
city?: import("mongoose").Types.ObjectId | null | undefined;
|
|
244
244
|
}>;
|
|
245
245
|
genre?: string | null | undefined;
|
|
246
246
|
email?: string | null | undefined;
|
|
247
247
|
appConfig?: {
|
|
248
|
-
accessEnable?:
|
|
248
|
+
accessEnable?: boolean | null | undefined;
|
|
249
249
|
accessCode?: string | null | undefined;
|
|
250
250
|
accessExpireDate?: NativeDate | null | undefined;
|
|
251
251
|
} | null | undefined;
|