c2-clinical 1.0.139 → 1.0.140
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.
|
@@ -2,9 +2,11 @@ import { Schema, Types } from "mongoose";
|
|
|
2
2
|
import { IAnswer } from "../Answer";
|
|
3
3
|
import { IForm } from "../form/Form";
|
|
4
4
|
import { IAnthropometry } from "./Anthropometry";
|
|
5
|
+
import { IPatient } from "../patient/Patient";
|
|
5
6
|
export interface IAnthropometryAnswer extends IAnswer {
|
|
6
7
|
form: Types.ObjectId | IForm;
|
|
7
8
|
anthropometry: Types.ObjectId | IAnthropometry;
|
|
9
|
+
patient: Types.ObjectId | IPatient;
|
|
8
10
|
}
|
|
9
11
|
export declare const AnthropometryAnswerSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
10
12
|
timestamps: {
|
|
@@ -74,6 +76,15 @@ export declare const AnthropometryAnswerSchema: Schema<any, import("mongoose").M
|
|
|
74
76
|
body?: any;
|
|
75
77
|
dataset?: any;
|
|
76
78
|
}>;
|
|
79
|
+
patient: {
|
|
80
|
+
prototype?: Types.ObjectId | null | undefined;
|
|
81
|
+
cacheHexString?: unknown;
|
|
82
|
+
generate?: {} | null | undefined;
|
|
83
|
+
createFromTime?: {} | null | undefined;
|
|
84
|
+
createFromHexString?: {} | null | undefined;
|
|
85
|
+
createFromBase64?: {} | null | undefined;
|
|
86
|
+
isValid?: {} | null | undefined;
|
|
87
|
+
};
|
|
77
88
|
anthropometry: {
|
|
78
89
|
prototype?: Types.ObjectId | null | undefined;
|
|
79
90
|
cacheHexString?: unknown;
|
|
@@ -147,6 +158,15 @@ export declare const AnthropometryAnswerSchema: Schema<any, import("mongoose").M
|
|
|
147
158
|
body?: any;
|
|
148
159
|
dataset?: any;
|
|
149
160
|
}>;
|
|
161
|
+
patient: {
|
|
162
|
+
prototype?: Types.ObjectId | null | undefined;
|
|
163
|
+
cacheHexString?: unknown;
|
|
164
|
+
generate?: {} | null | undefined;
|
|
165
|
+
createFromTime?: {} | null | undefined;
|
|
166
|
+
createFromHexString?: {} | null | undefined;
|
|
167
|
+
createFromBase64?: {} | null | undefined;
|
|
168
|
+
isValid?: {} | null | undefined;
|
|
169
|
+
};
|
|
150
170
|
anthropometry: {
|
|
151
171
|
prototype?: Types.ObjectId | null | undefined;
|
|
152
172
|
cacheHexString?: unknown;
|
|
@@ -220,6 +240,15 @@ export declare const AnthropometryAnswerSchema: Schema<any, import("mongoose").M
|
|
|
220
240
|
body?: any;
|
|
221
241
|
dataset?: any;
|
|
222
242
|
}>;
|
|
243
|
+
patient: {
|
|
244
|
+
prototype?: Types.ObjectId | null | undefined;
|
|
245
|
+
cacheHexString?: unknown;
|
|
246
|
+
generate?: {} | null | undefined;
|
|
247
|
+
createFromTime?: {} | null | undefined;
|
|
248
|
+
createFromHexString?: {} | null | undefined;
|
|
249
|
+
createFromBase64?: {} | null | undefined;
|
|
250
|
+
isValid?: {} | null | undefined;
|
|
251
|
+
};
|
|
223
252
|
anthropometry: {
|
|
224
253
|
prototype?: Types.ObjectId | null | undefined;
|
|
225
254
|
cacheHexString?: unknown;
|
|
@@ -7,6 +7,7 @@ const enum_1 = require("../enum");
|
|
|
7
7
|
exports.AnthropometryAnswerSchema = new mongoose_1.Schema({
|
|
8
8
|
account: { type: mongoose_1.Types.ObjectId, ref: "account", required: true },
|
|
9
9
|
anthropometry: { type: mongoose_1.Types.ObjectId, ref: "anthropometry", required: true },
|
|
10
|
+
patient: { type: mongoose_1.Types.ObjectId, ref: "patient", required: true },
|
|
10
11
|
form: { type: mongoose_1.Types.ObjectId, ref: "form", required: true },
|
|
11
12
|
reference: { type: mongoose_1.Types.ObjectId, ref: "form-unit", required: true },
|
|
12
13
|
answer: { type: mongoose_1.Schema.Types.Mixed },
|
package/package.json
CHANGED