@metriport/shared 0.26.2 → 0.26.3

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 (65) hide show
  1. package/dist/common/__tests__/normalize-oid.test.js +14 -0
  2. package/dist/common/__tests__/normalize-oid.test.js.map +1 -1
  3. package/dist/common/normalize-oid.d.ts +7 -0
  4. package/dist/common/normalize-oid.d.ts.map +1 -1
  5. package/dist/common/normalize-oid.js +60 -1
  6. package/dist/common/normalize-oid.js.map +1 -1
  7. package/dist/common/numbers.d.ts +13 -0
  8. package/dist/common/numbers.d.ts.map +1 -1
  9. package/dist/common/numbers.js +40 -1
  10. package/dist/common/numbers.js.map +1 -1
  11. package/dist/domain/__tests__/cursor-utils.test.d.ts +2 -0
  12. package/dist/domain/__tests__/cursor-utils.test.d.ts.map +1 -0
  13. package/dist/domain/__tests__/cursor-utils.test.js +216 -0
  14. package/dist/domain/__tests__/cursor-utils.test.js.map +1 -0
  15. package/dist/domain/__tests__/pagination-schema.test.d.ts +2 -0
  16. package/dist/domain/__tests__/pagination-schema.test.d.ts.map +1 -0
  17. package/dist/domain/__tests__/pagination-schema.test.js +165 -0
  18. package/dist/domain/__tests__/pagination-schema.test.js.map +1 -0
  19. package/dist/domain/cursor-utils.d.ts +20 -0
  20. package/dist/domain/cursor-utils.d.ts.map +1 -0
  21. package/dist/domain/cursor-utils.js +51 -0
  22. package/dist/domain/cursor-utils.js.map +1 -0
  23. package/dist/domain/pagination-v2.d.ts +230 -0
  24. package/dist/domain/pagination-v2.d.ts.map +1 -0
  25. package/dist/domain/pagination-v2.js +132 -0
  26. package/dist/domain/pagination-v2.js.map +1 -0
  27. package/dist/domain/pagination.d.ts +0 -2
  28. package/dist/domain/pagination.d.ts.map +1 -1
  29. package/dist/domain/pagination.js +3 -4
  30. package/dist/domain/pagination.js.map +1 -1
  31. package/dist/domain/tcm-encounter.d.ts +180 -9
  32. package/dist/domain/tcm-encounter.d.ts.map +1 -1
  33. package/dist/domain/tcm-encounter.js +13 -3
  34. package/dist/domain/tcm-encounter.js.map +1 -1
  35. package/dist/index.d.ts +1 -0
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/index.js +1 -0
  38. package/dist/index.js.map +1 -1
  39. package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts +54 -0
  40. package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts.map +1 -1
  41. package/dist/interface/external/ehr/athenahealth/jwt-token.d.ts +2 -2
  42. package/dist/interface/external/ehr/athenahealth/patient-mapping.d.ts +14 -0
  43. package/dist/interface/external/ehr/athenahealth/patient-mapping.d.ts.map +1 -0
  44. package/dist/interface/external/ehr/athenahealth/patient-mapping.js +11 -0
  45. package/dist/interface/external/ehr/athenahealth/patient-mapping.js.map +1 -0
  46. package/dist/interface/external/ehr/athenahealth/patient.d.ts +36 -2
  47. package/dist/interface/external/ehr/athenahealth/patient.d.ts.map +1 -1
  48. package/dist/interface/external/ehr/athenahealth/patient.js +5 -5
  49. package/dist/interface/external/ehr/athenahealth/patient.js.map +1 -1
  50. package/dist/interface/external/ehr/canvas/cx-mapping.d.ts +54 -0
  51. package/dist/interface/external/ehr/canvas/cx-mapping.d.ts.map +1 -1
  52. package/dist/interface/external/ehr/canvas/jwt-token.d.ts +6 -6
  53. package/dist/interface/external/ehr/eclinicalworks/jwt-token.d.ts +2 -2
  54. package/dist/interface/external/ehr/elation/cx-mapping.d.ts +54 -0
  55. package/dist/interface/external/ehr/elation/cx-mapping.d.ts.map +1 -1
  56. package/dist/interface/external/ehr/elation/jwt-token.d.ts +4 -4
  57. package/dist/interface/external/ehr/healthie/cx-mapping.d.ts +54 -0
  58. package/dist/interface/external/ehr/healthie/cx-mapping.d.ts.map +1 -1
  59. package/dist/interface/external/ehr/healthie/jwt-token.d.ts +2 -2
  60. package/dist/interface/external/ehr/healthie/lab.d.ts +32 -32
  61. package/dist/interface/external/ehr/shared.d.ts +100 -0
  62. package/dist/interface/external/ehr/shared.d.ts.map +1 -1
  63. package/dist/interface/external/ehr/shared.js +15 -1
  64. package/dist/interface/external/ehr/shared.js.map +1 -1
  65. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYX,CAAC;AACjC,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
