c2-clinical 1.0.71 → 1.0.73
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.
|
@@ -5,6 +5,7 @@ export interface IForm extends IDefault {
|
|
|
5
5
|
type: TypeFormEnum;
|
|
6
6
|
category: CategoryFormEnum;
|
|
7
7
|
owner: OwnerEnum;
|
|
8
|
+
ownerAuthor: string;
|
|
8
9
|
name: string;
|
|
9
10
|
description: string;
|
|
10
11
|
observation: string;
|
|
@@ -20,6 +21,7 @@ export declare const FormSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
20
21
|
category: string;
|
|
21
22
|
owner: string;
|
|
22
23
|
account?: any;
|
|
24
|
+
ownerAuthor?: string | null | undefined;
|
|
23
25
|
description?: string | null | undefined;
|
|
24
26
|
observation?: string | null | undefined;
|
|
25
27
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
|
|
@@ -28,6 +30,7 @@ export declare const FormSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
28
30
|
category: string;
|
|
29
31
|
owner: string;
|
|
30
32
|
account?: any;
|
|
33
|
+
ownerAuthor?: string | null | undefined;
|
|
31
34
|
description?: string | null | undefined;
|
|
32
35
|
observation?: string | null | undefined;
|
|
33
36
|
}>, {}> & import("mongoose").FlatRecord<{} & {
|
|
@@ -36,6 +39,7 @@ export declare const FormSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
36
39
|
category: string;
|
|
37
40
|
owner: string;
|
|
38
41
|
account?: any;
|
|
42
|
+
ownerAuthor?: string | null | undefined;
|
|
39
43
|
description?: string | null | undefined;
|
|
40
44
|
observation?: string | null | undefined;
|
|
41
45
|
}> & {
|
package/dist/models/form/Form.js
CHANGED
|
@@ -9,6 +9,7 @@ exports.FormSchema = new mongoose_1.Schema({
|
|
|
9
9
|
type: { type: String, enum: enum_1.TypeFormEnum, required: true },
|
|
10
10
|
category: { type: String, enum: enum_1.CategoryFormEnum, required: true },
|
|
11
11
|
owner: { type: String, enum: enum_1.OwnerEnum, required: true },
|
|
12
|
+
ownerAuthor: { type: String },
|
|
12
13
|
name: { type: String, required: true },
|
|
13
14
|
description: { type: String },
|
|
14
15
|
observation: { type: String }
|
|
@@ -56,6 +56,7 @@ export interface IFormUnit extends IDefault {
|
|
|
56
56
|
readOnly: boolean;
|
|
57
57
|
required: boolean;
|
|
58
58
|
codeEnableFreeText: string;
|
|
59
|
+
labelFreeText: string;
|
|
59
60
|
graphicData: any;
|
|
60
61
|
requestGraphicData: IRequestGraphicData[];
|
|
61
62
|
children?: IFormUnit[];
|
|
@@ -271,6 +272,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
271
272
|
measurementUnit?: string | null | undefined;
|
|
272
273
|
formulaToAnswer?: string | null | undefined;
|
|
273
274
|
codeEnableFreeText?: string | null | undefined;
|
|
275
|
+
labelFreeText?: string | null | undefined;
|
|
274
276
|
graphicData?: any;
|
|
275
277
|
modalConfig?: any;
|
|
276
278
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
|
|
@@ -381,6 +383,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
381
383
|
measurementUnit?: string | null | undefined;
|
|
382
384
|
formulaToAnswer?: string | null | undefined;
|
|
383
385
|
codeEnableFreeText?: string | null | undefined;
|
|
386
|
+
labelFreeText?: string | null | undefined;
|
|
384
387
|
graphicData?: any;
|
|
385
388
|
modalConfig?: any;
|
|
386
389
|
}>, {}> & import("mongoose").FlatRecord<{} & {
|
|
@@ -491,6 +494,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
491
494
|
measurementUnit?: string | null | undefined;
|
|
492
495
|
formulaToAnswer?: string | null | undefined;
|
|
493
496
|
codeEnableFreeText?: string | null | undefined;
|
|
497
|
+
labelFreeText?: string | null | undefined;
|
|
494
498
|
graphicData?: any;
|
|
495
499
|
modalConfig?: any;
|
|
496
500
|
}> & {
|
|
@@ -62,6 +62,7 @@ exports.FormUnitSchema = new mongoose_1.Schema({
|
|
|
62
62
|
required: { type: Boolean, default: false },
|
|
63
63
|
//DADOS PARA PERGUNTAS CHOICE_SINGLE E CHOICE_MULTIPLE
|
|
64
64
|
codeEnableFreeText: { type: String },
|
|
65
|
+
labelFreeText: { type: String },
|
|
65
66
|
//DADOS PARA GRAFICOS
|
|
66
67
|
graphicData: { type: mongoose_1.Schema.Types.Mixed },
|
|
67
68
|
requestGraphicData: { type: [exports.RequestGraphicDataSchema] },
|
package/package.json
CHANGED