@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,3357 @@
1
+ import { z } from "zod";
2
+ import { AddressSchema, ContactPointSchema, ReferenceSchema } from "./common";
3
+ export declare const OrganizationTypeSchema: z.ZodObject<{
4
+ text: z.ZodOptional<z.ZodString>;
5
+ } & {
6
+ coding: z.ZodArray<z.ZodObject<{
7
+ system: z.ZodString;
8
+ code: z.ZodString;
9
+ display: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ code: string;
12
+ system: string;
13
+ display?: string | undefined;
14
+ }, {
15
+ code: string;
16
+ system: string;
17
+ display?: string | undefined;
18
+ }>, "many">;
19
+ }, "strip", z.ZodTypeAny, {
20
+ coding: {
21
+ code: string;
22
+ system: string;
23
+ display?: string | undefined;
24
+ }[];
25
+ text?: string | undefined;
26
+ }, {
27
+ coding: {
28
+ code: string;
29
+ system: string;
30
+ display?: string | undefined;
31
+ }[];
32
+ text?: string | undefined;
33
+ }>;
34
+ export declare const OrganizationIdentifierSchema: z.ZodObject<{
35
+ use: z.ZodOptional<z.ZodString>;
36
+ } & {
37
+ system: z.ZodString;
38
+ value: z.ZodString;
39
+ }, "strip", z.ZodTypeAny, {
40
+ value: string;
41
+ system: string;
42
+ use?: string | undefined;
43
+ }, {
44
+ value: string;
45
+ system: string;
46
+ use?: string | undefined;
47
+ }>;
48
+ export declare const OrganizationContactSchema: z.ZodObject<{
49
+ purpose: z.ZodObject<{
50
+ text: z.ZodOptional<z.ZodString>;
51
+ } & {
52
+ coding: z.ZodArray<z.ZodObject<{
53
+ system: z.ZodString;
54
+ code: z.ZodString;
55
+ display: z.ZodOptional<z.ZodString>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ code: string;
58
+ system: string;
59
+ display?: string | undefined;
60
+ }, {
61
+ code: string;
62
+ system: string;
63
+ display?: string | undefined;
64
+ }>, "many">;
65
+ }, "strip", z.ZodTypeAny, {
66
+ coding: {
67
+ code: string;
68
+ system: string;
69
+ display?: string | undefined;
70
+ }[];
71
+ text?: string | undefined;
72
+ }, {
73
+ coding: {
74
+ code: string;
75
+ system: string;
76
+ display?: string | undefined;
77
+ }[];
78
+ text?: string | undefined;
79
+ }>;
80
+ name: z.ZodOptional<z.ZodObject<{
81
+ use: z.ZodOptional<z.ZodString>;
82
+ text: z.ZodOptional<z.ZodString>;
83
+ family: z.ZodOptional<z.ZodString>;
84
+ given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
85
+ prefix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
86
+ suffix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ text?: string | undefined;
89
+ use?: string | undefined;
90
+ family?: string | undefined;
91
+ given?: string[] | undefined;
92
+ prefix?: string[] | undefined;
93
+ suffix?: string[] | undefined;
94
+ }, {
95
+ text?: string | undefined;
96
+ use?: string | undefined;
97
+ family?: string | undefined;
98
+ given?: string[] | undefined;
99
+ prefix?: string[] | undefined;
100
+ suffix?: string[] | undefined;
101
+ }>>;
102
+ telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
103
+ system: z.ZodOptional<z.ZodEnum<["phone", "fax", "email", "pager", "url", "sms", "other"]>>;
104
+ value: z.ZodOptional<z.ZodString>;
105
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "mobile"]>>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ value?: string | undefined;
108
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
109
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
110
+ }, {
111
+ value?: string | undefined;
112
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
113
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
114
+ }>, "many">>;
115
+ address: z.ZodOptional<z.ZodObject<{
116
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "billing"]>>;
117
+ type: z.ZodOptional<z.ZodEnum<["postal", "physical", "both"]>>;
118
+ text: z.ZodOptional<z.ZodString>;
119
+ line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
120
+ city: z.ZodOptional<z.ZodString>;
121
+ district: z.ZodOptional<z.ZodString>;
122
+ state: z.ZodOptional<z.ZodString>;
123
+ postalCode: z.ZodOptional<z.ZodString>;
124
+ country: z.ZodOptional<z.ZodString>;
125
+ period: z.ZodOptional<z.ZodObject<{
126
+ start: z.ZodOptional<z.ZodString>;
127
+ end: z.ZodOptional<z.ZodString>;
128
+ }, "strip", z.ZodTypeAny, {
129
+ start?: string | undefined;
130
+ end?: string | undefined;
131
+ }, {
132
+ start?: string | undefined;
133
+ end?: string | undefined;
134
+ }>>;
135
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
136
+ url: z.ZodString;
137
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
138
+ url: z.ZodString;
139
+ valueCode: z.ZodString;
140
+ }, "strip", z.ZodTypeAny, {
141
+ url: string;
142
+ valueCode: string;
143
+ }, {
144
+ url: string;
145
+ valueCode: string;
146
+ }>, "many">>;
147
+ }, "strip", z.ZodTypeAny, {
148
+ url: string;
149
+ extension?: {
150
+ url: string;
151
+ valueCode: string;
152
+ }[] | undefined;
153
+ }, {
154
+ url: string;
155
+ extension?: {
156
+ url: string;
157
+ valueCode: string;
158
+ }[] | undefined;
159
+ }>, "many">>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ type?: "postal" | "physical" | "both" | undefined;
162
+ text?: string | undefined;
163
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
164
+ extension?: {
165
+ url: string;
166
+ extension?: {
167
+ url: string;
168
+ valueCode: string;
169
+ }[] | undefined;
170
+ }[] | undefined;
171
+ line?: string[] | undefined;
172
+ city?: string | undefined;
173
+ district?: string | undefined;
174
+ state?: string | undefined;
175
+ postalCode?: string | undefined;
176
+ country?: string | undefined;
177
+ period?: {
178
+ start?: string | undefined;
179
+ end?: string | undefined;
180
+ } | undefined;
181
+ }, {
182
+ type?: "postal" | "physical" | "both" | undefined;
183
+ text?: string | undefined;
184
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
185
+ extension?: {
186
+ url: string;
187
+ extension?: {
188
+ url: string;
189
+ valueCode: string;
190
+ }[] | undefined;
191
+ }[] | undefined;
192
+ line?: string[] | undefined;
193
+ city?: string | undefined;
194
+ district?: string | undefined;
195
+ state?: string | undefined;
196
+ postalCode?: string | undefined;
197
+ country?: string | undefined;
198
+ period?: {
199
+ start?: string | undefined;
200
+ end?: string | undefined;
201
+ } | undefined;
202
+ }>>;
203
+ }, "strip", z.ZodTypeAny, {
204
+ purpose: {
205
+ coding: {
206
+ code: string;
207
+ system: string;
208
+ display?: string | undefined;
209
+ }[];
210
+ text?: string | undefined;
211
+ };
212
+ name?: {
213
+ text?: string | undefined;
214
+ use?: string | undefined;
215
+ family?: string | undefined;
216
+ given?: string[] | undefined;
217
+ prefix?: string[] | undefined;
218
+ suffix?: string[] | undefined;
219
+ } | undefined;
220
+ telecom?: {
221
+ value?: string | undefined;
222
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
223
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
224
+ }[] | undefined;
225
+ address?: {
226
+ type?: "postal" | "physical" | "both" | undefined;
227
+ text?: string | undefined;
228
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
229
+ extension?: {
230
+ url: string;
231
+ extension?: {
232
+ url: string;
233
+ valueCode: string;
234
+ }[] | undefined;
235
+ }[] | undefined;
236
+ line?: string[] | undefined;
237
+ city?: string | undefined;
238
+ district?: string | undefined;
239
+ state?: string | undefined;
240
+ postalCode?: string | undefined;
241
+ country?: string | undefined;
242
+ period?: {
243
+ start?: string | undefined;
244
+ end?: string | undefined;
245
+ } | undefined;
246
+ } | undefined;
247
+ }, {
248
+ purpose: {
249
+ coding: {
250
+ code: string;
251
+ system: string;
252
+ display?: string | undefined;
253
+ }[];
254
+ text?: string | undefined;
255
+ };
256
+ name?: {
257
+ text?: string | undefined;
258
+ use?: string | undefined;
259
+ family?: string | undefined;
260
+ given?: string[] | undefined;
261
+ prefix?: string[] | undefined;
262
+ suffix?: string[] | undefined;
263
+ } | undefined;
264
+ telecom?: {
265
+ value?: string | undefined;
266
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
267
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
268
+ }[] | undefined;
269
+ address?: {
270
+ type?: "postal" | "physical" | "both" | undefined;
271
+ text?: string | undefined;
272
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
273
+ extension?: {
274
+ url: string;
275
+ extension?: {
276
+ url: string;
277
+ valueCode: string;
278
+ }[] | undefined;
279
+ }[] | undefined;
280
+ line?: string[] | undefined;
281
+ city?: string | undefined;
282
+ district?: string | undefined;
283
+ state?: string | undefined;
284
+ postalCode?: string | undefined;
285
+ country?: string | undefined;
286
+ period?: {
287
+ start?: string | undefined;
288
+ end?: string | undefined;
289
+ } | undefined;
290
+ } | undefined;
291
+ }>;
292
+ export declare const OrganizationBaseSchema: z.ZodObject<{
293
+ resourceType: z.ZodLiteral<"Organization">;
294
+ active: z.ZodBoolean;
295
+ identifier: z.ZodArray<z.ZodObject<{
296
+ use: z.ZodOptional<z.ZodString>;
297
+ } & {
298
+ system: z.ZodString;
299
+ value: z.ZodString;
300
+ }, "strip", z.ZodTypeAny, {
301
+ value: string;
302
+ system: string;
303
+ use?: string | undefined;
304
+ }, {
305
+ value: string;
306
+ system: string;
307
+ use?: string | undefined;
308
+ }>, "many">;
309
+ type: z.ZodArray<z.ZodObject<{
310
+ text: z.ZodOptional<z.ZodString>;
311
+ } & {
312
+ coding: z.ZodArray<z.ZodObject<{
313
+ system: z.ZodString;
314
+ code: z.ZodString;
315
+ display: z.ZodOptional<z.ZodString>;
316
+ }, "strip", z.ZodTypeAny, {
317
+ code: string;
318
+ system: string;
319
+ display?: string | undefined;
320
+ }, {
321
+ code: string;
322
+ system: string;
323
+ display?: string | undefined;
324
+ }>, "many">;
325
+ }, "strip", z.ZodTypeAny, {
326
+ coding: {
327
+ code: string;
328
+ system: string;
329
+ display?: string | undefined;
330
+ }[];
331
+ text?: string | undefined;
332
+ }, {
333
+ coding: {
334
+ code: string;
335
+ system: string;
336
+ display?: string | undefined;
337
+ }[];
338
+ text?: string | undefined;
339
+ }>, "many">;
340
+ name: z.ZodString;
341
+ alias: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
342
+ telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
343
+ system: z.ZodOptional<z.ZodEnum<["phone", "fax", "email", "pager", "url", "sms", "other"]>>;
344
+ value: z.ZodOptional<z.ZodString>;
345
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "mobile"]>>;
346
+ }, "strip", z.ZodTypeAny, {
347
+ value?: string | undefined;
348
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
349
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
350
+ }, {
351
+ value?: string | undefined;
352
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
353
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
354
+ }>, "many">>;
355
+ address: z.ZodOptional<z.ZodArray<z.ZodObject<{
356
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "billing"]>>;
357
+ type: z.ZodOptional<z.ZodEnum<["postal", "physical", "both"]>>;
358
+ text: z.ZodOptional<z.ZodString>;
359
+ line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
360
+ city: z.ZodOptional<z.ZodString>;
361
+ district: z.ZodOptional<z.ZodString>;
362
+ state: z.ZodOptional<z.ZodString>;
363
+ postalCode: z.ZodOptional<z.ZodString>;
364
+ country: z.ZodOptional<z.ZodString>;
365
+ period: z.ZodOptional<z.ZodObject<{
366
+ start: z.ZodOptional<z.ZodString>;
367
+ end: z.ZodOptional<z.ZodString>;
368
+ }, "strip", z.ZodTypeAny, {
369
+ start?: string | undefined;
370
+ end?: string | undefined;
371
+ }, {
372
+ start?: string | undefined;
373
+ end?: string | undefined;
374
+ }>>;
375
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
376
+ url: z.ZodString;
377
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
378
+ url: z.ZodString;
379
+ valueCode: z.ZodString;
380
+ }, "strip", z.ZodTypeAny, {
381
+ url: string;
382
+ valueCode: string;
383
+ }, {
384
+ url: string;
385
+ valueCode: string;
386
+ }>, "many">>;
387
+ }, "strip", z.ZodTypeAny, {
388
+ url: string;
389
+ extension?: {
390
+ url: string;
391
+ valueCode: string;
392
+ }[] | undefined;
393
+ }, {
394
+ url: string;
395
+ extension?: {
396
+ url: string;
397
+ valueCode: string;
398
+ }[] | undefined;
399
+ }>, "many">>;
400
+ }, "strip", z.ZodTypeAny, {
401
+ type?: "postal" | "physical" | "both" | undefined;
402
+ text?: string | undefined;
403
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
404
+ extension?: {
405
+ url: string;
406
+ extension?: {
407
+ url: string;
408
+ valueCode: string;
409
+ }[] | undefined;
410
+ }[] | undefined;
411
+ line?: string[] | undefined;
412
+ city?: string | undefined;
413
+ district?: string | undefined;
414
+ state?: string | undefined;
415
+ postalCode?: string | undefined;
416
+ country?: string | undefined;
417
+ period?: {
418
+ start?: string | undefined;
419
+ end?: string | undefined;
420
+ } | undefined;
421
+ }, {
422
+ type?: "postal" | "physical" | "both" | undefined;
423
+ text?: string | undefined;
424
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
425
+ extension?: {
426
+ url: string;
427
+ extension?: {
428
+ url: string;
429
+ valueCode: string;
430
+ }[] | undefined;
431
+ }[] | undefined;
432
+ line?: string[] | undefined;
433
+ city?: string | undefined;
434
+ district?: string | undefined;
435
+ state?: string | undefined;
436
+ postalCode?: string | undefined;
437
+ country?: string | undefined;
438
+ period?: {
439
+ start?: string | undefined;
440
+ end?: string | undefined;
441
+ } | undefined;
442
+ }>, "many">>;
443
+ partOf: z.ZodOptional<z.ZodObject<{
444
+ reference: z.ZodString;
445
+ display: z.ZodOptional<z.ZodString>;
446
+ type: z.ZodOptional<z.ZodString>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ reference: string;
449
+ type?: string | undefined;
450
+ display?: string | undefined;
451
+ }, {
452
+ reference: string;
453
+ type?: string | undefined;
454
+ display?: string | undefined;
455
+ }>>;
456
+ contact: z.ZodOptional<z.ZodArray<z.ZodObject<{
457
+ purpose: z.ZodObject<{
458
+ text: z.ZodOptional<z.ZodString>;
459
+ } & {
460
+ coding: z.ZodArray<z.ZodObject<{
461
+ system: z.ZodString;
462
+ code: z.ZodString;
463
+ display: z.ZodOptional<z.ZodString>;
464
+ }, "strip", z.ZodTypeAny, {
465
+ code: string;
466
+ system: string;
467
+ display?: string | undefined;
468
+ }, {
469
+ code: string;
470
+ system: string;
471
+ display?: string | undefined;
472
+ }>, "many">;
473
+ }, "strip", z.ZodTypeAny, {
474
+ coding: {
475
+ code: string;
476
+ system: string;
477
+ display?: string | undefined;
478
+ }[];
479
+ text?: string | undefined;
480
+ }, {
481
+ coding: {
482
+ code: string;
483
+ system: string;
484
+ display?: string | undefined;
485
+ }[];
486
+ text?: string | undefined;
487
+ }>;
488
+ name: z.ZodOptional<z.ZodObject<{
489
+ use: z.ZodOptional<z.ZodString>;
490
+ text: z.ZodOptional<z.ZodString>;
491
+ family: z.ZodOptional<z.ZodString>;
492
+ given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
493
+ prefix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
494
+ suffix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ text?: string | undefined;
497
+ use?: string | undefined;
498
+ family?: string | undefined;
499
+ given?: string[] | undefined;
500
+ prefix?: string[] | undefined;
501
+ suffix?: string[] | undefined;
502
+ }, {
503
+ text?: string | undefined;
504
+ use?: string | undefined;
505
+ family?: string | undefined;
506
+ given?: string[] | undefined;
507
+ prefix?: string[] | undefined;
508
+ suffix?: string[] | undefined;
509
+ }>>;
510
+ telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
511
+ system: z.ZodOptional<z.ZodEnum<["phone", "fax", "email", "pager", "url", "sms", "other"]>>;
512
+ value: z.ZodOptional<z.ZodString>;
513
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "mobile"]>>;
514
+ }, "strip", z.ZodTypeAny, {
515
+ value?: string | undefined;
516
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
517
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
518
+ }, {
519
+ value?: string | undefined;
520
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
521
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
522
+ }>, "many">>;
523
+ address: z.ZodOptional<z.ZodObject<{
524
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "billing"]>>;
525
+ type: z.ZodOptional<z.ZodEnum<["postal", "physical", "both"]>>;
526
+ text: z.ZodOptional<z.ZodString>;
527
+ line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
528
+ city: z.ZodOptional<z.ZodString>;
529
+ district: z.ZodOptional<z.ZodString>;
530
+ state: z.ZodOptional<z.ZodString>;
531
+ postalCode: z.ZodOptional<z.ZodString>;
532
+ country: z.ZodOptional<z.ZodString>;
533
+ period: z.ZodOptional<z.ZodObject<{
534
+ start: z.ZodOptional<z.ZodString>;
535
+ end: z.ZodOptional<z.ZodString>;
536
+ }, "strip", z.ZodTypeAny, {
537
+ start?: string | undefined;
538
+ end?: string | undefined;
539
+ }, {
540
+ start?: string | undefined;
541
+ end?: string | undefined;
542
+ }>>;
543
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
544
+ url: z.ZodString;
545
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
546
+ url: z.ZodString;
547
+ valueCode: z.ZodString;
548
+ }, "strip", z.ZodTypeAny, {
549
+ url: string;
550
+ valueCode: string;
551
+ }, {
552
+ url: string;
553
+ valueCode: string;
554
+ }>, "many">>;
555
+ }, "strip", z.ZodTypeAny, {
556
+ url: string;
557
+ extension?: {
558
+ url: string;
559
+ valueCode: string;
560
+ }[] | undefined;
561
+ }, {
562
+ url: string;
563
+ extension?: {
564
+ url: string;
565
+ valueCode: string;
566
+ }[] | undefined;
567
+ }>, "many">>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ type?: "postal" | "physical" | "both" | undefined;
570
+ text?: string | undefined;
571
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
572
+ extension?: {
573
+ url: string;
574
+ extension?: {
575
+ url: string;
576
+ valueCode: string;
577
+ }[] | undefined;
578
+ }[] | undefined;
579
+ line?: string[] | undefined;
580
+ city?: string | undefined;
581
+ district?: string | undefined;
582
+ state?: string | undefined;
583
+ postalCode?: string | undefined;
584
+ country?: string | undefined;
585
+ period?: {
586
+ start?: string | undefined;
587
+ end?: string | undefined;
588
+ } | undefined;
589
+ }, {
590
+ type?: "postal" | "physical" | "both" | undefined;
591
+ text?: string | undefined;
592
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
593
+ extension?: {
594
+ url: string;
595
+ extension?: {
596
+ url: string;
597
+ valueCode: string;
598
+ }[] | undefined;
599
+ }[] | undefined;
600
+ line?: string[] | undefined;
601
+ city?: string | undefined;
602
+ district?: string | undefined;
603
+ state?: string | undefined;
604
+ postalCode?: string | undefined;
605
+ country?: string | undefined;
606
+ period?: {
607
+ start?: string | undefined;
608
+ end?: string | undefined;
609
+ } | undefined;
610
+ }>>;
611
+ }, "strip", z.ZodTypeAny, {
612
+ purpose: {
613
+ coding: {
614
+ code: string;
615
+ system: string;
616
+ display?: string | undefined;
617
+ }[];
618
+ text?: string | undefined;
619
+ };
620
+ name?: {
621
+ text?: string | undefined;
622
+ use?: string | undefined;
623
+ family?: string | undefined;
624
+ given?: string[] | undefined;
625
+ prefix?: string[] | undefined;
626
+ suffix?: string[] | undefined;
627
+ } | undefined;
628
+ telecom?: {
629
+ value?: string | undefined;
630
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
631
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
632
+ }[] | undefined;
633
+ address?: {
634
+ type?: "postal" | "physical" | "both" | undefined;
635
+ text?: string | undefined;
636
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
637
+ extension?: {
638
+ url: string;
639
+ extension?: {
640
+ url: string;
641
+ valueCode: string;
642
+ }[] | undefined;
643
+ }[] | undefined;
644
+ line?: string[] | undefined;
645
+ city?: string | undefined;
646
+ district?: string | undefined;
647
+ state?: string | undefined;
648
+ postalCode?: string | undefined;
649
+ country?: string | undefined;
650
+ period?: {
651
+ start?: string | undefined;
652
+ end?: string | undefined;
653
+ } | undefined;
654
+ } | undefined;
655
+ }, {
656
+ purpose: {
657
+ coding: {
658
+ code: string;
659
+ system: string;
660
+ display?: string | undefined;
661
+ }[];
662
+ text?: string | undefined;
663
+ };
664
+ name?: {
665
+ text?: string | undefined;
666
+ use?: string | undefined;
667
+ family?: string | undefined;
668
+ given?: string[] | undefined;
669
+ prefix?: string[] | undefined;
670
+ suffix?: string[] | undefined;
671
+ } | undefined;
672
+ telecom?: {
673
+ value?: string | undefined;
674
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
675
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
676
+ }[] | undefined;
677
+ address?: {
678
+ type?: "postal" | "physical" | "both" | undefined;
679
+ text?: string | undefined;
680
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
681
+ extension?: {
682
+ url: string;
683
+ extension?: {
684
+ url: string;
685
+ valueCode: string;
686
+ }[] | undefined;
687
+ }[] | undefined;
688
+ line?: string[] | undefined;
689
+ city?: string | undefined;
690
+ district?: string | undefined;
691
+ state?: string | undefined;
692
+ postalCode?: string | undefined;
693
+ country?: string | undefined;
694
+ period?: {
695
+ start?: string | undefined;
696
+ end?: string | undefined;
697
+ } | undefined;
698
+ } | undefined;
699
+ }>, "many">>;
700
+ endpoint: z.ZodOptional<z.ZodArray<z.ZodObject<{
701
+ reference: z.ZodString;
702
+ display: z.ZodOptional<z.ZodString>;
703
+ type: z.ZodOptional<z.ZodString>;
704
+ }, "strip", z.ZodTypeAny, {
705
+ reference: string;
706
+ type?: string | undefined;
707
+ display?: string | undefined;
708
+ }, {
709
+ reference: string;
710
+ type?: string | undefined;
711
+ display?: string | undefined;
712
+ }>, "many">>;
713
+ }, "strip", z.ZodTypeAny, {
714
+ type: {
715
+ coding: {
716
+ code: string;
717
+ system: string;
718
+ display?: string | undefined;
719
+ }[];
720
+ text?: string | undefined;
721
+ }[];
722
+ resourceType: "Organization";
723
+ active: boolean;
724
+ identifier: {
725
+ value: string;
726
+ system: string;
727
+ use?: string | undefined;
728
+ }[];
729
+ name: string;
730
+ partOf?: {
731
+ reference: string;
732
+ type?: string | undefined;
733
+ display?: string | undefined;
734
+ } | undefined;
735
+ telecom?: {
736
+ value?: string | undefined;
737
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
738
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
739
+ }[] | undefined;
740
+ address?: {
741
+ type?: "postal" | "physical" | "both" | undefined;
742
+ text?: string | undefined;
743
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
744
+ extension?: {
745
+ url: string;
746
+ extension?: {
747
+ url: string;
748
+ valueCode: string;
749
+ }[] | undefined;
750
+ }[] | undefined;
751
+ line?: string[] | undefined;
752
+ city?: string | undefined;
753
+ district?: string | undefined;
754
+ state?: string | undefined;
755
+ postalCode?: string | undefined;
756
+ country?: string | undefined;
757
+ period?: {
758
+ start?: string | undefined;
759
+ end?: string | undefined;
760
+ } | undefined;
761
+ }[] | undefined;
762
+ endpoint?: {
763
+ reference: string;
764
+ type?: string | undefined;
765
+ display?: string | undefined;
766
+ }[] | undefined;
767
+ alias?: string[] | undefined;
768
+ contact?: {
769
+ purpose: {
770
+ coding: {
771
+ code: string;
772
+ system: string;
773
+ display?: string | undefined;
774
+ }[];
775
+ text?: string | undefined;
776
+ };
777
+ name?: {
778
+ text?: string | undefined;
779
+ use?: string | undefined;
780
+ family?: string | undefined;
781
+ given?: string[] | undefined;
782
+ prefix?: string[] | undefined;
783
+ suffix?: string[] | undefined;
784
+ } | undefined;
785
+ telecom?: {
786
+ value?: string | undefined;
787
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
788
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
789
+ }[] | undefined;
790
+ address?: {
791
+ type?: "postal" | "physical" | "both" | undefined;
792
+ text?: string | undefined;
793
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
794
+ extension?: {
795
+ url: string;
796
+ extension?: {
797
+ url: string;
798
+ valueCode: string;
799
+ }[] | undefined;
800
+ }[] | undefined;
801
+ line?: string[] | undefined;
802
+ city?: string | undefined;
803
+ district?: string | undefined;
804
+ state?: string | undefined;
805
+ postalCode?: string | undefined;
806
+ country?: string | undefined;
807
+ period?: {
808
+ start?: string | undefined;
809
+ end?: string | undefined;
810
+ } | undefined;
811
+ } | undefined;
812
+ }[] | undefined;
813
+ }, {
814
+ type: {
815
+ coding: {
816
+ code: string;
817
+ system: string;
818
+ display?: string | undefined;
819
+ }[];
820
+ text?: string | undefined;
821
+ }[];
822
+ resourceType: "Organization";
823
+ active: boolean;
824
+ identifier: {
825
+ value: string;
826
+ system: string;
827
+ use?: string | undefined;
828
+ }[];
829
+ name: string;
830
+ partOf?: {
831
+ reference: string;
832
+ type?: string | undefined;
833
+ display?: string | undefined;
834
+ } | undefined;
835
+ telecom?: {
836
+ value?: string | undefined;
837
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
838
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
839
+ }[] | undefined;
840
+ address?: {
841
+ type?: "postal" | "physical" | "both" | undefined;
842
+ text?: string | undefined;
843
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
844
+ extension?: {
845
+ url: string;
846
+ extension?: {
847
+ url: string;
848
+ valueCode: string;
849
+ }[] | undefined;
850
+ }[] | undefined;
851
+ line?: string[] | undefined;
852
+ city?: string | undefined;
853
+ district?: string | undefined;
854
+ state?: string | undefined;
855
+ postalCode?: string | undefined;
856
+ country?: string | undefined;
857
+ period?: {
858
+ start?: string | undefined;
859
+ end?: string | undefined;
860
+ } | undefined;
861
+ }[] | undefined;
862
+ endpoint?: {
863
+ reference: string;
864
+ type?: string | undefined;
865
+ display?: string | undefined;
866
+ }[] | undefined;
867
+ alias?: string[] | undefined;
868
+ contact?: {
869
+ purpose: {
870
+ coding: {
871
+ code: string;
872
+ system: string;
873
+ display?: string | undefined;
874
+ }[];
875
+ text?: string | undefined;
876
+ };
877
+ name?: {
878
+ text?: string | undefined;
879
+ use?: string | undefined;
880
+ family?: string | undefined;
881
+ given?: string[] | undefined;
882
+ prefix?: string[] | undefined;
883
+ suffix?: string[] | undefined;
884
+ } | undefined;
885
+ telecom?: {
886
+ value?: string | undefined;
887
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
888
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
889
+ }[] | undefined;
890
+ address?: {
891
+ type?: "postal" | "physical" | "both" | undefined;
892
+ text?: string | undefined;
893
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
894
+ extension?: {
895
+ url: string;
896
+ extension?: {
897
+ url: string;
898
+ valueCode: string;
899
+ }[] | undefined;
900
+ }[] | undefined;
901
+ line?: string[] | undefined;
902
+ city?: string | undefined;
903
+ district?: string | undefined;
904
+ state?: string | undefined;
905
+ postalCode?: string | undefined;
906
+ country?: string | undefined;
907
+ period?: {
908
+ start?: string | undefined;
909
+ end?: string | undefined;
910
+ } | undefined;
911
+ } | undefined;
912
+ }[] | undefined;
913
+ }>;
914
+ export declare const OrganizationCreateSchema: z.ZodObject<{
915
+ resourceType: z.ZodLiteral<"Organization">;
916
+ active: z.ZodBoolean;
917
+ identifier: z.ZodArray<z.ZodObject<{
918
+ use: z.ZodOptional<z.ZodString>;
919
+ } & {
920
+ system: z.ZodString;
921
+ value: z.ZodString;
922
+ }, "strip", z.ZodTypeAny, {
923
+ value: string;
924
+ system: string;
925
+ use?: string | undefined;
926
+ }, {
927
+ value: string;
928
+ system: string;
929
+ use?: string | undefined;
930
+ }>, "many">;
931
+ type: z.ZodArray<z.ZodObject<{
932
+ text: z.ZodOptional<z.ZodString>;
933
+ } & {
934
+ coding: z.ZodArray<z.ZodObject<{
935
+ system: z.ZodString;
936
+ code: z.ZodString;
937
+ display: z.ZodOptional<z.ZodString>;
938
+ }, "strip", z.ZodTypeAny, {
939
+ code: string;
940
+ system: string;
941
+ display?: string | undefined;
942
+ }, {
943
+ code: string;
944
+ system: string;
945
+ display?: string | undefined;
946
+ }>, "many">;
947
+ }, "strip", z.ZodTypeAny, {
948
+ coding: {
949
+ code: string;
950
+ system: string;
951
+ display?: string | undefined;
952
+ }[];
953
+ text?: string | undefined;
954
+ }, {
955
+ coding: {
956
+ code: string;
957
+ system: string;
958
+ display?: string | undefined;
959
+ }[];
960
+ text?: string | undefined;
961
+ }>, "many">;
962
+ name: z.ZodString;
963
+ alias: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
964
+ telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
965
+ system: z.ZodOptional<z.ZodEnum<["phone", "fax", "email", "pager", "url", "sms", "other"]>>;
966
+ value: z.ZodOptional<z.ZodString>;
967
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "mobile"]>>;
968
+ }, "strip", z.ZodTypeAny, {
969
+ value?: string | undefined;
970
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
971
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
972
+ }, {
973
+ value?: string | undefined;
974
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
975
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
976
+ }>, "many">>;
977
+ address: z.ZodOptional<z.ZodArray<z.ZodObject<{
978
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "billing"]>>;
979
+ type: z.ZodOptional<z.ZodEnum<["postal", "physical", "both"]>>;
980
+ text: z.ZodOptional<z.ZodString>;
981
+ line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
982
+ city: z.ZodOptional<z.ZodString>;
983
+ district: z.ZodOptional<z.ZodString>;
984
+ state: z.ZodOptional<z.ZodString>;
985
+ postalCode: z.ZodOptional<z.ZodString>;
986
+ country: z.ZodOptional<z.ZodString>;
987
+ period: z.ZodOptional<z.ZodObject<{
988
+ start: z.ZodOptional<z.ZodString>;
989
+ end: z.ZodOptional<z.ZodString>;
990
+ }, "strip", z.ZodTypeAny, {
991
+ start?: string | undefined;
992
+ end?: string | undefined;
993
+ }, {
994
+ start?: string | undefined;
995
+ end?: string | undefined;
996
+ }>>;
997
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
998
+ url: z.ZodString;
999
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
1000
+ url: z.ZodString;
1001
+ valueCode: z.ZodString;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ url: string;
1004
+ valueCode: string;
1005
+ }, {
1006
+ url: string;
1007
+ valueCode: string;
1008
+ }>, "many">>;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ url: string;
1011
+ extension?: {
1012
+ url: string;
1013
+ valueCode: string;
1014
+ }[] | undefined;
1015
+ }, {
1016
+ url: string;
1017
+ extension?: {
1018
+ url: string;
1019
+ valueCode: string;
1020
+ }[] | undefined;
1021
+ }>, "many">>;
1022
+ }, "strip", z.ZodTypeAny, {
1023
+ type?: "postal" | "physical" | "both" | undefined;
1024
+ text?: string | undefined;
1025
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1026
+ extension?: {
1027
+ url: string;
1028
+ extension?: {
1029
+ url: string;
1030
+ valueCode: string;
1031
+ }[] | undefined;
1032
+ }[] | undefined;
1033
+ line?: string[] | undefined;
1034
+ city?: string | undefined;
1035
+ district?: string | undefined;
1036
+ state?: string | undefined;
1037
+ postalCode?: string | undefined;
1038
+ country?: string | undefined;
1039
+ period?: {
1040
+ start?: string | undefined;
1041
+ end?: string | undefined;
1042
+ } | undefined;
1043
+ }, {
1044
+ type?: "postal" | "physical" | "both" | undefined;
1045
+ text?: string | undefined;
1046
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1047
+ extension?: {
1048
+ url: string;
1049
+ extension?: {
1050
+ url: string;
1051
+ valueCode: string;
1052
+ }[] | undefined;
1053
+ }[] | undefined;
1054
+ line?: string[] | undefined;
1055
+ city?: string | undefined;
1056
+ district?: string | undefined;
1057
+ state?: string | undefined;
1058
+ postalCode?: string | undefined;
1059
+ country?: string | undefined;
1060
+ period?: {
1061
+ start?: string | undefined;
1062
+ end?: string | undefined;
1063
+ } | undefined;
1064
+ }>, "many">>;
1065
+ partOf: z.ZodOptional<z.ZodObject<{
1066
+ reference: z.ZodString;
1067
+ display: z.ZodOptional<z.ZodString>;
1068
+ type: z.ZodOptional<z.ZodString>;
1069
+ }, "strip", z.ZodTypeAny, {
1070
+ reference: string;
1071
+ type?: string | undefined;
1072
+ display?: string | undefined;
1073
+ }, {
1074
+ reference: string;
1075
+ type?: string | undefined;
1076
+ display?: string | undefined;
1077
+ }>>;
1078
+ contact: z.ZodOptional<z.ZodArray<z.ZodObject<{
1079
+ purpose: z.ZodObject<{
1080
+ text: z.ZodOptional<z.ZodString>;
1081
+ } & {
1082
+ coding: z.ZodArray<z.ZodObject<{
1083
+ system: z.ZodString;
1084
+ code: z.ZodString;
1085
+ display: z.ZodOptional<z.ZodString>;
1086
+ }, "strip", z.ZodTypeAny, {
1087
+ code: string;
1088
+ system: string;
1089
+ display?: string | undefined;
1090
+ }, {
1091
+ code: string;
1092
+ system: string;
1093
+ display?: string | undefined;
1094
+ }>, "many">;
1095
+ }, "strip", z.ZodTypeAny, {
1096
+ coding: {
1097
+ code: string;
1098
+ system: string;
1099
+ display?: string | undefined;
1100
+ }[];
1101
+ text?: string | undefined;
1102
+ }, {
1103
+ coding: {
1104
+ code: string;
1105
+ system: string;
1106
+ display?: string | undefined;
1107
+ }[];
1108
+ text?: string | undefined;
1109
+ }>;
1110
+ name: z.ZodOptional<z.ZodObject<{
1111
+ use: z.ZodOptional<z.ZodString>;
1112
+ text: z.ZodOptional<z.ZodString>;
1113
+ family: z.ZodOptional<z.ZodString>;
1114
+ given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1115
+ prefix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1116
+ suffix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1117
+ }, "strip", z.ZodTypeAny, {
1118
+ text?: string | undefined;
1119
+ use?: string | undefined;
1120
+ family?: string | undefined;
1121
+ given?: string[] | undefined;
1122
+ prefix?: string[] | undefined;
1123
+ suffix?: string[] | undefined;
1124
+ }, {
1125
+ text?: string | undefined;
1126
+ use?: string | undefined;
1127
+ family?: string | undefined;
1128
+ given?: string[] | undefined;
1129
+ prefix?: string[] | undefined;
1130
+ suffix?: string[] | undefined;
1131
+ }>>;
1132
+ telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
1133
+ system: z.ZodOptional<z.ZodEnum<["phone", "fax", "email", "pager", "url", "sms", "other"]>>;
1134
+ value: z.ZodOptional<z.ZodString>;
1135
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "mobile"]>>;
1136
+ }, "strip", z.ZodTypeAny, {
1137
+ value?: string | undefined;
1138
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1139
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1140
+ }, {
1141
+ value?: string | undefined;
1142
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1143
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1144
+ }>, "many">>;
1145
+ address: z.ZodOptional<z.ZodObject<{
1146
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "billing"]>>;
1147
+ type: z.ZodOptional<z.ZodEnum<["postal", "physical", "both"]>>;
1148
+ text: z.ZodOptional<z.ZodString>;
1149
+ line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1150
+ city: z.ZodOptional<z.ZodString>;
1151
+ district: z.ZodOptional<z.ZodString>;
1152
+ state: z.ZodOptional<z.ZodString>;
1153
+ postalCode: z.ZodOptional<z.ZodString>;
1154
+ country: z.ZodOptional<z.ZodString>;
1155
+ period: z.ZodOptional<z.ZodObject<{
1156
+ start: z.ZodOptional<z.ZodString>;
1157
+ end: z.ZodOptional<z.ZodString>;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ start?: string | undefined;
1160
+ end?: string | undefined;
1161
+ }, {
1162
+ start?: string | undefined;
1163
+ end?: string | undefined;
1164
+ }>>;
1165
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
1166
+ url: z.ZodString;
1167
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
1168
+ url: z.ZodString;
1169
+ valueCode: z.ZodString;
1170
+ }, "strip", z.ZodTypeAny, {
1171
+ url: string;
1172
+ valueCode: string;
1173
+ }, {
1174
+ url: string;
1175
+ valueCode: string;
1176
+ }>, "many">>;
1177
+ }, "strip", z.ZodTypeAny, {
1178
+ url: string;
1179
+ extension?: {
1180
+ url: string;
1181
+ valueCode: string;
1182
+ }[] | undefined;
1183
+ }, {
1184
+ url: string;
1185
+ extension?: {
1186
+ url: string;
1187
+ valueCode: string;
1188
+ }[] | undefined;
1189
+ }>, "many">>;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ type?: "postal" | "physical" | "both" | undefined;
1192
+ text?: string | undefined;
1193
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1194
+ extension?: {
1195
+ url: string;
1196
+ extension?: {
1197
+ url: string;
1198
+ valueCode: string;
1199
+ }[] | undefined;
1200
+ }[] | undefined;
1201
+ line?: string[] | undefined;
1202
+ city?: string | undefined;
1203
+ district?: string | undefined;
1204
+ state?: string | undefined;
1205
+ postalCode?: string | undefined;
1206
+ country?: string | undefined;
1207
+ period?: {
1208
+ start?: string | undefined;
1209
+ end?: string | undefined;
1210
+ } | undefined;
1211
+ }, {
1212
+ type?: "postal" | "physical" | "both" | undefined;
1213
+ text?: string | undefined;
1214
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1215
+ extension?: {
1216
+ url: string;
1217
+ extension?: {
1218
+ url: string;
1219
+ valueCode: string;
1220
+ }[] | undefined;
1221
+ }[] | undefined;
1222
+ line?: string[] | undefined;
1223
+ city?: string | undefined;
1224
+ district?: string | undefined;
1225
+ state?: string | undefined;
1226
+ postalCode?: string | undefined;
1227
+ country?: string | undefined;
1228
+ period?: {
1229
+ start?: string | undefined;
1230
+ end?: string | undefined;
1231
+ } | undefined;
1232
+ }>>;
1233
+ }, "strip", z.ZodTypeAny, {
1234
+ purpose: {
1235
+ coding: {
1236
+ code: string;
1237
+ system: string;
1238
+ display?: string | undefined;
1239
+ }[];
1240
+ text?: string | undefined;
1241
+ };
1242
+ name?: {
1243
+ text?: string | undefined;
1244
+ use?: string | undefined;
1245
+ family?: string | undefined;
1246
+ given?: string[] | undefined;
1247
+ prefix?: string[] | undefined;
1248
+ suffix?: string[] | undefined;
1249
+ } | undefined;
1250
+ telecom?: {
1251
+ value?: string | undefined;
1252
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1253
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1254
+ }[] | undefined;
1255
+ address?: {
1256
+ type?: "postal" | "physical" | "both" | undefined;
1257
+ text?: string | undefined;
1258
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1259
+ extension?: {
1260
+ url: string;
1261
+ extension?: {
1262
+ url: string;
1263
+ valueCode: string;
1264
+ }[] | undefined;
1265
+ }[] | undefined;
1266
+ line?: string[] | undefined;
1267
+ city?: string | undefined;
1268
+ district?: string | undefined;
1269
+ state?: string | undefined;
1270
+ postalCode?: string | undefined;
1271
+ country?: string | undefined;
1272
+ period?: {
1273
+ start?: string | undefined;
1274
+ end?: string | undefined;
1275
+ } | undefined;
1276
+ } | undefined;
1277
+ }, {
1278
+ purpose: {
1279
+ coding: {
1280
+ code: string;
1281
+ system: string;
1282
+ display?: string | undefined;
1283
+ }[];
1284
+ text?: string | undefined;
1285
+ };
1286
+ name?: {
1287
+ text?: string | undefined;
1288
+ use?: string | undefined;
1289
+ family?: string | undefined;
1290
+ given?: string[] | undefined;
1291
+ prefix?: string[] | undefined;
1292
+ suffix?: string[] | undefined;
1293
+ } | undefined;
1294
+ telecom?: {
1295
+ value?: string | undefined;
1296
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1297
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1298
+ }[] | undefined;
1299
+ address?: {
1300
+ type?: "postal" | "physical" | "both" | undefined;
1301
+ text?: string | undefined;
1302
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1303
+ extension?: {
1304
+ url: string;
1305
+ extension?: {
1306
+ url: string;
1307
+ valueCode: string;
1308
+ }[] | undefined;
1309
+ }[] | undefined;
1310
+ line?: string[] | undefined;
1311
+ city?: string | undefined;
1312
+ district?: string | undefined;
1313
+ state?: string | undefined;
1314
+ postalCode?: string | undefined;
1315
+ country?: string | undefined;
1316
+ period?: {
1317
+ start?: string | undefined;
1318
+ end?: string | undefined;
1319
+ } | undefined;
1320
+ } | undefined;
1321
+ }>, "many">>;
1322
+ endpoint: z.ZodOptional<z.ZodArray<z.ZodObject<{
1323
+ reference: z.ZodString;
1324
+ display: z.ZodOptional<z.ZodString>;
1325
+ type: z.ZodOptional<z.ZodString>;
1326
+ }, "strip", z.ZodTypeAny, {
1327
+ reference: string;
1328
+ type?: string | undefined;
1329
+ display?: string | undefined;
1330
+ }, {
1331
+ reference: string;
1332
+ type?: string | undefined;
1333
+ display?: string | undefined;
1334
+ }>, "many">>;
1335
+ }, "strip", z.ZodTypeAny, {
1336
+ type: {
1337
+ coding: {
1338
+ code: string;
1339
+ system: string;
1340
+ display?: string | undefined;
1341
+ }[];
1342
+ text?: string | undefined;
1343
+ }[];
1344
+ resourceType: "Organization";
1345
+ active: boolean;
1346
+ identifier: {
1347
+ value: string;
1348
+ system: string;
1349
+ use?: string | undefined;
1350
+ }[];
1351
+ name: string;
1352
+ partOf?: {
1353
+ reference: string;
1354
+ type?: string | undefined;
1355
+ display?: string | undefined;
1356
+ } | undefined;
1357
+ telecom?: {
1358
+ value?: string | undefined;
1359
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1360
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1361
+ }[] | undefined;
1362
+ address?: {
1363
+ type?: "postal" | "physical" | "both" | undefined;
1364
+ text?: string | undefined;
1365
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1366
+ extension?: {
1367
+ url: string;
1368
+ extension?: {
1369
+ url: string;
1370
+ valueCode: string;
1371
+ }[] | undefined;
1372
+ }[] | undefined;
1373
+ line?: string[] | undefined;
1374
+ city?: string | undefined;
1375
+ district?: string | undefined;
1376
+ state?: string | undefined;
1377
+ postalCode?: string | undefined;
1378
+ country?: string | undefined;
1379
+ period?: {
1380
+ start?: string | undefined;
1381
+ end?: string | undefined;
1382
+ } | undefined;
1383
+ }[] | undefined;
1384
+ endpoint?: {
1385
+ reference: string;
1386
+ type?: string | undefined;
1387
+ display?: string | undefined;
1388
+ }[] | undefined;
1389
+ alias?: string[] | undefined;
1390
+ contact?: {
1391
+ purpose: {
1392
+ coding: {
1393
+ code: string;
1394
+ system: string;
1395
+ display?: string | undefined;
1396
+ }[];
1397
+ text?: string | undefined;
1398
+ };
1399
+ name?: {
1400
+ text?: string | undefined;
1401
+ use?: string | undefined;
1402
+ family?: string | undefined;
1403
+ given?: string[] | undefined;
1404
+ prefix?: string[] | undefined;
1405
+ suffix?: string[] | undefined;
1406
+ } | undefined;
1407
+ telecom?: {
1408
+ value?: string | undefined;
1409
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1410
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1411
+ }[] | undefined;
1412
+ address?: {
1413
+ type?: "postal" | "physical" | "both" | undefined;
1414
+ text?: string | undefined;
1415
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1416
+ extension?: {
1417
+ url: string;
1418
+ extension?: {
1419
+ url: string;
1420
+ valueCode: string;
1421
+ }[] | undefined;
1422
+ }[] | undefined;
1423
+ line?: string[] | undefined;
1424
+ city?: string | undefined;
1425
+ district?: string | undefined;
1426
+ state?: string | undefined;
1427
+ postalCode?: string | undefined;
1428
+ country?: string | undefined;
1429
+ period?: {
1430
+ start?: string | undefined;
1431
+ end?: string | undefined;
1432
+ } | undefined;
1433
+ } | undefined;
1434
+ }[] | undefined;
1435
+ }, {
1436
+ type: {
1437
+ coding: {
1438
+ code: string;
1439
+ system: string;
1440
+ display?: string | undefined;
1441
+ }[];
1442
+ text?: string | undefined;
1443
+ }[];
1444
+ resourceType: "Organization";
1445
+ active: boolean;
1446
+ identifier: {
1447
+ value: string;
1448
+ system: string;
1449
+ use?: string | undefined;
1450
+ }[];
1451
+ name: string;
1452
+ partOf?: {
1453
+ reference: string;
1454
+ type?: string | undefined;
1455
+ display?: string | undefined;
1456
+ } | undefined;
1457
+ telecom?: {
1458
+ value?: string | undefined;
1459
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1460
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1461
+ }[] | undefined;
1462
+ address?: {
1463
+ type?: "postal" | "physical" | "both" | undefined;
1464
+ text?: string | undefined;
1465
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1466
+ extension?: {
1467
+ url: string;
1468
+ extension?: {
1469
+ url: string;
1470
+ valueCode: string;
1471
+ }[] | undefined;
1472
+ }[] | undefined;
1473
+ line?: string[] | undefined;
1474
+ city?: string | undefined;
1475
+ district?: string | undefined;
1476
+ state?: string | undefined;
1477
+ postalCode?: string | undefined;
1478
+ country?: string | undefined;
1479
+ period?: {
1480
+ start?: string | undefined;
1481
+ end?: string | undefined;
1482
+ } | undefined;
1483
+ }[] | undefined;
1484
+ endpoint?: {
1485
+ reference: string;
1486
+ type?: string | undefined;
1487
+ display?: string | undefined;
1488
+ }[] | undefined;
1489
+ alias?: string[] | undefined;
1490
+ contact?: {
1491
+ purpose: {
1492
+ coding: {
1493
+ code: string;
1494
+ system: string;
1495
+ display?: string | undefined;
1496
+ }[];
1497
+ text?: string | undefined;
1498
+ };
1499
+ name?: {
1500
+ text?: string | undefined;
1501
+ use?: string | undefined;
1502
+ family?: string | undefined;
1503
+ given?: string[] | undefined;
1504
+ prefix?: string[] | undefined;
1505
+ suffix?: string[] | undefined;
1506
+ } | undefined;
1507
+ telecom?: {
1508
+ value?: string | undefined;
1509
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1510
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1511
+ }[] | undefined;
1512
+ address?: {
1513
+ type?: "postal" | "physical" | "both" | undefined;
1514
+ text?: string | undefined;
1515
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1516
+ extension?: {
1517
+ url: string;
1518
+ extension?: {
1519
+ url: string;
1520
+ valueCode: string;
1521
+ }[] | undefined;
1522
+ }[] | undefined;
1523
+ line?: string[] | undefined;
1524
+ city?: string | undefined;
1525
+ district?: string | undefined;
1526
+ state?: string | undefined;
1527
+ postalCode?: string | undefined;
1528
+ country?: string | undefined;
1529
+ period?: {
1530
+ start?: string | undefined;
1531
+ end?: string | undefined;
1532
+ } | undefined;
1533
+ } | undefined;
1534
+ }[] | undefined;
1535
+ }>;
1536
+ export declare const OrganizationSchema: z.ZodObject<{
1537
+ resourceType: z.ZodLiteral<"Organization">;
1538
+ active: z.ZodBoolean;
1539
+ identifier: z.ZodArray<z.ZodObject<{
1540
+ use: z.ZodOptional<z.ZodString>;
1541
+ } & {
1542
+ system: z.ZodString;
1543
+ value: z.ZodString;
1544
+ }, "strip", z.ZodTypeAny, {
1545
+ value: string;
1546
+ system: string;
1547
+ use?: string | undefined;
1548
+ }, {
1549
+ value: string;
1550
+ system: string;
1551
+ use?: string | undefined;
1552
+ }>, "many">;
1553
+ type: z.ZodArray<z.ZodObject<{
1554
+ text: z.ZodOptional<z.ZodString>;
1555
+ } & {
1556
+ coding: z.ZodArray<z.ZodObject<{
1557
+ system: z.ZodString;
1558
+ code: z.ZodString;
1559
+ display: z.ZodOptional<z.ZodString>;
1560
+ }, "strip", z.ZodTypeAny, {
1561
+ code: string;
1562
+ system: string;
1563
+ display?: string | undefined;
1564
+ }, {
1565
+ code: string;
1566
+ system: string;
1567
+ display?: string | undefined;
1568
+ }>, "many">;
1569
+ }, "strip", z.ZodTypeAny, {
1570
+ coding: {
1571
+ code: string;
1572
+ system: string;
1573
+ display?: string | undefined;
1574
+ }[];
1575
+ text?: string | undefined;
1576
+ }, {
1577
+ coding: {
1578
+ code: string;
1579
+ system: string;
1580
+ display?: string | undefined;
1581
+ }[];
1582
+ text?: string | undefined;
1583
+ }>, "many">;
1584
+ name: z.ZodString;
1585
+ alias: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1586
+ telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
1587
+ system: z.ZodOptional<z.ZodEnum<["phone", "fax", "email", "pager", "url", "sms", "other"]>>;
1588
+ value: z.ZodOptional<z.ZodString>;
1589
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "mobile"]>>;
1590
+ }, "strip", z.ZodTypeAny, {
1591
+ value?: string | undefined;
1592
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1593
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1594
+ }, {
1595
+ value?: string | undefined;
1596
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1597
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1598
+ }>, "many">>;
1599
+ address: z.ZodOptional<z.ZodArray<z.ZodObject<{
1600
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "billing"]>>;
1601
+ type: z.ZodOptional<z.ZodEnum<["postal", "physical", "both"]>>;
1602
+ text: z.ZodOptional<z.ZodString>;
1603
+ line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1604
+ city: z.ZodOptional<z.ZodString>;
1605
+ district: z.ZodOptional<z.ZodString>;
1606
+ state: z.ZodOptional<z.ZodString>;
1607
+ postalCode: z.ZodOptional<z.ZodString>;
1608
+ country: z.ZodOptional<z.ZodString>;
1609
+ period: z.ZodOptional<z.ZodObject<{
1610
+ start: z.ZodOptional<z.ZodString>;
1611
+ end: z.ZodOptional<z.ZodString>;
1612
+ }, "strip", z.ZodTypeAny, {
1613
+ start?: string | undefined;
1614
+ end?: string | undefined;
1615
+ }, {
1616
+ start?: string | undefined;
1617
+ end?: string | undefined;
1618
+ }>>;
1619
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
1620
+ url: z.ZodString;
1621
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
1622
+ url: z.ZodString;
1623
+ valueCode: z.ZodString;
1624
+ }, "strip", z.ZodTypeAny, {
1625
+ url: string;
1626
+ valueCode: string;
1627
+ }, {
1628
+ url: string;
1629
+ valueCode: string;
1630
+ }>, "many">>;
1631
+ }, "strip", z.ZodTypeAny, {
1632
+ url: string;
1633
+ extension?: {
1634
+ url: string;
1635
+ valueCode: string;
1636
+ }[] | undefined;
1637
+ }, {
1638
+ url: string;
1639
+ extension?: {
1640
+ url: string;
1641
+ valueCode: string;
1642
+ }[] | undefined;
1643
+ }>, "many">>;
1644
+ }, "strip", z.ZodTypeAny, {
1645
+ type?: "postal" | "physical" | "both" | undefined;
1646
+ text?: string | undefined;
1647
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1648
+ extension?: {
1649
+ url: string;
1650
+ extension?: {
1651
+ url: string;
1652
+ valueCode: string;
1653
+ }[] | undefined;
1654
+ }[] | undefined;
1655
+ line?: string[] | undefined;
1656
+ city?: string | undefined;
1657
+ district?: string | undefined;
1658
+ state?: string | undefined;
1659
+ postalCode?: string | undefined;
1660
+ country?: string | undefined;
1661
+ period?: {
1662
+ start?: string | undefined;
1663
+ end?: string | undefined;
1664
+ } | undefined;
1665
+ }, {
1666
+ type?: "postal" | "physical" | "both" | undefined;
1667
+ text?: string | undefined;
1668
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1669
+ extension?: {
1670
+ url: string;
1671
+ extension?: {
1672
+ url: string;
1673
+ valueCode: string;
1674
+ }[] | undefined;
1675
+ }[] | undefined;
1676
+ line?: string[] | undefined;
1677
+ city?: string | undefined;
1678
+ district?: string | undefined;
1679
+ state?: string | undefined;
1680
+ postalCode?: string | undefined;
1681
+ country?: string | undefined;
1682
+ period?: {
1683
+ start?: string | undefined;
1684
+ end?: string | undefined;
1685
+ } | undefined;
1686
+ }>, "many">>;
1687
+ partOf: z.ZodOptional<z.ZodObject<{
1688
+ reference: z.ZodString;
1689
+ display: z.ZodOptional<z.ZodString>;
1690
+ type: z.ZodOptional<z.ZodString>;
1691
+ }, "strip", z.ZodTypeAny, {
1692
+ reference: string;
1693
+ type?: string | undefined;
1694
+ display?: string | undefined;
1695
+ }, {
1696
+ reference: string;
1697
+ type?: string | undefined;
1698
+ display?: string | undefined;
1699
+ }>>;
1700
+ contact: z.ZodOptional<z.ZodArray<z.ZodObject<{
1701
+ purpose: z.ZodObject<{
1702
+ text: z.ZodOptional<z.ZodString>;
1703
+ } & {
1704
+ coding: z.ZodArray<z.ZodObject<{
1705
+ system: z.ZodString;
1706
+ code: z.ZodString;
1707
+ display: z.ZodOptional<z.ZodString>;
1708
+ }, "strip", z.ZodTypeAny, {
1709
+ code: string;
1710
+ system: string;
1711
+ display?: string | undefined;
1712
+ }, {
1713
+ code: string;
1714
+ system: string;
1715
+ display?: string | undefined;
1716
+ }>, "many">;
1717
+ }, "strip", z.ZodTypeAny, {
1718
+ coding: {
1719
+ code: string;
1720
+ system: string;
1721
+ display?: string | undefined;
1722
+ }[];
1723
+ text?: string | undefined;
1724
+ }, {
1725
+ coding: {
1726
+ code: string;
1727
+ system: string;
1728
+ display?: string | undefined;
1729
+ }[];
1730
+ text?: string | undefined;
1731
+ }>;
1732
+ name: z.ZodOptional<z.ZodObject<{
1733
+ use: z.ZodOptional<z.ZodString>;
1734
+ text: z.ZodOptional<z.ZodString>;
1735
+ family: z.ZodOptional<z.ZodString>;
1736
+ given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1737
+ prefix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1738
+ suffix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1739
+ }, "strip", z.ZodTypeAny, {
1740
+ text?: string | undefined;
1741
+ use?: string | undefined;
1742
+ family?: string | undefined;
1743
+ given?: string[] | undefined;
1744
+ prefix?: string[] | undefined;
1745
+ suffix?: string[] | undefined;
1746
+ }, {
1747
+ text?: string | undefined;
1748
+ use?: string | undefined;
1749
+ family?: string | undefined;
1750
+ given?: string[] | undefined;
1751
+ prefix?: string[] | undefined;
1752
+ suffix?: string[] | undefined;
1753
+ }>>;
1754
+ telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
1755
+ system: z.ZodOptional<z.ZodEnum<["phone", "fax", "email", "pager", "url", "sms", "other"]>>;
1756
+ value: z.ZodOptional<z.ZodString>;
1757
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "mobile"]>>;
1758
+ }, "strip", z.ZodTypeAny, {
1759
+ value?: string | undefined;
1760
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1761
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1762
+ }, {
1763
+ value?: string | undefined;
1764
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1765
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1766
+ }>, "many">>;
1767
+ address: z.ZodOptional<z.ZodObject<{
1768
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "billing"]>>;
1769
+ type: z.ZodOptional<z.ZodEnum<["postal", "physical", "both"]>>;
1770
+ text: z.ZodOptional<z.ZodString>;
1771
+ line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1772
+ city: z.ZodOptional<z.ZodString>;
1773
+ district: z.ZodOptional<z.ZodString>;
1774
+ state: z.ZodOptional<z.ZodString>;
1775
+ postalCode: z.ZodOptional<z.ZodString>;
1776
+ country: z.ZodOptional<z.ZodString>;
1777
+ period: z.ZodOptional<z.ZodObject<{
1778
+ start: z.ZodOptional<z.ZodString>;
1779
+ end: z.ZodOptional<z.ZodString>;
1780
+ }, "strip", z.ZodTypeAny, {
1781
+ start?: string | undefined;
1782
+ end?: string | undefined;
1783
+ }, {
1784
+ start?: string | undefined;
1785
+ end?: string | undefined;
1786
+ }>>;
1787
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
1788
+ url: z.ZodString;
1789
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
1790
+ url: z.ZodString;
1791
+ valueCode: z.ZodString;
1792
+ }, "strip", z.ZodTypeAny, {
1793
+ url: string;
1794
+ valueCode: string;
1795
+ }, {
1796
+ url: string;
1797
+ valueCode: string;
1798
+ }>, "many">>;
1799
+ }, "strip", z.ZodTypeAny, {
1800
+ url: string;
1801
+ extension?: {
1802
+ url: string;
1803
+ valueCode: string;
1804
+ }[] | undefined;
1805
+ }, {
1806
+ url: string;
1807
+ extension?: {
1808
+ url: string;
1809
+ valueCode: string;
1810
+ }[] | undefined;
1811
+ }>, "many">>;
1812
+ }, "strip", z.ZodTypeAny, {
1813
+ type?: "postal" | "physical" | "both" | undefined;
1814
+ text?: string | undefined;
1815
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1816
+ extension?: {
1817
+ url: string;
1818
+ extension?: {
1819
+ url: string;
1820
+ valueCode: string;
1821
+ }[] | undefined;
1822
+ }[] | undefined;
1823
+ line?: string[] | undefined;
1824
+ city?: string | undefined;
1825
+ district?: string | undefined;
1826
+ state?: string | undefined;
1827
+ postalCode?: string | undefined;
1828
+ country?: string | undefined;
1829
+ period?: {
1830
+ start?: string | undefined;
1831
+ end?: string | undefined;
1832
+ } | undefined;
1833
+ }, {
1834
+ type?: "postal" | "physical" | "both" | undefined;
1835
+ text?: string | undefined;
1836
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1837
+ extension?: {
1838
+ url: string;
1839
+ extension?: {
1840
+ url: string;
1841
+ valueCode: string;
1842
+ }[] | undefined;
1843
+ }[] | undefined;
1844
+ line?: string[] | undefined;
1845
+ city?: string | undefined;
1846
+ district?: string | undefined;
1847
+ state?: string | undefined;
1848
+ postalCode?: string | undefined;
1849
+ country?: string | undefined;
1850
+ period?: {
1851
+ start?: string | undefined;
1852
+ end?: string | undefined;
1853
+ } | undefined;
1854
+ }>>;
1855
+ }, "strip", z.ZodTypeAny, {
1856
+ purpose: {
1857
+ coding: {
1858
+ code: string;
1859
+ system: string;
1860
+ display?: string | undefined;
1861
+ }[];
1862
+ text?: string | undefined;
1863
+ };
1864
+ name?: {
1865
+ text?: string | undefined;
1866
+ use?: string | undefined;
1867
+ family?: string | undefined;
1868
+ given?: string[] | undefined;
1869
+ prefix?: string[] | undefined;
1870
+ suffix?: string[] | undefined;
1871
+ } | undefined;
1872
+ telecom?: {
1873
+ value?: string | undefined;
1874
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1875
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1876
+ }[] | undefined;
1877
+ address?: {
1878
+ type?: "postal" | "physical" | "both" | undefined;
1879
+ text?: string | undefined;
1880
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1881
+ extension?: {
1882
+ url: string;
1883
+ extension?: {
1884
+ url: string;
1885
+ valueCode: string;
1886
+ }[] | undefined;
1887
+ }[] | undefined;
1888
+ line?: string[] | undefined;
1889
+ city?: string | undefined;
1890
+ district?: string | undefined;
1891
+ state?: string | undefined;
1892
+ postalCode?: string | undefined;
1893
+ country?: string | undefined;
1894
+ period?: {
1895
+ start?: string | undefined;
1896
+ end?: string | undefined;
1897
+ } | undefined;
1898
+ } | undefined;
1899
+ }, {
1900
+ purpose: {
1901
+ coding: {
1902
+ code: string;
1903
+ system: string;
1904
+ display?: string | undefined;
1905
+ }[];
1906
+ text?: string | undefined;
1907
+ };
1908
+ name?: {
1909
+ text?: string | undefined;
1910
+ use?: string | undefined;
1911
+ family?: string | undefined;
1912
+ given?: string[] | undefined;
1913
+ prefix?: string[] | undefined;
1914
+ suffix?: string[] | undefined;
1915
+ } | undefined;
1916
+ telecom?: {
1917
+ value?: string | undefined;
1918
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
1919
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
1920
+ }[] | undefined;
1921
+ address?: {
1922
+ type?: "postal" | "physical" | "both" | undefined;
1923
+ text?: string | undefined;
1924
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
1925
+ extension?: {
1926
+ url: string;
1927
+ extension?: {
1928
+ url: string;
1929
+ valueCode: string;
1930
+ }[] | undefined;
1931
+ }[] | undefined;
1932
+ line?: string[] | undefined;
1933
+ city?: string | undefined;
1934
+ district?: string | undefined;
1935
+ state?: string | undefined;
1936
+ postalCode?: string | undefined;
1937
+ country?: string | undefined;
1938
+ period?: {
1939
+ start?: string | undefined;
1940
+ end?: string | undefined;
1941
+ } | undefined;
1942
+ } | undefined;
1943
+ }>, "many">>;
1944
+ endpoint: z.ZodOptional<z.ZodArray<z.ZodObject<{
1945
+ reference: z.ZodString;
1946
+ display: z.ZodOptional<z.ZodString>;
1947
+ type: z.ZodOptional<z.ZodString>;
1948
+ }, "strip", z.ZodTypeAny, {
1949
+ reference: string;
1950
+ type?: string | undefined;
1951
+ display?: string | undefined;
1952
+ }, {
1953
+ reference: string;
1954
+ type?: string | undefined;
1955
+ display?: string | undefined;
1956
+ }>, "many">>;
1957
+ } & {
1958
+ id: z.ZodString;
1959
+ meta: z.ZodOptional<z.ZodObject<{
1960
+ lastUpdated: z.ZodOptional<z.ZodString>;
1961
+ profile: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1962
+ versionId: z.ZodOptional<z.ZodString>;
1963
+ }, "strip", z.ZodTypeAny, {
1964
+ lastUpdated?: string | undefined;
1965
+ profile?: string[] | undefined;
1966
+ versionId?: string | undefined;
1967
+ }, {
1968
+ lastUpdated?: string | undefined;
1969
+ profile?: string[] | undefined;
1970
+ versionId?: string | undefined;
1971
+ }>>;
1972
+ }, "strip", z.ZodTypeAny, {
1973
+ type: {
1974
+ coding: {
1975
+ code: string;
1976
+ system: string;
1977
+ display?: string | undefined;
1978
+ }[];
1979
+ text?: string | undefined;
1980
+ }[];
1981
+ resourceType: "Organization";
1982
+ id: string;
1983
+ active: boolean;
1984
+ identifier: {
1985
+ value: string;
1986
+ system: string;
1987
+ use?: string | undefined;
1988
+ }[];
1989
+ name: string;
1990
+ meta?: {
1991
+ lastUpdated?: string | undefined;
1992
+ profile?: string[] | undefined;
1993
+ versionId?: string | undefined;
1994
+ } | undefined;
1995
+ partOf?: {
1996
+ reference: string;
1997
+ type?: string | undefined;
1998
+ display?: string | undefined;
1999
+ } | undefined;
2000
+ telecom?: {
2001
+ value?: string | undefined;
2002
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2003
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2004
+ }[] | undefined;
2005
+ address?: {
2006
+ type?: "postal" | "physical" | "both" | undefined;
2007
+ text?: string | undefined;
2008
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2009
+ extension?: {
2010
+ url: string;
2011
+ extension?: {
2012
+ url: string;
2013
+ valueCode: string;
2014
+ }[] | undefined;
2015
+ }[] | undefined;
2016
+ line?: string[] | undefined;
2017
+ city?: string | undefined;
2018
+ district?: string | undefined;
2019
+ state?: string | undefined;
2020
+ postalCode?: string | undefined;
2021
+ country?: string | undefined;
2022
+ period?: {
2023
+ start?: string | undefined;
2024
+ end?: string | undefined;
2025
+ } | undefined;
2026
+ }[] | undefined;
2027
+ endpoint?: {
2028
+ reference: string;
2029
+ type?: string | undefined;
2030
+ display?: string | undefined;
2031
+ }[] | undefined;
2032
+ alias?: string[] | undefined;
2033
+ contact?: {
2034
+ purpose: {
2035
+ coding: {
2036
+ code: string;
2037
+ system: string;
2038
+ display?: string | undefined;
2039
+ }[];
2040
+ text?: string | undefined;
2041
+ };
2042
+ name?: {
2043
+ text?: string | undefined;
2044
+ use?: string | undefined;
2045
+ family?: string | undefined;
2046
+ given?: string[] | undefined;
2047
+ prefix?: string[] | undefined;
2048
+ suffix?: string[] | undefined;
2049
+ } | undefined;
2050
+ telecom?: {
2051
+ value?: string | undefined;
2052
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2053
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2054
+ }[] | undefined;
2055
+ address?: {
2056
+ type?: "postal" | "physical" | "both" | undefined;
2057
+ text?: string | undefined;
2058
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2059
+ extension?: {
2060
+ url: string;
2061
+ extension?: {
2062
+ url: string;
2063
+ valueCode: string;
2064
+ }[] | undefined;
2065
+ }[] | undefined;
2066
+ line?: string[] | undefined;
2067
+ city?: string | undefined;
2068
+ district?: string | undefined;
2069
+ state?: string | undefined;
2070
+ postalCode?: string | undefined;
2071
+ country?: string | undefined;
2072
+ period?: {
2073
+ start?: string | undefined;
2074
+ end?: string | undefined;
2075
+ } | undefined;
2076
+ } | undefined;
2077
+ }[] | undefined;
2078
+ }, {
2079
+ type: {
2080
+ coding: {
2081
+ code: string;
2082
+ system: string;
2083
+ display?: string | undefined;
2084
+ }[];
2085
+ text?: string | undefined;
2086
+ }[];
2087
+ resourceType: "Organization";
2088
+ id: string;
2089
+ active: boolean;
2090
+ identifier: {
2091
+ value: string;
2092
+ system: string;
2093
+ use?: string | undefined;
2094
+ }[];
2095
+ name: string;
2096
+ meta?: {
2097
+ lastUpdated?: string | undefined;
2098
+ profile?: string[] | undefined;
2099
+ versionId?: string | undefined;
2100
+ } | undefined;
2101
+ partOf?: {
2102
+ reference: string;
2103
+ type?: string | undefined;
2104
+ display?: string | undefined;
2105
+ } | undefined;
2106
+ telecom?: {
2107
+ value?: string | undefined;
2108
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2109
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2110
+ }[] | undefined;
2111
+ address?: {
2112
+ type?: "postal" | "physical" | "both" | undefined;
2113
+ text?: string | undefined;
2114
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2115
+ extension?: {
2116
+ url: string;
2117
+ extension?: {
2118
+ url: string;
2119
+ valueCode: string;
2120
+ }[] | undefined;
2121
+ }[] | undefined;
2122
+ line?: string[] | undefined;
2123
+ city?: string | undefined;
2124
+ district?: string | undefined;
2125
+ state?: string | undefined;
2126
+ postalCode?: string | undefined;
2127
+ country?: string | undefined;
2128
+ period?: {
2129
+ start?: string | undefined;
2130
+ end?: string | undefined;
2131
+ } | undefined;
2132
+ }[] | undefined;
2133
+ endpoint?: {
2134
+ reference: string;
2135
+ type?: string | undefined;
2136
+ display?: string | undefined;
2137
+ }[] | undefined;
2138
+ alias?: string[] | undefined;
2139
+ contact?: {
2140
+ purpose: {
2141
+ coding: {
2142
+ code: string;
2143
+ system: string;
2144
+ display?: string | undefined;
2145
+ }[];
2146
+ text?: string | undefined;
2147
+ };
2148
+ name?: {
2149
+ text?: string | undefined;
2150
+ use?: string | undefined;
2151
+ family?: string | undefined;
2152
+ given?: string[] | undefined;
2153
+ prefix?: string[] | undefined;
2154
+ suffix?: string[] | undefined;
2155
+ } | undefined;
2156
+ telecom?: {
2157
+ value?: string | undefined;
2158
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2159
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2160
+ }[] | undefined;
2161
+ address?: {
2162
+ type?: "postal" | "physical" | "both" | undefined;
2163
+ text?: string | undefined;
2164
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2165
+ extension?: {
2166
+ url: string;
2167
+ extension?: {
2168
+ url: string;
2169
+ valueCode: string;
2170
+ }[] | undefined;
2171
+ }[] | undefined;
2172
+ line?: string[] | undefined;
2173
+ city?: string | undefined;
2174
+ district?: string | undefined;
2175
+ state?: string | undefined;
2176
+ postalCode?: string | undefined;
2177
+ country?: string | undefined;
2178
+ period?: {
2179
+ start?: string | undefined;
2180
+ end?: string | undefined;
2181
+ } | undefined;
2182
+ } | undefined;
2183
+ }[] | undefined;
2184
+ }>;
2185
+ export declare const OrganizationUpdateParamsSchema: z.ZodObject<{
2186
+ id: z.ZodString;
2187
+ }, "strip", z.ZodTypeAny, {
2188
+ id: string;
2189
+ }, {
2190
+ id: string;
2191
+ }>;
2192
+ export declare const OrganizationSearchParamsSchema: z.ZodEffects<z.ZodObject<{
2193
+ name: z.ZodOptional<z.ZodString>;
2194
+ partof: z.ZodOptional<z.ZodString>;
2195
+ }, "strip", z.ZodTypeAny, {
2196
+ name?: string | undefined;
2197
+ partof?: string | undefined;
2198
+ }, {
2199
+ name?: string | undefined;
2200
+ partof?: string | undefined;
2201
+ }>, {
2202
+ name?: string | undefined;
2203
+ partof?: string | undefined;
2204
+ }, {
2205
+ name?: string | undefined;
2206
+ partof?: string | undefined;
2207
+ }>;
2208
+ export declare const OrganizationBundleSchema: z.ZodObject<{
2209
+ resourceType: z.ZodLiteral<"Bundle">;
2210
+ type: z.ZodOptional<z.ZodString>;
2211
+ total: z.ZodOptional<z.ZodNumber>;
2212
+ link: z.ZodOptional<z.ZodArray<z.ZodObject<{
2213
+ relation: z.ZodOptional<z.ZodString>;
2214
+ url: z.ZodOptional<z.ZodString>;
2215
+ }, "strip", z.ZodTypeAny, {
2216
+ url?: string | undefined;
2217
+ relation?: string | undefined;
2218
+ }, {
2219
+ url?: string | undefined;
2220
+ relation?: string | undefined;
2221
+ }>, "many">>;
2222
+ entry: z.ZodOptional<z.ZodArray<z.ZodObject<{
2223
+ fullUrl: z.ZodOptional<z.ZodString>;
2224
+ resource: z.ZodObject<{
2225
+ resourceType: z.ZodLiteral<"Organization">;
2226
+ active: z.ZodBoolean;
2227
+ identifier: z.ZodArray<z.ZodObject<{
2228
+ use: z.ZodOptional<z.ZodString>;
2229
+ } & {
2230
+ system: z.ZodString;
2231
+ value: z.ZodString;
2232
+ }, "strip", z.ZodTypeAny, {
2233
+ value: string;
2234
+ system: string;
2235
+ use?: string | undefined;
2236
+ }, {
2237
+ value: string;
2238
+ system: string;
2239
+ use?: string | undefined;
2240
+ }>, "many">;
2241
+ type: z.ZodArray<z.ZodObject<{
2242
+ text: z.ZodOptional<z.ZodString>;
2243
+ } & {
2244
+ coding: z.ZodArray<z.ZodObject<{
2245
+ system: z.ZodString;
2246
+ code: z.ZodString;
2247
+ display: z.ZodOptional<z.ZodString>;
2248
+ }, "strip", z.ZodTypeAny, {
2249
+ code: string;
2250
+ system: string;
2251
+ display?: string | undefined;
2252
+ }, {
2253
+ code: string;
2254
+ system: string;
2255
+ display?: string | undefined;
2256
+ }>, "many">;
2257
+ }, "strip", z.ZodTypeAny, {
2258
+ coding: {
2259
+ code: string;
2260
+ system: string;
2261
+ display?: string | undefined;
2262
+ }[];
2263
+ text?: string | undefined;
2264
+ }, {
2265
+ coding: {
2266
+ code: string;
2267
+ system: string;
2268
+ display?: string | undefined;
2269
+ }[];
2270
+ text?: string | undefined;
2271
+ }>, "many">;
2272
+ name: z.ZodString;
2273
+ alias: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2274
+ telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
2275
+ system: z.ZodOptional<z.ZodEnum<["phone", "fax", "email", "pager", "url", "sms", "other"]>>;
2276
+ value: z.ZodOptional<z.ZodString>;
2277
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "mobile"]>>;
2278
+ }, "strip", z.ZodTypeAny, {
2279
+ value?: string | undefined;
2280
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2281
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2282
+ }, {
2283
+ value?: string | undefined;
2284
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2285
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2286
+ }>, "many">>;
2287
+ address: z.ZodOptional<z.ZodArray<z.ZodObject<{
2288
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "billing"]>>;
2289
+ type: z.ZodOptional<z.ZodEnum<["postal", "physical", "both"]>>;
2290
+ text: z.ZodOptional<z.ZodString>;
2291
+ line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2292
+ city: z.ZodOptional<z.ZodString>;
2293
+ district: z.ZodOptional<z.ZodString>;
2294
+ state: z.ZodOptional<z.ZodString>;
2295
+ postalCode: z.ZodOptional<z.ZodString>;
2296
+ country: z.ZodOptional<z.ZodString>;
2297
+ period: z.ZodOptional<z.ZodObject<{
2298
+ start: z.ZodOptional<z.ZodString>;
2299
+ end: z.ZodOptional<z.ZodString>;
2300
+ }, "strip", z.ZodTypeAny, {
2301
+ start?: string | undefined;
2302
+ end?: string | undefined;
2303
+ }, {
2304
+ start?: string | undefined;
2305
+ end?: string | undefined;
2306
+ }>>;
2307
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
2308
+ url: z.ZodString;
2309
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
2310
+ url: z.ZodString;
2311
+ valueCode: z.ZodString;
2312
+ }, "strip", z.ZodTypeAny, {
2313
+ url: string;
2314
+ valueCode: string;
2315
+ }, {
2316
+ url: string;
2317
+ valueCode: string;
2318
+ }>, "many">>;
2319
+ }, "strip", z.ZodTypeAny, {
2320
+ url: string;
2321
+ extension?: {
2322
+ url: string;
2323
+ valueCode: string;
2324
+ }[] | undefined;
2325
+ }, {
2326
+ url: string;
2327
+ extension?: {
2328
+ url: string;
2329
+ valueCode: string;
2330
+ }[] | undefined;
2331
+ }>, "many">>;
2332
+ }, "strip", z.ZodTypeAny, {
2333
+ type?: "postal" | "physical" | "both" | undefined;
2334
+ text?: string | undefined;
2335
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2336
+ extension?: {
2337
+ url: string;
2338
+ extension?: {
2339
+ url: string;
2340
+ valueCode: string;
2341
+ }[] | undefined;
2342
+ }[] | undefined;
2343
+ line?: string[] | undefined;
2344
+ city?: string | undefined;
2345
+ district?: string | undefined;
2346
+ state?: string | undefined;
2347
+ postalCode?: string | undefined;
2348
+ country?: string | undefined;
2349
+ period?: {
2350
+ start?: string | undefined;
2351
+ end?: string | undefined;
2352
+ } | undefined;
2353
+ }, {
2354
+ type?: "postal" | "physical" | "both" | undefined;
2355
+ text?: string | undefined;
2356
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2357
+ extension?: {
2358
+ url: string;
2359
+ extension?: {
2360
+ url: string;
2361
+ valueCode: string;
2362
+ }[] | undefined;
2363
+ }[] | undefined;
2364
+ line?: string[] | undefined;
2365
+ city?: string | undefined;
2366
+ district?: string | undefined;
2367
+ state?: string | undefined;
2368
+ postalCode?: string | undefined;
2369
+ country?: string | undefined;
2370
+ period?: {
2371
+ start?: string | undefined;
2372
+ end?: string | undefined;
2373
+ } | undefined;
2374
+ }>, "many">>;
2375
+ partOf: z.ZodOptional<z.ZodObject<{
2376
+ reference: z.ZodString;
2377
+ display: z.ZodOptional<z.ZodString>;
2378
+ type: z.ZodOptional<z.ZodString>;
2379
+ }, "strip", z.ZodTypeAny, {
2380
+ reference: string;
2381
+ type?: string | undefined;
2382
+ display?: string | undefined;
2383
+ }, {
2384
+ reference: string;
2385
+ type?: string | undefined;
2386
+ display?: string | undefined;
2387
+ }>>;
2388
+ contact: z.ZodOptional<z.ZodArray<z.ZodObject<{
2389
+ purpose: z.ZodObject<{
2390
+ text: z.ZodOptional<z.ZodString>;
2391
+ } & {
2392
+ coding: z.ZodArray<z.ZodObject<{
2393
+ system: z.ZodString;
2394
+ code: z.ZodString;
2395
+ display: z.ZodOptional<z.ZodString>;
2396
+ }, "strip", z.ZodTypeAny, {
2397
+ code: string;
2398
+ system: string;
2399
+ display?: string | undefined;
2400
+ }, {
2401
+ code: string;
2402
+ system: string;
2403
+ display?: string | undefined;
2404
+ }>, "many">;
2405
+ }, "strip", z.ZodTypeAny, {
2406
+ coding: {
2407
+ code: string;
2408
+ system: string;
2409
+ display?: string | undefined;
2410
+ }[];
2411
+ text?: string | undefined;
2412
+ }, {
2413
+ coding: {
2414
+ code: string;
2415
+ system: string;
2416
+ display?: string | undefined;
2417
+ }[];
2418
+ text?: string | undefined;
2419
+ }>;
2420
+ name: z.ZodOptional<z.ZodObject<{
2421
+ use: z.ZodOptional<z.ZodString>;
2422
+ text: z.ZodOptional<z.ZodString>;
2423
+ family: z.ZodOptional<z.ZodString>;
2424
+ given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2425
+ prefix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2426
+ suffix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2427
+ }, "strip", z.ZodTypeAny, {
2428
+ text?: string | undefined;
2429
+ use?: string | undefined;
2430
+ family?: string | undefined;
2431
+ given?: string[] | undefined;
2432
+ prefix?: string[] | undefined;
2433
+ suffix?: string[] | undefined;
2434
+ }, {
2435
+ text?: string | undefined;
2436
+ use?: string | undefined;
2437
+ family?: string | undefined;
2438
+ given?: string[] | undefined;
2439
+ prefix?: string[] | undefined;
2440
+ suffix?: string[] | undefined;
2441
+ }>>;
2442
+ telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
2443
+ system: z.ZodOptional<z.ZodEnum<["phone", "fax", "email", "pager", "url", "sms", "other"]>>;
2444
+ value: z.ZodOptional<z.ZodString>;
2445
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "mobile"]>>;
2446
+ }, "strip", z.ZodTypeAny, {
2447
+ value?: string | undefined;
2448
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2449
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2450
+ }, {
2451
+ value?: string | undefined;
2452
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2453
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2454
+ }>, "many">>;
2455
+ address: z.ZodOptional<z.ZodObject<{
2456
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "billing"]>>;
2457
+ type: z.ZodOptional<z.ZodEnum<["postal", "physical", "both"]>>;
2458
+ text: z.ZodOptional<z.ZodString>;
2459
+ line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2460
+ city: z.ZodOptional<z.ZodString>;
2461
+ district: z.ZodOptional<z.ZodString>;
2462
+ state: z.ZodOptional<z.ZodString>;
2463
+ postalCode: z.ZodOptional<z.ZodString>;
2464
+ country: z.ZodOptional<z.ZodString>;
2465
+ period: z.ZodOptional<z.ZodObject<{
2466
+ start: z.ZodOptional<z.ZodString>;
2467
+ end: z.ZodOptional<z.ZodString>;
2468
+ }, "strip", z.ZodTypeAny, {
2469
+ start?: string | undefined;
2470
+ end?: string | undefined;
2471
+ }, {
2472
+ start?: string | undefined;
2473
+ end?: string | undefined;
2474
+ }>>;
2475
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
2476
+ url: z.ZodString;
2477
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
2478
+ url: z.ZodString;
2479
+ valueCode: z.ZodString;
2480
+ }, "strip", z.ZodTypeAny, {
2481
+ url: string;
2482
+ valueCode: string;
2483
+ }, {
2484
+ url: string;
2485
+ valueCode: string;
2486
+ }>, "many">>;
2487
+ }, "strip", z.ZodTypeAny, {
2488
+ url: string;
2489
+ extension?: {
2490
+ url: string;
2491
+ valueCode: string;
2492
+ }[] | undefined;
2493
+ }, {
2494
+ url: string;
2495
+ extension?: {
2496
+ url: string;
2497
+ valueCode: string;
2498
+ }[] | undefined;
2499
+ }>, "many">>;
2500
+ }, "strip", z.ZodTypeAny, {
2501
+ type?: "postal" | "physical" | "both" | undefined;
2502
+ text?: string | undefined;
2503
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2504
+ extension?: {
2505
+ url: string;
2506
+ extension?: {
2507
+ url: string;
2508
+ valueCode: string;
2509
+ }[] | undefined;
2510
+ }[] | undefined;
2511
+ line?: string[] | undefined;
2512
+ city?: string | undefined;
2513
+ district?: string | undefined;
2514
+ state?: string | undefined;
2515
+ postalCode?: string | undefined;
2516
+ country?: string | undefined;
2517
+ period?: {
2518
+ start?: string | undefined;
2519
+ end?: string | undefined;
2520
+ } | undefined;
2521
+ }, {
2522
+ type?: "postal" | "physical" | "both" | undefined;
2523
+ text?: string | undefined;
2524
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2525
+ extension?: {
2526
+ url: string;
2527
+ extension?: {
2528
+ url: string;
2529
+ valueCode: string;
2530
+ }[] | undefined;
2531
+ }[] | undefined;
2532
+ line?: string[] | undefined;
2533
+ city?: string | undefined;
2534
+ district?: string | undefined;
2535
+ state?: string | undefined;
2536
+ postalCode?: string | undefined;
2537
+ country?: string | undefined;
2538
+ period?: {
2539
+ start?: string | undefined;
2540
+ end?: string | undefined;
2541
+ } | undefined;
2542
+ }>>;
2543
+ }, "strip", z.ZodTypeAny, {
2544
+ purpose: {
2545
+ coding: {
2546
+ code: string;
2547
+ system: string;
2548
+ display?: string | undefined;
2549
+ }[];
2550
+ text?: string | undefined;
2551
+ };
2552
+ name?: {
2553
+ text?: string | undefined;
2554
+ use?: string | undefined;
2555
+ family?: string | undefined;
2556
+ given?: string[] | undefined;
2557
+ prefix?: string[] | undefined;
2558
+ suffix?: string[] | undefined;
2559
+ } | undefined;
2560
+ telecom?: {
2561
+ value?: string | undefined;
2562
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2563
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2564
+ }[] | undefined;
2565
+ address?: {
2566
+ type?: "postal" | "physical" | "both" | undefined;
2567
+ text?: string | undefined;
2568
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2569
+ extension?: {
2570
+ url: string;
2571
+ extension?: {
2572
+ url: string;
2573
+ valueCode: string;
2574
+ }[] | undefined;
2575
+ }[] | undefined;
2576
+ line?: string[] | undefined;
2577
+ city?: string | undefined;
2578
+ district?: string | undefined;
2579
+ state?: string | undefined;
2580
+ postalCode?: string | undefined;
2581
+ country?: string | undefined;
2582
+ period?: {
2583
+ start?: string | undefined;
2584
+ end?: string | undefined;
2585
+ } | undefined;
2586
+ } | undefined;
2587
+ }, {
2588
+ purpose: {
2589
+ coding: {
2590
+ code: string;
2591
+ system: string;
2592
+ display?: string | undefined;
2593
+ }[];
2594
+ text?: string | undefined;
2595
+ };
2596
+ name?: {
2597
+ text?: string | undefined;
2598
+ use?: string | undefined;
2599
+ family?: string | undefined;
2600
+ given?: string[] | undefined;
2601
+ prefix?: string[] | undefined;
2602
+ suffix?: string[] | undefined;
2603
+ } | undefined;
2604
+ telecom?: {
2605
+ value?: string | undefined;
2606
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2607
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2608
+ }[] | undefined;
2609
+ address?: {
2610
+ type?: "postal" | "physical" | "both" | undefined;
2611
+ text?: string | undefined;
2612
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2613
+ extension?: {
2614
+ url: string;
2615
+ extension?: {
2616
+ url: string;
2617
+ valueCode: string;
2618
+ }[] | undefined;
2619
+ }[] | undefined;
2620
+ line?: string[] | undefined;
2621
+ city?: string | undefined;
2622
+ district?: string | undefined;
2623
+ state?: string | undefined;
2624
+ postalCode?: string | undefined;
2625
+ country?: string | undefined;
2626
+ period?: {
2627
+ start?: string | undefined;
2628
+ end?: string | undefined;
2629
+ } | undefined;
2630
+ } | undefined;
2631
+ }>, "many">>;
2632
+ endpoint: z.ZodOptional<z.ZodArray<z.ZodObject<{
2633
+ reference: z.ZodString;
2634
+ display: z.ZodOptional<z.ZodString>;
2635
+ type: z.ZodOptional<z.ZodString>;
2636
+ }, "strip", z.ZodTypeAny, {
2637
+ reference: string;
2638
+ type?: string | undefined;
2639
+ display?: string | undefined;
2640
+ }, {
2641
+ reference: string;
2642
+ type?: string | undefined;
2643
+ display?: string | undefined;
2644
+ }>, "many">>;
2645
+ } & {
2646
+ id: z.ZodString;
2647
+ meta: z.ZodOptional<z.ZodObject<{
2648
+ lastUpdated: z.ZodOptional<z.ZodString>;
2649
+ profile: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2650
+ versionId: z.ZodOptional<z.ZodString>;
2651
+ }, "strip", z.ZodTypeAny, {
2652
+ lastUpdated?: string | undefined;
2653
+ profile?: string[] | undefined;
2654
+ versionId?: string | undefined;
2655
+ }, {
2656
+ lastUpdated?: string | undefined;
2657
+ profile?: string[] | undefined;
2658
+ versionId?: string | undefined;
2659
+ }>>;
2660
+ }, "strip", z.ZodTypeAny, {
2661
+ type: {
2662
+ coding: {
2663
+ code: string;
2664
+ system: string;
2665
+ display?: string | undefined;
2666
+ }[];
2667
+ text?: string | undefined;
2668
+ }[];
2669
+ resourceType: "Organization";
2670
+ id: string;
2671
+ active: boolean;
2672
+ identifier: {
2673
+ value: string;
2674
+ system: string;
2675
+ use?: string | undefined;
2676
+ }[];
2677
+ name: string;
2678
+ meta?: {
2679
+ lastUpdated?: string | undefined;
2680
+ profile?: string[] | undefined;
2681
+ versionId?: string | undefined;
2682
+ } | undefined;
2683
+ partOf?: {
2684
+ reference: string;
2685
+ type?: string | undefined;
2686
+ display?: string | undefined;
2687
+ } | undefined;
2688
+ telecom?: {
2689
+ value?: string | undefined;
2690
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2691
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2692
+ }[] | undefined;
2693
+ address?: {
2694
+ type?: "postal" | "physical" | "both" | undefined;
2695
+ text?: string | undefined;
2696
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2697
+ extension?: {
2698
+ url: string;
2699
+ extension?: {
2700
+ url: string;
2701
+ valueCode: string;
2702
+ }[] | undefined;
2703
+ }[] | undefined;
2704
+ line?: string[] | undefined;
2705
+ city?: string | undefined;
2706
+ district?: string | undefined;
2707
+ state?: string | undefined;
2708
+ postalCode?: string | undefined;
2709
+ country?: string | undefined;
2710
+ period?: {
2711
+ start?: string | undefined;
2712
+ end?: string | undefined;
2713
+ } | undefined;
2714
+ }[] | undefined;
2715
+ endpoint?: {
2716
+ reference: string;
2717
+ type?: string | undefined;
2718
+ display?: string | undefined;
2719
+ }[] | undefined;
2720
+ alias?: string[] | undefined;
2721
+ contact?: {
2722
+ purpose: {
2723
+ coding: {
2724
+ code: string;
2725
+ system: string;
2726
+ display?: string | undefined;
2727
+ }[];
2728
+ text?: string | undefined;
2729
+ };
2730
+ name?: {
2731
+ text?: string | undefined;
2732
+ use?: string | undefined;
2733
+ family?: string | undefined;
2734
+ given?: string[] | undefined;
2735
+ prefix?: string[] | undefined;
2736
+ suffix?: string[] | undefined;
2737
+ } | undefined;
2738
+ telecom?: {
2739
+ value?: string | undefined;
2740
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2741
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2742
+ }[] | undefined;
2743
+ address?: {
2744
+ type?: "postal" | "physical" | "both" | undefined;
2745
+ text?: string | undefined;
2746
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2747
+ extension?: {
2748
+ url: string;
2749
+ extension?: {
2750
+ url: string;
2751
+ valueCode: string;
2752
+ }[] | undefined;
2753
+ }[] | undefined;
2754
+ line?: string[] | undefined;
2755
+ city?: string | undefined;
2756
+ district?: string | undefined;
2757
+ state?: string | undefined;
2758
+ postalCode?: string | undefined;
2759
+ country?: string | undefined;
2760
+ period?: {
2761
+ start?: string | undefined;
2762
+ end?: string | undefined;
2763
+ } | undefined;
2764
+ } | undefined;
2765
+ }[] | undefined;
2766
+ }, {
2767
+ type: {
2768
+ coding: {
2769
+ code: string;
2770
+ system: string;
2771
+ display?: string | undefined;
2772
+ }[];
2773
+ text?: string | undefined;
2774
+ }[];
2775
+ resourceType: "Organization";
2776
+ id: string;
2777
+ active: boolean;
2778
+ identifier: {
2779
+ value: string;
2780
+ system: string;
2781
+ use?: string | undefined;
2782
+ }[];
2783
+ name: string;
2784
+ meta?: {
2785
+ lastUpdated?: string | undefined;
2786
+ profile?: string[] | undefined;
2787
+ versionId?: string | undefined;
2788
+ } | undefined;
2789
+ partOf?: {
2790
+ reference: string;
2791
+ type?: string | undefined;
2792
+ display?: string | undefined;
2793
+ } | undefined;
2794
+ telecom?: {
2795
+ value?: string | undefined;
2796
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2797
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2798
+ }[] | undefined;
2799
+ address?: {
2800
+ type?: "postal" | "physical" | "both" | undefined;
2801
+ text?: string | undefined;
2802
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2803
+ extension?: {
2804
+ url: string;
2805
+ extension?: {
2806
+ url: string;
2807
+ valueCode: string;
2808
+ }[] | undefined;
2809
+ }[] | undefined;
2810
+ line?: string[] | undefined;
2811
+ city?: string | undefined;
2812
+ district?: string | undefined;
2813
+ state?: string | undefined;
2814
+ postalCode?: string | undefined;
2815
+ country?: string | undefined;
2816
+ period?: {
2817
+ start?: string | undefined;
2818
+ end?: string | undefined;
2819
+ } | undefined;
2820
+ }[] | undefined;
2821
+ endpoint?: {
2822
+ reference: string;
2823
+ type?: string | undefined;
2824
+ display?: string | undefined;
2825
+ }[] | undefined;
2826
+ alias?: string[] | undefined;
2827
+ contact?: {
2828
+ purpose: {
2829
+ coding: {
2830
+ code: string;
2831
+ system: string;
2832
+ display?: string | undefined;
2833
+ }[];
2834
+ text?: string | undefined;
2835
+ };
2836
+ name?: {
2837
+ text?: string | undefined;
2838
+ use?: string | undefined;
2839
+ family?: string | undefined;
2840
+ given?: string[] | undefined;
2841
+ prefix?: string[] | undefined;
2842
+ suffix?: string[] | undefined;
2843
+ } | undefined;
2844
+ telecom?: {
2845
+ value?: string | undefined;
2846
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2847
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2848
+ }[] | undefined;
2849
+ address?: {
2850
+ type?: "postal" | "physical" | "both" | undefined;
2851
+ text?: string | undefined;
2852
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2853
+ extension?: {
2854
+ url: string;
2855
+ extension?: {
2856
+ url: string;
2857
+ valueCode: string;
2858
+ }[] | undefined;
2859
+ }[] | undefined;
2860
+ line?: string[] | undefined;
2861
+ city?: string | undefined;
2862
+ district?: string | undefined;
2863
+ state?: string | undefined;
2864
+ postalCode?: string | undefined;
2865
+ country?: string | undefined;
2866
+ period?: {
2867
+ start?: string | undefined;
2868
+ end?: string | undefined;
2869
+ } | undefined;
2870
+ } | undefined;
2871
+ }[] | undefined;
2872
+ }>;
2873
+ search: z.ZodOptional<z.ZodObject<{
2874
+ mode: z.ZodOptional<z.ZodString>;
2875
+ }, "strip", z.ZodTypeAny, {
2876
+ mode?: string | undefined;
2877
+ }, {
2878
+ mode?: string | undefined;
2879
+ }>>;
2880
+ }, "strip", z.ZodTypeAny, {
2881
+ resource: {
2882
+ type: {
2883
+ coding: {
2884
+ code: string;
2885
+ system: string;
2886
+ display?: string | undefined;
2887
+ }[];
2888
+ text?: string | undefined;
2889
+ }[];
2890
+ resourceType: "Organization";
2891
+ id: string;
2892
+ active: boolean;
2893
+ identifier: {
2894
+ value: string;
2895
+ system: string;
2896
+ use?: string | undefined;
2897
+ }[];
2898
+ name: string;
2899
+ meta?: {
2900
+ lastUpdated?: string | undefined;
2901
+ profile?: string[] | undefined;
2902
+ versionId?: string | undefined;
2903
+ } | undefined;
2904
+ partOf?: {
2905
+ reference: string;
2906
+ type?: string | undefined;
2907
+ display?: string | undefined;
2908
+ } | undefined;
2909
+ telecom?: {
2910
+ value?: string | undefined;
2911
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2912
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2913
+ }[] | undefined;
2914
+ address?: {
2915
+ type?: "postal" | "physical" | "both" | undefined;
2916
+ text?: string | undefined;
2917
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2918
+ extension?: {
2919
+ url: string;
2920
+ extension?: {
2921
+ url: string;
2922
+ valueCode: string;
2923
+ }[] | undefined;
2924
+ }[] | undefined;
2925
+ line?: string[] | undefined;
2926
+ city?: string | undefined;
2927
+ district?: string | undefined;
2928
+ state?: string | undefined;
2929
+ postalCode?: string | undefined;
2930
+ country?: string | undefined;
2931
+ period?: {
2932
+ start?: string | undefined;
2933
+ end?: string | undefined;
2934
+ } | undefined;
2935
+ }[] | undefined;
2936
+ endpoint?: {
2937
+ reference: string;
2938
+ type?: string | undefined;
2939
+ display?: string | undefined;
2940
+ }[] | undefined;
2941
+ alias?: string[] | undefined;
2942
+ contact?: {
2943
+ purpose: {
2944
+ coding: {
2945
+ code: string;
2946
+ system: string;
2947
+ display?: string | undefined;
2948
+ }[];
2949
+ text?: string | undefined;
2950
+ };
2951
+ name?: {
2952
+ text?: string | undefined;
2953
+ use?: string | undefined;
2954
+ family?: string | undefined;
2955
+ given?: string[] | undefined;
2956
+ prefix?: string[] | undefined;
2957
+ suffix?: string[] | undefined;
2958
+ } | undefined;
2959
+ telecom?: {
2960
+ value?: string | undefined;
2961
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
2962
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
2963
+ }[] | undefined;
2964
+ address?: {
2965
+ type?: "postal" | "physical" | "both" | undefined;
2966
+ text?: string | undefined;
2967
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
2968
+ extension?: {
2969
+ url: string;
2970
+ extension?: {
2971
+ url: string;
2972
+ valueCode: string;
2973
+ }[] | undefined;
2974
+ }[] | undefined;
2975
+ line?: string[] | undefined;
2976
+ city?: string | undefined;
2977
+ district?: string | undefined;
2978
+ state?: string | undefined;
2979
+ postalCode?: string | undefined;
2980
+ country?: string | undefined;
2981
+ period?: {
2982
+ start?: string | undefined;
2983
+ end?: string | undefined;
2984
+ } | undefined;
2985
+ } | undefined;
2986
+ }[] | undefined;
2987
+ };
2988
+ fullUrl?: string | undefined;
2989
+ search?: {
2990
+ mode?: string | undefined;
2991
+ } | undefined;
2992
+ }, {
2993
+ resource: {
2994
+ type: {
2995
+ coding: {
2996
+ code: string;
2997
+ system: string;
2998
+ display?: string | undefined;
2999
+ }[];
3000
+ text?: string | undefined;
3001
+ }[];
3002
+ resourceType: "Organization";
3003
+ id: string;
3004
+ active: boolean;
3005
+ identifier: {
3006
+ value: string;
3007
+ system: string;
3008
+ use?: string | undefined;
3009
+ }[];
3010
+ name: string;
3011
+ meta?: {
3012
+ lastUpdated?: string | undefined;
3013
+ profile?: string[] | undefined;
3014
+ versionId?: string | undefined;
3015
+ } | undefined;
3016
+ partOf?: {
3017
+ reference: string;
3018
+ type?: string | undefined;
3019
+ display?: string | undefined;
3020
+ } | undefined;
3021
+ telecom?: {
3022
+ value?: string | undefined;
3023
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
3024
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
3025
+ }[] | undefined;
3026
+ address?: {
3027
+ type?: "postal" | "physical" | "both" | undefined;
3028
+ text?: string | undefined;
3029
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
3030
+ extension?: {
3031
+ url: string;
3032
+ extension?: {
3033
+ url: string;
3034
+ valueCode: string;
3035
+ }[] | undefined;
3036
+ }[] | undefined;
3037
+ line?: string[] | undefined;
3038
+ city?: string | undefined;
3039
+ district?: string | undefined;
3040
+ state?: string | undefined;
3041
+ postalCode?: string | undefined;
3042
+ country?: string | undefined;
3043
+ period?: {
3044
+ start?: string | undefined;
3045
+ end?: string | undefined;
3046
+ } | undefined;
3047
+ }[] | undefined;
3048
+ endpoint?: {
3049
+ reference: string;
3050
+ type?: string | undefined;
3051
+ display?: string | undefined;
3052
+ }[] | undefined;
3053
+ alias?: string[] | undefined;
3054
+ contact?: {
3055
+ purpose: {
3056
+ coding: {
3057
+ code: string;
3058
+ system: string;
3059
+ display?: string | undefined;
3060
+ }[];
3061
+ text?: string | undefined;
3062
+ };
3063
+ name?: {
3064
+ text?: string | undefined;
3065
+ use?: string | undefined;
3066
+ family?: string | undefined;
3067
+ given?: string[] | undefined;
3068
+ prefix?: string[] | undefined;
3069
+ suffix?: string[] | undefined;
3070
+ } | undefined;
3071
+ telecom?: {
3072
+ value?: string | undefined;
3073
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
3074
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
3075
+ }[] | undefined;
3076
+ address?: {
3077
+ type?: "postal" | "physical" | "both" | undefined;
3078
+ text?: string | undefined;
3079
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
3080
+ extension?: {
3081
+ url: string;
3082
+ extension?: {
3083
+ url: string;
3084
+ valueCode: string;
3085
+ }[] | undefined;
3086
+ }[] | undefined;
3087
+ line?: string[] | undefined;
3088
+ city?: string | undefined;
3089
+ district?: string | undefined;
3090
+ state?: string | undefined;
3091
+ postalCode?: string | undefined;
3092
+ country?: string | undefined;
3093
+ period?: {
3094
+ start?: string | undefined;
3095
+ end?: string | undefined;
3096
+ } | undefined;
3097
+ } | undefined;
3098
+ }[] | undefined;
3099
+ };
3100
+ fullUrl?: string | undefined;
3101
+ search?: {
3102
+ mode?: string | undefined;
3103
+ } | undefined;
3104
+ }>, "many">>;
3105
+ }, "strip", z.ZodTypeAny, {
3106
+ resourceType: "Bundle";
3107
+ type?: string | undefined;
3108
+ total?: number | undefined;
3109
+ link?: {
3110
+ url?: string | undefined;
3111
+ relation?: string | undefined;
3112
+ }[] | undefined;
3113
+ entry?: {
3114
+ resource: {
3115
+ type: {
3116
+ coding: {
3117
+ code: string;
3118
+ system: string;
3119
+ display?: string | undefined;
3120
+ }[];
3121
+ text?: string | undefined;
3122
+ }[];
3123
+ resourceType: "Organization";
3124
+ id: string;
3125
+ active: boolean;
3126
+ identifier: {
3127
+ value: string;
3128
+ system: string;
3129
+ use?: string | undefined;
3130
+ }[];
3131
+ name: string;
3132
+ meta?: {
3133
+ lastUpdated?: string | undefined;
3134
+ profile?: string[] | undefined;
3135
+ versionId?: string | undefined;
3136
+ } | undefined;
3137
+ partOf?: {
3138
+ reference: string;
3139
+ type?: string | undefined;
3140
+ display?: string | undefined;
3141
+ } | undefined;
3142
+ telecom?: {
3143
+ value?: string | undefined;
3144
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
3145
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
3146
+ }[] | undefined;
3147
+ address?: {
3148
+ type?: "postal" | "physical" | "both" | undefined;
3149
+ text?: string | undefined;
3150
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
3151
+ extension?: {
3152
+ url: string;
3153
+ extension?: {
3154
+ url: string;
3155
+ valueCode: string;
3156
+ }[] | undefined;
3157
+ }[] | undefined;
3158
+ line?: string[] | undefined;
3159
+ city?: string | undefined;
3160
+ district?: string | undefined;
3161
+ state?: string | undefined;
3162
+ postalCode?: string | undefined;
3163
+ country?: string | undefined;
3164
+ period?: {
3165
+ start?: string | undefined;
3166
+ end?: string | undefined;
3167
+ } | undefined;
3168
+ }[] | undefined;
3169
+ endpoint?: {
3170
+ reference: string;
3171
+ type?: string | undefined;
3172
+ display?: string | undefined;
3173
+ }[] | undefined;
3174
+ alias?: string[] | undefined;
3175
+ contact?: {
3176
+ purpose: {
3177
+ coding: {
3178
+ code: string;
3179
+ system: string;
3180
+ display?: string | undefined;
3181
+ }[];
3182
+ text?: string | undefined;
3183
+ };
3184
+ name?: {
3185
+ text?: string | undefined;
3186
+ use?: string | undefined;
3187
+ family?: string | undefined;
3188
+ given?: string[] | undefined;
3189
+ prefix?: string[] | undefined;
3190
+ suffix?: string[] | undefined;
3191
+ } | undefined;
3192
+ telecom?: {
3193
+ value?: string | undefined;
3194
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
3195
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
3196
+ }[] | undefined;
3197
+ address?: {
3198
+ type?: "postal" | "physical" | "both" | undefined;
3199
+ text?: string | undefined;
3200
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
3201
+ extension?: {
3202
+ url: string;
3203
+ extension?: {
3204
+ url: string;
3205
+ valueCode: string;
3206
+ }[] | undefined;
3207
+ }[] | undefined;
3208
+ line?: string[] | undefined;
3209
+ city?: string | undefined;
3210
+ district?: string | undefined;
3211
+ state?: string | undefined;
3212
+ postalCode?: string | undefined;
3213
+ country?: string | undefined;
3214
+ period?: {
3215
+ start?: string | undefined;
3216
+ end?: string | undefined;
3217
+ } | undefined;
3218
+ } | undefined;
3219
+ }[] | undefined;
3220
+ };
3221
+ fullUrl?: string | undefined;
3222
+ search?: {
3223
+ mode?: string | undefined;
3224
+ } | undefined;
3225
+ }[] | undefined;
3226
+ }, {
3227
+ resourceType: "Bundle";
3228
+ type?: string | undefined;
3229
+ total?: number | undefined;
3230
+ link?: {
3231
+ url?: string | undefined;
3232
+ relation?: string | undefined;
3233
+ }[] | undefined;
3234
+ entry?: {
3235
+ resource: {
3236
+ type: {
3237
+ coding: {
3238
+ code: string;
3239
+ system: string;
3240
+ display?: string | undefined;
3241
+ }[];
3242
+ text?: string | undefined;
3243
+ }[];
3244
+ resourceType: "Organization";
3245
+ id: string;
3246
+ active: boolean;
3247
+ identifier: {
3248
+ value: string;
3249
+ system: string;
3250
+ use?: string | undefined;
3251
+ }[];
3252
+ name: string;
3253
+ meta?: {
3254
+ lastUpdated?: string | undefined;
3255
+ profile?: string[] | undefined;
3256
+ versionId?: string | undefined;
3257
+ } | undefined;
3258
+ partOf?: {
3259
+ reference: string;
3260
+ type?: string | undefined;
3261
+ display?: string | undefined;
3262
+ } | undefined;
3263
+ telecom?: {
3264
+ value?: string | undefined;
3265
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
3266
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
3267
+ }[] | undefined;
3268
+ address?: {
3269
+ type?: "postal" | "physical" | "both" | undefined;
3270
+ text?: string | undefined;
3271
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
3272
+ extension?: {
3273
+ url: string;
3274
+ extension?: {
3275
+ url: string;
3276
+ valueCode: string;
3277
+ }[] | undefined;
3278
+ }[] | undefined;
3279
+ line?: string[] | undefined;
3280
+ city?: string | undefined;
3281
+ district?: string | undefined;
3282
+ state?: string | undefined;
3283
+ postalCode?: string | undefined;
3284
+ country?: string | undefined;
3285
+ period?: {
3286
+ start?: string | undefined;
3287
+ end?: string | undefined;
3288
+ } | undefined;
3289
+ }[] | undefined;
3290
+ endpoint?: {
3291
+ reference: string;
3292
+ type?: string | undefined;
3293
+ display?: string | undefined;
3294
+ }[] | undefined;
3295
+ alias?: string[] | undefined;
3296
+ contact?: {
3297
+ purpose: {
3298
+ coding: {
3299
+ code: string;
3300
+ system: string;
3301
+ display?: string | undefined;
3302
+ }[];
3303
+ text?: string | undefined;
3304
+ };
3305
+ name?: {
3306
+ text?: string | undefined;
3307
+ use?: string | undefined;
3308
+ family?: string | undefined;
3309
+ given?: string[] | undefined;
3310
+ prefix?: string[] | undefined;
3311
+ suffix?: string[] | undefined;
3312
+ } | undefined;
3313
+ telecom?: {
3314
+ value?: string | undefined;
3315
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
3316
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
3317
+ }[] | undefined;
3318
+ address?: {
3319
+ type?: "postal" | "physical" | "both" | undefined;
3320
+ text?: string | undefined;
3321
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
3322
+ extension?: {
3323
+ url: string;
3324
+ extension?: {
3325
+ url: string;
3326
+ valueCode: string;
3327
+ }[] | undefined;
3328
+ }[] | undefined;
3329
+ line?: string[] | undefined;
3330
+ city?: string | undefined;
3331
+ district?: string | undefined;
3332
+ state?: string | undefined;
3333
+ postalCode?: string | undefined;
3334
+ country?: string | undefined;
3335
+ period?: {
3336
+ start?: string | undefined;
3337
+ end?: string | undefined;
3338
+ } | undefined;
3339
+ } | undefined;
3340
+ }[] | undefined;
3341
+ };
3342
+ fullUrl?: string | undefined;
3343
+ search?: {
3344
+ mode?: string | undefined;
3345
+ } | undefined;
3346
+ }[] | undefined;
3347
+ }>;
3348
+ export type OrganizationIdentifier = z.infer<typeof OrganizationIdentifierSchema>;
3349
+ export type OrganizationType = z.infer<typeof OrganizationTypeSchema>;
3350
+ export type OrganizationAddress = z.infer<typeof AddressSchema>;
3351
+ export type OrganizationTelecom = z.infer<typeof ContactPointSchema>;
3352
+ export type OrganizationContact = z.infer<typeof OrganizationContactSchema>;
3353
+ export type OrganizationReference = z.infer<typeof ReferenceSchema>;
3354
+ export type Organization = z.infer<typeof OrganizationSchema>;
3355
+ export type OrganizationCreateInput = z.infer<typeof OrganizationCreateSchema>;
3356
+ export type OrganizationSearchParams = z.infer<typeof OrganizationSearchParamsSchema>;
3357
+ export type OrganizationSearchResponse = z.infer<typeof OrganizationBundleSchema>;