c2-clinical 1.0.98 → 1.0.100
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.
|
@@ -8,8 +8,7 @@ const ExecFormulaFlowItem_1 = __importDefault(require("../../item/ExecFormulaFlo
|
|
|
8
8
|
class GetEnablesFormUnitsFlowItem {
|
|
9
9
|
execute(formUnits, answers) {
|
|
10
10
|
return formUnits?.filter((unit) => {
|
|
11
|
-
if (!unit.show)
|
|
12
|
-
return false;
|
|
11
|
+
// if (!unit.show) return false;
|
|
13
12
|
if (!unit.active)
|
|
14
13
|
return false;
|
|
15
14
|
if (!unit.formulaToEnable)
|
|
@@ -86,6 +86,7 @@ export interface IFormUnit extends IDefault {
|
|
|
86
86
|
fieldName: string;
|
|
87
87
|
}[];
|
|
88
88
|
};
|
|
89
|
+
isAnalyticalResult: boolean;
|
|
89
90
|
}
|
|
90
91
|
export interface IQuestionOption {
|
|
91
92
|
sequence: number;
|
|
@@ -298,6 +299,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
298
299
|
formulaToReferenceValue?: string | null | undefined;
|
|
299
300
|
formulaToClassificationLabel?: string | null | undefined;
|
|
300
301
|
formulaToClassificationColor?: string | null | undefined;
|
|
302
|
+
isAnalyticalResult?: any;
|
|
301
303
|
codeEnableFreeText?: string | null | undefined;
|
|
302
304
|
labelFreeText?: string | null | undefined;
|
|
303
305
|
graphicData?: any;
|
|
@@ -415,6 +417,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
415
417
|
formulaToReferenceValue?: string | null | undefined;
|
|
416
418
|
formulaToClassificationLabel?: string | null | undefined;
|
|
417
419
|
formulaToClassificationColor?: string | null | undefined;
|
|
420
|
+
isAnalyticalResult?: any;
|
|
418
421
|
codeEnableFreeText?: string | null | undefined;
|
|
419
422
|
labelFreeText?: string | null | undefined;
|
|
420
423
|
graphicData?: any;
|
|
@@ -532,6 +535,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
532
535
|
formulaToReferenceValue?: string | null | undefined;
|
|
533
536
|
formulaToClassificationLabel?: string | null | undefined;
|
|
534
537
|
formulaToClassificationColor?: string | null | undefined;
|
|
538
|
+
isAnalyticalResult?: any;
|
|
535
539
|
codeEnableFreeText?: string | null | undefined;
|
|
536
540
|
labelFreeText?: string | null | undefined;
|
|
537
541
|
graphicData?: any;
|
|
@@ -63,6 +63,7 @@ exports.FormUnitSchema = new mongoose_1.Schema({
|
|
|
63
63
|
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)
|
|
64
64
|
readOnly: { type: Boolean, default: false },
|
|
65
65
|
required: { type: Boolean, default: false },
|
|
66
|
+
isAnalyticalResult: { type: Boolean },
|
|
66
67
|
ellegibleForComparison: { type: Boolean, default: false },
|
|
67
68
|
//DADOS PARA PERGUNTAS CHOICE_SINGLE E CHOICE_MULTIPLE
|
|
68
69
|
codeEnableFreeText: { type: String },
|
package/package.json
CHANGED