c2-clinical 1.0.99 → 1.0.102
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema, Types } from "mongoose";
|
|
2
2
|
import { IDefault } from "../Default";
|
|
3
|
-
import { CategoryFormEnum, TypeAnswerEnum, TypeButtonAction, TypeFormUnitEnum, TypeOutputValidationEnum, TypeTipEnum, TypeUploadFileEnum, TypeValidationEnum } from "../enum";
|
|
3
|
+
import { CategoryFormEnum, TypeAnswerEnum, TypeButtonAction, TypeFormUnitEnum, TypeOutputValidationEnum, TypeTipEnum, TypeUploadFileEnum, TypeValidationEnum, VariantViewEnum } from "../enum";
|
|
4
4
|
import { IForm } from "./Form";
|
|
5
5
|
export interface IModalConfig {
|
|
6
6
|
title: string;
|
|
@@ -53,6 +53,7 @@ export interface IFormUnit extends IDefault {
|
|
|
53
53
|
defaultAnswer: string;
|
|
54
54
|
category: CategoryFormEnum;
|
|
55
55
|
typeButtonAction: TypeButtonAction;
|
|
56
|
+
variantView: VariantViewEnum;
|
|
56
57
|
measurementUnit: string;
|
|
57
58
|
options: IQuestionOption[];
|
|
58
59
|
formulaToAnswer: string;
|
|
@@ -86,6 +87,7 @@ export interface IFormUnit extends IDefault {
|
|
|
86
87
|
fieldName: string;
|
|
87
88
|
}[];
|
|
88
89
|
};
|
|
90
|
+
isAnalyticalResult: boolean;
|
|
89
91
|
}
|
|
90
92
|
export interface IQuestionOption {
|
|
91
93
|
sequence: number;
|
|
@@ -298,6 +300,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
298
300
|
formulaToReferenceValue?: string | null | undefined;
|
|
299
301
|
formulaToClassificationLabel?: string | null | undefined;
|
|
300
302
|
formulaToClassificationColor?: string | null | undefined;
|
|
303
|
+
isAnalyticalResult?: any;
|
|
301
304
|
codeEnableFreeText?: string | null | undefined;
|
|
302
305
|
labelFreeText?: string | null | undefined;
|
|
303
306
|
graphicData?: any;
|
|
@@ -415,6 +418,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
415
418
|
formulaToReferenceValue?: string | null | undefined;
|
|
416
419
|
formulaToClassificationLabel?: string | null | undefined;
|
|
417
420
|
formulaToClassificationColor?: string | null | undefined;
|
|
421
|
+
isAnalyticalResult?: any;
|
|
418
422
|
codeEnableFreeText?: string | null | undefined;
|
|
419
423
|
labelFreeText?: string | null | undefined;
|
|
420
424
|
graphicData?: any;
|
|
@@ -532,6 +536,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
532
536
|
formulaToReferenceValue?: string | null | undefined;
|
|
533
537
|
formulaToClassificationLabel?: string | null | undefined;
|
|
534
538
|
formulaToClassificationColor?: string | null | undefined;
|
|
539
|
+
isAnalyticalResult?: any;
|
|
535
540
|
codeEnableFreeText?: string | null | undefined;
|
|
536
541
|
labelFreeText?: string | null | undefined;
|
|
537
542
|
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