1
+ {"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYX,CAAC;AACjC,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
@@ -7,12 +7,12 @@ export declare const elationDashJwtTokenDataSchema: z.ZodObject<{
7
7
  source: z.ZodLiteral<"elation">;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  patientId: string;
10
- source: "elation";
11
10
  practiceId: string;
11
+ source: "elation";
12
12
  }, {
13
13
  patientId: string;
14
- source: "elation";
15
14
  practiceId: string;
15
+ source: "elation";
16
16
  }>;
17
17
  export type ElationDashJwtTokenData = z.infer<typeof elationDashJwtTokenDataSchema>;
18
18
  export declare const elationClientSource: "elation-client";
@@ -22,12 +22,12 @@ export declare const elationClientJwtTokenDataSchema: z.ZodObject<{
22
22
  source: z.ZodLiteral<"elation-client">;
23
23
  }, "strip", z.ZodTypeAny, {
24
24
  cxId: string;
25
- source: "elation-client";
26
25
  practiceId: string;
26
+ source: "elation-client";
27
27
  }, {
28
28
  cxId: string;
29
- source: "elation-client";
30
29
  practiceId: string;
30
+ source: "elation-client";
31
31
  }>;
32
32
  export type ElationClientJwtTokenData = z.infer<typeof elationClientJwtTokenDataSchema>;
33
33
  export declare const elationClientJwtTokenResponseSchema: z.ZodObject<{
@@ -38,6 +38,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
38
38
  months?: number | undefined;
39
39
  years?: number | undefined;
40
40
  }>>;
41
+ absoluteDate: z.ZodOptional<z.ZodString>;
41
42
  disabled: z.ZodOptional<z.ZodBoolean>;
42
43
  }, "strip", z.ZodTypeAny, {
43
44
  loincCodes?: string[] | undefined;
@@ -47,6 +48,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
47
48
  months?: number | undefined;
48
49
  years?: number | undefined;
49
50
  } | undefined;
51
+ absoluteDate?: string | undefined;
50
52
  disabled?: boolean | undefined;
51
53
  }, {
52
54
  loincCodes?: string[] | undefined;
@@ -56,6 +58,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
56
58
  months?: number | undefined;
57
59
  years?: number | undefined;
58
60
  } | undefined;
61
+ absoluteDate?: string | undefined;
59
62
  disabled?: boolean | undefined;
60
63
  }>>;
61
64
  labPanel: z.ZodOptional<z.ZodObject<{
@@ -74,6 +77,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
74
77
  months?: number | undefined;
75
78
  years?: number | undefined;
76
79
  }>>;
80
+ absoluteDate: z.ZodOptional<z.ZodString>;
77
81
  disabled: z.ZodOptional<z.ZodBoolean>;
78
82
  }, "strip", z.ZodTypeAny, {
79
83
  loincCodes?: string[] | undefined;
@@ -83,6 +87,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
83
87
  months?: number | undefined;
84
88
  years?: number | undefined;
85
89
  } | undefined;
90
+ absoluteDate?: string | undefined;
86
91
  disabled?: boolean | undefined;
87
92
  }, {
88
93
  loincCodes?: string[] | undefined;
@@ -92,9 +97,11 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
92
97
  months?: number | undefined;
93
98
  years?: number | undefined;
94
99
  } | undefined;
100
+ absoluteDate?: string | undefined;
95
101
  disabled?: boolean | undefined;
96
102
  }>>;
