candidhealth 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/default/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +33 -0
- package/api/resources/chargeCapture/resources/v1/client/Client.js +102 -6
- package/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +58 -0
- package/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +123 -0
- package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
- package/api/resources/chargeCapture/resources/v1/client/index.js +2 -1
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +30 -0
- package/{dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js} +0 -6
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +14 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +3 -3
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +3 -3
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +2 -2
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +2 -2
- package/api/resources/claimSubmission/resources/v1/types/index.d.ts +0 -1
- package/api/resources/claimSubmission/resources/v1/types/index.js +0 -1
- package/api/resources/commons/types/NextResponsibleParty.d.ts +12 -0
- package/api/resources/commons/types/NextResponsibleParty.js +14 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -1
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +5 -3
- package/api/resources/diagnoses/client/delete.d.ts +7 -1
- package/api/resources/diagnoses/client/delete.js +11 -0
- package/api/resources/diagnoses/client/update.d.ts +7 -1
- package/api/resources/diagnoses/client/update.js +11 -0
- package/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +9 -0
- package/api/resources/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js} +0 -6
- package/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +9 -0
- package/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +5 -0
- package/api/resources/diagnoses/types/index.d.ts +2 -0
- package/api/resources/diagnoses/types/index.js +2 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +44 -2
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -2
- package/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +21 -0
- package/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +10 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.d.ts +5 -3
- package/api/resources/exports/resources/v3/client/Client.js +8 -4
- package/api/resources/exports/resources/v3/client/getExports.d.ts +13 -1
- package/api/resources/exports/resources/v3/client/getExports.js +22 -0
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +18 -0
- package/api/resources/feeSchedules/resources/v3/client/Client.js +60 -10
- package/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +22 -0
- package/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.js +57 -0
- package/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/individual/types/SubscriberCreate.d.ts +1 -0
- package/api/resources/individual/types/SubscriberCreateOptional.d.ts +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +15 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +79 -7
- package/api/resources/nonInsurancePayers/resources/v1/client/getCategories.d.ts +22 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/getCategories.js +57 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/index.js +2 -1
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +15 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +22 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +7 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +15 -5
- package/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +4 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +16 -6
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +4 -0
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/lists/resources/v1 → api/resources/preEncounter/resources/common}/types/FilterQueryString.d.ts +4 -4
- package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +11 -11
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +39 -4
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +155 -8
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.d.ts +22 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.js +57 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +4 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +8 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.d.ts +22 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.js +57 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +22 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +57 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.d.ts +11 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.d.ts +11 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.d.ts +13 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.js +2 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +9 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +13 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +18 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +13 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +10 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +12 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +8 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +9 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +15 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +8 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +12 -12
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +166 -0
- package/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +48 -0
- package/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +50 -0
- package/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +19 -0
- package/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +30 -0
- package/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +14 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +14 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +114 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +35 -0
- package/api/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +42 -0
- package/api/resources/x12/resources/v1/types/TypeOfCareCode.js +17 -0
- package/api/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +34 -0
- package/api/resources/x12/resources/v1/types/TypeOfFacilityCode.js +15 -0
- package/api/resources/x12/resources/v1/types/index.d.ts +7 -0
- package/api/resources/x12/resources/v1/types/index.js +7 -0
- package/dist/api/resources/auth/resources/default/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +33 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +102 -6
- package/dist/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +58 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +123 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +30 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +14 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +3 -3
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +3 -3
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +2 -2
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +2 -2
- package/dist/api/resources/claimSubmission/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/claimSubmission/resources/v1/types/index.js +0 -1
- package/dist/api/resources/commons/types/NextResponsibleParty.d.ts +12 -0
- package/dist/api/resources/commons/types/NextResponsibleParty.js +14 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -1
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +5 -3
- package/dist/api/resources/diagnoses/client/delete.d.ts +7 -1
- package/dist/api/resources/diagnoses/client/delete.js +11 -0
- package/dist/api/resources/diagnoses/client/update.d.ts +7 -1
- package/dist/api/resources/diagnoses/client/update.js +11 -0
- package/dist/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +9 -0
- package/dist/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +5 -0
- package/dist/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +9 -0
- package/dist/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +5 -0
- package/dist/api/resources/diagnoses/types/index.d.ts +2 -0
- package/dist/api/resources/diagnoses/types/index.js +2 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +44 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +21 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +10 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +5 -3
- package/dist/api/resources/exports/resources/v3/client/Client.js +8 -4
- package/dist/api/resources/exports/resources/v3/client/getExports.d.ts +13 -1
- package/dist/api/resources/exports/resources/v3/client/getExports.js +22 -0
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +18 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +60 -10
- package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +22 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.js +57 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/individual/types/SubscriberCreate.d.ts +1 -0
- package/dist/api/resources/individual/types/SubscriberCreateOptional.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +15 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +79 -7
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/getCategories.d.ts +22 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/getCategories.js +57 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.js +2 -1
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +15 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +22 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +7 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +15 -5
- package/dist/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +4 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +16 -6
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +4 -0
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +1 -1
- package/{api/resources/preEncounter/resources/lists/resources/v1 → dist/api/resources/preEncounter/resources/common}/types/FilterQueryString.d.ts +4 -4
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +11 -11
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +39 -4
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +155 -8
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.js +57 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +8 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.js +57 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +57 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +18 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +12 -12
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +166 -0
- package/dist/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +48 -0
- package/dist/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +50 -0
- package/dist/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +19 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +30 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +14 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +14 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +114 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +35 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +42 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfCareCode.js +17 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +34 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfFacilityCode.js +15 -0
- package/dist/api/resources/x12/resources/v1/types/index.d.ts +7 -0
- package/dist/api/resources/x12/resources/v1/types/index.js +7 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +40 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +101 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +23 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +54 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +3 -1
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +2 -2
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +2 -2
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.js +0 -1
- package/dist/serialization/resources/commons/types/NextResponsibleParty.d.ts +10 -0
- package/dist/serialization/resources/commons/types/NextResponsibleParty.js +41 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/diagnoses/client/delete.d.ts +6 -1
- package/dist/serialization/resources/diagnoses/client/delete.js +6 -0
- package/dist/serialization/resources/diagnoses/client/update.d.ts +6 -1
- package/dist/serialization/resources/diagnoses/client/update.js +6 -0
- package/dist/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +46 -0
- package/dist/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +16 -0
- package/dist/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +47 -0
- package/dist/serialization/resources/diagnoses/types/index.d.ts +2 -0
- package/dist/serialization/resources/diagnoses/types/index.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +20 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +20 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +10 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +41 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/exports/resources/v3/client/getExports.d.ts +9 -1
- package/dist/serialization/resources/exports/resources/v3/client/getExports.js +10 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +9 -0
- package/dist/serialization/resources/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → feeSchedules/resources/v3/client/hardDeleteRates.js} +2 -2
- package/dist/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +13 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +46 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +42 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +12 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +43 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +17 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +50 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +51 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +18 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +51 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +46 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +48 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +47 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +21 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +52 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -0
- package/dist/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +82 -0
- package/dist/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +41 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +41 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +18 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +49 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +69 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfCareCode.js +41 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfFacilityCode.js +41 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +7 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.js +7 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +442 -10
- package/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +40 -0
- package/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +101 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -1
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +23 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +54 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +3 -1
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +2 -2
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +2 -2
- package/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/claimSubmission/resources/v1/types/index.js +0 -1
- package/serialization/resources/commons/types/NextResponsibleParty.d.ts +10 -0
- package/serialization/resources/commons/types/NextResponsibleParty.js +41 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/diagnoses/client/delete.d.ts +6 -1
- package/serialization/resources/diagnoses/client/delete.js +6 -0
- package/serialization/resources/diagnoses/client/update.d.ts +6 -1
- package/serialization/resources/diagnoses/client/update.js +6 -0
- package/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +15 -0
- package/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +46 -0
- package/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +16 -0
- package/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +47 -0
- package/serialization/resources/diagnoses/types/index.d.ts +2 -0
- package/serialization/resources/diagnoses/types/index.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +20 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +20 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +41 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/serialization/resources/exports/resources/v3/client/getExports.d.ts +9 -1
- package/serialization/resources/exports/resources/v3/client/getExports.js +10 -0
- package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +9 -0
- package/serialization/resources/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → feeSchedules/resources/v3/client/hardDeleteRates.js} +2 -2
- package/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +13 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +46 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -0
- package/serialization/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +3 -3
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +42 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +12 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +43 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +17 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +50 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +51 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +18 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +51 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +44 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +46 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +48 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +47 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +21 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +52 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +45 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.js +2 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -0
- package/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +82 -0
- package/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +41 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +41 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +18 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +49 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +69 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfCareCode.js +41 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfFacilityCode.js +41 -0
- package/serialization/resources/x12/resources/v1/types/index.d.ts +7 -0
- package/serialization/resources/x12/resources/v1/types/index.js +7 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -9
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -9
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +0 -10
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +0 -10
- /package/api/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +0 -0
- /package/dist/api/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +0 -0
package/reference.md
CHANGED
|
@@ -507,6 +507,96 @@ await client.chargeCapture.v1.create({
|
|
|
507
507
|
</dl>
|
|
508
508
|
</details>
|
|
509
509
|
|
|
510
|
+
<details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">createFromPreEncounterPatient</a>({ ...params }) -> core.APIResponse<CandidApi.ChargeCapture, CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error></code></summary>
|
|
511
|
+
<dl>
|
|
512
|
+
<dd>
|
|
513
|
+
|
|
514
|
+
#### 📝 Description
|
|
515
|
+
|
|
516
|
+
<dl>
|
|
517
|
+
<dd>
|
|
518
|
+
|
|
519
|
+
<dl>
|
|
520
|
+
<dd>
|
|
521
|
+
|
|
522
|
+
Create a Charge Capture from a pre-encounter patient and appointment. This endpoint is intended to be used by consumers who are managing
|
|
523
|
+
patients and appointments in the pre-encounter service and is currently under development. Consumers who are not taking advantage
|
|
524
|
+
of the pre-encounter service should use the standard create endpoint.
|
|
525
|
+
|
|
526
|
+
At encounter creation time, information from the provided patient and appointment objects will be populated
|
|
527
|
+
where applicable. In particular, the following fields are populated from the patient and appointment objects:
|
|
528
|
+
|
|
529
|
+
- Patient
|
|
530
|
+
- Referring Provider
|
|
531
|
+
- Subscriber Primary
|
|
532
|
+
- Subscriber Secondary
|
|
533
|
+
- Referral Number
|
|
534
|
+
- Responsible Party
|
|
535
|
+
- Guarantor
|
|
536
|
+
|
|
537
|
+
Note that these fields should not be populated in the ChargeCaptureData property of this endpoint, as they will be overwritten at encounter creation time.
|
|
538
|
+
|
|
539
|
+
Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
|
|
540
|
+
encounter has not already been submitted or adjudicated.
|
|
541
|
+
|
|
542
|
+
</dd>
|
|
543
|
+
</dl>
|
|
544
|
+
</dd>
|
|
545
|
+
</dl>
|
|
546
|
+
|
|
547
|
+
#### 🔌 Usage
|
|
548
|
+
|
|
549
|
+
<dl>
|
|
550
|
+
<dd>
|
|
551
|
+
|
|
552
|
+
<dl>
|
|
553
|
+
<dd>
|
|
554
|
+
|
|
555
|
+
```typescript
|
|
556
|
+
await client.chargeCapture.v1.createFromPreEncounterPatient({
|
|
557
|
+
data: {},
|
|
558
|
+
chargeExternalId: "charge_external_id",
|
|
559
|
+
preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
560
|
+
preEncounterAppointmentIds: [
|
|
561
|
+
CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
562
|
+
CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
563
|
+
],
|
|
564
|
+
status: "planned",
|
|
565
|
+
});
|
|
566
|
+
```
|
|
567
|
+
|
|
568
|
+
</dd>
|
|
569
|
+
</dl>
|
|
570
|
+
</dd>
|
|
571
|
+
</dl>
|
|
572
|
+
|
|
573
|
+
#### ⚙️ Parameters
|
|
574
|
+
|
|
575
|
+
<dl>
|
|
576
|
+
<dd>
|
|
577
|
+
|
|
578
|
+
<dl>
|
|
579
|
+
<dd>
|
|
580
|
+
|
|
581
|
+
**request:** `CandidApi.chargeCapture.v1.CreateChargeCaptureFromPreEncounterRequest`
|
|
582
|
+
|
|
583
|
+
</dd>
|
|
584
|
+
</dl>
|
|
585
|
+
|
|
586
|
+
<dl>
|
|
587
|
+
<dd>
|
|
588
|
+
|
|
589
|
+
**requestOptions:** `V1.RequestOptions`
|
|
590
|
+
|
|
591
|
+
</dd>
|
|
592
|
+
</dl>
|
|
593
|
+
</dd>
|
|
594
|
+
</dl>
|
|
595
|
+
|
|
596
|
+
</dd>
|
|
597
|
+
</dl>
|
|
598
|
+
</details>
|
|
599
|
+
|
|
510
600
|
<details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">update</a>(chargeCaptureId, { ...params }) -> core.APIResponse<CandidApi.ChargeCapture, CandidApi.chargeCapture.v1.update.Error></code></summary>
|
|
511
601
|
<dl>
|
|
512
602
|
<dd>
|
|
@@ -3211,6 +3301,11 @@ await client.expectedNetworkStatus.v2.computeAllInNetworkProviders({
|
|
|
3211
3301
|
<dl>
|
|
3212
3302
|
<dd>
|
|
3213
3303
|
|
|
3304
|
+
<Warning>
|
|
3305
|
+
API-based exports are in the process of being deprecated in favor of Candid Data Share and are not being offered to new customers.
|
|
3306
|
+
Please see the [Candid Data Share docs](https://docs.joincandidhealth.com/introduction/candid-data-share) for more information.
|
|
3307
|
+
</Warning>
|
|
3308
|
+
|
|
3214
3309
|
Retrieve CSV-formatted reports on claim submissions and outcomes. This endpoint returns Export objects that contain an
|
|
3215
3310
|
authenticated URL to a customer's reports with a 2min TTL. The schema for the CSV export can be found [here](https://app.joincandidhealth.com/files/exports_schema.csv).
|
|
3216
3311
|
|
|
@@ -3225,9 +3320,6 @@ caller will receive a 422 response. If the file has already been generated, it w
|
|
|
3225
3320
|
up to 90 days in the past by default. Please email our [Support team](mailto:support@joincandidhealth.com) with any data requests
|
|
3226
3321
|
outside of these stated guarantees.
|
|
3227
3322
|
|
|
3228
|
-
**New Customers:** This endpoint is not enabled by default for new Candid customers. To have this endpoint enabled for your organization,
|
|
3229
|
-
please email our [Support team](mailto:support@joincandidhealth.com) with the request.
|
|
3230
|
-
|
|
3231
3323
|
</dd>
|
|
3232
3324
|
</dl>
|
|
3233
3325
|
</dd>
|
|
@@ -4045,6 +4137,77 @@ await client.feeSchedules.v3.setPayerThreshold(CandidApi.PayerUuid("d5e9c84f-c2b
|
|
|
4045
4137
|
</dl>
|
|
4046
4138
|
</details>
|
|
4047
4139
|
|
|
4140
|
+
<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">hardDeleteRates</a>({ ...params }) -> core.APIResponse<number, CandidApi.feeSchedules.v3.hardDeleteRates.Error></code></summary>
|
|
4141
|
+
<dl>
|
|
4142
|
+
<dd>
|
|
4143
|
+
|
|
4144
|
+
#### 📝 Description
|
|
4145
|
+
|
|
4146
|
+
<dl>
|
|
4147
|
+
<dd>
|
|
4148
|
+
|
|
4149
|
+
<dl>
|
|
4150
|
+
<dd>
|
|
4151
|
+
|
|
4152
|
+
Hard deletes rates from the system that match the provided dimensions. This is a destructive operation and cannot be undone. If an empty dimensions object is provided, all rates will be hard deleted. The maximum number of rates this API will delete at a time is 10000. Returns the number of rates deleted and if that number is the maximum, the caller should call this API again to continue deleting rates.
|
|
4153
|
+
|
|
4154
|
+
</dd>
|
|
4155
|
+
</dl>
|
|
4156
|
+
</dd>
|
|
4157
|
+
</dl>
|
|
4158
|
+
|
|
4159
|
+
#### 🔌 Usage
|
|
4160
|
+
|
|
4161
|
+
<dl>
|
|
4162
|
+
<dd>
|
|
4163
|
+
|
|
4164
|
+
<dl>
|
|
4165
|
+
<dd>
|
|
4166
|
+
|
|
4167
|
+
```typescript
|
|
4168
|
+
await client.feeSchedules.v3.hardDeleteRates({
|
|
4169
|
+
states: new Set(["AA"]),
|
|
4170
|
+
zipCodes: new Set(["zip_codes"]),
|
|
4171
|
+
licenseTypes: new Set(["MD"]),
|
|
4172
|
+
facilityTypeCodes: new Set(["01"]),
|
|
4173
|
+
networkTypes: new Set(["12"]),
|
|
4174
|
+
payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
4175
|
+
modifiers: new Set(["AV"]),
|
|
4176
|
+
});
|
|
4177
|
+
```
|
|
4178
|
+
|
|
4179
|
+
</dd>
|
|
4180
|
+
</dl>
|
|
4181
|
+
</dd>
|
|
4182
|
+
</dl>
|
|
4183
|
+
|
|
4184
|
+
#### ⚙️ Parameters
|
|
4185
|
+
|
|
4186
|
+
<dl>
|
|
4187
|
+
<dd>
|
|
4188
|
+
|
|
4189
|
+
<dl>
|
|
4190
|
+
<dd>
|
|
4191
|
+
|
|
4192
|
+
**request:** `CandidApi.OptionalDimensions`
|
|
4193
|
+
|
|
4194
|
+
</dd>
|
|
4195
|
+
</dl>
|
|
4196
|
+
|
|
4197
|
+
<dl>
|
|
4198
|
+
<dd>
|
|
4199
|
+
|
|
4200
|
+
**requestOptions:** `V3.RequestOptions`
|
|
4201
|
+
|
|
4202
|
+
</dd>
|
|
4203
|
+
</dl>
|
|
4204
|
+
</dd>
|
|
4205
|
+
</dl>
|
|
4206
|
+
|
|
4207
|
+
</dd>
|
|
4208
|
+
</dl>
|
|
4209
|
+
</details>
|
|
4210
|
+
|
|
4048
4211
|
## Guarantor V1
|
|
4049
4212
|
|
|
4050
4213
|
<details><summary><code>client.guarantor.v1.<a href="/src/api/resources/guarantor/resources/v1/client/Client.ts">create</a>(encounterId, { ...params }) -> core.APIResponse<CandidApi.Guarantor, CandidApi.guarantor.v1.create.Error></code></summary>
|
|
@@ -6258,6 +6421,74 @@ await client.nonInsurancePayers.v1.getMulti();
|
|
|
6258
6421
|
</dl>
|
|
6259
6422
|
</details>
|
|
6260
6423
|
|
|
6424
|
+
<details><summary><code>client.nonInsurancePayers.v1.<a href="/src/api/resources/nonInsurancePayers/resources/v1/client/Client.ts">getCategories</a>({ ...params }) -> core.APIResponse<CandidApi.NonInsurancePayerCategoriesPage, CandidApi.nonInsurancePayers.v1.getCategories.Error></code></summary>
|
|
6425
|
+
<dl>
|
|
6426
|
+
<dd>
|
|
6427
|
+
|
|
6428
|
+
#### 📝 Description
|
|
6429
|
+
|
|
6430
|
+
<dl>
|
|
6431
|
+
<dd>
|
|
6432
|
+
|
|
6433
|
+
<dl>
|
|
6434
|
+
<dd>
|
|
6435
|
+
|
|
6436
|
+
Returns a paginated list of all non-insurance payer categories.
|
|
6437
|
+
|
|
6438
|
+
Non-insurance payer categories are simply strings and are not stored as a
|
|
6439
|
+
separate object in Candid. They are created when added to at least one
|
|
6440
|
+
non-insurance payer's `category` field and are deleted when there are no
|
|
6441
|
+
longer any non-insurance payers that contain them.
|
|
6442
|
+
|
|
6443
|
+
</dd>
|
|
6444
|
+
</dl>
|
|
6445
|
+
</dd>
|
|
6446
|
+
</dl>
|
|
6447
|
+
|
|
6448
|
+
#### 🔌 Usage
|
|
6449
|
+
|
|
6450
|
+
<dl>
|
|
6451
|
+
<dd>
|
|
6452
|
+
|
|
6453
|
+
<dl>
|
|
6454
|
+
<dd>
|
|
6455
|
+
|
|
6456
|
+
```typescript
|
|
6457
|
+
await client.nonInsurancePayers.v1.getCategories();
|
|
6458
|
+
```
|
|
6459
|
+
|
|
6460
|
+
</dd>
|
|
6461
|
+
</dl>
|
|
6462
|
+
</dd>
|
|
6463
|
+
</dl>
|
|
6464
|
+
|
|
6465
|
+
#### ⚙️ Parameters
|
|
6466
|
+
|
|
6467
|
+
<dl>
|
|
6468
|
+
<dd>
|
|
6469
|
+
|
|
6470
|
+
<dl>
|
|
6471
|
+
<dd>
|
|
6472
|
+
|
|
6473
|
+
**request:** `CandidApi.nonInsurancePayers.v1.GetNonInsurancePayersCategoriesRequest`
|
|
6474
|
+
|
|
6475
|
+
</dd>
|
|
6476
|
+
</dl>
|
|
6477
|
+
|
|
6478
|
+
<dl>
|
|
6479
|
+
<dd>
|
|
6480
|
+
|
|
6481
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6482
|
+
|
|
6483
|
+
</dd>
|
|
6484
|
+
</dl>
|
|
6485
|
+
</dd>
|
|
6486
|
+
</dl>
|
|
6487
|
+
|
|
6488
|
+
</dd>
|
|
6489
|
+
</dl>
|
|
6490
|
+
</details>
|
|
6491
|
+
|
|
6261
6492
|
<details><summary><code>client.nonInsurancePayers.v1.<a href="/src/api/resources/nonInsurancePayers/resources/v1/client/Client.ts">get</a>(nonInsurancePayerId) -> core.APIResponse<CandidApi.NonInsurancePayer, CandidApi.nonInsurancePayers.v1.get.Error></code></summary>
|
|
6262
6493
|
<dl>
|
|
6263
6494
|
<dd>
|
|
@@ -9214,7 +9445,7 @@ await client.preEncounter.appointments.v1.getHistory(CandidApi.AppointmentId("id
|
|
|
9214
9445
|
<dl>
|
|
9215
9446
|
<dd>
|
|
9216
9447
|
|
|
9217
|
-
Updates an appointment. The path must contain the
|
|
9448
|
+
Updates an appointment. The path must contain the next version number to prevent race conditions. For example, if the current version of the appointment is n, you will need to send a request to this endpoint with `/{id}/n+1` to update the appointment. Updating historic versions is not supported.
|
|
9218
9449
|
|
|
9219
9450
|
</dd>
|
|
9220
9451
|
</dl>
|
|
@@ -9518,7 +9749,7 @@ await client.preEncounter.coverages.v1.create({
|
|
|
9518
9749
|
<dl>
|
|
9519
9750
|
<dd>
|
|
9520
9751
|
|
|
9521
|
-
Updates a Coverage. The path must contain the
|
|
9752
|
+
Updates a Coverage. The path must contain the next version number to prevent race conditions. For example, if the current version of the coverage is n, you will need to send a request to this endpoint with `/{id}/n+1` to update the coverage. Updating historic versions is not supported.
|
|
9522
9753
|
|
|
9523
9754
|
</dd>
|
|
9524
9755
|
</dl>
|
|
@@ -10164,7 +10395,6 @@ await client.preEncounter.coverages.v1.getEligibility(
|
|
|
10164
10395
|
<dd>
|
|
10165
10396
|
|
|
10166
10397
|
Sends real-time eligibility checks to payers through Stedi.
|
|
10167
|
-
<Warning>Please only send one concurrent request to this endpoint. Batch requests must be made in succession, otherwise, it will cause this service to fail. A batch endpoint is in development - please reach out to the Candid team for more information.</Warning>
|
|
10168
10398
|
|
|
10169
10399
|
</dd>
|
|
10170
10400
|
</dl>
|
|
@@ -10308,7 +10538,7 @@ await client.preEncounter.eligibilityChecks.v1.batch([
|
|
|
10308
10538
|
</dl>
|
|
10309
10539
|
</details>
|
|
10310
10540
|
|
|
10311
|
-
<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">pollBatch</a>(batchId) -> core.APIResponse<CandidApi.EligibilityCheckPage, CandidApi.preEncounter.eligibilityChecks.v1.pollBatch.Error></code></summary>
|
|
10541
|
+
<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">pollBatch</a>(batchId, { ...params }) -> core.APIResponse<CandidApi.EligibilityCheckPage, CandidApi.preEncounter.eligibilityChecks.v1.pollBatch.Error></code></summary>
|
|
10312
10542
|
<dl>
|
|
10313
10543
|
<dd>
|
|
10314
10544
|
|
|
@@ -10321,8 +10551,6 @@ await client.preEncounter.eligibilityChecks.v1.batch([
|
|
|
10321
10551
|
<dd>
|
|
10322
10552
|
|
|
10323
10553
|
Polls the status of a batch eligibility check.
|
|
10324
|
-
<Note>Batch eligibility checks are not yet available. Please reach out to the Candid team for more information.</Note>
|
|
10325
|
-
path-parameters:
|
|
10326
10554
|
|
|
10327
10555
|
</dd>
|
|
10328
10556
|
</dl>
|
|
@@ -10362,6 +10590,210 @@ await client.preEncounter.eligibilityChecks.v1.pollBatch("batch_id");
|
|
|
10362
10590
|
<dl>
|
|
10363
10591
|
<dd>
|
|
10364
10592
|
|
|
10593
|
+
**request:** `CandidApi.preEncounter.eligibilityChecks.v1.BatchEligibilityPollRequest`
|
|
10594
|
+
|
|
10595
|
+
</dd>
|
|
10596
|
+
</dl>
|
|
10597
|
+
|
|
10598
|
+
<dl>
|
|
10599
|
+
<dd>
|
|
10600
|
+
|
|
10601
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10602
|
+
|
|
10603
|
+
</dd>
|
|
10604
|
+
</dl>
|
|
10605
|
+
</dd>
|
|
10606
|
+
</dl>
|
|
10607
|
+
|
|
10608
|
+
</dd>
|
|
10609
|
+
</dl>
|
|
10610
|
+
</details>
|
|
10611
|
+
|
|
10612
|
+
<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">payerSearch</a>({ ...params }) -> core.APIResponse<CandidApi.PayerSearchResponse, CandidApi.preEncounter.eligibilityChecks.v1.payerSearch.Error></code></summary>
|
|
10613
|
+
<dl>
|
|
10614
|
+
<dd>
|
|
10615
|
+
|
|
10616
|
+
#### 📝 Description
|
|
10617
|
+
|
|
10618
|
+
<dl>
|
|
10619
|
+
<dd>
|
|
10620
|
+
|
|
10621
|
+
<dl>
|
|
10622
|
+
<dd>
|
|
10623
|
+
|
|
10624
|
+
Searches for payers that match the query parameters.
|
|
10625
|
+
|
|
10626
|
+
</dd>
|
|
10627
|
+
</dl>
|
|
10628
|
+
</dd>
|
|
10629
|
+
</dl>
|
|
10630
|
+
|
|
10631
|
+
#### 🔌 Usage
|
|
10632
|
+
|
|
10633
|
+
<dl>
|
|
10634
|
+
<dd>
|
|
10635
|
+
|
|
10636
|
+
<dl>
|
|
10637
|
+
<dd>
|
|
10638
|
+
|
|
10639
|
+
```typescript
|
|
10640
|
+
await client.preEncounter.eligibilityChecks.v1.payerSearch();
|
|
10641
|
+
```
|
|
10642
|
+
|
|
10643
|
+
</dd>
|
|
10644
|
+
</dl>
|
|
10645
|
+
</dd>
|
|
10646
|
+
</dl>
|
|
10647
|
+
|
|
10648
|
+
#### ⚙️ Parameters
|
|
10649
|
+
|
|
10650
|
+
<dl>
|
|
10651
|
+
<dd>
|
|
10652
|
+
|
|
10653
|
+
<dl>
|
|
10654
|
+
<dd>
|
|
10655
|
+
|
|
10656
|
+
**request:** `CandidApi.preEncounter.eligibilityChecks.v1.PayerSearchRequest`
|
|
10657
|
+
|
|
10658
|
+
</dd>
|
|
10659
|
+
</dl>
|
|
10660
|
+
|
|
10661
|
+
<dl>
|
|
10662
|
+
<dd>
|
|
10663
|
+
|
|
10664
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10665
|
+
|
|
10666
|
+
</dd>
|
|
10667
|
+
</dl>
|
|
10668
|
+
</dd>
|
|
10669
|
+
</dl>
|
|
10670
|
+
|
|
10671
|
+
</dd>
|
|
10672
|
+
</dl>
|
|
10673
|
+
</details>
|
|
10674
|
+
|
|
10675
|
+
<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">recommendation</a>({ ...params }) -> core.APIResponse<CandidApi.EligibilityRecommendation[], CandidApi.preEncounter.eligibilityChecks.v1.recommendation.Error></code></summary>
|
|
10676
|
+
<dl>
|
|
10677
|
+
<dd>
|
|
10678
|
+
|
|
10679
|
+
#### 📝 Description
|
|
10680
|
+
|
|
10681
|
+
<dl>
|
|
10682
|
+
<dd>
|
|
10683
|
+
|
|
10684
|
+
<dl>
|
|
10685
|
+
<dd>
|
|
10686
|
+
|
|
10687
|
+
Gets recommendation for eligibility checks based on the request.
|
|
10688
|
+
|
|
10689
|
+
</dd>
|
|
10690
|
+
</dl>
|
|
10691
|
+
</dd>
|
|
10692
|
+
</dl>
|
|
10693
|
+
|
|
10694
|
+
#### 🔌 Usage
|
|
10695
|
+
|
|
10696
|
+
<dl>
|
|
10697
|
+
<dd>
|
|
10698
|
+
|
|
10699
|
+
<dl>
|
|
10700
|
+
<dd>
|
|
10701
|
+
|
|
10702
|
+
```typescript
|
|
10703
|
+
await client.preEncounter.eligibilityChecks.v1.recommendation();
|
|
10704
|
+
```
|
|
10705
|
+
|
|
10706
|
+
</dd>
|
|
10707
|
+
</dl>
|
|
10708
|
+
</dd>
|
|
10709
|
+
</dl>
|
|
10710
|
+
|
|
10711
|
+
#### ⚙️ Parameters
|
|
10712
|
+
|
|
10713
|
+
<dl>
|
|
10714
|
+
<dd>
|
|
10715
|
+
|
|
10716
|
+
<dl>
|
|
10717
|
+
<dd>
|
|
10718
|
+
|
|
10719
|
+
**request:** `CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendationRequest`
|
|
10720
|
+
|
|
10721
|
+
</dd>
|
|
10722
|
+
</dl>
|
|
10723
|
+
|
|
10724
|
+
<dl>
|
|
10725
|
+
<dd>
|
|
10726
|
+
|
|
10727
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10728
|
+
|
|
10729
|
+
</dd>
|
|
10730
|
+
</dl>
|
|
10731
|
+
</dd>
|
|
10732
|
+
</dl>
|
|
10733
|
+
|
|
10734
|
+
</dd>
|
|
10735
|
+
</dl>
|
|
10736
|
+
</details>
|
|
10737
|
+
|
|
10738
|
+
<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">createRecommendation</a>({ ...params }) -> core.APIResponse<CandidApi.EligibilityRecommendation, CandidApi.preEncounter.eligibilityChecks.v1.createRecommendation.Error></code></summary>
|
|
10739
|
+
<dl>
|
|
10740
|
+
<dd>
|
|
10741
|
+
|
|
10742
|
+
#### 📝 Description
|
|
10743
|
+
|
|
10744
|
+
<dl>
|
|
10745
|
+
<dd>
|
|
10746
|
+
|
|
10747
|
+
<dl>
|
|
10748
|
+
<dd>
|
|
10749
|
+
|
|
10750
|
+
Create an eligibiilty recommendation based on the request.
|
|
10751
|
+
|
|
10752
|
+
</dd>
|
|
10753
|
+
</dl>
|
|
10754
|
+
</dd>
|
|
10755
|
+
</dl>
|
|
10756
|
+
|
|
10757
|
+
#### 🔌 Usage
|
|
10758
|
+
|
|
10759
|
+
<dl>
|
|
10760
|
+
<dd>
|
|
10761
|
+
|
|
10762
|
+
<dl>
|
|
10763
|
+
<dd>
|
|
10764
|
+
|
|
10765
|
+
```typescript
|
|
10766
|
+
await client.preEncounter.eligibilityChecks.v1.createRecommendation({
|
|
10767
|
+
eligibilityCheckId: "eligibility_check_id",
|
|
10768
|
+
patient: {},
|
|
10769
|
+
recommendation: {
|
|
10770
|
+
type: "MEDICARE_ADVANTAGE",
|
|
10771
|
+
payload: {},
|
|
10772
|
+
},
|
|
10773
|
+
});
|
|
10774
|
+
```
|
|
10775
|
+
|
|
10776
|
+
</dd>
|
|
10777
|
+
</dl>
|
|
10778
|
+
</dd>
|
|
10779
|
+
</dl>
|
|
10780
|
+
|
|
10781
|
+
#### ⚙️ Parameters
|
|
10782
|
+
|
|
10783
|
+
<dl>
|
|
10784
|
+
<dd>
|
|
10785
|
+
|
|
10786
|
+
<dl>
|
|
10787
|
+
<dd>
|
|
10788
|
+
|
|
10789
|
+
**request:** `CandidApi.PostEligibilityRecommendationRequest`
|
|
10790
|
+
|
|
10791
|
+
</dd>
|
|
10792
|
+
</dl>
|
|
10793
|
+
|
|
10794
|
+
<dl>
|
|
10795
|
+
<dd>
|
|
10796
|
+
|
|
10365
10797
|
**requestOptions:** `V1.RequestOptions`
|
|
10366
10798
|
|
|
10367
10799
|
</dd>
|
|
@@ -11885,7 +12317,7 @@ await client.preEncounter.patients.v1.getHistory(CandidApi.PatientId("id"));
|
|
|
11885
12317
|
<dl>
|
|
11886
12318
|
<dd>
|
|
11887
12319
|
|
|
11888
|
-
Updates a patient. The path must contain the
|
|
12320
|
+
Updates a patient. The path must contain the next version number to prevent race conditions. For example, if the current version of the patient is n, you will need to send a request to this endpoint with `/{id}/n+1` to update the patient. Updating historic versions is not supported.
|
|
11889
12321
|
|
|
11890
12322
|
</dd>
|
|
11891
12323
|
</dl>
|
package/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
9
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
10
|
+
import { SchemaInstanceValidationFailure } from "../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure";
|
|
11
|
+
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
12
|
+
import { ChargeExternalIdConflictErrorMessage } from "../types/ChargeExternalIdConflictErrorMessage";
|
|
13
|
+
export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.createFromPreEncounterPatient.Error.Raw, CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error>;
|
|
14
|
+
export declare namespace Error {
|
|
15
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError | Error.ChargeExternalIdConflictError;
|
|
16
|
+
interface EntityNotFoundError {
|
|
17
|
+
errorName: "EntityNotFoundError";
|
|
18
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
19
|
+
}
|
|
20
|
+
interface UnauthorizedError {
|
|
21
|
+
errorName: "UnauthorizedError";
|
|
22
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
23
|
+
}
|
|
24
|
+
interface HttpRequestValidationsError {
|
|
25
|
+
errorName: "HttpRequestValidationsError";
|
|
26
|
+
content: RequestValidationError.Raw[];
|
|
27
|
+
}
|
|
28
|
+
interface SchemaInstanceValidationHttpFailure {
|
|
29
|
+
errorName: "SchemaInstanceValidationHttpFailure";
|
|
30
|
+
content: SchemaInstanceValidationFailure.Raw;
|
|
31
|
+
}
|
|
32
|
+
interface UnprocessableEntityError {
|
|
33
|
+
errorName: "UnprocessableEntityError";
|
|
34
|
+
content: UnprocessableEntityErrorMessage.Raw;
|
|
35
|
+
}
|
|
36
|
+
interface ChargeExternalIdConflictError {
|
|
37
|
+
errorName: "ChargeExternalIdConflictError";
|
|
38
|
+
content: ChargeExternalIdConflictErrorMessage.Raw;
|
|
39
|
+
}
|
|
40
|
+
}
|
package/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
52
|
+
const core = __importStar(require("../../../../../../core"));
|
|
53
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
54
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
55
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
56
|
+
const SchemaInstanceValidationFailure_1 = require("../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure");
|
|
57
|
+
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
58
|
+
const ChargeExternalIdConflictErrorMessage_1 = require("../types/ChargeExternalIdConflictErrorMessage");
|
|
59
|
+
exports.Error = core.serialization
|
|
60
|
+
.union("errorName", {
|
|
61
|
+
EntityNotFoundError: core.serialization.object({
|
|
62
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
63
|
+
}),
|
|
64
|
+
UnauthorizedError: core.serialization.object({
|
|
65
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
66
|
+
}),
|
|
67
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
68
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
69
|
+
}),
|
|
70
|
+
SchemaInstanceValidationHttpFailure: core.serialization.object({
|
|
71
|
+
content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
|
|
72
|
+
}),
|
|
73
|
+
UnprocessableEntityError: core.serialization.object({
|
|
74
|
+
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
75
|
+
}),
|
|
76
|
+
ChargeExternalIdConflictError: core.serialization.object({
|
|
77
|
+
content: ChargeExternalIdConflictErrorMessage_1.ChargeExternalIdConflictErrorMessage,
|
|
78
|
+
}),
|
|
79
|
+
})
|
|
80
|
+
.transform({
|
|
81
|
+
transform: (value) => {
|
|
82
|
+
switch (value.errorName) {
|
|
83
|
+
case "EntityNotFoundError":
|
|
84
|
+
return CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error.entityNotFoundError(value.content);
|
|
85
|
+
case "UnauthorizedError":
|
|
86
|
+
return CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error.unauthorizedError(value.content);
|
|
87
|
+
case "HttpRequestValidationsError":
|
|
88
|
+
return CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error.httpRequestValidationsError(value.content);
|
|
89
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
90
|
+
return CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error.schemaInstanceValidationHttpFailure(value.content);
|
|
91
|
+
case "UnprocessableEntityError":
|
|
92
|
+
return CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error.unprocessableEntityError(value.content);
|
|
93
|
+
case "ChargeExternalIdConflictError":
|
|
94
|
+
return CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error.chargeExternalIdConflictError(value.content);
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
untransform: (_a) => {
|
|
98
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
99
|
+
return value;
|
|
100
|
+
},
|
|
101
|
+
});
|
|
@@ -36,8 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.updatePostBilledChanges = exports.update = exports.create = void 0;
|
|
39
|
+
exports.updatePostBilledChanges = exports.update = exports.createFromPreEncounterPatient = exports.create = void 0;
|
|
40
40
|
exports.create = __importStar(require("./create"));
|
|
41
|
+
exports.createFromPreEncounterPatient = __importStar(require("./createFromPreEncounterPatient"));
|
|
41
42
|
exports.update = __importStar(require("./update"));
|
|
42
43
|
exports.updatePostBilledChanges = __importStar(require("./updatePostBilledChanges"));
|
|
43
44
|
__exportStar(require("./requests"), exports);
|