c2-clinical 1.0.164 → 1.0.166
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.
|
@@ -31,6 +31,10 @@ class ProcessAnswerFlowTester {
|
|
|
31
31
|
relationed.description = ExecFormulaFlowTester_1.default.execute(relationed.formulaToDescription, allQuestionsAnswereds, attendanceMetActivities);
|
|
32
32
|
}
|
|
33
33
|
// formulaToEnable
|
|
34
|
+
if (relationed.formulaToEnable) {
|
|
35
|
+
relationed.enable = ExecFormulaFlowTester_1.default.execute(relationed.formulaToEnable, allQuestionsAnswereds, attendanceMetActivities);
|
|
36
|
+
}
|
|
37
|
+
// formulaToShow
|
|
34
38
|
if (relationed.formulaToShow) {
|
|
35
39
|
relationed.show = ExecFormulaFlowTester_1.default.execute(relationed.formulaToShow, allQuestionsAnswereds, attendanceMetActivities);
|
|
36
40
|
}
|
|
@@ -18,6 +18,7 @@ export interface IPatient extends IDefault {
|
|
|
18
18
|
tags: string[];
|
|
19
19
|
active: boolean;
|
|
20
20
|
sendEmailAsWelcome: boolean;
|
|
21
|
+
isBariatric: boolean;
|
|
21
22
|
appConfig: IPatientAppConfig;
|
|
22
23
|
addresses: IAddress[];
|
|
23
24
|
}
|
|
@@ -71,6 +72,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
71
72
|
}>;
|
|
72
73
|
socialId: string;
|
|
73
74
|
tags: string[];
|
|
75
|
+
isBariatric: boolean;
|
|
74
76
|
sendEmailAsWelcome: boolean;
|
|
75
77
|
addresses: import("mongoose").Types.DocumentArray<{
|
|
76
78
|
description: string;
|
|
@@ -139,6 +141,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
139
141
|
}>;
|
|
140
142
|
socialId: string;
|
|
141
143
|
tags: string[];
|
|
144
|
+
isBariatric: boolean;
|
|
142
145
|
sendEmailAsWelcome: boolean;
|
|
143
146
|
addresses: import("mongoose").Types.DocumentArray<{
|
|
144
147
|
description: string;
|
|
@@ -207,6 +210,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
207
210
|
}>;
|
|
208
211
|
socialId: string;
|
|
209
212
|
tags: string[];
|
|
213
|
+
isBariatric: boolean;
|
|
210
214
|
sendEmailAsWelcome: boolean;
|
|
211
215
|
addresses: import("mongoose").Types.DocumentArray<{
|
|
212
216
|
description: string;
|
|
@@ -21,6 +21,7 @@ exports.PatientSchema = new mongoose_1.Schema({
|
|
|
21
21
|
socialId: { type: String, required: true },
|
|
22
22
|
email: { type: String },
|
|
23
23
|
tags: { type: [String] },
|
|
24
|
+
isBariatric: { type: Boolean, default: false },
|
|
24
25
|
active: { type: Boolean, default: true },
|
|
25
26
|
sendEmailAsWelcome: { type: Boolean, default: false },
|
|
26
27
|
appConfig: { type: exports.PatientAppConfigSchema },
|
package/package.json
CHANGED