c2-clinical 1.0.202 → 1.0.206

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.
@@ -57,7 +57,8 @@ export declare enum TypeFormUnitEnum {
57
57
  GRAPHIC = "GRAPHIC",
58
58
  SEPARATOR = "SEPARATOR",
59
59
  MESSAGE = "MESSAGE",
60
- TABLE = "TABLE"
60
+ TABLE = "TABLE",
61
+ RESULT = "RESULT"
61
62
  }
62
63
  /**
63
64
  * Utilizado para FormUnitTypeEnum = QUESTION
@@ -89,7 +90,9 @@ export declare enum VariantViewEnum {
89
90
  MESSAGE_1 = "MESSAGE_1",
90
91
  MESSAGE_2 = "MESSAGE_2",
91
92
  MESSAGE_3 = "MESSAGE_3",
92
- RESULT = "RESULT",
93
+ RESULT_1 = "RESULT_1",
94
+ RESULT_2 = "RESULT_2",
95
+ RESULT_3 = "RESULT_3",
93
96
  CHECKBOX = "CHECKBOX",
94
97
  RADIO_BUTTON = "RADIO_BUTTON",
95
98
  SELECT = "SELECT",
@@ -70,6 +70,7 @@ var TypeFormUnitEnum;
70
70
  TypeFormUnitEnum["SEPARATOR"] = "SEPARATOR";
71
71
  TypeFormUnitEnum["MESSAGE"] = "MESSAGE";
72
72
  TypeFormUnitEnum["TABLE"] = "TABLE";
73
+ TypeFormUnitEnum["RESULT"] = "RESULT";
73
74
  })(TypeFormUnitEnum || (exports.TypeFormUnitEnum = TypeFormUnitEnum = {}));
74
75
  /**
75
76
  * Utilizado para FormUnitTypeEnum = QUESTION
@@ -103,7 +104,9 @@ var VariantViewEnum;
103
104
  VariantViewEnum["MESSAGE_1"] = "MESSAGE_1";
104
105
  VariantViewEnum["MESSAGE_2"] = "MESSAGE_2";
105
106
  VariantViewEnum["MESSAGE_3"] = "MESSAGE_3";
106
- VariantViewEnum["RESULT"] = "RESULT";
107
+ VariantViewEnum["RESULT_1"] = "RESULT_1";
108
+ VariantViewEnum["RESULT_2"] = "RESULT_2";
109
+ VariantViewEnum["RESULT_3"] = "RESULT_3";
107
110
  VariantViewEnum["CHECKBOX"] = "CHECKBOX";
108
111
  VariantViewEnum["RADIO_BUTTON"] = "RADIO_BUTTON";
109
112
  VariantViewEnum["SELECT"] = "SELECT";
@@ -299,6 +299,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
299
299
  }>;
300
300
  show: boolean;
301
301
  readOnly: boolean;
302
+ screenPlacement: number;
302
303
  ellegibleForComparison: boolean;
303
304
  tips: Types.DocumentArray<{
304
305
  type: string;
@@ -340,7 +341,6 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
340
341
  formulaToReferenceValue?: string | null | undefined;
341
342
  formulaToClassificationLabel?: string | null | undefined;
342
343
  formulaToClassificationColor?: string | null | undefined;
343
- screenPlacement?: number | null | undefined;
344
344
  codeEnableFreeText?: string | null | undefined;
345
345
  labelFreeText?: string | null | undefined;
346
346
  graphicData?: any;
@@ -447,6 +447,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
447
447
  }>;
448
448
  show: boolean;
449
449
  readOnly: boolean;
450
+ screenPlacement: number;
450
451
  ellegibleForComparison: boolean;
451
452
  tips: Types.DocumentArray<{
452
453
  type: string;
@@ -488,7 +489,6 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
488
489
  formulaToReferenceValue?: string | null | undefined;
489
490
  formulaToClassificationLabel?: string | null | undefined;
490
491
  formulaToClassificationColor?: string | null | undefined;
491
- screenPlacement?: number | null | undefined;
492
492
  codeEnableFreeText?: string | null | undefined;
493
493
  labelFreeText?: string | null | undefined;
494
494
  graphicData?: any;
@@ -595,6 +595,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
595
595
  }>;
596
596
  show: boolean;
597
597
  readOnly: boolean;
598
+ screenPlacement: number;
598
599
  ellegibleForComparison: boolean;
599
600
  tips: Types.DocumentArray<{
600
601
  type: string;
@@ -636,7 +637,6 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
636
637
  formulaToReferenceValue?: string | null | undefined;
637
638
  formulaToClassificationLabel?: string | null | undefined;
638
639
  formulaToClassificationColor?: string | null | undefined;
639
- screenPlacement?: number | null | undefined;
640
640
  codeEnableFreeText?: string | null | undefined;
641
641
  labelFreeText?: string | null | undefined;
642
642
  graphicData?: any;
@@ -71,7 +71,7 @@ exports.FormUnitSchema = new mongoose_1.Schema({
71
71
  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)
72
72
  readOnly: { type: Boolean, default: false },
73
73
  required: { type: Boolean, default: false },
74
- screenPlacement: { type: Number },
74
+ screenPlacement: { type: Number, default: 1 },
75
75
  ellegibleForComparison: { type: Boolean, default: false },
76
76
  //DADOS PARA PERGUNTAS CHOICE_SINGLE E CHOICE_MULTIPLE
77
77
  codeEnableFreeText: { type: String },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-clinical",
3
- "version": "1.0.202",
3
+ "version": "1.0.206",
4
4
  "description": "Biblioteca Typescript para API NodeJS",
5
5
  "repository": {
6
6
  "type": "git",