@metriport/shared 0.32.4 → 0.33.1-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/common/__tests__/demographics.test.js +59 -3
- package/dist/common/__tests__/demographics.test.js.map +1 -1
- package/dist/common/__tests__/string.test.js +24 -0
- package/dist/common/__tests__/string.test.js.map +1 -1
- package/dist/common/demographics.d.ts +2 -2
- package/dist/common/demographics.d.ts.map +1 -1
- package/dist/common/demographics.js +19 -12
- package/dist/common/demographics.js.map +1 -1
- package/dist/common/general.d.ts +4 -0
- package/dist/common/general.d.ts.map +1 -1
- package/dist/common/general.js +8 -1
- package/dist/common/general.js.map +1 -1
- package/dist/common/purpose-of-use.d.ts +13 -0
- package/dist/common/purpose-of-use.d.ts.map +1 -1
- package/dist/common/purpose-of-use.js +17 -1
- package/dist/common/purpose-of-use.js.map +1 -1
- package/dist/common/string.d.ts +6 -0
- package/dist/common/string.d.ts.map +1 -1
- package/dist/common/string.js +10 -1
- package/dist/common/string.js.map +1 -1
- package/dist/domain/cohort.d.ts +14 -11
- package/dist/domain/cohort.d.ts.map +1 -1
- package/dist/domain/cohort.js +11 -8
- package/dist/domain/cohort.js.map +1 -1
- package/dist/domain/consolidated/recreate/event-type.d.ts +7 -0
- package/dist/domain/consolidated/recreate/event-type.d.ts.map +1 -0
- package/dist/domain/consolidated/recreate/event-type.js +11 -0
- package/dist/domain/consolidated/recreate/event-type.js.map +1 -0
- package/dist/domain/consolidated/recreate/index.d.ts +3 -0
- package/dist/domain/consolidated/recreate/index.d.ts.map +1 -0
- package/dist/domain/consolidated/recreate/index.js +19 -0
- package/dist/domain/consolidated/recreate/index.js.map +1 -0
- package/dist/domain/consolidated/recreate/supported-event-types.d.ts +7 -0
- package/dist/domain/consolidated/recreate/supported-event-types.d.ts.map +1 -0
- package/dist/domain/consolidated/recreate/supported-event-types.js +22 -0
- package/dist/domain/consolidated/recreate/supported-event-types.js.map +1 -0
- package/dist/domain/customer.d.ts +6 -0
- package/dist/domain/customer.d.ts.map +1 -1
- package/dist/domain/customer.js +6 -1
- package/dist/domain/customer.js.map +1 -1
- package/dist/domain/db.d.ts +5 -0
- package/dist/domain/db.d.ts.map +1 -1
- package/dist/domain/db.js +20 -1
- package/dist/domain/db.js.map +1 -1
- package/dist/domain/network-query/__tests__/source.test.js +13 -13
- package/dist/domain/network-query/__tests__/source.test.js.map +1 -1
- package/dist/domain/network-query/index.d.ts +1 -0
- package/dist/domain/network-query/index.d.ts.map +1 -1
- package/dist/domain/network-query/index.js +1 -0
- package/dist/domain/network-query/index.js.map +1 -1
- package/dist/domain/network-query/query.d.ts +306 -6
- package/dist/domain/network-query/query.d.ts.map +1 -1
- package/dist/domain/network-query/query.js +6 -2
- package/dist/domain/network-query/query.js.map +1 -1
- package/dist/domain/network-query/source.d.ts +413 -4
- package/dist/domain/network-query/source.d.ts.map +1 -1
- package/dist/domain/network-query/source.js +124 -10
- package/dist/domain/network-query/source.js.map +1 -1
- package/dist/domain/network-query/supported-event-types.d.ts +18 -0
- package/dist/domain/network-query/supported-event-types.d.ts.map +1 -0
- package/dist/domain/network-query/supported-event-types.js +60 -0
- package/dist/domain/network-query/supported-event-types.js.map +1 -0
- package/dist/domain/notification-webhooks/index.d.ts +2 -0
- package/dist/domain/notification-webhooks/index.d.ts.map +1 -0
- package/dist/domain/notification-webhooks/index.js +18 -0
- package/dist/domain/notification-webhooks/index.js.map +1 -0
- package/dist/domain/notification-webhooks/types.d.ts +29 -0
- package/dist/domain/notification-webhooks/types.d.ts.map +1 -0
- package/dist/domain/notification-webhooks/types.js +17 -0
- package/dist/domain/notification-webhooks/types.js.map +1 -0
- package/dist/domain/patient/patient-import/schemas.d.ts +2 -2
- package/dist/domain/patient/patient-monitoring/discharge-requery.d.ts +133 -0
- package/dist/domain/patient/patient-monitoring/discharge-requery.d.ts.map +1 -1
- package/dist/domain/patient/patient-monitoring/discharge-requery.js +10 -0
- package/dist/domain/patient/patient-monitoring/discharge-requery.js.map +1 -1
- package/dist/domain/patient/patient-monitoring/utils.d.ts +19 -2
- package/dist/domain/patient/patient-monitoring/utils.d.ts.map +1 -1
- package/dist/domain/patient/patient-monitoring/utils.js +20 -4
- package/dist/domain/patient/patient-monitoring/utils.js.map +1 -1
- package/dist/domain/rate-limiting/index.d.ts +1 -1
- package/dist/domain/rate-limiting/index.d.ts.map +1 -1
- package/dist/domain/rate-limiting/index.js +9 -0
- package/dist/domain/rate-limiting/index.js.map +1 -1
- package/dist/domain/roster/patient-roster-added-by.d.ts +6 -0
- package/dist/domain/roster/patient-roster-added-by.d.ts.map +1 -0
- package/dist/domain/roster/patient-roster-added-by.js +19 -0
- package/dist/domain/roster/patient-roster-added-by.js.map +1 -0
- package/dist/domain/roster/patient-roster.d.ts +5 -1
- package/dist/domain/roster/patient-roster.d.ts.map +1 -1
- package/dist/domain/tcm-encounter.d.ts +2 -2
- package/dist/external/hl7v2/constants.d.ts +8 -1
- package/dist/external/hl7v2/constants.d.ts.map +1 -1
- package/dist/external/hl7v2/constants.js +21 -1
- package/dist/external/hl7v2/constants.js.map +1 -1
- package/dist/index.d.ts +15 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -13
- package/dist/index.js.map +1 -1
- package/dist/interface/external/ehr/canvas/cx-mapping.d.ts +0 -3
- package/dist/interface/external/ehr/canvas/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/canvas/cx-mapping.js +0 -1
- package/dist/interface/external/ehr/canvas/cx-mapping.js.map +1 -1
- package/dist/interface/external/ehr/eclinicalworks/jwt-token.d.ts +2 -2
- package/dist/interface/external/ehr/elation/jwt-token.d.ts +2 -2
- package/dist/interface/external/ehr/healthie/cx-mapping.d.ts +432 -7
- package/dist/interface/external/ehr/healthie/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/healthie/cx-mapping.js +20 -4
- package/dist/interface/external/ehr/healthie/cx-mapping.js.map +1 -1
- package/dist/interface/external/ehr/healthie/event.d.ts +14 -0
- package/dist/interface/external/ehr/healthie/event.d.ts.map +1 -1
- package/dist/interface/external/ehr/healthie/event.js +6 -1
- package/dist/interface/external/ehr/healthie/event.js.map +1 -1
- package/dist/interface/external/ehr/healthie/form-answer-group.d.ts +605 -0
- package/dist/interface/external/ehr/healthie/form-answer-group.d.ts.map +1 -0
- package/dist/interface/external/ehr/healthie/form-answer-group.js +51 -0
- package/dist/interface/external/ehr/healthie/form-answer-group.js.map +1 -0
- package/dist/interface/external/ehr/healthie/index.d.ts +1 -0
- package/dist/interface/external/ehr/healthie/index.d.ts.map +1 -1
- package/dist/interface/external/ehr/healthie/index.js +1 -0
- package/dist/interface/external/ehr/healthie/index.js.map +1 -1
- package/dist/interface/external/ehr/healthie/jwt-token.d.ts +2 -2
- package/dist/interface/external/ehr/healthie/patient.d.ts +121 -82
- package/dist/interface/external/ehr/healthie/patient.d.ts.map +1 -1
- package/dist/interface/external/ehr/healthie/patient.js +9 -6
- package/dist/interface/external/ehr/healthie/patient.js.map +1 -1
- package/dist/interface/external/ehr/healthie/subscription.d.ts +12 -3
- package/dist/interface/external/ehr/healthie/subscription.d.ts.map +1 -1
- package/dist/interface/external/ehr/healthie/subscription.js +20 -3
- package/dist/interface/external/ehr/healthie/subscription.js.map +1 -1
- package/dist/interface/external/ehr/practicefusion/jwt-token.d.ts +2 -2
- package/dist/interface/external/ehr/salesforce/jwt-token.d.ts +2 -2
- package/dist/interface/external/ehr/shared.d.ts +1053 -0
- package/dist/interface/external/ehr/shared.d.ts.map +1 -1
- package/dist/interface/external/ehr/shared.js +64 -2
- package/dist/interface/external/ehr/shared.js.map +1 -1
- package/dist/interface/external/ehr/source.d.ts +1 -0
- package/dist/interface/external/ehr/source.d.ts.map +1 -1
- package/dist/interface/external/ehr/source.js +2 -1
- package/dist/interface/external/ehr/source.js.map +1 -1
- package/dist/interface/external/surescripts/added-by.d.ts +8 -0
- package/dist/interface/external/surescripts/added-by.d.ts.map +1 -0
- package/dist/interface/external/surescripts/added-by.js +23 -0
- package/dist/interface/external/surescripts/added-by.js.map +1 -0
- package/dist/interface/external/surescripts/index.d.ts +2 -0
- package/dist/interface/external/surescripts/index.d.ts.map +1 -1
- package/dist/interface/external/surescripts/index.js +2 -0
- package/dist/interface/external/surescripts/index.js.map +1 -1
- package/dist/interface/external/surescripts/realtime-pulls/file-name.d.ts +15 -0
- package/dist/interface/external/surescripts/realtime-pulls/file-name.d.ts.map +1 -0
- package/dist/interface/external/surescripts/realtime-pulls/file-name.js +19 -0
- package/dist/interface/external/surescripts/realtime-pulls/file-name.js.map +1 -0
- package/dist/interface/external/surescripts/realtime-pulls/index.d.ts +3 -0
- package/dist/interface/external/surescripts/realtime-pulls/index.d.ts.map +1 -0
- package/dist/interface/external/surescripts/realtime-pulls/index.js +19 -0
- package/dist/interface/external/surescripts/realtime-pulls/index.js.map +1 -0
- package/dist/interface/external/surescripts/realtime-pulls/status-codes.d.ts +91 -0
- package/dist/interface/external/surescripts/realtime-pulls/status-codes.d.ts.map +1 -0
- package/dist/interface/external/surescripts/realtime-pulls/status-codes.js +64 -0
- package/dist/interface/external/surescripts/realtime-pulls/status-codes.js.map +1 -0
- package/dist/interface/external/surescripts/roster.d.ts +2 -0
- package/dist/interface/external/surescripts/roster.d.ts.map +1 -1
- package/dist/interface/external/surescripts/roster.js +12 -1
- package/dist/interface/external/surescripts/roster.js.map +1 -1
- package/dist/interface/internal/cohort.d.ts +124 -124
- package/dist/interface/internal/cohort.d.ts.map +1 -1
- package/dist/interface/internal/cohort.js +10 -6
- package/dist/interface/internal/cohort.js.map +1 -1
- package/dist/interface/internal/consolidated.d.ts +349 -6
- package/dist/interface/internal/consolidated.d.ts.map +1 -1
- package/dist/interface/internal/consolidated.js +22 -3
- package/dist/interface/internal/consolidated.js.map +1 -1
- package/dist/interface/internal/customer.d.ts +14 -0
- package/dist/interface/internal/customer.d.ts.map +1 -0
- package/dist/interface/internal/customer.js +28 -0
- package/dist/interface/internal/customer.js.map +1 -0
- package/dist/interface/internal/document-query.d.ts +4 -4
- package/dist/interface/internal/index.d.ts +1 -0
- package/dist/interface/internal/index.d.ts.map +1 -1
- package/dist/interface/internal/index.js +1 -0
- package/dist/interface/internal/index.js.map +1 -1
- package/dist/medical/webhook/webhook-request.d.ts +1239 -199
- package/dist/medical/webhook/webhook-request.d.ts.map +1 -1
- package/dist/medical/webhook/webhook-request.js +79 -4
- package/dist/medical/webhook/webhook-request.js.map +1 -1
- package/dist/net/__tests__/axios.d.ts +4 -4
- package/dist/util/base64.d.ts +14 -0
- package/dist/util/base64.d.ts.map +1 -1
- package/dist/util/base64.js +26 -1
- package/dist/util/base64.js.map +1 -1
- package/dist/util/index.d.ts +0 -2
- package/dist/util/index.d.ts.map +1 -1
- package/dist/util/index.js +0 -2
- package/dist/util/index.js.map +1 -1
- package/dist/util/stack-trace.d.ts +17 -0
- package/dist/util/stack-trace.d.ts.map +1 -0
- package/dist/util/stack-trace.js +33 -0
- package/dist/util/stack-trace.js.map +1 -0
- package/package.json +17 -4
- package/dist/util/__tests__/concurrency.test.d.ts +0 -2
- package/dist/util/__tests__/concurrency.test.d.ts.map +0 -1
- package/dist/util/__tests__/concurrency.test.js +0 -162
- package/dist/util/__tests__/concurrency.test.js.map +0 -1
- package/dist/util/__tests__/null-to-undefined.test.d.ts +0 -2
- package/dist/util/__tests__/null-to-undefined.test.d.ts.map +0 -1
- package/dist/util/__tests__/null-to-undefined.test.js +0 -60
- package/dist/util/__tests__/null-to-undefined.test.js.map +0 -1
- package/dist/util/concurrency.d.ts +0 -72
- package/dist/util/concurrency.d.ts.map +0 -1
- package/dist/util/concurrency.js +0 -87
- package/dist/util/concurrency.js.map +0 -1
- package/dist/util/null-to-undefined.d.ts +0 -2
- package/dist/util/null-to-undefined.d.ts.map +0 -1
- package/dist/util/null-to-undefined.js +0 -31
- package/dist/util/null-to-undefined.js.map +0 -1
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Per–form-template consent for contributing resources to Healthie: keys are Healthie custom
|
|
4
|
+
* module form template ids; values are the single expected answer string.
|
|
5
|
+
*/
|
|
6
|
+
export declare const contributionConsentFormTemplateIdAnswerSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7
|
+
export type ContributionConsentFormTemplateIdAnswer = z.infer<typeof contributionConsentFormTemplateIdAnswerSchema>;
|
|
8
|
+
export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9
|
+
patientLinkingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
webhooks: z.ZodOptional<z.ZodRecord<z.ZodEnum<["appointment.created", "patient.created", "patient.updated", "form_answer_group.locked", "form_answer_group.signed", "goal.created", "diagnosis.created"]>, z.ZodObject<{
|
|
4
11
|
url: z.ZodString;
|
|
5
12
|
secretKey: z.ZodString;
|
|
6
13
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14,11 +21,17 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
14
21
|
webhookPatientPatientProcessingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
15
22
|
webhookAppointmentPatientLinkingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
16
23
|
webhookAppointmentPatientProcessingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
+
webhookPatientCreatedDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
+
webhookPatientUpdatedDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
webhookDiagnosisCreatedDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
webhookFormAnswerGroupLockedDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
webhookFormAnswerGroupSignedDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
+
webhookGoalCreatedDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
17
30
|
backgroundAppointmentsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
18
31
|
backgroundAppointmentPatientProcessingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
19
32
|
backgroundAppointments48hrEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
20
33
|
backgroundAppointment48hrPatientProcessingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
-
|
|
34
|
+
contributionConsentFormTemplateIdAnswer: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
22
35
|
}, {
|
|
23
36
|
writeBackEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
24
37
|
writeBackFilters: z.ZodOptional<z.ZodObject<{
|
|
@@ -346,8 +359,326 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
346
359
|
disabled?: boolean | undefined;
|
|
347
360
|
} | undefined;
|
|
348
361
|
}>>;
|
|
362
|
+
}>, {
|
|
363
|
+
contributionFilters: z.ZodOptional<z.ZodObject<{
|
|
364
|
+
diagnosticReport: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
365
|
+
optOut: z.ZodOptional<z.ZodObject<{
|
|
366
|
+
extensionValue: z.ZodOptional<z.ZodObject<{
|
|
367
|
+
url: z.ZodString;
|
|
368
|
+
values: z.ZodArray<z.ZodString, "many">;
|
|
369
|
+
}, "strip", z.ZodTypeAny, {
|
|
370
|
+
url: string;
|
|
371
|
+
values: string[];
|
|
372
|
+
}, {
|
|
373
|
+
url: string;
|
|
374
|
+
values: string[];
|
|
375
|
+
}>>;
|
|
376
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
377
|
+
practitioners: z.ZodOptional<z.ZodObject<{
|
|
378
|
+
mustHaveAtLeastOnePractitioner: z.ZodOptional<z.ZodBoolean>;
|
|
379
|
+
practitionerIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
380
|
+
}, "strip", z.ZodTypeAny, {
|
|
381
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
382
|
+
practitionerIds?: string[] | undefined;
|
|
383
|
+
}, {
|
|
384
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
385
|
+
practitionerIds?: string[] | undefined;
|
|
386
|
+
}>>;
|
|
387
|
+
}, "strip", z.ZodTypeAny, {
|
|
388
|
+
disabled?: boolean | undefined;
|
|
389
|
+
extensionValue?: {
|
|
390
|
+
url: string;
|
|
391
|
+
values: string[];
|
|
392
|
+
} | undefined;
|
|
393
|
+
practitioners?: {
|
|
394
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
395
|
+
practitionerIds?: string[] | undefined;
|
|
396
|
+
} | undefined;
|
|
397
|
+
}, {
|
|
398
|
+
disabled?: boolean | undefined;
|
|
399
|
+
extensionValue?: {
|
|
400
|
+
url: string;
|
|
401
|
+
values: string[];
|
|
402
|
+
} | undefined;
|
|
403
|
+
practitioners?: {
|
|
404
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
405
|
+
practitionerIds?: string[] | undefined;
|
|
406
|
+
} | undefined;
|
|
407
|
+
}>>;
|
|
408
|
+
optIn: z.ZodOptional<z.ZodObject<{
|
|
409
|
+
extensionValue: z.ZodOptional<z.ZodObject<{
|
|
410
|
+
url: z.ZodString;
|
|
411
|
+
values: z.ZodArray<z.ZodString, "many">;
|
|
412
|
+
}, "strip", z.ZodTypeAny, {
|
|
413
|
+
url: string;
|
|
414
|
+
values: string[];
|
|
415
|
+
}, {
|
|
416
|
+
url: string;
|
|
417
|
+
values: string[];
|
|
418
|
+
}>>;
|
|
419
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
420
|
+
practitioners: z.ZodOptional<z.ZodObject<{
|
|
421
|
+
mustHaveAtLeastOnePractitioner: z.ZodOptional<z.ZodBoolean>;
|
|
422
|
+
practitionerIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
423
|
+
}, "strip", z.ZodTypeAny, {
|
|
424
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
425
|
+
practitionerIds?: string[] | undefined;
|
|
426
|
+
}, {
|
|
427
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
428
|
+
practitionerIds?: string[] | undefined;
|
|
429
|
+
}>>;
|
|
430
|
+
}, "strip", z.ZodTypeAny, {
|
|
431
|
+
disabled?: boolean | undefined;
|
|
432
|
+
extensionValue?: {
|
|
433
|
+
url: string;
|
|
434
|
+
values: string[];
|
|
435
|
+
} | undefined;
|
|
436
|
+
practitioners?: {
|
|
437
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
438
|
+
practitionerIds?: string[] | undefined;
|
|
439
|
+
} | undefined;
|
|
440
|
+
}, {
|
|
441
|
+
disabled?: boolean | undefined;
|
|
442
|
+
extensionValue?: {
|
|
443
|
+
url: string;
|
|
444
|
+
values: string[];
|
|
445
|
+
} | undefined;
|
|
446
|
+
practitioners?: {
|
|
447
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
448
|
+
practitionerIds?: string[] | undefined;
|
|
449
|
+
} | undefined;
|
|
450
|
+
}>>;
|
|
451
|
+
}, "strip", z.ZodTypeAny, {
|
|
452
|
+
optOut?: {
|
|
453
|
+
disabled?: boolean | undefined;
|
|
454
|
+
extensionValue?: {
|
|
455
|
+
url: string;
|
|
456
|
+
values: string[];
|
|
457
|
+
} | undefined;
|
|
458
|
+
practitioners?: {
|
|
459
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
460
|
+
practitionerIds?: string[] | undefined;
|
|
461
|
+
} | undefined;
|
|
462
|
+
} | undefined;
|
|
463
|
+
optIn?: {
|
|
464
|
+
disabled?: boolean | undefined;
|
|
465
|
+
extensionValue?: {
|
|
466
|
+
url: string;
|
|
467
|
+
values: string[];
|
|
468
|
+
} | undefined;
|
|
469
|
+
practitioners?: {
|
|
470
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
471
|
+
practitionerIds?: string[] | undefined;
|
|
472
|
+
} | undefined;
|
|
473
|
+
} | undefined;
|
|
474
|
+
}, {
|
|
475
|
+
optOut?: {
|
|
476
|
+
disabled?: boolean | undefined;
|
|
477
|
+
extensionValue?: {
|
|
478
|
+
url: string;
|
|
479
|
+
values: string[];
|
|
480
|
+
} | undefined;
|
|
481
|
+
practitioners?: {
|
|
482
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
483
|
+
practitionerIds?: string[] | undefined;
|
|
484
|
+
} | undefined;
|
|
485
|
+
} | undefined;
|
|
486
|
+
optIn?: {
|
|
487
|
+
disabled?: boolean | undefined;
|
|
488
|
+
extensionValue?: {
|
|
489
|
+
url: string;
|
|
490
|
+
values: string[];
|
|
491
|
+
} | undefined;
|
|
492
|
+
practitioners?: {
|
|
493
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
494
|
+
practitionerIds?: string[] | undefined;
|
|
495
|
+
} | undefined;
|
|
496
|
+
} | undefined;
|
|
497
|
+
}>, {
|
|
498
|
+
optOut?: {
|
|
499
|
+
disabled?: boolean | undefined;
|
|
500
|
+
extensionValue?: {
|
|
501
|
+
url: string;
|
|
502
|
+
values: string[];
|
|
503
|
+
} | undefined;
|
|
504
|
+
practitioners?: {
|
|
505
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
506
|
+
practitionerIds?: string[] | undefined;
|
|
507
|
+
} | undefined;
|
|
508
|
+
} | undefined;
|
|
509
|
+
optIn?: {
|
|
510
|
+
disabled?: boolean | undefined;
|
|
511
|
+
extensionValue?: {
|
|
512
|
+
url: string;
|
|
513
|
+
values: string[];
|
|
514
|
+
} | undefined;
|
|
515
|
+
practitioners?: {
|
|
516
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
517
|
+
practitionerIds?: string[] | undefined;
|
|
518
|
+
} | undefined;
|
|
519
|
+
} | undefined;
|
|
520
|
+
}, {
|
|
521
|
+
optOut?: {
|
|
522
|
+
disabled?: boolean | undefined;
|
|
523
|
+
extensionValue?: {
|
|
524
|
+
url: string;
|
|
525
|
+
values: string[];
|
|
526
|
+
} | undefined;
|
|
527
|
+
practitioners?: {
|
|
528
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
529
|
+
practitionerIds?: string[] | undefined;
|
|
530
|
+
} | undefined;
|
|
531
|
+
} | undefined;
|
|
532
|
+
optIn?: {
|
|
533
|
+
disabled?: boolean | undefined;
|
|
534
|
+
extensionValue?: {
|
|
535
|
+
url: string;
|
|
536
|
+
values: string[];
|
|
537
|
+
} | undefined;
|
|
538
|
+
practitioners?: {
|
|
539
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
540
|
+
practitionerIds?: string[] | undefined;
|
|
541
|
+
} | undefined;
|
|
542
|
+
} | undefined;
|
|
543
|
+
}>>;
|
|
544
|
+
problem: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
545
|
+
optOut: z.ZodOptional<z.ZodObject<{
|
|
546
|
+
stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
547
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
548
|
+
}, "strip", z.ZodTypeAny, {
|
|
549
|
+
disabled?: boolean | undefined;
|
|
550
|
+
stringFilters?: string[] | undefined;
|
|
551
|
+
}, {
|
|
552
|
+
disabled?: boolean | undefined;
|
|
553
|
+
stringFilters?: string[] | undefined;
|
|
554
|
+
}>>;
|
|
555
|
+
optIn: z.ZodOptional<z.ZodObject<{
|
|
556
|
+
stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
557
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
558
|
+
}, "strip", z.ZodTypeAny, {
|
|
559
|
+
disabled?: boolean | undefined;
|
|
560
|
+
stringFilters?: string[] | undefined;
|
|
561
|
+
}, {
|
|
562
|
+
disabled?: boolean | undefined;
|
|
563
|
+
stringFilters?: string[] | undefined;
|
|
564
|
+
}>>;
|
|
565
|
+
}, "strip", z.ZodTypeAny, {
|
|
566
|
+
optOut?: {
|
|
567
|
+
disabled?: boolean | undefined;
|
|
568
|
+
stringFilters?: string[] | undefined;
|
|
569
|
+
} | undefined;
|
|
570
|
+
optIn?: {
|
|
571
|
+
disabled?: boolean | undefined;
|
|
572
|
+
stringFilters?: string[] | undefined;
|
|
573
|
+
} | undefined;
|
|
574
|
+
}, {
|
|
575
|
+
optOut?: {
|
|
576
|
+
disabled?: boolean | undefined;
|
|
577
|
+
stringFilters?: string[] | undefined;
|
|
578
|
+
} | undefined;
|
|
579
|
+
optIn?: {
|
|
580
|
+
disabled?: boolean | undefined;
|
|
581
|
+
stringFilters?: string[] | undefined;
|
|
582
|
+
} | undefined;
|
|
583
|
+
}>, {
|
|
584
|
+
optOut?: {
|
|
585
|
+
disabled?: boolean | undefined;
|
|
586
|
+
stringFilters?: string[] | undefined;
|
|
587
|
+
} | undefined;
|
|
588
|
+
optIn?: {
|
|
589
|
+
disabled?: boolean | undefined;
|
|
590
|
+
stringFilters?: string[] | undefined;
|
|
591
|
+
} | undefined;
|
|
592
|
+
}, {
|
|
593
|
+
optOut?: {
|
|
594
|
+
disabled?: boolean | undefined;
|
|
595
|
+
stringFilters?: string[] | undefined;
|
|
596
|
+
} | undefined;
|
|
597
|
+
optIn?: {
|
|
598
|
+
disabled?: boolean | undefined;
|
|
599
|
+
stringFilters?: string[] | undefined;
|
|
600
|
+
} | undefined;
|
|
601
|
+
}>>;
|
|
602
|
+
}, "strip", z.ZodTypeAny, {
|
|
603
|
+
problem?: {
|
|
604
|
+
optOut?: {
|
|
605
|
+
disabled?: boolean | undefined;
|
|
606
|
+
stringFilters?: string[] | undefined;
|
|
607
|
+
} | undefined;
|
|
608
|
+
optIn?: {
|
|
609
|
+
disabled?: boolean | undefined;
|
|
610
|
+
stringFilters?: string[] | undefined;
|
|
611
|
+
} | undefined;
|
|
612
|
+
} | undefined;
|
|
613
|
+
diagnosticReport?: {
|
|
614
|
+
optOut?: {
|
|
615
|
+
disabled?: boolean | undefined;
|
|
616
|
+
extensionValue?: {
|
|
617
|
+
url: string;
|
|
618
|
+
values: string[];
|
|
619
|
+
} | undefined;
|
|
620
|
+
practitioners?: {
|
|
621
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
622
|
+
practitionerIds?: string[] | undefined;
|
|
623
|
+
} | undefined;
|
|
624
|
+
} | undefined;
|
|
625
|
+
optIn?: {
|
|
626
|
+
disabled?: boolean | undefined;
|
|
627
|
+
extensionValue?: {
|
|
628
|
+
url: string;
|
|
629
|
+
values: string[];
|
|
630
|
+
} | undefined;
|
|
631
|
+
practitioners?: {
|
|
632
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
633
|
+
practitionerIds?: string[] | undefined;
|
|
634
|
+
} | undefined;
|
|
635
|
+
} | undefined;
|
|
636
|
+
} | undefined;
|
|
637
|
+
}, {
|
|
638
|
+
problem?: {
|
|
639
|
+
optOut?: {
|
|
640
|
+
disabled?: boolean | undefined;
|
|
641
|
+
stringFilters?: string[] | undefined;
|
|
642
|
+
} | undefined;
|
|
643
|
+
optIn?: {
|
|
644
|
+
disabled?: boolean | undefined;
|
|
645
|
+
stringFilters?: string[] | undefined;
|
|
646
|
+
} | undefined;
|
|
647
|
+
} | undefined;
|
|
648
|
+
diagnosticReport?: {
|
|
649
|
+
optOut?: {
|
|
650
|
+
disabled?: boolean | undefined;
|
|
651
|
+
extensionValue?: {
|
|
652
|
+
url: string;
|
|
653
|
+
values: string[];
|
|
654
|
+
} | undefined;
|
|
655
|
+
practitioners?: {
|
|
656
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
657
|
+
practitionerIds?: string[] | undefined;
|
|
658
|
+
} | undefined;
|
|
659
|
+
} | undefined;
|
|
660
|
+
optIn?: {
|
|
661
|
+
disabled?: boolean | undefined;
|
|
662
|
+
extensionValue?: {
|
|
663
|
+
url: string;
|
|
664
|
+
values: string[];
|
|
665
|
+
} | undefined;
|
|
666
|
+
practitioners?: {
|
|
667
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
668
|
+
practitionerIds?: string[] | undefined;
|
|
669
|
+
} | undefined;
|
|
670
|
+
} | undefined;
|
|
671
|
+
} | undefined;
|
|
672
|
+
}>>;
|
|
673
|
+
}>, {
|
|
674
|
+
contributionDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
675
|
+
pickedContributionResourceTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
349
676
|
}>, {
|
|
350
677
|
sendDocumentQueryWebhookEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
678
|
+
}>, {
|
|
679
|
+
dqDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
680
|
+
}>, {
|
|
681
|
+
backgroundContributionWebhookTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
351
682
|
}>, "strip", z.ZodTypeAny, {
|
|
352
683
|
writeBackEnabled?: boolean | undefined;
|
|
353
684
|
writeBackFilters?: {
|
|
@@ -414,9 +745,49 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
414
745
|
} | undefined;
|
|
415
746
|
} | undefined;
|
|
416
747
|
sendDocumentQueryWebhookEnabled?: boolean | undefined;
|
|
748
|
+
contributionFilters?: {
|
|
749
|
+
problem?: {
|
|
750
|
+
optOut?: {
|
|
751
|
+
disabled?: boolean | undefined;
|
|
752
|
+
stringFilters?: string[] | undefined;
|
|
753
|
+
} | undefined;
|
|
754
|
+
optIn?: {
|
|
755
|
+
disabled?: boolean | undefined;
|
|
756
|
+
stringFilters?: string[] | undefined;
|
|
757
|
+
} | undefined;
|
|
758
|
+
} | undefined;
|
|
759
|
+
diagnosticReport?: {
|
|
760
|
+
optOut?: {
|
|
761
|
+
disabled?: boolean | undefined;
|
|
762
|
+
extensionValue?: {
|
|
763
|
+
url: string;
|
|
764
|
+
values: string[];
|
|
765
|
+
} | undefined;
|
|
766
|
+
practitioners?: {
|
|
767
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
768
|
+
practitionerIds?: string[] | undefined;
|
|
769
|
+
} | undefined;
|
|
770
|
+
} | undefined;
|
|
771
|
+
optIn?: {
|
|
772
|
+
disabled?: boolean | undefined;
|
|
773
|
+
extensionValue?: {
|
|
774
|
+
url: string;
|
|
775
|
+
values: string[];
|
|
776
|
+
} | undefined;
|
|
777
|
+
practitioners?: {
|
|
778
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
779
|
+
practitionerIds?: string[] | undefined;
|
|
780
|
+
} | undefined;
|
|
781
|
+
} | undefined;
|
|
782
|
+
} | undefined;
|
|
783
|
+
} | undefined;
|
|
784
|
+
contributionDisabled?: boolean | undefined;
|
|
785
|
+
pickedContributionResourceTypes?: string[] | undefined;
|
|
786
|
+
dqDisabled?: boolean | undefined;
|
|
787
|
+
backgroundContributionWebhookTypes?: string[] | undefined;
|
|
417
788
|
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
418
789
|
webhookPatientPatientProcessingEnabled?: boolean | undefined;
|
|
419
|
-
webhooks?: Partial<Record<"appointment.created" | "patient.created", {
|
|
790
|
+
webhooks?: Partial<Record<"appointment.created" | "patient.created" | "patient.updated" | "form_answer_group.locked" | "form_answer_group.signed" | "goal.created" | "diagnosis.created", {
|
|
420
791
|
url: string;
|
|
421
792
|
secretKey: string;
|
|
422
793
|
}>> | undefined;
|
|
@@ -424,9 +795,16 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
424
795
|
webhookAppointmentPatientLinkingDisabled?: boolean | undefined;
|
|
425
796
|
webhookAppointmentPatientProcessingDisabled?: boolean | undefined;
|
|
426
797
|
backgroundAppointmentPatientProcessingDisabled?: boolean | undefined;
|
|
798
|
+
patientLinkingDisabled?: boolean | undefined;
|
|
799
|
+
webhookPatientCreatedDisabled?: boolean | undefined;
|
|
800
|
+
webhookPatientUpdatedDisabled?: boolean | undefined;
|
|
801
|
+
webhookDiagnosisCreatedDisabled?: boolean | undefined;
|
|
802
|
+
webhookFormAnswerGroupLockedDisabled?: boolean | undefined;
|
|
803
|
+
webhookFormAnswerGroupSignedDisabled?: boolean | undefined;
|
|
804
|
+
webhookGoalCreatedDisabled?: boolean | undefined;
|
|
427
805
|
backgroundAppointments48hrEnabled?: boolean | undefined;
|
|
428
806
|
backgroundAppointment48hrPatientProcessingDisabled?: boolean | undefined;
|
|
429
|
-
|
|
807
|
+
contributionConsentFormTemplateIdAnswer?: Record<string, string> | undefined;
|
|
430
808
|
}, {
|
|
431
809
|
writeBackEnabled?: boolean | undefined;
|
|
432
810
|
writeBackFilters?: {
|
|
@@ -493,9 +871,49 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
493
871
|
} | undefined;
|
|
494
872
|
} | undefined;
|
|
495
873
|
sendDocumentQueryWebhookEnabled?: boolean | undefined;
|
|
874
|
+
contributionFilters?: {
|
|
875
|
+
problem?: {
|
|
876
|
+
optOut?: {
|
|
877
|
+
disabled?: boolean | undefined;
|
|
878
|
+
stringFilters?: string[] | undefined;
|
|
879
|
+
} | undefined;
|
|
880
|
+
optIn?: {
|
|
881
|
+
disabled?: boolean | undefined;
|
|
882
|
+
stringFilters?: string[] | undefined;
|
|
883
|
+
} | undefined;
|
|
884
|
+
} | undefined;
|
|
885
|
+
diagnosticReport?: {
|
|
886
|
+
optOut?: {
|
|
887
|
+
disabled?: boolean | undefined;
|
|
888
|
+
extensionValue?: {
|
|
889
|
+
url: string;
|
|
890
|
+
values: string[];
|
|
891
|
+
} | undefined;
|
|
892
|
+
practitioners?: {
|
|
893
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
894
|
+
practitionerIds?: string[] | undefined;
|
|
895
|
+
} | undefined;
|
|
896
|
+
} | undefined;
|
|
897
|
+
optIn?: {
|
|
898
|
+
disabled?: boolean | undefined;
|
|
899
|
+
extensionValue?: {
|
|
900
|
+
url: string;
|
|
901
|
+
values: string[];
|
|
902
|
+
} | undefined;
|
|
903
|
+
practitioners?: {
|
|
904
|
+
mustHaveAtLeastOnePractitioner?: boolean | undefined;
|
|
905
|
+
practitionerIds?: string[] | undefined;
|
|
906
|
+
} | undefined;
|
|
907
|
+
} | undefined;
|
|
908
|
+
} | undefined;
|
|
909
|
+
} | undefined;
|
|
910
|
+
contributionDisabled?: boolean | undefined;
|
|
911
|
+
pickedContributionResourceTypes?: string[] | undefined;
|
|
912
|
+
dqDisabled?: boolean | undefined;
|
|
913
|
+
backgroundContributionWebhookTypes?: string[] | undefined;
|
|
496
914
|
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
497
915
|
webhookPatientPatientProcessingEnabled?: boolean | undefined;
|
|
498
|
-
webhooks?: Partial<Record<"appointment.created" | "patient.created", {
|
|
916
|
+
webhooks?: Partial<Record<"appointment.created" | "patient.created" | "patient.updated" | "form_answer_group.locked" | "form_answer_group.signed" | "goal.created" | "diagnosis.created", {
|
|
499
917
|
url: string;
|
|
500
918
|
secretKey: string;
|
|
501
919
|
}>> | undefined;
|
|
@@ -503,9 +921,16 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
503
921
|
webhookAppointmentPatientLinkingDisabled?: boolean | undefined;
|
|
504
922
|
webhookAppointmentPatientProcessingDisabled?: boolean | undefined;
|
|
505
923
|
backgroundAppointmentPatientProcessingDisabled?: boolean | undefined;
|
|
924
|
+
patientLinkingDisabled?: boolean | undefined;
|
|
925
|
+
webhookPatientCreatedDisabled?: boolean | undefined;
|
|
926
|
+
webhookPatientUpdatedDisabled?: boolean | undefined;
|
|
927
|
+
webhookDiagnosisCreatedDisabled?: boolean | undefined;
|
|
928
|
+
webhookFormAnswerGroupLockedDisabled?: boolean | undefined;
|
|
929
|
+
webhookFormAnswerGroupSignedDisabled?: boolean | undefined;
|
|
930
|
+
webhookGoalCreatedDisabled?: boolean | undefined;
|
|
506
931
|
backgroundAppointments48hrEnabled?: boolean | undefined;
|
|
507
932
|
backgroundAppointment48hrPatientProcessingDisabled?: boolean | undefined;
|
|
508
|
-
|
|
933
|
+
contributionConsentFormTemplateIdAnswer?: Record<string, string> | undefined;
|
|
509
934
|
}>;
|
|
510
935
|
export type HealthieSecondaryMappings = z.infer<typeof healthieSecondaryMappingsSchema>;
|
|
511
936
|
//# sourceMappingURL=cx-mapping.d.ts.map
|
|
@@ -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;
|
|
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;AAgBxB;;;GAGG;AACH,eAAO,MAAM,6CAA6C,uCAGzD,CAAC;AACF,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAC3D,OAAO,6CAA6C,CACrD,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BM,CAAC;AACnD,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
|
@@ -1,26 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.healthieSecondaryMappingsSchema = void 0;
|
|
3
|
+
exports.healthieSecondaryMappingsSchema = exports.contributionConsentFormTemplateIdAnswerSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const subscription_1 = require("./subscription");
|
|
6
5
|
const shared_1 = require("../shared");
|
|
6
|
+
const subscription_1 = require("./subscription");
|
|
7
7
|
const webhookSchema = zod_1.z.object({
|
|
8
8
|
url: zod_1.z.string(),
|
|
9
9
|
secretKey: zod_1.z.string(),
|
|
10
10
|
});
|
|
11
|
+
/**
|
|
12
|
+
* Per–form-template consent for contributing resources to Healthie: keys are Healthie custom
|
|
13
|
+
* module form template ids; values are the single expected answer string.
|
|
14
|
+
*/
|
|
15
|
+
exports.contributionConsentFormTemplateIdAnswerSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.string().min(1));
|
|
11
16
|
exports.healthieSecondaryMappingsSchema = zod_1.z
|
|
12
17
|
.object({
|
|
18
|
+
patientLinkingDisabled: zod_1.z.boolean().optional(),
|
|
13
19
|
webhooks: zod_1.z.record(zod_1.z.enum(subscription_1.subscriptionResources), webhookSchema).optional(),
|
|
14
20
|
webhookPatientPatientLinkingDisabled: zod_1.z.boolean().optional(),
|
|
15
21
|
webhookPatientPatientProcessingEnabled: zod_1.z.boolean().optional(),
|
|
16
22
|
webhookAppointmentPatientLinkingDisabled: zod_1.z.boolean().optional(),
|
|
17
23
|
webhookAppointmentPatientProcessingDisabled: zod_1.z.boolean().optional(),
|
|
24
|
+
webhookPatientCreatedDisabled: zod_1.z.boolean().optional(),
|
|
25
|
+
webhookPatientUpdatedDisabled: zod_1.z.boolean().optional(),
|
|
26
|
+
webhookDiagnosisCreatedDisabled: zod_1.z.boolean().optional(),
|
|
27
|
+
webhookFormAnswerGroupLockedDisabled: zod_1.z.boolean().optional(),
|
|
28
|
+
webhookFormAnswerGroupSignedDisabled: zod_1.z.boolean().optional(),
|
|
29
|
+
webhookGoalCreatedDisabled: zod_1.z.boolean().optional(),
|
|
18
30
|
backgroundAppointmentsDisabled: zod_1.z.boolean().optional(),
|
|
19
31
|
backgroundAppointmentPatientProcessingDisabled: zod_1.z.boolean().optional(),
|
|
20
32
|
backgroundAppointments48hrEnabled: zod_1.z.boolean().optional(),
|
|
21
33
|
backgroundAppointment48hrPatientProcessingDisabled: zod_1.z.boolean().optional(),
|
|
22
|
-
|
|
34
|
+
contributionConsentFormTemplateIdAnswer: exports.contributionConsentFormTemplateIdAnswerSchema.optional(),
|
|
23
35
|
})
|
|
24
36
|
.merge(shared_1.writeBackFiltersSchema)
|
|
25
|
-
.merge(shared_1.
|
|
37
|
+
.merge(shared_1.contributionFiltersSchema)
|
|
38
|
+
.merge(shared_1.generalContributionFiltersSchema)
|
|
39
|
+
.merge(shared_1.documentQueryWebhookFiltersSchema)
|
|
40
|
+
.merge(shared_1.dqDisabledFiltersSchema)
|
|
41
|
+
.merge(shared_1.backgroundContributionWebhookTypesSchema);
|
|
26
42
|
//# sourceMappingURL=cx-mapping.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cx-mapping.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/cx-mapping.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"cx-mapping.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/cx-mapping.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sCAOmB;AACnB,iDAAuD;AAEvD,MAAM,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAEH;;;GAGG;AACU,QAAA,6CAA6C,GAAG,OAAC,CAAC,MAAM,CACnE,OAAC,CAAC,MAAM,EAAE,EACV,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAClB,CAAC;AAKW,QAAA,+BAA+B,GAAG,OAAC;KAC7C,MAAM,CAAC;IACN,sBAAsB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9C,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,IAAI,CAAC,oCAAqB,CAAC,EAAE,aAAa,CAAC,CAAC,QAAQ,EAAE;IAC3E,oCAAoC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC5D,sCAAsC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9D,wCAAwC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChE,2CAA2C,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnE,6BAA6B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACrD,6BAA6B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACrD,+BAA+B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACvD,oCAAoC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC5D,oCAAoC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC5D,0BAA0B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAClD,8BAA8B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtD,8CAA8C,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtE,iCAAiC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACzD,kDAAkD,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC1E,uCAAuC,EACrC,qDAA6C,CAAC,QAAQ,EAAE;CAC3D,CAAC;KACD,KAAK,CAAC,+BAAsB,CAAC;KAC7B,KAAK,CAAC,kCAAyB,CAAC;KAChC,KAAK,CAAC,yCAAgC,CAAC;KACvC,KAAK,CAAC,0CAAiC,CAAC;KACxC,KAAK,CAAC,gCAAuB,CAAC;KAC9B,KAAK,CAAC,iDAAwC,CAAC,CAAC"}
|
|
@@ -27,4 +27,18 @@ export declare const healthiePatientCreatedEventSchema: z.ZodObject<{
|
|
|
27
27
|
resource_id_type: string;
|
|
28
28
|
}>;
|
|
29
29
|
export type HealthiePatientCreatedEvent = z.infer<typeof healthiePatientCreatedEventSchema>;
|
|
30
|
+
export declare const healthieGeneralEventSchema: z.ZodObject<{
|
|
31
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
32
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
33
|
+
event_type: z.ZodString;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
event_type: string;
|
|
36
|
+
resource_id?: string | undefined;
|
|
37
|
+
user_id?: string | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
event_type: string;
|
|
40
|
+
resource_id?: string | undefined;
|
|
41
|
+
user_id?: string | undefined;
|
|
42
|
+
}>;
|
|
43
|
+
export type HealthieGeneralEvent = z.infer<typeof healthieGeneralEventSchema>;
|
|
30
44
|
//# sourceMappingURL=event.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;EAIhD,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEpG,eAAO,MAAM,iCAAiC;;;;;;;;;;;;EAI5C,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;EAIhD,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEpG,eAAO,MAAM,iCAAiC;;;;;;;;;;;;EAI5C,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.healthiePatientCreatedEventSchema = exports.healthieAppointmentCreatedEventSchema = void 0;
|
|
3
|
+
exports.healthieGeneralEventSchema = exports.healthiePatientCreatedEventSchema = exports.healthieAppointmentCreatedEventSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.healthieAppointmentCreatedEventSchema = zod_1.z.object({
|
|
6
6
|
resource_id: zod_1.z.coerce.string(),
|
|
@@ -12,4 +12,9 @@ exports.healthiePatientCreatedEventSchema = zod_1.z.object({
|
|
|
12
12
|
resource_id_type: zod_1.z.string(),
|
|
13
13
|
event_type: zod_1.z.literal("patient.created"),
|
|
14
14
|
});
|
|
15
|
+
exports.healthieGeneralEventSchema = zod_1.z.object({
|
|
16
|
+
resource_id: zod_1.z.coerce.string().optional(),
|
|
17
|
+
user_id: zod_1.z.coerce.string().optional(),
|
|
18
|
+
event_type: zod_1.z.string(),
|
|
19
|
+
});
|
|
15
20
|
//# sourceMappingURL=event.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/event.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,qCAAqC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5D,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC9B,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,UAAU,EAAE,OAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;CAC7C,CAAC,CAAC;AAGU,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC9B,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,UAAU,EAAE,OAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;CACzC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/event.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,qCAAqC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5D,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC9B,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,UAAU,EAAE,OAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;CAC7C,CAAC,CAAC;AAGU,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC9B,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,UAAU,EAAE,OAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;CACzC,CAAC,CAAC;AAGU,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC"}
|