candidhealth 0.42.5 → 0.43.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/Client.d.ts +3 -0
- package/Client.js +61 -56
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +238 -5
- package/api/resources/chargeCapture/resources/v1/client/Client.js +253 -23
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +118 -1
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +118 -1
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
- package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
- package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
- package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
- package/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
- package/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
- package/api/resources/commons/types/index.d.ts +1 -2
- package/api/resources/commons/types/index.js +1 -2
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterAttachments/client/Client.d.ts +30 -0
- package/api/resources/encounterAttachments/client/Client.js +17 -0
- package/api/resources/encounterAttachments/client/index.d.ts +1 -0
- package/api/resources/encounterAttachments/client/index.js +2 -0
- package/api/resources/encounterAttachments/index.d.ts +2 -0
- package/api/resources/encounterAttachments/index.js +18 -0
- package/api/resources/encounterAttachments/resources/index.d.ts +1 -0
- package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/client → api/resources/encounterAttachments/resources}/index.js +2 -2
- package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
- package/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
- package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.js → api/resources/encounterAttachments/resources/v1/client/create.js} +1 -12
- package/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
- package/api/resources/{chargeCaptureBundles/resources/v1/client/resubmit.js → encounterAttachments/resources/v1/client/delete.js} +1 -12
- package/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
- package/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
- package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
- package/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
- package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
- package/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
- package/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
- package/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
- package/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
- package/api/resources/encounterAttachments/resources/v1/index.js +18 -0
- package/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
- package/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
- package/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +7 -0
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +9 -0
- package/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
- package/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
- package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
- package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
- package/api/resources/encounters/resources/v4/client/Client.d.ts +110 -100
- package/api/resources/encounters/resources/v4/client/Client.js +115 -105
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -83
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +97 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
- package/api/resources/guarantor/resources/v1/client/Client.js +4 -24
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +3 -2
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
- package/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/core/form-data-utils/FormDataWrapper.d.ts +60 -0
- package/core/form-data-utils/FormDataWrapper.js +188 -0
- package/core/form-data-utils/index.d.ts +1 -0
- package/core/form-data-utils/index.js +17 -0
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +61 -56
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +238 -5
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +253 -23
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +118 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +118 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
- package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
- package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
- package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
- package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -2
- package/dist/api/resources/commons/types/index.js +1 -2
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterAttachments/client/Client.d.ts +30 -0
- package/dist/api/resources/encounterAttachments/client/Client.js +17 -0
- package/dist/api/resources/encounterAttachments/client/index.d.ts +1 -0
- package/dist/api/resources/encounterAttachments/client/index.js +2 -0
- package/dist/api/resources/encounterAttachments/index.d.ts +2 -0
- package/dist/api/resources/encounterAttachments/index.js +18 -0
- package/dist/api/resources/encounterAttachments/resources/index.d.ts +1 -0
- package/{serialization/resources/chargeCaptureBundles/resources/v1/client → dist/api/resources/encounterAttachments/resources}/index.js +2 -2
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/create.js +57 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/delete.js +57 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js +5 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js +5 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/encounterAttachments/resources/v1/index.js +18 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
- package/dist/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
- package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +5 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +5 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +7 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +9 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +110 -100
- package/dist/api/resources/encounters/resources/v4/client/Client.js +115 -105
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -83
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +97 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -24
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +60 -0
- package/dist/core/form-data-utils/FormDataWrapper.js +188 -0
- package/dist/core/form-data-utils/index.d.ts +1 -0
- package/dist/core/form-data-utils/index.js +17 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
- package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +6 -8
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
- package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
- package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
- package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
- package/dist/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
- package/{serialization/resources/commons/types/ChargeCaptureBundleId.js → dist/serialization/resources/commons/types/ChargeCaptureClaimCreationId.js} +3 -3
- package/dist/serialization/resources/commons/types/index.d.ts +1 -2
- package/dist/serialization/resources/commons/types/index.js +1 -2
- package/dist/serialization/resources/encounterAttachments/index.d.ts +1 -0
- package/dist/serialization/resources/encounterAttachments/index.js +17 -0
- package/dist/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
- package/dist/serialization/resources/encounterAttachments/resources/index.js +37 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
- package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → encounterAttachments/resources/v1/client/get.js} +3 -2
- package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
- package/dist/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
- package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
- package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +3 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -2
- package/reference.md +558 -246
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
- package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
- package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +6 -8
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
- package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js +41 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
- package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
- package/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
- package/{dist/serialization/resources/commons/types/ChargeCaptureBundleId.js → serialization/resources/commons/types/ChargeCaptureClaimCreationId.js} +3 -3
- package/serialization/resources/commons/types/index.d.ts +1 -2
- package/serialization/resources/commons/types/index.js +1 -2
- package/serialization/resources/encounterAttachments/index.d.ts +1 -0
- package/serialization/resources/encounterAttachments/index.js +17 -0
- package/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
- package/serialization/resources/encounterAttachments/resources/index.js +37 -0
- package/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
- package/serialization/resources/encounterAttachments/resources/v1/client/get.js +42 -0
- package/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
- package/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
- package/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
- package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
- package/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
- package/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
- package/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +3 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
- package/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
- package/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
- package/dist/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
- package/dist/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
- package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
- package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
- /package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.js → GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
- /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundle.js → ChargeCaptureClaimCreation.js} +0 -0
- /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundlePage.js → ChargeCaptureClaimCreationPage.js} +0 -0
- /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleSummary.js → ChargeCaptureClaimCreationSummary.js} +0 -0
- /package/api/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js} +0 -0
- /package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js → api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +0 -0
- /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js} +0 -0
- /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js} +0 -0
- /package/dist/api/resources/chargeCaptureBundles/resources/v1/{types/ChargeCaptureBundleSummary.js → client/requests/GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
- /package/dist/api/resources/{commons/types/NotImplementedErrorMessage.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +0 -0
package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts
CHANGED
|
@@ -5,7 +5,124 @@ import * as CandidApi from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* data: {
|
|
8
|
+
* data: {
|
|
9
|
+
* diagnoses: [],
|
|
10
|
+
* interventions: [],
|
|
11
|
+
* externalClaimSubmission: {
|
|
12
|
+
* claimCreatedAt: "2023-01-01T12:00:00.000000Z",
|
|
13
|
+
* patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
14
|
+
* submissionRecords: [{
|
|
15
|
+
* submittedAt: "2023-01-01T13:00:00.000000Z",
|
|
16
|
+
* claimFrequencyCode: "1",
|
|
17
|
+
* payerResponsibility: "primary",
|
|
18
|
+
* intendedSubmissionMedium: "electronic"
|
|
19
|
+
* }, {
|
|
20
|
+
* submittedAt: "2023-01-04T12:00:00.000000Z",
|
|
21
|
+
* claimFrequencyCode: "7",
|
|
22
|
+
* payerResponsibility: "primary",
|
|
23
|
+
* intendedSubmissionMedium: "paper"
|
|
24
|
+
* }]
|
|
25
|
+
* },
|
|
26
|
+
* serviceLines: [],
|
|
27
|
+
* patientHistories: [],
|
|
28
|
+
* billingNotes: [],
|
|
29
|
+
* benefitsAssignedToProvider: true,
|
|
30
|
+
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
31
|
+
* externalId: CandidApi.EncounterExternalId("string"),
|
|
32
|
+
* dateOfService: "2023-01-15",
|
|
33
|
+
* tagIds: [],
|
|
34
|
+
* clinicalNotes: [],
|
|
35
|
+
* payToAddress: {
|
|
36
|
+
* address1: "123 Main St",
|
|
37
|
+
* address2: "Apt 1",
|
|
38
|
+
* city: "New York",
|
|
39
|
+
* state: "NY",
|
|
40
|
+
* zipCode: "10001",
|
|
41
|
+
* zipPlusFourCode: "1234"
|
|
42
|
+
* },
|
|
43
|
+
* billableStatus: "BILLABLE",
|
|
44
|
+
* responsibleParty: "INSURANCE_PAY",
|
|
45
|
+
* providerAcceptsAssignment: true,
|
|
46
|
+
* synchronicity: "Synchronous",
|
|
47
|
+
* placeOfServiceCode: "01",
|
|
48
|
+
* appointmentType: "string",
|
|
49
|
+
* endDateOfService: "2023-01-15",
|
|
50
|
+
* subscriberPrimary: {
|
|
51
|
+
* insuranceCard: {
|
|
52
|
+
* memberId: "string",
|
|
53
|
+
* payerName: "string",
|
|
54
|
+
* payerId: "string"
|
|
55
|
+
* },
|
|
56
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
57
|
+
* firstName: "string",
|
|
58
|
+
* lastName: "string",
|
|
59
|
+
* gender: "male"
|
|
60
|
+
* },
|
|
61
|
+
* subscriberSecondary: {
|
|
62
|
+
* insuranceCard: {
|
|
63
|
+
* memberId: "string",
|
|
64
|
+
* payerName: "string",
|
|
65
|
+
* payerId: "string"
|
|
66
|
+
* },
|
|
67
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
68
|
+
* firstName: "string",
|
|
69
|
+
* lastName: "string",
|
|
70
|
+
* gender: "male"
|
|
71
|
+
* },
|
|
72
|
+
* subscriberTertiary: {
|
|
73
|
+
* insuranceCard: {
|
|
74
|
+
* memberId: "string",
|
|
75
|
+
* payerName: "string",
|
|
76
|
+
* payerId: "string"
|
|
77
|
+
* },
|
|
78
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
79
|
+
* firstName: "string",
|
|
80
|
+
* lastName: "string",
|
|
81
|
+
* gender: "male"
|
|
82
|
+
* },
|
|
83
|
+
* additionalInformation: "string",
|
|
84
|
+
* serviceAuthorizationExceptionCode: "1",
|
|
85
|
+
* admissionDate: "2023-01-15",
|
|
86
|
+
* dischargeDate: "2023-01-15",
|
|
87
|
+
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
88
|
+
* lastMenstrualPeriodDate: "2023-01-15",
|
|
89
|
+
* delayReasonCode: "1",
|
|
90
|
+
* patient: {},
|
|
91
|
+
* patientAuthorizedRelease: true,
|
|
92
|
+
* schemaInstances: [],
|
|
93
|
+
* vitals: {
|
|
94
|
+
* heightIn: 70,
|
|
95
|
+
* weightLbs: 165,
|
|
96
|
+
* bloodPressureSystolicMmhg: 115,
|
|
97
|
+
* bloodPressureDiastolicMmhg: 85,
|
|
98
|
+
* bodyTemperatureF: 98,
|
|
99
|
+
* hemoglobinGdl: 15.1,
|
|
100
|
+
* hematocritPct: 51.2
|
|
101
|
+
* },
|
|
102
|
+
* existingMedications: [],
|
|
103
|
+
* renderingProvider: {},
|
|
104
|
+
* serviceFacility: {
|
|
105
|
+
* organizationName: "Test Organization",
|
|
106
|
+
* address: {
|
|
107
|
+
* address1: "123 Main St",
|
|
108
|
+
* address2: "Apt 1",
|
|
109
|
+
* city: "New York",
|
|
110
|
+
* state: "NY",
|
|
111
|
+
* zipCode: "10001",
|
|
112
|
+
* zipPlusFourCode: "1234"
|
|
113
|
+
* }
|
|
114
|
+
* },
|
|
115
|
+
* guarantor: {},
|
|
116
|
+
* billingProvider: {},
|
|
117
|
+
* supervisingProvider: {},
|
|
118
|
+
* referringProvider: {},
|
|
119
|
+
* initialReferringProvider: {},
|
|
120
|
+
* referralNumber: "string",
|
|
121
|
+
* epsdtReferral: {
|
|
122
|
+
* conditionIndicator1: "AV"
|
|
123
|
+
* },
|
|
124
|
+
* claimSupplementalInformation: []
|
|
125
|
+
* },
|
|
9
126
|
* chargeExternalId: "string",
|
|
10
127
|
* ehrSourceUrl: "string",
|
|
11
128
|
* patientExternalId: "string",
|
|
@@ -5,7 +5,124 @@ import * as CandidApi from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* data: {
|
|
8
|
+
* data: {
|
|
9
|
+
* diagnoses: [],
|
|
10
|
+
* interventions: [],
|
|
11
|
+
* externalClaimSubmission: {
|
|
12
|
+
* claimCreatedAt: "2023-01-01T12:00:00.000000Z",
|
|
13
|
+
* patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
14
|
+
* submissionRecords: [{
|
|
15
|
+
* submittedAt: "2023-01-01T13:00:00.000000Z",
|
|
16
|
+
* claimFrequencyCode: "1",
|
|
17
|
+
* payerResponsibility: "primary",
|
|
18
|
+
* intendedSubmissionMedium: "electronic"
|
|
19
|
+
* }, {
|
|
20
|
+
* submittedAt: "2023-01-04T12:00:00.000000Z",
|
|
21
|
+
* claimFrequencyCode: "7",
|
|
22
|
+
* payerResponsibility: "primary",
|
|
23
|
+
* intendedSubmissionMedium: "paper"
|
|
24
|
+
* }]
|
|
25
|
+
* },
|
|
26
|
+
* serviceLines: [],
|
|
27
|
+
* patientHistories: [],
|
|
28
|
+
* billingNotes: [],
|
|
29
|
+
* benefitsAssignedToProvider: true,
|
|
30
|
+
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
31
|
+
* externalId: CandidApi.EncounterExternalId("string"),
|
|
32
|
+
* dateOfService: "2023-01-15",
|
|
33
|
+
* tagIds: [],
|
|
34
|
+
* clinicalNotes: [],
|
|
35
|
+
* payToAddress: {
|
|
36
|
+
* address1: "123 Main St",
|
|
37
|
+
* address2: "Apt 1",
|
|
38
|
+
* city: "New York",
|
|
39
|
+
* state: "NY",
|
|
40
|
+
* zipCode: "10001",
|
|
41
|
+
* zipPlusFourCode: "1234"
|
|
42
|
+
* },
|
|
43
|
+
* billableStatus: "BILLABLE",
|
|
44
|
+
* responsibleParty: "INSURANCE_PAY",
|
|
45
|
+
* providerAcceptsAssignment: true,
|
|
46
|
+
* synchronicity: "Synchronous",
|
|
47
|
+
* placeOfServiceCode: "01",
|
|
48
|
+
* appointmentType: "string",
|
|
49
|
+
* endDateOfService: "2023-01-15",
|
|
50
|
+
* subscriberPrimary: {
|
|
51
|
+
* insuranceCard: {
|
|
52
|
+
* memberId: "string",
|
|
53
|
+
* payerName: "string",
|
|
54
|
+
* payerId: "string"
|
|
55
|
+
* },
|
|
56
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
57
|
+
* firstName: "string",
|
|
58
|
+
* lastName: "string",
|
|
59
|
+
* gender: "male"
|
|
60
|
+
* },
|
|
61
|
+
* subscriberSecondary: {
|
|
62
|
+
* insuranceCard: {
|
|
63
|
+
* memberId: "string",
|
|
64
|
+
* payerName: "string",
|
|
65
|
+
* payerId: "string"
|
|
66
|
+
* },
|
|
67
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
68
|
+
* firstName: "string",
|
|
69
|
+
* lastName: "string",
|
|
70
|
+
* gender: "male"
|
|
71
|
+
* },
|
|
72
|
+
* subscriberTertiary: {
|
|
73
|
+
* insuranceCard: {
|
|
74
|
+
* memberId: "string",
|
|
75
|
+
* payerName: "string",
|
|
76
|
+
* payerId: "string"
|
|
77
|
+
* },
|
|
78
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
79
|
+
* firstName: "string",
|
|
80
|
+
* lastName: "string",
|
|
81
|
+
* gender: "male"
|
|
82
|
+
* },
|
|
83
|
+
* additionalInformation: "string",
|
|
84
|
+
* serviceAuthorizationExceptionCode: "1",
|
|
85
|
+
* admissionDate: "2023-01-15",
|
|
86
|
+
* dischargeDate: "2023-01-15",
|
|
87
|
+
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
88
|
+
* lastMenstrualPeriodDate: "2023-01-15",
|
|
89
|
+
* delayReasonCode: "1",
|
|
90
|
+
* patient: {},
|
|
91
|
+
* patientAuthorizedRelease: true,
|
|
92
|
+
* schemaInstances: [],
|
|
93
|
+
* vitals: {
|
|
94
|
+
* heightIn: 70,
|
|
95
|
+
* weightLbs: 165,
|
|
96
|
+
* bloodPressureSystolicMmhg: 115,
|
|
97
|
+
* bloodPressureDiastolicMmhg: 85,
|
|
98
|
+
* bodyTemperatureF: 98,
|
|
99
|
+
* hemoglobinGdl: 15.1,
|
|
100
|
+
* hematocritPct: 51.2
|
|
101
|
+
* },
|
|
102
|
+
* existingMedications: [],
|
|
103
|
+
* renderingProvider: {},
|
|
104
|
+
* serviceFacility: {
|
|
105
|
+
* organizationName: "Test Organization",
|
|
106
|
+
* address: {
|
|
107
|
+
* address1: "123 Main St",
|
|
108
|
+
* address2: "Apt 1",
|
|
109
|
+
* city: "New York",
|
|
110
|
+
* state: "NY",
|
|
111
|
+
* zipCode: "10001",
|
|
112
|
+
* zipPlusFourCode: "1234"
|
|
113
|
+
* }
|
|
114
|
+
* },
|
|
115
|
+
* guarantor: {},
|
|
116
|
+
* billingProvider: {},
|
|
117
|
+
* supervisingProvider: {},
|
|
118
|
+
* referringProvider: {},
|
|
119
|
+
* initialReferringProvider: {},
|
|
120
|
+
* referralNumber: "string",
|
|
121
|
+
* epsdtReferral: {
|
|
122
|
+
* conditionIndicator1: "AV"
|
|
123
|
+
* },
|
|
124
|
+
* claimSupplementalInformation: []
|
|
125
|
+
* },
|
|
9
126
|
* chargeExternalId: "string",
|
|
10
127
|
* ehrSourceUrl: "string",
|
|
11
128
|
* patientExternalId: "string",
|
|
@@ -15,8 +15,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
15
15
|
* dateOfServiceMin: "2023-01-15",
|
|
16
16
|
* dateOfServiceMax: "2023-01-15",
|
|
17
17
|
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
18
|
-
*
|
|
19
|
-
* bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
18
|
+
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
20
19
|
* billingProviderNpis: "string",
|
|
21
20
|
* serviceFacilityName: "string",
|
|
22
21
|
* primaryPayerIds: "string",
|
|
@@ -31,7 +30,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
31
30
|
* dateOfServiceMinRankedSort: "2023-01-15",
|
|
32
31
|
* dateOfServiceMaxRankedSort: "2023-01-15",
|
|
33
32
|
* claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
34
|
-
*
|
|
33
|
+
* claimCreationIdsRankedSort: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
35
34
|
* billingProviderNpisRankedSort: "string",
|
|
36
35
|
* serviceFacilityNameRankedSort: "string",
|
|
37
36
|
* primaryPayerIdsRankedSort: "string",
|
|
@@ -84,13 +83,9 @@ export interface GetAllChargeCapturesRequest {
|
|
|
84
83
|
*/
|
|
85
84
|
claimIds?: CandidApi.EncounterId | CandidApi.EncounterId[];
|
|
86
85
|
/**
|
|
87
|
-
* A list of
|
|
86
|
+
* A list of Claim Creation IDs to filter by.
|
|
88
87
|
*/
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* A list of bundle IDs to filter by.
|
|
92
|
-
*/
|
|
93
|
-
bundleIds?: CandidApi.ChargeCaptureBundleId | CandidApi.ChargeCaptureBundleId[];
|
|
88
|
+
claimCreationIds?: CandidApi.ChargeCaptureClaimCreationId | CandidApi.ChargeCaptureClaimCreationId[];
|
|
94
89
|
/**
|
|
95
90
|
* A list of billing provider NPIs to filter by. This will return all charge captures with one of the NPIs in this list.
|
|
96
91
|
*/
|
|
@@ -152,9 +147,9 @@ export interface GetAllChargeCapturesRequest {
|
|
|
152
147
|
*/
|
|
153
148
|
claimIdsRankedSort?: CandidApi.EncounterId | CandidApi.EncounterId[];
|
|
154
149
|
/**
|
|
155
|
-
* A list of
|
|
150
|
+
* A list of Claim Creation IDs to show first.
|
|
156
151
|
*/
|
|
157
|
-
|
|
152
|
+
claimCreationIdsRankedSort?: CandidApi.ChargeCaptureClaimCreationId | CandidApi.ChargeCaptureClaimCreationId[];
|
|
158
153
|
/**
|
|
159
154
|
* A list of billing provider NPIs to show first. This will return all charge captures with one of the NPIs in this list.
|
|
160
155
|
*/
|
|
@@ -12,5 +12,5 @@ export interface ChargeCapture {
|
|
|
12
12
|
ehrSourceUrl?: string;
|
|
13
13
|
error?: CandidApi.chargeCapture.v1.ChargeCaptureError;
|
|
14
14
|
updates: CandidApi.chargeCapture.v1.ChargeCapturePostBilledChange[];
|
|
15
|
-
|
|
15
|
+
claimCreationId?: CandidApi.ChargeCaptureClaimCreationId;
|
|
16
16
|
}
|
|
@@ -6,17 +6,17 @@ export interface ChargeCaptureError {
|
|
|
6
6
|
id: string;
|
|
7
7
|
/**
|
|
8
8
|
* The underlying Charge Capture that this error object references.
|
|
9
|
-
* The Charge Capture referenced will be a part of the
|
|
10
|
-
* Errors may also refer to all charge_captures present in a
|
|
9
|
+
* The Charge Capture referenced will be a part of the Claim Creation tied to this error.
|
|
10
|
+
* Errors may also refer to all charge_captures present in a Claim Creation, in which case this field will be null.
|
|
11
11
|
*/
|
|
12
12
|
chargeCaptureId?: CandidApi.ChargeCaptureId;
|
|
13
|
-
/** A human readable error explaining why this charge capture
|
|
13
|
+
/** A human readable error explaining why this charge capture Claim Creation failed to create a claim. */
|
|
14
14
|
message: string;
|
|
15
15
|
/**
|
|
16
16
|
* The field of the corresponding underlying ChargeCapture that has a field that is failing validations,
|
|
17
17
|
* is not present but marked as required, or otherwise in error.
|
|
18
18
|
*/
|
|
19
19
|
fieldInError?: string;
|
|
20
|
-
/** The ID of the
|
|
21
|
-
|
|
20
|
+
/** The ID of the ChargeCaptureClaimCreation associated with this Error. */
|
|
21
|
+
claimCreationId: CandidApi.ChargeCaptureClaimCreationId;
|
|
22
22
|
}
|
|
@@ -26,30 +26,22 @@ export declare class V1 {
|
|
|
26
26
|
protected readonly _options: V1.Options;
|
|
27
27
|
constructor(_options?: V1.Options);
|
|
28
28
|
/**
|
|
29
|
-
* @param {CandidApi.
|
|
29
|
+
* @param {CandidApi.ChargeCaptureClaimCreationId} chargeCaptureClaimCreationId
|
|
30
30
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
|
-
* await client.chargeCaptureBundles.v1.get(CandidApi.
|
|
33
|
+
* await client.chargeCaptureBundles.v1.get(CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
34
34
|
*/
|
|
35
|
-
get(
|
|
35
|
+
get(chargeCaptureClaimCreationId: CandidApi.ChargeCaptureClaimCreationId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreation, CandidApi.chargeCaptureBundles.v1.get.Error>>;
|
|
36
36
|
/**
|
|
37
37
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* await client.chargeCaptureBundles.v1.getSummary()
|
|
41
41
|
*/
|
|
42
|
-
getSummary(requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.
|
|
42
|
+
getSummary(requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationSummary, CandidApi.chargeCaptureBundles.v1.getSummary.Error>>;
|
|
43
43
|
/**
|
|
44
|
-
* @param {CandidApi.
|
|
45
|
-
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
|
-
*
|
|
47
|
-
* @example
|
|
48
|
-
* await client.chargeCaptureBundles.v1.resubmit(CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
49
|
-
*/
|
|
50
|
-
resubmit(chargeCaptureBundleId: CandidApi.ChargeCaptureBundleId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundle, CandidApi.chargeCaptureBundles.v1.resubmit.Error>>;
|
|
51
|
-
/**
|
|
52
|
-
* @param {CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureBundlesRequest} request
|
|
44
|
+
* @param {CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureClaimCreationsRequest} request
|
|
53
45
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
46
|
*
|
|
55
47
|
* @example
|
|
@@ -59,13 +51,13 @@ export declare class V1 {
|
|
|
59
51
|
* sortDirection: "asc",
|
|
60
52
|
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
61
53
|
* patientExternalId: "string",
|
|
62
|
-
*
|
|
54
|
+
* claimCreationStatus: "not-started",
|
|
63
55
|
* chargeStatus: "planned",
|
|
64
56
|
* chargeExternalId: "string",
|
|
65
57
|
* dateOfServiceMin: "2023-01-15",
|
|
66
58
|
* dateOfServiceMax: "2023-01-15",
|
|
67
59
|
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
68
|
-
*
|
|
60
|
+
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
69
61
|
* billingProviderNpis: "string",
|
|
70
62
|
* serviceFacilityName: "string",
|
|
71
63
|
* primaryPayerIds: "string",
|
|
@@ -76,6 +68,6 @@ export declare class V1 {
|
|
|
76
68
|
* hasChargeCaptureUpdates: true
|
|
77
69
|
* })
|
|
78
70
|
*/
|
|
79
|
-
getAll(request?: CandidApi.chargeCaptureBundles.v1.
|
|
71
|
+
getAll(request?: CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureClaimCreationsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationPage, CandidApi.chargeCaptureBundles.v1.getAll.Error>>;
|
|
80
72
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
81
73
|
}
|
|
@@ -59,19 +59,19 @@ class V1 {
|
|
|
59
59
|
this._options = _options;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
* @param {CandidApi.
|
|
62
|
+
* @param {CandidApi.ChargeCaptureClaimCreationId} chargeCaptureClaimCreationId
|
|
63
63
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
|
-
* await client.chargeCaptureBundles.v1.get(CandidApi.
|
|
66
|
+
* await client.chargeCaptureBundles.v1.get(CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
67
67
|
*/
|
|
68
|
-
get(
|
|
68
|
+
get(chargeCaptureClaimCreationId, requestOptions) {
|
|
69
69
|
return __awaiter(this, void 0, void 0, function* () {
|
|
70
70
|
var _a, _b;
|
|
71
71
|
const _response = yield core.fetcher({
|
|
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/
|
|
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.43.0", "User-Agent": "candidhealth/0.43.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,
|
|
@@ -81,7 +81,7 @@ class V1 {
|
|
|
81
81
|
if (_response.ok) {
|
|
82
82
|
return {
|
|
83
83
|
ok: true,
|
|
84
|
-
body: serializers.chargeCaptureBundles.v1.
|
|
84
|
+
body: serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreation.parseOrThrow(_response.body, {
|
|
85
85
|
unrecognizedObjectKeys: "passthrough",
|
|
86
86
|
allowUnrecognizedUnionMembers: true,
|
|
87
87
|
allowUnrecognizedEnumValues: true,
|
|
@@ -105,9 +105,9 @@ class V1 {
|
|
|
105
105
|
return __awaiter(this, void 0, void 0, function* () {
|
|
106
106
|
var _a, _b;
|
|
107
107
|
const _response = yield core.fetcher({
|
|
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/
|
|
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.43.0", "User-Agent": "candidhealth/0.43.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,
|
|
@@ -117,7 +117,7 @@ class V1 {
|
|
|
117
117
|
if (_response.ok) {
|
|
118
118
|
return {
|
|
119
119
|
ok: true,
|
|
120
|
-
body: serializers.chargeCaptureBundles.v1.
|
|
120
|
+
body: serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreationSummary.parseOrThrow(_response.body, {
|
|
121
121
|
unrecognizedObjectKeys: "passthrough",
|
|
122
122
|
allowUnrecognizedUnionMembers: true,
|
|
123
123
|
allowUnrecognizedEnumValues: true,
|
|
@@ -132,58 +132,7 @@ class V1 {
|
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
135
|
-
* @param {CandidApi.
|
|
136
|
-
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
137
|
-
*
|
|
138
|
-
* @example
|
|
139
|
-
* await client.chargeCaptureBundles.v1.resubmit(CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
140
|
-
*/
|
|
141
|
-
resubmit(chargeCaptureBundleId, requestOptions) {
|
|
142
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
143
|
-
var _a, _b, _c;
|
|
144
|
-
const _response = yield core.fetcher({
|
|
145
|
-
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_bundle/v1/${encodeURIComponent(serializers.ChargeCaptureBundleId.jsonOrThrow(chargeCaptureBundleId))}`),
|
|
146
|
-
method: "POST",
|
|
147
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
148
|
-
contentType: "application/json",
|
|
149
|
-
requestType: "json",
|
|
150
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
151
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
152
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
153
|
-
});
|
|
154
|
-
if (_response.ok) {
|
|
155
|
-
return {
|
|
156
|
-
ok: true,
|
|
157
|
-
body: serializers.chargeCaptureBundles.v1.ChargeCaptureBundle.parseOrThrow(_response.body, {
|
|
158
|
-
unrecognizedObjectKeys: "passthrough",
|
|
159
|
-
allowUnrecognizedUnionMembers: true,
|
|
160
|
-
allowUnrecognizedEnumValues: true,
|
|
161
|
-
breadcrumbsPrefix: ["response"],
|
|
162
|
-
}),
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
if (_response.error.reason === "status-code") {
|
|
166
|
-
switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
|
|
167
|
-
case "NotImplementedError":
|
|
168
|
-
return {
|
|
169
|
-
ok: false,
|
|
170
|
-
error: serializers.chargeCaptureBundles.v1.resubmit.Error.parseOrThrow(_response.error.body, {
|
|
171
|
-
unrecognizedObjectKeys: "passthrough",
|
|
172
|
-
allowUnrecognizedUnionMembers: true,
|
|
173
|
-
allowUnrecognizedEnumValues: true,
|
|
174
|
-
breadcrumbsPrefix: ["response"],
|
|
175
|
-
}),
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
return {
|
|
180
|
-
ok: false,
|
|
181
|
-
error: CandidApi.chargeCaptureBundles.v1.resubmit.Error._unknown(_response.error),
|
|
182
|
-
};
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* @param {CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureBundlesRequest} request
|
|
135
|
+
* @param {CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureClaimCreationsRequest} request
|
|
187
136
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
188
137
|
*
|
|
189
138
|
* @example
|
|
@@ -193,13 +142,13 @@ class V1 {
|
|
|
193
142
|
* sortDirection: "asc",
|
|
194
143
|
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
195
144
|
* patientExternalId: "string",
|
|
196
|
-
*
|
|
145
|
+
* claimCreationStatus: "not-started",
|
|
197
146
|
* chargeStatus: "planned",
|
|
198
147
|
* chargeExternalId: "string",
|
|
199
148
|
* dateOfServiceMin: "2023-01-15",
|
|
200
149
|
* dateOfServiceMax: "2023-01-15",
|
|
201
150
|
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
202
|
-
*
|
|
151
|
+
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
203
152
|
* billingProviderNpis: "string",
|
|
204
153
|
* serviceFacilityName: "string",
|
|
205
154
|
* primaryPayerIds: "string",
|
|
@@ -213,15 +162,13 @@ class V1 {
|
|
|
213
162
|
getAll() {
|
|
214
163
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
215
164
|
var _a, _b;
|
|
216
|
-
const { limit, sort, sortDirection, pageToken, patientExternalId,
|
|
165
|
+
const { limit, sort, sortDirection, pageToken, patientExternalId, claimCreationStatus, chargeStatus, chargeExternalId, dateOfServiceMin, dateOfServiceMax, claimIds, claimCreationIds, billingProviderNpis, serviceFacilityName, primaryPayerIds, renderingProviderNpis, renderingProviderNames, supervisingProviderNpis, supervisingProviderNames, hasChargeCaptureUpdates, } = request;
|
|
217
166
|
const _queryParams = {};
|
|
218
167
|
if (limit != null) {
|
|
219
168
|
_queryParams["limit"] = limit.toString();
|
|
220
169
|
}
|
|
221
170
|
if (sort != null) {
|
|
222
|
-
_queryParams["sort"] = serializers.chargeCaptureBundles.v1.
|
|
223
|
-
unrecognizedObjectKeys: "strip",
|
|
224
|
-
});
|
|
171
|
+
_queryParams["sort"] = serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreationSortField.jsonOrThrow(sort, { unrecognizedObjectKeys: "strip" });
|
|
225
172
|
}
|
|
226
173
|
if (sortDirection != null) {
|
|
227
174
|
_queryParams["sort_direction"] = serializers.SortDirection.jsonOrThrow(sortDirection, {
|
|
@@ -234,8 +181,11 @@ class V1 {
|
|
|
234
181
|
if (patientExternalId != null) {
|
|
235
182
|
_queryParams["patient_external_id"] = patientExternalId;
|
|
236
183
|
}
|
|
237
|
-
if (
|
|
238
|
-
_queryParams["
|
|
184
|
+
if (claimCreationStatus != null) {
|
|
185
|
+
_queryParams["claim_creation_status"] =
|
|
186
|
+
serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreationStatus.jsonOrThrow(claimCreationStatus, {
|
|
187
|
+
unrecognizedObjectKeys: "strip",
|
|
188
|
+
});
|
|
239
189
|
}
|
|
240
190
|
if (chargeStatus != null) {
|
|
241
191
|
_queryParams["charge_status"] = serializers.chargeCapture.v1.ChargeCaptureStatus.jsonOrThrow(chargeStatus, {
|
|
@@ -259,12 +209,12 @@ class V1 {
|
|
|
259
209
|
_queryParams["claim_ids"] = claimIds;
|
|
260
210
|
}
|
|
261
211
|
}
|
|
262
|
-
if (
|
|
263
|
-
if (Array.isArray(
|
|
264
|
-
_queryParams["
|
|
212
|
+
if (claimCreationIds != null) {
|
|
213
|
+
if (Array.isArray(claimCreationIds)) {
|
|
214
|
+
_queryParams["claim_creation_ids"] = claimCreationIds.map((item) => serializers.ChargeCaptureClaimCreationId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
|
|
265
215
|
}
|
|
266
216
|
else {
|
|
267
|
-
_queryParams["
|
|
217
|
+
_queryParams["claim_creation_ids"] = claimCreationIds;
|
|
268
218
|
}
|
|
269
219
|
}
|
|
270
220
|
if (billingProviderNpis != null) {
|
|
@@ -322,9 +272,9 @@ class V1 {
|
|
|
322
272
|
_queryParams["has_charge_capture_updates"] = hasChargeCaptureUpdates.toString();
|
|
323
273
|
}
|
|
324
274
|
const _response = yield core.fetcher({
|
|
325
|
-
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/
|
|
275
|
+
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"),
|
|
326
276
|
method: "GET",
|
|
327
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
277
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
328
278
|
contentType: "application/json",
|
|
329
279
|
queryParameters: _queryParams,
|
|
330
280
|
requestType: "json",
|
|
@@ -335,7 +285,7 @@ class V1 {
|
|
|
335
285
|
if (_response.ok) {
|
|
336
286
|
return {
|
|
337
287
|
ok: true,
|
|
338
|
-
body: serializers.chargeCaptureBundles.v1.
|
|
288
|
+
body: serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreationPage.parseOrThrow(_response.body, {
|
|
339
289
|
unrecognizedObjectKeys: "passthrough",
|
|
340
290
|
allowUnrecognizedUnionMembers: true,
|
|
341
291
|
allowUnrecognizedEnumValues: true,
|
|
@@ -36,9 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.getAll = exports.
|
|
39
|
+
exports.getAll = exports.getSummary = exports.get = void 0;
|
|
40
40
|
__exportStar(require("./requests"), exports);
|
|
41
41
|
exports.get = __importStar(require("./get"));
|
|
42
42
|
exports.getSummary = __importStar(require("./getSummary"));
|
|
43
|
-
exports.resubmit = __importStar(require("./resubmit"));
|
|
44
43
|
exports.getAll = __importStar(require("./getAll"));
|