candidhealth 0.45.0 → 0.46.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/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/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/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/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/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/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/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/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/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/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/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/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/version.d.ts +1 -1
- package/version.js +1 -1
package/README.md
CHANGED
|
@@ -24,27 +24,13 @@ import { CandidApiClient } from "candidhealth";
|
|
|
24
24
|
|
|
25
25
|
const client = new CandidApiClient({ clientId: "YOUR_CLIENT_ID", clientSecret: "YOUR_CLIENT_SECRET" });
|
|
26
26
|
await client.preEncounter.eligibilityChecks.v1.post({
|
|
27
|
-
payerId: "
|
|
27
|
+
payerId: "payer_id",
|
|
28
28
|
provider: {
|
|
29
|
-
|
|
30
|
-
lastName: "string",
|
|
31
|
-
npi: "string",
|
|
29
|
+
npi: "npi",
|
|
32
30
|
},
|
|
33
31
|
subscriber: {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
lastName: "string",
|
|
37
|
-
dateOfBirth: "2023-01-15",
|
|
38
|
-
},
|
|
39
|
-
dependent: {
|
|
40
|
-
memberId: "string",
|
|
41
|
-
firstName: "string",
|
|
42
|
-
lastName: "string",
|
|
43
|
-
dateOfBirth: "2023-01-15",
|
|
44
|
-
},
|
|
45
|
-
encounter: {
|
|
46
|
-
dateOfService: "2023-01-15",
|
|
47
|
-
serviceTypeCodes: ["string"],
|
|
32
|
+
firstName: "first_name",
|
|
33
|
+
lastName: "last_name",
|
|
48
34
|
},
|
|
49
35
|
});
|
|
50
36
|
```
|
|
@@ -92,7 +92,7 @@ class V2 {
|
|
|
92
92
|
const _response = yield core.fetcher({
|
|
93
93
|
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/auth/v2/token"),
|
|
94
94
|
method: "POST",
|
|
95
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
95
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
requestType: "json",
|
|
98
98
|
body: serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -31,8 +31,7 @@ export declare class V2 {
|
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* await client.billingNotes.v2.create({
|
|
34
|
-
* encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
35
|
-
* text: "string"
|
|
34
|
+
* encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
36
35
|
* })
|
|
37
36
|
*/
|
|
38
37
|
create(request: CandidApi.billingNotes.v2.StandaloneBillingNoteCreate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.billingNotes.v2.BillingNote, CandidApi.billingNotes.v2.create.Error>>;
|
|
@@ -51,7 +50,7 @@ export declare class V2 {
|
|
|
51
50
|
*
|
|
52
51
|
* @example
|
|
53
52
|
* await client.billingNotes.v2.update(CandidApi.billingNotes.v2.BillingNoteId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
54
|
-
* text: "
|
|
53
|
+
* text: "text"
|
|
55
54
|
* })
|
|
56
55
|
*/
|
|
57
56
|
update(billingNoteId: CandidApi.billingNotes.v2.BillingNoteId, request: CandidApi.billingNotes.v2.BillingNoteUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.billingNotes.v2.BillingNote, CandidApi.billingNotes.v2.update.Error>>;
|
|
@@ -64,8 +64,7 @@ class V2 {
|
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* await client.billingNotes.v2.create({
|
|
67
|
-
* encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
68
|
-
* text: "string"
|
|
67
|
+
* encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
69
68
|
* })
|
|
70
69
|
*/
|
|
71
70
|
create(request, requestOptions) {
|
|
@@ -74,7 +73,7 @@ class V2 {
|
|
|
74
73
|
const _response = yield core.fetcher({
|
|
75
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/billing_notes/v2"),
|
|
76
75
|
method: "POST",
|
|
77
|
-
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.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
78
77
|
contentType: "application/json",
|
|
79
78
|
requestType: "json",
|
|
80
79
|
body: serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -114,7 +113,7 @@ class V2 {
|
|
|
114
113
|
const _response = yield core.fetcher({
|
|
115
114
|
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/billing_notes/v2/${encodeURIComponent(serializers.billingNotes.v2.BillingNoteId.jsonOrThrow(billingNoteId))}`),
|
|
116
115
|
method: "DELETE",
|
|
117
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
116
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
118
117
|
contentType: "application/json",
|
|
119
118
|
requestType: "json",
|
|
120
119
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -156,7 +155,7 @@ class V2 {
|
|
|
156
155
|
*
|
|
157
156
|
* @example
|
|
158
157
|
* await client.billingNotes.v2.update(CandidApi.billingNotes.v2.BillingNoteId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
159
|
-
* text: "
|
|
158
|
+
* text: "text"
|
|
160
159
|
* })
|
|
161
160
|
*/
|
|
162
161
|
update(billingNoteId, request, requestOptions) {
|
|
@@ -165,7 +164,7 @@ class V2 {
|
|
|
165
164
|
const _response = yield core.fetcher({
|
|
166
165
|
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/billing_notes/v2/${encodeURIComponent(serializers.billingNotes.v2.BillingNoteId.jsonOrThrow(billingNoteId))}`),
|
|
167
166
|
method: "PATCH",
|
|
168
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
167
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
169
168
|
contentType: "application/json",
|
|
170
169
|
requestType: "json",
|
|
171
170
|
body: serializers.billingNotes.v2.BillingNoteUpdate.jsonOrThrow(request, {
|
package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts
CHANGED
|
@@ -5,8 +5,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
9
|
-
* text: "string"
|
|
8
|
+
* encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
10
9
|
* }
|
|
11
10
|
*/
|
|
12
11
|
export interface StandaloneBillingNoteCreate extends CandidApi.billingNotes.v2.BillingNoteBase {
|
|
@@ -32,9 +32,8 @@ export declare class V1 {
|
|
|
32
32
|
* @example
|
|
33
33
|
* await client.chargeCapture.v1.create({
|
|
34
34
|
* data: {},
|
|
35
|
-
* chargeExternalId: "
|
|
36
|
-
*
|
|
37
|
-
* patientExternalId: "string",
|
|
35
|
+
* chargeExternalId: "charge_external_id",
|
|
36
|
+
* patientExternalId: "patient_external_id",
|
|
38
37
|
* status: "planned"
|
|
39
38
|
* })
|
|
40
39
|
*/
|
|
@@ -53,13 +52,7 @@ export declare class V1 {
|
|
|
53
52
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
53
|
*
|
|
55
54
|
* @example
|
|
56
|
-
* await client.chargeCapture.v1.update(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
57
|
-
* data: {},
|
|
58
|
-
* chargeExternalId: "string",
|
|
59
|
-
* ehrSourceUrl: "string",
|
|
60
|
-
* patientExternalId: "string",
|
|
61
|
-
* status: "planned"
|
|
62
|
-
* })
|
|
55
|
+
* await client.chargeCapture.v1.update(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
63
56
|
*/
|
|
64
57
|
update(chargeCaptureId: CandidApi.ChargeCaptureId, request?: CandidApi.chargeCapture.v1.ChargeCaptureUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCapture.v1.ChargeCapture, CandidApi.chargeCapture.v1.update.Error>>;
|
|
65
58
|
/**
|
|
@@ -75,41 +68,7 @@ export declare class V1 {
|
|
|
75
68
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
76
69
|
*
|
|
77
70
|
* @example
|
|
78
|
-
* await client.chargeCapture.v1.getAll(
|
|
79
|
-
* limit: 1,
|
|
80
|
-
* sort: "created_at",
|
|
81
|
-
* sortDirection: "asc",
|
|
82
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
83
|
-
* patientExternalId: "string",
|
|
84
|
-
* status: "planned",
|
|
85
|
-
* chargeExternalId: "string",
|
|
86
|
-
* dateOfServiceMin: "2023-01-15",
|
|
87
|
-
* dateOfServiceMax: "2023-01-15",
|
|
88
|
-
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
89
|
-
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
90
|
-
* billingProviderNpis: "string",
|
|
91
|
-
* serviceFacilityName: "string",
|
|
92
|
-
* primaryPayerIds: "string",
|
|
93
|
-
* renderingProviderNpis: "string",
|
|
94
|
-
* renderingProviderNames: "string",
|
|
95
|
-
* supervisingProviderNpis: "string",
|
|
96
|
-
* supervisingProviderNames: "string",
|
|
97
|
-
* excludeChargesLinkedToClaims: true,
|
|
98
|
-
* patientExternalIdRankedSort: "string",
|
|
99
|
-
* statusRankedSort: "planned",
|
|
100
|
-
* chargeExternalIdRankedSort: "string",
|
|
101
|
-
* dateOfServiceMinRankedSort: "2023-01-15",
|
|
102
|
-
* dateOfServiceMaxRankedSort: "2023-01-15",
|
|
103
|
-
* claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
104
|
-
* claimCreationIdsRankedSort: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
105
|
-
* billingProviderNpisRankedSort: "string",
|
|
106
|
-
* serviceFacilityNameRankedSort: "string",
|
|
107
|
-
* primaryPayerIdsRankedSort: "string",
|
|
108
|
-
* renderingProviderNpisRankedSort: "string",
|
|
109
|
-
* renderingProviderNamesRankedSort: "string",
|
|
110
|
-
* supervisingProviderNpisRankedSort: "string",
|
|
111
|
-
* supervisingProviderNamesRankedSort: "string"
|
|
112
|
-
* })
|
|
71
|
+
* await client.chargeCapture.v1.getAll()
|
|
113
72
|
*/
|
|
114
73
|
getAll(request?: CandidApi.chargeCapture.v1.GetAllChargeCapturesRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCapture.v1.ChargeCapturePage, CandidApi.chargeCapture.v1.getAll.Error>>;
|
|
115
74
|
/**
|
|
@@ -118,7 +77,7 @@ export declare class V1 {
|
|
|
118
77
|
*
|
|
119
78
|
* @example
|
|
120
79
|
* await client.chargeCapture.v1.updatePostBilledChanges({
|
|
121
|
-
* chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
80
|
+
* chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
122
81
|
* resolved: true
|
|
123
82
|
* })
|
|
124
83
|
*/
|
|
@@ -65,9 +65,8 @@ class V1 {
|
|
|
65
65
|
* @example
|
|
66
66
|
* await client.chargeCapture.v1.create({
|
|
67
67
|
* data: {},
|
|
68
|
-
* chargeExternalId: "
|
|
69
|
-
*
|
|
70
|
-
* patientExternalId: "string",
|
|
68
|
+
* chargeExternalId: "charge_external_id",
|
|
69
|
+
* patientExternalId: "patient_external_id",
|
|
71
70
|
* status: "planned"
|
|
72
71
|
* })
|
|
73
72
|
*/
|
|
@@ -77,7 +76,7 @@ class V1 {
|
|
|
77
76
|
const _response = yield core.fetcher({
|
|
78
77
|
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/charge_captures/v1"),
|
|
79
78
|
method: "POST",
|
|
80
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
79
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
80
|
contentType: "application/json",
|
|
82
81
|
requestType: "json",
|
|
83
82
|
body: serializers.chargeCapture.v1.CreateChargeCaptureRequest.jsonOrThrow(request, {
|
|
@@ -136,7 +135,7 @@ class V1 {
|
|
|
136
135
|
const _response = yield core.fetcher({
|
|
137
136
|
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/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
|
|
138
137
|
method: "DELETE",
|
|
139
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
138
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
140
139
|
contentType: "application/json",
|
|
141
140
|
requestType: "json",
|
|
142
141
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -176,13 +175,7 @@ class V1 {
|
|
|
176
175
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
177
176
|
*
|
|
178
177
|
* @example
|
|
179
|
-
* await client.chargeCapture.v1.update(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
180
|
-
* data: {},
|
|
181
|
-
* chargeExternalId: "string",
|
|
182
|
-
* ehrSourceUrl: "string",
|
|
183
|
-
* patientExternalId: "string",
|
|
184
|
-
* status: "planned"
|
|
185
|
-
* })
|
|
178
|
+
* await client.chargeCapture.v1.update(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
186
179
|
*/
|
|
187
180
|
update(chargeCaptureId_1) {
|
|
188
181
|
return __awaiter(this, arguments, void 0, function* (chargeCaptureId, request = {}, requestOptions) {
|
|
@@ -190,7 +183,7 @@ class V1 {
|
|
|
190
183
|
const _response = yield core.fetcher({
|
|
191
184
|
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/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
|
|
192
185
|
method: "PATCH",
|
|
193
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
186
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
194
187
|
contentType: "application/json",
|
|
195
188
|
requestType: "json",
|
|
196
189
|
body: serializers.chargeCapture.v1.ChargeCaptureUpdate.jsonOrThrow(request, {
|
|
@@ -248,7 +241,7 @@ class V1 {
|
|
|
248
241
|
const _response = yield core.fetcher({
|
|
249
242
|
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/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
|
|
250
243
|
method: "GET",
|
|
251
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
244
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
252
245
|
contentType: "application/json",
|
|
253
246
|
requestType: "json",
|
|
254
247
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -277,41 +270,7 @@ class V1 {
|
|
|
277
270
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
278
271
|
*
|
|
279
272
|
* @example
|
|
280
|
-
* await client.chargeCapture.v1.getAll(
|
|
281
|
-
* limit: 1,
|
|
282
|
-
* sort: "created_at",
|
|
283
|
-
* sortDirection: "asc",
|
|
284
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
285
|
-
* patientExternalId: "string",
|
|
286
|
-
* status: "planned",
|
|
287
|
-
* chargeExternalId: "string",
|
|
288
|
-
* dateOfServiceMin: "2023-01-15",
|
|
289
|
-
* dateOfServiceMax: "2023-01-15",
|
|
290
|
-
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
291
|
-
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
292
|
-
* billingProviderNpis: "string",
|
|
293
|
-
* serviceFacilityName: "string",
|
|
294
|
-
* primaryPayerIds: "string",
|
|
295
|
-
* renderingProviderNpis: "string",
|
|
296
|
-
* renderingProviderNames: "string",
|
|
297
|
-
* supervisingProviderNpis: "string",
|
|
298
|
-
* supervisingProviderNames: "string",
|
|
299
|
-
* excludeChargesLinkedToClaims: true,
|
|
300
|
-
* patientExternalIdRankedSort: "string",
|
|
301
|
-
* statusRankedSort: "planned",
|
|
302
|
-
* chargeExternalIdRankedSort: "string",
|
|
303
|
-
* dateOfServiceMinRankedSort: "2023-01-15",
|
|
304
|
-
* dateOfServiceMaxRankedSort: "2023-01-15",
|
|
305
|
-
* claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
306
|
-
* claimCreationIdsRankedSort: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
307
|
-
* billingProviderNpisRankedSort: "string",
|
|
308
|
-
* serviceFacilityNameRankedSort: "string",
|
|
309
|
-
* primaryPayerIdsRankedSort: "string",
|
|
310
|
-
* renderingProviderNpisRankedSort: "string",
|
|
311
|
-
* renderingProviderNamesRankedSort: "string",
|
|
312
|
-
* supervisingProviderNpisRankedSort: "string",
|
|
313
|
-
* supervisingProviderNamesRankedSort: "string"
|
|
314
|
-
* })
|
|
273
|
+
* await client.chargeCapture.v1.getAll()
|
|
315
274
|
*/
|
|
316
275
|
getAll() {
|
|
317
276
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
@@ -506,7 +465,7 @@ class V1 {
|
|
|
506
465
|
const _response = yield core.fetcher({
|
|
507
466
|
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/charge_captures/v1"),
|
|
508
467
|
method: "GET",
|
|
509
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
468
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
510
469
|
contentType: "application/json",
|
|
511
470
|
queryParameters: _queryParams,
|
|
512
471
|
requestType: "json",
|
|
@@ -537,7 +496,7 @@ class V1 {
|
|
|
537
496
|
*
|
|
538
497
|
* @example
|
|
539
498
|
* await client.chargeCapture.v1.updatePostBilledChanges({
|
|
540
|
-
* chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
499
|
+
* chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
541
500
|
* resolved: true
|
|
542
501
|
* })
|
|
543
502
|
*/
|
|
@@ -547,7 +506,7 @@ class V1 {
|
|
|
547
506
|
const _response = yield core.fetcher({
|
|
548
507
|
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/charge_captures/v1/changes/"),
|
|
549
508
|
method: "PATCH",
|
|
550
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
509
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
551
510
|
contentType: "application/json",
|
|
552
511
|
requestType: "json",
|
|
553
512
|
body: serializers.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate.jsonOrThrow(request, {
|
|
@@ -5,7 +5,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
8
|
+
* chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
9
9
|
* resolved: true
|
|
10
10
|
* }
|
|
11
11
|
*/
|
|
@@ -13,13 +13,11 @@ export interface ChargeCapturePostBilledChangeUpdate {
|
|
|
13
13
|
/**
|
|
14
14
|
* A list of UUIDs corresponding to ChargeCapturePostBilledChanges.
|
|
15
15
|
* All of the charges sent will be marked as resolved
|
|
16
|
-
*
|
|
17
16
|
*/
|
|
18
17
|
chargeCaptureChangeIds: CandidApi.ChargeCapturePostBilledChangeId[];
|
|
19
18
|
/**
|
|
20
19
|
* Whether the change has been resolved. If true, the change will be marked as resolved.
|
|
21
20
|
* If false, the change will be marked as unresolved.
|
|
22
|
-
*
|
|
23
21
|
*/
|
|
24
22
|
resolved: boolean;
|
|
25
23
|
}
|
|
@@ -4,13 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* data: {},
|
|
9
|
-
* chargeExternalId: "string",
|
|
10
|
-
* ehrSourceUrl: "string",
|
|
11
|
-
* patientExternalId: "string",
|
|
12
|
-
* status: "planned"
|
|
13
|
-
* }
|
|
7
|
+
* {}
|
|
14
8
|
*/
|
|
15
9
|
export interface ChargeCaptureUpdate {
|
|
16
10
|
data?: CandidApi.chargeCapture.v1.ChargeCaptureData;
|
|
@@ -18,13 +12,11 @@ export interface ChargeCaptureUpdate {
|
|
|
18
12
|
* A client-specified unique ID to associate with this encounter;
|
|
19
13
|
* for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
|
20
14
|
* This field should not contain PHI.
|
|
21
|
-
*
|
|
22
15
|
*/
|
|
23
16
|
chargeExternalId?: string;
|
|
24
17
|
/**
|
|
25
18
|
* External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page).
|
|
26
19
|
* Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123).
|
|
27
|
-
*
|
|
28
20
|
*/
|
|
29
21
|
ehrSourceUrl?: string;
|
|
30
22
|
/** The patient ID from the external EMR platform for the patient */
|
package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts
CHANGED
|
@@ -6,27 +6,17 @@ import * as CandidApi from "../../../../../../index";
|
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
8
|
* data: {},
|
|
9
|
-
* chargeExternalId: "
|
|
10
|
-
*
|
|
11
|
-
* patientExternalId: "string",
|
|
9
|
+
* chargeExternalId: "charge_external_id",
|
|
10
|
+
* patientExternalId: "patient_external_id",
|
|
12
11
|
* status: "planned"
|
|
13
12
|
* }
|
|
14
13
|
*/
|
|
15
14
|
export interface CreateChargeCaptureRequest {
|
|
16
|
-
/**
|
|
17
|
-
* Charge Capture data contains all the fields needed to create an encounter, but listed as optional. Candid will use this data when attempting to bundle multiple Charge Captures into a single encounter.
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
15
|
+
/** Charge Capture data contains all the fields needed to create an encounter, but listed as optional. Candid will use this data when attempting to bundle multiple Charge Captures into a single encounter. */
|
|
20
16
|
data: CandidApi.chargeCapture.v1.ChargeCaptureData;
|
|
21
|
-
/**
|
|
22
|
-
* A client-specified unique ID to associate with this encounter; for example, your internal encounter ID or a Dr. Chrono encounter ID. This field should not contain PHI.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
17
|
+
/** A client-specified unique ID to associate with this encounter; for example, your internal encounter ID or a Dr. Chrono encounter ID. This field should not contain PHI. */
|
|
25
18
|
chargeExternalId: string;
|
|
26
|
-
/**
|
|
27
|
-
* External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page). Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123).
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
19
|
+
/** External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page). Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123). */
|
|
30
20
|
ehrSourceUrl?: string;
|
|
31
21
|
/** The patient ID from the external EMR platform for the patient */
|
|
32
22
|
patientExternalId: string;
|
package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts
CHANGED
|
@@ -4,41 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* limit: 1,
|
|
9
|
-
* sort: "created_at",
|
|
10
|
-
* sortDirection: "asc",
|
|
11
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
12
|
-
* patientExternalId: "string",
|
|
13
|
-
* status: "planned",
|
|
14
|
-
* chargeExternalId: "string",
|
|
15
|
-
* dateOfServiceMin: "2023-01-15",
|
|
16
|
-
* dateOfServiceMax: "2023-01-15",
|
|
17
|
-
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
18
|
-
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
19
|
-
* billingProviderNpis: "string",
|
|
20
|
-
* serviceFacilityName: "string",
|
|
21
|
-
* primaryPayerIds: "string",
|
|
22
|
-
* renderingProviderNpis: "string",
|
|
23
|
-
* renderingProviderNames: "string",
|
|
24
|
-
* supervisingProviderNpis: "string",
|
|
25
|
-
* supervisingProviderNames: "string",
|
|
26
|
-
* excludeChargesLinkedToClaims: true,
|
|
27
|
-
* patientExternalIdRankedSort: "string",
|
|
28
|
-
* statusRankedSort: "planned",
|
|
29
|
-
* chargeExternalIdRankedSort: "string",
|
|
30
|
-
* dateOfServiceMinRankedSort: "2023-01-15",
|
|
31
|
-
* dateOfServiceMaxRankedSort: "2023-01-15",
|
|
32
|
-
* claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
33
|
-
* claimCreationIdsRankedSort: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
34
|
-
* billingProviderNpisRankedSort: "string",
|
|
35
|
-
* serviceFacilityNameRankedSort: "string",
|
|
36
|
-
* primaryPayerIdsRankedSort: "string",
|
|
37
|
-
* renderingProviderNpisRankedSort: "string",
|
|
38
|
-
* renderingProviderNamesRankedSort: "string",
|
|
39
|
-
* supervisingProviderNpisRankedSort: "string",
|
|
40
|
-
* supervisingProviderNamesRankedSort: "string"
|
|
41
|
-
* }
|
|
7
|
+
* {}
|
|
42
8
|
*/
|
|
43
9
|
export interface GetAllChargeCapturesRequest {
|
|
44
10
|
/**
|
|
@@ -11,7 +11,7 @@ export interface ChargeCaptureData extends CandidApi.encounters.v4.EncounterOpti
|
|
|
11
11
|
diagnoses?: CandidApi.DiagnosisCreate[];
|
|
12
12
|
interventions?: CandidApi.encounters.v4.Intervention[];
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* ***This field is in beta.***
|
|
15
15
|
* To be included for claims that have been submitted outside of Candid.
|
|
16
16
|
* Candid supports posting remits and payments to these claims and working them in-platform (e.g. editing, resubmitting).
|
|
17
17
|
*/
|
|
@@ -45,28 +45,7 @@ export declare class V1 {
|
|
|
45
45
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
|
-
* await client.chargeCaptureBundles.v1.getAll(
|
|
49
|
-
* limit: 1,
|
|
50
|
-
* sort: "created_at",
|
|
51
|
-
* sortDirection: "asc",
|
|
52
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
53
|
-
* patientExternalId: "string",
|
|
54
|
-
* claimCreationStatus: "not-started",
|
|
55
|
-
* chargeStatus: "planned",
|
|
56
|
-
* chargeExternalId: "string",
|
|
57
|
-
* dateOfServiceMin: "2023-01-15",
|
|
58
|
-
* dateOfServiceMax: "2023-01-15",
|
|
59
|
-
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
60
|
-
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
61
|
-
* billingProviderNpis: "string",
|
|
62
|
-
* serviceFacilityName: "string",
|
|
63
|
-
* primaryPayerIds: "string",
|
|
64
|
-
* renderingProviderNpis: "string",
|
|
65
|
-
* renderingProviderNames: "string",
|
|
66
|
-
* supervisingProviderNpis: "string",
|
|
67
|
-
* supervisingProviderNames: "string",
|
|
68
|
-
* hasChargeCaptureUpdates: true
|
|
69
|
-
* })
|
|
48
|
+
* await client.chargeCaptureBundles.v1.getAll()
|
|
70
49
|
*/
|
|
71
50
|
getAll(request?: CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureClaimCreationsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationPage, CandidApi.chargeCaptureBundles.v1.getAll.Error>>;
|
|
72
51
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -71,7 +71,7 @@ class V1 {
|
|
|
71
71
|
const _response = yield core.fetcher({
|
|
72
72
|
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/charge_capture_claim_creation/v1/${encodeURIComponent(serializers.ChargeCaptureClaimCreationId.jsonOrThrow(chargeCaptureClaimCreationId))}`),
|
|
73
73
|
method: "GET",
|
|
74
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
74
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -107,7 +107,7 @@ class V1 {
|
|
|
107
107
|
const _response = yield core.fetcher({
|
|
108
108
|
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/charge_capture_claim_creation/v1/all/summary"),
|
|
109
109
|
method: "GET",
|
|
110
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
110
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
111
111
|
contentType: "application/json",
|
|
112
112
|
requestType: "json",
|
|
113
113
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -136,28 +136,7 @@ class V1 {
|
|
|
136
136
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
137
137
|
*
|
|
138
138
|
* @example
|
|
139
|
-
* await client.chargeCaptureBundles.v1.getAll(
|
|
140
|
-
* limit: 1,
|
|
141
|
-
* sort: "created_at",
|
|
142
|
-
* sortDirection: "asc",
|
|
143
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
144
|
-
* patientExternalId: "string",
|
|
145
|
-
* claimCreationStatus: "not-started",
|
|
146
|
-
* chargeStatus: "planned",
|
|
147
|
-
* chargeExternalId: "string",
|
|
148
|
-
* dateOfServiceMin: "2023-01-15",
|
|
149
|
-
* dateOfServiceMax: "2023-01-15",
|
|
150
|
-
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
151
|
-
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
152
|
-
* billingProviderNpis: "string",
|
|
153
|
-
* serviceFacilityName: "string",
|
|
154
|
-
* primaryPayerIds: "string",
|
|
155
|
-
* renderingProviderNpis: "string",
|
|
156
|
-
* renderingProviderNames: "string",
|
|
157
|
-
* supervisingProviderNpis: "string",
|
|
158
|
-
* supervisingProviderNames: "string",
|
|
159
|
-
* hasChargeCaptureUpdates: true
|
|
160
|
-
* })
|
|
139
|
+
* await client.chargeCaptureBundles.v1.getAll()
|
|
161
140
|
*/
|
|
162
141
|
getAll() {
|
|
163
142
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
@@ -274,7 +253,7 @@ class V1 {
|
|
|
274
253
|
const _response = yield core.fetcher({
|
|
275
254
|
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/charge_capture_claim_creation/v1"),
|
|
276
255
|
method: "GET",
|
|
277
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
256
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
278
257
|
contentType: "application/json",
|
|
279
258
|
queryParameters: _queryParams,
|
|
280
259
|
requestType: "json",
|
|
@@ -4,28 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* limit: 1,
|
|
9
|
-
* sort: "created_at",
|
|
10
|
-
* sortDirection: "asc",
|
|
11
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
12
|
-
* patientExternalId: "string",
|
|
13
|
-
* claimCreationStatus: "not-started",
|
|
14
|
-
* chargeStatus: "planned",
|
|
15
|
-
* chargeExternalId: "string",
|
|
16
|
-
* dateOfServiceMin: "2023-01-15",
|
|
17
|
-
* dateOfServiceMax: "2023-01-15",
|
|
18
|
-
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
19
|
-
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
20
|
-
* billingProviderNpis: "string",
|
|
21
|
-
* serviceFacilityName: "string",
|
|
22
|
-
* primaryPayerIds: "string",
|
|
23
|
-
* renderingProviderNpis: "string",
|
|
24
|
-
* renderingProviderNames: "string",
|
|
25
|
-
* supervisingProviderNpis: "string",
|
|
26
|
-
* supervisingProviderNames: "string",
|
|
27
|
-
* hasChargeCaptureUpdates: true
|
|
28
|
-
* }
|
|
7
|
+
* {}
|
|
29
8
|
*/
|
|
30
9
|
export interface GetAllChargeCaptureClaimCreationsRequest {
|
|
31
10
|
/**
|
|
@@ -99,7 +99,7 @@ export type InsuranceTypeCode =
|
|
|
99
99
|
* Special Low Income Medicare Beneficiary - An individual eligible for Medicare for whom Medicaid pays only Medicare premiums */
|
|
100
100
|
| "HS"
|
|
101
101
|
/**
|
|
102
|
-
* Indemnity - Gives a subscriber the choice to select any provider.
|
|
102
|
+
* Indemnity - Gives a subscriber the choice to select any provider. Payment is fixed percentage of the cost for covered care after satisfying an annual deductible */
|
|
103
103
|
| "IN"
|
|
104
104
|
/**
|
|
105
105
|
* Individual Policy */
|