candidhealth 0.42.4 → 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/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +15 -0
- package/api/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/api/resources/billingNotes/resources/v2/types/index.js +1 -0
- 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/ChargeCaptureData.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/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +15 -0
- package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/billingNotes/resources/v2/types/index.js +1 -0
- 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/ChargeCaptureData.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/GetAllChargeCaptureClaimCreationsRequest.js +5 -0
- 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/ChargeCaptureClaimCreation.js +5 -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/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +19 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.js +52 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/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/ChargeCaptureData.d.ts +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.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/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +19 -0
- package/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.js +52 -0
- package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/billingNotes/resources/v2/types/index.js +1 -0
- 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/ChargeCaptureData.d.ts +2 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.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 → billingNotes/resources/v2/types/BillingNoteOptional.js} +0 -0
- /package/api/resources/chargeCaptureBundles/resources/v1/{types/ChargeCaptureBundle.js → client/requests/GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
- /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundlePage.js → ChargeCaptureClaimCreation.js} +0 -0
- /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleSummary.js → ChargeCaptureClaimCreationPage.js} +0 -0
- /package/api/resources/{commons/types/NotImplementedErrorMessage.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +0 -0
- /package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js → api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js} +0 -0
- /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +0 -0
- /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js} +0 -0
- /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js} +0 -0
- /package/dist/api/resources/{commons/types/NotImplementedErrorMessage.js → billingNotes/resources/v2/types/BillingNoteOptional.js} +0 -0
|
@@ -64,7 +64,124 @@ class V1 {
|
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* await client.chargeCapture.v1.create({
|
|
67
|
-
* data: {
|
|
67
|
+
* data: {
|
|
68
|
+
* diagnoses: [],
|
|
69
|
+
* interventions: [],
|
|
70
|
+
* externalClaimSubmission: {
|
|
71
|
+
* claimCreatedAt: "2023-01-01T12:00:00.000000Z",
|
|
72
|
+
* patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
73
|
+
* submissionRecords: [{
|
|
74
|
+
* submittedAt: "2023-01-01T13:00:00.000000Z",
|
|
75
|
+
* claimFrequencyCode: "1",
|
|
76
|
+
* payerResponsibility: "primary",
|
|
77
|
+
* intendedSubmissionMedium: "electronic"
|
|
78
|
+
* }, {
|
|
79
|
+
* submittedAt: "2023-01-04T12:00:00.000000Z",
|
|
80
|
+
* claimFrequencyCode: "7",
|
|
81
|
+
* payerResponsibility: "primary",
|
|
82
|
+
* intendedSubmissionMedium: "paper"
|
|
83
|
+
* }]
|
|
84
|
+
* },
|
|
85
|
+
* serviceLines: [],
|
|
86
|
+
* patientHistories: [],
|
|
87
|
+
* billingNotes: [],
|
|
88
|
+
* benefitsAssignedToProvider: true,
|
|
89
|
+
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
90
|
+
* externalId: CandidApi.EncounterExternalId("string"),
|
|
91
|
+
* dateOfService: "2023-01-15",
|
|
92
|
+
* tagIds: [],
|
|
93
|
+
* clinicalNotes: [],
|
|
94
|
+
* payToAddress: {
|
|
95
|
+
* address1: "123 Main St",
|
|
96
|
+
* address2: "Apt 1",
|
|
97
|
+
* city: "New York",
|
|
98
|
+
* state: "NY",
|
|
99
|
+
* zipCode: "10001",
|
|
100
|
+
* zipPlusFourCode: "1234"
|
|
101
|
+
* },
|
|
102
|
+
* billableStatus: "BILLABLE",
|
|
103
|
+
* responsibleParty: "INSURANCE_PAY",
|
|
104
|
+
* providerAcceptsAssignment: true,
|
|
105
|
+
* synchronicity: "Synchronous",
|
|
106
|
+
* placeOfServiceCode: "01",
|
|
107
|
+
* appointmentType: "string",
|
|
108
|
+
* endDateOfService: "2023-01-15",
|
|
109
|
+
* subscriberPrimary: {
|
|
110
|
+
* insuranceCard: {
|
|
111
|
+
* memberId: "string",
|
|
112
|
+
* payerName: "string",
|
|
113
|
+
* payerId: "string"
|
|
114
|
+
* },
|
|
115
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
116
|
+
* firstName: "string",
|
|
117
|
+
* lastName: "string",
|
|
118
|
+
* gender: "male"
|
|
119
|
+
* },
|
|
120
|
+
* subscriberSecondary: {
|
|
121
|
+
* insuranceCard: {
|
|
122
|
+
* memberId: "string",
|
|
123
|
+
* payerName: "string",
|
|
124
|
+
* payerId: "string"
|
|
125
|
+
* },
|
|
126
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
127
|
+
* firstName: "string",
|
|
128
|
+
* lastName: "string",
|
|
129
|
+
* gender: "male"
|
|
130
|
+
* },
|
|
131
|
+
* subscriberTertiary: {
|
|
132
|
+
* insuranceCard: {
|
|
133
|
+
* memberId: "string",
|
|
134
|
+
* payerName: "string",
|
|
135
|
+
* payerId: "string"
|
|
136
|
+
* },
|
|
137
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
138
|
+
* firstName: "string",
|
|
139
|
+
* lastName: "string",
|
|
140
|
+
* gender: "male"
|
|
141
|
+
* },
|
|
142
|
+
* additionalInformation: "string",
|
|
143
|
+
* serviceAuthorizationExceptionCode: "1",
|
|
144
|
+
* admissionDate: "2023-01-15",
|
|
145
|
+
* dischargeDate: "2023-01-15",
|
|
146
|
+
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
147
|
+
* lastMenstrualPeriodDate: "2023-01-15",
|
|
148
|
+
* delayReasonCode: "1",
|
|
149
|
+
* patient: {},
|
|
150
|
+
* patientAuthorizedRelease: true,
|
|
151
|
+
* schemaInstances: [],
|
|
152
|
+
* vitals: {
|
|
153
|
+
* heightIn: 70,
|
|
154
|
+
* weightLbs: 165,
|
|
155
|
+
* bloodPressureSystolicMmhg: 115,
|
|
156
|
+
* bloodPressureDiastolicMmhg: 85,
|
|
157
|
+
* bodyTemperatureF: 98,
|
|
158
|
+
* hemoglobinGdl: 15.1,
|
|
159
|
+
* hematocritPct: 51.2
|
|
160
|
+
* },
|
|
161
|
+
* existingMedications: [],
|
|
162
|
+
* renderingProvider: {},
|
|
163
|
+
* serviceFacility: {
|
|
164
|
+
* organizationName: "Test Organization",
|
|
165
|
+
* address: {
|
|
166
|
+
* address1: "123 Main St",
|
|
167
|
+
* address2: "Apt 1",
|
|
168
|
+
* city: "New York",
|
|
169
|
+
* state: "NY",
|
|
170
|
+
* zipCode: "10001",
|
|
171
|
+
* zipPlusFourCode: "1234"
|
|
172
|
+
* }
|
|
173
|
+
* },
|
|
174
|
+
* guarantor: {},
|
|
175
|
+
* billingProvider: {},
|
|
176
|
+
* supervisingProvider: {},
|
|
177
|
+
* referringProvider: {},
|
|
178
|
+
* initialReferringProvider: {},
|
|
179
|
+
* referralNumber: "string",
|
|
180
|
+
* epsdtReferral: {
|
|
181
|
+
* conditionIndicator1: "AV"
|
|
182
|
+
* },
|
|
183
|
+
* claimSupplementalInformation: []
|
|
184
|
+
* },
|
|
68
185
|
* chargeExternalId: "string",
|
|
69
186
|
* ehrSourceUrl: "string",
|
|
70
187
|
* patientExternalId: "string",
|
|
@@ -77,7 +194,7 @@ class V1 {
|
|
|
77
194
|
const _response = yield core.fetcher({
|
|
78
195
|
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
196
|
method: "POST",
|
|
80
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
197
|
+
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),
|
|
81
198
|
contentType: "application/json",
|
|
82
199
|
requestType: "json",
|
|
83
200
|
body: serializers.chargeCapture.v1.CreateChargeCaptureRequest.jsonOrThrow(request, {
|
|
@@ -135,7 +252,7 @@ class V1 {
|
|
|
135
252
|
const _response = yield core.fetcher({
|
|
136
253
|
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))}`),
|
|
137
254
|
method: "DELETE",
|
|
138
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
255
|
+
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),
|
|
139
256
|
contentType: "application/json",
|
|
140
257
|
requestType: "json",
|
|
141
258
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -176,7 +293,124 @@ class V1 {
|
|
|
176
293
|
*
|
|
177
294
|
* @example
|
|
178
295
|
* await client.chargeCapture.v1.update(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
179
|
-
* data: {
|
|
296
|
+
* data: {
|
|
297
|
+
* diagnoses: [],
|
|
298
|
+
* interventions: [],
|
|
299
|
+
* externalClaimSubmission: {
|
|
300
|
+
* claimCreatedAt: "2023-01-01T12:00:00.000000Z",
|
|
301
|
+
* patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
302
|
+
* submissionRecords: [{
|
|
303
|
+
* submittedAt: "2023-01-01T13:00:00.000000Z",
|
|
304
|
+
* claimFrequencyCode: "1",
|
|
305
|
+
* payerResponsibility: "primary",
|
|
306
|
+
* intendedSubmissionMedium: "electronic"
|
|
307
|
+
* }, {
|
|
308
|
+
* submittedAt: "2023-01-04T12:00:00.000000Z",
|
|
309
|
+
* claimFrequencyCode: "7",
|
|
310
|
+
* payerResponsibility: "primary",
|
|
311
|
+
* intendedSubmissionMedium: "paper"
|
|
312
|
+
* }]
|
|
313
|
+
* },
|
|
314
|
+
* serviceLines: [],
|
|
315
|
+
* patientHistories: [],
|
|
316
|
+
* billingNotes: [],
|
|
317
|
+
* benefitsAssignedToProvider: true,
|
|
318
|
+
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
319
|
+
* externalId: CandidApi.EncounterExternalId("string"),
|
|
320
|
+
* dateOfService: "2023-01-15",
|
|
321
|
+
* tagIds: [],
|
|
322
|
+
* clinicalNotes: [],
|
|
323
|
+
* payToAddress: {
|
|
324
|
+
* address1: "123 Main St",
|
|
325
|
+
* address2: "Apt 1",
|
|
326
|
+
* city: "New York",
|
|
327
|
+
* state: "NY",
|
|
328
|
+
* zipCode: "10001",
|
|
329
|
+
* zipPlusFourCode: "1234"
|
|
330
|
+
* },
|
|
331
|
+
* billableStatus: "BILLABLE",
|
|
332
|
+
* responsibleParty: "INSURANCE_PAY",
|
|
333
|
+
* providerAcceptsAssignment: true,
|
|
334
|
+
* synchronicity: "Synchronous",
|
|
335
|
+
* placeOfServiceCode: "01",
|
|
336
|
+
* appointmentType: "string",
|
|
337
|
+
* endDateOfService: "2023-01-15",
|
|
338
|
+
* subscriberPrimary: {
|
|
339
|
+
* insuranceCard: {
|
|
340
|
+
* memberId: "string",
|
|
341
|
+
* payerName: "string",
|
|
342
|
+
* payerId: "string"
|
|
343
|
+
* },
|
|
344
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
345
|
+
* firstName: "string",
|
|
346
|
+
* lastName: "string",
|
|
347
|
+
* gender: "male"
|
|
348
|
+
* },
|
|
349
|
+
* subscriberSecondary: {
|
|
350
|
+
* insuranceCard: {
|
|
351
|
+
* memberId: "string",
|
|
352
|
+
* payerName: "string",
|
|
353
|
+
* payerId: "string"
|
|
354
|
+
* },
|
|
355
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
356
|
+
* firstName: "string",
|
|
357
|
+
* lastName: "string",
|
|
358
|
+
* gender: "male"
|
|
359
|
+
* },
|
|
360
|
+
* subscriberTertiary: {
|
|
361
|
+
* insuranceCard: {
|
|
362
|
+
* memberId: "string",
|
|
363
|
+
* payerName: "string",
|
|
364
|
+
* payerId: "string"
|
|
365
|
+
* },
|
|
366
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
367
|
+
* firstName: "string",
|
|
368
|
+
* lastName: "string",
|
|
369
|
+
* gender: "male"
|
|
370
|
+
* },
|
|
371
|
+
* additionalInformation: "string",
|
|
372
|
+
* serviceAuthorizationExceptionCode: "1",
|
|
373
|
+
* admissionDate: "2023-01-15",
|
|
374
|
+
* dischargeDate: "2023-01-15",
|
|
375
|
+
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
376
|
+
* lastMenstrualPeriodDate: "2023-01-15",
|
|
377
|
+
* delayReasonCode: "1",
|
|
378
|
+
* patient: {},
|
|
379
|
+
* patientAuthorizedRelease: true,
|
|
380
|
+
* schemaInstances: [],
|
|
381
|
+
* vitals: {
|
|
382
|
+
* heightIn: 70,
|
|
383
|
+
* weightLbs: 165,
|
|
384
|
+
* bloodPressureSystolicMmhg: 115,
|
|
385
|
+
* bloodPressureDiastolicMmhg: 85,
|
|
386
|
+
* bodyTemperatureF: 98,
|
|
387
|
+
* hemoglobinGdl: 15.1,
|
|
388
|
+
* hematocritPct: 51.2
|
|
389
|
+
* },
|
|
390
|
+
* existingMedications: [],
|
|
391
|
+
* renderingProvider: {},
|
|
392
|
+
* serviceFacility: {
|
|
393
|
+
* organizationName: "Test Organization",
|
|
394
|
+
* address: {
|
|
395
|
+
* address1: "123 Main St",
|
|
396
|
+
* address2: "Apt 1",
|
|
397
|
+
* city: "New York",
|
|
398
|
+
* state: "NY",
|
|
399
|
+
* zipCode: "10001",
|
|
400
|
+
* zipPlusFourCode: "1234"
|
|
401
|
+
* }
|
|
402
|
+
* },
|
|
403
|
+
* guarantor: {},
|
|
404
|
+
* billingProvider: {},
|
|
405
|
+
* supervisingProvider: {},
|
|
406
|
+
* referringProvider: {},
|
|
407
|
+
* initialReferringProvider: {},
|
|
408
|
+
* referralNumber: "string",
|
|
409
|
+
* epsdtReferral: {
|
|
410
|
+
* conditionIndicator1: "AV"
|
|
411
|
+
* },
|
|
412
|
+
* claimSupplementalInformation: []
|
|
413
|
+
* },
|
|
180
414
|
* chargeExternalId: "string",
|
|
181
415
|
* ehrSourceUrl: "string",
|
|
182
416
|
* patientExternalId: "string",
|
|
@@ -189,7 +423,7 @@ class V1 {
|
|
|
189
423
|
const _response = yield core.fetcher({
|
|
190
424
|
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))}`),
|
|
191
425
|
method: "PATCH",
|
|
192
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
426
|
+
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),
|
|
193
427
|
contentType: "application/json",
|
|
194
428
|
requestType: "json",
|
|
195
429
|
body: serializers.chargeCapture.v1.ChargeCaptureUpdate.jsonOrThrow(request, {
|
|
@@ -247,7 +481,7 @@ class V1 {
|
|
|
247
481
|
const _response = yield core.fetcher({
|
|
248
482
|
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))}`),
|
|
249
483
|
method: "GET",
|
|
250
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
484
|
+
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),
|
|
251
485
|
contentType: "application/json",
|
|
252
486
|
requestType: "json",
|
|
253
487
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -287,8 +521,7 @@ class V1 {
|
|
|
287
521
|
* dateOfServiceMin: "2023-01-15",
|
|
288
522
|
* dateOfServiceMax: "2023-01-15",
|
|
289
523
|
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
290
|
-
*
|
|
291
|
-
* bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
524
|
+
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
292
525
|
* billingProviderNpis: "string",
|
|
293
526
|
* serviceFacilityName: "string",
|
|
294
527
|
* primaryPayerIds: "string",
|
|
@@ -303,7 +536,7 @@ class V1 {
|
|
|
303
536
|
* dateOfServiceMinRankedSort: "2023-01-15",
|
|
304
537
|
* dateOfServiceMaxRankedSort: "2023-01-15",
|
|
305
538
|
* claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
306
|
-
*
|
|
539
|
+
* claimCreationIdsRankedSort: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
307
540
|
* billingProviderNpisRankedSort: "string",
|
|
308
541
|
* serviceFacilityNameRankedSort: "string",
|
|
309
542
|
* primaryPayerIdsRankedSort: "string",
|
|
@@ -316,7 +549,7 @@ class V1 {
|
|
|
316
549
|
getAll() {
|
|
317
550
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
318
551
|
var _a, _b;
|
|
319
|
-
const { limit, sort, sortDirection, pageToken, patientExternalId, status, chargeExternalId, dateOfServiceMin, dateOfServiceMax, claimIds,
|
|
552
|
+
const { limit, sort, sortDirection, pageToken, patientExternalId, status, chargeExternalId, dateOfServiceMin, dateOfServiceMax, claimIds, claimCreationIds, billingProviderNpis, serviceFacilityName, primaryPayerIds, renderingProviderNpis, renderingProviderNames, supervisingProviderNpis, supervisingProviderNames, excludeChargesLinkedToClaims, patientExternalIdRankedSort, statusRankedSort, chargeExternalIdRankedSort, dateOfServiceMinRankedSort, dateOfServiceMaxRankedSort, claimIdsRankedSort, claimCreationIdsRankedSort, billingProviderNpisRankedSort, serviceFacilityNameRankedSort, primaryPayerIdsRankedSort, renderingProviderNpisRankedSort, renderingProviderNamesRankedSort, supervisingProviderNpisRankedSort, supervisingProviderNamesRankedSort, } = request;
|
|
320
553
|
const _queryParams = {};
|
|
321
554
|
if (limit != null) {
|
|
322
555
|
_queryParams["limit"] = limit.toString();
|
|
@@ -359,15 +592,12 @@ class V1 {
|
|
|
359
592
|
_queryParams["claim_ids"] = claimIds;
|
|
360
593
|
}
|
|
361
594
|
}
|
|
362
|
-
if (
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
if (bundleIds != null) {
|
|
366
|
-
if (Array.isArray(bundleIds)) {
|
|
367
|
-
_queryParams["bundle_ids"] = bundleIds.map((item) => serializers.ChargeCaptureBundleId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
|
|
595
|
+
if (claimCreationIds != null) {
|
|
596
|
+
if (Array.isArray(claimCreationIds)) {
|
|
597
|
+
_queryParams["claim_creation_ids"] = claimCreationIds.map((item) => serializers.ChargeCaptureClaimCreationId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
|
|
368
598
|
}
|
|
369
599
|
else {
|
|
370
|
-
_queryParams["
|
|
600
|
+
_queryParams["claim_creation_ids"] = claimCreationIds;
|
|
371
601
|
}
|
|
372
602
|
}
|
|
373
603
|
if (billingProviderNpis != null) {
|
|
@@ -447,12 +677,12 @@ class V1 {
|
|
|
447
677
|
_queryParams["claim_ids_ranked_sort"] = claimIdsRankedSort;
|
|
448
678
|
}
|
|
449
679
|
}
|
|
450
|
-
if (
|
|
451
|
-
if (Array.isArray(
|
|
452
|
-
_queryParams["
|
|
680
|
+
if (claimCreationIdsRankedSort != null) {
|
|
681
|
+
if (Array.isArray(claimCreationIdsRankedSort)) {
|
|
682
|
+
_queryParams["claim_creation_ids_ranked_sort"] = claimCreationIdsRankedSort.map((item) => serializers.ChargeCaptureClaimCreationId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
|
|
453
683
|
}
|
|
454
684
|
else {
|
|
455
|
-
_queryParams["
|
|
685
|
+
_queryParams["claim_creation_ids_ranked_sort"] = claimCreationIdsRankedSort;
|
|
456
686
|
}
|
|
457
687
|
}
|
|
458
688
|
if (billingProviderNpisRankedSort != null) {
|
|
@@ -509,7 +739,7 @@ class V1 {
|
|
|
509
739
|
const _response = yield core.fetcher({
|
|
510
740
|
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"),
|
|
511
741
|
method: "GET",
|
|
512
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
742
|
+
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),
|
|
513
743
|
contentType: "application/json",
|
|
514
744
|
queryParameters: _queryParams,
|
|
515
745
|
requestType: "json",
|
|
@@ -550,7 +780,7 @@ class V1 {
|
|
|
550
780
|
const _response = yield core.fetcher({
|
|
551
781
|
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/${encodeURIComponent(serializers.ChargeCapturePostBilledChangeId.jsonOrThrow(chargeCaptureChangeId))}`),
|
|
552
782
|
method: "PATCH",
|
|
553
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
783
|
+
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),
|
|
554
784
|
contentType: "application/json",
|
|
555
785
|
requestType: "json",
|
|
556
786
|
body: serializers.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate.jsonOrThrow(request, {
|
|
@@ -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",
|
package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.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",
|