c2-clinical 1.0.56 → 1.0.58
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.
package/dist/models/enum.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export declare enum TypeFormUnitEnum {
|
|
|
49
49
|
GROUP = "GROUP",
|
|
50
50
|
QUESTION = "QUESTION",
|
|
51
51
|
BUTTON = "BUTTON",
|
|
52
|
+
MODAL = "MODAL",
|
|
52
53
|
GRAPHIC = "GRAPHIC",
|
|
53
54
|
SEPARATOR = "SEPARATOR",
|
|
54
55
|
MESSAGE = "MESSAGE"
|
|
@@ -77,16 +78,15 @@ export declare enum TypeAnswerEnum {
|
|
|
77
78
|
BOOLEAN = "BOOLEAN",
|
|
78
79
|
DATE = "DATE"
|
|
79
80
|
}
|
|
80
|
-
export declare enum
|
|
81
|
+
export declare enum VariantViewEnum {
|
|
81
82
|
CHECKBOX = "CHECKBOX",
|
|
82
83
|
RADIO_BUTTON = "RADIO_BUTTON",
|
|
83
|
-
|
|
84
|
+
SELECT = "SELECT",
|
|
84
85
|
BUTTON = "BUTTON",
|
|
85
86
|
LIST = "LIST"
|
|
86
87
|
}
|
|
87
88
|
export declare enum TypeButtonAction {
|
|
88
|
-
|
|
89
|
-
OPEN_CHILD = "OPEN_CHILD"
|
|
89
|
+
OPEN_MODAL = "OPEN_MODAL"
|
|
90
90
|
}
|
|
91
91
|
export declare enum TypeValidationEnum {
|
|
92
92
|
TIP = "TIP",
|
package/dist/models/enum.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TypeMessageEnum = exports.TypeOutputValidationEnum = exports.TypeValidationEnum = exports.TypeButtonAction = exports.
|
|
3
|
+
exports.TypeMessageEnum = exports.TypeOutputValidationEnum = exports.TypeValidationEnum = exports.TypeButtonAction = exports.VariantViewEnum = exports.TypeAnswerEnum = exports.TypeFormUnitEnum = exports.OwnerEnum = exports.TypeFormEnum = exports.CategoryFormEnum = exports.MetTargetConditionEnum = exports.StatusQPCEnum = exports.GenreEnum = exports.ChannelNotificationEnum = exports.QAStatusEnum = void 0;
|
|
4
4
|
var QAStatusEnum;
|
|
5
5
|
(function (QAStatusEnum) {
|
|
6
6
|
QAStatusEnum["ANSWERED"] = "ANSWERED";
|
|
@@ -61,6 +61,7 @@ var TypeFormUnitEnum;
|
|
|
61
61
|
TypeFormUnitEnum["GROUP"] = "GROUP";
|
|
62
62
|
TypeFormUnitEnum["QUESTION"] = "QUESTION";
|
|
63
63
|
TypeFormUnitEnum["BUTTON"] = "BUTTON";
|
|
64
|
+
TypeFormUnitEnum["MODAL"] = "MODAL";
|
|
64
65
|
TypeFormUnitEnum["GRAPHIC"] = "GRAPHIC";
|
|
65
66
|
TypeFormUnitEnum["SEPARATOR"] = "SEPARATOR";
|
|
66
67
|
TypeFormUnitEnum["MESSAGE"] = "MESSAGE";
|
|
@@ -90,18 +91,17 @@ var TypeAnswerEnum;
|
|
|
90
91
|
TypeAnswerEnum["BOOLEAN"] = "BOOLEAN";
|
|
91
92
|
TypeAnswerEnum["DATE"] = "DATE";
|
|
92
93
|
})(TypeAnswerEnum || (exports.TypeAnswerEnum = TypeAnswerEnum = {}));
|
|
93
|
-
var
|
|
94
|
-
(function (
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
})(
|
|
94
|
+
var VariantViewEnum;
|
|
95
|
+
(function (VariantViewEnum) {
|
|
96
|
+
VariantViewEnum["CHECKBOX"] = "CHECKBOX";
|
|
97
|
+
VariantViewEnum["RADIO_BUTTON"] = "RADIO_BUTTON";
|
|
98
|
+
VariantViewEnum["SELECT"] = "SELECT";
|
|
99
|
+
VariantViewEnum["BUTTON"] = "BUTTON";
|
|
100
|
+
VariantViewEnum["LIST"] = "LIST";
|
|
101
|
+
})(VariantViewEnum || (exports.VariantViewEnum = VariantViewEnum = {}));
|
|
101
102
|
var TypeButtonAction;
|
|
102
103
|
(function (TypeButtonAction) {
|
|
103
|
-
TypeButtonAction["
|
|
104
|
-
TypeButtonAction["OPEN_CHILD"] = "OPEN_CHILD";
|
|
104
|
+
TypeButtonAction["OPEN_MODAL"] = "OPEN_MODAL";
|
|
105
105
|
})(TypeButtonAction || (exports.TypeButtonAction = TypeButtonAction = {}));
|
|
106
106
|
var TypeValidationEnum;
|
|
107
107
|
(function (TypeValidationEnum) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema, Types } from "mongoose";
|
|
2
2
|
import { IDefault } from "../Default";
|
|
3
|
-
import { CategoryFormEnum, TypeAnswerEnum, TypeButtonAction,
|
|
3
|
+
import { CategoryFormEnum, TypeAnswerEnum, TypeButtonAction, VariantViewEnum, TypeFormUnitEnum, TypeOutputValidationEnum, TypeValidationEnum } from "../enum";
|
|
4
4
|
import { IForm } from "./Form";
|
|
5
5
|
/**
|
|
6
6
|
* Utilizado para FormUnitTypeEnum = GRAPHIC
|
|
@@ -30,7 +30,7 @@ export interface IFormUnit extends IDefault {
|
|
|
30
30
|
typeAnswer: TypeAnswerEnum;
|
|
31
31
|
defaultAnswer: string;
|
|
32
32
|
category: CategoryFormEnum;
|
|
33
|
-
typeChoiceView:
|
|
33
|
+
typeChoiceView: VariantViewEnum;
|
|
34
34
|
typeButtonAction: TypeButtonAction;
|
|
35
35
|
measurementUnit: string;
|
|
36
36
|
options: IQuestionOption[];
|
|
@@ -225,7 +225,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
225
225
|
column?: number | null | undefined;
|
|
226
226
|
typeAnswer?: string | null | undefined;
|
|
227
227
|
defaultAnswer?: string | null | undefined;
|
|
228
|
-
|
|
228
|
+
variantView?: string | null | undefined;
|
|
229
229
|
typeButtonAction?: string | null | undefined;
|
|
230
230
|
measurementUnit?: string | null | undefined;
|
|
231
231
|
formulaToAnswer?: string | null | undefined;
|
|
@@ -310,7 +310,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
310
310
|
column?: number | null | undefined;
|
|
311
311
|
typeAnswer?: string | null | undefined;
|
|
312
312
|
defaultAnswer?: string | null | undefined;
|
|
313
|
-
|
|
313
|
+
variantView?: string | null | undefined;
|
|
314
314
|
typeButtonAction?: string | null | undefined;
|
|
315
315
|
measurementUnit?: string | null | undefined;
|
|
316
316
|
formulaToAnswer?: string | null | undefined;
|
|
@@ -395,7 +395,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
395
395
|
column?: number | null | undefined;
|
|
396
396
|
typeAnswer?: string | null | undefined;
|
|
397
397
|
defaultAnswer?: string | null | undefined;
|
|
398
|
-
|
|
398
|
+
variantView?: string | null | undefined;
|
|
399
399
|
typeButtonAction?: string | null | undefined;
|
|
400
400
|
measurementUnit?: string | null | undefined;
|
|
401
401
|
formulaToAnswer?: string | null | undefined;
|
|
@@ -49,7 +49,7 @@ exports.FormUnitSchema = new mongoose_1.Schema({
|
|
|
49
49
|
typeAnswer: { type: String, enum: enum_1.TypeAnswerEnum },
|
|
50
50
|
defaultAnswer: { type: String },
|
|
51
51
|
category: { type: String, enum: enum_1.CategoryFormEnum, required: true },
|
|
52
|
-
|
|
52
|
+
variantView: { type: String, enum: enum_1.VariantViewEnum },
|
|
53
53
|
typeButtonAction: { type: String, enum: enum_1.TypeButtonAction },
|
|
54
54
|
measurementUnit: { type: String },
|
|
55
55
|
options: { type: [exports.QuestionOptionSchema] },
|
package/dist/models/qa/QA.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Schema, Types } from "mongoose";
|
|
2
2
|
import { IDefault } from "../Default";
|
|
3
|
+
import { QAStatusEnum } from "../enum";
|
|
3
4
|
import { IForm } from "../form/Form";
|
|
4
5
|
import { IPatient } from "../patient/Patient";
|
|
5
6
|
import { IQAProgramming } from "./QAProgramming";
|
|
@@ -12,6 +13,7 @@ export interface IQA extends IDefault {
|
|
|
12
13
|
dueDate: Date;
|
|
13
14
|
sent: boolean;
|
|
14
15
|
code: string;
|
|
16
|
+
status: QAStatusEnum;
|
|
15
17
|
}
|
|
16
18
|
export declare const QASchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
17
19
|
timestamps: {
|
package/package.json
CHANGED