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,21 +64,7 @@ class V2 {
|
|
|
64
64
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
|
-
* await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
68
|
-
* npi: "string",
|
|
69
|
-
* taxonomyCode: "string",
|
|
70
|
-
* address: {
|
|
71
|
-
* address1: "123 Main St",
|
|
72
|
-
* address2: "Apt 1",
|
|
73
|
-
* city: "New York",
|
|
74
|
-
* state: "NY",
|
|
75
|
-
* zipCode: "10001",
|
|
76
|
-
* zipPlusFourCode: "1234"
|
|
77
|
-
* },
|
|
78
|
-
* firstName: "string",
|
|
79
|
-
* lastName: "string",
|
|
80
|
-
* organizationName: "string"
|
|
81
|
-
* })
|
|
67
|
+
* await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
|
|
82
68
|
*/
|
|
83
69
|
updateReferringProvider(encounterId, request, requestOptions) {
|
|
84
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -86,7 +72,7 @@ class V2 {
|
|
|
86
72
|
const _response = yield core.fetcher({
|
|
87
73
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
88
74
|
method: "PATCH",
|
|
89
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
75
|
+
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),
|
|
90
76
|
contentType: "application/json",
|
|
91
77
|
requestType: "json",
|
|
92
78
|
body: serializers.encounterProviders.v2.ReferringProviderUpdate.jsonOrThrow(request, {
|
|
@@ -134,22 +120,7 @@ class V2 {
|
|
|
134
120
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
135
121
|
*
|
|
136
122
|
* @example
|
|
137
|
-
* await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
138
|
-
* npi: "string",
|
|
139
|
-
* taxonomyCode: "string",
|
|
140
|
-
* address: {
|
|
141
|
-
* address1: "123 Main St",
|
|
142
|
-
* address2: "Apt 1",
|
|
143
|
-
* city: "New York",
|
|
144
|
-
* state: "NY",
|
|
145
|
-
* zipCode: "10001",
|
|
146
|
-
* zipPlusFourCode: "1234"
|
|
147
|
-
* },
|
|
148
|
-
* qualifier: "DQ",
|
|
149
|
-
* firstName: "string",
|
|
150
|
-
* lastName: "string",
|
|
151
|
-
* organizationName: "string"
|
|
152
|
-
* })
|
|
123
|
+
* await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
|
|
153
124
|
*/
|
|
154
125
|
updateInitialReferringProvider(encounterId, request, requestOptions) {
|
|
155
126
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -157,7 +128,7 @@ class V2 {
|
|
|
157
128
|
const _response = yield core.fetcher({
|
|
158
129
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/initial-referring-provider`),
|
|
159
130
|
method: "PATCH",
|
|
160
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
131
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
|
|
161
132
|
contentType: "application/json",
|
|
162
133
|
requestType: "json",
|
|
163
134
|
body: serializers.encounterProviders.v2.InitialReferringProviderUpdate.jsonOrThrow(request, {
|
|
@@ -206,21 +177,7 @@ class V2 {
|
|
|
206
177
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
207
178
|
*
|
|
208
179
|
* @example
|
|
209
|
-
* await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
210
|
-
* npi: "string",
|
|
211
|
-
* taxonomyCode: "string",
|
|
212
|
-
* address: {
|
|
213
|
-
* address1: "123 Main St",
|
|
214
|
-
* address2: "Apt 1",
|
|
215
|
-
* city: "New York",
|
|
216
|
-
* state: "NY",
|
|
217
|
-
* zipCode: "10001",
|
|
218
|
-
* zipPlusFourCode: "1234"
|
|
219
|
-
* },
|
|
220
|
-
* firstName: "string",
|
|
221
|
-
* lastName: "string",
|
|
222
|
-
* organizationName: "string"
|
|
223
|
-
* })
|
|
180
|
+
* await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
|
|
224
181
|
*/
|
|
225
182
|
updateSupervisingProvider(encounterId, request, requestOptions) {
|
|
226
183
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -228,7 +185,7 @@ class V2 {
|
|
|
228
185
|
const _response = yield core.fetcher({
|
|
229
186
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/supervising-provider`),
|
|
230
187
|
method: "PATCH",
|
|
231
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
188
|
+
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),
|
|
232
189
|
contentType: "application/json",
|
|
233
190
|
requestType: "json",
|
|
234
191
|
body: serializers.encounterProviders.v2.SupervisingProviderUpdate.jsonOrThrow(request, {
|
|
@@ -287,10 +244,7 @@ class V2 {
|
|
|
287
244
|
* state: "NY",
|
|
288
245
|
* zipCode: "10001",
|
|
289
246
|
* zipPlusFourCode: "1234"
|
|
290
|
-
* }
|
|
291
|
-
* firstName: "string",
|
|
292
|
-
* lastName: "string",
|
|
293
|
-
* organizationName: "string"
|
|
247
|
+
* }
|
|
294
248
|
* })
|
|
295
249
|
*/
|
|
296
250
|
updateOrderingProvider(serviceLineId, request, requestOptions) {
|
|
@@ -299,7 +253,7 @@ class V2 {
|
|
|
299
253
|
const _response = yield core.fetcher({
|
|
300
254
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/ordering-provider`),
|
|
301
255
|
method: "PATCH",
|
|
302
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
256
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
|
|
303
257
|
contentType: "application/json",
|
|
304
258
|
requestType: "json",
|
|
305
259
|
body: serializers.encounterProviders.v2.OrderingProviderUpdate.jsonOrThrow(request, {
|
|
@@ -357,10 +311,7 @@ class V2 {
|
|
|
357
311
|
* state: "NY",
|
|
358
312
|
* zipCode: "10001",
|
|
359
313
|
* zipPlusFourCode: "1234"
|
|
360
|
-
* }
|
|
361
|
-
* firstName: "string",
|
|
362
|
-
* lastName: "string",
|
|
363
|
-
* organizationName: "string"
|
|
314
|
+
* }
|
|
364
315
|
* })
|
|
365
316
|
*/
|
|
366
317
|
createReferringProvider(encounterId, request, requestOptions) {
|
|
@@ -369,7 +320,7 @@ class V2 {
|
|
|
369
320
|
const _response = yield core.fetcher({
|
|
370
321
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-referring-provider`),
|
|
371
322
|
method: "POST",
|
|
372
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
323
|
+
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),
|
|
373
324
|
contentType: "application/json",
|
|
374
325
|
requestType: "json",
|
|
375
326
|
body: serializers.encounterProviders.v2.ReferringProvider.jsonOrThrow(request, {
|
|
@@ -429,10 +380,7 @@ class V2 {
|
|
|
429
380
|
* zipCode: "10001",
|
|
430
381
|
* zipPlusFourCode: "1234"
|
|
431
382
|
* },
|
|
432
|
-
* qualifier: "DQ"
|
|
433
|
-
* firstName: "string",
|
|
434
|
-
* lastName: "string",
|
|
435
|
-
* organizationName: "string"
|
|
383
|
+
* qualifier: "DQ"
|
|
436
384
|
* })
|
|
437
385
|
*/
|
|
438
386
|
createInitialReferringProvider(encounterId, request, requestOptions) {
|
|
@@ -441,7 +389,7 @@ class V2 {
|
|
|
441
389
|
const _response = yield core.fetcher({
|
|
442
390
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-initial-referring-provider`),
|
|
443
391
|
method: "POST",
|
|
444
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
392
|
+
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),
|
|
445
393
|
contentType: "application/json",
|
|
446
394
|
requestType: "json",
|
|
447
395
|
body: serializers.encounterProviders.v2.InitialReferringProvider.jsonOrThrow(request, {
|
|
@@ -502,10 +450,7 @@ class V2 {
|
|
|
502
450
|
* state: "NY",
|
|
503
451
|
* zipCode: "10001",
|
|
504
452
|
* zipPlusFourCode: "1234"
|
|
505
|
-
* }
|
|
506
|
-
* firstName: "string",
|
|
507
|
-
* lastName: "string",
|
|
508
|
-
* organizationName: "string"
|
|
453
|
+
* }
|
|
509
454
|
* })
|
|
510
455
|
*/
|
|
511
456
|
createSupervisingProvider(encounterId, request, requestOptions) {
|
|
@@ -514,7 +459,7 @@ class V2 {
|
|
|
514
459
|
const _response = yield core.fetcher({
|
|
515
460
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-supervising-provider`),
|
|
516
461
|
method: "POST",
|
|
517
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
462
|
+
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),
|
|
518
463
|
contentType: "application/json",
|
|
519
464
|
requestType: "json",
|
|
520
465
|
body: serializers.encounterProviders.v2.SupervisingProvider.jsonOrThrow(request, {
|
|
@@ -574,10 +519,7 @@ class V2 {
|
|
|
574
519
|
* state: "NY",
|
|
575
520
|
* zipCode: "10001",
|
|
576
521
|
* zipPlusFourCode: "1234"
|
|
577
|
-
* }
|
|
578
|
-
* firstName: "string",
|
|
579
|
-
* lastName: "string",
|
|
580
|
-
* organizationName: "string"
|
|
522
|
+
* }
|
|
581
523
|
* })
|
|
582
524
|
*/
|
|
583
525
|
createOrderingProvider(serviceLineId, request, requestOptions) {
|
|
@@ -586,7 +528,7 @@ class V2 {
|
|
|
586
528
|
const _response = yield core.fetcher({
|
|
587
529
|
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/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/create-ordering-provider`),
|
|
588
530
|
method: "POST",
|
|
589
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
531
|
+
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),
|
|
590
532
|
contentType: "application/json",
|
|
591
533
|
requestType: "json",
|
|
592
534
|
body: serializers.encounterProviders.v2.OrderingProvider.jsonOrThrow(request, {
|
|
@@ -642,7 +584,7 @@ class V2 {
|
|
|
642
584
|
const _response = yield core.fetcher({
|
|
643
585
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/referring-provider`),
|
|
644
586
|
method: "DELETE",
|
|
645
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
587
|
+
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),
|
|
646
588
|
contentType: "application/json",
|
|
647
589
|
requestType: "json",
|
|
648
590
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -689,7 +631,7 @@ class V2 {
|
|
|
689
631
|
const _response = yield core.fetcher({
|
|
690
632
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/initial-referring-provider`),
|
|
691
633
|
method: "DELETE",
|
|
692
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
634
|
+
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),
|
|
693
635
|
contentType: "application/json",
|
|
694
636
|
requestType: "json",
|
|
695
637
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -736,7 +678,7 @@ class V2 {
|
|
|
736
678
|
const _response = yield core.fetcher({
|
|
737
679
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/supervising-provider`),
|
|
738
680
|
method: "DELETE",
|
|
739
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
681
|
+
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),
|
|
740
682
|
contentType: "application/json",
|
|
741
683
|
requestType: "json",
|
|
742
684
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -783,7 +725,7 @@ class V2 {
|
|
|
783
725
|
const _response = yield core.fetcher({
|
|
784
726
|
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/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/ordering-provider`),
|
|
785
727
|
method: "DELETE",
|
|
786
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
728
|
+
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),
|
|
787
729
|
contentType: "application/json",
|
|
788
730
|
requestType: "json",
|
|
789
731
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -100,10 +100,7 @@ export declare class V4 {
|
|
|
100
100
|
* taxId: "string",
|
|
101
101
|
* npi: "string",
|
|
102
102
|
* taxonomyCode: "string",
|
|
103
|
-
* providerCommercialLicenseType: "0"
|
|
104
|
-
* firstName: "string",
|
|
105
|
-
* lastName: "string",
|
|
106
|
-
* organizationName: "string"
|
|
103
|
+
* providerCommercialLicenseType: "0"
|
|
107
104
|
* },
|
|
108
105
|
* renderingProvider: {
|
|
109
106
|
* npi: "string",
|
|
@@ -115,10 +112,7 @@ export declare class V4 {
|
|
|
115
112
|
* state: "NY",
|
|
116
113
|
* zipCode: "10001",
|
|
117
114
|
* zipPlusFourCode: "1234"
|
|
118
|
-
* }
|
|
119
|
-
* firstName: "string",
|
|
120
|
-
* lastName: "string",
|
|
121
|
-
* organizationName: "string"
|
|
115
|
+
* }
|
|
122
116
|
* },
|
|
123
117
|
* referringProvider: {
|
|
124
118
|
* npi: "string",
|
|
@@ -130,10 +124,7 @@ export declare class V4 {
|
|
|
130
124
|
* state: "NY",
|
|
131
125
|
* zipCode: "10001",
|
|
132
126
|
* zipPlusFourCode: "1234"
|
|
133
|
-
* }
|
|
134
|
-
* firstName: "string",
|
|
135
|
-
* lastName: "string",
|
|
136
|
-
* organizationName: "string"
|
|
127
|
+
* }
|
|
137
128
|
* },
|
|
138
129
|
* initialReferringProvider: {
|
|
139
130
|
* npi: "string",
|
|
@@ -146,10 +137,7 @@ export declare class V4 {
|
|
|
146
137
|
* zipCode: "10001",
|
|
147
138
|
* zipPlusFourCode: "1234"
|
|
148
139
|
* },
|
|
149
|
-
* qualifier: "DQ"
|
|
150
|
-
* firstName: "string",
|
|
151
|
-
* lastName: "string",
|
|
152
|
-
* organizationName: "string"
|
|
140
|
+
* qualifier: "DQ"
|
|
153
141
|
* },
|
|
154
142
|
* supervisingProvider: {
|
|
155
143
|
* npi: "string",
|
|
@@ -161,10 +149,7 @@ export declare class V4 {
|
|
|
161
149
|
* state: "NY",
|
|
162
150
|
* zipCode: "10001",
|
|
163
151
|
* zipPlusFourCode: "1234"
|
|
164
|
-
* }
|
|
165
|
-
* firstName: "string",
|
|
166
|
-
* lastName: "string",
|
|
167
|
-
* organizationName: "string"
|
|
152
|
+
* }
|
|
168
153
|
* },
|
|
169
154
|
* serviceFacility: {
|
|
170
155
|
* organizationName: "string",
|
|
@@ -183,28 +168,9 @@ export declare class V4 {
|
|
|
183
168
|
* insuranceCard: {
|
|
184
169
|
* memberId: "string",
|
|
185
170
|
* payerName: "string",
|
|
186
|
-
* payerId: "string"
|
|
187
|
-
* rxBin: "string",
|
|
188
|
-
* rxPcn: "string",
|
|
189
|
-
* imageUrlFront: "string",
|
|
190
|
-
* imageUrlBack: "string",
|
|
191
|
-
* emrPayerCrosswalk: "HEALTHIE",
|
|
192
|
-
* groupNumber: "string",
|
|
193
|
-
* planName: "string",
|
|
194
|
-
* planType: "09",
|
|
195
|
-
* insuranceType: "01",
|
|
196
|
-
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
171
|
+
* payerId: "string"
|
|
197
172
|
* },
|
|
198
173
|
* patientRelationshipToSubscriberCode: "01",
|
|
199
|
-
* dateOfBirth: "2023-01-15",
|
|
200
|
-
* address: {
|
|
201
|
-
* address1: "123 Main St",
|
|
202
|
-
* address2: "Apt 1",
|
|
203
|
-
* city: "New York",
|
|
204
|
-
* state: "NY",
|
|
205
|
-
* zipCode: "10001",
|
|
206
|
-
* zipPlusFourCode: "1234"
|
|
207
|
-
* },
|
|
208
174
|
* firstName: "string",
|
|
209
175
|
* lastName: "string",
|
|
210
176
|
* gender: "male"
|
|
@@ -213,28 +179,9 @@ export declare class V4 {
|
|
|
213
179
|
* insuranceCard: {
|
|
214
180
|
* memberId: "string",
|
|
215
181
|
* payerName: "string",
|
|
216
|
-
* payerId: "string"
|
|
217
|
-
* rxBin: "string",
|
|
218
|
-
* rxPcn: "string",
|
|
219
|
-
* imageUrlFront: "string",
|
|
220
|
-
* imageUrlBack: "string",
|
|
221
|
-
* emrPayerCrosswalk: "HEALTHIE",
|
|
222
|
-
* groupNumber: "string",
|
|
223
|
-
* planName: "string",
|
|
224
|
-
* planType: "09",
|
|
225
|
-
* insuranceType: "01",
|
|
226
|
-
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
182
|
+
* payerId: "string"
|
|
227
183
|
* },
|
|
228
184
|
* patientRelationshipToSubscriberCode: "01",
|
|
229
|
-
* dateOfBirth: "2023-01-15",
|
|
230
|
-
* address: {
|
|
231
|
-
* address1: "123 Main St",
|
|
232
|
-
* address2: "Apt 1",
|
|
233
|
-
* city: "New York",
|
|
234
|
-
* state: "NY",
|
|
235
|
-
* zipCode: "10001",
|
|
236
|
-
* zipPlusFourCode: "1234"
|
|
237
|
-
* },
|
|
238
185
|
* firstName: "string",
|
|
239
186
|
* lastName: "string",
|
|
240
187
|
* gender: "male"
|
|
@@ -243,28 +190,9 @@ export declare class V4 {
|
|
|
243
190
|
* insuranceCard: {
|
|
244
191
|
* memberId: "string",
|
|
245
192
|
* payerName: "string",
|
|
246
|
-
* payerId: "string"
|
|
247
|
-
* rxBin: "string",
|
|
248
|
-
* rxPcn: "string",
|
|
249
|
-
* imageUrlFront: "string",
|
|
250
|
-
* imageUrlBack: "string",
|
|
251
|
-
* emrPayerCrosswalk: "HEALTHIE",
|
|
252
|
-
* groupNumber: "string",
|
|
253
|
-
* planName: "string",
|
|
254
|
-
* planType: "09",
|
|
255
|
-
* insuranceType: "01",
|
|
256
|
-
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
193
|
+
* payerId: "string"
|
|
257
194
|
* },
|
|
258
195
|
* patientRelationshipToSubscriberCode: "01",
|
|
259
|
-
* dateOfBirth: "2023-01-15",
|
|
260
|
-
* address: {
|
|
261
|
-
* address1: "123 Main St",
|
|
262
|
-
* address2: "Apt 1",
|
|
263
|
-
* city: "New York",
|
|
264
|
-
* state: "NY",
|
|
265
|
-
* zipCode: "10001",
|
|
266
|
-
* zipPlusFourCode: "1234"
|
|
267
|
-
* },
|
|
268
196
|
* firstName: "string",
|
|
269
197
|
* lastName: "string",
|
|
270
198
|
* gender: "male"
|
|
@@ -353,9 +281,7 @@ export declare class V4 {
|
|
|
353
281
|
* }],
|
|
354
282
|
* referralNumber: "string",
|
|
355
283
|
* epsdtReferral: {
|
|
356
|
-
* conditionIndicator1: "AV"
|
|
357
|
-
* conditionIndicator2: "AV",
|
|
358
|
-
* conditionIndicator3: "AV"
|
|
284
|
+
* conditionIndicator1: "AV"
|
|
359
285
|
* },
|
|
360
286
|
* claimSupplementalInformation: [{
|
|
361
287
|
* attachmentReportTypeCode: "03",
|
|
@@ -461,10 +387,7 @@ export declare class V4 {
|
|
|
461
387
|
* taxId: "string",
|
|
462
388
|
* npi: "string",
|
|
463
389
|
* taxonomyCode: "string",
|
|
464
|
-
* providerCommercialLicenseType: "0"
|
|
465
|
-
* firstName: "string",
|
|
466
|
-
* lastName: "string",
|
|
467
|
-
* organizationName: "string"
|
|
390
|
+
* providerCommercialLicenseType: "0"
|
|
468
391
|
* },
|
|
469
392
|
* renderingProvider: {
|
|
470
393
|
* npi: "string",
|
|
@@ -476,10 +399,7 @@ export declare class V4 {
|
|
|
476
399
|
* state: "NY",
|
|
477
400
|
* zipCode: "10001",
|
|
478
401
|
* zipPlusFourCode: "1234"
|
|
479
|
-
* }
|
|
480
|
-
* firstName: "string",
|
|
481
|
-
* lastName: "string",
|
|
482
|
-
* organizationName: "string"
|
|
402
|
+
* }
|
|
483
403
|
* },
|
|
484
404
|
* initialReferringProvider: {
|
|
485
405
|
* npi: "string",
|
|
@@ -492,10 +412,7 @@ export declare class V4 {
|
|
|
492
412
|
* zipCode: "10001",
|
|
493
413
|
* zipPlusFourCode: "1234"
|
|
494
414
|
* },
|
|
495
|
-
* qualifier: "DQ"
|
|
496
|
-
* firstName: "string",
|
|
497
|
-
* lastName: "string",
|
|
498
|
-
* organizationName: "string"
|
|
415
|
+
* qualifier: "DQ"
|
|
499
416
|
* },
|
|
500
417
|
* supervisingProvider: {
|
|
501
418
|
* npi: "string",
|
|
@@ -507,10 +424,7 @@ export declare class V4 {
|
|
|
507
424
|
* state: "NY",
|
|
508
425
|
* zipCode: "10001",
|
|
509
426
|
* zipPlusFourCode: "1234"
|
|
510
|
-
* }
|
|
511
|
-
* firstName: "string",
|
|
512
|
-
* lastName: "string",
|
|
513
|
-
* organizationName: "string"
|
|
427
|
+
* }
|
|
514
428
|
* },
|
|
515
429
|
* serviceFacility: {
|
|
516
430
|
* organizationName: "string",
|
|
@@ -654,7 +568,103 @@ export declare class V4 {
|
|
|
654
568
|
* @example
|
|
655
569
|
* await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
656
570
|
* diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
657
|
-
* placeOfServiceCodeAsSubmitted: "01"
|
|
571
|
+
* placeOfServiceCodeAsSubmitted: "01",
|
|
572
|
+
* benefitsAssignedToProvider: true,
|
|
573
|
+
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
574
|
+
* externalId: CandidApi.EncounterExternalId("string"),
|
|
575
|
+
* dateOfService: "2023-01-15",
|
|
576
|
+
* tagIds: [],
|
|
577
|
+
* clinicalNotes: [],
|
|
578
|
+
* payToAddress: {
|
|
579
|
+
* address1: "123 Main St",
|
|
580
|
+
* address2: "Apt 1",
|
|
581
|
+
* city: "New York",
|
|
582
|
+
* state: "NY",
|
|
583
|
+
* zipCode: "10001",
|
|
584
|
+
* zipPlusFourCode: "1234"
|
|
585
|
+
* },
|
|
586
|
+
* billableStatus: "BILLABLE",
|
|
587
|
+
* responsibleParty: "INSURANCE_PAY",
|
|
588
|
+
* providerAcceptsAssignment: true,
|
|
589
|
+
* synchronicity: "Synchronous",
|
|
590
|
+
* placeOfServiceCode: "01",
|
|
591
|
+
* appointmentType: "string",
|
|
592
|
+
* endDateOfService: "2023-01-15",
|
|
593
|
+
* subscriberPrimary: {
|
|
594
|
+
* insuranceCard: {
|
|
595
|
+
* memberId: "string",
|
|
596
|
+
* payerName: "string",
|
|
597
|
+
* payerId: "string"
|
|
598
|
+
* },
|
|
599
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
600
|
+
* firstName: "string",
|
|
601
|
+
* lastName: "string",
|
|
602
|
+
* gender: "male"
|
|
603
|
+
* },
|
|
604
|
+
* subscriberSecondary: {
|
|
605
|
+
* insuranceCard: {
|
|
606
|
+
* memberId: "string",
|
|
607
|
+
* payerName: "string",
|
|
608
|
+
* payerId: "string"
|
|
609
|
+
* },
|
|
610
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
611
|
+
* firstName: "string",
|
|
612
|
+
* lastName: "string",
|
|
613
|
+
* gender: "male"
|
|
614
|
+
* },
|
|
615
|
+
* subscriberTertiary: {
|
|
616
|
+
* insuranceCard: {
|
|
617
|
+
* memberId: "string",
|
|
618
|
+
* payerName: "string",
|
|
619
|
+
* payerId: "string"
|
|
620
|
+
* },
|
|
621
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
622
|
+
* firstName: "string",
|
|
623
|
+
* lastName: "string",
|
|
624
|
+
* gender: "male"
|
|
625
|
+
* },
|
|
626
|
+
* additionalInformation: "string",
|
|
627
|
+
* serviceAuthorizationExceptionCode: "1",
|
|
628
|
+
* admissionDate: "2023-01-15",
|
|
629
|
+
* dischargeDate: "2023-01-15",
|
|
630
|
+
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
631
|
+
* lastMenstrualPeriodDate: "2023-01-15",
|
|
632
|
+
* delayReasonCode: "1",
|
|
633
|
+
* patient: {},
|
|
634
|
+
* patientAuthorizedRelease: true,
|
|
635
|
+
* schemaInstances: [],
|
|
636
|
+
* vitals: {
|
|
637
|
+
* heightIn: 70,
|
|
638
|
+
* weightLbs: 165,
|
|
639
|
+
* bloodPressureSystolicMmhg: 115,
|
|
640
|
+
* bloodPressureDiastolicMmhg: 85,
|
|
641
|
+
* bodyTemperatureF: 98,
|
|
642
|
+
* hemoglobinGdl: 15.1,
|
|
643
|
+
* hematocritPct: 51.2
|
|
644
|
+
* },
|
|
645
|
+
* existingMedications: [],
|
|
646
|
+
* renderingProvider: {},
|
|
647
|
+
* serviceFacility: {
|
|
648
|
+
* organizationName: "Test Organization",
|
|
649
|
+
* address: {
|
|
650
|
+
* address1: "123 Main St",
|
|
651
|
+
* address2: "Apt 1",
|
|
652
|
+
* city: "New York",
|
|
653
|
+
* state: "NY",
|
|
654
|
+
* zipCode: "10001",
|
|
655
|
+
* zipPlusFourCode: "1234"
|
|
656
|
+
* }
|
|
657
|
+
* },
|
|
658
|
+
* guarantor: {},
|
|
659
|
+
* billingProvider: {},
|
|
660
|
+
* supervisingProvider: {},
|
|
661
|
+
* referringProvider: {},
|
|
662
|
+
* initialReferringProvider: {},
|
|
663
|
+
* referralNumber: "string",
|
|
664
|
+
* epsdtReferral: {
|
|
665
|
+
* conditionIndicator1: "AV"
|
|
666
|
+
* },
|
|
667
|
+
* claimSupplementalInformation: []
|
|
658
668
|
* })
|
|
659
669
|
*/
|
|
660
670
|
update(encounterId: CandidApi.EncounterId, request?: CandidApi.encounters.v4.EncounterUpdate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.update.Error>>;
|