c2-clinical 1.0.68 → 1.0.70
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.
|
@@ -55,6 +55,7 @@ export interface IFormUnit extends IDefault {
|
|
|
55
55
|
show: boolean;
|
|
56
56
|
readOnly: boolean;
|
|
57
57
|
required: boolean;
|
|
58
|
+
codeEnableFreeText: string;
|
|
58
59
|
graphicData: any;
|
|
59
60
|
requestGraphicData: IRequestGraphicData[];
|
|
60
61
|
children?: IFormUnit[];
|
|
@@ -217,6 +218,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
217
218
|
}>;
|
|
218
219
|
show: any;
|
|
219
220
|
readOnly: any;
|
|
221
|
+
codeEnableFreeText: string;
|
|
220
222
|
requestGraphicData: Types.DocumentArray<{
|
|
221
223
|
method: string;
|
|
222
224
|
url: string;
|
|
@@ -326,6 +328,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
326
328
|
}>;
|
|
327
329
|
show: any;
|
|
328
330
|
readOnly: any;
|
|
331
|
+
codeEnableFreeText: string;
|
|
329
332
|
requestGraphicData: Types.DocumentArray<{
|
|
330
333
|
method: string;
|
|
331
334
|
url: string;
|
|
@@ -435,6 +438,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
435
438
|
}>;
|
|
436
439
|
show: any;
|
|
437
440
|
readOnly: any;
|
|
441
|
+
codeEnableFreeText: string;
|
|
438
442
|
requestGraphicData: Types.DocumentArray<{
|
|
439
443
|
method: string;
|
|
440
444
|
url: string;
|
|
@@ -60,6 +60,8 @@ exports.FormUnitSchema = new mongoose_1.Schema({
|
|
|
60
60
|
show: { type: Boolean, required: true, default: true }, //determina se a pergunta é exibida nos formulario (IDADE EM DIAS POR EXEMPLO, perguntas necessárias para alguns calculos mas q nao fazem sentido exibi-las)
|
|
61
61
|
readOnly: { type: Boolean, default: false },
|
|
62
62
|
required: { type: Boolean, default: false },
|
|
63
|
+
//DADOS PARA PERGUNTAS CHOICE_SINGLE E CHOICE_MULTIPLE
|
|
64
|
+
codeEnableFreeText: { type: String, default: "OTHERS" },
|
|
63
65
|
//DADOS PARA GRAFICOS
|
|
64
66
|
graphicData: { type: mongoose_1.Schema.Types.Mixed },
|
|
65
67
|
requestGraphicData: { type: [exports.RequestGraphicDataSchema] },
|
package/package.json
CHANGED