c2-clinical 1.0.133 → 1.0.135
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.
|
@@ -6,7 +6,7 @@ export interface IAnthropometry extends IDefault {
|
|
|
6
6
|
patient: Types.ObjectId | IPatient;
|
|
7
7
|
form: Types.ObjectId | IForm;
|
|
8
8
|
showingToPatient: boolean;
|
|
9
|
-
|
|
9
|
+
anthropometryDateTime: Date;
|
|
10
10
|
code: string;
|
|
11
11
|
}
|
|
12
12
|
export declare const AnthropometrySchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
@@ -44,7 +44,7 @@ export declare const AnthropometrySchema: Schema<any, import("mongoose").Model<a
|
|
|
44
44
|
};
|
|
45
45
|
showingToPatient: boolean;
|
|
46
46
|
code?: string | null | undefined;
|
|
47
|
-
|
|
47
|
+
anthropometryDateTime?: NativeDate | null | undefined;
|
|
48
48
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
|
|
49
49
|
account: {
|
|
50
50
|
prototype?: Types.ObjectId | null | undefined;
|
|
@@ -75,7 +75,7 @@ export declare const AnthropometrySchema: Schema<any, import("mongoose").Model<a
|
|
|
75
75
|
};
|
|
76
76
|
showingToPatient: boolean;
|
|
77
77
|
code?: string | null | undefined;
|
|
78
|
-
|
|
78
|
+
anthropometryDateTime?: NativeDate | null | undefined;
|
|
79
79
|
}>, {}> & import("mongoose").FlatRecord<{} & {
|
|
80
80
|
account: {
|
|
81
81
|
prototype?: Types.ObjectId | null | undefined;
|
|
@@ -106,7 +106,7 @@ export declare const AnthropometrySchema: Schema<any, import("mongoose").Model<a
|
|
|
106
106
|
};
|
|
107
107
|
showingToPatient: boolean;
|
|
108
108
|
code?: string | null | undefined;
|
|
109
|
-
|
|
109
|
+
anthropometryDateTime?: NativeDate | null | undefined;
|
|
110
110
|
}> & {
|
|
111
111
|
_id: Types.ObjectId;
|
|
112
112
|
} & {
|
|
@@ -7,7 +7,7 @@ exports.AnthropometrySchema = new mongoose_1.Schema({
|
|
|
7
7
|
patient: { type: mongoose_1.Types.ObjectId, ref: "patient", required: true },
|
|
8
8
|
form: { type: mongoose_1.Types.ObjectId, ref: "form", required: true },
|
|
9
9
|
showingToPatient: { type: Boolean, default: false },
|
|
10
|
-
|
|
10
|
+
anthropometryDateTime: { type: Date },
|
|
11
11
|
code: { type: String }
|
|
12
12
|
}, {
|
|
13
13
|
timestamps: { createdAt: "createdAtDateTime", updatedAt: "updatedAtDateTime" }
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Schema, Types } from "mongoose";
|
|
2
2
|
import { IAnswer } from "../Answer";
|
|
3
3
|
import { IForm } from "../form/Form";
|
|
4
|
+
import { IAnthropometry } from "./Anthropometry";
|
|
4
5
|
export interface IAnthropometryAnswer extends IAnswer {
|
|
5
6
|
form: Types.ObjectId | IForm;
|
|
7
|
+
anthropometry: Types.ObjectId | IAnthropometry;
|
|
6
8
|
}
|
|
7
9
|
export declare const AnthropometryAnswerSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
8
10
|
timestamps: {
|
|
@@ -69,6 +71,15 @@ export declare const AnthropometryAnswerSchema: Schema<any, import("mongoose").M
|
|
|
69
71
|
body?: any;
|
|
70
72
|
dataset?: any;
|
|
71
73
|
}>;
|
|
74
|
+
anthropometry: {
|
|
75
|
+
prototype?: Types.ObjectId | null | undefined;
|
|
76
|
+
cacheHexString?: unknown;
|
|
77
|
+
generate?: {} | null | undefined;
|
|
78
|
+
createFromTime?: {} | null | undefined;
|
|
79
|
+
createFromHexString?: {} | null | undefined;
|
|
80
|
+
createFromBase64?: {} | null | undefined;
|
|
81
|
+
isValid?: {} | null | undefined;
|
|
82
|
+
};
|
|
72
83
|
answer?: any;
|
|
73
84
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
|
|
74
85
|
account: {
|
|
@@ -130,6 +141,15 @@ export declare const AnthropometryAnswerSchema: Schema<any, import("mongoose").M
|
|
|
130
141
|
body?: any;
|
|
131
142
|
dataset?: any;
|
|
132
143
|
}>;
|
|
144
|
+
anthropometry: {
|
|
145
|
+
prototype?: Types.ObjectId | null | undefined;
|
|
146
|
+
cacheHexString?: unknown;
|
|
147
|
+
generate?: {} | null | undefined;
|
|
148
|
+
createFromTime?: {} | null | undefined;
|
|
149
|
+
createFromHexString?: {} | null | undefined;
|
|
150
|
+
createFromBase64?: {} | null | undefined;
|
|
151
|
+
isValid?: {} | null | undefined;
|
|
152
|
+
};
|
|
133
153
|
answer?: any;
|
|
134
154
|
}>, {}> & import("mongoose").FlatRecord<{} & {
|
|
135
155
|
account: {
|
|
@@ -191,6 +211,15 @@ export declare const AnthropometryAnswerSchema: Schema<any, import("mongoose").M
|
|
|
191
211
|
body?: any;
|
|
192
212
|
dataset?: any;
|
|
193
213
|
}>;
|
|
214
|
+
anthropometry: {
|
|
215
|
+
prototype?: Types.ObjectId | null | undefined;
|
|
216
|
+
cacheHexString?: unknown;
|
|
217
|
+
generate?: {} | null | undefined;
|
|
218
|
+
createFromTime?: {} | null | undefined;
|
|
219
|
+
createFromHexString?: {} | null | undefined;
|
|
220
|
+
createFromBase64?: {} | null | undefined;
|
|
221
|
+
isValid?: {} | null | undefined;
|
|
222
|
+
};
|
|
194
223
|
answer?: any;
|
|
195
224
|
}> & {
|
|
196
225
|
_id: Types.ObjectId;
|
|
@@ -5,6 +5,7 @@ const mongoose_1 = require("mongoose");
|
|
|
5
5
|
const FormUnit_1 = require("../form/FormUnit");
|
|
6
6
|
exports.AnthropometryAnswerSchema = new mongoose_1.Schema({
|
|
7
7
|
account: { type: mongoose_1.Types.ObjectId, ref: "account", required: true },
|
|
8
|
+
anthropometry: { type: mongoose_1.Types.ObjectId, ref: "anthropometry", required: true },
|
|
8
9
|
form: { type: mongoose_1.Types.ObjectId, ref: "form", required: true },
|
|
9
10
|
reference: { type: mongoose_1.Types.ObjectId, ref: "form-unit", required: true },
|
|
10
11
|
answer: { type: mongoose_1.Schema.Types.Mixed },
|
package/package.json
CHANGED