candidhealth 0.10.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claims/types/Claim.d.ts +1 -37
- package/api/resources/commons/types/SortDirection.d.ts +12 -0
- package/api/resources/commons/types/SortDirection.js +10 -0
- package/api/resources/commons/types/TaxId.d.ts +8 -0
- package/api/resources/{jobs/resources/v1/types/JobId.js → commons/types/TaxId.js} +3 -3
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +5 -4
- package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +36 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +6 -37
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +6 -37
- package/api/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +6 -0
- package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
- package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/index.js +2 -0
- 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/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/index.d.ts +1 -4
- package/api/resources/index.js +2 -5
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +4 -1
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -1
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -2
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +3 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
- package/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
- package/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +66 -4
- package/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +22 -0
- package/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +47 -0
- package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +2 -0
- package/api/resources/insuranceRefunds/resources/v1/client/index.js +6 -1
- package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +23 -0
- package/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/insuranceRefunds/resources/v1/client/requests/index.js +2 -0
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +12 -0
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +7 -0
- package/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
- package/api/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
- 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.d.ts +6 -0
- package/api/resources/patientPayments/resources/v4/client/Client.js +79 -4
- package/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
- package/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
- package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/client/index.js +2 -1
- package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +25 -0
- package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
- package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
- package/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
- package/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
- package/api/resources/patientPayments/resources/v4/types/index.js +2 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.js +79 -4
- package/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
- package/{dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js → api/resources/patientRefunds/resources/v1/client/getMulti.js} +19 -3
- package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
- package/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
- package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +25 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
- package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
- package/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
- package/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
- package/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
- package/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
- package/api/resources/remits/resources/v1/types/index.d.ts +2 -0
- package/api/resources/remits/resources/v1/types/index.js +18 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +6 -0
- package/api/resources/writeOffs/resources/v1/client/Client.js +60 -4
- package/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
- package/{serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js → api/resources/writeOffs/resources/v1/client/getMulti.js} +19 -3
- package/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
- package/api/resources/writeOffs/resources/v1/client/index.js +2 -1
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
- package/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
- package/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
- package/api/resources/writeOffs/resources/v1/types/index.js +2 -0
- package/api/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/api/resources/x12/resources/v1/types/index.js +2 -0
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/claims/types/Claim.d.ts +1 -37
- package/dist/api/resources/commons/types/SortDirection.d.ts +12 -0
- package/dist/api/resources/commons/types/SortDirection.js +10 -0
- package/dist/api/resources/commons/types/TaxId.d.ts +8 -0
- package/dist/api/resources/{jobs/resources/v1/types/JobId.js → commons/types/TaxId.js} +3 -3
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -4
- package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +36 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +6 -37
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +6 -37
- package/dist/api/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +6 -0
- package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
- package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +2 -0
- 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/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +1 -4
- package/dist/api/resources/index.js +2 -5
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +4 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +3 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +66 -4
- package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +22 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +47 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +2 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +6 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +23 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +12 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +7 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
- 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.d.ts +6 -0
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +79 -4
- package/dist/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
- package/dist/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
- package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/client/index.js +2 -1
- package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +25 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
- package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
- package/dist/api/resources/patientPayments/resources/v4/types/index.js +2 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +79 -4
- package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.js +47 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +25 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
- package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
- package/dist/api/resources/remits/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/remits/resources/v1/types/index.js +18 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +6 -0
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +60 -4
- package/dist/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
- package/dist/{serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js → api/resources/writeOffs/resources/v1/client/getMulti.js} +19 -3
- package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/writeOffs/resources/v1/client/index.js +2 -1
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
- package/dist/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.js +2 -0
- package/dist/api/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/x12/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/claims/types/Claim.d.ts +0 -1
- package/dist/serialization/resources/claims/types/Claim.js +0 -1
- package/{serialization/resources/claimActionsCommons/types/VoidClaimAction.d.ts → dist/serialization/resources/commons/types/SortDirection.d.ts} +3 -4
- package/{serialization/resources/claimActionsCommons/types/VoidClaimAction.js → dist/serialization/resources/commons/types/SortDirection.js} +2 -2
- package/dist/serialization/resources/{claimActionsCommons/types/VoidClaimAction.d.ts → commons/types/TaxId.d.ts} +3 -4
- package/{serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js → dist/serialization/resources/commons/types/TaxId.js} +7 -3
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +5 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.js +5 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +12 -0
- package/dist/serialization/resources/{users/resources/v2/types/GoogleAppsMetadata.js → encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js} +3 -3
- package/dist/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
- package/dist/serialization/resources/{jobs/resources/v1/types/JobStatus.js → encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js} +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +2 -0
- package/dist/serialization/resources/index.d.ts +1 -4
- package/dist/serialization/resources/index.js +2 -5
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +4 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +4 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +3 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +3 -3
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +3 -3
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +2 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +31 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +12 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js +35 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +31 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
- package/dist/serialization/resources/{users/resources/v2/types/AuthZeroMetadata.js → patientRefunds/resources/v1/types/PatientRefundSortField.js} +2 -4
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
- package/dist/serialization/resources/{jobs/resources/v1/types/JobId.js → patientRefunds/resources/v1/types/PatientRefundsPage.js} +6 -6
- package/dist/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
- package/dist/serialization/resources/{users/resources/v2/types/HumanUserMetadata.js → remits/resources/v1/types/Payee.js} +4 -4
- package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
- package/dist/serialization/resources/{users/resources/v2/types/UserMetadata.js → remits/resources/v1/types/PayeeIdentifier.js} +11 -4
- package/dist/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/remits/resources/v1/types/index.js +18 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
- package/{serialization/resources/jobs/resources/v1/types/JobStatus.js → dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js} +2 -2
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
- package/{serialization/resources/jobs/resources/v1/types/JobMetadata.js → dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js} +5 -8
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
- package/{serialization/resources/insuranceAdjudications → dist/serialization/resources/x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.js +2 -0
- package/package.json +1 -1
- package/serialization/resources/claims/types/Claim.d.ts +0 -1
- package/serialization/resources/claims/types/Claim.js +0 -1
- package/serialization/resources/commons/types/SortDirection.d.ts +10 -0
- package/{dist/serialization/resources/claimActionsCommons/types/VoidClaimAction.js → serialization/resources/commons/types/SortDirection.js} +2 -2
- package/serialization/resources/commons/types/TaxId.d.ts +10 -0
- package/{dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js → serialization/resources/commons/types/TaxId.js} +7 -3
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/encounters/resources/v4/client/create.d.ts +5 -1
- package/serialization/resources/encounters/resources/v4/client/create.js +5 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +12 -0
- package/{dist/serialization/resources/jobs/resources/v1/types/JobGroupId.js → serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js} +3 -5
- package/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
- package/{dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.js → serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js} +2 -4
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +2 -0
- package/serialization/resources/index.d.ts +1 -4
- package/serialization/resources/index.js +2 -5
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +4 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +4 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +3 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +3 -3
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +3 -3
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +2 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +31 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +12 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js +35 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +31 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
- package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
- package/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +31 -0
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +35 -0
- package/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
- package/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
- package/serialization/resources/{users/resources/v2/types/HumanUserMetadata.js → remits/resources/v1/types/Payee.js} +4 -4
- package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
- package/serialization/resources/{users/resources/v2/types/UserMetadata.js → remits/resources/v1/types/PayeeIdentifier.js} +11 -4
- package/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/remits/resources/v1/types/index.js +18 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
- package/serialization/resources/{users/resources/v2/types/MachineUserMetadata.js → writeOffs/resources/v1/types/WriteOffSortField.js} +2 -4
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
- package/{dist/serialization/resources/jobs/resources/v1/types/JobMetadata.js → serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js} +5 -8
- package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.js +2 -0
- package/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
- package/{dist/serialization/resources/insuranceAdjudications → serialization/resources/x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/x12/resources/v1/types/index.js +2 -0
- package/api/resources/claimActionsCommons/types/ClaimAction.d.ts +0 -30
- package/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +0 -23
- package/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +0 -8
- package/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +0 -21
- package/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +0 -21
- package/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +0 -14
- package/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +0 -8
- package/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +0 -8
- package/api/resources/claimActionsCommons/types/index.d.ts +0 -8
- package/api/resources/claimActionsCommons/types/index.js +0 -24
- package/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +0 -29
- package/api/resources/jobs/resources/v1/types/Job.d.ts +0 -53
- package/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +0 -8
- package/api/resources/jobs/resources/v1/types/JobGroupId.js +0 -10
- package/api/resources/jobs/resources/v1/types/JobId.d.ts +0 -8
- package/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +0 -30
- package/api/resources/jobs/resources/v1/types/JobStatus.d.ts +0 -16
- package/api/resources/jobs/resources/v1/types/JobStatus.js +0 -12
- package/api/resources/jobs/resources/v1/types/index.d.ts +0 -6
- package/api/resources/jobs/resources/v1/types/index.js +0 -22
- package/api/resources/users/resources/index.d.ts +0 -1
- package/api/resources/users/resources/index.js +0 -27
- package/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
- package/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -6
- package/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -14
- package/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -23
- package/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -6
- package/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -6
- package/api/resources/users/resources/v2/types/UserMetadata.d.ts +0 -21
- package/api/resources/users/resources/v2/types/UserV2.d.ts +0 -28
- package/api/resources/users/resources/v2/types/index.d.ts +0 -8
- package/api/resources/users/resources/v2/types/index.js +0 -24
- package/dist/api/resources/claimActionsCommons/types/ClaimAction.d.ts +0 -30
- package/dist/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +0 -23
- package/dist/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +0 -8
- package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +0 -21
- package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.js +0 -5
- package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +0 -21
- package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +0 -5
- package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +0 -14
- package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +0 -5
- package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +0 -8
- package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +0 -5
- package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +0 -8
- package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.js +0 -5
- package/dist/api/resources/claimActionsCommons/types/index.d.ts +0 -8
- package/dist/api/resources/claimActionsCommons/types/index.js +0 -24
- package/dist/api/resources/jobs/resources/v1/index.d.ts +0 -1
- package/dist/api/resources/jobs/resources/v1/index.js +0 -17
- package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +0 -29
- package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.js +0 -5
- package/dist/api/resources/jobs/resources/v1/types/Job.d.ts +0 -53
- package/dist/api/resources/jobs/resources/v1/types/Job.js +0 -5
- package/dist/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +0 -8
- package/dist/api/resources/jobs/resources/v1/types/JobGroupId.js +0 -10
- package/dist/api/resources/jobs/resources/v1/types/JobId.d.ts +0 -8
- package/dist/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +0 -30
- package/dist/api/resources/jobs/resources/v1/types/JobMetadata.js +0 -5
- package/dist/api/resources/jobs/resources/v1/types/JobStatus.d.ts +0 -16
- package/dist/api/resources/jobs/resources/v1/types/JobStatus.js +0 -12
- package/dist/api/resources/jobs/resources/v1/types/index.d.ts +0 -6
- package/dist/api/resources/jobs/resources/v1/types/index.js +0 -22
- package/dist/api/resources/users/resources/index.d.ts +0 -1
- package/dist/api/resources/users/resources/index.js +0 -27
- package/dist/api/resources/users/resources/v2/index.d.ts +0 -1
- package/dist/api/resources/users/resources/v2/index.js +0 -17
- package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
- package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -6
- package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -14
- package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -23
- package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -6
- package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -6
- package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/UserMetadata.d.ts +0 -21
- package/dist/api/resources/users/resources/v2/types/UserMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +0 -28
- package/dist/api/resources/users/resources/v2/types/UserV2.js +0 -5
- package/dist/api/resources/users/resources/v2/types/index.d.ts +0 -8
- package/dist/api/resources/users/resources/v2/types/index.js +0 -24
- package/dist/serialization/resources/claimActionsCommons/index.d.ts +0 -1
- package/dist/serialization/resources/claimActionsCommons/index.js +0 -17
- package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +0 -25
- package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.js +0 -42
- package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +0 -16
- package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +0 -37
- package/dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +0 -11
- package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +0 -16
- package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +0 -37
- package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +0 -13
- package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +0 -34
- package/dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +0 -12
- package/dist/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +0 -11
- package/dist/serialization/resources/claimActionsCommons/types/index.d.ts +0 -8
- package/dist/serialization/resources/claimActionsCommons/types/index.js +0 -24
- package/dist/serialization/resources/jobs/index.d.ts +0 -1
- package/dist/serialization/resources/jobs/index.js +0 -17
- package/dist/serialization/resources/jobs/resources/v1/index.d.ts +0 -1
- package/dist/serialization/resources/jobs/resources/v1/index.js +0 -17
- package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +0 -15
- package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +0 -36
- package/dist/serialization/resources/jobs/resources/v1/types/Job.d.ts +0 -18
- package/dist/serialization/resources/jobs/resources/v1/types/Job.js +0 -39
- package/dist/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +0 -10
- package/dist/serialization/resources/jobs/resources/v1/types/JobId.d.ts +0 -10
- package/dist/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +0 -13
- package/dist/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +0 -10
- package/dist/serialization/resources/jobs/resources/v1/types/index.d.ts +0 -6
- package/dist/serialization/resources/jobs/resources/v1/types/index.js +0 -22
- package/dist/serialization/resources/users/index.d.ts +0 -1
- package/dist/serialization/resources/users/index.js +0 -17
- package/dist/serialization/resources/users/resources/index.d.ts +0 -1
- package/dist/serialization/resources/users/resources/index.js +0 -27
- package/dist/serialization/resources/users/resources/v2/index.d.ts +0 -1
- package/dist/serialization/resources/users/resources/v2/index.js +0 -17
- package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
- package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -12
- package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -13
- package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -19
- package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +0 -40
- package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -12
- package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -12
- package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -33
- package/dist/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +0 -16
- package/dist/serialization/resources/users/resources/v2/types/UserV2.d.ts +0 -16
- package/dist/serialization/resources/users/resources/v2/types/UserV2.js +0 -37
- package/dist/serialization/resources/users/resources/v2/types/index.d.ts +0 -8
- package/dist/serialization/resources/users/resources/v2/types/index.js +0 -24
- package/serialization/resources/claimActionsCommons/index.d.ts +0 -1
- package/serialization/resources/claimActionsCommons/index.js +0 -17
- package/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +0 -25
- package/serialization/resources/claimActionsCommons/types/ClaimAction.js +0 -42
- package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +0 -16
- package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +0 -37
- package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +0 -11
- package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +0 -31
- package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +0 -16
- package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +0 -37
- package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +0 -13
- package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +0 -34
- package/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +0 -12
- package/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +0 -11
- package/serialization/resources/claimActionsCommons/types/index.d.ts +0 -8
- package/serialization/resources/claimActionsCommons/types/index.js +0 -24
- package/serialization/resources/jobs/index.d.ts +0 -1
- package/serialization/resources/jobs/index.js +0 -17
- package/serialization/resources/jobs/resources/v1/index.d.ts +0 -1
- package/serialization/resources/jobs/resources/v1/index.js +0 -17
- package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +0 -15
- package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +0 -36
- package/serialization/resources/jobs/resources/v1/types/Job.d.ts +0 -18
- package/serialization/resources/jobs/resources/v1/types/Job.js +0 -39
- package/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +0 -10
- package/serialization/resources/jobs/resources/v1/types/JobGroupId.js +0 -35
- package/serialization/resources/jobs/resources/v1/types/JobId.d.ts +0 -10
- package/serialization/resources/jobs/resources/v1/types/JobId.js +0 -35
- package/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +0 -13
- package/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +0 -10
- package/serialization/resources/jobs/resources/v1/types/index.d.ts +0 -6
- package/serialization/resources/jobs/resources/v1/types/index.js +0 -22
- package/serialization/resources/users/index.d.ts +0 -1
- package/serialization/resources/users/index.js +0 -17
- package/serialization/resources/users/resources/index.d.ts +0 -1
- package/serialization/resources/users/resources/index.js +0 -27
- package/serialization/resources/users/resources/v2/index.d.ts +0 -1
- package/serialization/resources/users/resources/v2/index.js +0 -17
- package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
- package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +0 -33
- package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -12
- package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +0 -33
- package/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -13
- package/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -19
- package/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +0 -40
- package/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -12
- package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -12
- package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -33
- package/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +0 -16
- package/serialization/resources/users/resources/v2/types/UserV2.d.ts +0 -16
- package/serialization/resources/users/resources/v2/types/UserV2.js +0 -37
- package/serialization/resources/users/resources/v2/types/index.d.ts +0 -8
- package/serialization/resources/users/resources/v2/types/index.js +0 -24
- /package/api/resources/{claimActionsCommons/types/ClaimAction.js → encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js} +0 -0
- /package/api/resources/{claimActionsCommons/types/ClaimActionMetadata.js → insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.js} +0 -0
- /package/api/resources/{claimActionsCommons/types/CloseTasksAndProcessClaimAction.js → insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js} +0 -0
- /package/api/resources/{claimActionsCommons/types/CreateTaskConfig.js → patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js} +0 -0
- /package/api/resources/{claimActionsCommons/types/MoveToWorkQueueClaimAction.js → patientPayments/resources/v4/types/PatientPaymentsPage.js} +0 -0
- /package/api/resources/{claimActionsCommons/types/ResubmitCorrectedClaimAction.js → patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js} +0 -0
- /package/api/resources/{claimActionsCommons/types/ResubmitFreshClaimAction.js → patientRefunds/resources/v1/types/PatientRefundsPage.js} +0 -0
- /package/api/resources/{jobs → remits}/index.d.ts +0 -0
- /package/api/resources/{jobs → remits}/index.js +0 -0
- /package/api/resources/{jobs → remits}/resources/index.d.ts +0 -0
- /package/api/resources/{jobs → remits}/resources/index.js +0 -0
- /package/api/resources/{claimActionsCommons → remits/resources/v1}/index.d.ts +0 -0
- /package/api/resources/{claimActionsCommons → remits/resources/v1}/index.js +0 -0
- /package/api/resources/{claimActionsCommons/types/VoidClaimAction.js → remits/resources/v1/types/Payee.js} +0 -0
- /package/api/resources/{insuranceAdjudications/resources/v1/types/ClaimAdjustmentReasonCode.js → remits/resources/v1/types/PayeeIdentifier.js} +0 -0
- /package/api/resources/{insuranceAdjudications/resources/v1/types/RemittanceAdviceRemarkCode.js → writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js} +0 -0
- /package/api/resources/{jobs/resources/v1/types/ClaimJobMetadata.js → writeOffs/resources/v1/types/WriteOffsPage.js} +0 -0
- /package/api/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
- /package/{dist/api/resources/insuranceAdjudications → api/resources/x12}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
- /package/api/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
- /package/{dist/api/resources/insuranceAdjudications → api/resources/x12}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
- /package/{api/resources/jobs/resources/v1/types/Job.js → dist/api/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js} +0 -0
- /package/{api/resources/jobs/resources/v1/types/JobMetadata.js → dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.js} +0 -0
- /package/{api/resources/users/resources/v2/types/AuthZeroMetadata.js → dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js} +0 -0
- /package/{api/resources/users/resources/v2/types/GoogleAppsMetadata.js → dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js} +0 -0
- /package/{api/resources/users/resources/v2/types/HumanUserMetadata.js → dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js} +0 -0
- /package/{api/resources/users/resources/v2/types/IdpUserMetadata.js → dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js} +0 -0
- /package/{api/resources/users/resources/v2/types/MachineUserMetadata.js → dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js} +0 -0
- /package/{api/resources/users → dist/api/resources/remits}/index.d.ts +0 -0
- /package/{api/resources/users → dist/api/resources/remits}/index.js +0 -0
- /package/dist/api/resources/{jobs → remits}/resources/index.d.ts +0 -0
- /package/dist/api/resources/{jobs → remits}/resources/index.js +0 -0
- /package/{api/resources/jobs → dist/api/resources/remits}/resources/v1/index.d.ts +0 -0
- /package/{api/resources/jobs → dist/api/resources/remits}/resources/v1/index.js +0 -0
- /package/{api/resources/users/resources/v2/types/OtherIdpMetadata.js → dist/api/resources/remits/resources/v1/types/Payee.js} +0 -0
- /package/{api/resources/users/resources/v2/types/UserMetadata.js → dist/api/resources/remits/resources/v1/types/PayeeIdentifier.js} +0 -0
- /package/{api/resources/users/resources/v2/types/UserV2.js → dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js} +0 -0
- /package/dist/api/resources/{claimActionsCommons/types/ClaimAction.js → writeOffs/resources/v1/types/WriteOffsPage.js} +0 -0
- /package/dist/api/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
- /package/dist/api/resources/{claimActionsCommons/types/ClaimActionMetadata.js → x12/resources/v1/types/ClaimAdjustmentReasonCode.js} +0 -0
- /package/dist/api/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
- /package/dist/api/resources/{claimActionsCommons/types/CloseTasksAndProcessClaimAction.js → x12/resources/v1/types/RemittanceAdviceRemarkCode.js} +0 -0
- /package/dist/{api/resources/jobs → serialization/resources/remits}/index.d.ts +0 -0
- /package/dist/{api/resources/jobs → serialization/resources/remits}/index.js +0 -0
- /package/dist/serialization/resources/{jobs → remits}/resources/index.d.ts +0 -0
- /package/dist/serialization/resources/{jobs → remits}/resources/index.js +0 -0
- /package/{api/resources/users/resources/v2 → dist/serialization/resources/remits/resources/v1}/index.d.ts +0 -0
- /package/{api/resources/users/resources/v2 → dist/serialization/resources/remits/resources/v1}/index.js +0 -0
- /package/dist/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
- /package/dist/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
- /package/{dist/api/resources/users → serialization/resources/remits}/index.d.ts +0 -0
- /package/{dist/api/resources/users → serialization/resources/remits}/index.js +0 -0
- /package/serialization/resources/{jobs → remits}/resources/index.d.ts +0 -0
- /package/serialization/resources/{jobs → remits}/resources/index.js +0 -0
- /package/{dist/api/resources/claimActionsCommons → serialization/resources/remits/resources/v1}/index.d.ts +0 -0
- /package/{dist/api/resources/claimActionsCommons → serialization/resources/remits/resources/v1}/index.js +0 -0
- /package/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
- /package/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
## candid-node: A [Candid Health](https://joincandidhealth.com) TypeScript client
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/candidhealth)
|
|
4
|
+
[](https://buildwithfern.com/?utm_source=candidhealth/candid-node/readme)
|
|
4
5
|
|
|
5
6
|
### Installation
|
|
6
7
|
|
|
@@ -62,7 +62,7 @@ class V2 {
|
|
|
62
62
|
Authorization: await this._getAuthorizationHeader(),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "candidhealth",
|
|
65
|
-
"X-Fern-SDK-Version": "0.
|
|
65
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
|
|
@@ -48,7 +48,7 @@ class V2 {
|
|
|
48
48
|
Authorization: await this._getAuthorizationHeader(),
|
|
49
49
|
"X-Fern-Language": "JavaScript",
|
|
50
50
|
"X-Fern-SDK-Name": "candidhealth",
|
|
51
|
-
"X-Fern-SDK-Version": "0.
|
|
51
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -75,42 +75,7 @@ import * as CandidApi from "../../..";
|
|
|
75
75
|
* eraId: CandidApi.EraId("4D844EF1-2253-43CD-A4F1-6DB7E65CB54B"),
|
|
76
76
|
* checkNumber: "CHK12345",
|
|
77
77
|
* checkDate: CandidApi.Date_("2023-10-12")
|
|
78
|
-
* }]
|
|
79
|
-
* activeJob: {
|
|
80
|
-
* jobId: CandidApi.jobs.v1.JobId("1503a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
81
|
-
* status: CandidApi.jobs.v1.JobStatus.Queued,
|
|
82
|
-
* summary: "Resubmitting claim",
|
|
83
|
-
* creatorUser: {
|
|
84
|
-
* userId: CandidApi.UserId("1503a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
85
|
-
* idpMetadata: [{
|
|
86
|
-
* type: "auth_zero_metadata",
|
|
87
|
-
* auth0Id: "auth0|5f9b3b5a7b0b0d006a2b0b0b"
|
|
88
|
-
* }],
|
|
89
|
-
* primaryOrganizationId: CandidApi.OrganizationId("83a2a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
90
|
-
* userMetadata: {
|
|
91
|
-
* type: "human_user_metadata",
|
|
92
|
-
* firstName: "John",
|
|
93
|
-
* lastName: "Doe"
|
|
94
|
-
* },
|
|
95
|
-
* accessibleOrganizationIds: [CandidApi.OrganizationId("83a2a782-35f6-45a7-b5c3-53ca2ebe8887")]
|
|
96
|
-
* },
|
|
97
|
-
* jobMetadata: {
|
|
98
|
-
* type: "claim_job_metadata",
|
|
99
|
-
* action: {
|
|
100
|
-
* type: "resubmit_fresh_claim_action"
|
|
101
|
-
* },
|
|
102
|
-
* workQueueId: CandidApi.WorkQueueId("1503a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
103
|
-
* claimId: CandidApi.ClaimId("92215dff-4a79-4dd7-af02-59c16f99cdba"),
|
|
104
|
-
* claimMetadata: {
|
|
105
|
-
* encounterId: CandidApi.EncounterId("2132a68b-7acb-46c2-ba93-852b5daa1f98"),
|
|
106
|
-
* patientFirstName: "John",
|
|
107
|
-
* patientLastName: "Doe",
|
|
108
|
-
* dateOfService: "2021-01-01",
|
|
109
|
-
* claimStatus: CandidApi.ClaimStatus.Paid
|
|
110
|
-
* }
|
|
111
|
-
* },
|
|
112
|
-
* createdAt: new Date("2021-01-01T00:00:00.000Z")
|
|
113
|
-
* }
|
|
78
|
+
* }]
|
|
114
79
|
* }
|
|
115
80
|
*/
|
|
116
81
|
export interface Claim {
|
|
@@ -121,5 +86,4 @@ export interface Claim {
|
|
|
121
86
|
payerClaimId?: string;
|
|
122
87
|
serviceLines: CandidApi.serviceLines.v2.ServiceLine[];
|
|
123
88
|
eras: CandidApi.Era[];
|
|
124
|
-
activeJob?: CandidApi.jobs.v1.Job;
|
|
125
89
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* CandidApi.SortDirection.Asc
|
|
7
|
+
*/
|
|
8
|
+
export declare type SortDirection = "asc" | "desc";
|
|
9
|
+
export declare const SortDirection: {
|
|
10
|
+
readonly Asc: "asc";
|
|
11
|
+
readonly Desc: "desc";
|
|
12
|
+
};
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
function
|
|
6
|
+
exports.TaxId = void 0;
|
|
7
|
+
function TaxId(value) {
|
|
8
8
|
return value;
|
|
9
9
|
}
|
|
10
|
-
exports.
|
|
10
|
+
exports.TaxId = TaxId;
|
|
@@ -5,6 +5,7 @@ export * from "./ServiceLineId";
|
|
|
5
5
|
export * from "./PatientExternalId";
|
|
6
6
|
export * from "./EncounterExternalId";
|
|
7
7
|
export * from "./Npi";
|
|
8
|
+
export * from "./TaxId";
|
|
8
9
|
export * from "./WorkQueueId";
|
|
9
10
|
export * from "./UserId";
|
|
10
11
|
export * from "./TaskId";
|
|
@@ -14,6 +15,7 @@ export * from "./ProviderId";
|
|
|
14
15
|
export * from "./InvoiceId";
|
|
15
16
|
export * from "./LinkUrl";
|
|
16
17
|
export * from "./PageToken";
|
|
18
|
+
export * from "./SortDirection";
|
|
17
19
|
export * from "./Date_";
|
|
18
20
|
export * from "./DateRangeOptionalEnd";
|
|
19
21
|
export * from "./Decimal";
|
|
@@ -21,6 +21,7 @@ __exportStar(require("./ServiceLineId"), exports);
|
|
|
21
21
|
__exportStar(require("./PatientExternalId"), exports);
|
|
22
22
|
__exportStar(require("./EncounterExternalId"), exports);
|
|
23
23
|
__exportStar(require("./Npi"), exports);
|
|
24
|
+
__exportStar(require("./TaxId"), exports);
|
|
24
25
|
__exportStar(require("./WorkQueueId"), exports);
|
|
25
26
|
__exportStar(require("./UserId"), exports);
|
|
26
27
|
__exportStar(require("./TaskId"), exports);
|
|
@@ -30,6 +31,7 @@ __exportStar(require("./ProviderId"), exports);
|
|
|
30
31
|
__exportStar(require("./InvoiceId"), exports);
|
|
31
32
|
__exportStar(require("./LinkUrl"), exports);
|
|
32
33
|
__exportStar(require("./PageToken"), exports);
|
|
34
|
+
__exportStar(require("./SortDirection"), exports);
|
|
33
35
|
__exportStar(require("./Date_"), exports);
|
|
34
36
|
__exportStar(require("./DateRangeOptionalEnd"), exports);
|
|
35
37
|
__exportStar(require("./Decimal"), exports);
|
|
@@ -65,7 +65,7 @@ class V2 {
|
|
|
65
65
|
Authorization: await this._getAuthorizationHeader(),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "candidhealth",
|
|
68
|
-
"X-Fern-SDK-Version": "0.
|
|
68
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
body: request,
|
|
@@ -103,7 +103,7 @@ class V4 {
|
|
|
103
103
|
Authorization: await this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
106
|
-
"X-Fern-SDK-Version": "0.
|
|
106
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
queryParameters: _queryParams,
|
|
@@ -133,7 +133,7 @@ class V4 {
|
|
|
133
133
|
Authorization: await this._getAuthorizationHeader(),
|
|
134
134
|
"X-Fern-Language": "JavaScript",
|
|
135
135
|
"X-Fern-SDK-Name": "candidhealth",
|
|
136
|
-
"X-Fern-SDK-Version": "0.
|
|
136
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
137
137
|
},
|
|
138
138
|
contentType: "application/json",
|
|
139
139
|
timeoutMs: 60000,
|
|
@@ -162,7 +162,7 @@ class V4 {
|
|
|
162
162
|
Authorization: await this._getAuthorizationHeader(),
|
|
163
163
|
"X-Fern-Language": "JavaScript",
|
|
164
164
|
"X-Fern-SDK-Name": "candidhealth",
|
|
165
|
-
"X-Fern-SDK-Version": "0.
|
|
165
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
|
|
@@ -184,6 +184,7 @@ class V4 {
|
|
|
184
184
|
if (_response.error.reason === "status-code") {
|
|
185
185
|
switch (_response.error.body?.errorName) {
|
|
186
186
|
case "EncounterExternalIdUniquenessError":
|
|
187
|
+
case "EncounterPatientControlNumberUniquenessError":
|
|
187
188
|
case "EntityNotFoundError":
|
|
188
189
|
case "EncounterGuarantorMissingContactInfoError":
|
|
189
190
|
case "HttpRequestValidationsError":
|
|
@@ -212,7 +213,7 @@ class V4 {
|
|
|
212
213
|
Authorization: await this._getAuthorizationHeader(),
|
|
213
214
|
"X-Fern-Language": "JavaScript",
|
|
214
215
|
"X-Fern-SDK-Name": "candidhealth",
|
|
215
|
-
"X-Fern-SDK-Version": "0.
|
|
216
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
216
217
|
},
|
|
217
218
|
contentType: "application/json",
|
|
218
219
|
body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error._Unknown;
|
|
6
|
+
export declare type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface EncounterExternalIdUniquenessError extends _Utils {
|
|
9
9
|
errorName: "EncounterExternalIdUniquenessError";
|
|
10
10
|
content: CandidApi.encounters.v4.EncounterExternalIdUniquenessErrorType;
|
|
11
11
|
}
|
|
12
|
+
interface EncounterPatientControlNumberUniquenessError extends _Utils {
|
|
13
|
+
errorName: "EncounterPatientControlNumberUniquenessError";
|
|
14
|
+
content: CandidApi.encounters.v4.EncounterPatientControlNumberUniquenessErrorType;
|
|
15
|
+
}
|
|
12
16
|
interface EntityNotFoundError extends _Utils {
|
|
13
17
|
errorName: "EntityNotFoundError";
|
|
14
18
|
content: CandidApi.EntityNotFoundErrorMessage;
|
|
@@ -34,6 +38,7 @@ export declare namespace Error {
|
|
|
34
38
|
}
|
|
35
39
|
interface _Visitor<_Result> {
|
|
36
40
|
encounterExternalIdUniquenessError: (value: CandidApi.encounters.v4.EncounterExternalIdUniquenessErrorType) => _Result;
|
|
41
|
+
encounterPatientControlNumberUniquenessError: (value: CandidApi.encounters.v4.EncounterPatientControlNumberUniquenessErrorType) => _Result;
|
|
37
42
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
38
43
|
encounterGuarantorMissingContactInfoError: (value: CandidApi.encounters.v4.EncounterGuarantorMissingContactInfoErrorType) => _Result;
|
|
39
44
|
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
@@ -43,6 +48,7 @@ export declare namespace Error {
|
|
|
43
48
|
}
|
|
44
49
|
export declare const Error: {
|
|
45
50
|
readonly encounterExternalIdUniquenessError: (value: CandidApi.encounters.v4.EncounterExternalIdUniquenessErrorType) => CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError;
|
|
51
|
+
readonly encounterPatientControlNumberUniquenessError: (value: CandidApi.encounters.v4.EncounterPatientControlNumberUniquenessErrorType) => CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError;
|
|
46
52
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounters.v4.create.Error.EntityNotFoundError;
|
|
47
53
|
readonly encounterGuarantorMissingContactInfoError: (value: CandidApi.encounters.v4.EncounterGuarantorMissingContactInfoErrorType) => CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError;
|
|
48
54
|
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.create.Error.HttpRequestValidationsError;
|
|
@@ -38,6 +38,15 @@ exports.Error = {
|
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
41
|
+
encounterPatientControlNumberUniquenessError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "EncounterPatientControlNumberUniquenessError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.encounters.v4.create.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
41
50
|
entityNotFoundError: (value) => {
|
|
42
51
|
return {
|
|
43
52
|
content: value,
|
|
@@ -87,6 +96,8 @@ exports.Error = {
|
|
|
87
96
|
switch (value.errorName) {
|
|
88
97
|
case "EncounterExternalIdUniquenessError":
|
|
89
98
|
return visitor.encounterExternalIdUniquenessError(value.content);
|
|
99
|
+
case "EncounterPatientControlNumberUniquenessError":
|
|
100
|
+
return visitor.encounterPatientControlNumberUniquenessError(value.content);
|
|
90
101
|
case "EntityNotFoundError":
|
|
91
102
|
return visitor.entityNotFoundError(value.content);
|
|
92
103
|
case "EncounterGuarantorMissingContactInfoError":
|
|
@@ -84,4 +84,40 @@ export interface EncounterUpdate {
|
|
|
84
84
|
*
|
|
85
85
|
*/
|
|
86
86
|
additionalInformation?: string;
|
|
87
|
+
/**
|
|
88
|
+
* 837p Loop2300 REF*4N
|
|
89
|
+
* Required when mandated by government law or regulation to obtain authorization for specific service(s) but, for the
|
|
90
|
+
* reasons listed in one of the enum values of ServiceAuthorizationExceptionCode, the service was performed without
|
|
91
|
+
* obtaining the authorization.
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
serviceAuthorizationExceptionCode?: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode;
|
|
95
|
+
/**
|
|
96
|
+
* 837p Loop2300 DTP*435, CMS-1500 Box 18
|
|
97
|
+
* Required on all ambulance claims when the patient was known to be admitted to the hospital.
|
|
98
|
+
* OR
|
|
99
|
+
* Required on all claims involving inpatient medical visits.
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
admissionDate?: CandidApi.Date_;
|
|
103
|
+
/**
|
|
104
|
+
* 837p Loop2300 DTP*096, CMS-1500 Box 18
|
|
105
|
+
* Required for inpatient claims when the patient was discharged from the facility and the discharge date is known.
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
dischargeDate?: CandidApi.Date_;
|
|
109
|
+
/**
|
|
110
|
+
* 837p Loop2300 DTP*431, CMS-1500 Box 14
|
|
111
|
+
* Required for the initial medical service or visit performed in response to a medical emergency when the date is available and is different than the date of service.
|
|
112
|
+
* OR
|
|
113
|
+
* This date is the onset of acute symptoms for the current illness or condition.
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
116
|
+
onsetOfCurrentIllnessOrSymptomDate?: CandidApi.Date_;
|
|
117
|
+
/**
|
|
118
|
+
* 837p Loop2300 DTP*484, CMS-1500 Box 14
|
|
119
|
+
* Required when, in the judgment of the provider, the services on this claim are related to the patient's pregnancy.
|
|
120
|
+
*
|
|
121
|
+
*/
|
|
122
|
+
lastMenstrualPeriodDate?: CandidApi.Date_;
|
|
87
123
|
}
|
|
@@ -77,42 +77,7 @@ import * as CandidApi from "../../../../..";
|
|
|
77
77
|
* eraId: CandidApi.EraId("4D844EF1-2253-43CD-A4F1-6DB7E65CB54B"),
|
|
78
78
|
* checkNumber: "CHK12345",
|
|
79
79
|
* checkDate: CandidApi.Date_("2023-10-12")
|
|
80
|
-
* }]
|
|
81
|
-
* activeJob: {
|
|
82
|
-
* jobId: CandidApi.jobs.v1.JobId("1503a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
83
|
-
* status: CandidApi.jobs.v1.JobStatus.Queued,
|
|
84
|
-
* summary: "Resubmitting claim",
|
|
85
|
-
* creatorUser: {
|
|
86
|
-
* userId: CandidApi.UserId("1503a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
87
|
-
* idpMetadata: [{
|
|
88
|
-
* type: "auth_zero_metadata",
|
|
89
|
-
* auth0Id: "auth0|5f9b3b5a7b0b0d006a2b0b0b"
|
|
90
|
-
* }],
|
|
91
|
-
* primaryOrganizationId: CandidApi.OrganizationId("83a2a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
92
|
-
* userMetadata: {
|
|
93
|
-
* type: "human_user_metadata",
|
|
94
|
-
* firstName: "John",
|
|
95
|
-
* lastName: "Doe"
|
|
96
|
-
* },
|
|
97
|
-
* accessibleOrganizationIds: [CandidApi.OrganizationId("83a2a782-35f6-45a7-b5c3-53ca2ebe8887")]
|
|
98
|
-
* },
|
|
99
|
-
* jobMetadata: {
|
|
100
|
-
* type: "claim_job_metadata",
|
|
101
|
-
* action: {
|
|
102
|
-
* type: "resubmit_fresh_claim_action"
|
|
103
|
-
* },
|
|
104
|
-
* workQueueId: CandidApi.WorkQueueId("1503a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
105
|
-
* claimId: CandidApi.ClaimId("92215dff-4a79-4dd7-af02-59c16f99cdba"),
|
|
106
|
-
* claimMetadata: {
|
|
107
|
-
* encounterId: CandidApi.EncounterId("2132a68b-7acb-46c2-ba93-852b5daa1f98"),
|
|
108
|
-
* patientFirstName: "John",
|
|
109
|
-
* patientLastName: "Doe",
|
|
110
|
-
* dateOfService: "2021-01-01",
|
|
111
|
-
* claimStatus: CandidApi.ClaimStatus.Paid
|
|
112
|
-
* }
|
|
113
|
-
* },
|
|
114
|
-
* createdAt: new Date("2021-01-01T00:00:00.000Z")
|
|
115
|
-
* }
|
|
80
|
+
* }]
|
|
116
81
|
* }],
|
|
117
82
|
* patient: {
|
|
118
83
|
* individualId: CandidApi.IndividualId("93DDBEBF-4956-4482-9A6C-21499B7E4E5D"),
|
|
@@ -403,7 +368,11 @@ import * as CandidApi from "../../../../..";
|
|
|
403
368
|
* },
|
|
404
369
|
* synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
|
|
405
370
|
* billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
|
|
406
|
-
* responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay
|
|
371
|
+
* responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay,
|
|
372
|
+
* serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
|
|
373
|
+
* admissionDate: CandidApi.Date_("2023-01-01"),
|
|
374
|
+
* dischargeDate: CandidApi.Date_("2023-01-05"),
|
|
375
|
+
* onsetOfCurrentIllnessOrSymptomDate: CandidApi.Date_("2023-01-01")
|
|
407
376
|
* }
|
|
408
377
|
*/
|
|
409
378
|
export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
|
|
@@ -86,4 +86,40 @@ export interface EncounterBase {
|
|
|
86
86
|
*
|
|
87
87
|
*/
|
|
88
88
|
additionalInformation?: string;
|
|
89
|
+
/**
|
|
90
|
+
* 837p Loop2300 REF*4N
|
|
91
|
+
* Required when mandated by government law or regulation to obtain authorization for specific service(s) but, for the
|
|
92
|
+
* reasons listed in one of the enum values of ServiceAuthorizationExceptionCode, the service was performed without
|
|
93
|
+
* obtaining the authorization.
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
serviceAuthorizationExceptionCode?: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode;
|
|
97
|
+
/**
|
|
98
|
+
* 837p Loop2300 DTP*435, CMS-1500 Box 18
|
|
99
|
+
* Required on all ambulance claims when the patient was known to be admitted to the hospital.
|
|
100
|
+
* OR
|
|
101
|
+
* Required on all claims involving inpatient medical visits.
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
104
|
+
admissionDate?: CandidApi.Date_;
|
|
105
|
+
/**
|
|
106
|
+
* 837p Loop2300 DTP*096, CMS-1500 Box 18
|
|
107
|
+
* Required for inpatient claims when the patient was discharged from the facility and the discharge date is known.
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
dischargeDate?: CandidApi.Date_;
|
|
111
|
+
/**
|
|
112
|
+
* 837p Loop2300 DTP*431, CMS-1500 Box 14
|
|
113
|
+
* Required for the initial medical service or visit performed in response to a medical emergency when the date is available and is different than the date of service.
|
|
114
|
+
* OR
|
|
115
|
+
* This date is the onset of acute symptoms for the current illness or condition.
|
|
116
|
+
*
|
|
117
|
+
*/
|
|
118
|
+
onsetOfCurrentIllnessOrSymptomDate?: CandidApi.Date_;
|
|
119
|
+
/**
|
|
120
|
+
* 837p Loop2300 DTP*484, CMS-1500 Box 14
|
|
121
|
+
* Required when, in the judgment of the provider, the services on this claim are related to the patient's pregnancy.
|
|
122
|
+
*
|
|
123
|
+
*/
|
|
124
|
+
lastMenstrualPeriodDate?: CandidApi.Date_;
|
|
89
125
|
}
|
|
@@ -78,42 +78,7 @@ import * as CandidApi from "../../../../..";
|
|
|
78
78
|
* eraId: CandidApi.EraId("4D844EF1-2253-43CD-A4F1-6DB7E65CB54B"),
|
|
79
79
|
* checkNumber: "CHK12345",
|
|
80
80
|
* checkDate: CandidApi.Date_("2023-10-12")
|
|
81
|
-
* }]
|
|
82
|
-
* activeJob: {
|
|
83
|
-
* jobId: CandidApi.jobs.v1.JobId("1503a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
84
|
-
* status: CandidApi.jobs.v1.JobStatus.Queued,
|
|
85
|
-
* summary: "Resubmitting claim",
|
|
86
|
-
* creatorUser: {
|
|
87
|
-
* userId: CandidApi.UserId("1503a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
88
|
-
* idpMetadata: [{
|
|
89
|
-
* type: "auth_zero_metadata",
|
|
90
|
-
* auth0Id: "auth0|5f9b3b5a7b0b0d006a2b0b0b"
|
|
91
|
-
* }],
|
|
92
|
-
* primaryOrganizationId: CandidApi.OrganizationId("83a2a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
93
|
-
* userMetadata: {
|
|
94
|
-
* type: "human_user_metadata",
|
|
95
|
-
* firstName: "John",
|
|
96
|
-
* lastName: "Doe"
|
|
97
|
-
* },
|
|
98
|
-
* accessibleOrganizationIds: [CandidApi.OrganizationId("83a2a782-35f6-45a7-b5c3-53ca2ebe8887")]
|
|
99
|
-
* },
|
|
100
|
-
* jobMetadata: {
|
|
101
|
-
* type: "claim_job_metadata",
|
|
102
|
-
* action: {
|
|
103
|
-
* type: "resubmit_fresh_claim_action"
|
|
104
|
-
* },
|
|
105
|
-
* workQueueId: CandidApi.WorkQueueId("1503a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
106
|
-
* claimId: CandidApi.ClaimId("92215dff-4a79-4dd7-af02-59c16f99cdba"),
|
|
107
|
-
* claimMetadata: {
|
|
108
|
-
* encounterId: CandidApi.EncounterId("2132a68b-7acb-46c2-ba93-852b5daa1f98"),
|
|
109
|
-
* patientFirstName: "John",
|
|
110
|
-
* patientLastName: "Doe",
|
|
111
|
-
* dateOfService: "2021-01-01",
|
|
112
|
-
* claimStatus: CandidApi.ClaimStatus.Paid
|
|
113
|
-
* }
|
|
114
|
-
* },
|
|
115
|
-
* createdAt: new Date("2021-01-01T00:00:00.000Z")
|
|
116
|
-
* }
|
|
81
|
+
* }]
|
|
117
82
|
* }],
|
|
118
83
|
* patient: {
|
|
119
84
|
* individualId: CandidApi.IndividualId("93DDBEBF-4956-4482-9A6C-21499B7E4E5D"),
|
|
@@ -404,7 +369,11 @@ import * as CandidApi from "../../../../..";
|
|
|
404
369
|
* },
|
|
405
370
|
* synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
|
|
406
371
|
* billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
|
|
407
|
-
* responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay
|
|
372
|
+
* responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay,
|
|
373
|
+
* serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
|
|
374
|
+
* admissionDate: CandidApi.Date_("2023-01-01"),
|
|
375
|
+
* dischargeDate: CandidApi.Date_("2023-01-05"),
|
|
376
|
+
* onsetOfCurrentIllnessOrSymptomDate: CandidApi.Date_("2023-01-01")
|
|
408
377
|
* }]
|
|
409
378
|
* }
|
|
410
379
|
*/
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Required when mandated by government law or regulation to obtain authorization for specific service(s) but, for the
|
|
6
|
+
* reasons listed in one of the enum values, the service was performed without obtaining the authorization.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export declare type ServiceAuthorizationExceptionCode =
|
|
10
|
+
/**
|
|
11
|
+
* Immediate/Urgent Care */
|
|
12
|
+
"1"
|
|
13
|
+
/**
|
|
14
|
+
* Services Rendered in a Retroactive Period */
|
|
15
|
+
| "2"
|
|
16
|
+
/**
|
|
17
|
+
* Emergency Care */
|
|
18
|
+
| "3"
|
|
19
|
+
/**
|
|
20
|
+
* Client has Temporary Medicaid */
|
|
21
|
+
| "4"
|
|
22
|
+
/**
|
|
23
|
+
* Request from County for Second Opinion to Determine if Recipient Can Work */
|
|
24
|
+
| "5"
|
|
25
|
+
/**
|
|
26
|
+
* Request for Override Pending */
|
|
27
|
+
| "6"
|
|
28
|
+
/**
|
|
29
|
+
* Special Handling */
|
|
30
|
+
| "7";
|
|
31
|
+
export declare const ServiceAuthorizationExceptionCode: {
|
|
32
|
+
readonly C1: "1";
|
|
33
|
+
readonly C2: "2";
|
|
34
|
+
readonly C3: "3";
|
|
35
|
+
readonly C4: "4";
|
|
36
|
+
readonly C5: "5";
|
|
37
|
+
readonly C6: "6";
|
|
38
|
+
readonly C7: "7";
|
|
39
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ServiceAuthorizationExceptionCode = void 0;
|
|
7
|
+
exports.ServiceAuthorizationExceptionCode = {
|
|
8
|
+
C1: "1",
|
|
9
|
+
C2: "2",
|
|
10
|
+
C3: "3",
|
|
11
|
+
C4: "4",
|
|
12
|
+
C5: "5",
|
|
13
|
+
C6: "6",
|
|
14
|
+
C7: "7",
|
|
15
|
+
};
|
|
@@ -28,5 +28,7 @@ export * from "./RxCui";
|
|
|
28
28
|
export * from "./IntakeQuestionId";
|
|
29
29
|
export * from "./IntakeFollowUpId";
|
|
30
30
|
export * from "./EncounterExternalIdUniquenessErrorType";
|
|
31
|
+
export * from "./EncounterPatientControlNumberUniquenessErrorType";
|
|
31
32
|
export * from "./EncounterGuarantorMissingContactInfoErrorType";
|
|
32
33
|
export * from "./CashPayPayerErrorMessage";
|
|
34
|
+
export * from "./ServiceAuthorizationExceptionCode";
|
|
@@ -44,5 +44,7 @@ __exportStar(require("./RxCui"), exports);
|
|
|
44
44
|
__exportStar(require("./IntakeQuestionId"), exports);
|
|
45
45
|
__exportStar(require("./IntakeFollowUpId"), exports);
|
|
46
46
|
__exportStar(require("./EncounterExternalIdUniquenessErrorType"), exports);
|
|
47
|
+
__exportStar(require("./EncounterPatientControlNumberUniquenessErrorType"), exports);
|
|
47
48
|
__exportStar(require("./EncounterGuarantorMissingContactInfoErrorType"), exports);
|
|
48
49
|
__exportStar(require("./CashPayPayerErrorMessage"), exports);
|
|
50
|
+
__exportStar(require("./ServiceAuthorizationExceptionCode"), exports);
|
|
@@ -52,7 +52,7 @@ class V1 {
|
|
|
52
52
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
53
|
"X-Fern-Language": "JavaScript",
|
|
54
54
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.
|
|
55
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
56
56
|
},
|
|
57
57
|
contentType: "application/json",
|
|
58
58
|
body: await serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -54,7 +54,7 @@ class V2 {
|
|
|
54
54
|
Authorization: await this._getAuthorizationHeader(),
|
|
55
55
|
"X-Fern-Language": "JavaScript",
|
|
56
56
|
"X-Fern-SDK-Name": "candidhealth",
|
|
57
|
-
"X-Fern-SDK-Version": "0.
|
|
57
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
58
58
|
},
|
|
59
59
|
contentType: "application/json",
|
|
60
60
|
body: await serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
|
|
@@ -109,7 +109,7 @@ class V2 {
|
|
|
109
109
|
Authorization: await this._getAuthorizationHeader(),
|
|
110
110
|
"X-Fern-Language": "JavaScript",
|
|
111
111
|
"X-Fern-SDK-Name": "candidhealth",
|
|
112
|
-
"X-Fern-SDK-Version": "0.
|
|
112
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
113
113
|
},
|
|
114
114
|
contentType: "application/json",
|
|
115
115
|
body: await serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
|
|
@@ -68,7 +68,7 @@ class V3 {
|
|
|
68
68
|
Authorization: await this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.
|
|
71
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
queryParameters: _queryParams,
|
|
@@ -52,7 +52,7 @@ class V1 {
|
|
|
52
52
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
53
|
"X-Fern-Language": "JavaScript",
|
|
54
54
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.
|
|
55
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
56
56
|
},
|
|
57
57
|
contentType: "application/json",
|
|
58
58
|
body: await serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, {
|
|
@@ -102,7 +102,7 @@ class V1 {
|
|
|
102
102
|
Authorization: await this._getAuthorizationHeader(),
|
|
103
103
|
"X-Fern-Language": "JavaScript",
|
|
104
104
|
"X-Fern-SDK-Name": "candidhealth",
|
|
105
|
-
"X-Fern-SDK-Version": "0.
|
|
105
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
106
106
|
},
|
|
107
107
|
contentType: "application/json",
|
|
108
108
|
timeoutMs: 60000,
|
|
@@ -135,7 +135,7 @@ class V1 {
|
|
|
135
135
|
Authorization: await this._getAuthorizationHeader(),
|
|
136
136
|
"X-Fern-Language": "JavaScript",
|
|
137
137
|
"X-Fern-SDK-Name": "candidhealth",
|
|
138
|
-
"X-Fern-SDK-Version": "0.
|
|
138
|
+
"X-Fern-SDK-Version": "0.12.0",
|
|
139
139
|
},
|
|
140
140
|
contentType: "application/json",
|
|
141
141
|
body: await serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, {
|