@metriport/commonwell-sdk 5.1.10 → 5.1.11-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/models/address.d.ts +7 -7
- package/dist/models/certificates.d.ts +6 -6
- package/dist/models/contact.d.ts +4 -4
- package/dist/models/demographics.d.ts +44 -44
- package/dist/models/document.d.ts +935 -935
- package/dist/models/facility.d.ts +17 -17
- package/dist/models/human-name.d.ts +7 -7
- package/dist/models/identifier.d.ts +18 -2
- package/dist/models/identifier.d.ts.map +1 -1
- package/dist/models/link.d.ts +206 -206
- package/dist/models/organization.d.ts +92 -92
- package/dist/models/patient-organization.d.ts +2 -2
- package/dist/models/patient.d.ts +772 -772
- package/dist/models/person.d.ts +456 -456
- package/package.json +3 -3
package/dist/models/address.d.ts
CHANGED
|
@@ -27,25 +27,25 @@ export declare const addressSchema: z.ZodObject<{
|
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
zip: string;
|
|
29
29
|
use?: string | null | undefined;
|
|
30
|
-
line?: string[] | null | undefined;
|
|
31
|
-
city?: string | null | undefined;
|
|
32
|
-
state?: string | null | undefined;
|
|
33
|
-
country?: string | null | undefined;
|
|
34
30
|
period?: {
|
|
35
31
|
start?: string | undefined;
|
|
36
32
|
end?: string | undefined;
|
|
37
33
|
} | null | undefined;
|
|
38
|
-
}, {
|
|
39
|
-
zip: string;
|
|
40
|
-
use?: string | null | undefined;
|
|
41
34
|
line?: string[] | null | undefined;
|
|
42
35
|
city?: string | null | undefined;
|
|
43
36
|
state?: string | null | undefined;
|
|
44
37
|
country?: string | null | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
zip: string;
|
|
40
|
+
use?: string | null | undefined;
|
|
45
41
|
period?: {
|
|
46
42
|
start?: string | undefined;
|
|
47
43
|
end?: string | undefined;
|
|
48
44
|
} | null | undefined;
|
|
45
|
+
line?: string[] | null | undefined;
|
|
46
|
+
city?: string | null | undefined;
|
|
47
|
+
state?: string | null | undefined;
|
|
48
|
+
country?: string | null | undefined;
|
|
49
49
|
}>;
|
|
50
50
|
export type Address = z.infer<typeof addressSchema>;
|
|
51
51
|
//# sourceMappingURL=address.d.ts.map
|
|
@@ -99,33 +99,33 @@ export declare const certificateRespSchema: z.ZodObject<{
|
|
|
99
99
|
templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
100
100
|
type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
type?: string | null | undefined;
|
|
102
103
|
href?: string | null | undefined;
|
|
103
104
|
templated?: boolean | null | undefined;
|
|
104
|
-
type?: string | null | undefined;
|
|
105
105
|
}, {
|
|
106
|
+
type?: string | null | undefined;
|
|
106
107
|
href?: string | null | undefined;
|
|
107
108
|
templated?: boolean | null | undefined;
|
|
108
|
-
type?: string | null | undefined;
|
|
109
109
|
}>>>;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
111
|
self?: {
|
|
112
|
+
type?: string | null | undefined;
|
|
112
113
|
href?: string | null | undefined;
|
|
113
114
|
templated?: boolean | null | undefined;
|
|
114
|
-
type?: string | null | undefined;
|
|
115
115
|
} | null | undefined;
|
|
116
116
|
}, {
|
|
117
117
|
self?: {
|
|
118
|
+
type?: string | null | undefined;
|
|
118
119
|
href?: string | null | undefined;
|
|
119
120
|
templated?: boolean | null | undefined;
|
|
120
|
-
type?: string | null | undefined;
|
|
121
121
|
} | null | undefined;
|
|
122
122
|
}>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
124
|
_links: {
|
|
125
125
|
self?: {
|
|
126
|
+
type?: string | null | undefined;
|
|
126
127
|
href?: string | null | undefined;
|
|
127
128
|
templated?: boolean | null | undefined;
|
|
128
|
-
type?: string | null | undefined;
|
|
129
129
|
} | null | undefined;
|
|
130
130
|
};
|
|
131
131
|
certificates: {
|
|
@@ -139,9 +139,9 @@ export declare const certificateRespSchema: z.ZodObject<{
|
|
|
139
139
|
}, {
|
|
140
140
|
_links: {
|
|
141
141
|
self?: {
|
|
142
|
+
type?: string | null | undefined;
|
|
142
143
|
href?: string | null | undefined;
|
|
143
144
|
templated?: boolean | null | undefined;
|
|
144
|
-
type?: string | null | undefined;
|
|
145
145
|
} | null | undefined;
|
|
146
146
|
};
|
|
147
147
|
certificates: {
|
package/dist/models/contact.d.ts
CHANGED
|
@@ -31,17 +31,17 @@ export declare const contactSchema: z.ZodObject<{
|
|
|
31
31
|
end?: string | undefined;
|
|
32
32
|
}>>>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
use?: string | null | undefined;
|
|
35
|
-
system?: string | null | undefined;
|
|
36
34
|
value?: string | null | undefined;
|
|
35
|
+
system?: string | null | undefined;
|
|
36
|
+
use?: string | null | undefined;
|
|
37
37
|
period?: {
|
|
38
38
|
start?: string | undefined;
|
|
39
39
|
end?: string | undefined;
|
|
40
40
|
} | null | undefined;
|
|
41
41
|
}, {
|
|
42
|
-
use?: string | null | undefined;
|
|
43
|
-
system?: string | null | undefined;
|
|
44
42
|
value?: string | null | undefined;
|
|
43
|
+
system?: string | null | undefined;
|
|
44
|
+
use?: string | null | undefined;
|
|
45
45
|
period?: {
|
|
46
46
|
start?: string | undefined;
|
|
47
47
|
end?: string | undefined;
|
|
@@ -13,12 +13,12 @@ export declare const genderSchema: z.ZodObject<{
|
|
|
13
13
|
system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
code: string;
|
|
16
|
-
display?: string | null | undefined;
|
|
17
16
|
system?: string | null | undefined;
|
|
17
|
+
display?: string | null | undefined;
|
|
18
18
|
}, {
|
|
19
19
|
code: string;
|
|
20
|
-
display?: string | null | undefined;
|
|
21
20
|
system?: string | null | undefined;
|
|
21
|
+
display?: string | null | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
export type Gender = z.infer<typeof genderSchema>;
|
|
24
24
|
export declare const demographicsSchema: z.ZodObject<{
|
|
@@ -79,25 +79,25 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
80
|
family: string[];
|
|
81
81
|
use?: string | null | undefined;
|
|
82
|
-
text?: string | null | undefined;
|
|
83
|
-
given?: string[] | undefined;
|
|
84
|
-
prefix?: string | string[] | null | undefined;
|
|
85
|
-
suffix?: string | string[] | null | undefined;
|
|
86
82
|
period?: {
|
|
87
83
|
start?: string | undefined;
|
|
88
84
|
end?: string | undefined;
|
|
89
85
|
} | null | undefined;
|
|
90
|
-
}, {
|
|
91
|
-
family: string[];
|
|
92
|
-
use?: string | null | undefined;
|
|
93
86
|
text?: string | null | undefined;
|
|
94
87
|
given?: string[] | undefined;
|
|
95
88
|
prefix?: string | string[] | null | undefined;
|
|
96
89
|
suffix?: string | string[] | null | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
family: string[];
|
|
92
|
+
use?: string | null | undefined;
|
|
97
93
|
period?: {
|
|
98
94
|
start?: string | undefined;
|
|
99
95
|
end?: string | undefined;
|
|
100
96
|
} | null | undefined;
|
|
97
|
+
text?: string | null | undefined;
|
|
98
|
+
given?: string[] | undefined;
|
|
99
|
+
prefix?: string | string[] | null | undefined;
|
|
100
|
+
suffix?: string | string[] | null | undefined;
|
|
101
101
|
}>, "many">;
|
|
102
102
|
telecom: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
103
103
|
use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
|
|
@@ -114,17 +114,17 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
114
114
|
end?: string | undefined;
|
|
115
115
|
}>>>;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
use?: string | null | undefined;
|
|
118
|
-
system?: string | null | undefined;
|
|
119
117
|
value?: string | null | undefined;
|
|
118
|
+
system?: string | null | undefined;
|
|
119
|
+
use?: string | null | undefined;
|
|
120
120
|
period?: {
|
|
121
121
|
start?: string | undefined;
|
|
122
122
|
end?: string | undefined;
|
|
123
123
|
} | null | undefined;
|
|
124
124
|
}, {
|
|
125
|
-
use?: string | null | undefined;
|
|
126
|
-
system?: string | null | undefined;
|
|
127
125
|
value?: string | null | undefined;
|
|
126
|
+
system?: string | null | undefined;
|
|
127
|
+
use?: string | null | undefined;
|
|
128
128
|
period?: {
|
|
129
129
|
start?: string | undefined;
|
|
130
130
|
end?: string | undefined;
|
|
@@ -136,12 +136,12 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
136
136
|
system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
138
|
code: string;
|
|
139
|
-
display?: string | null | undefined;
|
|
140
139
|
system?: string | null | undefined;
|
|
140
|
+
display?: string | null | undefined;
|
|
141
141
|
}, {
|
|
142
142
|
code: string;
|
|
143
|
-
display?: string | null | undefined;
|
|
144
143
|
system?: string | null | undefined;
|
|
144
|
+
display?: string | null | undefined;
|
|
145
145
|
}>;
|
|
146
146
|
birthDate: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
147
147
|
address: z.ZodArray<z.ZodObject<{
|
|
@@ -164,57 +164,57 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
165
|
zip: string;
|
|
166
166
|
use?: string | null | undefined;
|
|
167
|
-
line?: string[] | null | undefined;
|
|
168
|
-
city?: string | null | undefined;
|
|
169
|
-
state?: string | null | undefined;
|
|
170
|
-
country?: string | null | undefined;
|
|
171
167
|
period?: {
|
|
172
168
|
start?: string | undefined;
|
|
173
169
|
end?: string | undefined;
|
|
174
170
|
} | null | undefined;
|
|
175
|
-
}, {
|
|
176
|
-
zip: string;
|
|
177
|
-
use?: string | null | undefined;
|
|
178
171
|
line?: string[] | null | undefined;
|
|
179
172
|
city?: string | null | undefined;
|
|
180
173
|
state?: string | null | undefined;
|
|
181
174
|
country?: string | null | undefined;
|
|
175
|
+
}, {
|
|
176
|
+
zip: string;
|
|
177
|
+
use?: string | null | undefined;
|
|
182
178
|
period?: {
|
|
183
179
|
start?: string | undefined;
|
|
184
180
|
end?: string | undefined;
|
|
185
181
|
} | null | undefined;
|
|
182
|
+
line?: string[] | null | undefined;
|
|
183
|
+
city?: string | null | undefined;
|
|
184
|
+
state?: string | null | undefined;
|
|
185
|
+
country?: string | null | undefined;
|
|
186
186
|
}>, "many">;
|
|
187
187
|
picture: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
188
188
|
}, "strip", z.ZodTypeAny, {
|
|
189
189
|
name: {
|
|
190
190
|
family: string[];
|
|
191
191
|
use?: string | null | undefined;
|
|
192
|
-
text?: string | null | undefined;
|
|
193
|
-
given?: string[] | undefined;
|
|
194
|
-
prefix?: string | string[] | null | undefined;
|
|
195
|
-
suffix?: string | string[] | null | undefined;
|
|
196
192
|
period?: {
|
|
197
193
|
start?: string | undefined;
|
|
198
194
|
end?: string | undefined;
|
|
199
195
|
} | null | undefined;
|
|
196
|
+
text?: string | null | undefined;
|
|
197
|
+
given?: string[] | undefined;
|
|
198
|
+
prefix?: string | string[] | null | undefined;
|
|
199
|
+
suffix?: string | string[] | null | undefined;
|
|
200
200
|
}[];
|
|
201
201
|
gender: {
|
|
202
202
|
code: string;
|
|
203
|
-
display?: string | null | undefined;
|
|
204
203
|
system?: string | null | undefined;
|
|
204
|
+
display?: string | null | undefined;
|
|
205
205
|
};
|
|
206
206
|
birthDate: string;
|
|
207
207
|
address: {
|
|
208
208
|
zip: string;
|
|
209
209
|
use?: string | null | undefined;
|
|
210
|
-
line?: string[] | null | undefined;
|
|
211
|
-
city?: string | null | undefined;
|
|
212
|
-
state?: string | null | undefined;
|
|
213
|
-
country?: string | null | undefined;
|
|
214
210
|
period?: {
|
|
215
211
|
start?: string | undefined;
|
|
216
212
|
end?: string | undefined;
|
|
217
213
|
} | null | undefined;
|
|
214
|
+
line?: string[] | null | undefined;
|
|
215
|
+
city?: string | null | undefined;
|
|
216
|
+
state?: string | null | undefined;
|
|
217
|
+
country?: string | null | undefined;
|
|
218
218
|
}[];
|
|
219
219
|
identifier?: {
|
|
220
220
|
system: string;
|
|
@@ -228,9 +228,9 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
228
228
|
assigner?: string | null | undefined;
|
|
229
229
|
}[] | null | undefined;
|
|
230
230
|
telecom?: {
|
|
231
|
-
use?: string | null | undefined;
|
|
232
|
-
system?: string | null | undefined;
|
|
233
231
|
value?: string | null | undefined;
|
|
232
|
+
system?: string | null | undefined;
|
|
233
|
+
use?: string | null | undefined;
|
|
234
234
|
period?: {
|
|
235
235
|
start?: string | undefined;
|
|
236
236
|
end?: string | undefined;
|
|
@@ -241,32 +241,32 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
241
241
|
name: {
|
|
242
242
|
family: string[];
|
|
243
243
|
use?: string | null | undefined;
|
|
244
|
-
text?: string | null | undefined;
|
|
245
|
-
given?: string[] | undefined;
|
|
246
|
-
prefix?: string | string[] | null | undefined;
|
|
247
|
-
suffix?: string | string[] | null | undefined;
|
|
248
244
|
period?: {
|
|
249
245
|
start?: string | undefined;
|
|
250
246
|
end?: string | undefined;
|
|
251
247
|
} | null | undefined;
|
|
248
|
+
text?: string | null | undefined;
|
|
249
|
+
given?: string[] | undefined;
|
|
250
|
+
prefix?: string | string[] | null | undefined;
|
|
251
|
+
suffix?: string | string[] | null | undefined;
|
|
252
252
|
}[];
|
|
253
253
|
gender: {
|
|
254
254
|
code: string;
|
|
255
|
-
display?: string | null | undefined;
|
|
256
255
|
system?: string | null | undefined;
|
|
256
|
+
display?: string | null | undefined;
|
|
257
257
|
};
|
|
258
258
|
birthDate: string;
|
|
259
259
|
address: {
|
|
260
260
|
zip: string;
|
|
261
261
|
use?: string | null | undefined;
|
|
262
|
-
line?: string[] | null | undefined;
|
|
263
|
-
city?: string | null | undefined;
|
|
264
|
-
state?: string | null | undefined;
|
|
265
|
-
country?: string | null | undefined;
|
|
266
262
|
period?: {
|
|
267
263
|
start?: string | undefined;
|
|
268
264
|
end?: string | undefined;
|
|
269
265
|
} | null | undefined;
|
|
266
|
+
line?: string[] | null | undefined;
|
|
267
|
+
city?: string | null | undefined;
|
|
268
|
+
state?: string | null | undefined;
|
|
269
|
+
country?: string | null | undefined;
|
|
270
270
|
}[];
|
|
271
271
|
identifier?: {
|
|
272
272
|
system: string;
|
|
@@ -280,9 +280,9 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
280
280
|
assigner?: string | null | undefined;
|
|
281
281
|
}[] | null | undefined;
|
|
282
282
|
telecom?: {
|
|
283
|
-
use?: string | null | undefined;
|
|
284
|
-
system?: string | null | undefined;
|
|
285
283
|
value?: string | null | undefined;
|
|
284
|
+
system?: string | null | undefined;
|
|
285
|
+
use?: string | null | undefined;
|
|
286
286
|
period?: {
|
|
287
287
|
start?: string | undefined;
|
|
288
288
|
end?: string | undefined;
|