@digitalmedika/satusehat 0.1.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.
Files changed (44) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +135 -0
  3. package/dist/builders/cbc-panel-builder.d.ts +18 -0
  4. package/dist/builders/laboratory-panel-builder.d.ts +72 -0
  5. package/dist/builders/organization-builder.d.ts +23 -0
  6. package/dist/builders/service-request-specimen-observation-builder.d.ts +62 -0
  7. package/dist/client/auth.d.ts +11 -0
  8. package/dist/client/create-client.d.ts +5 -0
  9. package/dist/client/token-store.d.ts +7 -0
  10. package/dist/client/transport.d.ts +28 -0
  11. package/dist/core/errors.d.ts +25 -0
  12. package/dist/core/types.d.ts +293 -0
  13. package/dist/endpoints/condition.d.ts +945 -0
  14. package/dist/endpoints/diagnostic-report.d.ts +560 -0
  15. package/dist/endpoints/encounter.d.ts +1150 -0
  16. package/dist/endpoints/location.d.ts +500 -0
  17. package/dist/endpoints/medication-request.d.ts +1585 -0
  18. package/dist/endpoints/medication.d.ts +395 -0
  19. package/dist/endpoints/observation.d.ts +1415 -0
  20. package/dist/endpoints/organization.d.ts +454 -0
  21. package/dist/endpoints/patient.d.ts +72 -0
  22. package/dist/endpoints/practitioner-role.d.ts +425 -0
  23. package/dist/endpoints/practitioner.d.ts +210 -0
  24. package/dist/endpoints/procedure.d.ts +990 -0
  25. package/dist/endpoints/service-request.d.ts +1040 -0
  26. package/dist/endpoints/specimen.d.ts +1005 -0
  27. package/dist/index.d.ts +26 -0
  28. package/dist/index.js +21 -0
  29. package/dist/schemas/common.d.ts +328 -0
  30. package/dist/schemas/condition.d.ts +5314 -0
  31. package/dist/schemas/diagnostic-report.d.ts +2631 -0
  32. package/dist/schemas/encounter.d.ts +7087 -0
  33. package/dist/schemas/location.d.ts +2432 -0
  34. package/dist/schemas/medication-request.d.ts +12183 -0
  35. package/dist/schemas/medication.d.ts +2111 -0
  36. package/dist/schemas/observation.d.ts +9253 -0
  37. package/dist/schemas/organization.d.ts +3357 -0
  38. package/dist/schemas/patient.d.ts +418 -0
  39. package/dist/schemas/practitioner-role.d.ts +1930 -0
  40. package/dist/schemas/practitioner.d.ts +1626 -0
  41. package/dist/schemas/procedure.d.ts +5283 -0
  42. package/dist/schemas/service-request.d.ts +5268 -0
  43. package/dist/schemas/specimen.d.ts +6520 -0
  44. package/package.json +61 -0