97
103
  problem: z.ZodOptional<z.ZodObject<{
104
+ stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
98
105
  latestOnly: z.ZodOptional<z.ZodBoolean>;
99
106
  chronicityFilter: z.ZodOptional<z.ZodEnum<["all", "chronic", "non-chronic"]>>;
100
107
  relativeDateRange: z.ZodOptional<z.ZodObject<{
@@ -118,6 +125,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
118
125
  years?: number | undefined;
119
126
  } | undefined;
120
127
  disabled?: boolean | undefined;
128
+ stringFilters?: string[] | undefined;
121
129
  latestOnly?: boolean | undefined;
122
130
  chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
123
131
  }, {
@@ -127,6 +135,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
127
135
  years?: number | undefined;
128
136
  } | undefined;
129
137
  disabled?: boolean | undefined;
138
+ stringFilters?: string[] | undefined;
130
139
  latestOnly?: boolean | undefined;
131
140
  chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
132
141
  }>>;
@@ -166,6 +175,19 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
166
175
  disabled?: boolean | undefined;
167
176
  latestOnly?: boolean | undefined;
168
177
  }>>;
178
+ medicationstatement: z.ZodOptional<z.ZodObject<{
179
+ rxnormCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
180
+ absoluteDate: z.ZodOptional<z.ZodString>;
181
+ disabled: z.ZodOptional<z.ZodBoolean>;
182
+ }, "strip", z.ZodTypeAny, {
183
+ absoluteDate?: string | undefined;
184
+ disabled?: boolean | undefined;
185
+ rxnormCodes?: string[] | undefined;
186
+ }, {
187
+ absoluteDate?: string | undefined;
188
+ disabled?: boolean | undefined;
189
+ rxnormCodes?: string[] | undefined;
190
+ }>>;
169
191
  }, "strip", z.ZodTypeAny, {
170
192
  lab?: {
171
193
  loincCodes?: string[] | undefined;
@@ -175,6 +197,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
175
197
  months?: number | undefined;
176
198
  years?: number | undefined;
177
199
  } | undefined;
200
+ absoluteDate?: string | undefined;
178
201
  disabled?: boolean | undefined;
179
202
  } | undefined;
180
203
  labPanel?: {
@@ -185,6 +208,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
185
208
  months?: number | undefined;
186
209
  years?: number | undefined;
187
210
  } | undefined;
211
+ absoluteDate?: string | undefined;
188
212
  disabled?: boolean | undefined;
189
213
  } | undefined;
190
214
  problem?: {
@@ -194,6 +218,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
194
218
  years?: number | undefined;
195
219
  } | undefined;
196
220
  disabled?: boolean | undefined;
221
+ stringFilters?: string[] | undefined;
197
222
  latestOnly?: boolean | undefined;
198
223
  chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
199
224
  } | undefined;
@@ -207,6 +232,11 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
207
232
  disabled?: boolean | undefined;
208
233
  latestOnly?: boolean | undefined;
209
234
  } | undefined;
235
+ medicationstatement?: {
236
+ absoluteDate?: string | undefined;
237
+ disabled?: boolean | undefined;
238
+ rxnormCodes?: string[] | undefined;
239
+ } | undefined;
210
240
  }, {
211
241
  lab?: {
212
242
  loincCodes?: string[] | undefined;
@@ -216,6 +246,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
216
246
  months?: number | undefined;
217
247
  years?: number | undefined;
218
248
  } | undefined;
249
+ absoluteDate?: string | undefined;
219
250
  disabled?: boolean | undefined;
220
251
  } | undefined;
221
252
  labPanel?: {
@@ -226,6 +257,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
226
257
  months?: number | undefined;
227
258
  years?: number | undefined;
228
259
  } | undefined;
260
+ absoluteDate?: string | undefined;
229
261
  disabled?: boolean | undefined;
230
262
  } | undefined;
231
263
  problem?: {
@@ -235,6 +267,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
235
267
  years?: number | undefined;
236
268
  } | undefined;
237
269
  disabled?: boolean | undefined;
270
+ stringFilters?: string[] | undefined;
238
271
  latestOnly?: boolean | undefined;
239
272
  chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
240
273
  } | undefined;
@@ -248,6 +281,11 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
248
281
  disabled?: boolean | undefined;
249
282
  latestOnly?: boolean | undefined;
250
283
  } | undefined;
284
+ medicationstatement?: {
285
+ absoluteDate?: string | undefined;
286
+ disabled?: boolean | undefined;
287
+ rxnormCodes?: string[] | undefined;
288
+ } | undefined;
251
289
  }>>;
