candidhealth 0.45.0 → 0.46.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/README.md +4 -18
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
- package/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
- package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
- package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
- package/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
- package/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
- package/api/resources/contracts/resources/v2/client/Client.js +19 -73
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
- package/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
- package/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
- package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
- package/api/resources/credentialing/resources/v2/client/Client.js +9 -31
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.d.ts +3 -8
- package/api/resources/diagnoses/client/Client.js +6 -11
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
- package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
- package/api/resources/eligibility/resources/v2/client/Client.js +5 -9
- package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
- package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
- package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
- package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
- package/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
- package/api/resources/encounters/resources/v4/client/Client.js +54 -679
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
- package/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
- package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
- package/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
- package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
- package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
- package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
- package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
- package/api/resources/guarantor/resources/v1/client/Client.js +11 -41
- package/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
- package/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
- package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
- package/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
- package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
- package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
- package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
- package/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
- package/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
- package/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
- package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
- package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
- package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
- package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
- package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/pipelineCommons/index.d.ts +1 -0
- package/api/resources/pipelineCommons/index.js +17 -0
- package/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
- package/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
- package/api/resources/pipelineCommons/types/index.d.ts +1 -0
- package/api/resources/pipelineCommons/types/index.js +17 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
- package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
- package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
- package/api/resources/serviceFacility/client/Client.d.ts +1 -11
- package/api/resources/serviceFacility/client/Client.js +2 -12
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
- package/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
- package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +2 -1
- package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
- package/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
- package/api/resources/superbills/resources/v1/client/Client.js +3 -11
- package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
- package/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
- package/api/resources/tasks/resources/v3/client/Client.js +9 -30
- package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
- package/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
- package/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
- package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
- package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
- package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
- package/dist/api/resources/contracts/resources/v2/client/Client.js +19 -73
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
- package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
- package/dist/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
- package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +9 -31
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.d.ts +3 -8
- package/dist/api/resources/diagnoses/client/Client.js +6 -11
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
- package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +5 -9
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
- package/dist/api/resources/encounters/resources/v4/client/Client.js +54 -679
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
- package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +11 -41
- package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
- package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
- package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/pipelineCommons/index.d.ts +1 -0
- package/dist/api/resources/pipelineCommons/index.js +17 -0
- package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
- package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
- package/dist/api/resources/pipelineCommons/types/index.d.ts +1 -0
- package/dist/api/resources/pipelineCommons/types/index.js +17 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
- package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -11
- package/dist/api/resources/serviceFacility/client/Client.js +2 -12
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
- package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +2 -1
- package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
- package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
- package/dist/api/resources/superbills/resources/v1/client/Client.js +3 -11
- package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
- package/dist/api/resources/tasks/resources/v3/client/Client.js +9 -30
- package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
- package/dist/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
- package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/environments.d.ts +5 -1
- package/dist/environments.js +4 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/pipelineCommons/index.d.ts +1 -0
- package/dist/serialization/resources/pipelineCommons/index.js +17 -0
- package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
- package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
- package/dist/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
- package/dist/serialization/resources/pipelineCommons/types/index.js +17 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
- package/dist/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
- package/dist/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +5 -1
- package/environments.js +4 -0
- package/package.json +1 -1
- package/reference.md +772 -2366
- package/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
- package/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
- package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/pipelineCommons/index.d.ts +1 -0
- package/serialization/resources/pipelineCommons/index.js +17 -0
- package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
- package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
- package/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
- package/serialization/resources/pipelineCommons/types/index.js +17 -0
- package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
- package/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
- package/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -57,7 +57,6 @@ const serializers = __importStar(require("../../../../../../serialization/index"
|
|
|
57
57
|
/**
|
|
58
58
|
* PaymentAccountConfig reprents a configuration record for integration with third party payment processors.
|
|
59
59
|
* This configuration is used to determine how to process invoices.
|
|
60
|
-
*
|
|
61
60
|
*/
|
|
62
61
|
class V1 {
|
|
63
62
|
constructor(_options = {}) {
|
|
@@ -68,10 +67,7 @@ class V1 {
|
|
|
68
67
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
68
|
*
|
|
70
69
|
* @example
|
|
71
|
-
* await client.externalPaymentAccountConfig.v1.getMulti(
|
|
72
|
-
* limit: 1,
|
|
73
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
|
|
74
|
-
* })
|
|
70
|
+
* await client.externalPaymentAccountConfig.v1.getMulti()
|
|
75
71
|
*/
|
|
76
72
|
getMulti() {
|
|
77
73
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
@@ -87,7 +83,7 @@ class V1 {
|
|
|
87
83
|
const _response = yield core.fetcher({
|
|
88
84
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/external-payment-account-config/v1"),
|
|
89
85
|
method: "GET",
|
|
90
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
86
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
91
87
|
contentType: "application/json",
|
|
92
88
|
queryParameters: _queryParams,
|
|
93
89
|
requestType: "json",
|
|
@@ -4,10 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* limit: 1,
|
|
9
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
|
|
10
|
-
* }
|
|
7
|
+
* {}
|
|
11
8
|
*/
|
|
12
9
|
export interface GetExternalPaymentAccountConfigsRequest {
|
|
13
10
|
/**
|
|
@@ -26,7 +26,7 @@ export declare class V3 {
|
|
|
26
26
|
protected readonly _options: V3.Options;
|
|
27
27
|
constructor(_options?: V3.Options);
|
|
28
28
|
/**
|
|
29
|
-
* Gets the rate that matches a service line.
|
|
29
|
+
* Gets the rate that matches a service line. No result means no rate exists matching the service line's dimensions.
|
|
30
30
|
*
|
|
31
31
|
* @param {CandidApi.ServiceLineId} serviceLineId
|
|
32
32
|
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -53,21 +53,7 @@ export declare class V3 {
|
|
|
53
53
|
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
|
-
* await client.feeSchedules.v3.getMulti(
|
|
57
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
58
|
-
* limit: 1,
|
|
59
|
-
* activeDate: "2023-01-15",
|
|
60
|
-
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
61
|
-
* organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
62
|
-
* states: "AA",
|
|
63
|
-
* zipCodes: "string",
|
|
64
|
-
* licenseTypes: "MD",
|
|
65
|
-
* facilityTypeCodes: "01",
|
|
66
|
-
* networkTypes: "12",
|
|
67
|
-
* payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
68
|
-
* cptCode: "string",
|
|
69
|
-
* modifiers: "AV"
|
|
70
|
-
* })
|
|
56
|
+
* await client.feeSchedules.v3.getMulti()
|
|
71
57
|
*/
|
|
72
58
|
getMulti(request?: CandidApi.feeSchedules.v3.GetMultiRequest, requestOptions?: V3.RequestOptions): Promise<core.APIResponse<CandidApi.feeSchedules.v3.RatesPage, CandidApi.feeSchedules.v3.getMulti.Error>>;
|
|
73
59
|
/**
|
|
@@ -78,19 +64,7 @@ export declare class V3 {
|
|
|
78
64
|
*
|
|
79
65
|
* @example
|
|
80
66
|
* await client.feeSchedules.v3.getUniqueValuesForDimension({
|
|
81
|
-
*
|
|
82
|
-
* limit: 1,
|
|
83
|
-
* pivotDimension: "payer_uuid",
|
|
84
|
-
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
85
|
-
* organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
86
|
-
* states: "AA",
|
|
87
|
-
* zipCodes: "string",
|
|
88
|
-
* licenseTypes: "MD",
|
|
89
|
-
* facilityTypeCodes: "01",
|
|
90
|
-
* networkTypes: "12",
|
|
91
|
-
* payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
92
|
-
* cptCode: "string",
|
|
93
|
-
* modifiers: "AV"
|
|
67
|
+
* pivotDimension: "payer_uuid"
|
|
94
68
|
* })
|
|
95
69
|
*/
|
|
96
70
|
getUniqueValuesForDimension(request: CandidApi.feeSchedules.v3.GetUniqueDimensionValuesRequest, requestOptions?: V3.RequestOptions): Promise<core.APIResponse<CandidApi.feeSchedules.v3.DimensionsPage, CandidApi.feeSchedules.v3.getUniqueValuesForDimension.Error>>;
|
|
@@ -105,7 +79,7 @@ export declare class V3 {
|
|
|
105
79
|
*/
|
|
106
80
|
getRateHistory(rateId: CandidApi.RateId, requestOptions?: V3.RequestOptions): Promise<core.APIResponse<CandidApi.feeSchedules.v3.Rate[], CandidApi.feeSchedules.v3.getRateHistory.Error>>;
|
|
107
81
|
/**
|
|
108
|
-
* Uploads a new fee schedule.\n Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.\n If adding a new version to an existing rate, the rate must be posted with the next version number (previous version + 1) or a EntityConflictError will be returned.\n Use the dry run flag to discover already existing rates and to run validations.
|
|
82
|
+
* Uploads a new fee schedule.\n Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.\n If adding a new version to an existing rate, the rate must be posted with the next version number (previous version + 1) or a EntityConflictError will be returned.\n Use the dry run flag to discover already existing rates and to run validations. If validations for any rate fail, no rates will be saved to the system.
|
|
109
83
|
*
|
|
110
84
|
* @param {CandidApi.feeSchedules.v3.FeeScheduleUploadRequest} request
|
|
111
85
|
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -119,25 +93,52 @@ export declare class V3 {
|
|
|
119
93
|
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
120
94
|
* organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
121
95
|
* states: new Set(["AA"]),
|
|
122
|
-
* zipCodes: new Set(["
|
|
96
|
+
* zipCodes: new Set(["zip_codes"]),
|
|
97
|
+
* licenseTypes: new Set(["MD"]),
|
|
98
|
+
* facilityTypeCodes: new Set(["01"]),
|
|
99
|
+
* networkTypes: new Set(["12"]),
|
|
100
|
+
* payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
101
|
+
* cptCode: "cpt_code",
|
|
102
|
+
* modifiers: new Set(["AV"])
|
|
103
|
+
* },
|
|
104
|
+
* entries: [{
|
|
105
|
+
* startDate: "2023-01-15",
|
|
106
|
+
* rateCents: 1,
|
|
107
|
+
* isDeactivated: true
|
|
108
|
+
* }, {
|
|
109
|
+
* startDate: "2023-01-15",
|
|
110
|
+
* rateCents: 1,
|
|
111
|
+
* isDeactivated: true
|
|
112
|
+
* }]
|
|
113
|
+
* }, {
|
|
114
|
+
* type: "new_rate",
|
|
115
|
+
* dimensions: {
|
|
116
|
+
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
117
|
+
* organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
118
|
+
* states: new Set(["AA"]),
|
|
119
|
+
* zipCodes: new Set(["zip_codes"]),
|
|
123
120
|
* licenseTypes: new Set(["MD"]),
|
|
124
121
|
* facilityTypeCodes: new Set(["01"]),
|
|
125
122
|
* networkTypes: new Set(["12"]),
|
|
126
123
|
* payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
127
|
-
* cptCode: "
|
|
124
|
+
* cptCode: "cpt_code",
|
|
128
125
|
* modifiers: new Set(["AV"])
|
|
129
126
|
* },
|
|
130
127
|
* entries: [{
|
|
131
|
-
* startDate: "
|
|
132
|
-
* rateCents:
|
|
133
|
-
* isDeactivated:
|
|
128
|
+
* startDate: "2023-01-15",
|
|
129
|
+
* rateCents: 1,
|
|
130
|
+
* isDeactivated: true
|
|
131
|
+
* }, {
|
|
132
|
+
* startDate: "2023-01-15",
|
|
133
|
+
* rateCents: 1,
|
|
134
|
+
* isDeactivated: true
|
|
134
135
|
* }]
|
|
135
136
|
* }]
|
|
136
137
|
* })
|
|
137
138
|
*/
|
|
138
139
|
uploadFeeSchedule(request: CandidApi.feeSchedules.v3.FeeScheduleUploadRequest, requestOptions?: V3.RequestOptions): Promise<core.APIResponse<CandidApi.feeSchedules.v3.Rate[], CandidApi.feeSchedules.v3.uploadFeeSchedule.Error>>;
|
|
139
140
|
/**
|
|
140
|
-
* Soft deletes a rate from the system.
|
|
141
|
+
* Soft deletes a rate from the system. Only the most recent version of a rate can be deleted.
|
|
141
142
|
*
|
|
142
143
|
* @param {CandidApi.RateId} rateId
|
|
143
144
|
* @param {number} version
|
|
@@ -177,8 +178,6 @@ export declare class V3 {
|
|
|
177
178
|
*
|
|
178
179
|
* @example
|
|
179
180
|
* await client.feeSchedules.v3.setPayerThreshold(CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
180
|
-
* upperThresholdCents: 1,
|
|
181
|
-
* lowerThresholdCents: 1,
|
|
182
181
|
* disablePaidIncorrectly: true
|
|
183
182
|
* })
|
|
184
183
|
*/
|
|
@@ -59,7 +59,7 @@ class V3 {
|
|
|
59
59
|
this._options = _options;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
* Gets the rate that matches a service line.
|
|
62
|
+
* Gets the rate that matches a service line. No result means no rate exists matching the service line's dimensions.
|
|
63
63
|
*
|
|
64
64
|
* @param {CandidApi.ServiceLineId} serviceLineId
|
|
65
65
|
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -73,7 +73,7 @@ class V3 {
|
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
76
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -128,7 +128,7 @@ class V3 {
|
|
|
128
128
|
const _response = yield core.fetcher({
|
|
129
129
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}`),
|
|
130
130
|
method: "GET",
|
|
131
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
131
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
requestType: "json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -174,21 +174,7 @@ class V3 {
|
|
|
174
174
|
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
175
175
|
*
|
|
176
176
|
* @example
|
|
177
|
-
* await client.feeSchedules.v3.getMulti(
|
|
178
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
179
|
-
* limit: 1,
|
|
180
|
-
* activeDate: "2023-01-15",
|
|
181
|
-
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
182
|
-
* organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
183
|
-
* states: "AA",
|
|
184
|
-
* zipCodes: "string",
|
|
185
|
-
* licenseTypes: "MD",
|
|
186
|
-
* facilityTypeCodes: "01",
|
|
187
|
-
* networkTypes: "12",
|
|
188
|
-
* payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
189
|
-
* cptCode: "string",
|
|
190
|
-
* modifiers: "AV"
|
|
191
|
-
* })
|
|
177
|
+
* await client.feeSchedules.v3.getMulti()
|
|
192
178
|
*/
|
|
193
179
|
getMulti() {
|
|
194
180
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
@@ -280,7 +266,7 @@ class V3 {
|
|
|
280
266
|
const _response = yield core.fetcher({
|
|
281
267
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
|
|
282
268
|
method: "GET",
|
|
283
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
269
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
284
270
|
contentType: "application/json",
|
|
285
271
|
queryParameters: _queryParams,
|
|
286
272
|
requestType: "json",
|
|
@@ -313,19 +299,7 @@ class V3 {
|
|
|
313
299
|
*
|
|
314
300
|
* @example
|
|
315
301
|
* await client.feeSchedules.v3.getUniqueValuesForDimension({
|
|
316
|
-
*
|
|
317
|
-
* limit: 1,
|
|
318
|
-
* pivotDimension: "payer_uuid",
|
|
319
|
-
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
320
|
-
* organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
321
|
-
* states: "AA",
|
|
322
|
-
* zipCodes: "string",
|
|
323
|
-
* licenseTypes: "MD",
|
|
324
|
-
* facilityTypeCodes: "01",
|
|
325
|
-
* networkTypes: "12",
|
|
326
|
-
* payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
327
|
-
* cptCode: "string",
|
|
328
|
-
* modifiers: "AV"
|
|
302
|
+
* pivotDimension: "payer_uuid"
|
|
329
303
|
* })
|
|
330
304
|
*/
|
|
331
305
|
getUniqueValuesForDimension(request, requestOptions) {
|
|
@@ -418,7 +392,7 @@ class V3 {
|
|
|
418
392
|
const _response = yield core.fetcher({
|
|
419
393
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/unique-dimension-values"),
|
|
420
394
|
method: "GET",
|
|
421
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
395
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
422
396
|
contentType: "application/json",
|
|
423
397
|
queryParameters: _queryParams,
|
|
424
398
|
requestType: "json",
|
|
@@ -458,7 +432,7 @@ class V3 {
|
|
|
458
432
|
const _response = yield core.fetcher({
|
|
459
433
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/history`),
|
|
460
434
|
method: "GET",
|
|
461
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
435
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
462
436
|
contentType: "application/json",
|
|
463
437
|
requestType: "json",
|
|
464
438
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -497,7 +471,7 @@ class V3 {
|
|
|
497
471
|
});
|
|
498
472
|
}
|
|
499
473
|
/**
|
|
500
|
-
* Uploads a new fee schedule.\n Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.\n If adding a new version to an existing rate, the rate must be posted with the next version number (previous version + 1) or a EntityConflictError will be returned.\n Use the dry run flag to discover already existing rates and to run validations.
|
|
474
|
+
* Uploads a new fee schedule.\n Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.\n If adding a new version to an existing rate, the rate must be posted with the next version number (previous version + 1) or a EntityConflictError will be returned.\n Use the dry run flag to discover already existing rates and to run validations. If validations for any rate fail, no rates will be saved to the system.
|
|
501
475
|
*
|
|
502
476
|
* @param {CandidApi.feeSchedules.v3.FeeScheduleUploadRequest} request
|
|
503
477
|
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -511,18 +485,45 @@ class V3 {
|
|
|
511
485
|
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
512
486
|
* organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
513
487
|
* states: new Set(["AA"]),
|
|
514
|
-
* zipCodes: new Set(["
|
|
488
|
+
* zipCodes: new Set(["zip_codes"]),
|
|
489
|
+
* licenseTypes: new Set(["MD"]),
|
|
490
|
+
* facilityTypeCodes: new Set(["01"]),
|
|
491
|
+
* networkTypes: new Set(["12"]),
|
|
492
|
+
* payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
493
|
+
* cptCode: "cpt_code",
|
|
494
|
+
* modifiers: new Set(["AV"])
|
|
495
|
+
* },
|
|
496
|
+
* entries: [{
|
|
497
|
+
* startDate: "2023-01-15",
|
|
498
|
+
* rateCents: 1,
|
|
499
|
+
* isDeactivated: true
|
|
500
|
+
* }, {
|
|
501
|
+
* startDate: "2023-01-15",
|
|
502
|
+
* rateCents: 1,
|
|
503
|
+
* isDeactivated: true
|
|
504
|
+
* }]
|
|
505
|
+
* }, {
|
|
506
|
+
* type: "new_rate",
|
|
507
|
+
* dimensions: {
|
|
508
|
+
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
509
|
+
* organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
510
|
+
* states: new Set(["AA"]),
|
|
511
|
+
* zipCodes: new Set(["zip_codes"]),
|
|
515
512
|
* licenseTypes: new Set(["MD"]),
|
|
516
513
|
* facilityTypeCodes: new Set(["01"]),
|
|
517
514
|
* networkTypes: new Set(["12"]),
|
|
518
515
|
* payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
519
|
-
* cptCode: "
|
|
516
|
+
* cptCode: "cpt_code",
|
|
520
517
|
* modifiers: new Set(["AV"])
|
|
521
518
|
* },
|
|
522
519
|
* entries: [{
|
|
523
|
-
* startDate: "
|
|
524
|
-
* rateCents:
|
|
525
|
-
* isDeactivated:
|
|
520
|
+
* startDate: "2023-01-15",
|
|
521
|
+
* rateCents: 1,
|
|
522
|
+
* isDeactivated: true
|
|
523
|
+
* }, {
|
|
524
|
+
* startDate: "2023-01-15",
|
|
525
|
+
* rateCents: 1,
|
|
526
|
+
* isDeactivated: true
|
|
526
527
|
* }]
|
|
527
528
|
* }]
|
|
528
529
|
* })
|
|
@@ -533,7 +534,7 @@ class V3 {
|
|
|
533
534
|
const _response = yield core.fetcher({
|
|
534
535
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
|
|
535
536
|
method: "POST",
|
|
536
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
537
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
537
538
|
contentType: "application/json",
|
|
538
539
|
requestType: "json",
|
|
539
540
|
body: serializers.feeSchedules.v3.FeeScheduleUploadRequest.jsonOrThrow(request, {
|
|
@@ -575,7 +576,7 @@ class V3 {
|
|
|
575
576
|
});
|
|
576
577
|
}
|
|
577
578
|
/**
|
|
578
|
-
* Soft deletes a rate from the system.
|
|
579
|
+
* Soft deletes a rate from the system. Only the most recent version of a rate can be deleted.
|
|
579
580
|
*
|
|
580
581
|
* @param {CandidApi.RateId} rateId
|
|
581
582
|
* @param {number} version
|
|
@@ -590,7 +591,7 @@ class V3 {
|
|
|
590
591
|
const _response = yield core.fetcher({
|
|
591
592
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/${encodeURIComponent(version)}`),
|
|
592
593
|
method: "DELETE",
|
|
593
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
594
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
594
595
|
contentType: "application/json",
|
|
595
596
|
requestType: "json",
|
|
596
597
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -638,7 +639,7 @@ class V3 {
|
|
|
638
639
|
const _response = yield core.fetcher({
|
|
639
640
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold/default"),
|
|
640
641
|
method: "GET",
|
|
641
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
642
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
642
643
|
contentType: "application/json",
|
|
643
644
|
requestType: "json",
|
|
644
645
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -687,7 +688,7 @@ class V3 {
|
|
|
687
688
|
const _response = yield core.fetcher({
|
|
688
689
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold"),
|
|
689
690
|
method: "GET",
|
|
690
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
691
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
691
692
|
contentType: "application/json",
|
|
692
693
|
queryParameters: _queryParams,
|
|
693
694
|
requestType: "json",
|
|
@@ -721,8 +722,6 @@ class V3 {
|
|
|
721
722
|
*
|
|
722
723
|
* @example
|
|
723
724
|
* await client.feeSchedules.v3.setPayerThreshold(CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
724
|
-
* upperThresholdCents: 1,
|
|
725
|
-
* lowerThresholdCents: 1,
|
|
726
725
|
* disablePaidIncorrectly: true
|
|
727
726
|
* })
|
|
728
727
|
*/
|
|
@@ -732,7 +731,7 @@ class V3 {
|
|
|
732
731
|
const _response = yield core.fetcher({
|
|
733
732
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/payer-threshold/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
|
|
734
733
|
method: "PUT",
|
|
735
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
734
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
736
735
|
contentType: "application/json",
|
|
737
736
|
requestType: "json",
|
|
738
737
|
body: serializers.feeSchedules.v3.PayerThreshold.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts
CHANGED
|
@@ -12,18 +12,45 @@ import * as CandidApi from "../../../../../../index";
|
|
|
12
12
|
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
13
13
|
* organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
14
14
|
* states: new Set(["AA"]),
|
|
15
|
-
* zipCodes: new Set(["
|
|
15
|
+
* zipCodes: new Set(["zip_codes"]),
|
|
16
16
|
* licenseTypes: new Set(["MD"]),
|
|
17
17
|
* facilityTypeCodes: new Set(["01"]),
|
|
18
18
|
* networkTypes: new Set(["12"]),
|
|
19
19
|
* payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
20
|
-
* cptCode: "
|
|
20
|
+
* cptCode: "cpt_code",
|
|
21
21
|
* modifiers: new Set(["AV"])
|
|
22
22
|
* },
|
|
23
23
|
* entries: [{
|
|
24
|
-
* startDate: "
|
|
25
|
-
* rateCents:
|
|
26
|
-
* isDeactivated:
|
|
24
|
+
* startDate: "2023-01-15",
|
|
25
|
+
* rateCents: 1,
|
|
26
|
+
* isDeactivated: true
|
|
27
|
+
* }, {
|
|
28
|
+
* startDate: "2023-01-15",
|
|
29
|
+
* rateCents: 1,
|
|
30
|
+
* isDeactivated: true
|
|
31
|
+
* }]
|
|
32
|
+
* }, {
|
|
33
|
+
* type: "new_rate",
|
|
34
|
+
* dimensions: {
|
|
35
|
+
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
36
|
+
* organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
37
|
+
* states: new Set(["AA"]),
|
|
38
|
+
* zipCodes: new Set(["zip_codes"]),
|
|
39
|
+
* licenseTypes: new Set(["MD"]),
|
|
40
|
+
* facilityTypeCodes: new Set(["01"]),
|
|
41
|
+
* networkTypes: new Set(["12"]),
|
|
42
|
+
* payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
43
|
+
* cptCode: "cpt_code",
|
|
44
|
+
* modifiers: new Set(["AV"])
|
|
45
|
+
* },
|
|
46
|
+
* entries: [{
|
|
47
|
+
* startDate: "2023-01-15",
|
|
48
|
+
* rateCents: 1,
|
|
49
|
+
* isDeactivated: true
|
|
50
|
+
* }, {
|
|
51
|
+
* startDate: "2023-01-15",
|
|
52
|
+
* rateCents: 1,
|
|
53
|
+
* isDeactivated: true
|
|
27
54
|
* }]
|
|
28
55
|
* }]
|
|
29
56
|
* }
|
|
@@ -4,21 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
9
|
-
* limit: 1,
|
|
10
|
-
* activeDate: "2023-01-15",
|
|
11
|
-
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
12
|
-
* organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
13
|
-
* states: "AA",
|
|
14
|
-
* zipCodes: "string",
|
|
15
|
-
* licenseTypes: "MD",
|
|
16
|
-
* facilityTypeCodes: "01",
|
|
17
|
-
* networkTypes: "12",
|
|
18
|
-
* payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
19
|
-
* cptCode: "string",
|
|
20
|
-
* modifiers: "AV"
|
|
21
|
-
* }
|
|
7
|
+
* {}
|
|
22
8
|
*/
|
|
23
9
|
export interface GetMultiRequest {
|
|
24
10
|
pageToken?: CandidApi.PageToken;
|
package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts
CHANGED
|
@@ -5,19 +5,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
*
|
|
9
|
-
* limit: 1,
|
|
10
|
-
* pivotDimension: "payer_uuid",
|
|
11
|
-
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
12
|
-
* organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
13
|
-
* states: "AA",
|
|
14
|
-
* zipCodes: "string",
|
|
15
|
-
* licenseTypes: "MD",
|
|
16
|
-
* facilityTypeCodes: "01",
|
|
17
|
-
* networkTypes: "12",
|
|
18
|
-
* payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
19
|
-
* cptCode: "string",
|
|
20
|
-
* modifiers: "AV"
|
|
8
|
+
* pivotDimension: "payer_uuid"
|
|
21
9
|
* }
|
|
22
10
|
*/
|
|
23
11
|
export interface GetUniqueDimensionValuesRequest {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* Rate thresholds that determine fee schedule rate matching behavior.
|
|
5
|
+
* Rate thresholds that determine fee schedule rate matching behavior. When a service line is adjudicated by a payer Candid determines if the payer's allowed amount "matches" the rate value. If the allowed amount doesn't equal the rate value, Candid moves the claim to a PAID_INCORRECTLY state. These optional thresholds allow a user to set wiggle room to avoid claims moving to PAID_INCORRECTLY and instead have them move directly to FINALIZED_PAID when the payer's allowed amount is greater than [rate_cents - lower_threshold_cents] and less than [rate_cents + upper_threshold_cents].\n Additionally, a client can set disable_paid_incorrectly to avoid the PAID_INCORRECTLY claim status entirely.
|
|
6
6
|
*/
|
|
7
7
|
export interface PayerThreshold {
|
|
8
8
|
upperThresholdCents?: number;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
/**
|
|
6
|
-
* A comprehensive rate including the current rate value and all values for historic time ranges. The time ranges specified by each RateEntry are disjoint.
|
|
6
|
+
* A comprehensive rate including the current rate value and all values for historic time ranges. The time ranges specified by each RateEntry are disjoint. A rate must always have at least one entry.
|
|
7
7
|
*/
|
|
8
8
|
export interface Rate {
|
|
9
9
|
rateId: CandidApi.RateId;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* A rate value in cents for a specific time range.
|
|
5
|
+
* A rate value in cents for a specific time range. Rate entries can be deactivated, which is set by using the deelte_rate endpoint. Deactivated rate entries are not considered when matching against service lines.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* {
|
|
@@ -34,24 +34,14 @@ export declare class V1 {
|
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* await client.guarantor.v1.create(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* }],
|
|
41
|
-
* phoneConsent: true,
|
|
42
|
-
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
43
|
-
* emailConsent: true,
|
|
44
|
-
* firstName: "string",
|
|
45
|
-
* lastName: "string",
|
|
46
|
-
* externalId: "string",
|
|
47
|
-
* dateOfBirth: "2023-01-15",
|
|
37
|
+
* firstName: "first_name",
|
|
38
|
+
* lastName: "last_name",
|
|
39
|
+
* externalId: "external_id",
|
|
48
40
|
* address: {
|
|
49
|
-
* address1: "
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* zipCode: "10001",
|
|
54
|
-
* zipPlusFourCode: "1234"
|
|
41
|
+
* address1: "address1",
|
|
42
|
+
* city: "city",
|
|
43
|
+
* state: "AA",
|
|
44
|
+
* zipCode: "zip_code"
|
|
55
45
|
* }
|
|
56
46
|
* })
|
|
57
47
|
*/
|
|
@@ -74,27 +64,7 @@ export declare class V1 {
|
|
|
74
64
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
65
|
*
|
|
76
66
|
* @example
|
|
77
|
-
* await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
78
|
-
* firstName: "string",
|
|
79
|
-
* lastName: "string",
|
|
80
|
-
* externalId: "string",
|
|
81
|
-
* dateOfBirth: "2023-01-15",
|
|
82
|
-
* address: {
|
|
83
|
-
* address1: "123 Main St",
|
|
84
|
-
* address2: "Apt 1",
|
|
85
|
-
* city: "New York",
|
|
86
|
-
* state: "NY",
|
|
87
|
-
* zipCode: "10001",
|
|
88
|
-
* zipPlusFourCode: "1234"
|
|
89
|
-
* },
|
|
90
|
-
* phoneNumbers: [{
|
|
91
|
-
* number: "1234567890",
|
|
92
|
-
* type: "Home"
|
|
93
|
-
* }],
|
|
94
|
-
* phoneConsent: true,
|
|
95
|
-
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
96
|
-
* emailConsent: true
|
|
97
|
-
* })
|
|
67
|
+
* await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
|
|
98
68
|
*/
|
|
99
69
|
update(guarantorId: CandidApi.guarantor.v1.GuarantorId, request: CandidApi.guarantor.v1.GuarantorUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.guarantor.v1.Guarantor, CandidApi.guarantor.v1.update.Error>>;
|
|
100
70
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|