@@ -0,0 +1,1626 @@
1
+ import { z } from "zod";
2
+ export declare const PractitionerIdentifierSchema: z.ZodObject<{
3
+ system: z.ZodOptional<z.ZodString>;
4
+ use: z.ZodOptional<z.ZodString>;
5
+ value: z.ZodOptional<z.ZodString>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ value?: string | undefined;
8
+ system?: string | undefined;
9
+ use?: string | undefined;
10
+ }, {
11
+ value?: string | undefined;
12
+ system?: string | undefined;
13
+ use?: string | undefined;
14
+ }>;
15
+ export declare const PractitionerQualificationSchema: z.ZodObject<{
16
+ identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
+ system: z.ZodOptional<z.ZodString>;
18
+ use: z.ZodOptional<z.ZodString>;
19
+ value: z.ZodOptional<z.ZodString>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ value?: string | undefined;
22
+ system?: string | undefined;
23
+ use?: string | undefined;
24
+ }, {
25
+ value?: string | undefined;
26
+ system?: string | undefined;
27
+ use?: string | undefined;
28
+ }>, "many">>;
29
+ code: z.ZodObject<{
30
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
31
+ system: z.ZodOptional<z.ZodString>;
32
+ code: z.ZodOptional<z.ZodString>;
33
+ display: z.ZodOptional<z.ZodString>;
34
+ }, "strip", z.ZodTypeAny, {
35
+ code?: string | undefined;
36
+ system?: string | undefined;
37
+ display?: string | undefined;
38
+ }, {
39
+ code?: string | undefined;
40
+ system?: string | undefined;
41
+ display?: string | undefined;
42
+ }>, "many">>;
43
+ text: z.ZodOptional<z.ZodString>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ coding?: {
46
+ code?: string | undefined;
47
+ system?: string | undefined;
48
+ display?: string | undefined;
49
+ }[] | undefined;
50
+ text?: string | undefined;
51
+ }, {
52
+ coding?: {
53
+ code?: string | undefined;
54
+ system?: string | undefined;
55
+ display?: string | undefined;
56
+ }[] | undefined;
57
+ text?: string | undefined;
58
+ }>;
59
+ period: z.ZodOptional<z.ZodObject<{
60
+ start: z.ZodOptional<z.ZodString>;
61
+ end: z.ZodOptional<z.ZodString>;
62
+ }, "strip", z.ZodTypeAny, {
63
+ start?: string | undefined;
64
+ end?: string | undefined;
65
+ }, {
66
+ start?: string | undefined;
67
+ end?: string | undefined;
68
+ }>>;
69
+ issuer: z.ZodOptional<z.ZodObject<{
70
+ reference: z.ZodString;
71
+ display: z.ZodOptional<z.ZodString>;
72
+ type: z.ZodOptional<z.ZodString>;
73
+ }, "strip", z.ZodTypeAny, {
74
+ reference: string;
75
+ type?: string | undefined;
76
+ display?: string | undefined;
77
+ }, {
78
+ reference: string;
79
+ type?: string | undefined;
80
+ display?: string | undefined;
81
+ }>>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ code: {
84
+ coding?: {
85
+ code?: string | undefined;
86
+ system?: string | undefined;
87
+ display?: string | undefined;
88
+ }[] | undefined;
89
+ text?: string | undefined;
90
+ };
91
+ period?: {
92
+ start?: string | undefined;
93
+ end?: string | undefined;
94
+ } | undefined;
95
+ identifier?: {
96
+ value?: string | undefined;
97
+ system?: string | undefined;
98
+ use?: string | undefined;
99
+ }[] | undefined;
100
+ issuer?: {
101
+ reference: string;
102
+ type?: string | undefined;
103
+ display?: string | undefined;
104
+ } | undefined;
105
+ }, {
106
+ code: {
107
+ coding?: {
108
+ code?: string | undefined;
109
+ system?: string | undefined;
110
+ display?: string | undefined;
111
+ }[] | undefined;
112
+ text?: string | undefined;
113
+ };
114
+ period?: {
115
+ start?: string | undefined;
116
+ end?: string | undefined;
117
+ } | undefined;
118
+ identifier?: {
119
+ value?: string | undefined;
120
+ system?: string | undefined;
121
+ use?: string | undefined;
122
+ }[] | undefined;
123
+ issuer?: {
124
+ reference: string;
125
+ type?: string | undefined;
126
+ display?: string | undefined;
127
+ } | undefined;
128
+ }>;
129
+ export declare const PractitionerSchema: z.ZodObject<{
130
+ resourceType: z.ZodLiteral<"Practitioner">;
131
+ id: z.ZodString;
132
+ active: z.ZodOptional<z.ZodBoolean>;
133
+ identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
134
+ system: z.ZodOptional<z.ZodString>;
135
+ use: z.ZodOptional<z.ZodString>;
136
+ value: z.ZodOptional<z.ZodString>;
137
+ }, "strip", z.ZodTypeAny, {
138
+ value?: string | undefined;
139
+ system?: string | undefined;
140
+ use?: string | undefined;
141
+ }, {
142
+ value?: string | undefined;
143
+ system?: string | undefined;
144
+ use?: string | undefined;
145
+ }>, "many">>;
146
+ name: z.ZodOptional<z.ZodArray<z.ZodObject<{
147
+ use: z.ZodOptional<z.ZodString>;
148
+ text: z.ZodOptional<z.ZodString>;
149
+ family: z.ZodOptional<z.ZodString>;
150
+ given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
151
+ prefix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
152
+ suffix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ text?: string | undefined;
155
+ use?: string | undefined;
156
+ family?: string | undefined;
157
+ given?: string[] | undefined;
158
+ prefix?: string[] | undefined;
159
+ suffix?: string[] | undefined;
160
+ }, {
161
+ text?: string | undefined;
162
+ use?: string | undefined;
163
+ family?: string | undefined;
164
+ given?: string[] | undefined;
165
+ prefix?: string[] | undefined;
166
+ suffix?: string[] | undefined;
167
+ }>, "many">>;
168
+ telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
169
+ system: z.ZodOptional<z.ZodEnum<["phone", "fax", "email", "pager", "url", "sms", "other"]>>;
170
+ value: z.ZodOptional<z.ZodString>;
171
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "mobile"]>>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ value?: string | undefined;
174
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
175
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
176
+ }, {
177
+ value?: string | undefined;
178
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
179
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
180
+ }>, "many">>;
181
+ address: z.ZodOptional<z.ZodArray<z.ZodObject<{
182
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "billing"]>>;
183
+ type: z.ZodOptional<z.ZodEnum<["postal", "physical", "both"]>>;
184
+ text: z.ZodOptional<z.ZodString>;
185
+ line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
186
+ city: z.ZodOptional<z.ZodString>;
187
+ district: z.ZodOptional<z.ZodString>;
188
+ state: z.ZodOptional<z.ZodString>;
189
+ postalCode: z.ZodOptional<z.ZodString>;
190
+ country: z.ZodOptional<z.ZodString>;
191
+ period: z.ZodOptional<z.ZodObject<{
192
+ start: z.ZodOptional<z.ZodString>;
193
+ end: z.ZodOptional<z.ZodString>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ start?: string | undefined;
196
+ end?: string | undefined;
197
+ }, {
198
+ start?: string | undefined;
199
+ end?: string | undefined;
200
+ }>>;
201
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
202
+ url: z.ZodString;
203
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
204
+ url: z.ZodString;
205
+ valueCode: z.ZodString;
206
+ }, "strip", z.ZodTypeAny, {
207
+ url: string;
208
+ valueCode: string;
209
+ }, {
210
+ url: string;
211
+ valueCode: string;
212
+ }>, "many">>;
213
+ }, "strip", z.ZodTypeAny, {
214
+ url: string;
215
+ extension?: {
216
+ url: string;
217
+ valueCode: string;
218
+ }[] | undefined;
219
+ }, {
220
+ url: string;
221
+ extension?: {
222
+ url: string;
223
+ valueCode: string;
224
+ }[] | undefined;
225
+ }>, "many">>;
226
+ }, "strip", z.ZodTypeAny, {
227
+ type?: "postal" | "physical" | "both" | undefined;
228
+ text?: string | undefined;
229
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
230
+ extension?: {
231
+ url: string;
232
+ extension?: {
233
+ url: string;
234
+ valueCode: string;
235
+ }[] | undefined;
236
+ }[] | undefined;
237
+ line?: string[] | undefined;
238
+ city?: string | undefined;
239
+ district?: string | undefined;
240
+ state?: string | undefined;
241
+ postalCode?: string | undefined;
242
+ country?: string | undefined;
243
+ period?: {
244
+ start?: string | undefined;
245
+ end?: string | undefined;
246
+ } | undefined;
247
+ }, {
248
+ type?: "postal" | "physical" | "both" | undefined;
249
+ text?: string | undefined;
250
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
251
+ extension?: {
252
+ url: string;
253
+ extension?: {
254
+ url: string;
255
+ valueCode: string;
256
+ }[] | undefined;
257
+ }[] | undefined;
258
+ line?: string[] | undefined;
259
+ city?: string | undefined;
260
+ district?: string | undefined;
261
+ state?: string | undefined;
262
+ postalCode?: string | undefined;
263
+ country?: string | undefined;
264
+ period?: {
265
+ start?: string | undefined;
266
+ end?: string | undefined;
267
+ } | undefined;
268
+ }>, "many">>;
269
+ gender: z.ZodOptional<z.ZodEnum<["male", "female", "other", "unknown"]>>;
270
+ birthDate: z.ZodOptional<z.ZodString>;
271
+ photo: z.ZodOptional<z.ZodArray<z.ZodObject<{
272
+ contentType: z.ZodOptional<z.ZodString>;
273
+ language: z.ZodOptional<z.ZodString>;
274
+ data: z.ZodOptional<z.ZodString>;
275
+ url: z.ZodOptional<z.ZodString>;
276
+ size: z.ZodOptional<z.ZodNumber>;
277
+ hash: z.ZodOptional<z.ZodString>;
278
+ title: z.ZodOptional<z.ZodString>;
279
+ creation: z.ZodOptional<z.ZodString>;
280
+ }, "strip", z.ZodTypeAny, {
281
+ url?: string | undefined;
282
+ contentType?: string | undefined;
283
+ language?: string | undefined;
284
+ data?: string | undefined;
285
+ size?: number | undefined;
286
+ hash?: string | undefined;
287
+ title?: string | undefined;
288
+ creation?: string | undefined;
289
+ }, {
290
+ url?: string | undefined;
291
+ contentType?: string | undefined;
292
+ language?: string | undefined;
293
+ data?: string | undefined;
294
+ size?: number | undefined;
295
+ hash?: string | undefined;
296
+ title?: string | undefined;
297
+ creation?: string | undefined;
298
+ }>, "many">>;
299
+ qualification: z.ZodOptional<z.ZodArray<z.ZodObject<{
300
+ identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
301
+ system: z.ZodOptional<z.ZodString>;
302
+ use: z.ZodOptional<z.ZodString>;
303
+ value: z.ZodOptional<z.ZodString>;
304
+ }, "strip", z.ZodTypeAny, {
305
+ value?: string | undefined;
306
+ system?: string | undefined;
307
+ use?: string | undefined;
308
+ }, {
309
+ value?: string | undefined;
310
+ system?: string | undefined;
311
+ use?: string | undefined;
312
+ }>, "many">>;
313
+ code: z.ZodObject<{
314
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
315
+ system: z.ZodOptional<z.ZodString>;
316
+ code: z.ZodOptional<z.ZodString>;
317
+ display: z.ZodOptional<z.ZodString>;
318
+ }, "strip", z.ZodTypeAny, {
319
+ code?: string | undefined;
320
+ system?: string | undefined;
321
+ display?: string | undefined;
322
+ }, {
323
+ code?: string | undefined;
324
+ system?: string | undefined;
325
+ display?: string | undefined;
326
+ }>, "many">>;
327
+ text: z.ZodOptional<z.ZodString>;
328
+ }, "strip", z.ZodTypeAny, {
329
+ coding?: {
330
+ code?: string | undefined;
331
+ system?: string | undefined;
332
+ display?: string | undefined;
333
+ }[] | undefined;
334
+ text?: string | undefined;
335
+ }, {
336
+ coding?: {
337
+ code?: string | undefined;
338
+ system?: string | undefined;
339
+ display?: string | undefined;
340
+ }[] | undefined;
341
+ text?: string | undefined;
342
+ }>;
343
+ period: z.ZodOptional<z.ZodObject<{
344
+ start: z.ZodOptional<z.ZodString>;
345
+ end: z.ZodOptional<z.ZodString>;
346
+ }, "strip", z.ZodTypeAny, {
347
+ start?: string | undefined;
348
+ end?: string | undefined;
349
+ }, {
350
+ start?: string | undefined;
351
+ end?: string | undefined;
352
+ }>>;
353
+ issuer: z.ZodOptional<z.ZodObject<{
354
+ reference: z.ZodString;
355
+ display: z.ZodOptional<z.ZodString>;
356
+ type: z.ZodOptional<z.ZodString>;
357
+ }, "strip", z.ZodTypeAny, {
358
+ reference: string;
359
+ type?: string | undefined;
360
+ display?: string | undefined;
361
+ }, {
362
+ reference: string;
363
+ type?: string | undefined;
364
+ display?: string | undefined;
365
+ }>>;
366
+ }, "strip", z.ZodTypeAny, {
367
+ code: {
368
+ coding?: {
369
+ code?: string | undefined;
370
+ system?: string | undefined;
371
+ display?: string | undefined;
372
+ }[] | undefined;
373
+ text?: string | undefined;
374
+ };
375
+ period?: {
376
+ start?: string | undefined;
377
+ end?: string | undefined;
378
+ } | undefined;
379
+ identifier?: {
380
+ value?: string | undefined;
381
+ system?: string | undefined;
382
+ use?: string | undefined;
383
+ }[] | undefined;
384
+ issuer?: {
385
+ reference: string;
386
+ type?: string | undefined;
387
+ display?: string | undefined;
388
+ } | undefined;
389
+ }, {
390
+ code: {
391
+ coding?: {
392
+ code?: string | undefined;
393
+ system?: string | undefined;
394
+ display?: string | undefined;
395
+ }[] | undefined;
396
+ text?: string | undefined;
397
+ };
398
+ period?: {
399
+ start?: string | undefined;
400
+ end?: string | undefined;
401
+ } | undefined;
402
+ identifier?: {
403
+ value?: string | undefined;
404
+ system?: string | undefined;
405
+ use?: string | undefined;
406
+ }[] | undefined;
407
+ issuer?: {
408
+ reference: string;
409
+ type?: string | undefined;
410
+ display?: string | undefined;
411
+ } | undefined;
412
+ }>, "many">>;
413
+ communication: z.ZodOptional<z.ZodArray<z.ZodObject<{
414
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
415
+ system: z.ZodOptional<z.ZodString>;
416
+ code: z.ZodOptional<z.ZodString>;
417
+ display: z.ZodOptional<z.ZodString>;
418
+ }, "strip", z.ZodTypeAny, {
419
+ code?: string | undefined;
420
+ system?: string | undefined;
421
+ display?: string | undefined;
422
+ }, {
423
+ code?: string | undefined;
424
+ system?: string | undefined;
425
+ display?: string | undefined;
426
+ }>, "many">>;
427
+ text: z.ZodOptional<z.ZodString>;
428
+ }, "strip", z.ZodTypeAny, {
429
+ coding?: {
430
+ code?: string | undefined;
431
+ system?: string | undefined;
432
+ display?: string | undefined;
433
+ }[] | undefined;
434
+ text?: string | undefined;
435
+ }, {
436
+ coding?: {
437
+ code?: string | undefined;
438
+ system?: string | undefined;
439
+ display?: string | undefined;
440
+ }[] | undefined;
441
+ text?: string | undefined;
442
+ }>, "many">>;
443
+ meta: z.ZodOptional<z.ZodObject<{
444
+ lastUpdated: z.ZodOptional<z.ZodString>;
445
+ profile: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
446
+ versionId: z.ZodOptional<z.ZodString>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ lastUpdated?: string | undefined;
449
+ profile?: string[] | undefined;
450
+ versionId?: string | undefined;
451
+ }, {
452
+ lastUpdated?: string | undefined;
453
+ profile?: string[] | undefined;
454
+ versionId?: string | undefined;
455
+ }>>;
456
+ }, "strip", z.ZodTypeAny, {
457
+ resourceType: "Practitioner";
458
+ id: string;
459
+ active?: boolean | undefined;
460
+ birthDate?: string | undefined;
461
+ gender?: "other" | "unknown" | "male" | "female" | undefined;
462
+ identifier?: {
463
+ value?: string | undefined;
464
+ system?: string | undefined;
465
+ use?: string | undefined;
466
+ }[] | undefined;
467
+ meta?: {
468
+ lastUpdated?: string | undefined;
469
+ profile?: string[] | undefined;
470
+ versionId?: string | undefined;
471
+ } | undefined;
472
+ name?: {
473
+ text?: string | undefined;
474
+ use?: string | undefined;
475
+ family?: string | undefined;
476
+ given?: string[] | undefined;
477
+ prefix?: string[] | undefined;
478
+ suffix?: string[] | undefined;
479
+ }[] | undefined;
480
+ telecom?: {
481
+ value?: string | undefined;
482
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
483
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
484
+ }[] | undefined;
485
+ address?: {
486
+ type?: "postal" | "physical" | "both" | undefined;
487
+ text?: string | undefined;
488
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
489
+ extension?: {
490
+ url: string;
491
+ extension?: {
492
+ url: string;
493
+ valueCode: string;
494
+ }[] | undefined;
495
+ }[] | undefined;
496
+ line?: string[] | undefined;
497
+ city?: string | undefined;
498
+ district?: string | undefined;
499
+ state?: string | undefined;
500
+ postalCode?: string | undefined;
501
+ country?: string | undefined;
502
+ period?: {
503
+ start?: string | undefined;
504
+ end?: string | undefined;
505
+ } | undefined;
506
+ }[] | undefined;
507
+ photo?: {
508
+ url?: string | undefined;
509
+ contentType?: string | undefined;
510
+ language?: string | undefined;
511
+ data?: string | undefined;
512
+ size?: number | undefined;
513
+ hash?: string | undefined;
514
+ title?: string | undefined;
515
+ creation?: string | undefined;
516
+ }[] | undefined;
517
+ qualification?: {
518
+ code: {
519
+ coding?: {
520
+ code?: string | undefined;
521
+ system?: string | undefined;
522
+ display?: string | undefined;
523
+ }[] | undefined;
524
+ text?: string | undefined;
525
+ };
526
+ period?: {
527
+ start?: string | undefined;
528
+ end?: string | undefined;
529
+ } | undefined;
530
+ identifier?: {
531
+ value?: string | undefined;
532
+ system?: string | undefined;
533
+ use?: string | undefined;
534
+ }[] | undefined;
535
+ issuer?: {
536
+ reference: string;
537
+ type?: string | undefined;
538
+ display?: string | undefined;
539
+ } | undefined;
540
+ }[] | undefined;
541
+ communication?: {
542
+ coding?: {
543
+ code?: string | undefined;
544
+ system?: string | undefined;
545
+ display?: string | undefined;
546
+ }[] | undefined;
547
+ text?: string | undefined;
548
+ }[] | undefined;
549
+ }, {
550
+ resourceType: "Practitioner";
551
+ id: string;
552
+ active?: boolean | undefined;
553
+ birthDate?: string | undefined;
554
+ gender?: "other" | "unknown" | "male" | "female" | undefined;
555
+ identifier?: {
556
+ value?: string | undefined;
557
+ system?: string | undefined;
558
+ use?: string | undefined;
559
+ }[] | undefined;
560
+ meta?: {
561
+ lastUpdated?: string | undefined;
562
+ profile?: string[] | undefined;
563
+ versionId?: string | undefined;
564
+ } | undefined;
565
+ name?: {
566
+ text?: string | undefined;
567
+ use?: string | undefined;
568
+ family?: string | undefined;
569
+ given?: string[] | undefined;
570
+ prefix?: string[] | undefined;
571
+ suffix?: string[] | undefined;
572
+ }[] | undefined;
573
+ telecom?: {
574
+ value?: string | undefined;
575
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
576
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
577
+ }[] | undefined;
578
+ address?: {
579
+ type?: "postal" | "physical" | "both" | undefined;
580
+ text?: string | undefined;
581
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
582
+ extension?: {
583
+ url: string;
584
+ extension?: {
585
+ url: string;
586
+ valueCode: string;
587
+ }[] | undefined;
588
+ }[] | undefined;
589
+ line?: string[] | undefined;
590
+ city?: string | undefined;
591
+ district?: string | undefined;
592
+ state?: string | undefined;
593
+ postalCode?: string | undefined;
594
+ country?: string | undefined;
595
+ period?: {
596
+ start?: string | undefined;
597
+ end?: string | undefined;
598
+ } | undefined;
599
+ }[] | undefined;
600
+ photo?: {
601
+ url?: string | undefined;
602
+ contentType?: string | undefined;
603
+ language?: string | undefined;
604
+ data?: string | undefined;
605
+ size?: number | undefined;
606
+ hash?: string | undefined;
607
+ title?: string | undefined;
608
+ creation?: string | undefined;
609
+ }[] | undefined;
610
+ qualification?: {
611
+ code: {
612
+ coding?: {
613
+ code?: string | undefined;
614
+ system?: string | undefined;
615
+ display?: string | undefined;
616
+ }[] | undefined;
617
+ text?: string | undefined;
618
+ };
619
+ period?: {
620
+ start?: string | undefined;
621
+ end?: string | undefined;
622
+ } | undefined;
623
+ identifier?: {
624
+ value?: string | undefined;
625
+ system?: string | undefined;
626
+ use?: string | undefined;
627
+ }[] | undefined;
628
+ issuer?: {
629
+ reference: string;
630
+ type?: string | undefined;
631
+ display?: string | undefined;
632
+ } | undefined;
633
+ }[] | undefined;
634
+ communication?: {
635
+ coding?: {
636
+ code?: string | undefined;
637
+ system?: string | undefined;
638
+ display?: string | undefined;
639
+ }[] | undefined;
640
+ text?: string | undefined;
641
+ }[] | undefined;
642
+ }>;
643
+ export declare const PractitionerSearchParamsSchema: z.ZodEffects<z.ZodObject<{
644
+ identifier: z.ZodOptional<z.ZodString>;
645
+ name: z.ZodOptional<z.ZodString>;
646
+ birthdate: z.ZodOptional<z.ZodString>;
647
+ gender: z.ZodOptional<z.ZodEnum<["male", "female"]>>;
648
+ }, "strip", z.ZodTypeAny, {
649
+ gender?: "male" | "female" | undefined;
650
+ identifier?: string | undefined;
651
+ name?: string | undefined;
652
+ birthdate?: string | undefined;
653
+ }, {
654
+ gender?: "male" | "female" | undefined;
655
+ identifier?: string | undefined;
656
+ name?: string | undefined;
657
+ birthdate?: string | undefined;
658
+ }>, {
659
+ gender?: "male" | "female" | undefined;
660
+ identifier?: string | undefined;
661
+ name?: string | undefined;
662
+ birthdate?: string | undefined;
663
+ }, {
664
+ gender?: "male" | "female" | undefined;
665
+ identifier?: string | undefined;
666
+ name?: string | undefined;
667
+ birthdate?: string | undefined;
668
+ }>;
669
+ export declare const PractitionerBundleSchema: z.ZodObject<{
670
+ resourceType: z.ZodLiteral<"Bundle">;
671
+ type: z.ZodOptional<z.ZodString>;
672
+ total: z.ZodOptional<z.ZodNumber>;
673
+ link: z.ZodOptional<z.ZodArray<z.ZodObject<{
674
+ relation: z.ZodOptional<z.ZodString>;
675
+ url: z.ZodOptional<z.ZodString>;
676
+ }, "strip", z.ZodTypeAny, {
677
+ url?: string | undefined;
678
+ relation?: string | undefined;
679
+ }, {
680
+ url?: string | undefined;
681
+ relation?: string | undefined;
682
+ }>, "many">>;
683
+ entry: z.ZodOptional<z.ZodArray<z.ZodObject<{
684
+ fullUrl: z.ZodOptional<z.ZodString>;
685
+ resource: z.ZodObject<{
686
+ resourceType: z.ZodLiteral<"Practitioner">;
687
+ id: z.ZodString;
688
+ active: z.ZodOptional<z.ZodBoolean>;
689
+ identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
690
+ system: z.ZodOptional<z.ZodString>;
691
+ use: z.ZodOptional<z.ZodString>;
692
+ value: z.ZodOptional<z.ZodString>;
693
+ }, "strip", z.ZodTypeAny, {
694
+ value?: string | undefined;
695
+ system?: string | undefined;
696
+ use?: string | undefined;
697
+ }, {
698
+ value?: string | undefined;
699
+ system?: string | undefined;
700
+ use?: string | undefined;
701
+ }>, "many">>;
702
+ name: z.ZodOptional<z.ZodArray<z.ZodObject<{
703
+ use: z.ZodOptional<z.ZodString>;
704
+ text: z.ZodOptional<z.ZodString>;
705
+ family: z.ZodOptional<z.ZodString>;
706
+ given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
707
+ prefix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
708
+ suffix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
709
+ }, "strip", z.ZodTypeAny, {
710
+ text?: string | undefined;
711
+ use?: string | undefined;
712
+ family?: string | undefined;
713
+ given?: string[] | undefined;
714
+ prefix?: string[] | undefined;
715
+ suffix?: string[] | undefined;
716
+ }, {
717
+ text?: string | undefined;
718
+ use?: string | undefined;
719
+ family?: string | undefined;
720
+ given?: string[] | undefined;
721
+ prefix?: string[] | undefined;
722
+ suffix?: string[] | undefined;
723
+ }>, "many">>;
724
+ telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
725
+ system: z.ZodOptional<z.ZodEnum<["phone", "fax", "email", "pager", "url", "sms", "other"]>>;
726
+ value: z.ZodOptional<z.ZodString>;
727
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "mobile"]>>;
728
+ }, "strip", z.ZodTypeAny, {
729
+ value?: string | undefined;
730
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
731
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
732
+ }, {
733
+ value?: string | undefined;
734
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
735
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
736
+ }>, "many">>;
737
+ address: z.ZodOptional<z.ZodArray<z.ZodObject<{
738
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "billing"]>>;
739
+ type: z.ZodOptional<z.ZodEnum<["postal", "physical", "both"]>>;
740
+ text: z.ZodOptional<z.ZodString>;
741
+ line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
742
+ city: z.ZodOptional<z.ZodString>;
743
+ district: z.ZodOptional<z.ZodString>;
744
+ state: z.ZodOptional<z.ZodString>;
745
+ postalCode: z.ZodOptional<z.ZodString>;
746
+ country: z.ZodOptional<z.ZodString>;
747
+ period: z.ZodOptional<z.ZodObject<{
748
+ start: z.ZodOptional<z.ZodString>;
749
+ end: z.ZodOptional<z.ZodString>;
750
+ }, "strip", z.ZodTypeAny, {
751
+ start?: string | undefined;
752
+ end?: string | undefined;
753
+ }, {
754
+ start?: string | undefined;
755
+ end?: string | undefined;
756
+ }>>;
757
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
758
+ url: z.ZodString;
759
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
760
+ url: z.ZodString;
761
+ valueCode: z.ZodString;
762
+ }, "strip", z.ZodTypeAny, {
763
+ url: string;
764
+ valueCode: string;
765
+ }, {
766
+ url: string;
767
+ valueCode: string;
768
+ }>, "many">>;
769
+ }, "strip", z.ZodTypeAny, {
770
+ url: string;
771
+ extension?: {
772
+ url: string;
773
+ valueCode: string;
774
+ }[] | undefined;
775
+ }, {
776
+ url: string;
777
+ extension?: {
778
+ url: string;
779
+ valueCode: string;
780
+ }[] | undefined;
781
+ }>, "many">>;
782
+ }, "strip", z.ZodTypeAny, {
783
+ type?: "postal" | "physical" | "both" | undefined;
784
+ text?: string | undefined;
785
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
786
+ extension?: {
787
+ url: string;
788
+ extension?: {
789
+ url: string;
790
+ valueCode: string;
791
+ }[] | undefined;
792
+ }[] | undefined;
793
+ line?: string[] | undefined;
794
+ city?: string | undefined;
795
+ district?: string | undefined;
796
+ state?: string | undefined;
797
+ postalCode?: string | undefined;
798
+ country?: string | undefined;
799
+ period?: {
800
+ start?: string | undefined;
801
+ end?: string | undefined;
802
+ } | undefined;
803
+ }, {
804
+ type?: "postal" | "physical" | "both" | undefined;
805
+ text?: string | undefined;
806
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
807
+ extension?: {
808
+ url: string;
809
+ extension?: {
810
+ url: string;
811
+ valueCode: string;
812
+ }[] | undefined;
813
+ }[] | undefined;
814
+ line?: string[] | undefined;
815
+ city?: string | undefined;
816
+ district?: string | undefined;
817
+ state?: string | undefined;
818
+ postalCode?: string | undefined;
819
+ country?: string | undefined;
820
+ period?: {
821
+ start?: string | undefined;
822
+ end?: string | undefined;
823
+ } | undefined;
824
+ }>, "many">>;
825
+ gender: z.ZodOptional<z.ZodEnum<["male", "female", "other", "unknown"]>>;
826
+ birthDate: z.ZodOptional<z.ZodString>;
827
+ photo: z.ZodOptional<z.ZodArray<z.ZodObject<{
828
+ contentType: z.ZodOptional<z.ZodString>;
829
+ language: z.ZodOptional<z.ZodString>;
830
+ data: z.ZodOptional<z.ZodString>;
831
+ url: z.ZodOptional<z.ZodString>;
832
+ size: z.ZodOptional<z.ZodNumber>;
833
+ hash: z.ZodOptional<z.ZodString>;
834
+ title: z.ZodOptional<z.ZodString>;
835
+ creation: z.ZodOptional<z.ZodString>;
836
+ }, "strip", z.ZodTypeAny, {
837
+ url?: string | undefined;
838
+ contentType?: string | undefined;
839
+ language?: string | undefined;
840
+ data?: string | undefined;
841
+ size?: number | undefined;
842
+ hash?: string | undefined;
843
+ title?: string | undefined;
844
+ creation?: string | undefined;
845
+ }, {
846
+ url?: string | undefined;
847
+ contentType?: string | undefined;
848
+ language?: string | undefined;
849
+ data?: string | undefined;
850
+ size?: number | undefined;
851
+ hash?: string | undefined;
852
+ title?: string | undefined;
853
+ creation?: string | undefined;
854
+ }>, "many">>;
855
+ qualification: z.ZodOptional<z.ZodArray<z.ZodObject<{
856
+ identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
857
+ system: z.ZodOptional<z.ZodString>;
858
+ use: z.ZodOptional<z.ZodString>;
859
+ value: z.ZodOptional<z.ZodString>;
860
+ }, "strip", z.ZodTypeAny, {
861
+ value?: string | undefined;
862
+ system?: string | undefined;
863
+ use?: string | undefined;
864
+ }, {
865
+ value?: string | undefined;
866
+ system?: string | undefined;
867
+ use?: string | undefined;
868
+ }>, "many">>;
869
+ code: z.ZodObject<{
870
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
871
+ system: z.ZodOptional<z.ZodString>;
872
+ code: z.ZodOptional<z.ZodString>;
873
+ display: z.ZodOptional<z.ZodString>;
874
+ }, "strip", z.ZodTypeAny, {
875
+ code?: string | undefined;
876
+ system?: string | undefined;
877
+ display?: string | undefined;
878
+ }, {
879
+ code?: string | undefined;
880
+ system?: string | undefined;
881
+ display?: string | undefined;
882
+ }>, "many">>;
883
+ text: z.ZodOptional<z.ZodString>;
884
+ }, "strip", z.ZodTypeAny, {
885
+ coding?: {
886
+ code?: string | undefined;
887
+ system?: string | undefined;
888
+ display?: string | undefined;
889
+ }[] | undefined;
890
+ text?: string | undefined;
891
+ }, {
892
+ coding?: {
893
+ code?: string | undefined;
894
+ system?: string | undefined;
895
+ display?: string | undefined;
896
+ }[] | undefined;
897
+ text?: string | undefined;
898
+ }>;
899
+ period: z.ZodOptional<z.ZodObject<{
900
+ start: z.ZodOptional<z.ZodString>;
901
+ end: z.ZodOptional<z.ZodString>;
902
+ }, "strip", z.ZodTypeAny, {
903
+ start?: string | undefined;
904
+ end?: string | undefined;
905
+ }, {
906
+ start?: string | undefined;
907
+ end?: string | undefined;
908
+ }>>;
909
+ issuer: z.ZodOptional<z.ZodObject<{
910
+ reference: z.ZodString;
911
+ display: z.ZodOptional<z.ZodString>;
912
+ type: z.ZodOptional<z.ZodString>;
913
+ }, "strip", z.ZodTypeAny, {
914
+ reference: string;
915
+ type?: string | undefined;
916
+ display?: string | undefined;
917
+ }, {
918
+ reference: string;
919
+ type?: string | undefined;
920
+ display?: string | undefined;
921
+ }>>;
922
+ }, "strip", z.ZodTypeAny, {
923
+ code: {
924
+ coding?: {
925
+ code?: string | undefined;
926
+ system?: string | undefined;
927
+ display?: string | undefined;
928
+ }[] | undefined;
929
+ text?: string | undefined;
930
+ };
931
+ period?: {
932
+ start?: string | undefined;
933
+ end?: string | undefined;
934
+ } | undefined;
935
+ identifier?: {
936
+ value?: string | undefined;
937
+ system?: string | undefined;
938
+ use?: string | undefined;
939
+ }[] | undefined;
940
+ issuer?: {
941
+ reference: string;
942
+ type?: string | undefined;
943
+ display?: string | undefined;
944
+ } | undefined;
945
+ }, {
946
+ code: {
947
+ coding?: {
948
+ code?: string | undefined;
949
+ system?: string | undefined;
950
+ display?: string | undefined;
951
+ }[] | undefined;
952
+ text?: string | undefined;
953
+ };
954
+ period?: {
955
+ start?: string | undefined;
956
+ end?: string | undefined;
957
+ } | undefined;
958
+ identifier?: {
959
+ value?: string | undefined;
960
+ system?: string | undefined;
961
+ use?: string | undefined;
962
+ }[] | undefined;
963
+ issuer?: {
964
+ reference: string;
965
+ type?: string | undefined;
966
+ display?: string | undefined;
967
+ } | undefined;
968
+ }>, "many">>;
969
+ communication: z.ZodOptional<z.ZodArray<z.ZodObject<{
970
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
971
+ system: z.ZodOptional<z.ZodString>;
972
+ code: z.ZodOptional<z.ZodString>;
973
+ display: z.ZodOptional<z.ZodString>;
974
+ }, "strip", z.ZodTypeAny, {
975
+ code?: string | undefined;
976
+ system?: string | undefined;
977
+ display?: string | undefined;
978
+ }, {
979
+ code?: string | undefined;
980
+ system?: string | undefined;
981
+ display?: string | undefined;
982
+ }>, "many">>;
983
+ text: z.ZodOptional<z.ZodString>;
984
+ }, "strip", z.ZodTypeAny, {
985
+ coding?: {
986
+ code?: string | undefined;
987
+ system?: string | undefined;
988
+ display?: string | undefined;
989
+ }[] | undefined;
990
+ text?: string | undefined;
991
+ }, {
992
+ coding?: {
993
+ code?: string | undefined;
994
+ system?: string | undefined;
995
+ display?: string | undefined;
996
+ }[] | undefined;
997
+ text?: string | undefined;
998
+ }>, "many">>;
999
+ meta: z.ZodOptional<z.ZodObject<{
1000
+ lastUpdated: z.ZodOptional<z.ZodString>;
1001
+ profile: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1002
+ versionId: z.ZodOptional<z.ZodString>;
1003
+ }, "strip", z.ZodTypeAny, {
1004
+ lastUpdated?: string | undefined;
1005
+ profile?: string[] | undefined;
1006
+ versionId?: string | undefined;
1007
+ }, {
1008
+ lastUpdated?: string | undefined;
1009
+ profile?: string[] | undefined;
1010
+ versionId?: string | undefined;
1011
+ }>>;
1012
+ }, "strip", z.ZodTypeAny, {
1013
+ resourceType: "Practitioner";
1014
+ id: string;
1015
+ active?: boolean | undefined;
1016
+ birthDate?: string | undefined;
1017
+ gender?: "other" | "unknown" | "male" | "female" | undefined;
1018
+ identifier?: {
1019
+ value?: string | undefined;
1020
+ system?: string | undefined;
1021
+ use?: string | undefined;
1022
+ }[] | undefined;
1023
+ meta?: {
1024
+ lastUpdated?: string | undefined;
1025
+ profile?: string[] | undefined;
1026
+ versionId?: string | undefined;
1027
+ } | undefined;
1028
+ name?: {
1029
+ text?: string | undefined;
1030
+ use?: string | undefined;
1031
+ family?: string | undefined;
1032
+ given?: string[] | undefined;
1033
+ prefix?: string[] | undefined;
1034
+ suffix?: string[] | undefined;
1035
+ }[] | undefined;
1036
+ telecom?: {
1037
+ value?: string | undefined;
1038
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1039
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1040
+ }[] | undefined;
1041
+ address?: {
1042
+ type?: "postal" | "physical" | "both" | undefined;
1043
+ text?: string | undefined;
1044
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1045
+ extension?: {
1046
+ url: string;
1047
+ extension?: {
1048
+ url: string;
1049
+ valueCode: string;
1050
+ }[] | undefined;
1051
+ }[] | undefined;
1052
+ line?: string[] | undefined;
1053
+ city?: string | undefined;
1054
+ district?: string | undefined;
1055
+ state?: string | undefined;
1056
+ postalCode?: string | undefined;
1057
+ country?: string | undefined;
1058
+ period?: {
1059
+ start?: string | undefined;
1060
+ end?: string | undefined;
1061
+ } | undefined;
1062
+ }[] | undefined;
1063
+ photo?: {
1064
+ url?: string | undefined;
1065
+ contentType?: string | undefined;
1066
+ language?: string | undefined;
1067
+ data?: string | undefined;
1068
+ size?: number | undefined;
1069
+ hash?: string | undefined;
1070
+ title?: string | undefined;
1071
+ creation?: string | undefined;
1072
+ }[] | undefined;
1073
+ qualification?: {
1074
+ code: {
1075
+ coding?: {
1076
+ code?: string | undefined;
1077
+ system?: string | undefined;
1078
+ display?: string | undefined;
1079
+ }[] | undefined;
1080
+ text?: string | undefined;
1081
+ };
1082
+ period?: {
1083
+ start?: string | undefined;
1084
+ end?: string | undefined;
1085
+ } | undefined;
1086
+ identifier?: {
1087
+ value?: string | undefined;
1088
+ system?: string | undefined;
1089
+ use?: string | undefined;
1090
+ }[] | undefined;
1091
+ issuer?: {
1092
+ reference: string;
1093
+ type?: string | undefined;
1094
+ display?: string | undefined;
1095
+ } | undefined;
1096
+ }[] | undefined;
1097
+ communication?: {
1098
+ coding?: {
1099
+ code?: string | undefined;
1100
+ system?: string | undefined;
1101
+ display?: string | undefined;
1102
+ }[] | undefined;
1103
+ text?: string | undefined;
1104
+ }[] | undefined;
1105
+ }, {
1106
+ resourceType: "Practitioner";
1107
+ id: string;
1108
+ active?: boolean | undefined;
1109
+ birthDate?: string | undefined;
1110
+ gender?: "other" | "unknown" | "male" | "female" | undefined;
1111
+ identifier?: {
1112
+ value?: string | undefined;
1113
+ system?: string | undefined;
1114
+ use?: string | undefined;
1115
+ }[] | undefined;
1116
+ meta?: {
1117
+ lastUpdated?: string | undefined;
1118
+ profile?: string[] | undefined;
1119
+ versionId?: string | undefined;
1120
+ } | undefined;
1121
+ name?: {
1122
+ text?: string | undefined;
1123
+ use?: string | undefined;
1124
+ family?: string | undefined;
1125
+ given?: string[] | undefined;
1126
+ prefix?: string[] | undefined;
1127
+ suffix?: string[] | undefined;
1128
+ }[] | undefined;
1129
+ telecom?: {
1130
+ value?: string | undefined;
1131
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1132
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1133
+ }[] | undefined;
1134
+ address?: {
1135
+ type?: "postal" | "physical" | "both" | undefined;
1136
+ text?: string | undefined;
1137
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1138
+ extension?: {
1139
+ url: string;
1140
+ extension?: {
1141
+ url: string;
1142
+ valueCode: string;
1143
+ }[] | undefined;
1144
+ }[] | undefined;
1145
+ line?: string[] | undefined;
1146
+ city?: string | undefined;
1147
+ district?: string | undefined;
1148
+ state?: string | undefined;
1149
+ postalCode?: string | undefined;
1150
+ country?: string | undefined;
1151
+ period?: {
1152
+ start?: string | undefined;
1153
+ end?: string | undefined;
1154
+ } | undefined;
1155
+ }[] | undefined;
1156
+ photo?: {
1157
+ url?: string | undefined;
1158
+ contentType?: string | undefined;
1159
+ language?: string | undefined;
1160
+ data?: string | undefined;
1161
+ size?: number | undefined;
1162
+ hash?: string | undefined;
1163
+ title?: string | undefined;
1164
+ creation?: string | undefined;
1165
+ }[] | undefined;
1166
+ qualification?: {
1167
+ code: {
1168
+ coding?: {
1169
+ code?: string | undefined;
1170
+ system?: string | undefined;
1171
+ display?: string | undefined;
1172
+ }[] | undefined;
1173
+ text?: string | undefined;
1174
+ };
1175
+ period?: {
1176
+ start?: string | undefined;
1177
+ end?: string | undefined;
1178
+ } | undefined;
1179
+ identifier?: {
1180
+ value?: string | undefined;
1181
+ system?: string | undefined;
1182
+ use?: string | undefined;
1183
+ }[] | undefined;
1184
+ issuer?: {
1185
+ reference: string;
1186
+ type?: string | undefined;
1187
+ display?: string | undefined;
1188
+ } | undefined;
1189
+ }[] | undefined;
1190
+ communication?: {
1191
+ coding?: {
1192
+ code?: string | undefined;
1193
+ system?: string | undefined;
1194
+ display?: string | undefined;
1195
+ }[] | undefined;
1196
+ text?: string | undefined;
1197
+ }[] | undefined;
1198
+ }>;
1199
+ search: z.ZodOptional<z.ZodObject<{
1200
+ mode: z.ZodOptional<z.ZodString>;
1201
+ }, "strip", z.ZodTypeAny, {
1202
+ mode?: string | undefined;
1203
+ }, {
1204
+ mode?: string | undefined;
1205
+ }>>;
1206
+ }, "strip", z.ZodTypeAny, {
1207
+ resource: {
1208
+ resourceType: "Practitioner";
1209
+ id: string;
1210
+ active?: boolean | undefined;
1211
+ birthDate?: string | undefined;
1212
+ gender?: "other" | "unknown" | "male" | "female" | undefined;
1213
+ identifier?: {
1214
+ value?: string | undefined;
1215
+ system?: string | undefined;
1216
+ use?: string | undefined;
1217
+ }[] | undefined;
1218
+ meta?: {
1219
+ lastUpdated?: string | undefined;
1220
+ profile?: string[] | undefined;
1221
+ versionId?: string | undefined;
1222
+ } | undefined;
1223
+ name?: {
1224
+ text?: string | undefined;
1225
+ use?: string | undefined;
1226
+ family?: string | undefined;
1227
+ given?: string[] | undefined;
1228
+ prefix?: string[] | undefined;
1229
+ suffix?: string[] | undefined;
1230
+ }[] | undefined;
1231
+ telecom?: {
1232
+ value?: string | undefined;
1233
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1234
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1235
+ }[] | undefined;
1236
+ address?: {
1237
+ type?: "postal" | "physical" | "both" | undefined;
1238
+ text?: string | undefined;
1239
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1240
+ extension?: {
1241
+ url: string;
1242
+ extension?: {
1243
+ url: string;
1244
+ valueCode: string;
1245
+ }[] | undefined;
1246
+ }[] | undefined;
1247
+ line?: string[] | undefined;
1248
+ city?: string | undefined;
1249
+ district?: string | undefined;
1250
+ state?: string | undefined;
1251
+ postalCode?: string | undefined;
1252
+ country?: string | undefined;
1253
+ period?: {
1254
+ start?: string | undefined;
1255
+ end?: string | undefined;
1256
+ } | undefined;
1257
+ }[] | undefined;
1258
+ photo?: {
1259
+ url?: string | undefined;
1260
+ contentType?: string | undefined;
1261
+ language?: string | undefined;
1262
+ data?: string | undefined;
1263
+ size?: number | undefined;
1264
+ hash?: string | undefined;
1265
+ title?: string | undefined;
1266
+ creation?: string | undefined;
1267
+ }[] | undefined;
1268
+ qualification?: {
1269
+ code: {
1270
+ coding?: {
1271
+ code?: string | undefined;
1272
+ system?: string | undefined;
1273
+ display?: string | undefined;
1274
+ }[] | undefined;
1275
+ text?: string | undefined;
1276
+ };
1277
+ period?: {
1278
+ start?: string | undefined;
1279
+ end?: string | undefined;
1280
+ } | undefined;
1281
+ identifier?: {
1282
+ value?: string | undefined;
1283
+ system?: string | undefined;
1284
+ use?: string | undefined;
1285
+ }[] | undefined;
1286
+ issuer?: {
1287
+ reference: string;
1288
+ type?: string | undefined;
1289
+ display?: string | undefined;
1290
+ } | undefined;
1291
+ }[] | undefined;
1292
+ communication?: {
1293
+ coding?: {
1294
+ code?: string | undefined;
1295
+ system?: string | undefined;
1296
+ display?: string | undefined;
1297
+ }[] | undefined;
1298
+ text?: string | undefined;
1299
+ }[] | undefined;
1300
+ };
1301
+ fullUrl?: string | undefined;
1302
+ search?: {
1303
+ mode?: string | undefined;
1304
+ } | undefined;
1305
+ }, {
1306
+ resource: {
1307
+ resourceType: "Practitioner";
1308
+ id: string;
1309
+ active?: boolean | undefined;
1310
+ birthDate?: string | undefined;
1311
+ gender?: "other" | "unknown" | "male" | "female" | undefined;
1312
+ identifier?: {
1313
+ value?: string | undefined;
1314
+ system?: string | undefined;
1315
+ use?: string | undefined;
1316
+ }[] | undefined;
1317
+ meta?: {
1318
+ lastUpdated?: string | undefined;
1319
+ profile?: string[] | undefined;
1320
+ versionId?: string | undefined;
1321
+ } | undefined;
1322
+ name?: {
1323
+ text?: string | undefined;
1324
+ use?: string | undefined;
1325
+ family?: string | undefined;
1326
+ given?: string[] | undefined;
1327
+ prefix?: string[] | undefined;
1328
+ suffix?: string[] | undefined;
1329
+ }[] | undefined;
1330
+ telecom?: {
1331
+ value?: string | undefined;
1332
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1333
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1334
+ }[] | undefined;
1335
+ address?: {
1336
+ type?: "postal" | "physical" | "both" | undefined;
1337
+ text?: string | undefined;
1338
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1339
+ extension?: {
1340
+ url: string;
1341
+ extension?: {
1342
+ url: string;
1343
+ valueCode: string;
1344
+ }[] | undefined;
1345
+ }[] | undefined;
1346
+ line?: string[] | undefined;
1347
+ city?: string | undefined;
1348
+ district?: string | undefined;
1349
+ state?: string | undefined;
1350
+ postalCode?: string | undefined;
1351
+ country?: string | undefined;
1352
+ period?: {
1353
+ start?: string | undefined;
1354
+ end?: string | undefined;
1355
+ } | undefined;
1356
+ }[] | undefined;
1357
+ photo?: {
1358
+ url?: string | undefined;
1359
+ contentType?: string | undefined;
1360
+ language?: string | undefined;
1361
+ data?: string | undefined;
1362
+ size?: number | undefined;
1363
+ hash?: string | undefined;
1364
+ title?: string | undefined;
1365
+ creation?: string | undefined;
1366
+ }[] | undefined;
1367
+ qualification?: {
1368
+ code: {
1369
+ coding?: {
1370
+ code?: string | undefined;
1371
+ system?: string | undefined;
1372
+ display?: string | undefined;
1373
+ }[] | undefined;
1374
+ text?: string | undefined;
1375
+ };
1376
+ period?: {
1377
+ start?: string | undefined;
1378
+ end?: string | undefined;
1379
+ } | undefined;
1380
+ identifier?: {
1381
+ value?: string | undefined;
1382
+ system?: string | undefined;
1383
+ use?: string | undefined;
1384
+ }[] | undefined;
1385
+ issuer?: {
1386
+ reference: string;
1387
+ type?: string | undefined;
1388
+ display?: string | undefined;
1389
+ } | undefined;
1390
+ }[] | undefined;
1391
+ communication?: {
1392
+ coding?: {
1393
+ code?: string | undefined;
1394
+ system?: string | undefined;
1395
+ display?: string | undefined;
1396
+ }[] | undefined;
1397
+ text?: string | undefined;
1398
+ }[] | undefined;
1399
+ };
1400
+ fullUrl?: string | undefined;
1401
+ search?: {
1402
+ mode?: string | undefined;
1403
+ } | undefined;
1404
+ }>, "many">>;
1405
+ }, "strip", z.ZodTypeAny, {
1406
+ resourceType: "Bundle";
1407
+ type?: string | undefined;
1408
+ total?: number | undefined;
1409
+ link?: {
1410
+ url?: string | undefined;
1411
+ relation?: string | undefined;
1412
+ }[] | undefined;
1413
+ entry?: {
1414
+ resource: {
1415
+ resourceType: "Practitioner";
1416
+ id: string;
1417
+ active?: boolean | undefined;
1418
+ birthDate?: string | undefined;
1419
+ gender?: "other" | "unknown" | "male" | "female" | undefined;
1420
+ identifier?: {
1421
+ value?: string | undefined;
1422
+ system?: string | undefined;
1423
+ use?: string | undefined;
1424
+ }[] | undefined;
1425
+ meta?: {
1426
+ lastUpdated?: string | undefined;
1427
+ profile?: string[] | undefined;
1428
+ versionId?: string | undefined;
1429
+ } | undefined;
1430
+ name?: {
1431
+ text?: string | undefined;
1432
+ use?: string | undefined;
1433
+ family?: string | undefined;
1434
+ given?: string[] | undefined;
1435
+ prefix?: string[] | undefined;
1436
+ suffix?: string[] | undefined;
1437
+ }[] | undefined;
1438
+ telecom?: {
1439
+ value?: string | undefined;
1440
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1441
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1442
+ }[] | undefined;
1443
+ address?: {
1444
+ type?: "postal" | "physical" | "both" | undefined;
1445
+ text?: string | undefined;
1446
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1447
+ extension?: {
1448
+ url: string;
1449
+ extension?: {
1450
+ url: string;
1451
+ valueCode: string;
1452
+ }[] | undefined;
1453
+ }[] | undefined;
1454
+ line?: string[] | undefined;
1455
+ city?: string | undefined;
1456
+ district?: string | undefined;
1457
+ state?: string | undefined;
1458
+ postalCode?: string | undefined;
1459
+ country?: string | undefined;
1460
+ period?: {
1461
+ start?: string | undefined;
1462
+ end?: string | undefined;
1463
+ } | undefined;
1464
+ }[] | undefined;
1465
+ photo?: {
1466
+ url?: string | undefined;
1467
+ contentType?: string | undefined;
1468
+ language?: string | undefined;
1469
+ data?: string | undefined;
1470
+ size?: number | undefined;
1471
+ hash?: string | undefined;
1472
+ title?: string | undefined;
1473
+ creation?: string | undefined;
1474
+ }[] | undefined;
1475
+ qualification?: {
1476
+ code: {
1477
+ coding?: {
1478
+ code?: string | undefined;
1479
+ system?: string | undefined;
1480
+ display?: string | undefined;
1481
+ }[] | undefined;
1482
+ text?: string | undefined;
1483
+ };
1484
+ period?: {
1485
+ start?: string | undefined;
1486
+ end?: string | undefined;
1487
+ } | undefined;
1488
+ identifier?: {
1489
+ value?: string | undefined;
1490
+ system?: string | undefined;
1491
+ use?: string | undefined;
1492
+ }[] | undefined;
1493
+ issuer?: {
1494
+ reference: string;
1495
+ type?: string | undefined;
1496
+ display?: string | undefined;
1497
+ } | undefined;
1498
+ }[] | undefined;
1499
+ communication?: {
1500
+ coding?: {
1501
+ code?: string | undefined;
1502
+ system?: string | undefined;
1503
+ display?: string | undefined;
1504
+ }[] | undefined;
1505
+ text?: string | undefined;
1506
+ }[] | undefined;
1507
+ };
1508
+ fullUrl?: string | undefined;
1509
+ search?: {
1510
+ mode?: string | undefined;
1511
+ } | undefined;
1512
+ }[] | undefined;
1513
+ }, {
1514
+ resourceType: "Bundle";
1515
+ type?: string | undefined;
1516
+ total?: number | undefined;
1517
+ link?: {
1518
+ url?: string | undefined;
1519
+ relation?: string | undefined;
1520
+ }[] | undefined;
1521
+ entry?: {
1522
+ resource: {
1523
+ resourceType: "Practitioner";
1524
+ id: string;
1525
+ active?: boolean | undefined;
1526
+ birthDate?: string | undefined;
1527
+ gender?: "other" | "unknown" | "male" | "female" | undefined;
1528
+ identifier?: {
1529
+ value?: string | undefined;
1530
+ system?: string | undefined;
1531
+ use?: string | undefined;
1532
+ }[] | undefined;
1533
+ meta?: {
1534
+ lastUpdated?: string | undefined;
1535
+ profile?: string[] | undefined;
1536
+ versionId?: string | undefined;
1537
+ } | undefined;
1538
+ name?: {
1539
+ text?: string | undefined;
1540
+ use?: string | undefined;
1541
+ family?: string | undefined;
1542
+ given?: string[] | undefined;
1543
+ prefix?: string[] | undefined;
1544
+ suffix?: string[] | undefined;
1545
+ }[] | undefined;
1546
+ telecom?: {
1547
+ value?: string | undefined;
1548
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1549
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1550
+ }[] | undefined;
1551
+ address?: {
1552
+ type?: "postal" | "physical" | "both" | undefined;
1553
+ text?: string | undefined;
1554
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1555
+ extension?: {
1556
+ url: string;
1557
+ extension?: {
1558
+ url: string;
1559
+ valueCode: string;
1560
+ }[] | undefined;
1561
+ }[] | undefined;
1562
+ line?: string[] | undefined;
1563
+ city?: string | undefined;
1564
+ district?: string | undefined;
1565
+ state?: string | undefined;
1566
+ postalCode?: string | undefined;
1567
+ country?: string | undefined;
1568
+ period?: {
1569
+ start?: string | undefined;
1570
+ end?: string | undefined;
1571
+ } | undefined;
1572
+ }[] | undefined;
1573
+ photo?: {
1574
+ url?: string | undefined;
1575
+ contentType?: string | undefined;
1576
+ language?: string | undefined;
1577
+ data?: string | undefined;
1578
+ size?: number | undefined;
1579
+ hash?: string | undefined;
1580
+ title?: string | undefined;
1581
+ creation?: string | undefined;
1582
+ }[] | undefined;
1583
+ qualification?: {
1584
+ code: {
1585
+ coding?: {
1586
+ code?: string | undefined;
1587
+ system?: string | undefined;
1588
+ display?: string | undefined;
1589
+ }[] | undefined;
1590
+ text?: string | undefined;
1591
+ };
1592
+ period?: {
1593
+ start?: string | undefined;
1594
+ end?: string | undefined;
1595
+ } | undefined;
1596
+ identifier?: {
1597
+ value?: string | undefined;
1598
+ system?: string | undefined;
1599
+ use?: string | undefined;
1600
+ }[] | undefined;
1601
+ issuer?: {
1602
+ reference: string;
1603
+ type?: string | undefined;
1604
+ display?: string | undefined;
1605
+ } | undefined;
1606
+ }[] | undefined;
1607
+ communication?: {
1608
+ coding?: {
1609
+ code?: string | undefined;
1610
+ system?: string | undefined;
1611
+ display?: string | undefined;
1612
+ }[] | undefined;
1613
+ text?: string | undefined;
1614
+ }[] | undefined;
1615
+ };
1616
+ fullUrl?: string | undefined;
1617
+ search?: {
1618
+ mode?: string | undefined;
1619
+ } | undefined;
1620
+ }[] | undefined;
1621
+ }>;
1622
+ export type PractitionerIdentifier = z.infer<typeof PractitionerIdentifierSchema>;
1623
+ export type PractitionerQualification = z.infer<typeof PractitionerQualificationSchema>;
1624
+ export type Practitioner = z.infer<typeof PractitionerSchema>;
1625
+ export type PractitionerSearchParams = z.infer<typeof PractitionerSearchParamsSchema>;
1626
+ export type PractitionerSearchResponse = z.infer<typeof PractitionerBundleSchema>;