@metriport/api-sdk 17.2.1 → 17.3.0
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.
- package/package.json +3 -3
- package/dist/medical/models/cohort.d.ts +0 -320
- package/dist/medical/models/cohort.d.ts.map +0 -1
- package/dist/medical/models/cohort.js +0 -41
- package/dist/medical/models/cohort.js.map +0 -1
- package/dist/medical/models/patient-settings.d.ts +0 -28
- package/dist/medical/models/patient-settings.d.ts.map +0 -1
- package/dist/medical/models/patient-settings.js +0 -11
- package/dist/medical/models/patient-settings.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/api-sdk",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.3.0",
|
|
4
4
|
"description": "Metriport helps you access and manage health and medical data, through a single open source API.",
|
|
5
5
|
"author": "Metriport Inc. <contact@metriport.com>",
|
|
6
6
|
"homepage": "https://metriport.com/",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@medplum/fhirtypes": "^2.0.32",
|
|
61
61
|
"@metriport/commonwell-sdk": "^5.9.20",
|
|
62
|
-
"@metriport/shared": "^0.
|
|
62
|
+
"@metriport/shared": "^0.25.0",
|
|
63
63
|
"axios": "^1.8.2",
|
|
64
64
|
"dayjs": "^1.11.7",
|
|
65
65
|
"dotenv": "^16.3.1",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"ts-jest": "29.1.1",
|
|
79
79
|
"typescript": "^4.9.5"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "545553811a9873458d83080db6127fc420970c4c"
|
|
82
82
|
}
|
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const cohortMonitoringSchema: z.ZodObject<{
|
|
3
|
-
adt: z.ZodBoolean;
|
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
adt: boolean;
|
|
6
|
-
}, {
|
|
7
|
-
adt: boolean;
|
|
8
|
-
}>;
|
|
9
|
-
export declare const cohortCreateSchema: z.ZodObject<{
|
|
10
|
-
name: z.ZodString;
|
|
11
|
-
monitoring: z.ZodObject<{
|
|
12
|
-
adt: z.ZodBoolean;
|
|
13
|
-
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
adt: boolean;
|
|
15
|
-
}, {
|
|
16
|
-
adt: boolean;
|
|
17
|
-
}>;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
name: string;
|
|
20
|
-
monitoring: {
|
|
21
|
-
adt: boolean;
|
|
22
|
-
};
|
|
23
|
-
}, {
|
|
24
|
-
name: string;
|
|
25
|
-
monitoring: {
|
|
26
|
-
adt: boolean;
|
|
27
|
-
};
|
|
28
|
-
}>;
|
|
29
|
-
export declare const cohortUpdateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
30
|
-
name: z.ZodString;
|
|
31
|
-
monitoring: z.ZodOptional<z.ZodObject<{
|
|
32
|
-
adt: z.ZodBoolean;
|
|
33
|
-
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
adt: boolean;
|
|
35
|
-
}, {
|
|
36
|
-
adt: boolean;
|
|
37
|
-
}>>;
|
|
38
|
-
}, {
|
|
39
|
-
id: z.ZodString;
|
|
40
|
-
eTag: z.ZodOptional<z.ZodString>;
|
|
41
|
-
}>, "strip", z.ZodTypeAny, {
|
|
42
|
-
name: string;
|
|
43
|
-
id: string;
|
|
44
|
-
monitoring?: {
|
|
45
|
-
adt: boolean;
|
|
46
|
-
} | undefined;
|
|
47
|
-
eTag?: string | undefined;
|
|
48
|
-
}, {
|
|
49
|
-
name: string;
|
|
50
|
-
id: string;
|
|
51
|
-
monitoring?: {
|
|
52
|
-
adt: boolean;
|
|
53
|
-
} | undefined;
|
|
54
|
-
eTag?: string | undefined;
|
|
55
|
-
}>;
|
|
56
|
-
export declare const cohortDTOSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
57
|
-
name: z.ZodString;
|
|
58
|
-
monitoring: z.ZodObject<{
|
|
59
|
-
adt: z.ZodBoolean;
|
|
60
|
-
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
adt: boolean;
|
|
62
|
-
}, {
|
|
63
|
-
adt: boolean;
|
|
64
|
-
}>;
|
|
65
|
-
}, {
|
|
66
|
-
id: z.ZodString;
|
|
67
|
-
dateCreated: z.ZodOptional<z.ZodString>;
|
|
68
|
-
}>, "strip", z.ZodTypeAny, {
|
|
69
|
-
name: string;
|
|
70
|
-
monitoring: {
|
|
71
|
-
adt: boolean;
|
|
72
|
-
};
|
|
73
|
-
id: string;
|
|
74
|
-
dateCreated?: string | undefined;
|
|
75
|
-
}, {
|
|
76
|
-
name: string;
|
|
77
|
-
monitoring: {
|
|
78
|
-
adt: boolean;
|
|
79
|
-
};
|
|
80
|
-
id: string;
|
|
81
|
-
dateCreated?: string | undefined;
|
|
82
|
-
}>;
|
|
83
|
-
export declare const cohortWithCountDTOSchema: z.ZodObject<{
|
|
84
|
-
cohort: z.ZodObject<z.objectUtil.extendShape<{
|
|
85
|
-
name: z.ZodString;
|
|
86
|
-
monitoring: z.ZodObject<{
|
|
87
|
-
adt: z.ZodBoolean;
|
|
88
|
-
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
adt: boolean;
|
|
90
|
-
}, {
|
|
91
|
-
adt: boolean;
|
|
92
|
-
}>;
|
|
93
|
-
}, {
|
|
94
|
-
id: z.ZodString;
|
|
95
|
-
dateCreated: z.ZodOptional<z.ZodString>;
|
|
96
|
-
}>, "strip", z.ZodTypeAny, {
|
|
97
|
-
name: string;
|
|
98
|
-
monitoring: {
|
|
99
|
-
adt: boolean;
|
|
100
|
-
};
|
|
101
|
-
id: string;
|
|
102
|
-
dateCreated?: string | undefined;
|
|
103
|
-
}, {
|
|
104
|
-
name: string;
|
|
105
|
-
monitoring: {
|
|
106
|
-
adt: boolean;
|
|
107
|
-
};
|
|
108
|
-
id: string;
|
|
109
|
-
dateCreated?: string | undefined;
|
|
110
|
-
}>;
|
|
111
|
-
patientCount: z.ZodNumber;
|
|
112
|
-
}, "strip", z.ZodTypeAny, {
|
|
113
|
-
cohort: {
|
|
114
|
-
name: string;
|
|
115
|
-
monitoring: {
|
|
116
|
-
adt: boolean;
|
|
117
|
-
};
|
|
118
|
-
id: string;
|
|
119
|
-
dateCreated?: string | undefined;
|
|
120
|
-
};
|
|
121
|
-
patientCount: number;
|
|
122
|
-
}, {
|
|
123
|
-
cohort: {
|
|
124
|
-
name: string;
|
|
125
|
-
monitoring: {
|
|
126
|
-
adt: boolean;
|
|
127
|
-
};
|
|
128
|
-
id: string;
|
|
129
|
-
dateCreated?: string | undefined;
|
|
130
|
-
};
|
|
131
|
-
patientCount: number;
|
|
132
|
-
}>;
|
|
133
|
-
export declare const cohortWithPatientIdsAndCountDTOSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
134
|
-
cohort: z.ZodObject<z.objectUtil.extendShape<{
|
|
135
|
-
name: z.ZodString;
|
|
136
|
-
monitoring: z.ZodObject<{
|
|
137
|
-
adt: z.ZodBoolean;
|
|
138
|
-
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
adt: boolean;
|
|
140
|
-
}, {
|
|
141
|
-
adt: boolean;
|
|
142
|
-
}>;
|
|
143
|
-
}, {
|
|
144
|
-
id: z.ZodString;
|
|
145
|
-
dateCreated: z.ZodOptional<z.ZodString>;
|
|
146
|
-
}>, "strip", z.ZodTypeAny, {
|
|
147
|
-
name: string;
|
|
148
|
-
monitoring: {
|
|
149
|
-
adt: boolean;
|
|
150
|
-
};
|
|
151
|
-
id: string;
|
|
152
|
-
dateCreated?: string | undefined;
|
|
153
|
-
}, {
|
|
154
|
-
name: string;
|
|
155
|
-
monitoring: {
|
|
156
|
-
adt: boolean;
|
|
157
|
-
};
|
|
158
|
-
id: string;
|
|
159
|
-
dateCreated?: string | undefined;
|
|
160
|
-
}>;
|
|
161
|
-
patientCount: z.ZodNumber;
|
|
162
|
-
}, {
|
|
163
|
-
patientIds: z.ZodArray<z.ZodString, "many">;
|
|
164
|
-
}>, "strip", z.ZodTypeAny, {
|
|
165
|
-
cohort: {
|
|
166
|
-
name: string;
|
|
167
|
-
monitoring: {
|
|
168
|
-
adt: boolean;
|
|
169
|
-
};
|
|
170
|
-
id: string;
|
|
171
|
-
dateCreated?: string | undefined;
|
|
172
|
-
};
|
|
173
|
-
patientCount: number;
|
|
174
|
-
patientIds: string[];
|
|
175
|
-
}, {
|
|
176
|
-
cohort: {
|
|
177
|
-
name: string;
|
|
178
|
-
monitoring: {
|
|
179
|
-
adt: boolean;
|
|
180
|
-
};
|
|
181
|
-
id: string;
|
|
182
|
-
dateCreated?: string | undefined;
|
|
183
|
-
};
|
|
184
|
-
patientCount: number;
|
|
185
|
-
patientIds: string[];
|
|
186
|
-
}>;
|
|
187
|
-
export declare const cohortListResponseSchema: z.ZodObject<{
|
|
188
|
-
cohorts: z.ZodArray<z.ZodObject<{
|
|
189
|
-
cohort: z.ZodObject<z.objectUtil.extendShape<{
|
|
190
|
-
name: z.ZodString;
|
|
191
|
-
monitoring: z.ZodObject<{
|
|
192
|
-
adt: z.ZodBoolean;
|
|
193
|
-
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
adt: boolean;
|
|
195
|
-
}, {
|
|
196
|
-
adt: boolean;
|
|
197
|
-
}>;
|
|
198
|
-
}, {
|
|
199
|
-
id: z.ZodString;
|
|
200
|
-
dateCreated: z.ZodOptional<z.ZodString>;
|
|
201
|
-
}>, "strip", z.ZodTypeAny, {
|
|
202
|
-
name: string;
|
|
203
|
-
monitoring: {
|
|
204
|
-
adt: boolean;
|
|
205
|
-
};
|
|
206
|
-
id: string;
|
|
207
|
-
dateCreated?: string | undefined;
|
|
208
|
-
}, {
|
|
209
|
-
name: string;
|
|
210
|
-
monitoring: {
|
|
211
|
-
adt: boolean;
|
|
212
|
-
};
|
|
213
|
-
id: string;
|
|
214
|
-
dateCreated?: string | undefined;
|
|
215
|
-
}>;
|
|
216
|
-
patientCount: z.ZodNumber;
|
|
217
|
-
}, "strip", z.ZodTypeAny, {
|
|
218
|
-
cohort: {
|
|
219
|
-
name: string;
|
|
220
|
-
monitoring: {
|
|
221
|
-
adt: boolean;
|
|
222
|
-
};
|
|
223
|
-
id: string;
|
|
224
|
-
dateCreated?: string | undefined;
|
|
225
|
-
};
|
|
226
|
-
patientCount: number;
|
|
227
|
-
}, {
|
|
228
|
-
cohort: {
|
|
229
|
-
name: string;
|
|
230
|
-
monitoring: {
|
|
231
|
-
adt: boolean;
|
|
232
|
-
};
|
|
233
|
-
id: string;
|
|
234
|
-
dateCreated?: string | undefined;
|
|
235
|
-
};
|
|
236
|
-
patientCount: number;
|
|
237
|
-
}>, "many">;
|
|
238
|
-
}, "strip", z.ZodTypeAny, {
|
|
239
|
-
cohorts: {
|
|
240
|
-
cohort: {
|
|
241
|
-
name: string;
|
|
242
|
-
monitoring: {
|
|
243
|
-
adt: boolean;
|
|
244
|
-
};
|
|
245
|
-
id: string;
|
|
246
|
-
dateCreated?: string | undefined;
|
|
247
|
-
};
|
|
248
|
-
patientCount: number;
|
|
249
|
-
}[];
|
|
250
|
-
}, {
|
|
251
|
-
cohorts: {
|
|
252
|
-
cohort: {
|
|
253
|
-
name: string;
|
|
254
|
-
monitoring: {
|
|
255
|
-
adt: boolean;
|
|
256
|
-
};
|
|
257
|
-
id: string;
|
|
258
|
-
dateCreated?: string | undefined;
|
|
259
|
-
};
|
|
260
|
-
patientCount: number;
|
|
261
|
-
}[];
|
|
262
|
-
}>;
|
|
263
|
-
export declare const patientUnassignmentResponseSchema: z.ZodObject<{
|
|
264
|
-
message: z.ZodString;
|
|
265
|
-
unassignedCount: z.ZodNumber;
|
|
266
|
-
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
message: string;
|
|
268
|
-
unassignedCount: number;
|
|
269
|
-
}, {
|
|
270
|
-
message: string;
|
|
271
|
-
unassignedCount: number;
|
|
272
|
-
}>;
|
|
273
|
-
export declare const cohortSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
274
|
-
name: z.ZodString;
|
|
275
|
-
monitoring: z.ZodObject<{
|
|
276
|
-
adt: z.ZodBoolean;
|
|
277
|
-
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
adt: boolean;
|
|
279
|
-
}, {
|
|
280
|
-
adt: boolean;
|
|
281
|
-
}>;
|
|
282
|
-
}, {
|
|
283
|
-
id: z.ZodString;
|
|
284
|
-
eTag: z.ZodOptional<z.ZodString>;
|
|
285
|
-
}>, "strip", z.ZodTypeAny, {
|
|
286
|
-
name: string;
|
|
287
|
-
monitoring: {
|
|
288
|
-
adt: boolean;
|
|
289
|
-
};
|
|
290
|
-
id: string;
|
|
291
|
-
eTag?: string | undefined;
|
|
292
|
-
}, {
|
|
293
|
-
name: string;
|
|
294
|
-
monitoring: {
|
|
295
|
-
adt: boolean;
|
|
296
|
-
};
|
|
297
|
-
id: string;
|
|
298
|
-
eTag?: string | undefined;
|
|
299
|
-
}>;
|
|
300
|
-
export declare const cohortPatientIdsSchema: z.ZodObject<{
|
|
301
|
-
patientIds: z.ZodArray<z.ZodString, "many">;
|
|
302
|
-
}, "strip", z.ZodTypeAny, {
|
|
303
|
-
patientIds: string[];
|
|
304
|
-
}, {
|
|
305
|
-
patientIds: string[];
|
|
306
|
-
}>;
|
|
307
|
-
export type CohortCreate = z.infer<typeof cohortCreateSchema>;
|
|
308
|
-
export type Cohort = z.infer<typeof cohortSchema>;
|
|
309
|
-
export type CohortUpdate = z.infer<typeof cohortUpdateSchema>;
|
|
310
|
-
export type CohortDTO = z.infer<typeof cohortDTOSchema>;
|
|
311
|
-
export type CohortWithCountDTO = z.infer<typeof cohortWithCountDTOSchema>;
|
|
312
|
-
export type CohortWithPatientIdsAndCountDTO = z.infer<typeof cohortWithPatientIdsAndCountDTOSchema>;
|
|
313
|
-
export type CohortListResponse = z.infer<typeof cohortListResponseSchema>;
|
|
314
|
-
export type CohortPatientIds = z.infer<typeof cohortPatientIdsSchema>;
|
|
315
|
-
export type PatientAssignmentRequest = {
|
|
316
|
-
patientIds?: string[];
|
|
317
|
-
all?: boolean;
|
|
318
|
-
};
|
|
319
|
-
export type PatientUnassignmentResponse = z.infer<typeof patientUnassignmentResponseSchema>;
|
|
320
|
-
//# sourceMappingURL=cohort.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cohort.d.ts","sourceRoot":"","sources":["../../../src/medical/models/cohort.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;EAG7B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;EAKL,CAAC;AAE3B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;EAK3B,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIjD,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEnC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;EAG5C,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6C,CAAC;AAEvE,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAClD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AACpG,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cohortPatientIdsSchema = exports.cohortSchema = exports.patientUnassignmentResponseSchema = exports.cohortListResponseSchema = exports.cohortWithPatientIdsAndCountDTOSchema = exports.cohortWithCountDTOSchema = exports.cohortDTOSchema = exports.cohortUpdateSchema = exports.cohortCreateSchema = exports.cohortMonitoringSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const base_update_1 = require("./common/base-update");
|
|
6
|
-
exports.cohortMonitoringSchema = zod_1.z.object({
|
|
7
|
-
adt: zod_1.z.boolean(),
|
|
8
|
-
});
|
|
9
|
-
exports.cohortCreateSchema = zod_1.z.object({
|
|
10
|
-
name: zod_1.z.string(),
|
|
11
|
-
monitoring: exports.cohortMonitoringSchema,
|
|
12
|
-
});
|
|
13
|
-
exports.cohortUpdateSchema = zod_1.z
|
|
14
|
-
.object({
|
|
15
|
-
name: zod_1.z.string(),
|
|
16
|
-
monitoring: exports.cohortMonitoringSchema.optional(),
|
|
17
|
-
})
|
|
18
|
-
.merge(base_update_1.baseUpdateSchema);
|
|
19
|
-
exports.cohortDTOSchema = exports.cohortCreateSchema.merge(zod_1.z.object({
|
|
20
|
-
id: zod_1.z.string().uuid(),
|
|
21
|
-
dateCreated: zod_1.z.string().datetime().optional(),
|
|
22
|
-
}));
|
|
23
|
-
exports.cohortWithCountDTOSchema = zod_1.z.object({
|
|
24
|
-
cohort: exports.cohortDTOSchema,
|
|
25
|
-
patientCount: zod_1.z.number(),
|
|
26
|
-
});
|
|
27
|
-
exports.cohortWithPatientIdsAndCountDTOSchema = exports.cohortWithCountDTOSchema.merge(zod_1.z.object({
|
|
28
|
-
patientIds: zod_1.z.array(zod_1.z.string()),
|
|
29
|
-
}));
|
|
30
|
-
exports.cohortListResponseSchema = zod_1.z.object({
|
|
31
|
-
cohorts: zod_1.z.array(exports.cohortWithCountDTOSchema),
|
|
32
|
-
});
|
|
33
|
-
exports.patientUnassignmentResponseSchema = zod_1.z.object({
|
|
34
|
-
message: zod_1.z.string(),
|
|
35
|
-
unassignedCount: zod_1.z.number(),
|
|
36
|
-
});
|
|
37
|
-
exports.cohortSchema = exports.cohortCreateSchema.merge(base_update_1.baseUpdateSchema);
|
|
38
|
-
exports.cohortPatientIdsSchema = zod_1.z.object({
|
|
39
|
-
patientIds: zod_1.z.array(zod_1.z.string()),
|
|
40
|
-
});
|
|
41
|
-
//# sourceMappingURL=cohort.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cohort.js","sourceRoot":"","sources":["../../../src/medical/models/cohort.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAAwD;AAE3C,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,GAAG,EAAE,OAAC,CAAC,OAAO,EAAE;CACjB,CAAC,CAAC;AAEU,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,8BAAsB;CACnC,CAAC,CAAC;AAEU,QAAA,kBAAkB,GAAG,OAAC;KAChC,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,8BAAsB,CAAC,QAAQ,EAAE;CAC9C,CAAC;KACD,KAAK,CAAC,8BAAgB,CAAC,CAAC;AAEd,QAAA,eAAe,GAAG,0BAAkB,CAAC,KAAK,CACrD,OAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC9C,CAAC,CACH,CAAC;AAEW,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,uBAAe;IACvB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC;AAEU,QAAA,qCAAqC,GAAG,gCAAwB,CAAC,KAAK,CACjF,OAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAChC,CAAC,CACH,CAAC;AAEW,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,gCAAwB,CAAC;CAC3C,CAAC,CAAC;AAEU,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAEU,QAAA,YAAY,GAAG,0BAAkB,CAAC,KAAK,CAAC,8BAAgB,CAAC,CAAC;AAE1D,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAChC,CAAC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const subscriptionsSchema: z.ZodObject<{
|
|
3
|
-
adt: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
adt?: boolean | undefined;
|
|
6
|
-
}, {
|
|
7
|
-
adt?: boolean | undefined;
|
|
8
|
-
}>;
|
|
9
|
-
export type PatientSubscriptions = z.infer<typeof subscriptionsSchema>;
|
|
10
|
-
export declare const patientSettingsSchema: z.ZodObject<{
|
|
11
|
-
subscriptions: z.ZodOptional<z.ZodObject<{
|
|
12
|
-
adt: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
-
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
adt?: boolean | undefined;
|
|
15
|
-
}, {
|
|
16
|
-
adt?: boolean | undefined;
|
|
17
|
-
}>>;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
subscriptions?: {
|
|
20
|
-
adt?: boolean | undefined;
|
|
21
|
-
} | undefined;
|
|
22
|
-
}, {
|
|
23
|
-
subscriptions?: {
|
|
24
|
-
adt?: boolean | undefined;
|
|
25
|
-
} | undefined;
|
|
26
|
-
}>;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=patient-settings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"patient-settings.d.ts","sourceRoot":"","sources":["../../../src/medical/models/patient-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,mBAAmB;;;;;;EAEvB,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEvE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;EAEhC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.patientSettingsSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const subscriptionsSchema = zod_1.z.object({
|
|
6
|
-
adt: zod_1.z.boolean().optional(),
|
|
7
|
-
});
|
|
8
|
-
exports.patientSettingsSchema = zod_1.z.object({
|
|
9
|
-
subscriptions: subscriptionsSchema.optional(),
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=patient-settings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"patient-settings.js","sourceRoot":"","sources":["../../../src/medical/models/patient-settings.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,GAAG,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAIU,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,aAAa,EAAE,mBAAmB,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC"}
|