252
290
  }>, "strip", z.ZodTypeAny, {
253
291
  writeBackEnabled?: boolean | undefined;
@@ -260,6 +298,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
260
298
  months?: number | undefined;
261
299
  years?: number | undefined;
262
300
  } | undefined;
301
+ absoluteDate?: string | undefined;
263
302
  disabled?: boolean | undefined;
264
303
  } | undefined;
265
304
  labPanel?: {
@@ -270,6 +309,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
270
309
  months?: number | undefined;
271
310
  years?: number | undefined;
272
311
  } | undefined;
312
+ absoluteDate?: string | undefined;
273
313
  disabled?: boolean | undefined;
274
314
  } | undefined;
275
315
  problem?: {
@@ -279,6 +319,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
279
319
  years?: number | undefined;
280
320
  } | undefined;
281
321
  disabled?: boolean | undefined;
322
+ stringFilters?: string[] | undefined;
282
323
  latestOnly?: boolean | undefined;
283
324
  chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
284
325
  } | undefined;
@@ -292,6 +333,11 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
292
333
  disabled?: boolean | undefined;
293
334
  latestOnly?: boolean | undefined;
294
335
  } | undefined;
336
+ medicationstatement?: {
337
+ absoluteDate?: string | undefined;
338
+ disabled?: boolean | undefined;
339
+ rxnormCodes?: string[] | undefined;
340
+ } | undefined;
295
341
  } | undefined;
296
342
  backgroundAppointmentsDisabled?: boolean | undefined;
297
343
  webhooks?: Partial<Record<"appointment.created" | "patient.created", {
@@ -317,6 +363,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
317
363
  months?: number | undefined;
318
364
  years?: number | undefined;
319
365
  } | undefined;
366
+ absoluteDate?: string | undefined;
320
367
  disabled?: boolean | undefined;
321
368
  } | undefined;
322
369
  labPanel?: {
@@ -327,6 +374,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
327
374
  months?: number | undefined;
328
375
  years?: number | undefined;
329
376
  } | undefined;
377
+ absoluteDate?: string | undefined;
330
378
  disabled?: boolean | undefined;
331
379
  } | undefined;
332
380
  problem?: {
@@ -336,6 +384,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
336
384
  years?: number | undefined;
337
385
  } | undefined;
338
386
  disabled?: boolean | undefined;
387
+ stringFilters?: string[] | undefined;
339
388
  latestOnly?: boolean | undefined;
340
389
  chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
341
390
  } | undefined;
@@ -349,6 +398,11 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
349
398
  disabled?: boolean | undefined;
350
399
  latestOnly?: boolean | undefined;
351
400
  } | undefined;
401
+ medicationstatement?: {
402
+ absoluteDate?: string | undefined;
403
+ disabled?: boolean | undefined;
404
+ rxnormCodes?: string[] | undefined;
405
+ } | undefined;
352
406
  } | undefined;
353
407
  backgroundAppointmentsDisabled?: boolean | undefined;
