candidhealth 1.17.0 → 1.17.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/Client.d.ts +0 -3
- package/Client.js +36 -41
- package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/api/resources/encounters/resources/v4/client/Client.d.ts +15 -0
- package/api/resources/encounters/resources/v4/client/Client.js +19 -0
- package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
- package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
- package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
- package/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/index.js +0 -1
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
- package/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/types/index.js +4 -4
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +36 -41
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +15 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +19 -0
- package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
- package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/index.js +0 -1
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentId.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +3 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
- package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.js +0 -1
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
- package/{serialization/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/resources/v1/index.js +0 -1
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentSortField.js → relatedCausesInformation/resources/v1/types/RelatedCausesCode.js} +2 -2
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +7 -8
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +48 -129
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
- package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentId.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +3 -5
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
- package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.js +0 -1
- package/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
- package/{dist/serialization/resources/insurancePayments → serialization/resources/relatedCausesInformation}/resources/v1/index.js +0 -1
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
- package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentSortField.js → relatedCausesInformation/resources/v1/types/RelatedCausesCode.js} +2 -2
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +44 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/insurancePayments/client/Client.d.ts +0 -14
- package/api/resources/insurancePayments/client/Client.js +0 -15
- package/api/resources/insurancePayments/client/index.d.ts +0 -1
- package/api/resources/insurancePayments/client/index.js +0 -2
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
- package/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
- package/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
- package/api/resources/insurancePayments/resources/v1/client/get.js +0 -77
- package/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
- package/api/resources/insurancePayments/resources/v1/client/getMulti.js +0 -77
- package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
- package/api/resources/insurancePayments/resources/v1/client/index.js +0 -42
- package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
- package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/api/resources/insurancePayments/resources/v1/client/requests/index.js +0 -2
- package/api/resources/insurancePayments/resources/v1/index.d.ts +0 -2
- package/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +0 -7
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
- package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
- package/dist/api/resources/insurancePayments/client/Client.d.ts +0 -14
- package/dist/api/resources/insurancePayments/client/Client.js +0 -15
- package/dist/api/resources/insurancePayments/client/index.d.ts +0 -1
- package/dist/api/resources/insurancePayments/client/index.js +0 -2
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
- package/dist/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
- package/dist/api/resources/insurancePayments/resources/v1/client/get.js +0 -77
- package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
- package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.js +0 -77
- package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/index.js +0 -42
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.js +0 -2
- package/dist/api/resources/insurancePayments/resources/v1/index.d.ts +0 -2
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +0 -7
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
- package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
- package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -20
- package/dist/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +0 -17
- package/dist/serialization/resources/insurancePayments/resources/v1/client/get.js +0 -75
- package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -17
- package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +0 -75
- package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
- package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +0 -38
- package/dist/serialization/resources/insurancePayments/resources/v1/index.d.ts +0 -2
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +0 -49
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
- package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
- package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
- package/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +0 -17
- package/serialization/resources/insurancePayments/resources/v1/client/get.js +0 -75
- package/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -17
- package/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +0 -75
- package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
- package/serialization/resources/insurancePayments/resources/v1/client/index.js +0 -38
- package/serialization/resources/insurancePayments/resources/v1/index.d.ts +0 -2
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +0 -49
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +0 -45
- package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
- package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
- /package/api/resources/{insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +0 -0
- /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.d.ts +0 -0
- /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.js +0 -0
- /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
- /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
- /package/api/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +0 -0
- /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js} +0 -0
- /package/{dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js} +0 -0
- /package/dist/api/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +0 -0
- /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.d.ts +0 -0
- /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.js +0 -0
- /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
- /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
- /package/dist/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +0 -0
- /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
- /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
- /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
- /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
package/Client.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ import { Guarantor } from "./api/resources/guarantor/client/Client";
|
|
|
20
20
|
import { HealthCareCodeInformation } from "./api/resources/healthCareCodeInformation/client/Client";
|
|
21
21
|
import { ImportInvoice } from "./api/resources/importInvoice/client/Client";
|
|
22
22
|
import { InsuranceAdjudications } from "./api/resources/insuranceAdjudications/client/Client";
|
|
23
|
-
import { InsurancePayments } from "./api/resources/insurancePayments/client/Client";
|
|
24
23
|
import { InsuranceRefunds } from "./api/resources/insuranceRefunds/client/Client";
|
|
25
24
|
import { MedicationDispense } from "./api/resources/medicationDispense/client/Client";
|
|
26
25
|
import { NonInsurancePayerPayments } from "./api/resources/nonInsurancePayerPayments/client/Client";
|
|
@@ -72,7 +71,6 @@ export declare class CandidApiClient {
|
|
|
72
71
|
protected _healthCareCodeInformation: HealthCareCodeInformation | undefined;
|
|
73
72
|
protected _importInvoice: ImportInvoice | undefined;
|
|
74
73
|
protected _insuranceAdjudications: InsuranceAdjudications | undefined;
|
|
75
|
-
protected _insurancePayments: InsurancePayments | undefined;
|
|
76
74
|
protected _insuranceRefunds: InsuranceRefunds | undefined;
|
|
77
75
|
protected _medicationDispense: MedicationDispense | undefined;
|
|
78
76
|
protected _nonInsurancePayerPayments: NonInsurancePayerPayments | undefined;
|
|
@@ -113,7 +111,6 @@ export declare class CandidApiClient {
|
|
|
113
111
|
get healthCareCodeInformation(): HealthCareCodeInformation;
|
|
114
112
|
get importInvoice(): ImportInvoice;
|
|
115
113
|
get insuranceAdjudications(): InsuranceAdjudications;
|
|
116
|
-
get insurancePayments(): InsurancePayments;
|
|
117
114
|
get insuranceRefunds(): InsuranceRefunds;
|
|
118
115
|
get medicationDispense(): MedicationDispense;
|
|
119
116
|
get nonInsurancePayerPayments(): NonInsurancePayerPayments;
|
package/Client.js
CHANGED
|
@@ -67,24 +67,23 @@ const Client_20 = require("./api/resources/guarantor/client/Client");
|
|
|
67
67
|
const Client_21 = require("./api/resources/healthCareCodeInformation/client/Client");
|
|
68
68
|
const Client_22 = require("./api/resources/importInvoice/client/Client");
|
|
69
69
|
const Client_23 = require("./api/resources/insuranceAdjudications/client/Client");
|
|
70
|
-
const Client_24 = require("./api/resources/
|
|
71
|
-
const Client_25 = require("./api/resources/
|
|
72
|
-
const Client_26 = require("./api/resources/
|
|
73
|
-
const Client_27 = require("./api/resources/
|
|
74
|
-
const Client_28 = require("./api/resources/
|
|
75
|
-
const Client_29 = require("./api/resources/
|
|
76
|
-
const Client_30 = require("./api/resources/
|
|
77
|
-
const Client_31 = require("./api/resources/
|
|
78
|
-
const Client_32 = require("./api/resources/
|
|
79
|
-
const Client_33 = require("./api/resources/
|
|
80
|
-
const Client_34 = require("./api/resources/
|
|
81
|
-
const Client_35 = require("./api/resources/
|
|
82
|
-
const Client_36 = require("./api/resources/
|
|
83
|
-
const Client_37 = require("./api/resources/
|
|
84
|
-
const Client_38 = require("./api/resources/
|
|
85
|
-
const Client_39 = require("./api/resources/
|
|
86
|
-
const Client_40 = require("./api/resources/
|
|
87
|
-
const Client_41 = require("./api/resources/writeOffs/client/Client");
|
|
70
|
+
const Client_24 = require("./api/resources/insuranceRefunds/client/Client");
|
|
71
|
+
const Client_25 = require("./api/resources/medicationDispense/client/Client");
|
|
72
|
+
const Client_26 = require("./api/resources/nonInsurancePayerPayments/client/Client");
|
|
73
|
+
const Client_27 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
|
|
74
|
+
const Client_28 = require("./api/resources/nonInsurancePayers/client/Client");
|
|
75
|
+
const Client_29 = require("./api/resources/organizationProviders/client/Client");
|
|
76
|
+
const Client_30 = require("./api/resources/organizationServiceFacilities/client/Client");
|
|
77
|
+
const Client_31 = require("./api/resources/patientAr/client/Client");
|
|
78
|
+
const Client_32 = require("./api/resources/patientPayments/client/Client");
|
|
79
|
+
const Client_33 = require("./api/resources/patientRefunds/client/Client");
|
|
80
|
+
const Client_34 = require("./api/resources/payerPlanGroups/client/Client");
|
|
81
|
+
const Client_35 = require("./api/resources/payers/client/Client");
|
|
82
|
+
const Client_36 = require("./api/resources/preEncounter/client/Client");
|
|
83
|
+
const Client_37 = require("./api/resources/serviceLines/client/Client");
|
|
84
|
+
const Client_38 = require("./api/resources/superbills/client/Client");
|
|
85
|
+
const Client_39 = require("./api/resources/tasks/client/Client");
|
|
86
|
+
const Client_40 = require("./api/resources/writeOffs/client/Client");
|
|
88
87
|
const core = __importStar(require("./core"));
|
|
89
88
|
const headers_1 = require("./core/headers");
|
|
90
89
|
class CandidApiClient {
|
|
@@ -92,8 +91,8 @@ class CandidApiClient {
|
|
|
92
91
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
|
|
93
92
|
"X-Fern-Language": "JavaScript",
|
|
94
93
|
"X-Fern-SDK-Name": "candidhealth",
|
|
95
|
-
"X-Fern-SDK-Version": "1.17.
|
|
96
|
-
"User-Agent": "candidhealth/1.17.
|
|
94
|
+
"X-Fern-SDK-Version": "1.17.1",
|
|
95
|
+
"User-Agent": "candidhealth/1.17.1",
|
|
97
96
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
98
97
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
99
98
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -187,77 +186,73 @@ class CandidApiClient {
|
|
|
187
186
|
var _a;
|
|
188
187
|
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_23.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
189
188
|
}
|
|
190
|
-
get insurancePayments() {
|
|
191
|
-
var _a;
|
|
192
|
-
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_24.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
193
|
-
}
|
|
194
189
|
get insuranceRefunds() {
|
|
195
190
|
var _a;
|
|
196
|
-
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new
|
|
191
|
+
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_24.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
197
192
|
}
|
|
198
193
|
get medicationDispense() {
|
|
199
194
|
var _a;
|
|
200
|
-
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new
|
|
195
|
+
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_25.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
201
196
|
}
|
|
202
197
|
get nonInsurancePayerPayments() {
|
|
203
198
|
var _a;
|
|
204
|
-
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new
|
|
199
|
+
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_26.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
205
200
|
}
|
|
206
201
|
get nonInsurancePayerRefunds() {
|
|
207
202
|
var _a;
|
|
208
|
-
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new
|
|
203
|
+
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_27.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
209
204
|
}
|
|
210
205
|
get nonInsurancePayers() {
|
|
211
206
|
var _a;
|
|
212
|
-
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new
|
|
207
|
+
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_28.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
213
208
|
}
|
|
214
209
|
get organizationProviders() {
|
|
215
210
|
var _a;
|
|
216
|
-
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new
|
|
211
|
+
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_29.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
217
212
|
}
|
|
218
213
|
get organizationServiceFacilities() {
|
|
219
214
|
var _a;
|
|
220
|
-
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new
|
|
215
|
+
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_30.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
221
216
|
}
|
|
222
217
|
get patientAr() {
|
|
223
218
|
var _a;
|
|
224
|
-
return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new
|
|
219
|
+
return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_31.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
225
220
|
}
|
|
226
221
|
get patientPayments() {
|
|
227
222
|
var _a;
|
|
228
|
-
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new
|
|
223
|
+
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_32.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
229
224
|
}
|
|
230
225
|
get patientRefunds() {
|
|
231
226
|
var _a;
|
|
232
|
-
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new
|
|
227
|
+
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_33.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
233
228
|
}
|
|
234
229
|
get payerPlanGroups() {
|
|
235
230
|
var _a;
|
|
236
|
-
return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new
|
|
231
|
+
return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_34.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
237
232
|
}
|
|
238
233
|
get payers() {
|
|
239
234
|
var _a;
|
|
240
|
-
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new
|
|
235
|
+
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_35.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
241
236
|
}
|
|
242
237
|
get serviceLines() {
|
|
243
238
|
var _a;
|
|
244
|
-
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new
|
|
239
|
+
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_37.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
245
240
|
}
|
|
246
241
|
get superbills() {
|
|
247
242
|
var _a;
|
|
248
|
-
return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new
|
|
243
|
+
return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_38.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
249
244
|
}
|
|
250
245
|
get tasks() {
|
|
251
246
|
var _a;
|
|
252
|
-
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new
|
|
247
|
+
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_39.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
253
248
|
}
|
|
254
249
|
get writeOffs() {
|
|
255
250
|
var _a;
|
|
256
|
-
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new
|
|
251
|
+
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_40.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
257
252
|
}
|
|
258
253
|
get preEncounter() {
|
|
259
254
|
var _a;
|
|
260
|
-
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new
|
|
255
|
+
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_36.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
261
256
|
}
|
|
262
257
|
get diagnoses() {
|
|
263
258
|
var _a;
|
|
@@ -20,4 +20,10 @@ export interface BillingProvider extends CandidApi.encounterProviders.v2.Encount
|
|
|
20
20
|
* Provider Commercial Number
|
|
21
21
|
*/
|
|
22
22
|
providerCommercialLicenseType?: CandidApi.BillingProviderCommercialLicenseType;
|
|
23
|
+
/**
|
|
24
|
+
* Only one of provider_commercial_license_type or secondary_identification may be provided
|
|
25
|
+
* 837i Loop2010BB G2
|
|
26
|
+
* Secondary Identification
|
|
27
|
+
*/
|
|
28
|
+
secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
|
|
23
29
|
}
|
|
@@ -20,4 +20,10 @@ export interface BillingProviderUpdate extends CandidApi.encounterProviders.v2.E
|
|
|
20
20
|
* Provider Commercial Number
|
|
21
21
|
*/
|
|
22
22
|
providerCommercialLicenseType?: CandidApi.BillingProviderCommercialLicenseType;
|
|
23
|
+
/**
|
|
24
|
+
* Only one of provider_commercial_license_type or secondary_identification may be provided
|
|
25
|
+
* 837i Loop2010BB G2
|
|
26
|
+
* Secondary Identification
|
|
27
|
+
*/
|
|
28
|
+
secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
|
|
23
29
|
}
|
|
@@ -21,4 +21,10 @@ export interface BillingProviderUpdateWithOptionalAddress extends CandidApi.enco
|
|
|
21
21
|
* Provider Commercial Number
|
|
22
22
|
*/
|
|
23
23
|
providerCommercialLicenseType?: CandidApi.BillingProviderCommercialLicenseType;
|
|
24
|
+
/**
|
|
25
|
+
* Only one of provider_commercial_license_type or secondary_identification may be provided
|
|
26
|
+
* 837i Loop2010BB G2
|
|
27
|
+
* Secondary Identification
|
|
28
|
+
*/
|
|
29
|
+
secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
|
|
24
30
|
}
|
|
@@ -31,4 +31,10 @@ export interface EncounterProvider extends CandidApi.encounterProviders.v2.Encou
|
|
|
31
31
|
* Provider Commercial Number
|
|
32
32
|
*/
|
|
33
33
|
providerCommercialLicenseType?: CandidApi.BillingProviderCommercialLicenseType;
|
|
34
|
+
/**
|
|
35
|
+
* Only one of provider_commercial_license_type or secondary_identification may be provided
|
|
36
|
+
* 837i Loop2010BB G2
|
|
37
|
+
* Secondary Identification
|
|
38
|
+
*/
|
|
39
|
+
secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
|
|
34
40
|
}
|
|
@@ -7,4 +7,10 @@ export interface RenderingProvider extends CandidApi.encounterProviders.v2.Encou
|
|
|
7
7
|
npi: string;
|
|
8
8
|
taxonomyCode?: string;
|
|
9
9
|
address?: CandidApi.StreetAddressLongZip;
|
|
10
|
+
/**
|
|
11
|
+
* Only one of provider_commercial_license_type or secondary_identification may be provided
|
|
12
|
+
* 837i Loop2310BB G2
|
|
13
|
+
* Secondary Identification
|
|
14
|
+
*/
|
|
15
|
+
secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
|
|
10
16
|
}
|
|
@@ -7,4 +7,10 @@ export interface RenderingProviderUpdate extends CandidApi.encounterProviders.v2
|
|
|
7
7
|
npi?: string;
|
|
8
8
|
taxonomyCode?: string;
|
|
9
9
|
address?: CandidApi.StreetAddressLongZip;
|
|
10
|
+
/**
|
|
11
|
+
* Only one of provider_commercial_license_type or secondary_identification may be provided
|
|
12
|
+
* 837i Loop2310BB G2
|
|
13
|
+
* Secondary Identification
|
|
14
|
+
*/
|
|
15
|
+
secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
|
|
10
16
|
}
|
|
@@ -7,4 +7,10 @@ export interface RenderingProviderUpdateWithOptionalAddress extends CandidApi.en
|
|
|
7
7
|
npi?: string;
|
|
8
8
|
taxonomyCode?: string;
|
|
9
9
|
address?: CandidApi.StreetAddressShortZipOptional;
|
|
10
|
+
/**
|
|
11
|
+
* Only one of provider_commercial_license_type or secondary_identification may be provided
|
|
12
|
+
* 837i Loop2310BB G2
|
|
13
|
+
* Secondary Identification
|
|
14
|
+
*/
|
|
15
|
+
secondaryIdentification?: CandidApi.encounterProviders.v2.ProviderSecondaryIdentification;
|
|
10
16
|
}
|
|
@@ -10,6 +10,7 @@ export * from "./OrderingProvider";
|
|
|
10
10
|
export * from "./OrderingProviderOptional";
|
|
11
11
|
export * from "./OrderingProviderUpdate";
|
|
12
12
|
export * from "./ProviderId";
|
|
13
|
+
export * from "./ProviderSecondaryIdentification";
|
|
13
14
|
export * from "./ReferringProvider";
|
|
14
15
|
export * from "./ReferringProviderUpdate";
|
|
15
16
|
export * from "./ReferringProviderUpdateWithOptionalAddress";
|
|
@@ -26,6 +26,7 @@ __exportStar(require("./OrderingProvider"), exports);
|
|
|
26
26
|
__exportStar(require("./OrderingProviderOptional"), exports);
|
|
27
27
|
__exportStar(require("./OrderingProviderUpdate"), exports);
|
|
28
28
|
__exportStar(require("./ProviderId"), exports);
|
|
29
|
+
__exportStar(require("./ProviderSecondaryIdentification"), exports);
|
|
29
30
|
__exportStar(require("./ReferringProvider"), exports);
|
|
30
31
|
__exportStar(require("./ReferringProviderUpdate"), exports);
|
|
31
32
|
__exportStar(require("./ReferringProviderUpdateWithOptionalAddress"), exports);
|
|
@@ -41,6 +41,11 @@ export declare class V4 {
|
|
|
41
41
|
get(encounterId: CandidApi.EncounterId, requestOptions?: V4.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.get.Error>>;
|
|
42
42
|
private __get;
|
|
43
43
|
/**
|
|
44
|
+
* Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
|
|
45
|
+
* No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
|
|
46
|
+
* in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
|
|
47
|
+
* express, written consent of AHA.
|
|
48
|
+
*
|
|
44
49
|
* @param {CandidApi.encountersUniversal.UniversalEncounterCreate} request
|
|
45
50
|
* @param {V4.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
51
|
*
|
|
@@ -150,6 +155,11 @@ export declare class V4 {
|
|
|
150
155
|
* Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
|
|
151
156
|
* encounter has not already been submitted or adjudicated.
|
|
152
157
|
*
|
|
158
|
+
* Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
|
|
159
|
+
* No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
|
|
160
|
+
* in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
|
|
161
|
+
* express, written consent of AHA.
|
|
162
|
+
*
|
|
153
163
|
* @param {CandidApi.encountersUniversal.UniversalEncounterCreateFromPreEncounter} request
|
|
154
164
|
* @param {V4.RequestOptions} requestOptions - Request-specific configuration.
|
|
155
165
|
*
|
|
@@ -235,6 +245,11 @@ export declare class V4 {
|
|
|
235
245
|
createFromPreEncounterPatient(request: CandidApi.encounters.v4.EncounterCreateFromPreEncounter, requestOptions?: V4.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatient.Error>>;
|
|
236
246
|
private __createFromPreEncounterPatient;
|
|
237
247
|
/**
|
|
248
|
+
* Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
|
|
249
|
+
* No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
|
|
250
|
+
* in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
|
|
251
|
+
* express, written consent of AHA.
|
|
252
|
+
*
|
|
238
253
|
* @param {CandidApi.EncounterId} encounterId
|
|
239
254
|
* @param {CandidApi.encountersUniversal.UniversalEncounterUpdate} request
|
|
240
255
|
* @param {V4.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -224,6 +224,11 @@ class V4 {
|
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
226
|
/**
|
|
227
|
+
* Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
|
|
228
|
+
* No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
|
|
229
|
+
* in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
|
|
230
|
+
* express, written consent of AHA.
|
|
231
|
+
*
|
|
227
232
|
* @param {CandidApi.encountersUniversal.UniversalEncounterCreate} request
|
|
228
233
|
* @param {V4.RequestOptions} requestOptions - Request-specific configuration.
|
|
229
234
|
*
|
|
@@ -309,6 +314,7 @@ class V4 {
|
|
|
309
314
|
case "HttpRequestValidationsError":
|
|
310
315
|
case "CashPayPayerError":
|
|
311
316
|
case "SchemaInstanceValidationHttpFailure":
|
|
317
|
+
case "UnprocessableEntityError":
|
|
312
318
|
case "InvalidTagNamesError":
|
|
313
319
|
case "HttpRequestValidationError":
|
|
314
320
|
case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
|
|
@@ -432,6 +438,7 @@ class V4 {
|
|
|
432
438
|
case "HttpRequestValidationsError":
|
|
433
439
|
case "CashPayPayerError":
|
|
434
440
|
case "SchemaInstanceValidationHttpFailure":
|
|
441
|
+
case "UnprocessableEntityError":
|
|
435
442
|
case "InvalidTagNamesError":
|
|
436
443
|
case "HttpRequestValidationError":
|
|
437
444
|
case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
|
|
@@ -479,6 +486,11 @@ class V4 {
|
|
|
479
486
|
* Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
|
|
480
487
|
* encounter has not already been submitted or adjudicated.
|
|
481
488
|
*
|
|
489
|
+
* Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
|
|
490
|
+
* No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
|
|
491
|
+
* in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
|
|
492
|
+
* express, written consent of AHA.
|
|
493
|
+
*
|
|
482
494
|
* @param {CandidApi.encountersUniversal.UniversalEncounterCreateFromPreEncounter} request
|
|
483
495
|
* @param {V4.RequestOptions} requestOptions - Request-specific configuration.
|
|
484
496
|
*
|
|
@@ -550,6 +562,7 @@ class V4 {
|
|
|
550
562
|
case "UnauthorizedError":
|
|
551
563
|
case "HttpRequestValidationsError":
|
|
552
564
|
case "SchemaInstanceValidationHttpFailure":
|
|
565
|
+
case "UnprocessableEntityError":
|
|
553
566
|
case "HttpRequestValidationError":
|
|
554
567
|
case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
|
|
555
568
|
return {
|
|
@@ -677,6 +690,7 @@ class V4 {
|
|
|
677
690
|
case "UnauthorizedError":
|
|
678
691
|
case "HttpRequestValidationsError":
|
|
679
692
|
case "SchemaInstanceValidationHttpFailure":
|
|
693
|
+
case "UnprocessableEntityError":
|
|
680
694
|
case "HttpRequestValidationError":
|
|
681
695
|
case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
|
|
682
696
|
return {
|
|
@@ -706,6 +720,11 @@ class V4 {
|
|
|
706
720
|
});
|
|
707
721
|
}
|
|
708
722
|
/**
|
|
723
|
+
* Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
|
|
724
|
+
* No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
|
|
725
|
+
* in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
|
|
726
|
+
* express, written consent of AHA.
|
|
727
|
+
*
|
|
709
728
|
* @param {CandidApi.EncounterId} encounterId
|
|
710
729
|
* @param {CandidApi.encountersUniversal.UniversalEncounterUpdate} request
|
|
711
730
|
* @param {V4.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as core from "../../../../../../core";
|
|
2
2
|
import * as CandidApi from "../../../../../index";
|
|
3
|
-
export type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.UnauthorizedError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.create.Error.InvalidTagNamesError | CandidApi.encounters.v4.create.Error.HttpRequestValidationError | CandidApi.encounters.v4.create.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.create.Error.EncounterRenderingOrAttendingProviderRequired | CandidApi.encounters.v4.create.Error._Unknown;
|
|
3
|
+
export type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.UnauthorizedError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.create.Error.UnprocessableEntityError | CandidApi.encounters.v4.create.Error.InvalidTagNamesError | CandidApi.encounters.v4.create.Error.HttpRequestValidationError | CandidApi.encounters.v4.create.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.create.Error.EncounterRenderingOrAttendingProviderRequired | CandidApi.encounters.v4.create.Error._Unknown;
|
|
4
4
|
export declare namespace Error {
|
|
5
5
|
interface EncounterExternalIdUniquenessError extends _Utils {
|
|
6
6
|
errorName: "EncounterExternalIdUniquenessError";
|
|
@@ -34,6 +34,10 @@ export declare namespace Error {
|
|
|
34
34
|
errorName: "SchemaInstanceValidationHttpFailure";
|
|
35
35
|
content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
|
|
36
36
|
}
|
|
37
|
+
interface UnprocessableEntityError extends _Utils {
|
|
38
|
+
errorName: "UnprocessableEntityError";
|
|
39
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
40
|
+
}
|
|
37
41
|
interface InvalidTagNamesError extends _Utils {
|
|
38
42
|
errorName: "InvalidTagNamesError";
|
|
39
43
|
content: CandidApi.encounters.v4.InvalidTagNamesErrorType;
|
|
@@ -66,6 +70,7 @@ export declare namespace Error {
|
|
|
66
70
|
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
67
71
|
cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => _Result;
|
|
68
72
|
schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
|
|
73
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
69
74
|
invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => _Result;
|
|
70
75
|
httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
|
|
71
76
|
payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => _Result;
|
|
@@ -82,6 +87,7 @@ export declare const Error: {
|
|
|
82
87
|
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.create.Error.HttpRequestValidationsError;
|
|
83
88
|
readonly cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => CandidApi.encounters.v4.create.Error.CashPayPayerError;
|
|
84
89
|
readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure;
|
|
90
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounters.v4.create.Error.UnprocessableEntityError;
|
|
85
91
|
readonly invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => CandidApi.encounters.v4.create.Error.InvalidTagNamesError;
|
|
86
92
|
readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.encounters.v4.create.Error.HttpRequestValidationError;
|
|
87
93
|
readonly payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => CandidApi.encounters.v4.create.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
|
|
@@ -109,6 +109,15 @@ exports.Error = {
|
|
|
109
109
|
},
|
|
110
110
|
};
|
|
111
111
|
},
|
|
112
|
+
unprocessableEntityError: (value) => {
|
|
113
|
+
return {
|
|
114
|
+
content: value,
|
|
115
|
+
errorName: "UnprocessableEntityError",
|
|
116
|
+
_visit: function (visitor) {
|
|
117
|
+
return CandidApi.encounters.v4.create.Error._visit(this, visitor);
|
|
118
|
+
},
|
|
119
|
+
};
|
|
120
|
+
},
|
|
112
121
|
invalidTagNamesError: (value) => {
|
|
113
122
|
return {
|
|
114
123
|
content: value,
|
|
@@ -172,6 +181,8 @@ exports.Error = {
|
|
|
172
181
|
return visitor.cashPayPayerError(value.content);
|
|
173
182
|
case "SchemaInstanceValidationHttpFailure":
|
|
174
183
|
return visitor.schemaInstanceValidationHttpFailure(value.content);
|
|
184
|
+
case "UnprocessableEntityError":
|
|
185
|
+
return visitor.unprocessableEntityError(value.content);
|
|
175
186
|
case "InvalidTagNamesError":
|
|
176
187
|
return visitor.invalidTagNamesError(value.content);
|
|
177
188
|
case "HttpRequestValidationError":
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as core from "../../../../../../core";
|
|
2
2
|
import * as CandidApi from "../../../../../index";
|
|
3
|
-
export type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnauthorizedError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
|
|
3
|
+
export type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnauthorizedError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnprocessableEntityError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
|
|
4
4
|
export declare namespace Error {
|
|
5
5
|
interface EncounterExternalIdUniquenessError extends _Utils {
|
|
6
6
|
errorName: "EncounterExternalIdUniquenessError";
|
|
@@ -26,6 +26,10 @@ export declare namespace Error {
|
|
|
26
26
|
errorName: "SchemaInstanceValidationHttpFailure";
|
|
27
27
|
content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
|
|
28
28
|
}
|
|
29
|
+
interface UnprocessableEntityError extends _Utils {
|
|
30
|
+
errorName: "UnprocessableEntityError";
|
|
31
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
32
|
+
}
|
|
29
33
|
interface HttpRequestValidationError extends _Utils {
|
|
30
34
|
errorName: "HttpRequestValidationError";
|
|
31
35
|
content: CandidApi.RequestValidationError;
|
|
@@ -48,6 +52,7 @@ export declare namespace Error {
|
|
|
48
52
|
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
49
53
|
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
50
54
|
schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
|
|
55
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
51
56
|
httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
|
|
52
57
|
payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => _Result;
|
|
53
58
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
@@ -60,6 +65,7 @@ export declare const Error: {
|
|
|
60
65
|
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnauthorizedError;
|
|
61
66
|
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError;
|
|
62
67
|
readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure;
|
|
68
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnprocessableEntityError;
|
|
63
69
|
readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationError;
|
|
64
70
|
readonly payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
|
|
65
71
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
|
|
@@ -91,6 +91,15 @@ exports.Error = {
|
|
|
91
91
|
},
|
|
92
92
|
};
|
|
93
93
|
},
|
|
94
|
+
unprocessableEntityError: (value) => {
|
|
95
|
+
return {
|
|
96
|
+
content: value,
|
|
97
|
+
errorName: "UnprocessableEntityError",
|
|
98
|
+
_visit: function (visitor) {
|
|
99
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatient.Error._visit(this, visitor);
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
},
|
|
94
103
|
httpRequestValidationError: (value) => {
|
|
95
104
|
return {
|
|
96
105
|
content: value,
|
|
@@ -132,6 +141,8 @@ exports.Error = {
|
|
|
132
141
|
return visitor.httpRequestValidationsError(value.content);
|
|
133
142
|
case "SchemaInstanceValidationHttpFailure":
|
|
134
143
|
return visitor.schemaInstanceValidationHttpFailure(value.content);
|
|
144
|
+
case "UnprocessableEntityError":
|
|
145
|
+
return visitor.unprocessableEntityError(value.content);
|
|
135
146
|
case "HttpRequestValidationError":
|
|
136
147
|
return visitor.httpRequestValidationError(value.content);
|
|
137
148
|
case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
|
package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as core from "../../../../../../core";
|
|
2
2
|
import * as CandidApi from "../../../../../index";
|
|
3
|
-
export type Error = CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnauthorizedError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error._Unknown;
|
|
3
|
+
export type Error = CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnauthorizedError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnprocessableEntityError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error._Unknown;
|
|
4
4
|
export declare namespace Error {
|
|
5
5
|
interface EncounterExternalIdUniquenessError extends _Utils {
|
|
6
6
|
errorName: "EncounterExternalIdUniquenessError";
|
|
@@ -26,6 +26,10 @@ export declare namespace Error {
|
|
|
26
26
|
errorName: "SchemaInstanceValidationHttpFailure";
|
|
27
27
|
content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
|
|
28
28
|
}
|
|
29
|
+
interface UnprocessableEntityError extends _Utils {
|
|
30
|
+
errorName: "UnprocessableEntityError";
|
|
31
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
32
|
+
}
|
|
29
33
|
interface HttpRequestValidationError extends _Utils {
|
|
30
34
|
errorName: "HttpRequestValidationError";
|
|
31
35
|
content: CandidApi.RequestValidationError;
|
|
@@ -48,6 +52,7 @@ export declare namespace Error {
|
|
|
48
52
|
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
49
53
|
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
50
54
|
schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
|
|
55
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
51
56
|
httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
|
|
52
57
|
payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => _Result;
|
|
53
58
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
@@ -60,6 +65,7 @@ export declare const Error: {
|
|
|
60
65
|
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnauthorizedError;
|
|
61
66
|
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationsError;
|
|
62
67
|
readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.SchemaInstanceValidationHttpFailure;
|
|
68
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnprocessableEntityError;
|
|
63
69
|
readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationError;
|
|
64
70
|
readonly payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
|
|
65
71
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error._Unknown;
|
package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js
CHANGED
|
@@ -91,6 +91,15 @@ exports.Error = {
|
|
|
91
91
|
},
|
|
92
92
|
};
|
|
93
93
|
},
|
|
94
|
+
unprocessableEntityError: (value) => {
|
|
95
|
+
return {
|
|
96
|
+
content: value,
|
|
97
|
+
errorName: "UnprocessableEntityError",
|
|
98
|
+
_visit: function (visitor) {
|
|
99
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error._visit(this, visitor);
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
},
|
|
94
103
|
httpRequestValidationError: (value) => {
|
|
95
104
|
return {
|
|
96
105
|
content: value,
|
|
@@ -132,6 +141,8 @@ exports.Error = {
|
|
|
132
141
|
return visitor.httpRequestValidationsError(value.content);
|
|
133
142
|
case "SchemaInstanceValidationHttpFailure":
|
|
134
143
|
return visitor.schemaInstanceValidationHttpFailure(value.content);
|
|
144
|
+
case "UnprocessableEntityError":
|
|
145
|
+
return visitor.unprocessableEntityError(value.content);
|
|
135
146
|
case "HttpRequestValidationError":
|
|
136
147
|
return visitor.httpRequestValidationError(value.content);
|
|
137
148
|
case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
|