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
|
@@ -143,7 +143,7 @@ class V4 {
|
|
|
143
143
|
const _response = yield core.fetcher({
|
|
144
144
|
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/encounters/v4"),
|
|
145
145
|
method: "GET",
|
|
146
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
146
|
+
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),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
queryParameters: _queryParams,
|
|
149
149
|
requestType: "json",
|
|
@@ -181,7 +181,7 @@ class V4 {
|
|
|
181
181
|
const _response = yield core.fetcher({
|
|
182
182
|
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/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
183
183
|
method: "GET",
|
|
184
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
184
|
+
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),
|
|
185
185
|
contentType: "application/json",
|
|
186
186
|
requestType: "json",
|
|
187
187
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -253,10 +253,7 @@ class V4 {
|
|
|
253
253
|
* taxId: "string",
|
|
254
254
|
* npi: "string",
|
|
255
255
|
* taxonomyCode: "string",
|
|
256
|
-
* providerCommercialLicenseType: "0"
|
|
257
|
-
* firstName: "string",
|
|
258
|
-
* lastName: "string",
|
|
259
|
-
* organizationName: "string"
|
|
256
|
+
* providerCommercialLicenseType: "0"
|
|
260
257
|
* },
|
|
261
258
|
* renderingProvider: {
|
|
262
259
|
* npi: "string",
|
|
@@ -268,10 +265,7 @@ class V4 {
|
|
|
268
265
|
* state: "NY",
|
|
269
266
|
* zipCode: "10001",
|
|
270
267
|
* zipPlusFourCode: "1234"
|
|
271
|
-
* }
|
|
272
|
-
* firstName: "string",
|
|
273
|
-
* lastName: "string",
|
|
274
|
-
* organizationName: "string"
|
|
268
|
+
* }
|
|
275
269
|
* },
|
|
276
270
|
* referringProvider: {
|
|
277
271
|
* npi: "string",
|
|
@@ -283,10 +277,7 @@ class V4 {
|
|
|
283
277
|
* state: "NY",
|
|
284
278
|
* zipCode: "10001",
|
|
285
279
|
* zipPlusFourCode: "1234"
|
|
286
|
-
* }
|
|
287
|
-
* firstName: "string",
|
|
288
|
-
* lastName: "string",
|
|
289
|
-
* organizationName: "string"
|
|
280
|
+
* }
|
|
290
281
|
* },
|
|
291
282
|
* initialReferringProvider: {
|
|
292
283
|
* npi: "string",
|
|
@@ -299,10 +290,7 @@ class V4 {
|
|
|
299
290
|
* zipCode: "10001",
|
|
300
291
|
* zipPlusFourCode: "1234"
|
|
301
292
|
* },
|
|
302
|
-
* qualifier: "DQ"
|
|
303
|
-
* firstName: "string",
|
|
304
|
-
* lastName: "string",
|
|
305
|
-
* organizationName: "string"
|
|
293
|
+
* qualifier: "DQ"
|
|
306
294
|
* },
|
|
307
295
|
* supervisingProvider: {
|
|
308
296
|
* npi: "string",
|
|
@@ -314,10 +302,7 @@ class V4 {
|
|
|
314
302
|
* state: "NY",
|
|
315
303
|
* zipCode: "10001",
|
|
316
304
|
* zipPlusFourCode: "1234"
|
|
317
|
-
* }
|
|
318
|
-
* firstName: "string",
|
|
319
|
-
* lastName: "string",
|
|
320
|
-
* organizationName: "string"
|
|
305
|
+
* }
|
|
321
306
|
* },
|
|
322
307
|
* serviceFacility: {
|
|
323
308
|
* organizationName: "string",
|
|
@@ -336,28 +321,9 @@ class V4 {
|
|
|
336
321
|
* insuranceCard: {
|
|
337
322
|
* memberId: "string",
|
|
338
323
|
* payerName: "string",
|
|
339
|
-
* payerId: "string"
|
|
340
|
-
* rxBin: "string",
|
|
341
|
-
* rxPcn: "string",
|
|
342
|
-
* imageUrlFront: "string",
|
|
343
|
-
* imageUrlBack: "string",
|
|
344
|
-
* emrPayerCrosswalk: "HEALTHIE",
|
|
345
|
-
* groupNumber: "string",
|
|
346
|
-
* planName: "string",
|
|
347
|
-
* planType: "09",
|
|
348
|
-
* insuranceType: "01",
|
|
349
|
-
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
324
|
+
* payerId: "string"
|
|
350
325
|
* },
|
|
351
326
|
* patientRelationshipToSubscriberCode: "01",
|
|
352
|
-
* dateOfBirth: "2023-01-15",
|
|
353
|
-
* address: {
|
|
354
|
-
* address1: "123 Main St",
|
|
355
|
-
* address2: "Apt 1",
|
|
356
|
-
* city: "New York",
|
|
357
|
-
* state: "NY",
|
|
358
|
-
* zipCode: "10001",
|
|
359
|
-
* zipPlusFourCode: "1234"
|
|
360
|
-
* },
|
|
361
327
|
* firstName: "string",
|
|
362
328
|
* lastName: "string",
|
|
363
329
|
* gender: "male"
|
|
@@ -366,28 +332,9 @@ class V4 {
|
|
|
366
332
|
* insuranceCard: {
|
|
367
333
|
* memberId: "string",
|
|
368
334
|
* payerName: "string",
|
|
369
|
-
* payerId: "string"
|
|
370
|
-
* rxBin: "string",
|
|
371
|
-
* rxPcn: "string",
|
|
372
|
-
* imageUrlFront: "string",
|
|
373
|
-
* imageUrlBack: "string",
|
|
374
|
-
* emrPayerCrosswalk: "HEALTHIE",
|
|
375
|
-
* groupNumber: "string",
|
|
376
|
-
* planName: "string",
|
|
377
|
-
* planType: "09",
|
|
378
|
-
* insuranceType: "01",
|
|
379
|
-
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
335
|
+
* payerId: "string"
|
|
380
336
|
* },
|
|
381
337
|
* patientRelationshipToSubscriberCode: "01",
|
|
382
|
-
* dateOfBirth: "2023-01-15",
|
|
383
|
-
* address: {
|
|
384
|
-
* address1: "123 Main St",
|
|
385
|
-
* address2: "Apt 1",
|
|
386
|
-
* city: "New York",
|
|
387
|
-
* state: "NY",
|
|
388
|
-
* zipCode: "10001",
|
|
389
|
-
* zipPlusFourCode: "1234"
|
|
390
|
-
* },
|
|
391
338
|
* firstName: "string",
|
|
392
339
|
* lastName: "string",
|
|
393
340
|
* gender: "male"
|
|
@@ -396,28 +343,9 @@ class V4 {
|
|
|
396
343
|
* insuranceCard: {
|
|
397
344
|
* memberId: "string",
|
|
398
345
|
* payerName: "string",
|
|
399
|
-
* payerId: "string"
|
|
400
|
-
* rxBin: "string",
|
|
401
|
-
* rxPcn: "string",
|
|
402
|
-
* imageUrlFront: "string",
|
|
403
|
-
* imageUrlBack: "string",
|
|
404
|
-
* emrPayerCrosswalk: "HEALTHIE",
|
|
405
|
-
* groupNumber: "string",
|
|
406
|
-
* planName: "string",
|
|
407
|
-
* planType: "09",
|
|
408
|
-
* insuranceType: "01",
|
|
409
|
-
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
346
|
+
* payerId: "string"
|
|
410
347
|
* },
|
|
411
348
|
* patientRelationshipToSubscriberCode: "01",
|
|
412
|
-
* dateOfBirth: "2023-01-15",
|
|
413
|
-
* address: {
|
|
414
|
-
* address1: "123 Main St",
|
|
415
|
-
* address2: "Apt 1",
|
|
416
|
-
* city: "New York",
|
|
417
|
-
* state: "NY",
|
|
418
|
-
* zipCode: "10001",
|
|
419
|
-
* zipPlusFourCode: "1234"
|
|
420
|
-
* },
|
|
421
349
|
* firstName: "string",
|
|
422
350
|
* lastName: "string",
|
|
423
351
|
* gender: "male"
|
|
@@ -506,9 +434,7 @@ class V4 {
|
|
|
506
434
|
* }],
|
|
507
435
|
* referralNumber: "string",
|
|
508
436
|
* epsdtReferral: {
|
|
509
|
-
* conditionIndicator1: "AV"
|
|
510
|
-
* conditionIndicator2: "AV",
|
|
511
|
-
* conditionIndicator3: "AV"
|
|
437
|
+
* conditionIndicator1: "AV"
|
|
512
438
|
* },
|
|
513
439
|
* claimSupplementalInformation: [{
|
|
514
440
|
* attachmentReportTypeCode: "03",
|
|
@@ -581,7 +507,7 @@ class V4 {
|
|
|
581
507
|
const _response = yield core.fetcher({
|
|
582
508
|
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/encounters/v4"),
|
|
583
509
|
method: "POST",
|
|
584
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
510
|
+
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),
|
|
585
511
|
contentType: "application/json",
|
|
586
512
|
requestType: "json",
|
|
587
513
|
body: serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -668,10 +594,7 @@ class V4 {
|
|
|
668
594
|
* taxId: "string",
|
|
669
595
|
* npi: "string",
|
|
670
596
|
* taxonomyCode: "string",
|
|
671
|
-
* providerCommercialLicenseType: "0"
|
|
672
|
-
* firstName: "string",
|
|
673
|
-
* lastName: "string",
|
|
674
|
-
* organizationName: "string"
|
|
597
|
+
* providerCommercialLicenseType: "0"
|
|
675
598
|
* },
|
|
676
599
|
* renderingProvider: {
|
|
677
600
|
* npi: "string",
|
|
@@ -683,10 +606,7 @@ class V4 {
|
|
|
683
606
|
* state: "NY",
|
|
684
607
|
* zipCode: "10001",
|
|
685
608
|
* zipPlusFourCode: "1234"
|
|
686
|
-
* }
|
|
687
|
-
* firstName: "string",
|
|
688
|
-
* lastName: "string",
|
|
689
|
-
* organizationName: "string"
|
|
609
|
+
* }
|
|
690
610
|
* },
|
|
691
611
|
* initialReferringProvider: {
|
|
692
612
|
* npi: "string",
|
|
@@ -699,10 +619,7 @@ class V4 {
|
|
|
699
619
|
* zipCode: "10001",
|
|
700
620
|
* zipPlusFourCode: "1234"
|
|
701
621
|
* },
|
|
702
|
-
* qualifier: "DQ"
|
|
703
|
-
* firstName: "string",
|
|
704
|
-
* lastName: "string",
|
|
705
|
-
* organizationName: "string"
|
|
622
|
+
* qualifier: "DQ"
|
|
706
623
|
* },
|
|
707
624
|
* supervisingProvider: {
|
|
708
625
|
* npi: "string",
|
|
@@ -714,10 +631,7 @@ class V4 {
|
|
|
714
631
|
* state: "NY",
|
|
715
632
|
* zipCode: "10001",
|
|
716
633
|
* zipPlusFourCode: "1234"
|
|
717
|
-
* }
|
|
718
|
-
* firstName: "string",
|
|
719
|
-
* lastName: "string",
|
|
720
|
-
* organizationName: "string"
|
|
634
|
+
* }
|
|
721
635
|
* },
|
|
722
636
|
* serviceFacility: {
|
|
723
637
|
* organizationName: "string",
|
|
@@ -858,7 +772,7 @@ class V4 {
|
|
|
858
772
|
const _response = yield core.fetcher({
|
|
859
773
|
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/encounters/v4/create-from-pre-encounter"),
|
|
860
774
|
method: "POST",
|
|
861
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
775
|
+
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),
|
|
862
776
|
contentType: "application/json",
|
|
863
777
|
requestType: "json",
|
|
864
778
|
body: serializers.encounters.v4.EncounterCreateFromPreEncounter.jsonOrThrow(request, {
|
|
@@ -914,7 +828,103 @@ class V4 {
|
|
|
914
828
|
* @example
|
|
915
829
|
* await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
916
830
|
* diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
917
|
-
* placeOfServiceCodeAsSubmitted: "01"
|
|
831
|
+
* placeOfServiceCodeAsSubmitted: "01",
|
|
832
|
+
* benefitsAssignedToProvider: true,
|
|
833
|
+
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
834
|
+
* externalId: CandidApi.EncounterExternalId("string"),
|
|
835
|
+
* dateOfService: "2023-01-15",
|
|
836
|
+
* tagIds: [],
|
|
837
|
+
* clinicalNotes: [],
|
|
838
|
+
* payToAddress: {
|
|
839
|
+
* address1: "123 Main St",
|
|
840
|
+
* address2: "Apt 1",
|
|
841
|
+
* city: "New York",
|
|
842
|
+
* state: "NY",
|
|
843
|
+
* zipCode: "10001",
|
|
844
|
+
* zipPlusFourCode: "1234"
|
|
845
|
+
* },
|
|
846
|
+
* billableStatus: "BILLABLE",
|
|
847
|
+
* responsibleParty: "INSURANCE_PAY",
|
|
848
|
+
* providerAcceptsAssignment: true,
|
|
849
|
+
* synchronicity: "Synchronous",
|
|
850
|
+
* placeOfServiceCode: "01",
|
|
851
|
+
* appointmentType: "string",
|
|
852
|
+
* endDateOfService: "2023-01-15",
|
|
853
|
+
* subscriberPrimary: {
|
|
854
|
+
* insuranceCard: {
|
|
855
|
+
* memberId: "string",
|
|
856
|
+
* payerName: "string",
|
|
857
|
+
* payerId: "string"
|
|
858
|
+
* },
|
|
859
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
860
|
+
* firstName: "string",
|
|
861
|
+
* lastName: "string",
|
|
862
|
+
* gender: "male"
|
|
863
|
+
* },
|
|
864
|
+
* subscriberSecondary: {
|
|
865
|
+
* insuranceCard: {
|
|
866
|
+
* memberId: "string",
|
|
867
|
+
* payerName: "string",
|
|
868
|
+
* payerId: "string"
|
|
869
|
+
* },
|
|
870
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
871
|
+
* firstName: "string",
|
|
872
|
+
* lastName: "string",
|
|
873
|
+
* gender: "male"
|
|
874
|
+
* },
|
|
875
|
+
* subscriberTertiary: {
|
|
876
|
+
* insuranceCard: {
|
|
877
|
+
* memberId: "string",
|
|
878
|
+
* payerName: "string",
|
|
879
|
+
* payerId: "string"
|
|
880
|
+
* },
|
|
881
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
882
|
+
* firstName: "string",
|
|
883
|
+
* lastName: "string",
|
|
884
|
+
* gender: "male"
|
|
885
|
+
* },
|
|
886
|
+
* additionalInformation: "string",
|
|
887
|
+
* serviceAuthorizationExceptionCode: "1",
|
|
888
|
+
* admissionDate: "2023-01-15",
|
|
889
|
+
* dischargeDate: "2023-01-15",
|
|
890
|
+
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
891
|
+
* lastMenstrualPeriodDate: "2023-01-15",
|
|
892
|
+
* delayReasonCode: "1",
|
|
893
|
+
* patient: {},
|
|
894
|
+
* patientAuthorizedRelease: true,
|
|
895
|
+
* schemaInstances: [],
|
|
896
|
+
* vitals: {
|
|
897
|
+
* heightIn: 70,
|
|
898
|
+
* weightLbs: 165,
|
|
899
|
+
* bloodPressureSystolicMmhg: 115,
|
|
900
|
+
* bloodPressureDiastolicMmhg: 85,
|
|
901
|
+
* bodyTemperatureF: 98,
|
|
902
|
+
* hemoglobinGdl: 15.1,
|
|
903
|
+
* hematocritPct: 51.2
|
|
904
|
+
* },
|
|
905
|
+
* existingMedications: [],
|
|
906
|
+
* renderingProvider: {},
|
|
907
|
+
* serviceFacility: {
|
|
908
|
+
* organizationName: "Test Organization",
|
|
909
|
+
* address: {
|
|
910
|
+
* address1: "123 Main St",
|
|
911
|
+
* address2: "Apt 1",
|
|
912
|
+
* city: "New York",
|
|
913
|
+
* state: "NY",
|
|
914
|
+
* zipCode: "10001",
|
|
915
|
+
* zipPlusFourCode: "1234"
|
|
916
|
+
* }
|
|
917
|
+
* },
|
|
918
|
+
* guarantor: {},
|
|
919
|
+
* billingProvider: {},
|
|
920
|
+
* supervisingProvider: {},
|
|
921
|
+
* referringProvider: {},
|
|
922
|
+
* initialReferringProvider: {},
|
|
923
|
+
* referralNumber: "string",
|
|
924
|
+
* epsdtReferral: {
|
|
925
|
+
* conditionIndicator1: "AV"
|
|
926
|
+
* },
|
|
927
|
+
* claimSupplementalInformation: []
|
|
918
928
|
* })
|
|
919
929
|
*/
|
|
920
930
|
update(encounterId_1) {
|
|
@@ -923,7 +933,7 @@ class V4 {
|
|
|
923
933
|
const _response = yield core.fetcher({
|
|
924
934
|
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/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
925
935
|
method: "PATCH",
|
|
926
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
936
|
+
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),
|
|
927
937
|
contentType: "application/json",
|
|
928
938
|
requestType: "json",
|
|
929
939
|
body: serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -47,10 +47,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
47
47
|
* taxId: "string",
|
|
48
48
|
* npi: "string",
|
|
49
49
|
* taxonomyCode: "string",
|
|
50
|
-
* providerCommercialLicenseType: "0"
|
|
51
|
-
* firstName: "string",
|
|
52
|
-
* lastName: "string",
|
|
53
|
-
* organizationName: "string"
|
|
50
|
+
* providerCommercialLicenseType: "0"
|
|
54
51
|
* },
|
|
55
52
|
* renderingProvider: {
|
|
56
53
|
* npi: "string",
|
|
@@ -62,10 +59,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
62
59
|
* state: "NY",
|
|
63
60
|
* zipCode: "10001",
|
|
64
61
|
* zipPlusFourCode: "1234"
|
|
65
|
-
* }
|
|
66
|
-
* firstName: "string",
|
|
67
|
-
* lastName: "string",
|
|
68
|
-
* organizationName: "string"
|
|
62
|
+
* }
|
|
69
63
|
* },
|
|
70
64
|
* referringProvider: {
|
|
71
65
|
* npi: "string",
|
|
@@ -77,10 +71,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
77
71
|
* state: "NY",
|
|
78
72
|
* zipCode: "10001",
|
|
79
73
|
* zipPlusFourCode: "1234"
|
|
80
|
-
* }
|
|
81
|
-
* firstName: "string",
|
|
82
|
-
* lastName: "string",
|
|
83
|
-
* organizationName: "string"
|
|
74
|
+
* }
|
|
84
75
|
* },
|
|
85
76
|
* initialReferringProvider: {
|
|
86
77
|
* npi: "string",
|
|
@@ -93,10 +84,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
93
84
|
* zipCode: "10001",
|
|
94
85
|
* zipPlusFourCode: "1234"
|
|
95
86
|
* },
|
|
96
|
-
* qualifier: "DQ"
|
|
97
|
-
* firstName: "string",
|
|
98
|
-
* lastName: "string",
|
|
99
|
-
* organizationName: "string"
|
|
87
|
+
* qualifier: "DQ"
|
|
100
88
|
* },
|
|
101
89
|
* supervisingProvider: {
|
|
102
90
|
* npi: "string",
|
|
@@ -108,10 +96,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
108
96
|
* state: "NY",
|
|
109
97
|
* zipCode: "10001",
|
|
110
98
|
* zipPlusFourCode: "1234"
|
|
111
|
-
* }
|
|
112
|
-
* firstName: "string",
|
|
113
|
-
* lastName: "string",
|
|
114
|
-
* organizationName: "string"
|
|
99
|
+
* }
|
|
115
100
|
* },
|
|
116
101
|
* serviceFacility: {
|
|
117
102
|
* organizationName: "string",
|
|
@@ -130,28 +115,9 @@ import * as CandidApi from "../../../../../../index";
|
|
|
130
115
|
* insuranceCard: {
|
|
131
116
|
* memberId: "string",
|
|
132
117
|
* payerName: "string",
|
|
133
|
-
* payerId: "string"
|
|
134
|
-
* rxBin: "string",
|
|
135
|
-
* rxPcn: "string",
|
|
136
|
-
* imageUrlFront: "string",
|
|
137
|
-
* imageUrlBack: "string",
|
|
138
|
-
* emrPayerCrosswalk: "HEALTHIE",
|
|
139
|
-
* groupNumber: "string",
|
|
140
|
-
* planName: "string",
|
|
141
|
-
* planType: "09",
|
|
142
|
-
* insuranceType: "01",
|
|
143
|
-
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
118
|
+
* payerId: "string"
|
|
144
119
|
* },
|
|
145
120
|
* patientRelationshipToSubscriberCode: "01",
|
|
146
|
-
* dateOfBirth: "2023-01-15",
|
|
147
|
-
* address: {
|
|
148
|
-
* address1: "123 Main St",
|
|
149
|
-
* address2: "Apt 1",
|
|
150
|
-
* city: "New York",
|
|
151
|
-
* state: "NY",
|
|
152
|
-
* zipCode: "10001",
|
|
153
|
-
* zipPlusFourCode: "1234"
|
|
154
|
-
* },
|
|
155
121
|
* firstName: "string",
|
|
156
122
|
* lastName: "string",
|
|
157
123
|
* gender: "male"
|
|
@@ -160,28 +126,9 @@ import * as CandidApi from "../../../../../../index";
|
|
|
160
126
|
* insuranceCard: {
|
|
161
127
|
* memberId: "string",
|
|
162
128
|
* payerName: "string",
|
|
163
|
-
* payerId: "string"
|
|
164
|
-
* rxBin: "string",
|
|
165
|
-
* rxPcn: "string",
|
|
166
|
-
* imageUrlFront: "string",
|
|
167
|
-
* imageUrlBack: "string",
|
|
168
|
-
* emrPayerCrosswalk: "HEALTHIE",
|
|
169
|
-
* groupNumber: "string",
|
|
170
|
-
* planName: "string",
|
|
171
|
-
* planType: "09",
|
|
172
|
-
* insuranceType: "01",
|
|
173
|
-
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
129
|
+
* payerId: "string"
|
|
174
130
|
* },
|
|
175
131
|
* patientRelationshipToSubscriberCode: "01",
|
|
176
|
-
* dateOfBirth: "2023-01-15",
|
|
177
|
-
* address: {
|
|
178
|
-
* address1: "123 Main St",
|
|
179
|
-
* address2: "Apt 1",
|
|
180
|
-
* city: "New York",
|
|
181
|
-
* state: "NY",
|
|
182
|
-
* zipCode: "10001",
|
|
183
|
-
* zipPlusFourCode: "1234"
|
|
184
|
-
* },
|
|
185
132
|
* firstName: "string",
|
|
186
133
|
* lastName: "string",
|
|
187
134
|
* gender: "male"
|
|
@@ -190,28 +137,9 @@ import * as CandidApi from "../../../../../../index";
|
|
|
190
137
|
* insuranceCard: {
|
|
191
138
|
* memberId: "string",
|
|
192
139
|
* payerName: "string",
|
|
193
|
-
* payerId: "string"
|
|
194
|
-
* rxBin: "string",
|
|
195
|
-
* rxPcn: "string",
|
|
196
|
-
* imageUrlFront: "string",
|
|
197
|
-
* imageUrlBack: "string",
|
|
198
|
-
* emrPayerCrosswalk: "HEALTHIE",
|
|
199
|
-
* groupNumber: "string",
|
|
200
|
-
* planName: "string",
|
|
201
|
-
* planType: "09",
|
|
202
|
-
* insuranceType: "01",
|
|
203
|
-
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
140
|
+
* payerId: "string"
|
|
204
141
|
* },
|
|
205
142
|
* patientRelationshipToSubscriberCode: "01",
|
|
206
|
-
* dateOfBirth: "2023-01-15",
|
|
207
|
-
* address: {
|
|
208
|
-
* address1: "123 Main St",
|
|
209
|
-
* address2: "Apt 1",
|
|
210
|
-
* city: "New York",
|
|
211
|
-
* state: "NY",
|
|
212
|
-
* zipCode: "10001",
|
|
213
|
-
* zipPlusFourCode: "1234"
|
|
214
|
-
* },
|
|
215
143
|
* firstName: "string",
|
|
216
144
|
* lastName: "string",
|
|
217
145
|
* gender: "male"
|
|
@@ -300,9 +228,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
300
228
|
* }],
|
|
301
229
|
* referralNumber: "string",
|
|
302
230
|
* epsdtReferral: {
|
|
303
|
-
* conditionIndicator1: "AV"
|
|
304
|
-
* conditionIndicator2: "AV",
|
|
305
|
-
* conditionIndicator3: "AV"
|
|
231
|
+
* conditionIndicator1: "AV"
|
|
306
232
|
* },
|
|
307
233
|
* claimSupplementalInformation: [{
|
|
308
234
|
* attachmentReportTypeCode: "03",
|
|
@@ -6,7 +6,103 @@ import * as CandidApi from "../../../../../../index";
|
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
8
|
* diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
9
|
-
* placeOfServiceCodeAsSubmitted: "01"
|
|
9
|
+
* placeOfServiceCodeAsSubmitted: "01",
|
|
10
|
+
* benefitsAssignedToProvider: true,
|
|
11
|
+
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
12
|
+
* externalId: CandidApi.EncounterExternalId("string"),
|
|
13
|
+
* dateOfService: "2023-01-15",
|
|
14
|
+
* tagIds: [],
|
|
15
|
+
* clinicalNotes: [],
|
|
16
|
+
* payToAddress: {
|
|
17
|
+
* address1: "123 Main St",
|
|
18
|
+
* address2: "Apt 1",
|
|
19
|
+
* city: "New York",
|
|
20
|
+
* state: "NY",
|
|
21
|
+
* zipCode: "10001",
|
|
22
|
+
* zipPlusFourCode: "1234"
|
|
23
|
+
* },
|
|
24
|
+
* billableStatus: "BILLABLE",
|
|
25
|
+
* responsibleParty: "INSURANCE_PAY",
|
|
26
|
+
* providerAcceptsAssignment: true,
|
|
27
|
+
* synchronicity: "Synchronous",
|
|
28
|
+
* placeOfServiceCode: "01",
|
|
29
|
+
* appointmentType: "string",
|
|
30
|
+
* endDateOfService: "2023-01-15",
|
|
31
|
+
* subscriberPrimary: {
|
|
32
|
+
* insuranceCard: {
|
|
33
|
+
* memberId: "string",
|
|
34
|
+
* payerName: "string",
|
|
35
|
+
* payerId: "string"
|
|
36
|
+
* },
|
|
37
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
38
|
+
* firstName: "string",
|
|
39
|
+
* lastName: "string",
|
|
40
|
+
* gender: "male"
|
|
41
|
+
* },
|
|
42
|
+
* subscriberSecondary: {
|
|
43
|
+
* insuranceCard: {
|
|
44
|
+
* memberId: "string",
|
|
45
|
+
* payerName: "string",
|
|
46
|
+
* payerId: "string"
|
|
47
|
+
* },
|
|
48
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
49
|
+
* firstName: "string",
|
|
50
|
+
* lastName: "string",
|
|
51
|
+
* gender: "male"
|
|
52
|
+
* },
|
|
53
|
+
* subscriberTertiary: {
|
|
54
|
+
* insuranceCard: {
|
|
55
|
+
* memberId: "string",
|
|
56
|
+
* payerName: "string",
|
|
57
|
+
* payerId: "string"
|
|
58
|
+
* },
|
|
59
|
+
* patientRelationshipToSubscriberCode: "01",
|
|
60
|
+
* firstName: "string",
|
|
61
|
+
* lastName: "string",
|
|
62
|
+
* gender: "male"
|
|
63
|
+
* },
|
|
64
|
+
* additionalInformation: "string",
|
|
65
|
+
* serviceAuthorizationExceptionCode: "1",
|
|
66
|
+
* admissionDate: "2023-01-15",
|
|
67
|
+
* dischargeDate: "2023-01-15",
|
|
68
|
+
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
69
|
+
* lastMenstrualPeriodDate: "2023-01-15",
|
|
70
|
+
* delayReasonCode: "1",
|
|
71
|
+
* patient: {},
|
|
72
|
+
* patientAuthorizedRelease: true,
|
|
73
|
+
* schemaInstances: [],
|
|
74
|
+
* vitals: {
|
|
75
|
+
* heightIn: 70,
|
|
76
|
+
* weightLbs: 165,
|
|
77
|
+
* bloodPressureSystolicMmhg: 115,
|
|
78
|
+
* bloodPressureDiastolicMmhg: 85,
|
|
79
|
+
* bodyTemperatureF: 98,
|
|
80
|
+
* hemoglobinGdl: 15.1,
|
|
81
|
+
* hematocritPct: 51.2
|
|
82
|
+
* },
|
|
83
|
+
* existingMedications: [],
|
|
84
|
+
* renderingProvider: {},
|
|
85
|
+
* serviceFacility: {
|
|
86
|
+
* organizationName: "Test Organization",
|
|
87
|
+
* address: {
|
|
88
|
+
* address1: "123 Main St",
|
|
89
|
+
* address2: "Apt 1",
|
|
90
|
+
* city: "New York",
|
|
91
|
+
* state: "NY",
|
|
92
|
+
* zipCode: "10001",
|
|
93
|
+
* zipPlusFourCode: "1234"
|
|
94
|
+
* }
|
|
95
|
+
* },
|
|
96
|
+
* guarantor: {},
|
|
97
|
+
* billingProvider: {},
|
|
98
|
+
* supervisingProvider: {},
|
|
99
|
+
* referringProvider: {},
|
|
100
|
+
* initialReferringProvider: {},
|
|
101
|
+
* referralNumber: "string",
|
|
102
|
+
* epsdtReferral: {
|
|
103
|
+
* conditionIndicator1: "AV"
|
|
104
|
+
* },
|
|
105
|
+
* claimSupplementalInformation: []
|
|
10
106
|
* }
|
|
11
107
|
*/
|
|
12
108
|
export interface EncounterUpdate extends CandidApi.encounters.v4.EncounterOptional {
|
|
@@ -84,7 +84,7 @@ class V1 {
|
|
|
84
84
|
const _response = yield core.fetcher({
|
|
85
85
|
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/expected-network-status/v1"),
|
|
86
86
|
method: "POST",
|
|
87
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
87
|
+
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),
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
requestType: "json",
|
|
90
90
|
body: serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -101,7 +101,7 @@ class V2 {
|
|
|
101
101
|
const _response = yield core.fetcher({
|
|
102
102
|
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/expected-network-status/v2/compute/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(renderingProviderId))}`),
|
|
103
103
|
method: "POST",
|
|
104
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
104
|
+
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),
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
requestType: "json",
|
|
107
107
|
body: serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
|
|
@@ -186,7 +186,7 @@ class V2 {
|
|
|
186
186
|
const _response = yield core.fetcher({
|
|
187
187
|
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/expected-network-status/v2/compute"),
|
|
188
188
|
method: "POST",
|
|
189
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
189
|
+
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),
|
|
190
190
|
contentType: "application/json",
|
|
191
191
|
requestType: "json",
|
|
192
192
|
body: serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
|