@metriport/shared 0.33.0 → 0.33.1
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/__tests__/env-setup.js +17 -7
- package/dist/__tests__/env-setup.js.map +1 -1
- package/dist/common/__tests__/demographics.test.js +59 -3
- package/dist/common/__tests__/demographics.test.js.map +1 -1
- package/dist/common/__tests__/npi.js +1 -2
- package/dist/common/__tests__/npi.js.map +1 -1
- package/dist/common/__tests__/oid.js +1 -2
- package/dist/common/__tests__/oid.js.map +1 -1
- package/dist/common/__tests__/retry.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/__tests__/validate-npi.test.js.map +1 -1
- package/dist/common/array.js +1 -2
- package/dist/common/array.js.map +1 -1
- package/dist/common/boolean.js +2 -3
- package/dist/common/boolean.js.map +1 -1
- package/dist/common/date.js +18 -18
- package/dist/common/date.js.map +1 -1
- package/dist/common/demographics.d.ts +3 -3
- package/dist/common/demographics.d.ts.map +1 -1
- package/dist/common/demographics.js +26 -19
- package/dist/common/demographics.js.map +1 -1
- package/dist/common/duration.js +1 -2
- package/dist/common/duration.js.map +1 -1
- package/dist/common/email.js +1 -2
- package/dist/common/email.js.map +1 -1
- package/dist/common/env-var.js +7 -7
- package/dist/common/env-var.js.map +1 -1
- package/dist/common/filter-map.js +1 -2
- package/dist/common/filter-map.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 -2
- package/dist/common/general.js.map +1 -1
- package/dist/common/html.js +1 -2
- package/dist/common/html.js.map +1 -1
- package/dist/common/merge-settings.js +1 -2
- package/dist/common/merge-settings.js.map +1 -1
- package/dist/common/net.js +1 -2
- package/dist/common/net.js.map +1 -1
- package/dist/common/normalize-oid.js +2 -3
- package/dist/common/normalize-oid.js.map +1 -1
- package/dist/common/numbers.js +6 -7
- package/dist/common/numbers.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 +18 -2
- package/dist/common/purpose-of-use.js.map +1 -1
- package/dist/common/response.js +2 -3
- package/dist/common/response.js.map +1 -1
- package/dist/common/retry.js +4 -4
- package/dist/common/retry.js.map +1 -1
- package/dist/common/sleep.js +2 -3
- package/dist/common/sleep.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 +14 -6
- package/dist/common/string.js.map +1 -1
- package/dist/common/timer.d.ts.map +1 -1
- package/dist/common/timer.js +1 -2
- package/dist/common/timer.js.map +1 -1
- package/dist/common/title-case.js +2 -3
- package/dist/common/title-case.js.map +1 -1
- package/dist/common/types.js +2 -3
- package/dist/common/types.js.map +1 -1
- package/dist/common/uuid.js +1 -2
- package/dist/common/uuid.js.map +1 -1
- package/dist/common/validate-npi.js +1 -2
- package/dist/common/validate-npi.js.map +1 -1
- package/dist/common/xml-parser.js +1 -2
- package/dist/common/xml-parser.js.map +1 -1
- package/dist/common/zod.js.map +1 -1
- package/dist/domain/__tests__/dob.test.js.map +1 -1
- package/dist/domain/__tests__/gender.test.js.map +1 -1
- package/dist/domain/address/__tests__/country.test.js.map +1 -1
- package/dist/domain/address/__tests__/state.test.js.map +1 -1
- package/dist/domain/address/__tests__/territory.test.js.map +1 -1
- package/dist/domain/address/__tests__/zip.test.js +5 -5
- package/dist/domain/address/__tests__/zip.test.js.map +1 -1
- package/dist/domain/address/city.js +1 -2
- package/dist/domain/address/city.js.map +1 -1
- package/dist/domain/address/country.js +3 -3
- package/dist/domain/address/country.js.map +1 -1
- package/dist/domain/address/index.js +2 -3
- package/dist/domain/address/index.js.map +1 -1
- package/dist/domain/address/state.js +6 -6
- package/dist/domain/address/state.js.map +1 -1
- package/dist/domain/address/territory.js +4 -4
- package/dist/domain/address/territory.js.map +1 -1
- package/dist/domain/address/zip.js +7 -7
- package/dist/domain/address/zip.js.map +1 -1
- package/dist/domain/baseDto.js +1 -2
- package/dist/domain/baseDto.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 +14 -11
- package/dist/domain/cohort.js.map +1 -1
- package/dist/domain/consolidated/ai-brief-cache-mode.d.ts +11 -0
- package/dist/domain/consolidated/ai-brief-cache-mode.d.ts.map +1 -0
- package/dist/domain/consolidated/ai-brief-cache-mode.js +17 -0
- package/dist/domain/consolidated/ai-brief-cache-mode.js.map +1 -0
- package/dist/domain/consolidated/filename.d.ts +4 -0
- package/dist/domain/consolidated/filename.d.ts.map +1 -0
- package/dist/domain/consolidated/filename.js +7 -0
- package/dist/domain/consolidated/filename.js.map +1 -0
- package/dist/domain/consolidated/index.d.ts +4 -0
- package/dist/domain/consolidated/index.d.ts.map +1 -0
- package/dist/domain/consolidated/index.js +20 -0
- package/dist/domain/consolidated/index.js.map +1 -0
- 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 +8 -0
- package/dist/domain/consolidated/recreate/supported-event-types.d.ts.map +1 -0
- package/dist/domain/consolidated/recreate/supported-event-types.js +26 -0
- package/dist/domain/consolidated/recreate/supported-event-types.js.map +1 -0
- package/dist/domain/contact/__tests__/phone.test.js.map +1 -1
- package/dist/domain/contact/email.js +9 -9
- package/dist/domain/contact/email.js.map +1 -1
- package/dist/domain/contact/phone.js +7 -7
- package/dist/domain/contact/phone.js.map +1 -1
- package/dist/domain/cql-engine/transform.d.ts +2 -2
- package/dist/domain/cql-engine/transform.js.map +1 -1
- package/dist/domain/cursor-utils.js +3 -4
- package/dist/domain/cursor-utils.js.map +1 -1
- package/dist/domain/customer.d.ts +30 -24
- 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 +10 -5
- 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/dob.js +2 -3
- package/dist/domain/dob.js.map +1 -1
- package/dist/domain/externalId.js +1 -2
- package/dist/domain/externalId.js.map +1 -1
- package/dist/domain/gender.js +3 -3
- package/dist/domain/gender.js.map +1 -1
- package/dist/domain/job/job-status.d.ts.map +1 -1
- package/dist/domain/job/job-status.js +4 -4
- package/dist/domain/job/job-status.js.map +1 -1
- package/dist/domain/job/patient-job.d.ts.map +1 -1
- package/dist/domain/job/types.d.ts.map +1 -1
- package/dist/domain/job/types.js +2 -2
- package/dist/domain/job/types.js.map +1 -1
- package/dist/domain/metriport.d.ts.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 +308 -8
- 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 +439 -30
- package/dist/domain/network-query/source.d.ts.map +1 -1
- package/dist/domain/network-query/source.js +132 -18
- 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/organization.d.ts +20 -20
- package/dist/domain/organization.js +2 -2
- package/dist/domain/organization.js.map +1 -1
- package/dist/domain/pagination-v2.d.ts +24 -24
- package/dist/domain/pagination-v2.d.ts.map +1 -1
- package/dist/domain/pagination-v2.js +2 -2
- package/dist/domain/pagination-v2.js.map +1 -1
- package/dist/domain/pagination.d.ts +2 -2
- package/dist/domain/pagination.js +2 -2
- package/dist/domain/pagination.js.map +1 -1
- package/dist/domain/patient/__tests__/ssn.test.js.map +1 -1
- package/dist/domain/patient/patient-import/__tests__/status.test.js.map +1 -1
- package/dist/domain/patient/patient-import/__tests__/types.js +2 -3
- package/dist/domain/patient/patient-import/__tests__/types.js.map +1 -1
- package/dist/domain/patient/patient-import/create.js +2 -2
- package/dist/domain/patient/patient-import/create.js.map +1 -1
- package/dist/domain/patient/patient-import/metadata.js +2 -3
- package/dist/domain/patient/patient-import/metadata.js.map +1 -1
- package/dist/domain/patient/patient-import/schemas.d.ts +5 -5
- package/dist/domain/patient/patient-import/status.d.ts.map +1 -1
- package/dist/domain/patient/patient-import/status.js +3 -3
- package/dist/domain/patient/patient-import/status.js.map +1 -1
- package/dist/domain/patient/patient-import/types.d.ts.map +1 -1
- package/dist/domain/patient/patient-import/types.js +3 -3
- package/dist/domain/patient/patient-import/types.js.map +1 -1
- package/dist/domain/patient/patient-monitoring/discharge-requery.d.ts +137 -4
- package/dist/domain/patient/patient-monitoring/discharge-requery.d.ts.map +1 -1
- package/dist/domain/patient/patient-monitoring/discharge-requery.js +13 -3
- 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 +26 -10
- package/dist/domain/patient/patient-monitoring/utils.js.map +1 -1
- package/dist/domain/patient/patient-settings.d.ts +4 -4
- package/dist/domain/patient/patient-settings.js.map +1 -1
- package/dist/domain/patient/ssn.js +2 -3
- package/dist/domain/patient/ssn.js.map +1 -1
- package/dist/domain/patient-or-all.js +2 -2
- package/dist/domain/patient-or-all.js.map +1 -1
- package/dist/domain/patient.d.ts +24 -24
- 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 +12 -3
- 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/roster/roster-status.d.ts.map +1 -1
- package/dist/domain/roster/roster-status.js +5 -5
- package/dist/domain/roster/roster-status.js.map +1 -1
- package/dist/domain/tcm-encounter.d.ts +74 -74
- package/dist/domain/tcm-encounter.d.ts.map +1 -1
- package/dist/domain/tcm-encounter.js.map +1 -1
- package/dist/error/bad-request.d.ts.map +1 -1
- package/dist/error/bad-request.js.map +1 -1
- package/dist/error/metriport-error.d.ts.map +1 -1
- package/dist/error/metriport-error.js +2 -2
- package/dist/error/metriport-error.js.map +1 -1
- package/dist/error/not-found.d.ts.map +1 -1
- package/dist/error/not-found.js.map +1 -1
- package/dist/error/shared.js +5 -6
- package/dist/error/shared.js.map +1 -1
- package/dist/error/too-many-requests.d.ts.map +1 -1
- package/dist/error/too-many-requests.js.map +1 -1
- package/dist/external/ehr/practicefusion/shared.js +1 -2
- package/dist/external/ehr/practicefusion/shared.js.map +1 -1
- 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 +22 -2
- package/dist/external/hl7v2/constants.js.map +1 -1
- package/dist/external/ihe/constants.d.ts.map +1 -1
- package/dist/external/ihe/constants.js +50 -50
- package/dist/external/ihe/constants.js.map +1 -1
- package/dist/external/ihe/shared.js +4 -5
- package/dist/external/ihe/shared.js.map +1 -1
- package/dist/external/zod/__tests__/iso-date.test.js +32 -32
- package/dist/external/zod/__tests__/iso-date.test.js.map +1 -1
- package/dist/external/zod/date.js +2 -2
- package/dist/external/zod/date.js.map +1 -1
- package/dist/external/zod/string.d.ts +4 -4
- package/dist/external/zod/string.d.ts.map +1 -1
- package/dist/external/zod/string.js +4 -4
- package/dist/external/zod/string.js.map +1 -1
- package/dist/external/zod/us-state.js +1 -2
- package/dist/external/zod/us-state.js.map +1 -1
- package/dist/index.d.ts +15 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +35 -20
- package/dist/index.js.map +1 -1
- package/dist/interface/external/ehr/athenahealth/allergy.d.ts +12 -12
- package/dist/interface/external/ehr/athenahealth/allergy.js.map +1 -1
- package/dist/interface/external/ehr/athenahealth/appointment.d.ts +12 -12
- package/dist/interface/external/ehr/athenahealth/appointment.js.map +1 -1
- package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts +51 -51
- package/dist/interface/external/ehr/athenahealth/department.js.map +1 -1
- package/dist/interface/external/ehr/athenahealth/encounter.d.ts +4 -4
- package/dist/interface/external/ehr/athenahealth/family-history.d.ts +52 -52
- package/dist/interface/external/ehr/athenahealth/jwt-token.d.ts +4 -4
- package/dist/interface/external/ehr/athenahealth/jwt-token.js.map +1 -1
- package/dist/interface/external/ehr/athenahealth/patient.js.map +1 -1
- package/dist/interface/external/ehr/canvas/allergen.d.ts +2 -2
- package/dist/interface/external/ehr/canvas/appointment.d.ts +32 -32
- package/dist/interface/external/ehr/canvas/appointment.js.map +1 -1
- package/dist/interface/external/ehr/canvas/cx-mapping.d.ts +49 -52
- 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/canvas/external-event.d.ts +4 -4
- package/dist/interface/external/ehr/canvas/external-event.d.ts.map +1 -1
- package/dist/interface/external/ehr/canvas/external-event.js.map +1 -1
- package/dist/interface/external/ehr/canvas/jwt-token.d.ts +8 -8
- package/dist/interface/external/ehr/canvas/jwt-token.js.map +1 -1
- package/dist/interface/external/ehr/canvas/note.js.map +1 -1
- package/dist/interface/external/ehr/eclinicalworks/cx-mapping.d.ts +49 -49
- package/dist/interface/external/ehr/eclinicalworks/jwt-token.d.ts +2 -2
- package/dist/interface/external/ehr/eclinicalworks/jwt-token.js.map +1 -1
- package/dist/interface/external/ehr/elation/appointment.d.ts +8 -8
- package/dist/interface/external/ehr/elation/appointment.js.map +1 -1
- package/dist/interface/external/ehr/elation/cx-mapping.d.ts +55 -55
- package/dist/interface/external/ehr/elation/event.d.ts +25 -25
- package/dist/interface/external/ehr/elation/jwt-token.d.ts +4 -4
- package/dist/interface/external/ehr/elation/jwt-token.js.map +1 -1
- package/dist/interface/external/ehr/elation/patient.d.ts +18 -18
- package/dist/interface/external/ehr/elation/practice.d.ts +6 -6
- package/dist/interface/external/ehr/elation/practice.js.map +1 -1
- package/dist/interface/external/ehr/elation/subscription.d.ts +8 -8
- package/dist/interface/external/ehr/elation/subscription.d.ts.map +1 -1
- package/dist/interface/external/ehr/elation/subscription.js +2 -2
- package/dist/interface/external/ehr/elation/subscription.js.map +1 -1
- package/dist/interface/external/ehr/embed/jwt-token.d.ts +2 -2
- package/dist/interface/external/ehr/embed/jwt-token.js.map +1 -1
- package/dist/interface/external/ehr/fhir-resource.d.ts +38 -38
- package/dist/interface/external/ehr/fhir-resource.js +4 -4
- package/dist/interface/external/ehr/fhir-resource.js.map +1 -1
- package/dist/interface/external/ehr/healthie/allergy.d.ts +64 -64
- package/dist/interface/external/ehr/healthie/allergy.js.map +1 -1
- package/dist/interface/external/ehr/healthie/appointment.js.map +1 -1
- package/dist/interface/external/ehr/healthie/condition.d.ts +10 -10
- package/dist/interface/external/ehr/healthie/condition.js.map +1 -1
- package/dist/interface/external/ehr/healthie/cx-mapping.d.ts +485 -60
- 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 +18 -4
- 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/immunization.js.map +1 -1
- 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/jwt-token.js.map +1 -1
- package/dist/interface/external/ehr/healthie/lab.d.ts +64 -64
- package/dist/interface/external/ehr/healthie/lab.js.map +1 -1
- package/dist/interface/external/ehr/healthie/medication.d.ts +52 -52
- package/dist/interface/external/ehr/healthie/medication.js.map +1 -1
- package/dist/interface/external/ehr/healthie/patient.d.ts +145 -106
- 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 +30 -21
- package/dist/interface/external/ehr/healthie/subscription.d.ts.map +1 -1
- package/dist/interface/external/ehr/healthie/subscription.js +21 -4
- package/dist/interface/external/ehr/healthie/subscription.js.map +1 -1
- package/dist/interface/external/ehr/patient.d.ts +44 -44
- package/dist/interface/external/ehr/patient.js.map +1 -1
- package/dist/interface/external/ehr/practicefusion/appointment.d.ts +21 -21
- package/dist/interface/external/ehr/practicefusion/appointment.js.map +1 -1
- package/dist/interface/external/ehr/practicefusion/cx-mapping.d.ts +51 -51
- package/dist/interface/external/ehr/practicefusion/jwt-token.d.ts +4 -4
- package/dist/interface/external/ehr/practicefusion/jwt-token.js.map +1 -1
- package/dist/interface/external/ehr/practicefusion/refresh-token.d.ts +2 -2
- package/dist/interface/external/ehr/practitioner.d.ts +6 -6
- package/dist/interface/external/ehr/salesforce/cx-mapping.d.ts +49 -49
- package/dist/interface/external/ehr/salesforce/jwt-token.d.ts +3 -3
- package/dist/interface/external/ehr/salesforce/jwt-token.js.map +1 -1
- package/dist/interface/external/ehr/salesforce/patient.d.ts +4 -4
- package/dist/interface/external/ehr/salesforce/patient.js.map +1 -1
- package/dist/interface/external/ehr/shared.d.ts +1133 -80
- 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 +10 -9
- package/dist/interface/external/ehr/source.js.map +1 -1
- package/dist/interface/external/quest/roster.d.ts.map +1 -1
- package/dist/interface/external/quest/roster.js +6 -6
- package/dist/interface/external/quest/roster.js.map +1 -1
- package/dist/interface/external/quest/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/code-list-qualifier.d.ts.map +1 -1
- package/dist/interface/external/surescripts/dea-schedule.d.ts.map +1 -1
- package/dist/interface/external/surescripts/dea-schedule.js +2 -2
- package/dist/interface/external/surescripts/dea-schedule.js.map +1 -1
- 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/ncpdp.d.ts.map +1 -1
- package/dist/interface/external/surescripts/ncpdp.js +2 -2
- package/dist/interface/external/surescripts/ncpdp.js.map +1 -1
- package/dist/interface/external/surescripts/payment-code.d.ts.map +1 -1
- package/dist/interface/external/surescripts/payment-code.js +11 -11
- package/dist/interface/external/surescripts/payment-code.js.map +1 -1
- package/dist/interface/external/surescripts/plan-code.d.ts.map +1 -1
- package/dist/interface/external/surescripts/plan-code.js +2 -2
- package/dist/interface/external/surescripts/plan-code.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 +16 -5
- package/dist/interface/external/surescripts/roster.js.map +1 -1
- package/dist/interface/internal/cohort.d.ts +240 -240
- 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 +359 -10
- package/dist/interface/internal/consolidated.d.ts.map +1 -1
- package/dist/interface/internal/consolidated.js +24 -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 +2 -2
- 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/interface/schema/feedback.d.ts +2 -2
- package/dist/medical/fhir/__tests__/procedure-category-from-cpt.test.d.ts +2 -0
- package/dist/medical/fhir/__tests__/procedure-category-from-cpt.test.d.ts.map +1 -0
- package/dist/medical/fhir/__tests__/procedure-category-from-cpt.test.js +79 -0
- package/dist/medical/fhir/__tests__/procedure-category-from-cpt.test.js.map +1 -0
- package/dist/medical/fhir/bundle.js +3 -4
- package/dist/medical/fhir/bundle.js.map +1 -1
- package/dist/medical/fhir/coding.js +4 -5
- package/dist/medical/fhir/coding.js.map +1 -1
- package/dist/medical/fhir/constants.js.map +1 -1
- package/dist/medical/fhir/conversion.d.ts.map +1 -1
- package/dist/medical/fhir/imaging-detection.d.ts +3 -16
- package/dist/medical/fhir/imaging-detection.d.ts.map +1 -1
- package/dist/medical/fhir/imaging-detection.js +35 -35
- package/dist/medical/fhir/imaging-detection.js.map +1 -1
- package/dist/medical/fhir/observations.js +4 -5
- package/dist/medical/fhir/observations.js.map +1 -1
- package/dist/medical/fhir/procedure-category-from-cpt.d.ts +4 -0
- package/dist/medical/fhir/procedure-category-from-cpt.d.ts.map +1 -0
- package/dist/medical/fhir/procedure-category-from-cpt.js +106 -0
- package/dist/medical/fhir/procedure-category-from-cpt.js.map +1 -0
- package/dist/medical/fhir/procedure-category.d.ts +12 -0
- package/dist/medical/fhir/procedure-category.d.ts.map +1 -0
- package/dist/medical/fhir/procedure-category.js +45 -0
- package/dist/medical/fhir/procedure-category.js.map +1 -0
- package/dist/medical/fhir/procedure-type.d.ts.map +1 -1
- package/dist/medical/fhir/procedure-type.js +3 -3
- package/dist/medical/fhir/procedure-type.js.map +1 -1
- package/dist/medical/fhir/resources.d.ts.map +1 -1
- package/dist/medical/fhir/resources.js.map +1 -1
- package/dist/medical/fhir/specialty-codes.d.ts.map +1 -1
- package/dist/medical/index.d.ts +2 -0
- package/dist/medical/index.d.ts.map +1 -1
- package/dist/medical/index.js +2 -0
- package/dist/medical/index.js.map +1 -1
- package/dist/medical/webhook/webhook-request.d.ts +1899 -833
- package/dist/medical/webhook/webhook-request.d.ts.map +1 -1
- package/dist/medical/webhook/webhook-request.js +95 -19
- package/dist/medical/webhook/webhook-request.js.map +1 -1
- package/dist/net/__tests__/axios.d.ts +6 -7
- package/dist/net/__tests__/axios.d.ts.map +1 -1
- package/dist/net/__tests__/axios.js +22 -12
- package/dist/net/__tests__/axios.js.map +1 -1
- package/dist/net/__tests__/retry.test.js +17 -7
- package/dist/net/__tests__/retry.test.js.map +1 -1
- package/dist/net/error.d.ts +1 -1
- package/dist/net/error.d.ts.map +1 -1
- package/dist/net/error.js +22 -12
- package/dist/net/error.js.map +1 -1
- package/dist/net/http.js +6 -7
- package/dist/net/http.js.map +1 -1
- package/dist/net/retry.d.ts +1 -0
- package/dist/net/retry.d.ts.map +1 -1
- package/dist/net/retry.js +10 -9
- package/dist/net/retry.js.map +1 -1
- package/dist/net/url.js +1 -2
- package/dist/net/url.js.map +1 -1
- package/dist/util/base64.d.ts +14 -2
- package/dist/util/base64.d.ts.map +1 -1
- package/dist/util/base64.js +30 -5
- package/dist/util/base64.js.map +1 -1
- package/dist/util/duration.js +2 -3
- package/dist/util/duration.js.map +1 -1
- package/dist/util/sqs-delay-from-uuid.js +2 -2
- package/dist/util/sqs-delay-from-uuid.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 +32 -0
- package/dist/util/stack-trace.js.map +1 -0
- package/dist/util/uuid-v7.d.ts +1 -1
- package/dist/util/uuid-v7.d.ts.map +1 -1
- package/dist/util/uuid-v7.js +23 -13
- package/dist/util/uuid-v7.js.map +1 -1
- package/dist/util/zod.js +2 -2
- package/dist/util/zod.js.map +1 -1
- package/package.json +41 -11
|
@@ -16,13 +16,13 @@ declare const cohortSchema: z.ZodObject<{
|
|
|
16
16
|
}>;
|
|
17
17
|
hie: z.ZodObject<{
|
|
18
18
|
enabled: z.ZodBoolean;
|
|
19
|
-
frequency: z.ZodEnum<["weekly", "biweekly", "monthly"]>;
|
|
19
|
+
frequency: z.ZodEnum<["daily", "weekly", "biweekly", "monthly"]>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
enabled: boolean;
|
|
22
|
-
frequency: "
|
|
22
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
23
23
|
}, {
|
|
24
24
|
enabled: boolean;
|
|
25
|
-
frequency: "
|
|
25
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
26
26
|
}>;
|
|
27
27
|
pharmacy: z.ZodObject<{
|
|
28
28
|
notifications: z.ZodBoolean;
|
|
@@ -31,22 +31,22 @@ declare const cohortSchema: z.ZodObject<{
|
|
|
31
31
|
frequency: z.ZodEnum<["weekly", "biweekly", "monthly"]>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
33
|
enabled: boolean;
|
|
34
|
-
frequency: "
|
|
34
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
35
35
|
}, {
|
|
36
36
|
enabled: boolean;
|
|
37
|
-
frequency: "
|
|
37
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
38
38
|
}>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
notifications: boolean;
|
|
41
41
|
schedule: {
|
|
42
42
|
enabled: boolean;
|
|
43
|
-
frequency: "
|
|
43
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
44
44
|
};
|
|
45
45
|
}, {
|
|
46
46
|
notifications: boolean;
|
|
47
47
|
schedule: {
|
|
48
48
|
enabled: boolean;
|
|
49
|
-
frequency: "
|
|
49
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
50
50
|
};
|
|
51
51
|
}>;
|
|
52
52
|
laboratory: z.ZodObject<{
|
|
@@ -60,17 +60,17 @@ declare const cohortSchema: z.ZodObject<{
|
|
|
60
60
|
adt: {
|
|
61
61
|
enabled: boolean;
|
|
62
62
|
};
|
|
63
|
+
hie: {
|
|
64
|
+
enabled: boolean;
|
|
65
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
66
|
+
};
|
|
63
67
|
pharmacy: {
|
|
64
68
|
notifications: boolean;
|
|
65
69
|
schedule: {
|
|
66
70
|
enabled: boolean;
|
|
67
|
-
frequency: "
|
|
71
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
68
72
|
};
|
|
69
73
|
};
|
|
70
|
-
hie: {
|
|
71
|
-
enabled: boolean;
|
|
72
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
73
|
-
};
|
|
74
74
|
laboratory: {
|
|
75
75
|
notifications: boolean;
|
|
76
76
|
};
|
|
@@ -78,130 +78,130 @@ declare const cohortSchema: z.ZodObject<{
|
|
|
78
78
|
adt: {
|
|
79
79
|
enabled: boolean;
|
|
80
80
|
};
|
|
81
|
+
hie: {
|
|
82
|
+
enabled: boolean;
|
|
83
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
84
|
+
};
|
|
81
85
|
pharmacy: {
|
|
82
86
|
notifications: boolean;
|
|
83
87
|
schedule: {
|
|
84
88
|
enabled: boolean;
|
|
85
|
-
frequency: "
|
|
89
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
86
90
|
};
|
|
87
91
|
};
|
|
88
|
-
hie: {
|
|
89
|
-
enabled: boolean;
|
|
90
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
91
|
-
};
|
|
92
92
|
laboratory: {
|
|
93
93
|
notifications: boolean;
|
|
94
94
|
};
|
|
95
95
|
}>;
|
|
96
96
|
overrides: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
overrides: Record<string, boolean>;
|
|
99
98
|
monitoring: {
|
|
100
99
|
adt: {
|
|
101
100
|
enabled: boolean;
|
|
102
101
|
};
|
|
102
|
+
hie: {
|
|
103
|
+
enabled: boolean;
|
|
104
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
105
|
+
};
|
|
103
106
|
pharmacy: {
|
|
104
107
|
notifications: boolean;
|
|
105
108
|
schedule: {
|
|
106
109
|
enabled: boolean;
|
|
107
|
-
frequency: "
|
|
110
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
108
111
|
};
|
|
109
112
|
};
|
|
110
|
-
hie: {
|
|
111
|
-
enabled: boolean;
|
|
112
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
113
|
-
};
|
|
114
113
|
laboratory: {
|
|
115
114
|
notifications: boolean;
|
|
116
115
|
};
|
|
117
116
|
};
|
|
118
|
-
}, {
|
|
119
117
|
overrides: Record<string, boolean>;
|
|
118
|
+
}, {
|
|
120
119
|
monitoring: {
|
|
121
120
|
adt: {
|
|
122
121
|
enabled: boolean;
|
|
123
122
|
};
|
|
123
|
+
hie: {
|
|
124
|
+
enabled: boolean;
|
|
125
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
126
|
+
};
|
|
124
127
|
pharmacy: {
|
|
125
128
|
notifications: boolean;
|
|
126
129
|
schedule: {
|
|
127
130
|
enabled: boolean;
|
|
128
|
-
frequency: "
|
|
131
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
129
132
|
};
|
|
130
133
|
};
|
|
131
|
-
hie: {
|
|
132
|
-
enabled: boolean;
|
|
133
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
134
|
-
};
|
|
135
134
|
laboratory: {
|
|
136
135
|
notifications: boolean;
|
|
137
136
|
};
|
|
138
137
|
};
|
|
138
|
+
overrides: Record<string, boolean>;
|
|
139
139
|
}>;
|
|
140
140
|
cxId: z.ZodString;
|
|
141
141
|
createdAt: z.ZodDate;
|
|
142
142
|
updatedAt: z.ZodDate;
|
|
143
143
|
}, "strip", z.ZodTypeAny, {
|
|
144
|
-
name: string;
|
|
145
144
|
id: string;
|
|
146
145
|
eTag: string;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
color: "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "pink" | "brown" | "gray" | "black" | "white";
|
|
146
|
+
name: string;
|
|
147
|
+
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
150
148
|
description: string;
|
|
151
149
|
settings: {
|
|
152
|
-
overrides: Record<string, boolean>;
|
|
153
150
|
monitoring: {
|
|
154
151
|
adt: {
|
|
155
152
|
enabled: boolean;
|
|
156
153
|
};
|
|
154
|
+
hie: {
|
|
155
|
+
enabled: boolean;
|
|
156
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
157
|
+
};
|
|
157
158
|
pharmacy: {
|
|
158
159
|
notifications: boolean;
|
|
159
160
|
schedule: {
|
|
160
161
|
enabled: boolean;
|
|
161
|
-
frequency: "
|
|
162
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
162
163
|
};
|
|
163
164
|
};
|
|
164
|
-
hie: {
|
|
165
|
-
enabled: boolean;
|
|
166
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
167
|
-
};
|
|
168
165
|
laboratory: {
|
|
169
166
|
notifications: boolean;
|
|
170
167
|
};
|
|
171
168
|
};
|
|
169
|
+
overrides: Record<string, boolean>;
|
|
172
170
|
};
|
|
173
171
|
cxId: string;
|
|
172
|
+
createdAt: Date;
|
|
173
|
+
updatedAt: Date;
|
|
174
174
|
}, {
|
|
175
|
-
name: string;
|
|
176
175
|
id: string;
|
|
177
176
|
eTag: string;
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
color: "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "pink" | "brown" | "gray" | "black" | "white";
|
|
177
|
+
name: string;
|
|
178
|
+
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
181
179
|
description: string;
|
|
182
180
|
settings: {
|
|
183
|
-
overrides: Record<string, boolean>;
|
|
184
181
|
monitoring: {
|
|
185
182
|
adt: {
|
|
186
183
|
enabled: boolean;
|
|
187
184
|
};
|
|
185
|
+
hie: {
|
|
186
|
+
enabled: boolean;
|
|
187
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
188
|
+
};
|
|
188
189
|
pharmacy: {
|
|
189
190
|
notifications: boolean;
|
|
190
191
|
schedule: {
|
|
191
192
|
enabled: boolean;
|
|
192
|
-
frequency: "
|
|
193
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
193
194
|
};
|
|
194
195
|
};
|
|
195
|
-
hie: {
|
|
196
|
-
enabled: boolean;
|
|
197
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
198
|
-
};
|
|
199
196
|
laboratory: {
|
|
200
197
|
notifications: boolean;
|
|
201
198
|
};
|
|
202
199
|
};
|
|
200
|
+
overrides: Record<string, boolean>;
|
|
203
201
|
};
|
|
204
202
|
cxId: string;
|
|
203
|
+
createdAt: Date;
|
|
204
|
+
updatedAt: Date;
|
|
205
205
|
}>;
|
|
206
206
|
export type InternalCohortResponse = z.infer<typeof cohortSchema>;
|
|
207
207
|
export declare const internalCohortsResponseSchema: z.ZodObject<{
|
|
@@ -222,13 +222,13 @@ export declare const internalCohortsResponseSchema: z.ZodObject<{
|
|
|
222
222
|
}>;
|
|
223
223
|
hie: z.ZodObject<{
|
|
224
224
|
enabled: z.ZodBoolean;
|
|
225
|
-
frequency: z.ZodEnum<["weekly", "biweekly", "monthly"]>;
|
|
225
|
+
frequency: z.ZodEnum<["daily", "weekly", "biweekly", "monthly"]>;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
227
|
enabled: boolean;
|
|
228
|
-
frequency: "
|
|
228
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
229
229
|
}, {
|
|
230
230
|
enabled: boolean;
|
|
231
|
-
frequency: "
|
|
231
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
232
232
|
}>;
|
|
233
233
|
pharmacy: z.ZodObject<{
|
|
234
234
|
notifications: z.ZodBoolean;
|
|
@@ -237,22 +237,22 @@ export declare const internalCohortsResponseSchema: z.ZodObject<{
|
|
|
237
237
|
frequency: z.ZodEnum<["weekly", "biweekly", "monthly"]>;
|
|
238
238
|
}, "strip", z.ZodTypeAny, {
|
|
239
239
|
enabled: boolean;
|
|
240
|
-
frequency: "
|
|
240
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
241
241
|
}, {
|
|
242
242
|
enabled: boolean;
|
|
243
|
-
frequency: "
|
|
243
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
244
244
|
}>;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
notifications: boolean;
|
|
247
247
|
schedule: {
|
|
248
248
|
enabled: boolean;
|
|
249
|
-
frequency: "
|
|
249
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
250
250
|
};
|
|
251
251
|
}, {
|
|
252
252
|
notifications: boolean;
|
|
253
253
|
schedule: {
|
|
254
254
|
enabled: boolean;
|
|
255
|
-
frequency: "
|
|
255
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
256
256
|
};
|
|
257
257
|
}>;
|
|
258
258
|
laboratory: z.ZodObject<{
|
|
@@ -266,17 +266,17 @@ export declare const internalCohortsResponseSchema: z.ZodObject<{
|
|
|
266
266
|
adt: {
|
|
267
267
|
enabled: boolean;
|
|
268
268
|
};
|
|
269
|
+
hie: {
|
|
270
|
+
enabled: boolean;
|
|
271
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
272
|
+
};
|
|
269
273
|
pharmacy: {
|
|
270
274
|
notifications: boolean;
|
|
271
275
|
schedule: {
|
|
272
276
|
enabled: boolean;
|
|
273
|
-
frequency: "
|
|
277
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
274
278
|
};
|
|
275
279
|
};
|
|
276
|
-
hie: {
|
|
277
|
-
enabled: boolean;
|
|
278
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
279
|
-
};
|
|
280
280
|
laboratory: {
|
|
281
281
|
notifications: boolean;
|
|
282
282
|
};
|
|
@@ -284,196 +284,196 @@ export declare const internalCohortsResponseSchema: z.ZodObject<{
|
|
|
284
284
|
adt: {
|
|
285
285
|
enabled: boolean;
|
|
286
286
|
};
|
|
287
|
+
hie: {
|
|
288
|
+
enabled: boolean;
|
|
289
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
290
|
+
};
|
|
287
291
|
pharmacy: {
|
|
288
292
|
notifications: boolean;
|
|
289
293
|
schedule: {
|
|
290
294
|
enabled: boolean;
|
|
291
|
-
frequency: "
|
|
295
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
292
296
|
};
|
|
293
297
|
};
|
|
294
|
-
hie: {
|
|
295
|
-
enabled: boolean;
|
|
296
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
297
|
-
};
|
|
298
298
|
laboratory: {
|
|
299
299
|
notifications: boolean;
|
|
300
300
|
};
|
|
301
301
|
}>;
|
|
302
302
|
overrides: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
303
303
|
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
overrides: Record<string, boolean>;
|
|
305
304
|
monitoring: {
|
|
306
305
|
adt: {
|
|
307
306
|
enabled: boolean;
|
|
308
307
|
};
|
|
308
|
+
hie: {
|
|
309
|
+
enabled: boolean;
|
|
310
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
311
|
+
};
|
|
309
312
|
pharmacy: {
|
|
310
313
|
notifications: boolean;
|
|
311
314
|
schedule: {
|
|
312
315
|
enabled: boolean;
|
|
313
|
-
frequency: "
|
|
316
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
314
317
|
};
|
|
315
318
|
};
|
|
316
|
-
hie: {
|
|
317
|
-
enabled: boolean;
|
|
318
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
319
|
-
};
|
|
320
319
|
laboratory: {
|
|
321
320
|
notifications: boolean;
|
|
322
321
|
};
|
|
323
322
|
};
|
|
324
|
-
}, {
|
|
325
323
|
overrides: Record<string, boolean>;
|
|
324
|
+
}, {
|
|
326
325
|
monitoring: {
|
|
327
326
|
adt: {
|
|
328
327
|
enabled: boolean;
|
|
329
328
|
};
|
|
329
|
+
hie: {
|
|
330
|
+
enabled: boolean;
|
|
331
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
332
|
+
};
|
|
330
333
|
pharmacy: {
|
|
331
334
|
notifications: boolean;
|
|
332
335
|
schedule: {
|
|
333
336
|
enabled: boolean;
|
|
334
|
-
frequency: "
|
|
337
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
335
338
|
};
|
|
336
339
|
};
|
|
337
|
-
hie: {
|
|
338
|
-
enabled: boolean;
|
|
339
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
340
|
-
};
|
|
341
340
|
laboratory: {
|
|
342
341
|
notifications: boolean;
|
|
343
342
|
};
|
|
344
343
|
};
|
|
344
|
+
overrides: Record<string, boolean>;
|
|
345
345
|
}>;
|
|
346
346
|
cxId: z.ZodString;
|
|
347
347
|
createdAt: z.ZodDate;
|
|
348
348
|
updatedAt: z.ZodDate;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
name: string;
|
|
351
350
|
id: string;
|
|
352
351
|
eTag: string;
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
color: "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "pink" | "brown" | "gray" | "black" | "white";
|
|
352
|
+
name: string;
|
|
353
|
+
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
356
354
|
description: string;
|
|
357
355
|
settings: {
|
|
358
|
-
overrides: Record<string, boolean>;
|
|
359
356
|
monitoring: {
|
|
360
357
|
adt: {
|
|
361
358
|
enabled: boolean;
|
|
362
359
|
};
|
|
360
|
+
hie: {
|
|
361
|
+
enabled: boolean;
|
|
362
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
363
|
+
};
|
|
363
364
|
pharmacy: {
|
|
364
365
|
notifications: boolean;
|
|
365
366
|
schedule: {
|
|
366
367
|
enabled: boolean;
|
|
367
|
-
frequency: "
|
|
368
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
368
369
|
};
|
|
369
370
|
};
|
|
370
|
-
hie: {
|
|
371
|
-
enabled: boolean;
|
|
372
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
373
|
-
};
|
|
374
371
|
laboratory: {
|
|
375
372
|
notifications: boolean;
|
|
376
373
|
};
|
|
377
374
|
};
|
|
375
|
+
overrides: Record<string, boolean>;
|
|
378
376
|
};
|
|
379
377
|
cxId: string;
|
|
378
|
+
createdAt: Date;
|
|
379
|
+
updatedAt: Date;
|
|
380
380
|
}, {
|
|
381
|
-
name: string;
|
|
382
381
|
id: string;
|
|
383
382
|
eTag: string;
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
color: "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "pink" | "brown" | "gray" | "black" | "white";
|
|
383
|
+
name: string;
|
|
384
|
+
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
387
385
|
description: string;
|
|
388
386
|
settings: {
|
|
389
|
-
overrides: Record<string, boolean>;
|
|
390
387
|
monitoring: {
|
|
391
388
|
adt: {
|
|
392
389
|
enabled: boolean;
|
|
393
390
|
};
|
|
391
|
+
hie: {
|
|
392
|
+
enabled: boolean;
|
|
393
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
394
|
+
};
|
|
394
395
|
pharmacy: {
|
|
395
396
|
notifications: boolean;
|
|
396
397
|
schedule: {
|
|
397
398
|
enabled: boolean;
|
|
398
|
-
frequency: "
|
|
399
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
399
400
|
};
|
|
400
401
|
};
|
|
401
|
-
hie: {
|
|
402
|
-
enabled: boolean;
|
|
403
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
404
|
-
};
|
|
405
402
|
laboratory: {
|
|
406
403
|
notifications: boolean;
|
|
407
404
|
};
|
|
408
405
|
};
|
|
406
|
+
overrides: Record<string, boolean>;
|
|
409
407
|
};
|
|
410
408
|
cxId: string;
|
|
409
|
+
createdAt: Date;
|
|
410
|
+
updatedAt: Date;
|
|
411
411
|
}>, "many">;
|
|
412
412
|
}, "strip", z.ZodTypeAny, {
|
|
413
413
|
cohorts: {
|
|
414
|
-
name: string;
|
|
415
414
|
id: string;
|
|
416
415
|
eTag: string;
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
color: "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "pink" | "brown" | "gray" | "black" | "white";
|
|
416
|
+
name: string;
|
|
417
|
+
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
420
418
|
description: string;
|
|
421
419
|
settings: {
|
|
422
|
-
overrides: Record<string, boolean>;
|
|
423
420
|
monitoring: {
|
|
424
421
|
adt: {
|
|
425
422
|
enabled: boolean;
|
|
426
423
|
};
|
|
424
|
+
hie: {
|
|
425
|
+
enabled: boolean;
|
|
426
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
427
|
+
};
|
|
427
428
|
pharmacy: {
|
|
428
429
|
notifications: boolean;
|
|
429
430
|
schedule: {
|
|
430
431
|
enabled: boolean;
|
|
431
|
-
frequency: "
|
|
432
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
432
433
|
};
|
|
433
434
|
};
|
|
434
|
-
hie: {
|
|
435
|
-
enabled: boolean;
|
|
436
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
437
|
-
};
|
|
438
435
|
laboratory: {
|
|
439
436
|
notifications: boolean;
|
|
440
437
|
};
|
|
441
438
|
};
|
|
439
|
+
overrides: Record<string, boolean>;
|
|
442
440
|
};
|
|
443
441
|
cxId: string;
|
|
442
|
+
createdAt: Date;
|
|
443
|
+
updatedAt: Date;
|
|
444
444
|
}[];
|
|
445
445
|
}, {
|
|
446
446
|
cohorts: {
|
|
447
|
-
name: string;
|
|
448
447
|
id: string;
|
|
449
448
|
eTag: string;
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
color: "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "pink" | "brown" | "gray" | "black" | "white";
|
|
449
|
+
name: string;
|
|
450
|
+
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
453
451
|
description: string;
|
|
454
452
|
settings: {
|
|
455
|
-
overrides: Record<string, boolean>;
|
|
456
453
|
monitoring: {
|
|
457
454
|
adt: {
|
|
458
455
|
enabled: boolean;
|
|
459
456
|
};
|
|
457
|
+
hie: {
|
|
458
|
+
enabled: boolean;
|
|
459
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
460
|
+
};
|
|
460
461
|
pharmacy: {
|
|
461
462
|
notifications: boolean;
|
|
462
463
|
schedule: {
|
|
463
464
|
enabled: boolean;
|
|
464
|
-
frequency: "
|
|
465
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
465
466
|
};
|
|
466
467
|
};
|
|
467
|
-
hie: {
|
|
468
|
-
enabled: boolean;
|
|
469
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
470
|
-
};
|
|
471
468
|
laboratory: {
|
|
472
469
|
notifications: boolean;
|
|
473
470
|
};
|
|
474
471
|
};
|
|
472
|
+
overrides: Record<string, boolean>;
|
|
475
473
|
};
|
|
476
474
|
cxId: string;
|
|
475
|
+
createdAt: Date;
|
|
476
|
+
updatedAt: Date;
|
|
477
477
|
}[];
|
|
478
478
|
}>;
|
|
479
479
|
export type InternalCohortsResponse = z.infer<typeof internalCohortsResponseSchema>;
|
|
@@ -494,13 +494,13 @@ export declare const internalCohortWithSizeResponseSchema: z.ZodObject<z.objectU
|
|
|
494
494
|
}>;
|
|
495
495
|
hie: z.ZodObject<{
|
|
496
496
|
enabled: z.ZodBoolean;
|
|
497
|
-
frequency: z.ZodEnum<["weekly", "biweekly", "monthly"]>;
|
|
497
|
+
frequency: z.ZodEnum<["daily", "weekly", "biweekly", "monthly"]>;
|
|
498
498
|
}, "strip", z.ZodTypeAny, {
|
|
499
499
|
enabled: boolean;
|
|
500
|
-
frequency: "
|
|
500
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
501
501
|
}, {
|
|
502
502
|
enabled: boolean;
|
|
503
|
-
frequency: "
|
|
503
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
504
504
|
}>;
|
|
505
505
|
pharmacy: z.ZodObject<{
|
|
506
506
|
notifications: z.ZodBoolean;
|
|
@@ -509,22 +509,22 @@ export declare const internalCohortWithSizeResponseSchema: z.ZodObject<z.objectU
|
|
|
509
509
|
frequency: z.ZodEnum<["weekly", "biweekly", "monthly"]>;
|
|
510
510
|
}, "strip", z.ZodTypeAny, {
|
|
511
511
|
enabled: boolean;
|
|
512
|
-
frequency: "
|
|
512
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
513
513
|
}, {
|
|
514
514
|
enabled: boolean;
|
|
515
|
-
frequency: "
|
|
515
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
516
516
|
}>;
|
|
517
517
|
}, "strip", z.ZodTypeAny, {
|
|
518
518
|
notifications: boolean;
|
|
519
519
|
schedule: {
|
|
520
520
|
enabled: boolean;
|
|
521
|
-
frequency: "
|
|
521
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
522
522
|
};
|
|
523
523
|
}, {
|
|
524
524
|
notifications: boolean;
|
|
525
525
|
schedule: {
|
|
526
526
|
enabled: boolean;
|
|
527
|
-
frequency: "
|
|
527
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
528
528
|
};
|
|
529
529
|
}>;
|
|
530
530
|
laboratory: z.ZodObject<{
|
|
@@ -538,17 +538,17 @@ export declare const internalCohortWithSizeResponseSchema: z.ZodObject<z.objectU
|
|
|
538
538
|
adt: {
|
|
539
539
|
enabled: boolean;
|
|
540
540
|
};
|
|
541
|
+
hie: {
|
|
542
|
+
enabled: boolean;
|
|
543
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
544
|
+
};
|
|
541
545
|
pharmacy: {
|
|
542
546
|
notifications: boolean;
|
|
543
547
|
schedule: {
|
|
544
548
|
enabled: boolean;
|
|
545
|
-
frequency: "
|
|
549
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
546
550
|
};
|
|
547
551
|
};
|
|
548
|
-
hie: {
|
|
549
|
-
enabled: boolean;
|
|
550
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
551
|
-
};
|
|
552
552
|
laboratory: {
|
|
553
553
|
notifications: boolean;
|
|
554
554
|
};
|
|
@@ -556,64 +556,64 @@ export declare const internalCohortWithSizeResponseSchema: z.ZodObject<z.objectU
|
|
|
556
556
|
adt: {
|
|
557
557
|
enabled: boolean;
|
|
558
558
|
};
|
|
559
|
+
hie: {
|
|
560
|
+
enabled: boolean;
|
|
561
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
562
|
+
};
|
|
559
563
|
pharmacy: {
|
|
560
564
|
notifications: boolean;
|
|
561
565
|
schedule: {
|
|
562
566
|
enabled: boolean;
|
|
563
|
-
frequency: "
|
|
567
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
564
568
|
};
|
|
565
569
|
};
|
|
566
|
-
hie: {
|
|
567
|
-
enabled: boolean;
|
|
568
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
569
|
-
};
|
|
570
570
|
laboratory: {
|
|
571
571
|
notifications: boolean;
|
|
572
572
|
};
|
|
573
573
|
}>;
|
|
574
574
|
overrides: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
575
575
|
}, "strip", z.ZodTypeAny, {
|
|
576
|
-
overrides: Record<string, boolean>;
|
|
577
576
|
monitoring: {
|
|
578
577
|
adt: {
|
|
579
578
|
enabled: boolean;
|
|
580
579
|
};
|
|
580
|
+
hie: {
|
|
581
|
+
enabled: boolean;
|
|
582
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
583
|
+
};
|
|
581
584
|
pharmacy: {
|
|
582
585
|
notifications: boolean;
|
|
583
586
|
schedule: {
|
|
584
587
|
enabled: boolean;
|
|
585
|
-
frequency: "
|
|
588
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
586
589
|
};
|
|
587
590
|
};
|
|
588
|
-
hie: {
|
|
589
|
-
enabled: boolean;
|
|
590
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
591
|
-
};
|
|
592
591
|
laboratory: {
|
|
593
592
|
notifications: boolean;
|
|
594
593
|
};
|
|
595
594
|
};
|
|
596
|
-
}, {
|
|
597
595
|
overrides: Record<string, boolean>;
|
|
596
|
+
}, {
|
|
598
597
|
monitoring: {
|
|
599
598
|
adt: {
|
|
600
599
|
enabled: boolean;
|
|
601
600
|
};
|
|
601
|
+
hie: {
|
|
602
|
+
enabled: boolean;
|
|
603
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
604
|
+
};
|
|
602
605
|
pharmacy: {
|
|
603
606
|
notifications: boolean;
|
|
604
607
|
schedule: {
|
|
605
608
|
enabled: boolean;
|
|
606
|
-
frequency: "
|
|
609
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
607
610
|
};
|
|
608
611
|
};
|
|
609
|
-
hie: {
|
|
610
|
-
enabled: boolean;
|
|
611
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
612
|
-
};
|
|
613
612
|
laboratory: {
|
|
614
613
|
notifications: boolean;
|
|
615
614
|
};
|
|
616
615
|
};
|
|
616
|
+
overrides: Record<string, boolean>;
|
|
617
617
|
}>;
|
|
618
618
|
cxId: z.ZodString;
|
|
619
619
|
createdAt: z.ZodDate;
|
|
@@ -621,68 +621,68 @@ export declare const internalCohortWithSizeResponseSchema: z.ZodObject<z.objectU
|
|
|
621
621
|
}, {
|
|
622
622
|
size: z.ZodNumber;
|
|
623
623
|
}>, "strip", z.ZodTypeAny, {
|
|
624
|
-
name: string;
|
|
625
624
|
id: string;
|
|
626
625
|
eTag: string;
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
color: "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "pink" | "brown" | "gray" | "black" | "white";
|
|
626
|
+
name: string;
|
|
627
|
+
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
630
628
|
description: string;
|
|
631
629
|
settings: {
|
|
632
|
-
overrides: Record<string, boolean>;
|
|
633
630
|
monitoring: {
|
|
634
631
|
adt: {
|
|
635
632
|
enabled: boolean;
|
|
636
633
|
};
|
|
634
|
+
hie: {
|
|
635
|
+
enabled: boolean;
|
|
636
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
637
|
+
};
|
|
637
638
|
pharmacy: {
|
|
638
639
|
notifications: boolean;
|
|
639
640
|
schedule: {
|
|
640
641
|
enabled: boolean;
|
|
641
|
-
frequency: "
|
|
642
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
642
643
|
};
|
|
643
644
|
};
|
|
644
|
-
hie: {
|
|
645
|
-
enabled: boolean;
|
|
646
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
647
|
-
};
|
|
648
645
|
laboratory: {
|
|
649
646
|
notifications: boolean;
|
|
650
647
|
};
|
|
651
648
|
};
|
|
649
|
+
overrides: Record<string, boolean>;
|
|
652
650
|
};
|
|
653
651
|
cxId: string;
|
|
652
|
+
createdAt: Date;
|
|
653
|
+
updatedAt: Date;
|
|
654
654
|
size: number;
|
|
655
655
|
}, {
|
|
656
|
-
name: string;
|
|
657
656
|
id: string;
|
|
658
657
|
eTag: string;
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
color: "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "pink" | "brown" | "gray" | "black" | "white";
|
|
658
|
+
name: string;
|
|
659
|
+
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
662
660
|
description: string;
|
|
663
661
|
settings: {
|
|
664
|
-
overrides: Record<string, boolean>;
|
|
665
662
|
monitoring: {
|
|
666
663
|
adt: {
|
|
667
664
|
enabled: boolean;
|
|
668
665
|
};
|
|
666
|
+
hie: {
|
|
667
|
+
enabled: boolean;
|
|
668
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
669
|
+
};
|
|
669
670
|
pharmacy: {
|
|
670
671
|
notifications: boolean;
|
|
671
672
|
schedule: {
|
|
672
673
|
enabled: boolean;
|
|
673
|
-
frequency: "
|
|
674
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
674
675
|
};
|
|
675
676
|
};
|
|
676
|
-
hie: {
|
|
677
|
-
enabled: boolean;
|
|
678
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
679
|
-
};
|
|
680
677
|
laboratory: {
|
|
681
678
|
notifications: boolean;
|
|
682
679
|
};
|
|
683
680
|
};
|
|
681
|
+
overrides: Record<string, boolean>;
|
|
684
682
|
};
|
|
685
683
|
cxId: string;
|
|
684
|
+
createdAt: Date;
|
|
685
|
+
updatedAt: Date;
|
|
686
686
|
size: number;
|
|
687
687
|
}>;
|
|
688
688
|
export type InternalCohortWithSizeResponse = z.infer<typeof internalCohortWithSizeResponseSchema>;
|
|
@@ -704,13 +704,13 @@ export declare const internalCohortsWithSizeResponseSchema: z.ZodObject<{
|
|
|
704
704
|
}>;
|
|
705
705
|
hie: z.ZodObject<{
|
|
706
706
|
enabled: z.ZodBoolean;
|
|
707
|
-
frequency: z.ZodEnum<["weekly", "biweekly", "monthly"]>;
|
|
707
|
+
frequency: z.ZodEnum<["daily", "weekly", "biweekly", "monthly"]>;
|
|
708
708
|
}, "strip", z.ZodTypeAny, {
|
|
709
709
|
enabled: boolean;
|
|
710
|
-
frequency: "
|
|
710
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
711
711
|
}, {
|
|
712
712
|
enabled: boolean;
|
|
713
|
-
frequency: "
|
|
713
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
714
714
|
}>;
|
|
715
715
|
pharmacy: z.ZodObject<{
|
|
716
716
|
notifications: z.ZodBoolean;
|
|
@@ -719,22 +719,22 @@ export declare const internalCohortsWithSizeResponseSchema: z.ZodObject<{
|
|
|
719
719
|
frequency: z.ZodEnum<["weekly", "biweekly", "monthly"]>;
|
|
720
720
|
}, "strip", z.ZodTypeAny, {
|
|
721
721
|
enabled: boolean;
|
|
722
|
-
frequency: "
|
|
722
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
723
723
|
}, {
|
|
724
724
|
enabled: boolean;
|
|
725
|
-
frequency: "
|
|
725
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
726
726
|
}>;
|
|
727
727
|
}, "strip", z.ZodTypeAny, {
|
|
728
728
|
notifications: boolean;
|
|
729
729
|
schedule: {
|
|
730
730
|
enabled: boolean;
|
|
731
|
-
frequency: "
|
|
731
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
732
732
|
};
|
|
733
733
|
}, {
|
|
734
734
|
notifications: boolean;
|
|
735
735
|
schedule: {
|
|
736
736
|
enabled: boolean;
|
|
737
|
-
frequency: "
|
|
737
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
738
738
|
};
|
|
739
739
|
}>;
|
|
740
740
|
laboratory: z.ZodObject<{
|
|
@@ -748,17 +748,17 @@ export declare const internalCohortsWithSizeResponseSchema: z.ZodObject<{
|
|
|
748
748
|
adt: {
|
|
749
749
|
enabled: boolean;
|
|
750
750
|
};
|
|
751
|
+
hie: {
|
|
752
|
+
enabled: boolean;
|
|
753
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
754
|
+
};
|
|
751
755
|
pharmacy: {
|
|
752
756
|
notifications: boolean;
|
|
753
757
|
schedule: {
|
|
754
758
|
enabled: boolean;
|
|
755
|
-
frequency: "
|
|
759
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
756
760
|
};
|
|
757
761
|
};
|
|
758
|
-
hie: {
|
|
759
|
-
enabled: boolean;
|
|
760
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
761
|
-
};
|
|
762
762
|
laboratory: {
|
|
763
763
|
notifications: boolean;
|
|
764
764
|
};
|
|
@@ -766,64 +766,64 @@ export declare const internalCohortsWithSizeResponseSchema: z.ZodObject<{
|
|
|
766
766
|
adt: {
|
|
767
767
|
enabled: boolean;
|
|
768
768
|
};
|
|
769
|
+
hie: {
|
|
770
|
+
enabled: boolean;
|
|
771
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
772
|
+
};
|
|
769
773
|
pharmacy: {
|
|
770
774
|
notifications: boolean;
|
|
771
775
|
schedule: {
|
|
772
776
|
enabled: boolean;
|
|
773
|
-
frequency: "
|
|
777
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
774
778
|
};
|
|
775
779
|
};
|
|
776
|
-
hie: {
|
|
777
|
-
enabled: boolean;
|
|
778
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
779
|
-
};
|
|
780
780
|
laboratory: {
|
|
781
781
|
notifications: boolean;
|
|
782
782
|
};
|
|
783
783
|
}>;
|
|
784
784
|
overrides: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
785
785
|
}, "strip", z.ZodTypeAny, {
|
|
786
|
-
overrides: Record<string, boolean>;
|
|
787
786
|
monitoring: {
|
|
788
787
|
adt: {
|
|
789
788
|
enabled: boolean;
|
|
790
789
|
};
|
|
790
|
+
hie: {
|
|
791
|
+
enabled: boolean;
|
|
792
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
793
|
+
};
|
|
791
794
|
pharmacy: {
|
|
792
795
|
notifications: boolean;
|
|
793
796
|
schedule: {
|
|
794
797
|
enabled: boolean;
|
|
795
|
-
frequency: "
|
|
798
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
796
799
|
};
|
|
797
800
|
};
|
|
798
|
-
hie: {
|
|
799
|
-
enabled: boolean;
|
|
800
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
801
|
-
};
|
|
802
801
|
laboratory: {
|
|
803
802
|
notifications: boolean;
|
|
804
803
|
};
|
|
805
804
|
};
|
|
806
|
-
}, {
|
|
807
805
|
overrides: Record<string, boolean>;
|
|
806
|
+
}, {
|
|
808
807
|
monitoring: {
|
|
809
808
|
adt: {
|
|
810
809
|
enabled: boolean;
|
|
811
810
|
};
|
|
811
|
+
hie: {
|
|
812
|
+
enabled: boolean;
|
|
813
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
814
|
+
};
|
|
812
815
|
pharmacy: {
|
|
813
816
|
notifications: boolean;
|
|
814
817
|
schedule: {
|
|
815
818
|
enabled: boolean;
|
|
816
|
-
frequency: "
|
|
819
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
817
820
|
};
|
|
818
821
|
};
|
|
819
|
-
hie: {
|
|
820
|
-
enabled: boolean;
|
|
821
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
822
|
-
};
|
|
823
822
|
laboratory: {
|
|
824
823
|
notifications: boolean;
|
|
825
824
|
};
|
|
826
825
|
};
|
|
826
|
+
overrides: Record<string, boolean>;
|
|
827
827
|
}>;
|
|
828
828
|
cxId: z.ZodString;
|
|
829
829
|
createdAt: z.ZodDate;
|
|
@@ -831,136 +831,136 @@ export declare const internalCohortsWithSizeResponseSchema: z.ZodObject<{
|
|
|
831
831
|
}, {
|
|
832
832
|
size: z.ZodNumber;
|
|
833
833
|
}>, "strip", z.ZodTypeAny, {
|
|
834
|
-
name: string;
|
|
835
834
|
id: string;
|
|
836
835
|
eTag: string;
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
color: "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "pink" | "brown" | "gray" | "black" | "white";
|
|
836
|
+
name: string;
|
|
837
|
+
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
840
838
|
description: string;
|
|
841
839
|
settings: {
|
|
842
|
-
overrides: Record<string, boolean>;
|
|
843
840
|
monitoring: {
|
|
844
841
|
adt: {
|
|
845
842
|
enabled: boolean;
|
|
846
843
|
};
|
|
844
|
+
hie: {
|
|
845
|
+
enabled: boolean;
|
|
846
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
847
|
+
};
|
|
847
848
|
pharmacy: {
|
|
848
849
|
notifications: boolean;
|
|
849
850
|
schedule: {
|
|
850
851
|
enabled: boolean;
|
|
851
|
-
frequency: "
|
|
852
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
852
853
|
};
|
|
853
854
|
};
|
|
854
|
-
hie: {
|
|
855
|
-
enabled: boolean;
|
|
856
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
857
|
-
};
|
|
858
855
|
laboratory: {
|
|
859
856
|
notifications: boolean;
|
|
860
857
|
};
|
|
861
858
|
};
|
|
859
|
+
overrides: Record<string, boolean>;
|
|
862
860
|
};
|
|
863
861
|
cxId: string;
|
|
862
|
+
createdAt: Date;
|
|
863
|
+
updatedAt: Date;
|
|
864
864
|
size: number;
|
|
865
865
|
}, {
|
|
866
|
-
name: string;
|
|
867
866
|
id: string;
|
|
868
867
|
eTag: string;
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
color: "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "pink" | "brown" | "gray" | "black" | "white";
|
|
868
|
+
name: string;
|
|
869
|
+
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
872
870
|
description: string;
|
|
873
871
|
settings: {
|
|
874
|
-
overrides: Record<string, boolean>;
|
|
875
872
|
monitoring: {
|
|
876
873
|
adt: {
|
|
877
874
|
enabled: boolean;
|
|
878
875
|
};
|
|
876
|
+
hie: {
|
|
877
|
+
enabled: boolean;
|
|
878
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
879
|
+
};
|
|
879
880
|
pharmacy: {
|
|
880
881
|
notifications: boolean;
|
|
881
882
|
schedule: {
|
|
882
883
|
enabled: boolean;
|
|
883
|
-
frequency: "
|
|
884
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
884
885
|
};
|
|
885
886
|
};
|
|
886
|
-
hie: {
|
|
887
|
-
enabled: boolean;
|
|
888
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
889
|
-
};
|
|
890
887
|
laboratory: {
|
|
891
888
|
notifications: boolean;
|
|
892
889
|
};
|
|
893
890
|
};
|
|
891
|
+
overrides: Record<string, boolean>;
|
|
894
892
|
};
|
|
895
893
|
cxId: string;
|
|
894
|
+
createdAt: Date;
|
|
895
|
+
updatedAt: Date;
|
|
896
896
|
size: number;
|
|
897
897
|
}>, "many">;
|
|
898
898
|
}, "strip", z.ZodTypeAny, {
|
|
899
899
|
cohorts: {
|
|
900
|
-
name: string;
|
|
901
900
|
id: string;
|
|
902
901
|
eTag: string;
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
color: "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "pink" | "brown" | "gray" | "black" | "white";
|
|
902
|
+
name: string;
|
|
903
|
+
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
906
904
|
description: string;
|
|
907
905
|
settings: {
|
|
908
|
-
overrides: Record<string, boolean>;
|
|
909
906
|
monitoring: {
|
|
910
907
|
adt: {
|
|
911
908
|
enabled: boolean;
|
|
912
909
|
};
|
|
910
|
+
hie: {
|
|
911
|
+
enabled: boolean;
|
|
912
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
913
|
+
};
|
|
913
914
|
pharmacy: {
|
|
914
915
|
notifications: boolean;
|
|
915
916
|
schedule: {
|
|
916
917
|
enabled: boolean;
|
|
917
|
-
frequency: "
|
|
918
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
918
919
|
};
|
|
919
920
|
};
|
|
920
|
-
hie: {
|
|
921
|
-
enabled: boolean;
|
|
922
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
923
|
-
};
|
|
924
921
|
laboratory: {
|
|
925
922
|
notifications: boolean;
|
|
926
923
|
};
|
|
927
924
|
};
|
|
925
|
+
overrides: Record<string, boolean>;
|
|
928
926
|
};
|
|
929
927
|
cxId: string;
|
|
928
|
+
createdAt: Date;
|
|
929
|
+
updatedAt: Date;
|
|
930
930
|
size: number;
|
|
931
931
|
}[];
|
|
932
932
|
}, {
|
|
933
933
|
cohorts: {
|
|
934
|
-
name: string;
|
|
935
934
|
id: string;
|
|
936
935
|
eTag: string;
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
color: "red" | "green" | "blue" | "yellow" | "purple" | "orange" | "pink" | "brown" | "gray" | "black" | "white";
|
|
936
|
+
name: string;
|
|
937
|
+
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
940
938
|
description: string;
|
|
941
939
|
settings: {
|
|
942
|
-
overrides: Record<string, boolean>;
|
|
943
940
|
monitoring: {
|
|
944
941
|
adt: {
|
|
945
942
|
enabled: boolean;
|
|
946
943
|
};
|
|
944
|
+
hie: {
|
|
945
|
+
enabled: boolean;
|
|
946
|
+
frequency: "biweekly" | "daily" | "monthly" | "weekly";
|
|
947
|
+
};
|
|
947
948
|
pharmacy: {
|
|
948
949
|
notifications: boolean;
|
|
949
950
|
schedule: {
|
|
950
951
|
enabled: boolean;
|
|
951
|
-
frequency: "
|
|
952
|
+
frequency: "biweekly" | "monthly" | "weekly";
|
|
952
953
|
};
|
|
953
954
|
};
|
|
954
|
-
hie: {
|
|
955
|
-
enabled: boolean;
|
|
956
|
-
frequency: "weekly" | "biweekly" | "monthly";
|
|
957
|
-
};
|
|
958
955
|
laboratory: {
|
|
959
956
|
notifications: boolean;
|
|
960
957
|
};
|
|
961
958
|
};
|
|
959
|
+
overrides: Record<string, boolean>;
|
|
962
960
|
};
|
|
963
961
|
cxId: string;
|
|
962
|
+
createdAt: Date;
|
|
963
|
+
updatedAt: Date;
|
|
964
964
|
size: number;
|
|
965
965
|
}[];
|
|
966
966
|
}>;
|
|
@@ -981,19 +981,19 @@ export declare const internalCohortPatientsResponseSchema: z.ZodObject<{
|
|
|
981
981
|
nextPage?: string | undefined;
|
|
982
982
|
}>;
|
|
983
983
|
}, "strip", z.ZodTypeAny, {
|
|
984
|
-
meta: {
|
|
985
|
-
nextPage?: string | undefined;
|
|
986
|
-
};
|
|
987
984
|
patients: {
|
|
988
985
|
id: string;
|
|
989
986
|
}[];
|
|
990
|
-
}, {
|
|
991
987
|
meta: {
|
|
992
988
|
nextPage?: string | undefined;
|
|
993
989
|
};
|
|
990
|
+
}, {
|
|
994
991
|
patients: {
|
|
995
992
|
id: string;
|
|
996
993
|
}[];
|
|
994
|
+
meta: {
|
|
995
|
+
nextPage?: string | undefined;
|
|
996
|
+
};
|
|
997
997
|
}>;
|
|
998
998
|
export type InternalCohortPatientsResponse = z.infer<typeof internalCohortPatientsResponseSchema>;
|
|
999
999
|
export {};
|