c2-clinical 1.0.33 → 1.0.35
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.
|
@@ -55,32 +55,32 @@ export declare enum RecurrenceDaysOfMonth {
|
|
|
55
55
|
export declare const RecurrenceSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
56
56
|
_id: false;
|
|
57
57
|
}, {
|
|
58
|
+
intervalOfPeriods: number;
|
|
58
59
|
daysOfWeek: string[];
|
|
59
60
|
daysOfMonth: number[];
|
|
60
61
|
specificsDate: any;
|
|
61
62
|
code?: string | null | undefined;
|
|
62
63
|
period?: string | null | undefined;
|
|
63
|
-
intervalOfPeriods?: number | null | undefined;
|
|
64
64
|
intervalInDays?: number | null | undefined;
|
|
65
65
|
repeatUntilXBookings?: number | null | undefined;
|
|
66
66
|
repeatUntilDate?: NativeDate | null | undefined;
|
|
67
67
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
68
|
+
intervalOfPeriods: number;
|
|
68
69
|
daysOfWeek: string[];
|
|
69
70
|
daysOfMonth: number[];
|
|
70
71
|
specificsDate: any;
|
|
71
72
|
code?: string | null | undefined;
|
|
72
73
|
period?: string | null | undefined;
|
|
73
|
-
intervalOfPeriods?: number | null | undefined;
|
|
74
74
|
intervalInDays?: number | null | undefined;
|
|
75
75
|
repeatUntilXBookings?: number | null | undefined;
|
|
76
76
|
repeatUntilDate?: NativeDate | null | undefined;
|
|
77
77
|
}>, {}> & mongoose.FlatRecord<{
|
|
78
|
+
intervalOfPeriods: number;
|
|
78
79
|
daysOfWeek: string[];
|
|
79
80
|
daysOfMonth: number[];
|
|
80
81
|
specificsDate: any;
|
|
81
82
|
code?: string | null | undefined;
|
|
82
83
|
period?: string | null | undefined;
|
|
83
|
-
intervalOfPeriods?: number | null | undefined;
|
|
84
84
|
intervalInDays?: number | null | undefined;
|
|
85
85
|
repeatUntilXBookings?: number | null | undefined;
|
|
86
86
|
repeatUntilDate?: NativeDate | null | undefined;
|
|
@@ -94,7 +94,7 @@ var RecurrenceDaysOfMonth;
|
|
|
94
94
|
exports.RecurrenceSchema = new mongoose.Schema({
|
|
95
95
|
code: { type: String },
|
|
96
96
|
period: { type: String, enum: RecurrencePeriod },
|
|
97
|
-
intervalOfPeriods: { type: Number },
|
|
97
|
+
intervalOfPeriods: { type: Number, default: 1 },
|
|
98
98
|
intervalInDays: { type: Number },
|
|
99
99
|
repeatUntilXBookings: { type: Number },
|
|
100
100
|
repeatUntilDate: { type: Date },
|
|
@@ -26,68 +26,68 @@ export declare const QAProgrammingSchema: Schema<any, import("mongoose").Model<a
|
|
|
26
26
|
account: any;
|
|
27
27
|
form: any;
|
|
28
28
|
patient: any;
|
|
29
|
+
sendOnCreate: any;
|
|
29
30
|
notifyPatientChannel: string[];
|
|
31
|
+
notifyOwnerIfDued: any;
|
|
32
|
+
notifyOwnerReactiveOnEnd: any;
|
|
30
33
|
code?: string | null | undefined;
|
|
31
34
|
recurrence?: {
|
|
35
|
+
intervalOfPeriods: number;
|
|
32
36
|
daysOfWeek: string[];
|
|
33
37
|
daysOfMonth: number[];
|
|
34
38
|
specificsDate: any;
|
|
35
39
|
code?: string | null | undefined;
|
|
36
40
|
period?: string | null | undefined;
|
|
37
|
-
intervalOfPeriods?: number | null | undefined;
|
|
38
41
|
intervalInDays?: number | null | undefined;
|
|
39
42
|
repeatUntilXBookings?: number | null | undefined;
|
|
40
43
|
repeatUntilDate?: NativeDate | null | undefined;
|
|
41
44
|
} | null | undefined;
|
|
42
45
|
daysToRememberPatient?: number | null | undefined;
|
|
43
|
-
sendOnCreate?: any;
|
|
44
46
|
initSendDateTime?: NativeDate | null | undefined;
|
|
45
|
-
notifyOwnerIfDued?: any;
|
|
46
|
-
notifyOwnerReactiveOnEnd?: any;
|
|
47
47
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
|
|
48
48
|
account: any;
|
|
49
49
|
form: any;
|
|
50
50
|
patient: any;
|
|
51
|
+
sendOnCreate: any;
|
|
51
52
|
notifyPatientChannel: string[];
|
|
53
|
+
notifyOwnerIfDued: any;
|
|
54
|
+
notifyOwnerReactiveOnEnd: any;
|
|
52
55
|
code?: string | null | undefined;
|
|
53
56
|
recurrence?: {
|
|
57
|
+
intervalOfPeriods: number;
|
|
54
58
|
daysOfWeek: string[];
|
|
55
59
|
daysOfMonth: number[];
|
|
56
60
|
specificsDate: any;
|
|
57
61
|
code?: string | null | undefined;
|
|
58
62
|
period?: string | null | undefined;
|
|
59
|
-
intervalOfPeriods?: number | null | undefined;
|
|
60
63
|
intervalInDays?: number | null | undefined;
|
|
61
64
|
repeatUntilXBookings?: number | null | undefined;
|
|
62
65
|
repeatUntilDate?: NativeDate | null | undefined;
|
|
63
66
|
} | null | undefined;
|
|
64
67
|
daysToRememberPatient?: number | null | undefined;
|
|
65
|
-
sendOnCreate?: any;
|
|
66
68
|
initSendDateTime?: NativeDate | null | undefined;
|
|
67
|
-
notifyOwnerIfDued?: any;
|
|
68
|
-
notifyOwnerReactiveOnEnd?: any;
|
|
69
69
|
}>, {}> & import("mongoose").FlatRecord<{} & {
|
|
70
70
|
account: any;
|
|
71
71
|
form: any;
|
|
72
72
|
patient: any;
|
|
73
|
+
sendOnCreate: any;
|
|
73
74
|
notifyPatientChannel: string[];
|
|
75
|
+
notifyOwnerIfDued: any;
|
|
76
|
+
notifyOwnerReactiveOnEnd: any;
|
|
74
77
|
code?: string | null | undefined;
|
|
75
78
|
recurrence?: {
|
|
79
|
+
intervalOfPeriods: number;
|
|
76
80
|
daysOfWeek: string[];
|
|
77
81
|
daysOfMonth: number[];
|
|
78
82
|
specificsDate: any;
|
|
79
83
|
code?: string | null | undefined;
|
|
80
84
|
period?: string | null | undefined;
|
|
81
|
-
intervalOfPeriods?: number | null | undefined;
|
|
82
85
|
intervalInDays?: number | null | undefined;
|
|
83
86
|
repeatUntilXBookings?: number | null | undefined;
|
|
84
87
|
repeatUntilDate?: NativeDate | null | undefined;
|
|
85
88
|
} | null | undefined;
|
|
86
89
|
daysToRememberPatient?: number | null | undefined;
|
|
87
|
-
sendOnCreate?: any;
|
|
88
90
|
initSendDateTime?: NativeDate | null | undefined;
|
|
89
|
-
notifyOwnerIfDued?: any;
|
|
90
|
-
notifyOwnerReactiveOnEnd?: any;
|
|
91
91
|
}> & {
|
|
92
92
|
_id: Types.ObjectId;
|
|
93
93
|
} & {
|
|
@@ -11,11 +11,11 @@ exports.QAProgrammingSchema = new mongoose_1.Schema({
|
|
|
11
11
|
recurrence: { type: Recurrence_1.RecurrenceSchema },
|
|
12
12
|
code: { type: String },
|
|
13
13
|
daysToRememberPatient: { type: Number },
|
|
14
|
-
sendOnCreate: { type: Boolean },
|
|
14
|
+
sendOnCreate: { type: Boolean, default: false },
|
|
15
15
|
initSendDateTime: { type: Date },
|
|
16
16
|
notifyPatientChannel: { type: [String], enum: enum_1.ChannelNotificationEnum },
|
|
17
|
-
notifyOwnerIfDued: { type: Boolean },
|
|
18
|
-
notifyOwnerReactiveOnEnd: { type: Boolean }
|
|
17
|
+
notifyOwnerIfDued: { type: Boolean, default: false },
|
|
18
|
+
notifyOwnerReactiveOnEnd: { type: Boolean, default: false }
|
|
19
19
|
}, {
|
|
20
20
|
timestamps: { createdAt: "createdAtDateTime", updatedAt: "updatedAtDateTime" }
|
|
21
21
|
});
|
package/package.json
CHANGED