@centricare/contract 0.2.1 → 0.3.2
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/dist/index.cjs +171 -178
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +412 -315
- package/dist/index.d.ts +412 -315
- package/dist/index.mjs +164 -176
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -2
package/dist/index.d.ts
CHANGED
|
@@ -78,25 +78,9 @@ declare const singleResourceResponseSchema: <T extends z.ZodTypeAny>(dataSchema:
|
|
|
78
78
|
}, z.core.$strip>;
|
|
79
79
|
type SingleResourceResponse<T extends z.ZodTypeAny> = z.infer<ReturnType<typeof singleResourceResponseSchema<T>>>;
|
|
80
80
|
|
|
81
|
-
/**
|
|
82
|
-
* The type of a setting option value.
|
|
83
|
-
*
|
|
84
|
-
* Accepts "string", "number", "boolean", "date", or an array of those
|
|
85
|
-
* for options with multiple choices. Also accepts any valid registry system
|
|
86
|
-
* path (e.g. "crn:status:system") for options whose input type is determined
|
|
87
|
-
* by a registry code system.
|
|
88
|
-
*/
|
|
89
81
|
declare const settingOptionTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
90
|
-
string:
|
|
91
|
-
|
|
92
|
-
boolean: "boolean";
|
|
93
|
-
date: "date";
|
|
94
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
95
|
-
string: "string";
|
|
96
|
-
number: "number";
|
|
97
|
-
boolean: "boolean";
|
|
98
|
-
date: "date";
|
|
99
|
-
}>>, z.ZodString]>;
|
|
82
|
+
[x: string]: string;
|
|
83
|
+
}>, z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
100
84
|
type SettingOptionType = z.infer<typeof settingOptionTypeSchema>;
|
|
101
85
|
/**
|
|
102
86
|
* A single setting option item.
|
|
@@ -107,18 +91,13 @@ declare const settingOptionSchema: z.ZodObject<{
|
|
|
107
91
|
field: z.ZodString;
|
|
108
92
|
label: z.ZodOptional<z.ZodString>;
|
|
109
93
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
110
|
-
string:
|
|
111
|
-
|
|
112
|
-
boolean: "boolean";
|
|
113
|
-
date: "date";
|
|
114
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
115
|
-
string: "string";
|
|
116
|
-
number: "number";
|
|
117
|
-
boolean: "boolean";
|
|
118
|
-
date: "date";
|
|
119
|
-
}>>, z.ZodString]>;
|
|
94
|
+
[x: string]: string;
|
|
95
|
+
}>, z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
120
96
|
default: z.ZodNullable<z.ZodString>;
|
|
121
|
-
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber
|
|
97
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
98
|
+
key: z.ZodString;
|
|
99
|
+
value: z.ZodString;
|
|
100
|
+
}, z.core.$strip>]>>;
|
|
122
101
|
}, z.core.$strip>;
|
|
123
102
|
type SettingOption = z.infer<typeof settingOptionSchema>;
|
|
124
103
|
|
|
@@ -146,23 +125,23 @@ declare const demographicSchema: z$1.ZodObject<{
|
|
|
146
125
|
valid: z$1.ZodOptional<z$1.ZodString>;
|
|
147
126
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
148
127
|
}, z$1.core.$strip>;
|
|
149
|
-
religion: z$1.ZodObject<{
|
|
128
|
+
religion: z$1.ZodNullable<z$1.ZodObject<{
|
|
150
129
|
system: z$1.ZodString;
|
|
151
130
|
value: z$1.ZodString;
|
|
152
131
|
display: z$1.ZodOptional<z$1.ZodString>;
|
|
153
132
|
valid: z$1.ZodOptional<z$1.ZodString>;
|
|
154
133
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
155
|
-
}, z$1.core.$strip
|
|
156
|
-
ethnicity: z$1.
|
|
157
|
-
marital_status: z$1.ZodObject<{
|
|
134
|
+
}, z$1.core.$strip>>;
|
|
135
|
+
ethnicity: z$1.ZodNullable<z$1.ZodString>;
|
|
136
|
+
marital_status: z$1.ZodNullable<z$1.ZodObject<{
|
|
158
137
|
system: z$1.ZodString;
|
|
159
138
|
value: z$1.ZodString;
|
|
160
139
|
display: z$1.ZodOptional<z$1.ZodString>;
|
|
161
140
|
valid: z$1.ZodOptional<z$1.ZodString>;
|
|
162
141
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
163
|
-
}, z$1.core.$strip
|
|
164
|
-
date_of_birth: z$1.ZodString
|
|
165
|
-
place_of_birth: z$1.
|
|
142
|
+
}, z$1.core.$strip>>;
|
|
143
|
+
date_of_birth: z$1.ZodNullable<z$1.ZodString>;
|
|
144
|
+
place_of_birth: z$1.ZodNullable<z$1.ZodString>;
|
|
166
145
|
}, z$1.core.$strip>;
|
|
167
146
|
type Demographic = z$1.infer<typeof demographicSchema>;
|
|
168
147
|
|
|
@@ -207,6 +186,44 @@ type Address = z.infer<typeof addressSchema>;
|
|
|
207
186
|
declare const objectIdSchema: z.ZodString;
|
|
208
187
|
type ObjectId = string;
|
|
209
188
|
|
|
189
|
+
/**
|
|
190
|
+
* Standard base audit/timestamp fields.
|
|
191
|
+
*
|
|
192
|
+
* Includes `_id` and `schema_version` with defaults driven by the version
|
|
193
|
+
* constant each model passes in. All fields are required.
|
|
194
|
+
*
|
|
195
|
+
* @param version - The model's schema version constant (e.g. PATIENT_SCHEMA_VERSION)
|
|
196
|
+
*/
|
|
197
|
+
declare const baseSchema: (version: number) => z.ZodObject<{
|
|
198
|
+
_id: z.ZodString;
|
|
199
|
+
created_at: z.ZodString;
|
|
200
|
+
created_by: z.ZodString;
|
|
201
|
+
updated_at: z.ZodString;
|
|
202
|
+
updated_by: z.ZodString;
|
|
203
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
204
|
+
}, z.core.$strip>;
|
|
205
|
+
type BaseSchema = z.infer<ReturnType<typeof baseSchema>>;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Base audit/timestamp fields with a required `expired_at` field.
|
|
209
|
+
*
|
|
210
|
+
* For models that track expiration timestamps. Includes `_id` and
|
|
211
|
+
* `schema_version` with a default driven by the version constant each model
|
|
212
|
+
* passes in. All fields are required.
|
|
213
|
+
*
|
|
214
|
+
* @param version - The model's schema version constant
|
|
215
|
+
*/
|
|
216
|
+
declare const baseSchemaWithExpiredAt: (version: number) => z.ZodObject<{
|
|
217
|
+
_id: z.ZodString;
|
|
218
|
+
created_at: z.ZodString;
|
|
219
|
+
created_by: z.ZodString;
|
|
220
|
+
updated_at: z.ZodString;
|
|
221
|
+
updated_by: z.ZodString;
|
|
222
|
+
expired_at: z.ZodString;
|
|
223
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
224
|
+
}, z.core.$strip>;
|
|
225
|
+
type BaseSchemaWithExpiredAt = z.infer<ReturnType<typeof baseSchemaWithExpiredAt>>;
|
|
226
|
+
|
|
210
227
|
/**
|
|
211
228
|
* Current schema version for the User model.
|
|
212
229
|
*
|
|
@@ -253,23 +270,23 @@ declare const userSchema: z.ZodObject<{
|
|
|
253
270
|
valid: z.ZodOptional<z.ZodString>;
|
|
254
271
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
255
272
|
}, z.core.$strip>;
|
|
256
|
-
religion: z.ZodObject<{
|
|
273
|
+
religion: z.ZodNullable<z.ZodObject<{
|
|
257
274
|
system: z.ZodString;
|
|
258
275
|
value: z.ZodString;
|
|
259
276
|
display: z.ZodOptional<z.ZodString>;
|
|
260
277
|
valid: z.ZodOptional<z.ZodString>;
|
|
261
278
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
262
|
-
}, z.core.$strip
|
|
263
|
-
ethnicity: z.
|
|
264
|
-
marital_status: z.ZodObject<{
|
|
279
|
+
}, z.core.$strip>>;
|
|
280
|
+
ethnicity: z.ZodNullable<z.ZodString>;
|
|
281
|
+
marital_status: z.ZodNullable<z.ZodObject<{
|
|
265
282
|
system: z.ZodString;
|
|
266
283
|
value: z.ZodString;
|
|
267
284
|
display: z.ZodOptional<z.ZodString>;
|
|
268
285
|
valid: z.ZodOptional<z.ZodString>;
|
|
269
286
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
270
|
-
}, z.core.$strip
|
|
271
|
-
date_of_birth: z.ZodString
|
|
272
|
-
place_of_birth: z.
|
|
287
|
+
}, z.core.$strip>>;
|
|
288
|
+
date_of_birth: z.ZodNullable<z.ZodString>;
|
|
289
|
+
place_of_birth: z.ZodNullable<z.ZodString>;
|
|
273
290
|
}, z.core.$strip>;
|
|
274
291
|
contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
275
292
|
system: z.ZodString;
|
|
@@ -357,18 +374,13 @@ declare const userSettingsSchema: z.ZodObject<{
|
|
|
357
374
|
field: z.ZodString;
|
|
358
375
|
label: z.ZodOptional<z.ZodString>;
|
|
359
376
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
360
|
-
string:
|
|
361
|
-
|
|
362
|
-
boolean: "boolean";
|
|
363
|
-
date: "date";
|
|
364
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
365
|
-
string: "string";
|
|
366
|
-
number: "number";
|
|
367
|
-
boolean: "boolean";
|
|
368
|
-
date: "date";
|
|
369
|
-
}>>, z.ZodString]>;
|
|
377
|
+
[x: string]: string;
|
|
378
|
+
}>, z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
370
379
|
default: z.ZodNullable<z.ZodString>;
|
|
371
|
-
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber
|
|
380
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
381
|
+
key: z.ZodString;
|
|
382
|
+
value: z.ZodString;
|
|
383
|
+
}, z.core.$strip>]>>;
|
|
372
384
|
}, z.core.$strip>>;
|
|
373
385
|
updated_at: z.ZodString;
|
|
374
386
|
updated_by: z.ZodString;
|
|
@@ -383,9 +395,10 @@ type UserSettings = z.infer<typeof userSettingsSchema>;
|
|
|
383
395
|
type UserSettingsKV = z.infer<typeof userSettingsKVSchema>;
|
|
384
396
|
|
|
385
397
|
/**
|
|
386
|
-
* Minimal
|
|
398
|
+
* Minimal User schema (omits server-generated fields).
|
|
387
399
|
*/
|
|
388
400
|
declare const userMinimalSchema: z.ZodObject<{
|
|
401
|
+
image: z.ZodOptional<z.ZodString>;
|
|
389
402
|
salutation: z.ZodOptional<z.ZodString>;
|
|
390
403
|
email: z.ZodString;
|
|
391
404
|
demographic: z.ZodObject<{
|
|
@@ -396,23 +409,23 @@ declare const userMinimalSchema: z.ZodObject<{
|
|
|
396
409
|
valid: z.ZodOptional<z.ZodString>;
|
|
397
410
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
398
411
|
}, z.core.$strip>;
|
|
399
|
-
religion: z.ZodObject<{
|
|
412
|
+
religion: z.ZodNullable<z.ZodObject<{
|
|
400
413
|
system: z.ZodString;
|
|
401
414
|
value: z.ZodString;
|
|
402
415
|
display: z.ZodOptional<z.ZodString>;
|
|
403
416
|
valid: z.ZodOptional<z.ZodString>;
|
|
404
417
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
405
|
-
}, z.core.$strip
|
|
406
|
-
ethnicity: z.
|
|
407
|
-
marital_status: z.ZodObject<{
|
|
418
|
+
}, z.core.$strip>>;
|
|
419
|
+
ethnicity: z.ZodNullable<z.ZodString>;
|
|
420
|
+
marital_status: z.ZodNullable<z.ZodObject<{
|
|
408
421
|
system: z.ZodString;
|
|
409
422
|
value: z.ZodString;
|
|
410
423
|
display: z.ZodOptional<z.ZodString>;
|
|
411
424
|
valid: z.ZodOptional<z.ZodString>;
|
|
412
425
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
413
|
-
}, z.core.$strip
|
|
414
|
-
date_of_birth: z.ZodString
|
|
415
|
-
place_of_birth: z.
|
|
426
|
+
}, z.core.$strip>>;
|
|
427
|
+
date_of_birth: z.ZodNullable<z.ZodString>;
|
|
428
|
+
place_of_birth: z.ZodNullable<z.ZodString>;
|
|
416
429
|
}, z.core.$strip>;
|
|
417
430
|
settings_id: z.ZodString;
|
|
418
431
|
full_name: z.ZodString;
|
|
@@ -421,7 +434,6 @@ declare const userMinimalSchema: z.ZodObject<{
|
|
|
421
434
|
last_name: z.ZodString;
|
|
422
435
|
title: z.ZodOptional<z.ZodString>;
|
|
423
436
|
email_verified: z.ZodBoolean;
|
|
424
|
-
image: z.ZodOptional<z.ZodString>;
|
|
425
437
|
statuses: z.ZodArray<z.ZodObject<{
|
|
426
438
|
system: z.ZodString;
|
|
427
439
|
value: z.ZodString;
|
|
@@ -447,9 +459,10 @@ declare const userMinimalSchema: z.ZodObject<{
|
|
|
447
459
|
type UserMinimal = z.infer<typeof userMinimalSchema>;
|
|
448
460
|
|
|
449
461
|
/**
|
|
450
|
-
* Partial
|
|
462
|
+
* Partial User schema (based on minimal, all optional).
|
|
451
463
|
*/
|
|
452
464
|
declare const userPartialSchema: z.ZodObject<{
|
|
465
|
+
image: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
453
466
|
salutation: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
454
467
|
email: z.ZodOptional<z.ZodString>;
|
|
455
468
|
demographic: z.ZodOptional<z.ZodObject<{
|
|
@@ -460,23 +473,23 @@ declare const userPartialSchema: z.ZodObject<{
|
|
|
460
473
|
valid: z.ZodOptional<z.ZodString>;
|
|
461
474
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
462
475
|
}, z.core.$strip>;
|
|
463
|
-
religion: z.ZodObject<{
|
|
476
|
+
religion: z.ZodNullable<z.ZodObject<{
|
|
464
477
|
system: z.ZodString;
|
|
465
478
|
value: z.ZodString;
|
|
466
479
|
display: z.ZodOptional<z.ZodString>;
|
|
467
480
|
valid: z.ZodOptional<z.ZodString>;
|
|
468
481
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
469
|
-
}, z.core.$strip
|
|
470
|
-
ethnicity: z.
|
|
471
|
-
marital_status: z.ZodObject<{
|
|
482
|
+
}, z.core.$strip>>;
|
|
483
|
+
ethnicity: z.ZodNullable<z.ZodString>;
|
|
484
|
+
marital_status: z.ZodNullable<z.ZodObject<{
|
|
472
485
|
system: z.ZodString;
|
|
473
486
|
value: z.ZodString;
|
|
474
487
|
display: z.ZodOptional<z.ZodString>;
|
|
475
488
|
valid: z.ZodOptional<z.ZodString>;
|
|
476
489
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
477
|
-
}, z.core.$strip
|
|
478
|
-
date_of_birth: z.ZodString
|
|
479
|
-
place_of_birth: z.
|
|
490
|
+
}, z.core.$strip>>;
|
|
491
|
+
date_of_birth: z.ZodNullable<z.ZodString>;
|
|
492
|
+
place_of_birth: z.ZodNullable<z.ZodString>;
|
|
480
493
|
}, z.core.$strip>>;
|
|
481
494
|
settings_id: z.ZodOptional<z.ZodString>;
|
|
482
495
|
full_name: z.ZodOptional<z.ZodString>;
|
|
@@ -485,7 +498,6 @@ declare const userPartialSchema: z.ZodObject<{
|
|
|
485
498
|
last_name: z.ZodOptional<z.ZodString>;
|
|
486
499
|
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
487
500
|
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
488
|
-
image: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
489
501
|
statuses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
490
502
|
system: z.ZodString;
|
|
491
503
|
value: z.ZodString;
|
|
@@ -517,6 +529,11 @@ type UserPartial = z.infer<typeof userPartialSchema>;
|
|
|
517
529
|
declare const ASSIGNMENT_SCHEMA_VERSION = 1;
|
|
518
530
|
declare const assignmentSchema: z.ZodObject<{
|
|
519
531
|
_id: z.ZodString;
|
|
532
|
+
created_at: z.ZodString;
|
|
533
|
+
created_by: z.ZodString;
|
|
534
|
+
updated_at: z.ZodString;
|
|
535
|
+
updated_by: z.ZodString;
|
|
536
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
520
537
|
facility_id: z.ZodString;
|
|
521
538
|
type: z.ZodObject<{
|
|
522
539
|
system: z.ZodString;
|
|
@@ -526,12 +543,7 @@ declare const assignmentSchema: z.ZodObject<{
|
|
|
526
543
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
527
544
|
}, z.core.$strip>;
|
|
528
545
|
for: z.ZodString;
|
|
529
|
-
assigned_to: z.
|
|
530
|
-
created_at: z.ZodString;
|
|
531
|
-
created_by: z.ZodString;
|
|
532
|
-
updated_at: z.ZodString;
|
|
533
|
-
updated_by: z.ZodString;
|
|
534
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
546
|
+
assigned_to: z.ZodArray<z.ZodString>;
|
|
535
547
|
}, z.core.$strip>;
|
|
536
548
|
type Assignment = z.infer<typeof assignmentSchema>;
|
|
537
549
|
declare const AssignmentMongooseSchema: Schema;
|
|
@@ -597,7 +609,7 @@ declare const AssignmentModel: Model<{
|
|
|
597
609
|
}>;
|
|
598
610
|
|
|
599
611
|
/**
|
|
600
|
-
* Minimal
|
|
612
|
+
* Minimal Assignment schema (omits server-generated fields).
|
|
601
613
|
*/
|
|
602
614
|
declare const assignmentMinimalSchema: z.ZodObject<{
|
|
603
615
|
type: z.ZodObject<{
|
|
@@ -609,12 +621,12 @@ declare const assignmentMinimalSchema: z.ZodObject<{
|
|
|
609
621
|
}, z.core.$strip>;
|
|
610
622
|
facility_id: z.ZodString;
|
|
611
623
|
for: z.ZodString;
|
|
612
|
-
assigned_to: z.
|
|
624
|
+
assigned_to: z.ZodArray<z.ZodString>;
|
|
613
625
|
}, z.core.$strip>;
|
|
614
626
|
type AssignmentMinimal = z.infer<typeof assignmentMinimalSchema>;
|
|
615
627
|
|
|
616
628
|
/**
|
|
617
|
-
* Partial
|
|
629
|
+
* Partial Assignment schema (based on minimal, all optional).
|
|
618
630
|
*/
|
|
619
631
|
declare const assignmentPartialSchema: z.ZodObject<{
|
|
620
632
|
type: z.ZodOptional<z.ZodObject<{
|
|
@@ -626,7 +638,7 @@ declare const assignmentPartialSchema: z.ZodObject<{
|
|
|
626
638
|
}, z.core.$strip>>;
|
|
627
639
|
facility_id: z.ZodOptional<z.ZodString>;
|
|
628
640
|
for: z.ZodOptional<z.ZodString>;
|
|
629
|
-
assigned_to: z.ZodOptional<z.
|
|
641
|
+
assigned_to: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
630
642
|
}, z.core.$strip>;
|
|
631
643
|
type AssignmentPartial = z.infer<typeof assignmentPartialSchema>;
|
|
632
644
|
|
|
@@ -637,6 +649,11 @@ type AssignmentPartial = z.infer<typeof assignmentPartialSchema>;
|
|
|
637
649
|
declare const DEPARTMENT_SCHEMA_VERSION = 1;
|
|
638
650
|
declare const departmentSchema: z.ZodObject<{
|
|
639
651
|
_id: z.ZodString;
|
|
652
|
+
created_at: z.ZodString;
|
|
653
|
+
created_by: z.ZodString;
|
|
654
|
+
updated_at: z.ZodString;
|
|
655
|
+
updated_by: z.ZodString;
|
|
656
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
640
657
|
facility_id: z.ZodString;
|
|
641
658
|
name: z.ZodString;
|
|
642
659
|
type: z.ZodObject<{
|
|
@@ -646,11 +663,6 @@ declare const departmentSchema: z.ZodObject<{
|
|
|
646
663
|
valid: z.ZodOptional<z.ZodString>;
|
|
647
664
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
648
665
|
}, z.core.$strip>;
|
|
649
|
-
created_at: z.ZodString;
|
|
650
|
-
created_by: z.ZodString;
|
|
651
|
-
updated_at: z.ZodString;
|
|
652
|
-
updated_by: z.ZodString;
|
|
653
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
654
666
|
}, z.core.$strip>;
|
|
655
667
|
type Department = z.infer<typeof departmentSchema>;
|
|
656
668
|
declare const DepartmentMongooseSchema: Schema;
|
|
@@ -716,7 +728,7 @@ declare const DepartmentModel: Model<{
|
|
|
716
728
|
}>;
|
|
717
729
|
|
|
718
730
|
/**
|
|
719
|
-
* Minimal
|
|
731
|
+
* Minimal Department schema (omits server-generated fields).
|
|
720
732
|
*/
|
|
721
733
|
declare const departmentMinimalSchema: z.ZodObject<{
|
|
722
734
|
type: z.ZodObject<{
|
|
@@ -732,7 +744,7 @@ declare const departmentMinimalSchema: z.ZodObject<{
|
|
|
732
744
|
type DepartmentMinimal = z.infer<typeof departmentMinimalSchema>;
|
|
733
745
|
|
|
734
746
|
/**
|
|
735
|
-
* Partial
|
|
747
|
+
* Partial Department schema (based on minimal, all optional).
|
|
736
748
|
*/
|
|
737
749
|
declare const departmentPartialSchema: z.ZodObject<{
|
|
738
750
|
type: z.ZodOptional<z.ZodObject<{
|
|
@@ -845,41 +857,44 @@ declare const facilitySettingsSchema: z.ZodObject<{
|
|
|
845
857
|
field: z.ZodString;
|
|
846
858
|
label: z.ZodOptional<z.ZodString>;
|
|
847
859
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
848
|
-
string:
|
|
849
|
-
|
|
850
|
-
boolean: "boolean";
|
|
851
|
-
date: "date";
|
|
852
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
853
|
-
string: "string";
|
|
854
|
-
number: "number";
|
|
855
|
-
boolean: "boolean";
|
|
856
|
-
date: "date";
|
|
857
|
-
}>>, z.ZodString]>;
|
|
860
|
+
[x: string]: string;
|
|
861
|
+
}>, z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
858
862
|
default: z.ZodNullable<z.ZodString>;
|
|
859
|
-
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber
|
|
863
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
864
|
+
key: z.ZodString;
|
|
865
|
+
value: z.ZodString;
|
|
866
|
+
}, z.core.$strip>]>>;
|
|
860
867
|
}, z.core.$strip>>;
|
|
861
868
|
updated_at: z.ZodString;
|
|
862
869
|
updated_by: z.ZodString;
|
|
863
870
|
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
864
871
|
}, z.core.$strip>;
|
|
865
872
|
declare const facilitySettingsKVSchema: z.ZodObject<{
|
|
866
|
-
branding_logo: z.
|
|
867
|
-
satusehat_org_id: z.
|
|
868
|
-
satusehat_client_id: z.
|
|
869
|
-
satusehat_client_secret: z.
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
873
|
+
branding_logo: z.ZodNullable<z.ZodString>;
|
|
874
|
+
satusehat_org_id: z.ZodNullable<z.ZodString>;
|
|
875
|
+
satusehat_client_id: z.ZodNullable<z.ZodString>;
|
|
876
|
+
satusehat_client_secret: z.ZodNullable<z.ZodString>;
|
|
877
|
+
queue_number_length: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
878
|
+
queue_number_separator: z.ZodNullable<z.ZodString>;
|
|
879
|
+
queue_call_priority: z.ZodDefault<z.ZodString>;
|
|
880
|
+
queue_call_threshold: z.ZodDefault<z.ZodNumber>;
|
|
881
|
+
kiosk_announcements: z.ZodArray<z.ZodString>;
|
|
882
|
+
kiosk_gallery: z.ZodArray<z.ZodURL>;
|
|
883
|
+
kiosk_faq: z.ZodArray<z.ZodObject<{
|
|
884
|
+
key: z.ZodString;
|
|
885
|
+
value: z.ZodString;
|
|
886
|
+
}, z.core.$strip>>;
|
|
887
|
+
kiosk_services: z.ZodArray<z.ZodObject<{
|
|
888
|
+
key: z.ZodString;
|
|
889
|
+
value: z.ZodString;
|
|
890
|
+
}, z.core.$strip>>;
|
|
891
|
+
payer_types: z.ZodArray<z.ZodString>;
|
|
877
892
|
}, z.core.$strip>;
|
|
878
893
|
type FacilitySettings = z.infer<typeof facilitySettingsSchema>;
|
|
879
894
|
type FacilitySettingsKV = z.infer<typeof facilitySettingsKVSchema>;
|
|
880
895
|
|
|
881
896
|
/**
|
|
882
|
-
* Minimal
|
|
897
|
+
* Minimal Facility schema (omits server-generated fields).
|
|
883
898
|
*/
|
|
884
899
|
declare const facilityMinimalSchema: z.ZodObject<{
|
|
885
900
|
status: z.ZodObject<{
|
|
@@ -897,7 +912,7 @@ declare const facilityMinimalSchema: z.ZodObject<{
|
|
|
897
912
|
type FacilityMinimal = z.infer<typeof facilityMinimalSchema>;
|
|
898
913
|
|
|
899
914
|
/**
|
|
900
|
-
* Partial
|
|
915
|
+
* Partial Facility schema (based on minimal, all optional).
|
|
901
916
|
*/
|
|
902
917
|
declare const facilityPartialSchema: z.ZodObject<{
|
|
903
918
|
status: z.ZodOptional<z.ZodObject<{
|
|
@@ -921,6 +936,11 @@ type FacilityPartial = z.infer<typeof facilityPartialSchema>;
|
|
|
921
936
|
declare const LOCATION_SCHEMA_VERSION = 1;
|
|
922
937
|
declare const locationSchema: z.ZodObject<{
|
|
923
938
|
_id: z.ZodString;
|
|
939
|
+
created_at: z.ZodString;
|
|
940
|
+
created_by: z.ZodString;
|
|
941
|
+
updated_at: z.ZodString;
|
|
942
|
+
updated_by: z.ZodString;
|
|
943
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
924
944
|
parent_id: z.ZodString;
|
|
925
945
|
identifiers: z.ZodArray<z.ZodObject<{
|
|
926
946
|
system: z.ZodString;
|
|
@@ -945,11 +965,6 @@ declare const locationSchema: z.ZodObject<{
|
|
|
945
965
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
946
966
|
}, z.core.$strip>>;
|
|
947
967
|
settings_id: z.ZodString;
|
|
948
|
-
created_at: z.ZodString;
|
|
949
|
-
created_by: z.ZodString;
|
|
950
|
-
updated_at: z.ZodString;
|
|
951
|
-
updated_by: z.ZodString;
|
|
952
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
953
968
|
}, z.core.$strip>;
|
|
954
969
|
type Location = z.infer<typeof locationSchema>;
|
|
955
970
|
declare const LocationMongooseSchema: Schema;
|
|
@@ -1026,18 +1041,13 @@ declare const locationSettingsSchema: z.ZodObject<{
|
|
|
1026
1041
|
field: z.ZodString;
|
|
1027
1042
|
label: z.ZodOptional<z.ZodString>;
|
|
1028
1043
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1029
|
-
string:
|
|
1030
|
-
|
|
1031
|
-
boolean: "boolean";
|
|
1032
|
-
date: "date";
|
|
1033
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
1034
|
-
string: "string";
|
|
1035
|
-
number: "number";
|
|
1036
|
-
boolean: "boolean";
|
|
1037
|
-
date: "date";
|
|
1038
|
-
}>>, z.ZodString]>;
|
|
1044
|
+
[x: string]: string;
|
|
1045
|
+
}>, z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
1039
1046
|
default: z.ZodNullable<z.ZodString>;
|
|
1040
|
-
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber
|
|
1047
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
1048
|
+
key: z.ZodString;
|
|
1049
|
+
value: z.ZodString;
|
|
1050
|
+
}, z.core.$strip>]>>;
|
|
1041
1051
|
}, z.core.$strip>>;
|
|
1042
1052
|
updated_at: z.ZodString;
|
|
1043
1053
|
updated_by: z.ZodString;
|
|
@@ -1052,7 +1062,7 @@ type LocationSettings = z.infer<typeof locationSettingsSchema>;
|
|
|
1052
1062
|
type LocationSettingsKV = z.infer<typeof locationSettingsKVSchema>;
|
|
1053
1063
|
|
|
1054
1064
|
/**
|
|
1055
|
-
* Minimal
|
|
1065
|
+
* Minimal Location schema (omits server-generated fields).
|
|
1056
1066
|
*/
|
|
1057
1067
|
declare const locationMinimalSchema: z.ZodObject<{
|
|
1058
1068
|
settings_id: z.ZodString;
|
|
@@ -1071,7 +1081,6 @@ declare const locationMinimalSchema: z.ZodObject<{
|
|
|
1071
1081
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1072
1082
|
}, z.core.$strip>>;
|
|
1073
1083
|
name: z.ZodString;
|
|
1074
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
1075
1084
|
parent_id: z.ZodString;
|
|
1076
1085
|
types: z.ZodArray<z.ZodObject<{
|
|
1077
1086
|
system: z.ZodString;
|
|
@@ -1084,7 +1093,7 @@ declare const locationMinimalSchema: z.ZodObject<{
|
|
|
1084
1093
|
type LocationMinimal = z.infer<typeof locationMinimalSchema>;
|
|
1085
1094
|
|
|
1086
1095
|
/**
|
|
1087
|
-
* Partial
|
|
1096
|
+
* Partial Location schema (based on minimal, all optional).
|
|
1088
1097
|
*/
|
|
1089
1098
|
declare const locationPartialSchema: z.ZodObject<{
|
|
1090
1099
|
settings_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1103,7 +1112,6 @@ declare const locationPartialSchema: z.ZodObject<{
|
|
|
1103
1112
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1104
1113
|
}, z.core.$strip>>>;
|
|
1105
1114
|
name: z.ZodOptional<z.ZodString>;
|
|
1106
|
-
schema_version: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1107
1115
|
parent_id: z.ZodOptional<z.ZodString>;
|
|
1108
1116
|
types: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1109
1117
|
system: z.ZodString;
|
|
@@ -1193,7 +1201,7 @@ declare const MemberModel: Model<{
|
|
|
1193
1201
|
}>;
|
|
1194
1202
|
|
|
1195
1203
|
/**
|
|
1196
|
-
* Minimal
|
|
1204
|
+
* Minimal Member schema (omits server-generated fields).
|
|
1197
1205
|
*/
|
|
1198
1206
|
declare const memberMinimalSchema: z.ZodObject<{
|
|
1199
1207
|
organization_id: z.ZodString;
|
|
@@ -1203,7 +1211,7 @@ declare const memberMinimalSchema: z.ZodObject<{
|
|
|
1203
1211
|
type MemberMinimal = z.infer<typeof memberMinimalSchema>;
|
|
1204
1212
|
|
|
1205
1213
|
/**
|
|
1206
|
-
* Partial
|
|
1214
|
+
* Partial Member schema (based on minimal, all optional).
|
|
1207
1215
|
*/
|
|
1208
1216
|
declare const memberPartialSchema: z.ZodObject<{
|
|
1209
1217
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1312,18 +1320,13 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
1312
1320
|
field: z.ZodString;
|
|
1313
1321
|
label: z.ZodOptional<z.ZodString>;
|
|
1314
1322
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1315
|
-
string:
|
|
1316
|
-
|
|
1317
|
-
boolean: "boolean";
|
|
1318
|
-
date: "date";
|
|
1319
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
1320
|
-
string: "string";
|
|
1321
|
-
number: "number";
|
|
1322
|
-
boolean: "boolean";
|
|
1323
|
-
date: "date";
|
|
1324
|
-
}>>, z.ZodString]>;
|
|
1323
|
+
[x: string]: string;
|
|
1324
|
+
}>, z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
1325
1325
|
default: z.ZodNullable<z.ZodString>;
|
|
1326
|
-
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber
|
|
1326
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
1327
|
+
key: z.ZodString;
|
|
1328
|
+
value: z.ZodString;
|
|
1329
|
+
}, z.core.$strip>]>>;
|
|
1327
1330
|
}, z.core.$strip>>;
|
|
1328
1331
|
updated_at: z.ZodString;
|
|
1329
1332
|
updated_by: z.ZodString;
|
|
@@ -1338,7 +1341,7 @@ type OrganizationSettings = z.infer<typeof organizationSettingsSchema>;
|
|
|
1338
1341
|
type OrganizationSettingsKV = z.infer<typeof organizationSettingsKVSchema>;
|
|
1339
1342
|
|
|
1340
1343
|
/**
|
|
1341
|
-
* Minimal
|
|
1344
|
+
* Minimal Organization schema (omits server-generated fields).
|
|
1342
1345
|
*/
|
|
1343
1346
|
declare const organizationMinimalSchema: z.ZodObject<{
|
|
1344
1347
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -1359,7 +1362,7 @@ declare const organizationMinimalSchema: z.ZodObject<{
|
|
|
1359
1362
|
type OrganizationMinimal = z.infer<typeof organizationMinimalSchema>;
|
|
1360
1363
|
|
|
1361
1364
|
/**
|
|
1362
|
-
* Partial
|
|
1365
|
+
* Partial Organization schema (based on minimal, all optional).
|
|
1363
1366
|
*/
|
|
1364
1367
|
declare const organizationPartialSchema: z.ZodObject<{
|
|
1365
1368
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -1386,6 +1389,11 @@ type OrganizationPartial = z.infer<typeof organizationPartialSchema>;
|
|
|
1386
1389
|
declare const PATIENT_SCHEMA_VERSION = 1;
|
|
1387
1390
|
declare const patientSchema: z.ZodObject<{
|
|
1388
1391
|
_id: z.ZodString;
|
|
1392
|
+
created_at: z.ZodString;
|
|
1393
|
+
created_by: z.ZodString;
|
|
1394
|
+
updated_at: z.ZodString;
|
|
1395
|
+
updated_by: z.ZodString;
|
|
1396
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
1389
1397
|
organization_id: z.ZodString;
|
|
1390
1398
|
registering_facility_id: z.ZodString;
|
|
1391
1399
|
identifiers: z.ZodArray<z.ZodObject<{
|
|
@@ -1395,7 +1403,13 @@ declare const patientSchema: z.ZodObject<{
|
|
|
1395
1403
|
valid: z.ZodOptional<z.ZodString>;
|
|
1396
1404
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1397
1405
|
}, z.core.$strip>>;
|
|
1398
|
-
salutation: z.
|
|
1406
|
+
salutation: z.ZodObject<{
|
|
1407
|
+
system: z.ZodString;
|
|
1408
|
+
value: z.ZodString;
|
|
1409
|
+
display: z.ZodOptional<z.ZodString>;
|
|
1410
|
+
valid: z.ZodOptional<z.ZodString>;
|
|
1411
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1412
|
+
}, z.core.$strip>;
|
|
1399
1413
|
first_name: z.ZodString;
|
|
1400
1414
|
middle_name: z.ZodOptional<z.ZodString>;
|
|
1401
1415
|
last_name: z.ZodString;
|
|
@@ -1409,14 +1423,16 @@ declare const patientSchema: z.ZodObject<{
|
|
|
1409
1423
|
valid: z.ZodOptional<z.ZodString>;
|
|
1410
1424
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1411
1425
|
}, z.core.$strip>;
|
|
1412
|
-
religion: z.ZodObject<{
|
|
1426
|
+
religion: z.ZodNullable<z.ZodObject<{
|
|
1413
1427
|
system: z.ZodString;
|
|
1414
1428
|
value: z.ZodString;
|
|
1415
1429
|
display: z.ZodOptional<z.ZodString>;
|
|
1416
1430
|
valid: z.ZodOptional<z.ZodString>;
|
|
1417
1431
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1418
|
-
}, z.core.$strip
|
|
1419
|
-
ethnicity: z.
|
|
1432
|
+
}, z.core.$strip>>;
|
|
1433
|
+
ethnicity: z.ZodNullable<z.ZodString>;
|
|
1434
|
+
place_of_birth: z.ZodString;
|
|
1435
|
+
date_of_birth: z.ZodString;
|
|
1420
1436
|
marital_status: z.ZodObject<{
|
|
1421
1437
|
system: z.ZodString;
|
|
1422
1438
|
value: z.ZodString;
|
|
@@ -1424,8 +1440,6 @@ declare const patientSchema: z.ZodObject<{
|
|
|
1424
1440
|
valid: z.ZodOptional<z.ZodString>;
|
|
1425
1441
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1426
1442
|
}, z.core.$strip>;
|
|
1427
|
-
date_of_birth: z.ZodString;
|
|
1428
|
-
place_of_birth: z.ZodOptional<z.ZodString>;
|
|
1429
1443
|
}, z.core.$strip>;
|
|
1430
1444
|
statuses: z.ZodArray<z.ZodObject<{
|
|
1431
1445
|
system: z.ZodString;
|
|
@@ -1473,11 +1487,6 @@ declare const patientSchema: z.ZodObject<{
|
|
|
1473
1487
|
}, z.core.$strip>;
|
|
1474
1488
|
postal_code: z.ZodOptional<z.ZodString>;
|
|
1475
1489
|
}, z.core.$strip>;
|
|
1476
|
-
created_at: z.ZodString;
|
|
1477
|
-
created_by: z.ZodString;
|
|
1478
|
-
updated_at: z.ZodString;
|
|
1479
|
-
updated_by: z.ZodString;
|
|
1480
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
1481
1490
|
}, z.core.$strip>;
|
|
1482
1491
|
type Patient = z.infer<typeof patientSchema>;
|
|
1483
1492
|
declare const PatientMongooseSchema: Schema;
|
|
@@ -1543,10 +1552,17 @@ declare const PatientModel: Model<{
|
|
|
1543
1552
|
}>;
|
|
1544
1553
|
|
|
1545
1554
|
/**
|
|
1546
|
-
* Minimal
|
|
1555
|
+
* Minimal Patient schema (omits server-generated fields).
|
|
1547
1556
|
*/
|
|
1548
1557
|
declare const patientMinimalSchema: z.ZodObject<{
|
|
1549
|
-
|
|
1558
|
+
image: z.ZodOptional<z.ZodString>;
|
|
1559
|
+
salutation: z.ZodObject<{
|
|
1560
|
+
system: z.ZodString;
|
|
1561
|
+
value: z.ZodString;
|
|
1562
|
+
display: z.ZodOptional<z.ZodString>;
|
|
1563
|
+
valid: z.ZodOptional<z.ZodString>;
|
|
1564
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1565
|
+
}, z.core.$strip>;
|
|
1550
1566
|
demographic: z.ZodObject<{
|
|
1551
1567
|
sex: z.ZodObject<{
|
|
1552
1568
|
system: z.ZodString;
|
|
@@ -1555,14 +1571,16 @@ declare const patientMinimalSchema: z.ZodObject<{
|
|
|
1555
1571
|
valid: z.ZodOptional<z.ZodString>;
|
|
1556
1572
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1557
1573
|
}, z.core.$strip>;
|
|
1558
|
-
religion: z.ZodObject<{
|
|
1574
|
+
religion: z.ZodNullable<z.ZodObject<{
|
|
1559
1575
|
system: z.ZodString;
|
|
1560
1576
|
value: z.ZodString;
|
|
1561
1577
|
display: z.ZodOptional<z.ZodString>;
|
|
1562
1578
|
valid: z.ZodOptional<z.ZodString>;
|
|
1563
1579
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1564
|
-
}, z.core.$strip
|
|
1565
|
-
ethnicity: z.
|
|
1580
|
+
}, z.core.$strip>>;
|
|
1581
|
+
ethnicity: z.ZodNullable<z.ZodString>;
|
|
1582
|
+
place_of_birth: z.ZodString;
|
|
1583
|
+
date_of_birth: z.ZodString;
|
|
1566
1584
|
marital_status: z.ZodObject<{
|
|
1567
1585
|
system: z.ZodString;
|
|
1568
1586
|
value: z.ZodString;
|
|
@@ -1570,14 +1588,11 @@ declare const patientMinimalSchema: z.ZodObject<{
|
|
|
1570
1588
|
valid: z.ZodOptional<z.ZodString>;
|
|
1571
1589
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1572
1590
|
}, z.core.$strip>;
|
|
1573
|
-
date_of_birth: z.ZodString;
|
|
1574
|
-
place_of_birth: z.ZodOptional<z.ZodString>;
|
|
1575
1591
|
}, z.core.$strip>;
|
|
1576
1592
|
first_name: z.ZodString;
|
|
1577
1593
|
middle_name: z.ZodOptional<z.ZodString>;
|
|
1578
1594
|
last_name: z.ZodString;
|
|
1579
1595
|
title: z.ZodOptional<z.ZodString>;
|
|
1580
|
-
image: z.ZodOptional<z.ZodString>;
|
|
1581
1596
|
statuses: z.ZodArray<z.ZodObject<{
|
|
1582
1597
|
system: z.ZodString;
|
|
1583
1598
|
value: z.ZodString;
|
|
@@ -1637,10 +1652,17 @@ declare const patientMinimalSchema: z.ZodObject<{
|
|
|
1637
1652
|
type PatientMinimal = z.infer<typeof patientMinimalSchema>;
|
|
1638
1653
|
|
|
1639
1654
|
/**
|
|
1640
|
-
* Partial
|
|
1655
|
+
* Partial Patient schema (based on minimal, all optional).
|
|
1641
1656
|
*/
|
|
1642
1657
|
declare const patientPartialSchema: z.ZodObject<{
|
|
1643
|
-
|
|
1658
|
+
image: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1659
|
+
salutation: z.ZodOptional<z.ZodObject<{
|
|
1660
|
+
system: z.ZodString;
|
|
1661
|
+
value: z.ZodString;
|
|
1662
|
+
display: z.ZodOptional<z.ZodString>;
|
|
1663
|
+
valid: z.ZodOptional<z.ZodString>;
|
|
1664
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1665
|
+
}, z.core.$strip>>;
|
|
1644
1666
|
demographic: z.ZodOptional<z.ZodObject<{
|
|
1645
1667
|
sex: z.ZodObject<{
|
|
1646
1668
|
system: z.ZodString;
|
|
@@ -1649,14 +1671,16 @@ declare const patientPartialSchema: z.ZodObject<{
|
|
|
1649
1671
|
valid: z.ZodOptional<z.ZodString>;
|
|
1650
1672
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1651
1673
|
}, z.core.$strip>;
|
|
1652
|
-
religion: z.ZodObject<{
|
|
1674
|
+
religion: z.ZodNullable<z.ZodObject<{
|
|
1653
1675
|
system: z.ZodString;
|
|
1654
1676
|
value: z.ZodString;
|
|
1655
1677
|
display: z.ZodOptional<z.ZodString>;
|
|
1656
1678
|
valid: z.ZodOptional<z.ZodString>;
|
|
1657
1679
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1658
|
-
}, z.core.$strip
|
|
1659
|
-
ethnicity: z.
|
|
1680
|
+
}, z.core.$strip>>;
|
|
1681
|
+
ethnicity: z.ZodNullable<z.ZodString>;
|
|
1682
|
+
place_of_birth: z.ZodString;
|
|
1683
|
+
date_of_birth: z.ZodString;
|
|
1660
1684
|
marital_status: z.ZodObject<{
|
|
1661
1685
|
system: z.ZodString;
|
|
1662
1686
|
value: z.ZodString;
|
|
@@ -1664,14 +1688,11 @@ declare const patientPartialSchema: z.ZodObject<{
|
|
|
1664
1688
|
valid: z.ZodOptional<z.ZodString>;
|
|
1665
1689
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1666
1690
|
}, z.core.$strip>;
|
|
1667
|
-
date_of_birth: z.ZodString;
|
|
1668
|
-
place_of_birth: z.ZodOptional<z.ZodString>;
|
|
1669
1691
|
}, z.core.$strip>>;
|
|
1670
1692
|
first_name: z.ZodOptional<z.ZodString>;
|
|
1671
1693
|
middle_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1672
1694
|
last_name: z.ZodOptional<z.ZodString>;
|
|
1673
1695
|
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1674
|
-
image: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1675
1696
|
statuses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1676
1697
|
system: z.ZodString;
|
|
1677
1698
|
value: z.ZodString;
|
|
@@ -1736,7 +1757,12 @@ type PatientPartial = z.infer<typeof patientPartialSchema>;
|
|
|
1736
1757
|
*/
|
|
1737
1758
|
declare const PATIENT_ADDITIONAL_SCHEMA_VERSION = 1;
|
|
1738
1759
|
declare const patientAdditionalSchema: z.ZodObject<{
|
|
1739
|
-
|
|
1760
|
+
_id: z.ZodString;
|
|
1761
|
+
created_at: z.ZodString;
|
|
1762
|
+
created_by: z.ZodString;
|
|
1763
|
+
updated_at: z.ZodString;
|
|
1764
|
+
updated_by: z.ZodString;
|
|
1765
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
1740
1766
|
patient_id: z.ZodString;
|
|
1741
1767
|
type: z.ZodObject<{
|
|
1742
1768
|
system: z.ZodString;
|
|
@@ -1746,11 +1772,6 @@ declare const patientAdditionalSchema: z.ZodObject<{
|
|
|
1746
1772
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1747
1773
|
}, z.core.$strip>;
|
|
1748
1774
|
data: z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodAny>]>;
|
|
1749
|
-
created_at: z.ZodString;
|
|
1750
|
-
created_by: z.ZodString;
|
|
1751
|
-
updated_at: z.ZodString;
|
|
1752
|
-
updated_by: z.ZodString;
|
|
1753
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
1754
1775
|
}, z.core.$strip>;
|
|
1755
1776
|
type PatientAdditional = z.infer<typeof patientAdditionalSchema>;
|
|
1756
1777
|
declare const PatientAdditionalMongooseSchema: Schema;
|
|
@@ -1816,7 +1837,7 @@ declare const PatientAdditionalModel: Model<{
|
|
|
1816
1837
|
}>;
|
|
1817
1838
|
|
|
1818
1839
|
/**
|
|
1819
|
-
* Minimal
|
|
1840
|
+
* Minimal PatientAdditional schema (omits server-generated fields).
|
|
1820
1841
|
*/
|
|
1821
1842
|
declare const patientAdditionalMinimalSchema: z.ZodObject<{
|
|
1822
1843
|
type: z.ZodObject<{
|
|
@@ -1832,7 +1853,7 @@ declare const patientAdditionalMinimalSchema: z.ZodObject<{
|
|
|
1832
1853
|
type PatientAdditionalMinimal = z.infer<typeof patientAdditionalMinimalSchema>;
|
|
1833
1854
|
|
|
1834
1855
|
/**
|
|
1835
|
-
* Partial
|
|
1856
|
+
* Partial PatientAdditional schema (based on minimal, all optional).
|
|
1836
1857
|
*/
|
|
1837
1858
|
declare const patientAdditionalPartialSchema: z.ZodObject<{
|
|
1838
1859
|
type: z.ZodOptional<z.ZodObject<{
|
|
@@ -1853,7 +1874,12 @@ type PatientAdditionalPartial = z.infer<typeof patientAdditionalPartialSchema>;
|
|
|
1853
1874
|
*/
|
|
1854
1875
|
declare const STAFF_SCHEMA_VERSION = 1;
|
|
1855
1876
|
declare const staffSchema: z.ZodObject<{
|
|
1856
|
-
|
|
1877
|
+
_id: z.ZodString;
|
|
1878
|
+
created_at: z.ZodString;
|
|
1879
|
+
created_by: z.ZodString;
|
|
1880
|
+
updated_at: z.ZodString;
|
|
1881
|
+
updated_by: z.ZodString;
|
|
1882
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
1857
1883
|
team_id: z.ZodString;
|
|
1858
1884
|
user_id: z.ZodString;
|
|
1859
1885
|
type: z.ZodObject<{
|
|
@@ -1873,11 +1899,6 @@ declare const staffSchema: z.ZodObject<{
|
|
|
1873
1899
|
membership_key: z.ZodOptional<z.ZodString>;
|
|
1874
1900
|
group: z.ZodOptional<z.ZodString>;
|
|
1875
1901
|
subspecialist: z.ZodOptional<z.ZodString>;
|
|
1876
|
-
created_at: z.ZodString;
|
|
1877
|
-
created_by: z.ZodString;
|
|
1878
|
-
updated_at: z.ZodString;
|
|
1879
|
-
updated_by: z.ZodString;
|
|
1880
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
1881
1902
|
}, z.core.$strip>;
|
|
1882
1903
|
type Staff = z.infer<typeof staffSchema>;
|
|
1883
1904
|
declare const StaffMongooseSchema: Schema;
|
|
@@ -1943,7 +1964,7 @@ declare const StaffModel: Model<{
|
|
|
1943
1964
|
}>;
|
|
1944
1965
|
|
|
1945
1966
|
/**
|
|
1946
|
-
* Minimal
|
|
1967
|
+
* Minimal Staff schema (omits server-generated fields).
|
|
1947
1968
|
*/
|
|
1948
1969
|
declare const staffMinimalSchema: z.ZodObject<{
|
|
1949
1970
|
type: z.ZodObject<{
|
|
@@ -1969,7 +1990,7 @@ declare const staffMinimalSchema: z.ZodObject<{
|
|
|
1969
1990
|
type StaffMinimal = z.infer<typeof staffMinimalSchema>;
|
|
1970
1991
|
|
|
1971
1992
|
/**
|
|
1972
|
-
* Partial
|
|
1993
|
+
* Partial Staff schema (based on minimal, all optional).
|
|
1973
1994
|
*/
|
|
1974
1995
|
declare const staffPartialSchema: z.ZodObject<{
|
|
1975
1996
|
type: z.ZodOptional<z.ZodObject<{
|
|
@@ -2001,6 +2022,11 @@ type StaffPartial = z.infer<typeof staffPartialSchema>;
|
|
|
2001
2022
|
declare const UNIT_SCHEMA_VERSION = 1;
|
|
2002
2023
|
declare const unitSchema: z.ZodObject<{
|
|
2003
2024
|
_id: z.ZodString;
|
|
2025
|
+
created_at: z.ZodString;
|
|
2026
|
+
created_by: z.ZodString;
|
|
2027
|
+
updated_at: z.ZodString;
|
|
2028
|
+
updated_by: z.ZodString;
|
|
2029
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
2004
2030
|
facility_id: z.ZodString;
|
|
2005
2031
|
department_id: z.ZodString;
|
|
2006
2032
|
name: z.ZodString;
|
|
@@ -2020,11 +2046,6 @@ declare const unitSchema: z.ZodObject<{
|
|
|
2020
2046
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2021
2047
|
}, z.core.$strip>>;
|
|
2022
2048
|
settings_id: z.ZodString;
|
|
2023
|
-
created_at: z.ZodString;
|
|
2024
|
-
created_by: z.ZodString;
|
|
2025
|
-
updated_at: z.ZodString;
|
|
2026
|
-
updated_by: z.ZodString;
|
|
2027
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
2028
2049
|
}, z.core.$strip>;
|
|
2029
2050
|
type Unit = z.infer<typeof unitSchema>;
|
|
2030
2051
|
declare const UnitMongooseSchema: Schema;
|
|
@@ -2090,7 +2111,7 @@ declare const UnitModel: Model<{
|
|
|
2090
2111
|
}>;
|
|
2091
2112
|
|
|
2092
2113
|
/**
|
|
2093
|
-
* Minimal
|
|
2114
|
+
* Minimal Unit schema (omits server-generated fields).
|
|
2094
2115
|
*/
|
|
2095
2116
|
declare const unitMinimalSchema: z.ZodObject<{
|
|
2096
2117
|
type: z.ZodObject<{
|
|
@@ -2116,7 +2137,7 @@ declare const unitMinimalSchema: z.ZodObject<{
|
|
|
2116
2137
|
type UnitMinimal = z.infer<typeof unitMinimalSchema>;
|
|
2117
2138
|
|
|
2118
2139
|
/**
|
|
2119
|
-
* Partial
|
|
2140
|
+
* Partial Unit schema (based on minimal, all optional).
|
|
2120
2141
|
*/
|
|
2121
2142
|
declare const unitPartialSchema: z.ZodObject<{
|
|
2122
2143
|
type: z.ZodOptional<z.ZodObject<{
|
|
@@ -2147,6 +2168,12 @@ type UnitPartial = z.infer<typeof unitPartialSchema>;
|
|
|
2147
2168
|
*/
|
|
2148
2169
|
declare const PRACTITIONER_SCHEDULE_SCHEMA_VERSION = 1;
|
|
2149
2170
|
declare const practitionerScheduleSchema: z.ZodObject<{
|
|
2171
|
+
_id: z.ZodString;
|
|
2172
|
+
created_at: z.ZodString;
|
|
2173
|
+
created_by: z.ZodString;
|
|
2174
|
+
updated_at: z.ZodString;
|
|
2175
|
+
updated_by: z.ZodString;
|
|
2176
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
2150
2177
|
organization_id: z.ZodString;
|
|
2151
2178
|
facility_id: z.ZodString;
|
|
2152
2179
|
staff_id: z.ZodString;
|
|
@@ -2159,12 +2186,6 @@ declare const practitionerScheduleSchema: z.ZodObject<{
|
|
|
2159
2186
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2160
2187
|
}, z.core.$strip>;
|
|
2161
2188
|
day: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
2162
|
-
_id: z.ZodString;
|
|
2163
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2164
|
-
created_by: z.ZodOptional<z.ZodString>;
|
|
2165
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
2166
|
-
updated_by: z.ZodOptional<z.ZodString>;
|
|
2167
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
2168
2189
|
}, z.core.$strip>;
|
|
2169
2190
|
type PractitionerSchedule = z.infer<typeof practitionerScheduleSchema>;
|
|
2170
2191
|
declare const PractitionerScheduleMongooseSchema: Schema;
|
|
@@ -2230,7 +2251,7 @@ declare const PractitionerScheduleModel: Model<{
|
|
|
2230
2251
|
}>;
|
|
2231
2252
|
|
|
2232
2253
|
/**
|
|
2233
|
-
* Minimal
|
|
2254
|
+
* Minimal PractitionerSchedule schema (omits server-generated fields).
|
|
2234
2255
|
*/
|
|
2235
2256
|
declare const practitionerScheduleMinimalSchema: z.ZodObject<{
|
|
2236
2257
|
type: z.ZodObject<{
|
|
@@ -2249,7 +2270,7 @@ declare const practitionerScheduleMinimalSchema: z.ZodObject<{
|
|
|
2249
2270
|
type PractitionerScheduleMinimal = z.infer<typeof practitionerScheduleMinimalSchema>;
|
|
2250
2271
|
|
|
2251
2272
|
/**
|
|
2252
|
-
* Partial
|
|
2273
|
+
* Partial PractitionerSchedule schema (based on minimal, all optional).
|
|
2253
2274
|
*/
|
|
2254
2275
|
declare const practitionerSchedulePartialSchema: z.ZodObject<{
|
|
2255
2276
|
type: z.ZodOptional<z.ZodObject<{
|
|
@@ -2273,18 +2294,18 @@ type PractitionerSchedulePartial = z.infer<typeof practitionerSchedulePartialSch
|
|
|
2273
2294
|
*/
|
|
2274
2295
|
declare const PRACTITIONER_SESSION_SCHEMA_VERSION = 1;
|
|
2275
2296
|
declare const practitionerSessionSchema: z.ZodObject<{
|
|
2297
|
+
_id: z.ZodString;
|
|
2298
|
+
created_at: z.ZodString;
|
|
2299
|
+
created_by: z.ZodString;
|
|
2300
|
+
updated_at: z.ZodString;
|
|
2301
|
+
updated_by: z.ZodString;
|
|
2302
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
2276
2303
|
schedule_id: z.ZodString;
|
|
2277
2304
|
staff_id: z.ZodString;
|
|
2278
2305
|
unit_id: z.ZodString;
|
|
2279
2306
|
start: z.ZodString;
|
|
2280
2307
|
end: z.ZodString;
|
|
2281
2308
|
max_quota: z.ZodNumber;
|
|
2282
|
-
_id: z.ZodString;
|
|
2283
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2284
|
-
created_by: z.ZodOptional<z.ZodString>;
|
|
2285
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
2286
|
-
updated_by: z.ZodOptional<z.ZodString>;
|
|
2287
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
2288
2309
|
}, z.core.$strip>;
|
|
2289
2310
|
type PractitionerSession = z.infer<typeof practitionerSessionSchema>;
|
|
2290
2311
|
declare const PractitionerSessionMongooseSchema: Schema;
|
|
@@ -2350,7 +2371,7 @@ declare const PractitionerSessionModel: Model<{
|
|
|
2350
2371
|
}>;
|
|
2351
2372
|
|
|
2352
2373
|
/**
|
|
2353
|
-
* Minimal
|
|
2374
|
+
* Minimal PractitionerSession schema (omits server-generated fields).
|
|
2354
2375
|
*/
|
|
2355
2376
|
declare const practitionerSessionMinimalSchema: z.ZodObject<{
|
|
2356
2377
|
end: z.ZodString;
|
|
@@ -2363,7 +2384,7 @@ declare const practitionerSessionMinimalSchema: z.ZodObject<{
|
|
|
2363
2384
|
type PractitionerSessionMinimal = z.infer<typeof practitionerSessionMinimalSchema>;
|
|
2364
2385
|
|
|
2365
2386
|
/**
|
|
2366
|
-
* Partial
|
|
2387
|
+
* Partial PractitionerSession schema (based on minimal, all optional).
|
|
2367
2388
|
*/
|
|
2368
2389
|
declare const practitionerSessionPartialSchema: z.ZodObject<{
|
|
2369
2390
|
end: z.ZodOptional<z.ZodString>;
|
|
@@ -2381,16 +2402,16 @@ type PractitionerSessionPartial = z.infer<typeof practitionerSessionPartialSchem
|
|
|
2381
2402
|
*/
|
|
2382
2403
|
declare const KSM_SCHEMA_VERSION = 1;
|
|
2383
2404
|
declare const ksmSchema: z.ZodObject<{
|
|
2384
|
-
|
|
2405
|
+
_id: z.ZodString;
|
|
2406
|
+
created_at: z.ZodString;
|
|
2407
|
+
created_by: z.ZodString;
|
|
2408
|
+
updated_at: z.ZodString;
|
|
2409
|
+
updated_by: z.ZodString;
|
|
2410
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
2385
2411
|
organization_id: z.ZodString;
|
|
2386
2412
|
facility_id: z.ZodString;
|
|
2387
2413
|
name: z.ZodString;
|
|
2388
2414
|
subspecialist: z.ZodArray<z.ZodString>;
|
|
2389
|
-
created_at: z.ZodString;
|
|
2390
|
-
created_by: z.ZodString;
|
|
2391
|
-
updated_at: z.ZodNullable<z.ZodString>;
|
|
2392
|
-
updated_by: z.ZodNullable<z.ZodString>;
|
|
2393
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
2394
2415
|
}, z.core.$strip>;
|
|
2395
2416
|
type Ksm = z.infer<typeof ksmSchema>;
|
|
2396
2417
|
declare const KsmMongooseSchema: Schema;
|
|
@@ -2456,7 +2477,7 @@ declare const KsmModel: Model<{
|
|
|
2456
2477
|
}>;
|
|
2457
2478
|
|
|
2458
2479
|
/**
|
|
2459
|
-
* Minimal
|
|
2480
|
+
* Minimal Ksm schema (omits server-generated fields).
|
|
2460
2481
|
*/
|
|
2461
2482
|
declare const ksmMinimalSchema: z.ZodObject<{
|
|
2462
2483
|
name: z.ZodString;
|
|
@@ -2467,7 +2488,7 @@ declare const ksmMinimalSchema: z.ZodObject<{
|
|
|
2467
2488
|
type KsmMinimal = z.infer<typeof ksmMinimalSchema>;
|
|
2468
2489
|
|
|
2469
2490
|
/**
|
|
2470
|
-
* Partial
|
|
2491
|
+
* Partial Ksm schema (based on minimal, all optional).
|
|
2471
2492
|
*/
|
|
2472
2493
|
declare const ksmPartialSchema: z.ZodObject<{
|
|
2473
2494
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2483,7 +2504,12 @@ type KsmPartial = z.infer<typeof ksmPartialSchema>;
|
|
|
2483
2504
|
*/
|
|
2484
2505
|
declare const PAYER_SCHEMA_VERSION = 1;
|
|
2485
2506
|
declare const payerSchema: z.ZodObject<{
|
|
2486
|
-
|
|
2507
|
+
_id: z.ZodString;
|
|
2508
|
+
created_at: z.ZodString;
|
|
2509
|
+
created_by: z.ZodString;
|
|
2510
|
+
updated_at: z.ZodString;
|
|
2511
|
+
updated_by: z.ZodString;
|
|
2512
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
2487
2513
|
organization_id: z.ZodString;
|
|
2488
2514
|
facility_id: z.ZodString;
|
|
2489
2515
|
code: z.ZodString;
|
|
@@ -2543,11 +2569,6 @@ declare const payerSchema: z.ZodObject<{
|
|
|
2543
2569
|
}, z.core.$strip>>;
|
|
2544
2570
|
settings_id: z.ZodString;
|
|
2545
2571
|
}, z.core.$strip>>;
|
|
2546
|
-
created_at: z.ZodString;
|
|
2547
|
-
created_by: z.ZodString;
|
|
2548
|
-
updated_at: z.ZodString;
|
|
2549
|
-
updated_by: z.ZodString;
|
|
2550
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
2551
2572
|
}, z.core.$strip>;
|
|
2552
2573
|
type Payer = z.infer<typeof payerSchema>;
|
|
2553
2574
|
declare const PayerMongooseSchema: Schema;
|
|
@@ -2624,18 +2645,13 @@ declare const payerSettingsSchema: z.ZodObject<{
|
|
|
2624
2645
|
field: z.ZodString;
|
|
2625
2646
|
label: z.ZodOptional<z.ZodString>;
|
|
2626
2647
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
2627
|
-
string:
|
|
2628
|
-
|
|
2629
|
-
boolean: "boolean";
|
|
2630
|
-
date: "date";
|
|
2631
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
2632
|
-
string: "string";
|
|
2633
|
-
number: "number";
|
|
2634
|
-
boolean: "boolean";
|
|
2635
|
-
date: "date";
|
|
2636
|
-
}>>, z.ZodString]>;
|
|
2648
|
+
[x: string]: string;
|
|
2649
|
+
}>, z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
2637
2650
|
default: z.ZodNullable<z.ZodString>;
|
|
2638
|
-
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber
|
|
2651
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
2652
|
+
key: z.ZodString;
|
|
2653
|
+
value: z.ZodString;
|
|
2654
|
+
}, z.core.$strip>]>>;
|
|
2639
2655
|
}, z.core.$strip>>;
|
|
2640
2656
|
updated_at: z.ZodString;
|
|
2641
2657
|
updated_by: z.ZodString;
|
|
@@ -2669,7 +2685,7 @@ type PayerSettings = z.infer<typeof payerSettingsSchema>;
|
|
|
2669
2685
|
type PayerSettingsKV = z.infer<typeof payerSettingsKVSchema>;
|
|
2670
2686
|
|
|
2671
2687
|
/**
|
|
2672
|
-
* Minimal
|
|
2688
|
+
* Minimal Payer schema (omits server-generated fields).
|
|
2673
2689
|
*/
|
|
2674
2690
|
declare const payerMinimalSchema: z.ZodObject<{
|
|
2675
2691
|
type: z.ZodString;
|
|
@@ -2735,7 +2751,7 @@ declare const payerMinimalSchema: z.ZodObject<{
|
|
|
2735
2751
|
type PayerMinimal = z.infer<typeof payerMinimalSchema>;
|
|
2736
2752
|
|
|
2737
2753
|
/**
|
|
2738
|
-
* Partial
|
|
2754
|
+
* Partial Payer schema (based on minimal, all optional).
|
|
2739
2755
|
*/
|
|
2740
2756
|
declare const payerPartialSchema: z.ZodObject<{
|
|
2741
2757
|
type: z.ZodOptional<z.ZodString>;
|
|
@@ -2806,7 +2822,12 @@ type PayerPartial = z.infer<typeof payerPartialSchema>;
|
|
|
2806
2822
|
*/
|
|
2807
2823
|
declare const QUEUE_SCHEMA_VERSION = 1;
|
|
2808
2824
|
declare const queueSchema: z.ZodObject<{
|
|
2809
|
-
|
|
2825
|
+
_id: z.ZodString;
|
|
2826
|
+
created_at: z.ZodString;
|
|
2827
|
+
created_by: z.ZodString;
|
|
2828
|
+
updated_at: z.ZodString;
|
|
2829
|
+
updated_by: z.ZodString;
|
|
2830
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
2810
2831
|
organization_id: z.ZodString;
|
|
2811
2832
|
facility_id: z.ZodString;
|
|
2812
2833
|
unit_id: z.ZodString;
|
|
@@ -2830,11 +2851,6 @@ declare const queueSchema: z.ZodObject<{
|
|
|
2830
2851
|
}, z.core.$strip>;
|
|
2831
2852
|
call_count: z.ZodNumber;
|
|
2832
2853
|
}, z.core.$strip>>;
|
|
2833
|
-
created_at: z.ZodString;
|
|
2834
|
-
created_by: z.ZodString;
|
|
2835
|
-
updated_at: z.ZodString;
|
|
2836
|
-
updated_by: z.ZodString;
|
|
2837
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
2838
2854
|
}, z.core.$strip>;
|
|
2839
2855
|
type Queue = z.infer<typeof queueSchema>;
|
|
2840
2856
|
declare const QueueMongooseSchema: Schema;
|
|
@@ -2900,44 +2916,7 @@ declare const QueueModel: Model<{
|
|
|
2900
2916
|
}>;
|
|
2901
2917
|
|
|
2902
2918
|
/**
|
|
2903
|
-
*
|
|
2904
|
-
* Use this constant instead of a literal when setting schema_version.
|
|
2905
|
-
*/
|
|
2906
|
-
declare const QUEUE_SETTINGS_SCHEMA_VERSION = 1;
|
|
2907
|
-
declare const queueSettingsSchema: z.ZodObject<{
|
|
2908
|
-
_id: z.ZodString;
|
|
2909
|
-
scope: z.ZodString;
|
|
2910
|
-
options: z.ZodArray<z.ZodObject<{
|
|
2911
|
-
field: z.ZodString;
|
|
2912
|
-
label: z.ZodOptional<z.ZodString>;
|
|
2913
|
-
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
2914
|
-
string: "string";
|
|
2915
|
-
number: "number";
|
|
2916
|
-
boolean: "boolean";
|
|
2917
|
-
date: "date";
|
|
2918
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
2919
|
-
string: "string";
|
|
2920
|
-
number: "number";
|
|
2921
|
-
boolean: "boolean";
|
|
2922
|
-
date: "date";
|
|
2923
|
-
}>>, z.ZodString]>;
|
|
2924
|
-
default: z.ZodNullable<z.ZodString>;
|
|
2925
|
-
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>>;
|
|
2926
|
-
}, z.core.$strip>>;
|
|
2927
|
-
updated_at: z.ZodString;
|
|
2928
|
-
updated_by: z.ZodString;
|
|
2929
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
2930
|
-
}, z.core.$strip>;
|
|
2931
|
-
declare const queueSettingsKVSchema: z.ZodObject<{
|
|
2932
|
-
number_length: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2933
|
-
call_priority: z.ZodDefault<z.ZodString>;
|
|
2934
|
-
call_threshold: z.ZodDefault<z.ZodNumber>;
|
|
2935
|
-
}, z.core.$strip>;
|
|
2936
|
-
type QueueSettings = z.infer<typeof queueSettingsSchema>;
|
|
2937
|
-
type QueueSettingsKV = z.infer<typeof queueSettingsKVSchema>;
|
|
2938
|
-
|
|
2939
|
-
/**
|
|
2940
|
-
* Minimal queue schema (omits server-generated fields).
|
|
2919
|
+
* Minimal Queue schema (omits server-generated fields).
|
|
2941
2920
|
*/
|
|
2942
2921
|
declare const queueMinimalSchema: z.ZodObject<{
|
|
2943
2922
|
facility_id: z.ZodString;
|
|
@@ -2967,7 +2946,7 @@ declare const queueMinimalSchema: z.ZodObject<{
|
|
|
2967
2946
|
type QueueMinimal = z.infer<typeof queueMinimalSchema>;
|
|
2968
2947
|
|
|
2969
2948
|
/**
|
|
2970
|
-
* Partial
|
|
2949
|
+
* Partial Queue schema (based on minimal, all optional).
|
|
2971
2950
|
*/
|
|
2972
2951
|
declare const queuePartialSchema: z.ZodObject<{
|
|
2973
2952
|
facility_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3002,7 +2981,12 @@ type QueuePartial = z.infer<typeof queuePartialSchema>;
|
|
|
3002
2981
|
*/
|
|
3003
2982
|
declare const QUEUE_EVENT_LOG_SCHEMA_VERSION = 1;
|
|
3004
2983
|
declare const queueEventLogSchema: z.ZodObject<{
|
|
3005
|
-
|
|
2984
|
+
_id: z.ZodString;
|
|
2985
|
+
created_at: z.ZodString;
|
|
2986
|
+
created_by: z.ZodString;
|
|
2987
|
+
updated_at: z.ZodString;
|
|
2988
|
+
updated_by: z.ZodString;
|
|
2989
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
3006
2990
|
queue_number_id: z.ZodString;
|
|
3007
2991
|
queue_number: z.ZodString;
|
|
3008
2992
|
events: z.ZodArray<z.ZodObject<{
|
|
@@ -3013,11 +2997,6 @@ declare const queueEventLogSchema: z.ZodObject<{
|
|
|
3013
2997
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3014
2998
|
}, z.core.$strip>>;
|
|
3015
2999
|
count: z.ZodNumber;
|
|
3016
|
-
created_at: z.ZodString;
|
|
3017
|
-
created_by: z.ZodString;
|
|
3018
|
-
updated_at: z.ZodString;
|
|
3019
|
-
updated_by: z.ZodString;
|
|
3020
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
3021
3000
|
}, z.core.$strip>;
|
|
3022
3001
|
type QueueEventLog = z.infer<typeof queueEventLogSchema>;
|
|
3023
3002
|
declare const QueueEventLogMongooseSchema: Schema;
|
|
@@ -3083,7 +3062,7 @@ declare const QueueEventLogModel: Model<{
|
|
|
3083
3062
|
}>;
|
|
3084
3063
|
|
|
3085
3064
|
/**
|
|
3086
|
-
* Minimal
|
|
3065
|
+
* Minimal QueueEventLog schema (omits server-generated fields).
|
|
3087
3066
|
*/
|
|
3088
3067
|
declare const queueEventLogMinimalSchema: z.ZodObject<{
|
|
3089
3068
|
queue_number_id: z.ZodString;
|
|
@@ -3100,7 +3079,7 @@ declare const queueEventLogMinimalSchema: z.ZodObject<{
|
|
|
3100
3079
|
type QueueEventLogMinimal = z.infer<typeof queueEventLogMinimalSchema>;
|
|
3101
3080
|
|
|
3102
3081
|
/**
|
|
3103
|
-
* Partial
|
|
3082
|
+
* Partial QueueEventLog schema (based on minimal, all optional).
|
|
3104
3083
|
*/
|
|
3105
3084
|
declare const queueEventLogPartialSchema: z.ZodObject<{
|
|
3106
3085
|
queue_number_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3122,7 +3101,13 @@ type QueueEventLogPartial = z.infer<typeof queueEventLogPartialSchema>;
|
|
|
3122
3101
|
*/
|
|
3123
3102
|
declare const QUEUE_NUMBER_SCHEMA_VERSION = 1;
|
|
3124
3103
|
declare const queueNumberSchema: z.ZodObject<{
|
|
3125
|
-
|
|
3104
|
+
_id: z.ZodString;
|
|
3105
|
+
created_at: z.ZodString;
|
|
3106
|
+
created_by: z.ZodString;
|
|
3107
|
+
updated_at: z.ZodString;
|
|
3108
|
+
updated_by: z.ZodString;
|
|
3109
|
+
expired_at: z.ZodString;
|
|
3110
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
3126
3111
|
organization_id: z.ZodString;
|
|
3127
3112
|
facility_id: z.ZodString;
|
|
3128
3113
|
patient_id: z.ZodString;
|
|
@@ -3136,12 +3121,6 @@ declare const queueNumberSchema: z.ZodObject<{
|
|
|
3136
3121
|
sequence: z.ZodNumber;
|
|
3137
3122
|
prefix: z.ZodString;
|
|
3138
3123
|
number: z.ZodString;
|
|
3139
|
-
created_at: z.ZodString;
|
|
3140
|
-
created_by: z.ZodString;
|
|
3141
|
-
updated_at: z.ZodString;
|
|
3142
|
-
updated_by: z.ZodString;
|
|
3143
|
-
expired_at: z.ZodString;
|
|
3144
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
3145
3124
|
}, z.core.$strip>;
|
|
3146
3125
|
type QueueNumber = z.infer<typeof queueNumberSchema>;
|
|
3147
3126
|
declare const QueueNumberMongooseSchema: Schema;
|
|
@@ -3218,18 +3197,13 @@ declare const queueNumberSettingsSchema: z.ZodObject<{
|
|
|
3218
3197
|
field: z.ZodString;
|
|
3219
3198
|
label: z.ZodOptional<z.ZodString>;
|
|
3220
3199
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3221
|
-
string:
|
|
3222
|
-
|
|
3223
|
-
boolean: "boolean";
|
|
3224
|
-
date: "date";
|
|
3225
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
3226
|
-
string: "string";
|
|
3227
|
-
number: "number";
|
|
3228
|
-
boolean: "boolean";
|
|
3229
|
-
date: "date";
|
|
3230
|
-
}>>, z.ZodString]>;
|
|
3200
|
+
[x: string]: string;
|
|
3201
|
+
}>, z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3231
3202
|
default: z.ZodNullable<z.ZodString>;
|
|
3232
|
-
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber
|
|
3203
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
3204
|
+
key: z.ZodString;
|
|
3205
|
+
value: z.ZodString;
|
|
3206
|
+
}, z.core.$strip>]>>;
|
|
3233
3207
|
}, z.core.$strip>>;
|
|
3234
3208
|
updated_at: z.ZodString;
|
|
3235
3209
|
updated_by: z.ZodString;
|
|
@@ -3263,7 +3237,7 @@ type QueueNumberSettings = z.infer<typeof queueNumberSettingsSchema>;
|
|
|
3263
3237
|
type QueueNumberSettingsKV = z.infer<typeof queueNumberSettingsKVSchema>;
|
|
3264
3238
|
|
|
3265
3239
|
/**
|
|
3266
|
-
* Minimal
|
|
3240
|
+
* Minimal QueueNumber schema (omits server-generated fields).
|
|
3267
3241
|
*/
|
|
3268
3242
|
declare const queueNumberMinimalSchema: z.ZodObject<{
|
|
3269
3243
|
number: z.ZodString;
|
|
@@ -3283,7 +3257,7 @@ declare const queueNumberMinimalSchema: z.ZodObject<{
|
|
|
3283
3257
|
type QueueNumberMinimal = z.infer<typeof queueNumberMinimalSchema>;
|
|
3284
3258
|
|
|
3285
3259
|
/**
|
|
3286
|
-
* Partial
|
|
3260
|
+
* Partial QueueNumber schema (based on minimal, all optional).
|
|
3287
3261
|
*/
|
|
3288
3262
|
declare const queueNumberPartialSchema: z.ZodObject<{
|
|
3289
3263
|
number: z.ZodOptional<z.ZodString>;
|
|
@@ -3302,4 +3276,127 @@ declare const queueNumberPartialSchema: z.ZodObject<{
|
|
|
3302
3276
|
}, z.core.$strip>;
|
|
3303
3277
|
type QueueNumberPartial = z.infer<typeof queueNumberPartialSchema>;
|
|
3304
3278
|
|
|
3305
|
-
|
|
3279
|
+
/**
|
|
3280
|
+
* Current schema version for the Article model.
|
|
3281
|
+
* Use this constant instead of a literal when setting schema_version.
|
|
3282
|
+
*/
|
|
3283
|
+
declare const ARTICLE_SCHEMA_VERSION = 1;
|
|
3284
|
+
declare const articleSchema: z.ZodObject<{
|
|
3285
|
+
_id: z.ZodString;
|
|
3286
|
+
created_at: z.ZodString;
|
|
3287
|
+
created_by: z.ZodString;
|
|
3288
|
+
updated_at: z.ZodString;
|
|
3289
|
+
updated_by: z.ZodString;
|
|
3290
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
3291
|
+
facility_id: z.ZodString;
|
|
3292
|
+
title: z.ZodString;
|
|
3293
|
+
banner: z.ZodURL;
|
|
3294
|
+
body: z.ZodString;
|
|
3295
|
+
status: z.ZodObject<{
|
|
3296
|
+
system: z.ZodString;
|
|
3297
|
+
value: z.ZodString;
|
|
3298
|
+
display: z.ZodOptional<z.ZodString>;
|
|
3299
|
+
valid: z.ZodOptional<z.ZodString>;
|
|
3300
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3301
|
+
}, z.core.$strip>;
|
|
3302
|
+
}, z.core.$strip>;
|
|
3303
|
+
type Article = z.infer<typeof articleSchema>;
|
|
3304
|
+
declare const ArticleMongooseSchema: Schema;
|
|
3305
|
+
type ArticleDocument = InferDocument<typeof articleSchema>;
|
|
3306
|
+
declare const ArticleModel: Model<{
|
|
3307
|
+
[x: number]: unknown;
|
|
3308
|
+
[x: symbol]: unknown;
|
|
3309
|
+
[x: string]: unknown;
|
|
3310
|
+
}, {}, {}, {
|
|
3311
|
+
id: string;
|
|
3312
|
+
}, mongoose.Document<unknown, {}, {
|
|
3313
|
+
[x: number]: unknown;
|
|
3314
|
+
[x: symbol]: unknown;
|
|
3315
|
+
[x: string]: unknown;
|
|
3316
|
+
}, {
|
|
3317
|
+
id: string;
|
|
3318
|
+
}, mongoose.DefaultSchemaOptions> & Omit<{
|
|
3319
|
+
[x: number]: unknown;
|
|
3320
|
+
[x: symbol]: unknown;
|
|
3321
|
+
[x: string]: unknown;
|
|
3322
|
+
} & Required<{
|
|
3323
|
+
_id: unknown;
|
|
3324
|
+
}> & {
|
|
3325
|
+
__v: number;
|
|
3326
|
+
}, "id"> & mongoose.HydratedDocumentOverrides<{
|
|
3327
|
+
id: string;
|
|
3328
|
+
}>, Schema<any, Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
3329
|
+
[x: number]: unknown;
|
|
3330
|
+
[x: symbol]: unknown;
|
|
3331
|
+
[x: string]: unknown;
|
|
3332
|
+
}, mongoose.Document<unknown, {}, {
|
|
3333
|
+
[x: number]: unknown;
|
|
3334
|
+
[x: symbol]: unknown;
|
|
3335
|
+
[x: string]: unknown;
|
|
3336
|
+
}, {
|
|
3337
|
+
id: string;
|
|
3338
|
+
}, mongoose.DefaultSchemaOptions> & Omit<{
|
|
3339
|
+
[x: number]: unknown;
|
|
3340
|
+
[x: symbol]: unknown;
|
|
3341
|
+
[x: string]: unknown;
|
|
3342
|
+
} & Required<{
|
|
3343
|
+
_id: unknown;
|
|
3344
|
+
}> & {
|
|
3345
|
+
__v: number;
|
|
3346
|
+
}, "id"> & mongoose.HydratedDocumentOverrides<{
|
|
3347
|
+
id: string;
|
|
3348
|
+
}>, unknown, {
|
|
3349
|
+
[x: number]: {};
|
|
3350
|
+
[x: symbol]: {};
|
|
3351
|
+
[x: string]: {};
|
|
3352
|
+
} & Required<{
|
|
3353
|
+
_id: unknown;
|
|
3354
|
+
}> & {
|
|
3355
|
+
__v: number;
|
|
3356
|
+
}>, {
|
|
3357
|
+
[x: number]: {};
|
|
3358
|
+
[x: symbol]: {};
|
|
3359
|
+
[x: string]: {};
|
|
3360
|
+
} & Required<{
|
|
3361
|
+
_id: unknown;
|
|
3362
|
+
}> & {
|
|
3363
|
+
__v: number;
|
|
3364
|
+
}>;
|
|
3365
|
+
|
|
3366
|
+
/**
|
|
3367
|
+
* Minimal Article schema (omits server-generated fields).
|
|
3368
|
+
*/
|
|
3369
|
+
declare const articleMinimalSchema: z.ZodObject<{
|
|
3370
|
+
status: z.ZodObject<{
|
|
3371
|
+
system: z.ZodString;
|
|
3372
|
+
value: z.ZodString;
|
|
3373
|
+
display: z.ZodOptional<z.ZodString>;
|
|
3374
|
+
valid: z.ZodOptional<z.ZodString>;
|
|
3375
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3376
|
+
}, z.core.$strip>;
|
|
3377
|
+
title: z.ZodString;
|
|
3378
|
+
facility_id: z.ZodString;
|
|
3379
|
+
banner: z.ZodURL;
|
|
3380
|
+
body: z.ZodString;
|
|
3381
|
+
}, z.core.$strip>;
|
|
3382
|
+
type ArticleMinimal = z.infer<typeof articleMinimalSchema>;
|
|
3383
|
+
|
|
3384
|
+
/**
|
|
3385
|
+
* Partial Article schema (based on minimal, all optional).
|
|
3386
|
+
*/
|
|
3387
|
+
declare const articlePartialSchema: z.ZodObject<{
|
|
3388
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
3389
|
+
system: z.ZodString;
|
|
3390
|
+
value: z.ZodString;
|
|
3391
|
+
display: z.ZodOptional<z.ZodString>;
|
|
3392
|
+
valid: z.ZodOptional<z.ZodString>;
|
|
3393
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3394
|
+
}, z.core.$strip>>;
|
|
3395
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3396
|
+
facility_id: z.ZodOptional<z.ZodString>;
|
|
3397
|
+
banner: z.ZodOptional<z.ZodURL>;
|
|
3398
|
+
body: z.ZodOptional<z.ZodString>;
|
|
3399
|
+
}, z.core.$strip>;
|
|
3400
|
+
type ArticlePartial = z.infer<typeof articlePartialSchema>;
|
|
3401
|
+
|
|
3402
|
+
export { ARTICLE_SCHEMA_VERSION, ASSIGNMENT_SCHEMA_VERSION, type Address, type ApiResponse, type Article, type ArticleDocument, type ArticleMinimal, ArticleModel, ArticleMongooseSchema, type ArticlePartial, type Assignment, type AssignmentDocument, type AssignmentMinimal, AssignmentModel, AssignmentMongooseSchema, type AssignmentPartial, type BaseSchema, type BaseSchemaWithExpiredAt, type CodedConcept, DEPARTMENT_SCHEMA_VERSION, type Demographic, type Department, type DepartmentDocument, type DepartmentMinimal, DepartmentModel, DepartmentMongooseSchema, type DepartmentPartial, FACILITY_SCHEMA_VERSION, FACILITY_SETTINGS_SCHEMA_VERSION, type Facility, type FacilityDocument, type FacilityMinimal, FacilityModel, FacilityMongooseSchema, type FacilityPartial, type FacilitySettings, type FacilitySettingsKV, KSM_SCHEMA_VERSION, type Ksm, type KsmDocument, type KsmMinimal, KsmModel, KsmMongooseSchema, type KsmPartial, LOCATION_SCHEMA_VERSION, LOCATION_SETTINGS_SCHEMA_VERSION, type Location, type LocationDocument, type LocationMinimal, LocationModel, LocationMongooseSchema, type LocationPartial, type LocationSettings, type LocationSettingsKV, MEMBER_SCHEMA_VERSION, type Member, type MemberDocument, type MemberMinimal, MemberModel, MemberMongooseSchema, type MemberPartial, type Metadata, ORGANIZATION_SCHEMA_VERSION, ORGANIZATION_SETTINGS_SCHEMA_VERSION, type ObjectId, type Organization, type OrganizationDocument, type OrganizationMinimal, OrganizationModel, OrganizationMongooseSchema, type OrganizationPartial, type OrganizationSettings, type OrganizationSettingsKV, PATIENT_ADDITIONAL_SCHEMA_VERSION, PATIENT_SCHEMA_VERSION, PAYER_SCHEMA_VERSION, PAYER_SETTINGS_SCHEMA_VERSION, PRACTITIONER_SCHEDULE_SCHEMA_VERSION, PRACTITIONER_SESSION_SCHEMA_VERSION, type Patient, type PatientAdditional, type PatientAdditionalDocument, type PatientAdditionalMinimal, PatientAdditionalModel, PatientAdditionalMongooseSchema, type PatientAdditionalPartial, type PatientDocument, type PatientMinimal, PatientModel, PatientMongooseSchema, type PatientPartial, type Payer, type PayerDocument, type PayerMinimal, PayerModel, PayerMongooseSchema, type PayerPartial, type PayerSettings, type PayerSettingsKV, type PractitionerSchedule, type PractitionerScheduleDocument, type PractitionerScheduleMinimal, PractitionerScheduleModel, PractitionerScheduleMongooseSchema, type PractitionerSchedulePartial, type PractitionerSession, type PractitionerSessionDocument, type PractitionerSessionMinimal, PractitionerSessionModel, PractitionerSessionMongooseSchema, type PractitionerSessionPartial, QUEUE_EVENT_LOG_SCHEMA_VERSION, QUEUE_NUMBER_SCHEMA_VERSION, QUEUE_NUMBER_SETTINGS_SCHEMA_VERSION, QUEUE_SCHEMA_VERSION, type Queue, type QueueDocument, type QueueEventLog, type QueueEventLogDocument, type QueueEventLogMinimal, QueueEventLogModel, QueueEventLogMongooseSchema, type QueueEventLogPartial, type QueueMinimal, QueueModel, QueueMongooseSchema, type QueueNumber, type QueueNumberDocument, type QueueNumberMinimal, QueueNumberModel, QueueNumberMongooseSchema, type QueueNumberPartial, type QueueNumberSettings, type QueueNumberSettingsKV, type QueuePartial, STAFF_SCHEMA_VERSION, type SettingOption, type SettingOptionType, type SingleResourceResponse, type Staff, type StaffDocument, type StaffMinimal, StaffModel, StaffMongooseSchema, type StaffPartial, type Timestamp, UNIT_SCHEMA_VERSION, USER_SCHEMA_VERSION, USER_SETTINGS_SCHEMA_VERSION, type Unit, type UnitDocument, type UnitMinimal, UnitModel, UnitMongooseSchema, type UnitPartial, type User, type UserDocument, type UserMinimal, UserModel, UserMongooseSchema, type UserPartial, type UserSettings, type UserSettingsKV, addressSchema, apiResponseSchema, articleMinimalSchema, articlePartialSchema, articleSchema, assignmentMinimalSchema, assignmentPartialSchema, assignmentSchema, baseSchema, baseSchemaWithExpiredAt, codedConceptSchema, demographicSchema, departmentMinimalSchema, departmentPartialSchema, departmentSchema, facilityMinimalSchema, facilityPartialSchema, facilitySchema, facilitySettingsKVSchema, facilitySettingsSchema, ksmMinimalSchema, ksmPartialSchema, ksmSchema, locationMinimalSchema, locationPartialSchema, locationSchema, locationSettingsKVSchema, locationSettingsSchema, memberMinimalSchema, memberPartialSchema, memberSchema, metadataSchema, objectIdSchema, organizationMinimalSchema, organizationPartialSchema, organizationSchema, organizationSettingsKVSchema, organizationSettingsSchema, patientAdditionalMinimalSchema, patientAdditionalPartialSchema, patientAdditionalSchema, patientMinimalSchema, patientPartialSchema, patientSchema, payerMinimalSchema, payerPartialSchema, payerSchema, payerSettingsKVSchema, payerSettingsSchema, practitionerScheduleMinimalSchema, practitionerSchedulePartialSchema, practitionerScheduleSchema, practitionerSessionMinimalSchema, practitionerSessionPartialSchema, practitionerSessionSchema, queueEventLogMinimalSchema, queueEventLogPartialSchema, queueEventLogSchema, queueMinimalSchema, queueNumberMinimalSchema, queueNumberPartialSchema, queueNumberSchema, queueNumberSettingsKVSchema, queueNumberSettingsSchema, queuePartialSchema, queueSchema, settingOptionSchema, settingOptionTypeSchema, singleResourceResponseSchema, staffMinimalSchema, staffPartialSchema, staffSchema, timestampSchema, unitMinimalSchema, unitPartialSchema, unitSchema, userMinimalSchema, userPartialSchema, userSchema, userSettingsKVSchema, userSettingsSchema };
|