354
408
  webhooks?: Partial<Record<"appointment.created" | "patient.created", {
@@ -1 +1 @@
1
- {"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaZ,CAAC;AACjC,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
1
+ {"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaZ,CAAC;AACjC,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
@@ -7,12 +7,12 @@ export declare const healthieDashJwtTokenDataSchema: z.ZodObject<{
7
7
  source: z.ZodLiteral<"healthie">;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  patientId: string;
10
- source: "healthie";
11
10
  practiceId: string;
11
+ source: "healthie";
12
12
  }, {
13
13
  patientId: string;
14
- source: "healthie";
15
14
  practiceId: string;
15
+ source: "healthie";
16
16
  }>;
17
17
  export type HealthieDashJwtTokenData = z.infer<typeof healthieDashJwtTokenDataSchema>;
18
18
  //# sourceMappingURL=jwt-token.d.ts.map
@@ -8,18 +8,18 @@ export declare const labOrderObservationResultSchema: z.ZodObject<{
8
8
  notes: z.ZodNullable<z.ZodString>;
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  id: string;
11
+ notes: string | null;
11
12
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
12
13
  units: string | null;
13
14
  quantitative_result: string | null;
14
15
  reference_range: string | null;
15
- notes: string | null;
16
16
  }, {
17
17
  id: string;
18
+ notes: string | null;
18
19
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
19
20
  units: string | null;
20
21
  quantitative_result: string | null;
21
22
  reference_range: string | null;
22
- notes: string | null;
23
23
  }>;
24
24
  export type LabOrderObservationResult = z.infer<typeof labOrderObservationResultSchema>;
25
25
  export declare const labOrderObservationRequestSchema: z.ZodObject<{
@@ -34,40 +34,40 @@ export declare const labOrderObservationRequestSchema: z.ZodObject<{
34
34
  notes: z.ZodNullable<z.ZodString>;
35
35
  }, "strip", z.ZodTypeAny, {
36
36
  id: string;
37
+ notes: string | null;
37
38
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
38
39
  units: string | null;
39
40
  quantitative_result: string | null;
40
41
  reference_range: string | null;
41
- notes: string | null;
42
42
  }, {
43
43
  id: string;
44
+ notes: string | null;
44
45
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
45
46
  units: string | null;
46
47
  quantitative_result: string | null;
47
48
  reference_range: string | null;
48
- notes: string | null;
49
49
  }>, "many">;
50
50
  }, "strip", z.ZodTypeAny, {
51
51
  id: string;
52
52
  lab_analyte: string | null;
53
53
  lab_observation_results: {
54
54
  id: string;
55
+ notes: string | null;
55
56
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
56
57
  units: string | null;
57
58
  quantitative_result: string | null;
58
59
  reference_range: string | null;
59
- notes: string | null;
60
60
  }[];
61
61
  }, {
62
62
  id: string;
63
63
  lab_analyte: string | null;
64
64
  lab_observation_results: {
65
65
  id: string;
66
+ notes: string | null;
66
67
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
67
68
  units: string | null;
68
69
  quantitative_result: string | null;
69
70
  reference_range: string | null;
70
- notes: string | null;
71
71
  }[];
72
72
  }>;
73
73
  export type LabOrderObservationRequest = z.infer<typeof labOrderObservationRequestSchema>;
@@ -85,40 +85,40 @@ export declare const labResultSchema: z.ZodObject<{
85
85
  notes: z.ZodNullable<z.ZodString>;
86
86
  }, "strip", z.ZodTypeAny, {
87
87
  id: string;
88
+ notes: string | null;
88
89
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
89
90
  units: string | null;
90
91
  quantitative_result: string | null;
91
92
  reference_range: string | null;
92
- notes: string | null;
93
93
  }, {
94
94
  id: string;
95
+ notes: string | null;
95
96
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
96
97
  units: string | null;
97
98
  quantitative_result: string | null;
98
99
  reference_range: string | null;
99
- notes: string | null;
100
100
  }>, "many">;
101
101
  }, "strip", z.ZodTypeAny, {
102
102
  id: string;
103
103
  lab_analyte: string | null;
104
104
  lab_observation_results: {
105
105
  id: string;
106
+ notes: string | null;
106
107
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
107
108
  units: string | null;
108
109
  quantitative_result: string | null;
109
110
  reference_range: string | null;
110
- notes: string | null;
111
111
  }[];
112
112
  }, {
113
113
  id: string;
114
114
  lab_analyte: string | null;
115
115
  lab_observation_results: {
116
116
  id: string;
117
+ notes: string | null;
117
118
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
118
119
  units: string | null;
119
120
  quantitative_result: string | null;
120
121
  reference_range: string | null;
121
- notes: string | null;
122
122
  }[];
123
123
  }>, "many">>;
124
124
  }, "strip", z.ZodTypeAny, {
@@ -128,11 +128,11 @@ export declare const labResultSchema: z.ZodObject<{
128
128
  lab_analyte: string | null;
129
129
  lab_observation_results: {
130
130
  id: string;
131
+ notes: string | null;
131
132
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
132
133
  units: string | null;
133
134
  quantitative_result: string | null;
134
135
  reference_range: string | null;
135
- notes: string | null;
136
136
  }[];
137
137
  }[] | null;
138
138
  }, {
@@ -142,11 +142,11 @@ export declare const labResultSchema: z.ZodObject<{
142
142
  lab_analyte: string | null;
143
143
  lab_observation_results: {
144
144
  id: string;
145
+ notes: string | null;
145
146
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
146
147
  units: string | null;
147
148
  quantitative_result: string | null;
148
149
  reference_range: string | null;
149
- notes: string | null;
150
150
  }[];
151
151
  }[] | null;
152
152
  }>;
@@ -169,40 +169,40 @@ export declare const labOrderSchema: z.ZodObject<{
169
169
  notes: z.ZodNullable<z.ZodString>;
170
170
  }, "strip", z.ZodTypeAny, {
171
171
  id: string;
172
+ notes: string | null;
172
173
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
173
174
  units: string | null;
174
175
  quantitative_result: string | null;
175
176
  reference_range: string | null;
176
- notes: string | null;
177
177
  }, {
178
178
  id: string;
179
+ notes: string | null;
179
180
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
180
181
  units: string | null;
181
182
  quantitative_result: string | null;
182
183
  reference_range: string | null;
183
- notes: string | null;
184
184
  }>, "many">;
185
185
  }, "strip", z.ZodTypeAny, {
186
186
  id: string;
187
187
  lab_analyte: string | null;
188
188
  lab_observation_results: {
189
189
  id: string;
190
+ notes: string | null;
190
191
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
191
192
  units: string | null;
192
193
  quantitative_result: string | null;
193
194
  reference_range: string | null;
194
- notes: string | null;
195
195
  }[];
196
196
  }, {
197
197
  id: string;
198
198
  lab_analyte: string | null;
199
199
  lab_observation_results: {
200
200
  id: string;
201
+ notes: string | null;
201
202
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
202
203
  units: string | null;
203
204
  quantitative_result: string | null;
204
205
  reference_range: string | null;
205
- notes: string | null;
206
206
  }[];
207
207
  }>, "many">>;
