@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
|
@@ -17,17 +17,17 @@ export declare const appointmentSchema: z.ZodObject<{
|
|
|
17
17
|
eventCategory: "Appointment" | "BlockedTime";
|
|
18
18
|
}>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
eventId: string;
|
|
21
|
+
patientPracticeGuid?: string | undefined;
|
|
20
22
|
eventType: {
|
|
21
23
|
eventCategory: "Appointment" | "BlockedTime";
|
|
22
24
|
};
|
|
25
|
+
}, {
|
|
23
26
|
eventId: string;
|
|
24
27
|
patientPracticeGuid?: string | undefined;
|
|
25
|
-
}, {
|
|
26
28
|
eventType: {
|
|
27
29
|
eventCategory: "Appointment" | "BlockedTime";
|
|
28
30
|
};
|
|
29
|
-
eventId: string;
|
|
30
|
-
patientPracticeGuid?: string | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
export type Appointment = z.infer<typeof appointmentSchema>;
|
|
33
33
|
export declare const bookedAppointmentSchema: z.ZodObject<{
|
|
@@ -50,33 +50,33 @@ export declare const appointmentRefSchema: z.ZodObject<{
|
|
|
50
50
|
eventCategory: "Appointment" | "BlockedTime";
|
|
51
51
|
}>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
eventId: string;
|
|
54
|
+
patientPracticeGuid?: string | undefined;
|
|
53
55
|
eventType: {
|
|
54
56
|
eventCategory: "Appointment" | "BlockedTime";
|
|
55
57
|
};
|
|
58
|
+
}, {
|
|
56
59
|
eventId: string;
|
|
57
60
|
patientPracticeGuid?: string | undefined;
|
|
58
|
-
}, {
|
|
59
61
|
eventType: {
|
|
60
62
|
eventCategory: "Appointment" | "BlockedTime";
|
|
61
63
|
};
|
|
62
|
-
eventId: string;
|
|
63
|
-
patientPracticeGuid?: string | undefined;
|
|
64
64
|
}>;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
66
|
event: {
|
|
67
|
+
eventId: string;
|
|
68
|
+
patientPracticeGuid?: string | undefined;
|
|
67
69
|
eventType: {
|
|
68
70
|
eventCategory: "Appointment" | "BlockedTime";
|
|
69
71
|
};
|
|
70
|
-
eventId: string;
|
|
71
|
-
patientPracticeGuid?: string | undefined;
|
|
72
72
|
};
|
|
73
73
|
}, {
|
|
74
74
|
event: {
|
|
75
|
+
eventId: string;
|
|
76
|
+
patientPracticeGuid?: string | undefined;
|
|
75
77
|
eventType: {
|
|
76
78
|
eventCategory: "Appointment" | "BlockedTime";
|
|
77
79
|
};
|
|
78
|
-
eventId: string;
|
|
79
|
-
patientPracticeGuid?: string | undefined;
|
|
80
80
|
};
|
|
81
81
|
}>;
|
|
82
82
|
export declare const appointmentsQueryResultSchema: z.ZodObject<{
|
|
@@ -98,40 +98,40 @@ export declare const appointmentsQueryResultSchema: z.ZodObject<{
|
|
|
98
98
|
eventCategory: "Appointment" | "BlockedTime";
|
|
99
99
|
}>;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
+
eventId: string;
|
|
102
|
+
patientPracticeGuid?: string | undefined;
|
|
101
103
|
eventType: {
|
|
102
104
|
eventCategory: "Appointment" | "BlockedTime";
|
|
103
105
|
};
|
|
106
|
+
}, {
|
|
104
107
|
eventId: string;
|
|
105
108
|
patientPracticeGuid?: string | undefined;
|
|
106
|
-
}, {
|
|
107
109
|
eventType: {
|
|
108
110
|
eventCategory: "Appointment" | "BlockedTime";
|
|
109
111
|
};
|
|
110
|
-
eventId: string;
|
|
111
|
-
patientPracticeGuid?: string | undefined;
|
|
112
112
|
}>, "many">;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
+
meta?: {
|
|
115
|
+
nextPageToken?: string | undefined;
|
|
116
|
+
} | undefined;
|
|
114
117
|
events: {
|
|
118
|
+
eventId: string;
|
|
119
|
+
patientPracticeGuid?: string | undefined;
|
|
115
120
|
eventType: {
|
|
116
121
|
eventCategory: "Appointment" | "BlockedTime";
|
|
117
122
|
};
|
|
118
|
-
eventId: string;
|
|
119
|
-
patientPracticeGuid?: string | undefined;
|
|
120
123
|
}[];
|
|
124
|
+
}, {
|
|
121
125
|
meta?: {
|
|
122
126
|
nextPageToken?: string | undefined;
|
|
123
127
|
} | undefined;
|
|
124
|
-
}, {
|
|
125
128
|
events: {
|
|
129
|
+
eventId: string;
|
|
130
|
+
patientPracticeGuid?: string | undefined;
|
|
126
131
|
eventType: {
|
|
127
132
|
eventCategory: "Appointment" | "BlockedTime";
|
|
128
133
|
};
|
|
129
|
-
eventId: string;
|
|
130
|
-
patientPracticeGuid?: string | undefined;
|
|
131
134
|
}[];
|
|
132
|
-
meta?: {
|
|
133
|
-
nextPageToken?: string | undefined;
|
|
134
|
-
} | undefined;
|
|
135
135
|
}>;
|
|
136
136
|
export type AppointmentsQueryResult = z.infer<typeof appointmentsQueryResultSchema>;
|
|
137
137
|
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/practicefusion/appointment.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,aAAa,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;CACtD,CAAC,CAAC;AAEU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/practicefusion/appointment.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,aAAa,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;CACtD,CAAC,CAAC;AAEU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,SAAS,EAAE,QAAA,qBAAqB;CACjC,CAAC,CAAC;AAGU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAGH,+CAA+C;AAClC,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,KAAK,EAAE,QAAA,iBAAiB;CACzB,CAAC,CAAC;AAEH,6DAA6D;AAChD,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,IAAI,EAAE,OAAC;SACJ,MAAM,CAAC;QACN,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACrC,CAAC;SACD,QAAQ,EAAE;IACb,MAAM,EAAE,QAAA,iBAAiB,CAAC,KAAK,EAAE;CAClC,CAAC,CAAC"}
|
|
@@ -105,31 +105,31 @@ export declare const practicefusionSecondaryMappingsSchema: z.ZodObject<z.object
|
|
|
105
105
|
}>>;
|
|
106
106
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
relativeDateRange?: {
|
|
109
|
-
days?: number | undefined;
|
|
110
|
-
months?: number | undefined;
|
|
111
|
-
years?: number | undefined;
|
|
112
|
-
} | undefined;
|
|
113
|
-
disabled?: boolean | undefined;
|
|
114
108
|
stringFilters?: string[] | undefined;
|
|
115
109
|
latestOnly?: boolean | undefined;
|
|
116
110
|
earliestOnly?: boolean | undefined;
|
|
117
111
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
118
112
|
hccFilter?: "all" | "hcc" | "non-hcc" | undefined;
|
|
119
113
|
chronicOrHcc?: boolean | undefined;
|
|
120
|
-
}, {
|
|
121
114
|
relativeDateRange?: {
|
|
122
115
|
days?: number | undefined;
|
|
123
116
|
months?: number | undefined;
|
|
124
117
|
years?: number | undefined;
|
|
125
118
|
} | undefined;
|
|
126
119
|
disabled?: boolean | undefined;
|
|
120
|
+
}, {
|
|
127
121
|
stringFilters?: string[] | undefined;
|
|
128
122
|
latestOnly?: boolean | undefined;
|
|
129
123
|
earliestOnly?: boolean | undefined;
|
|
130
124
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
131
125
|
hccFilter?: "all" | "hcc" | "non-hcc" | undefined;
|
|
132
126
|
chronicOrHcc?: boolean | undefined;
|
|
127
|
+
relativeDateRange?: {
|
|
128
|
+
days?: number | undefined;
|
|
129
|
+
months?: number | undefined;
|
|
130
|
+
years?: number | undefined;
|
|
131
|
+
} | undefined;
|
|
132
|
+
disabled?: boolean | undefined;
|
|
133
133
|
}>>;
|
|
134
134
|
vital: z.ZodOptional<z.ZodObject<{
|
|
135
135
|
loincCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -150,45 +150,45 @@ export declare const practicefusionSecondaryMappingsSchema: z.ZodObject<z.object
|
|
|
150
150
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
152
|
loincCodes?: string[] | undefined;
|
|
153
|
+
latestOnly?: boolean | undefined;
|
|
153
154
|
relativeDateRange?: {
|
|
154
155
|
days?: number | undefined;
|
|
155
156
|
months?: number | undefined;
|
|
156
157
|
years?: number | undefined;
|
|
157
158
|
} | undefined;
|
|
158
159
|
disabled?: boolean | undefined;
|
|
159
|
-
latestOnly?: boolean | undefined;
|
|
160
160
|
}, {
|
|
161
161
|
loincCodes?: string[] | undefined;
|
|
162
|
+
latestOnly?: boolean | undefined;
|
|
162
163
|
relativeDateRange?: {
|
|
163
164
|
days?: number | undefined;
|
|
164
165
|
months?: number | undefined;
|
|
165
166
|
years?: number | undefined;
|
|
166
167
|
} | undefined;
|
|
167
168
|
disabled?: boolean | undefined;
|
|
168
|
-
latestOnly?: boolean | undefined;
|
|
169
169
|
}>>;
|
|
170
170
|
medicationStatement: z.ZodOptional<z.ZodObject<{
|
|
171
171
|
rxnormCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
172
172
|
absoluteDate: z.ZodOptional<z.ZodString>;
|
|
173
173
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
+
rxnormCodes?: string[] | undefined;
|
|
175
176
|
absoluteDate?: string | undefined;
|
|
176
177
|
disabled?: boolean | undefined;
|
|
177
|
-
rxnormCodes?: string[] | undefined;
|
|
178
178
|
}, {
|
|
179
|
+
rxnormCodes?: string[] | undefined;
|
|
179
180
|
absoluteDate?: string | undefined;
|
|
180
181
|
disabled?: boolean | undefined;
|
|
181
|
-
rxnormCodes?: string[] | undefined;
|
|
182
182
|
}>>;
|
|
183
183
|
procedure: z.ZodOptional<z.ZodObject<{
|
|
184
184
|
cptCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
185
185
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
186
186
|
}, "strip", z.ZodTypeAny, {
|
|
187
|
-
disabled?: boolean | undefined;
|
|
188
187
|
cptCodes?: string[] | undefined;
|
|
189
|
-
}, {
|
|
190
188
|
disabled?: boolean | undefined;
|
|
189
|
+
}, {
|
|
191
190
|
cptCodes?: string[] | undefined;
|
|
191
|
+
disabled?: boolean | undefined;
|
|
192
192
|
}>>;
|
|
193
193
|
allergy: z.ZodOptional<z.ZodObject<{
|
|
194
194
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -228,37 +228,37 @@ export declare const practicefusionSecondaryMappingsSchema: z.ZodObject<z.object
|
|
|
228
228
|
disabled?: boolean | undefined;
|
|
229
229
|
} | undefined;
|
|
230
230
|
problem?: {
|
|
231
|
-
relativeDateRange?: {
|
|
232
|
-
days?: number | undefined;
|
|
233
|
-
months?: number | undefined;
|
|
234
|
-
years?: number | undefined;
|
|
235
|
-
} | undefined;
|
|
236
|
-
disabled?: boolean | undefined;
|
|
237
231
|
stringFilters?: string[] | undefined;
|
|
238
232
|
latestOnly?: boolean | undefined;
|
|
239
233
|
earliestOnly?: boolean | undefined;
|
|
240
234
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
241
235
|
hccFilter?: "all" | "hcc" | "non-hcc" | undefined;
|
|
242
236
|
chronicOrHcc?: boolean | undefined;
|
|
237
|
+
relativeDateRange?: {
|
|
238
|
+
days?: number | undefined;
|
|
239
|
+
months?: number | undefined;
|
|
240
|
+
years?: number | undefined;
|
|
241
|
+
} | undefined;
|
|
242
|
+
disabled?: boolean | undefined;
|
|
243
243
|
} | undefined;
|
|
244
244
|
vital?: {
|
|
245
245
|
loincCodes?: string[] | undefined;
|
|
246
|
+
latestOnly?: boolean | undefined;
|
|
246
247
|
relativeDateRange?: {
|
|
247
248
|
days?: number | undefined;
|
|
248
249
|
months?: number | undefined;
|
|
249
250
|
years?: number | undefined;
|
|
250
251
|
} | undefined;
|
|
251
252
|
disabled?: boolean | undefined;
|
|
252
|
-
latestOnly?: boolean | undefined;
|
|
253
253
|
} | undefined;
|
|
254
254
|
medicationStatement?: {
|
|
255
|
+
rxnormCodes?: string[] | undefined;
|
|
255
256
|
absoluteDate?: string | undefined;
|
|
256
257
|
disabled?: boolean | undefined;
|
|
257
|
-
rxnormCodes?: string[] | undefined;
|
|
258
258
|
} | undefined;
|
|
259
259
|
procedure?: {
|
|
260
|
-
disabled?: boolean | undefined;
|
|
261
260
|
cptCodes?: string[] | undefined;
|
|
261
|
+
disabled?: boolean | undefined;
|
|
262
262
|
} | undefined;
|
|
263
263
|
allergy?: {
|
|
264
264
|
disabled?: boolean | undefined;
|
|
@@ -290,37 +290,37 @@ export declare const practicefusionSecondaryMappingsSchema: z.ZodObject<z.object
|
|
|
290
290
|
disabled?: boolean | undefined;
|
|
291
291
|
} | undefined;
|
|
292
292
|
problem?: {
|
|
293
|
-
relativeDateRange?: {
|
|
294
|
-
days?: number | undefined;
|
|
295
|
-
months?: number | undefined;
|
|
296
|
-
years?: number | undefined;
|
|
297
|
-
} | undefined;
|
|
298
|
-
disabled?: boolean | undefined;
|
|
299
293
|
stringFilters?: string[] | undefined;
|
|
300
294
|
latestOnly?: boolean | undefined;
|
|
301
295
|
earliestOnly?: boolean | undefined;
|
|
302
296
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
303
297
|
hccFilter?: "all" | "hcc" | "non-hcc" | undefined;
|
|
304
298
|
chronicOrHcc?: boolean | undefined;
|
|
299
|
+
relativeDateRange?: {
|
|
300
|
+
days?: number | undefined;
|
|
301
|
+
months?: number | undefined;
|
|
302
|
+
years?: number | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
disabled?: boolean | undefined;
|
|
305
305
|
} | undefined;
|
|
306
306
|
vital?: {
|
|
307
307
|
loincCodes?: string[] | undefined;
|
|
308
|
+
latestOnly?: boolean | undefined;
|
|
308
309
|
relativeDateRange?: {
|
|
309
310
|
days?: number | undefined;
|
|
310
311
|
months?: number | undefined;
|
|
311
312
|
years?: number | undefined;
|
|
312
313
|
} | undefined;
|
|
313
314
|
disabled?: boolean | undefined;
|
|
314
|
-
latestOnly?: boolean | undefined;
|
|
315
315
|
} | undefined;
|
|
316
316
|
medicationStatement?: {
|
|
317
|
+
rxnormCodes?: string[] | undefined;
|
|
317
318
|
absoluteDate?: string | undefined;
|
|
318
319
|
disabled?: boolean | undefined;
|
|
319
|
-
rxnormCodes?: string[] | undefined;
|
|
320
320
|
} | undefined;
|
|
321
321
|
procedure?: {
|
|
322
|
-
disabled?: boolean | undefined;
|
|
323
322
|
cptCodes?: string[] | undefined;
|
|
323
|
+
disabled?: boolean | undefined;
|
|
324
324
|
} | undefined;
|
|
325
325
|
allergy?: {
|
|
326
326
|
disabled?: boolean | undefined;
|
|
@@ -357,37 +357,37 @@ export declare const practicefusionSecondaryMappingsSchema: z.ZodObject<z.object
|
|
|
357
357
|
disabled?: boolean | undefined;
|
|
358
358
|
} | undefined;
|
|
359
359
|
problem?: {
|
|
360
|
-
relativeDateRange?: {
|
|
361
|
-
days?: number | undefined;
|
|
362
|
-
months?: number | undefined;
|
|
363
|
-
years?: number | undefined;
|
|
364
|
-
} | undefined;
|
|
365
|
-
disabled?: boolean | undefined;
|
|
366
360
|
stringFilters?: string[] | undefined;
|
|
367
361
|
latestOnly?: boolean | undefined;
|
|
368
362
|
earliestOnly?: boolean | undefined;
|
|
369
363
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
370
364
|
hccFilter?: "all" | "hcc" | "non-hcc" | undefined;
|
|
371
365
|
chronicOrHcc?: boolean | undefined;
|
|
366
|
+
relativeDateRange?: {
|
|
367
|
+
days?: number | undefined;
|
|
368
|
+
months?: number | undefined;
|
|
369
|
+
years?: number | undefined;
|
|
370
|
+
} | undefined;
|
|
371
|
+
disabled?: boolean | undefined;
|
|
372
372
|
} | undefined;
|
|
373
373
|
vital?: {
|
|
374
374
|
loincCodes?: string[] | undefined;
|
|
375
|
+
latestOnly?: boolean | undefined;
|
|
375
376
|
relativeDateRange?: {
|
|
376
377
|
days?: number | undefined;
|
|
377
378
|
months?: number | undefined;
|
|
378
379
|
years?: number | undefined;
|
|
379
380
|
} | undefined;
|
|
380
381
|
disabled?: boolean | undefined;
|
|
381
|
-
latestOnly?: boolean | undefined;
|
|
382
382
|
} | undefined;
|
|
383
383
|
medicationStatement?: {
|
|
384
|
+
rxnormCodes?: string[] | undefined;
|
|
384
385
|
absoluteDate?: string | undefined;
|
|
385
386
|
disabled?: boolean | undefined;
|
|
386
|
-
rxnormCodes?: string[] | undefined;
|
|
387
387
|
} | undefined;
|
|
388
388
|
procedure?: {
|
|
389
|
-
disabled?: boolean | undefined;
|
|
390
389
|
cptCodes?: string[] | undefined;
|
|
390
|
+
disabled?: boolean | undefined;
|
|
391
391
|
} | undefined;
|
|
392
392
|
allergy?: {
|
|
393
393
|
disabled?: boolean | undefined;
|
|
@@ -397,8 +397,8 @@ export declare const practicefusionSecondaryMappingsSchema: z.ZodObject<z.object
|
|
|
397
397
|
} | undefined;
|
|
398
398
|
} | undefined;
|
|
399
399
|
sendDocumentQueryWebhookEnabled?: boolean | undefined;
|
|
400
|
-
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
401
400
|
acceptedTermsOfServiceTimestamp?: string | undefined;
|
|
401
|
+
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
402
402
|
}, {
|
|
403
403
|
writeBackEnabled?: boolean | undefined;
|
|
404
404
|
writeBackFilters?: {
|
|
@@ -425,37 +425,37 @@ export declare const practicefusionSecondaryMappingsSchema: z.ZodObject<z.object
|
|
|
425
425
|
disabled?: boolean | undefined;
|
|
426
426
|
} | undefined;
|
|
427
427
|
problem?: {
|
|
428
|
-
relativeDateRange?: {
|
|
429
|
-
days?: number | undefined;
|
|
430
|
-
months?: number | undefined;
|
|
431
|
-
years?: number | undefined;
|
|
432
|
-
} | undefined;
|
|
433
|
-
disabled?: boolean | undefined;
|
|
434
428
|
stringFilters?: string[] | undefined;
|
|
435
429
|
latestOnly?: boolean | undefined;
|
|
436
430
|
earliestOnly?: boolean | undefined;
|
|
437
431
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
438
432
|
hccFilter?: "all" | "hcc" | "non-hcc" | undefined;
|
|
439
433
|
chronicOrHcc?: boolean | undefined;
|
|
434
|
+
relativeDateRange?: {
|
|
435
|
+
days?: number | undefined;
|
|
436
|
+
months?: number | undefined;
|
|
437
|
+
years?: number | undefined;
|
|
438
|
+
} | undefined;
|
|
439
|
+
disabled?: boolean | undefined;
|
|
440
440
|
} | undefined;
|
|
441
441
|
vital?: {
|
|
442
442
|
loincCodes?: string[] | undefined;
|
|
443
|
+
latestOnly?: boolean | undefined;
|
|
443
444
|
relativeDateRange?: {
|
|
444
445
|
days?: number | undefined;
|
|
445
446
|
months?: number | undefined;
|
|
446
447
|
years?: number | undefined;
|
|
447
448
|
} | undefined;
|
|
448
449
|
disabled?: boolean | undefined;
|
|
449
|
-
latestOnly?: boolean | undefined;
|
|
450
450
|
} | undefined;
|
|
451
451
|
medicationStatement?: {
|
|
452
|
+
rxnormCodes?: string[] | undefined;
|
|
452
453
|
absoluteDate?: string | undefined;
|
|
453
454
|
disabled?: boolean | undefined;
|
|
454
|
-
rxnormCodes?: string[] | undefined;
|
|
455
455
|
} | undefined;
|
|
456
456
|
procedure?: {
|
|
457
|
-
disabled?: boolean | undefined;
|
|
458
457
|
cptCodes?: string[] | undefined;
|
|
458
|
+
disabled?: boolean | undefined;
|
|
459
459
|
} | undefined;
|
|
460
460
|
allergy?: {
|
|
461
461
|
disabled?: boolean | undefined;
|
|
@@ -465,8 +465,8 @@ export declare const practicefusionSecondaryMappingsSchema: z.ZodObject<z.object
|
|
|
465
465
|
} | undefined;
|
|
466
466
|
} | undefined;
|
|
467
467
|
sendDocumentQueryWebhookEnabled?: boolean | undefined;
|
|
468
|
-
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
469
468
|
acceptedTermsOfServiceTimestamp?: string | undefined;
|
|
469
|
+
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
470
470
|
}>;
|
|
471
471
|
export type PracticeFusionSecondaryMappings = z.infer<typeof practicefusionSecondaryMappingsSchema>;
|
|
472
472
|
//# sourceMappingURL=cx-mapping.d.ts.map
|
|
@@ -6,13 +6,13 @@ export declare const practicefusionDashJwtTokenDataSchema: z.ZodObject<{
|
|
|
6
6
|
patientId: z.ZodString;
|
|
7
7
|
source: z.ZodLiteral<"practicefusion">;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
practiceId: string;
|
|
9
10
|
patientId: string;
|
|
10
11
|
source: "practicefusion";
|
|
11
|
-
practiceId: string;
|
|
12
12
|
}, {
|
|
13
|
+
practiceId: string;
|
|
13
14
|
patientId: string;
|
|
14
15
|
source: "practicefusion";
|
|
15
|
-
practiceId: string;
|
|
16
16
|
}>;
|
|
17
17
|
export type PracticeFusionDashJwtTokenData = z.infer<typeof practicefusionDashJwtTokenDataSchema>;
|
|
18
18
|
export declare const practicefusionRefreshSource: "practicefusion-refresh";
|
|
@@ -21,13 +21,13 @@ export declare const practicefusionRefreshJwtTokenDataSchema: z.ZodObject<{
|
|
|
21
21
|
refreshToken: z.ZodString;
|
|
22
22
|
source: z.ZodLiteral<"practicefusion-refresh">;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
source: "practicefusion-refresh";
|
|
25
24
|
practiceId: string;
|
|
26
25
|
refreshToken: string;
|
|
27
|
-
}, {
|
|
28
26
|
source: "practicefusion-refresh";
|
|
27
|
+
}, {
|
|
29
28
|
practiceId: string;
|
|
30
29
|
refreshToken: string;
|
|
30
|
+
source: "practicefusion-refresh";
|
|
31
31
|
}>;
|
|
32
32
|
export type PracticefusionRefreshJwtTokenData = z.infer<typeof practicefusionRefreshJwtTokenDataSchema>;
|
|
33
33
|
//# sourceMappingURL=jwt-token.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwt-token.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/practicefusion/jwt-token.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAoB;AACpB,sCAA4D;AAE/C,QAAA,wBAAwB,GAAG,mBAAU,CAAC,cAAuB,CAAC;AAC9D,QAAA,oCAAoC,GAAG,aAAC,CAAC,MAAM,CAAC;IAC3D,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,aAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,aAAC,CAAC,OAAO,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"jwt-token.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/practicefusion/jwt-token.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAoB;AACpB,sCAA4D;AAE/C,QAAA,wBAAwB,GAAG,mBAAU,CAAC,cAAuB,CAAC;AAC9D,QAAA,oCAAoC,GAAG,aAAC,CAAC,MAAM,CAAC;IAC3D,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,aAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,aAAC,CAAC,OAAO,CAAC,GAAG,QAAA,wBAAwB,EAAE,CAAC;CACjD,CAAC,CAAC;AAGU,QAAA,2BAA2B,GACtC,GAAG,mBAAU,CAAC,cAAc,GAAG,4BAAmB,EAAW,CAAC;AACnD,QAAA,uCAAuC,GAAG,aAAC,CAAC,MAAM,CAAC;IAC9D,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE;IACtB,iGAAiG;IACjG,YAAY,EAAE,aAAC,CAAC,MAAM,EAAE;IACxB,MAAM,EAAE,aAAC,CAAC,OAAO,CAAC,GAAG,QAAA,2BAA2B,EAAE,CAAC;CACpD,CAAC,CAAC"}
|
|
@@ -6,13 +6,13 @@ export declare const refreshTokenResponseSchema: z.ZodObject<{
|
|
|
6
6
|
scope: z.ZodOptional<z.ZodString>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
access_token: string;
|
|
9
|
-
expires_in: number;
|
|
10
9
|
token_type: string;
|
|
10
|
+
expires_in: number;
|
|
11
11
|
scope?: string | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
access_token: string;
|
|
14
|
-
expires_in: number;
|
|
15
14
|
token_type: string;
|
|
15
|
+
expires_in: number;
|
|
16
16
|
scope?: string | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
export type RefreshTokenResponse = z.infer<typeof refreshTokenResponseSchema>;
|
|
@@ -7,23 +7,23 @@ export declare const practitionerSchema: z.ZodObject<{
|
|
|
7
7
|
reference: z.ZodString;
|
|
8
8
|
type: z.ZodString;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
type: string;
|
|
11
10
|
reference: string;
|
|
12
|
-
}, {
|
|
13
11
|
type: string;
|
|
12
|
+
}, {
|
|
14
13
|
reference: string;
|
|
14
|
+
type: string;
|
|
15
15
|
}>>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
17
|
url: string;
|
|
18
18
|
valueReference?: {
|
|
19
|
-
type: string;
|
|
20
19
|
reference: string;
|
|
20
|
+
type: string;
|
|
21
21
|
} | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
url: string;
|
|
24
24
|
valueReference?: {
|
|
25
|
-
type: string;
|
|
26
25
|
reference: string;
|
|
26
|
+
type: string;
|
|
27
27
|
} | undefined;
|
|
28
28
|
}>, "many">>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -31,8 +31,8 @@ export declare const practitionerSchema: z.ZodObject<{
|
|
|
31
31
|
extension?: {
|
|
32
32
|
url: string;
|
|
33
33
|
valueReference?: {
|
|
34
|
-
type: string;
|
|
35
34
|
reference: string;
|
|
35
|
+
type: string;
|
|
36
36
|
} | undefined;
|
|
37
37
|
}[] | undefined;
|
|
38
38
|
}, {
|
|
@@ -40,8 +40,8 @@ export declare const practitionerSchema: z.ZodObject<{
|
|
|
40
40
|
extension?: {
|
|
41
41
|
url: string;
|
|
42
42
|
valueReference?: {
|
|
43
|
-
type: string;
|
|
44
43
|
reference: string;
|
|
44
|
+
type: string;
|
|
45
45
|
} | undefined;
|
|
46
46
|
}[] | undefined;
|
|
47
47
|
}>;
|