c2-clinical 1.0.168 → 1.0.169

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.
@@ -69,8 +69,8 @@ class ProcessAnswerFlowTester {
69
69
  }
70
70
  // formulaToAddDataset para graphicData
71
71
  if (relationed?.graphicData?.formulaToAddDataset) {
72
- relationed.graphicData.dataset = [
73
- ...(relationed.graphicData?.dataset || []),
72
+ relationed.graphicData.datasets = [
73
+ ...(relationed.graphicData?.datasets || []),
74
74
  ...ExecFormulaFlowTester_1.default.execute(relationed.graphicData.formulaToAddDataset, allQuestionsAnswereds, attendanceMetActivities)
75
75
  ];
76
76
  }
@@ -58,18 +58,18 @@ export declare const AnamneseAnswerSchema: Schema<any, import("mongoose").Model<
58
58
  requestGraphicData: Types.DocumentArray<{
59
59
  method: string;
60
60
  url: string;
61
- dataset?: any;
62
61
  body?: any;
62
+ dataset?: any;
63
63
  }, Types.Subdocument<Types.ObjectId, any, {
64
64
  method: string;
65
65
  url: string;
66
- dataset?: any;
67
66
  body?: any;
67
+ dataset?: any;
68
68
  }> & {
69
69
  method: string;
70
70
  url: string;
71
- dataset?: any;
72
71
  body?: any;
72
+ dataset?: any;
73
73
  }>;
74
74
  anamnese: {
75
75
  prototype?: Types.ObjectId | null | undefined;
@@ -128,18 +128,18 @@ export declare const AnamneseAnswerSchema: Schema<any, import("mongoose").Model<
128
128
  requestGraphicData: Types.DocumentArray<{
129
129
  method: string;
130
130
  url: string;
131
- dataset?: any;
132
131
  body?: any;
132
+ dataset?: any;
133
133
  }, Types.Subdocument<Types.ObjectId, any, {
134
134
  method: string;
135
135
  url: string;
136
- dataset?: any;
137
136
  body?: any;
137
+ dataset?: any;
138
138
  }> & {
139
139
  method: string;
140
140
  url: string;
141
- dataset?: any;
142
141
  body?: any;
142
+ dataset?: any;
143
143
  }>;
144
144
  anamnese: {
145
145
  prototype?: Types.ObjectId | null | undefined;
@@ -198,18 +198,18 @@ export declare const AnamneseAnswerSchema: Schema<any, import("mongoose").Model<
198
198
  requestGraphicData: Types.DocumentArray<{
199
199
  method: string;
200
200
  url: string;
201
- dataset?: any;
202
201
  body?: any;
202
+ dataset?: any;
203
203
  }, Types.Subdocument<Types.ObjectId, any, {
204
204
  method: string;
205
205
  url: string;
206
- dataset?: any;
207
206
  body?: any;
207
+ dataset?: any;
208
208
  }> & {
209
209
  method: string;
210
210
  url: string;
211
- dataset?: any;
212
211
  body?: any;
212
+ dataset?: any;
213
213
  }>;
214
214
  anamnese: {
215
215
  prototype?: Types.ObjectId | null | undefined;
@@ -66,18 +66,18 @@ export declare const AnthropometryAnswerSchema: Schema<any, import("mongoose").M
66
66
  requestGraphicData: Types.DocumentArray<{
67
67
  method: string;
68
68
  url: string;
69
- dataset?: any;
70
69
  body?: any;
70
+ dataset?: any;
71
71
  }, Types.Subdocument<Types.ObjectId, any, {
72
72
  method: string;
73
73
  url: string;
74
- dataset?: any;
75
74
  body?: any;
75
+ dataset?: any;
76
76
  }> & {
77
77
  method: string;
78
78
  url: string;
79
- dataset?: any;
80
79
  body?: any;
80
+ dataset?: any;
81
81
  }>;
82
82
  patient: {
83
83
  prototype?: Types.ObjectId | null | undefined;
@@ -151,18 +151,18 @@ export declare const AnthropometryAnswerSchema: Schema<any, import("mongoose").M
151
151
  requestGraphicData: Types.DocumentArray<{
152
152
  method: string;
153
153
  url: string;
154
- dataset?: any;
155
154
  body?: any;
155
+ dataset?: any;
156
156
  }, Types.Subdocument<Types.ObjectId, any, {
157
157
  method: string;
158
158
  url: string;
159
- dataset?: any;
160
159
  body?: any;
160
+ dataset?: any;
161
161
  }> & {
162
162
  method: string;
163
163
  url: string;
164
- dataset?: any;
165
164
  body?: any;
165
+ dataset?: any;
166
166
  }>;
167
167
  patient: {
168
168
  prototype?: Types.ObjectId | null | undefined;
@@ -236,18 +236,18 @@ export declare const AnthropometryAnswerSchema: Schema<any, import("mongoose").M
236
236
  requestGraphicData: Types.DocumentArray<{
237
237
  method: string;
238
238
  url: string;
239
- dataset?: any;
240
239
  body?: any;
240
+ dataset?: any;
241
241
  }, Types.Subdocument<Types.ObjectId, any, {
242
242
  method: string;
243
243
  url: string;
244
- dataset?: any;
245
244
  body?: any;
245
+ dataset?: any;
246
246
  }> & {
247
247
  method: string;
248
248
  url: string;
249
- dataset?: any;
250
249
  body?: any;
250
+ dataset?: any;
251
251
  }>;
252
252
  patient: {
253
253
  prototype?: Types.ObjectId | null | undefined;
@@ -118,7 +118,7 @@ export interface IQuestionOption {
118
118
  }
119
119
  export interface IGraphicData {
120
120
  [key: string]: any;
121
- dataset: any[];
121
+ datasets: any[];
122
122
  formulaToAddDataset: string;
123
123
  }
124
124
  export interface IRequestGraphicData {
@@ -132,18 +132,18 @@ export declare const RequestGraphicDataSchema: Schema<any, import("mongoose").Mo
132
132
  }, {
133
133
  method: string;
134
134
  url: string;
135
- dataset?: any;
136
135
  body?: any;
136
+ dataset?: any;
137
137
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
138
138
  method: string;
139
139
  url: string;
140
- dataset?: any;
141
140
  body?: any;
141
+ dataset?: any;
142
142
  }>, {}> & import("mongoose").FlatRecord<{
143
143
  method: string;
144
144
  url: string;
145
- dataset?: any;
146
145
  body?: any;
146
+ dataset?: any;
147
147
  }> & {
148
148
  _id: Types.ObjectId;
149
149
  } & {
@@ -276,18 +276,18 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
276
276
  requestGraphicData: Types.DocumentArray<{
277
277
  method: string;
278
278
  url: string;
279
- dataset?: any;
280
279
  body?: any;
280
+ dataset?: any;
281
281
  }, Types.Subdocument<Types.ObjectId, any, {
282
282
  method: string;
283
283
  url: string;
284
- dataset?: any;
285
284
  body?: any;
285
+ dataset?: any;
286
286
  }> & {
287
287
  method: string;
288
288
  url: string;
289
- dataset?: any;
290
289
  body?: any;
290
+ dataset?: any;
291
291
  }>;
292
292
  tips: Types.DocumentArray<{
293
293
  type: string;
@@ -434,18 +434,18 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
434
434
  requestGraphicData: Types.DocumentArray<{
435
435
  method: string;
436
436
  url: string;
437
- dataset?: any;
438
437
  body?: any;
438
+ dataset?: any;
439
439
  }, Types.Subdocument<Types.ObjectId, any, {
440
440
  method: string;
441
441
  url: string;
442
- dataset?: any;
443
442
  body?: any;
443
+ dataset?: any;
444
444
  }> & {
445
445
  method: string;
446
446
  url: string;
447
- dataset?: any;
448
447
  body?: any;
448
+ dataset?: any;
449
449
  }>;
450
450
  tips: Types.DocumentArray<{
451
451
  type: string;
@@ -592,18 +592,18 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
592
592
  requestGraphicData: Types.DocumentArray<{
593
593
  method: string;
594
594
  url: string;
595
- dataset?: any;
596
595
  body?: any;
596
+ dataset?: any;
597
597
  }, Types.Subdocument<Types.ObjectId, any, {
598
598
  method: string;
599
599
  url: string;
600
- dataset?: any;
601
600
  body?: any;
601
+ dataset?: any;
602
602
  }> & {
603
603
  method: string;
604
604
  url: string;
605
- dataset?: any;
606
605
  body?: any;
606
+ dataset?: any;
607
607
  }>;
608
608
  tips: Types.DocumentArray<{
609
609
  type: string;
@@ -58,18 +58,18 @@ export declare const QAAnswerSchema: Schema<any, import("mongoose").Model<any, a
58
58
  requestGraphicData: Types.DocumentArray<{
59
59
  method: string;
60
60
  url: string;
61
- dataset?: any;
62
61
  body?: any;
62
+ dataset?: any;
63
63
  }, Types.Subdocument<Types.ObjectId, any, {
64
64
  method: string;
65
65
  url: string;
66
- dataset?: any;
67
66
  body?: any;
67
+ dataset?: any;
68
68
  }> & {
69
69
  method: string;
70
70
  url: string;
71
- dataset?: any;
72
71
  body?: any;
72
+ dataset?: any;
73
73
  }>;
74
74
  qa: {
75
75
  prototype?: Types.ObjectId | null | undefined;
@@ -128,18 +128,18 @@ export declare const QAAnswerSchema: Schema<any, import("mongoose").Model<any, a
128
128
  requestGraphicData: Types.DocumentArray<{
129
129
  method: string;
130
130
  url: string;
131
- dataset?: any;
132
131
  body?: any;
132
+ dataset?: any;
133
133
  }, Types.Subdocument<Types.ObjectId, any, {
134
134
  method: string;
135
135
  url: string;
136
- dataset?: any;
137
136
  body?: any;
137
+ dataset?: any;
138
138
  }> & {
139
139
  method: string;
140
140
  url: string;
141
- dataset?: any;
142
141
  body?: any;
142
+ dataset?: any;
143
143
  }>;
144
144
  qa: {
145
145
  prototype?: Types.ObjectId | null | undefined;
@@ -198,18 +198,18 @@ export declare const QAAnswerSchema: Schema<any, import("mongoose").Model<any, a
198
198
  requestGraphicData: Types.DocumentArray<{
199
199
  method: string;
200
200
  url: string;
201
- dataset?: any;
202
201
  body?: any;
202
+ dataset?: any;
203
203
  }, Types.Subdocument<Types.ObjectId, any, {
204
204
  method: string;
205
205
  url: string;
206
- dataset?: any;
207
206
  body?: any;
207
+ dataset?: any;
208
208
  }> & {
209
209
  method: string;
210
210
  url: string;
211
- dataset?: any;
212
211
  body?: any;
212
+ dataset?: any;
213
213
  }>;
214
214
  qa: {
215
215
  prototype?: Types.ObjectId | null | undefined;
@@ -47,18 +47,18 @@ export declare const QPCAnswerSchema: Schema<any, import("mongoose").Model<any,
47
47
  requestGraphicData: Types.DocumentArray<{
48
48
  method: string;
49
49
  url: string;
50
- dataset?: any;
51
50
  body?: any;
51
+ dataset?: any;
52
52
  }, Types.Subdocument<Types.ObjectId, any, {
53
53
  method: string;
54
54
  url: string;
55
- dataset?: any;
56
55
  body?: any;
56
+ dataset?: any;
57
57
  }> & {
58
58
  method: string;
59
59
  url: string;
60
- dataset?: any;
61
60
  body?: any;
61
+ dataset?: any;
62
62
  }>;
63
63
  qpc: {
64
64
  prototype?: Types.ObjectId | null | undefined;
@@ -108,18 +108,18 @@ export declare const QPCAnswerSchema: Schema<any, import("mongoose").Model<any,
108
108
  requestGraphicData: Types.DocumentArray<{
109
109
  method: string;
110
110
  url: string;
111
- dataset?: any;
112
111
  body?: any;
112
+ dataset?: any;
113
113
  }, Types.Subdocument<Types.ObjectId, any, {
114
114
  method: string;
115
115
  url: string;
116
- dataset?: any;
117
116
  body?: any;
117
+ dataset?: any;
118
118
  }> & {
119
119
  method: string;
120
120
  url: string;
121
- dataset?: any;
122
121
  body?: any;
122
+ dataset?: any;
123
123
  }>;
124
124
  qpc: {
125
125
  prototype?: Types.ObjectId | null | undefined;
@@ -169,18 +169,18 @@ export declare const QPCAnswerSchema: Schema<any, import("mongoose").Model<any,
169
169
  requestGraphicData: Types.DocumentArray<{
170
170
  method: string;
171
171
  url: string;
172
- dataset?: any;
173
172
  body?: any;
173
+ dataset?: any;
174
174
  }, Types.Subdocument<Types.ObjectId, any, {
175
175
  method: string;
176
176
  url: string;
177
- dataset?: any;
178
177
  body?: any;
178
+ dataset?: any;
179
179
  }> & {
180
180
  method: string;
181
181
  url: string;
182
- dataset?: any;
183
182
  body?: any;
183
+ dataset?: any;
184
184
  }>;
185
185
  qpc: {
186
186
  prototype?: Types.ObjectId | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-clinical",
3
- "version": "1.0.168",
3
+ "version": "1.0.169",
4
4
  "description": "Biblioteca Typescript para API NodeJS",
5
5
  "repository": "https://github.com/cabralsilva/c2-clinical.git",
6
6
  "author": "Daniel Cabral <cabralconsultoriaemsoftware@gmail.com>",