208
208
  }, "strip", z.ZodTypeAny, {
@@ -212,11 +212,11 @@ export declare const labOrderSchema: z.ZodObject<{
212
212
  lab_analyte: string | null;
213
213
  lab_observation_results: {
214
214
  id: string;
215
+ notes: string | null;
215
216
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
216
217
  units: string | null;
217
218
  quantitative_result: string | null;
218
219
  reference_range: string | null;
219
- notes: string | null;
220
220
  }[];
221
221
  }[] | null;
222
222
  }, {
@@ -226,11 +226,11 @@ export declare const labOrderSchema: z.ZodObject<{
226
226
  lab_analyte: string | null;
227
227
  lab_observation_results: {
228
228
  id: string;
229
+ notes: string | null;
229
230
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
230
231
  units: string | null;
231
232
  quantitative_result: string | null;
232
233
  reference_range: string | null;
233
- notes: string | null;
234
234
  }[];
235
235
  }[] | null;
236
236
  }>, "many">;
@@ -245,11 +245,11 @@ export declare const labOrderSchema: z.ZodObject<{
245
245
  lab_analyte: string | null;
246
246
  lab_observation_results: {
247
247
  id: string;
248
+ notes: string | null;
248
249
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
249
250
  units: string | null;
250
251
  quantitative_result: string | null;
251
252
  reference_range: string | null;
252
- notes: string | null;
253
253
  }[];
254
254
  }[] | null;
255
255
  }[];
@@ -264,11 +264,11 @@ export declare const labOrderSchema: z.ZodObject<{
264
264
  lab_analyte: string | null;
265
265
  lab_observation_results: {
266
266
  id: string;
267
+ notes: string | null;
267
268
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
268
269
  units: string | null;
269
270
  quantitative_result: string | null;
270
271
  reference_range: string | null;
271
- notes: string | null;
272
272
  }[];
273
273
  }[] | null;
274
274
  }[];
@@ -294,40 +294,40 @@ export declare const labOrdersGraphqlSchema: z.ZodObject<{
294
294
  notes: z.ZodNullable<z.ZodString>;
295
295
  }, "strip", z.ZodTypeAny, {
296
296
  id: string;
297
+ notes: string | null;
297
298
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
298
299
  units: string | null;
299
300
  quantitative_result: string | null;
300
301
  reference_range: string | null;
301
- notes: string | null;
302
302
  }, {
303
303
  id: string;
304
+ notes: string | null;
304
305
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
305
306
  units: string | null;
306
307
  quantitative_result: string | null;
307
308
  reference_range: string | null;
308
- notes: string | null;
309
309
  }>, "many">;
310
310
  }, "strip", z.ZodTypeAny, {
311
311
  id: string;
312
312
  lab_analyte: string | null;
313
313
  lab_observation_results: {
314
314
  id: string;
315
+ notes: string | null;
315
316
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
316
317
  units: string | null;
317
318
  quantitative_result: string | null;
318
319
  reference_range: string | null;
319
- notes: string | null;
320
320
  }[];
321
321
  }, {
322
322
  id: string;
323
323
  lab_analyte: string | null;
324
324
  lab_observation_results: {
325
325
  id: string;
326
+ notes: string | null;
326
327
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
327
328
  units: string | null;
328
329
  quantitative_result: string | null;
329
330
  reference_range: string | null;
330
- notes: string | null;
331
331
  }[];
332
332
  }>, "many">>;
333
333
  }, "strip", z.ZodTypeAny, {
@@ -337,11 +337,11 @@ export declare const labOrdersGraphqlSchema: z.ZodObject<{
337
337
  lab_analyte: string | null;
338
338
  lab_observation_results: {
339
339
  id: string;
340
+ notes: string | null;
340
341
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
341
342
  units: string | null;
342
343
  quantitative_result: string | null;
343
344
  reference_range: string | null;
344
- notes: string | null;
345
345
  }[];
346
346
  }[] | null;
347
347
  }, {
@@ -351,11 +351,11 @@ export declare const labOrdersGraphqlSchema: z.ZodObject<{
351
351
  lab_analyte: string | null;
352
352
  lab_observation_results: {
353
353
  id: string;
354
+ notes: string | null;
354
355
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
355
356
  units: string | null;
356
357
  quantitative_result: string | null;
357
358
  reference_range: string | null;
358
- notes: string | null;
359
359
  }[];
360
360
  }[] | null;
361
361
  }>, "many">;
@@ -370,11 +370,11 @@ export declare const labOrdersGraphqlSchema: z.ZodObject<{
370
370
  lab_analyte: string | null;
371
371
  lab_observation_results: {
372
372
  id: string;
373
+ notes: string | null;
373
374
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
374
375
  units: string | null;
375
376
  quantitative_result: string | null;
376
377
  reference_range: string | null;
377
- notes: string | null;
378
378
  }[];
379
379
  }[] | null;
380
380
  }[];
@@ -389,11 +389,11 @@ export declare const labOrdersGraphqlSchema: z.ZodObject<{
389
389
  lab_analyte: string | null;
390
390
  lab_observation_results: {
391
391
  id: string;
392
+ notes: string | null;
392
393
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
393
394
  units: string | null;
394
395
  quantitative_result: string | null;
395
396
  reference_range: string | null;
396
- notes: string | null;
397
397
  }[];
398
398
  }[] | null;
399
399
  }[];
@@ -410,11 +410,11 @@ export declare const labOrdersGraphqlSchema: z.ZodObject<{
410
410
  lab_analyte: string | null;
411
411
  lab_observation_results: {
412
412
  id: string;
413
+ notes: string | null;
413
414
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
414
415
  units: string | null;
415
416
  quantitative_result: string | null;
416
417
  reference_range: string | null;
417
- notes: string | null;
418
418
  }[];
419
419
  }[] | null;
420
420
  }[];
@@ -431,11 +431,11 @@ export declare const labOrdersGraphqlSchema: z.ZodObject<{
431
431
  lab_analyte: string | null;
432
432
  lab_observation_results: {
433
433
  id: string;
434
+ notes: string | null;
434
435
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
435
436
  units: string | null;
436
437
  quantitative_result: string | null;
437
438
  reference_range: string | null;
438
- notes: string | null;
439
439
  }[];
440
440
  }[] | null;
441
441
  }[];
@@ -454,11 +454,11 @@ export declare const labOrdersGraphqlSchema: z.ZodObject<{
454
454
  lab_analyte: string | null;
455
455
  lab_observation_results: {
456
456
  id: string;
457
+ notes: string | null;
457
458
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
458
459
  units: string | null;
459
460
  quantitative_result: string | null;
460
461
  reference_range: string | null;
461
- notes: string | null;
462
462
  }[];
463
463
  }[] | null;
464
464
  }[];
@@ -477,11 +477,11 @@ export declare const labOrdersGraphqlSchema: z.ZodObject<{
477
477
  lab_analyte: string | null;
478
478
  lab_observation_results: {
479
479
  id: string;
480
+ notes: string | null;
480
481
  interpretation: "NORMAL" | "ABNORMAL" | "CRITICAL" | "UNKNOWN";
481
482
  units: string | null;
482
483
  quantitative_result: string | null;
483
484
  reference_range: string | null;
484
- notes: string | null;
485
485
  }[];
486
486
  }[] | null;
487
487
  }[];