candidhealth 0.10.0 → 0.11.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/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
- package/api/resources/claims/types/ClaimStatus.d.ts +2 -1
- package/api/resources/claims/types/ClaimStatus.js +1 -0
- 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/commons/types/TaxId.js +10 -0
- 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 +4 -4
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +36 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
- 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 +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
- package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/financials/types/AllocationTarget.d.ts +4 -1
- package/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
- package/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
- package/api/resources/financials/types/PatientTransactionSource.js +15 -0
- package/api/resources/financials/types/index.d.ts +1 -0
- package/api/resources/financials/types/index.js +1 -0
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -6
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
- 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 -3
- package/api/resources/patientPayments/resources/v4/client/Client.js +76 -7
- 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 +24 -0
- package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js +5 -0
- package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- 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/PatientPaymentsPage.js +5 -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 -3
- package/api/resources/patientRefunds/resources/v1/client/Client.js +76 -7
- package/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
- package/api/resources/patientRefunds/resources/v1/client/getMulti.js +47 -0
- 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 +24 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js +5 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
- 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/PatientRefundsPage.js +5 -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/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
- package/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
- package/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
- package/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
- package/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
- package/api/resources/payers/resources/v3/types/PayerName.js +10 -0
- package/api/resources/payers/resources/v3/types/index.d.ts +3 -0
- package/api/resources/payers/resources/v3/types/index.js +3 -0
- package/api/resources/remits/index.d.ts +1 -0
- package/api/resources/remits/index.js +17 -0
- package/api/resources/remits/resources/index.d.ts +1 -0
- package/api/resources/remits/resources/index.js +27 -0
- package/api/resources/remits/resources/v1/index.d.ts +1 -0
- package/api/resources/remits/resources/v1/index.js +17 -0
- package/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
- package/api/resources/remits/resources/v1/types/Payee.js +5 -0
- package/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
- package/api/resources/remits/resources/v1/types/PayeeIdentifier.js +5 -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.d.ts +0 -20
- package/api/resources/tasks/resources/v3/client/Client.js +5 -25
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -4
- package/api/resources/writeOffs/resources/v1/client/Client.js +61 -8
- package/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
- package/api/resources/writeOffs/resources/v1/client/getMulti.js +47 -0
- 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/GetMultiWriteOffsRequest.js +5 -0
- package/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
- package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
- 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/WriteOffsPage.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
- package/api/resources/writeOffs/resources/v1/types/index.js +3 -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/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
- package/dist/api/resources/claims/types/ClaimStatus.d.ts +2 -1
- package/dist/api/resources/claims/types/ClaimStatus.js +1 -0
- 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/commons/types/TaxId.js +10 -0
- 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 +4 -4
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- 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 +5 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
- 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 +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/financials/types/AllocationTarget.d.ts +4 -1
- package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
- package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
- package/dist/api/resources/financials/types/PatientTransactionSource.js +15 -0
- package/dist/api/resources/financials/types/index.d.ts +1 -0
- package/dist/api/resources/financials/types/index.js +1 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
- 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 -3
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +76 -7
- 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 +24 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js +5 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- 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/PatientPaymentsPage.js +5 -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 -3
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +76 -7
- 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 +24 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js +5 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
- 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/PatientRefundsPage.js +5 -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/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
- package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
- package/dist/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
- package/dist/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
- package/dist/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
- package/dist/api/resources/payers/resources/v3/types/PayerName.js +10 -0
- package/dist/api/resources/payers/resources/v3/types/index.d.ts +3 -0
- package/dist/api/resources/payers/resources/v3/types/index.js +3 -0
- package/dist/api/resources/remits/index.d.ts +1 -0
- package/dist/api/resources/remits/index.js +17 -0
- package/dist/api/resources/remits/resources/index.d.ts +1 -0
- package/dist/api/resources/remits/resources/index.js +27 -0
- package/dist/api/resources/remits/resources/v1/index.d.ts +1 -0
- package/dist/api/resources/remits/resources/v1/index.js +17 -0
- package/dist/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
- package/dist/api/resources/remits/resources/v1/types/Payee.js +5 -0
- package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
- package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.js +5 -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.d.ts +0 -20
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -25
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -4
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +61 -8
- package/dist/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
- package/dist/api/resources/writeOffs/resources/v1/client/getMulti.js +47 -0
- 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/GetMultiWriteOffsRequest.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
- package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
- 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/WriteOffsPage.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.js +3 -0
- package/dist/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
- package/dist/serialization/resources/claims/types/ClaimStatus.js +1 -0
- package/dist/serialization/resources/commons/types/SortDirection.d.ts +10 -0
- package/dist/serialization/resources/commons/types/SortDirection.js +31 -0
- package/dist/serialization/resources/commons/types/TaxId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/TaxId.js +37 -0
- 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/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/ServiceAuthorizationExceptionCode.d.ts +10 -0
- package/dist/serialization/resources/{writeOffs/resources/v1/client/create.js → encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js} +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
- package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
- package/dist/serialization/resources/financials/types/AllocationTarget.js +1 -0
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
- package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
- package/dist/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
- package/dist/serialization/resources/financials/types/index.d.ts +1 -0
- package/dist/serialization/resources/financials/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -2
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
- package/{serialization/resources/writeOffs/resources/v1/client/create.js → dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js} +2 -2
- 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/PatientRefund.d.ts +2 -1
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +31 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +35 -0
- 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/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
- package/dist/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
- package/dist/serialization/resources/payers/resources/v3/types/index.js +3 -0
- package/dist/serialization/resources/remits/index.d.ts +1 -0
- package/dist/serialization/resources/remits/index.js +17 -0
- package/dist/serialization/resources/remits/resources/index.d.ts +1 -0
- package/dist/serialization/resources/remits/resources/index.js +27 -0
- package/dist/serialization/resources/remits/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/remits/resources/v1/index.js +17 -0
- package/dist/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
- package/dist/serialization/resources/remits/resources/v1/types/Payee.js +34 -0
- package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
- package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +46 -0
- 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/client/index.d.ts +0 -1
- package/dist/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
- package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +31 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +35 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +3 -0
- package/package.json +1 -1
- package/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
- package/serialization/resources/claims/types/ClaimStatus.js +1 -0
- package/serialization/resources/commons/types/SortDirection.d.ts +10 -0
- package/serialization/resources/commons/types/SortDirection.js +31 -0
- package/serialization/resources/commons/types/TaxId.d.ts +10 -0
- package/serialization/resources/commons/types/TaxId.js +37 -0
- 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/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/ServiceAuthorizationExceptionCode.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +31 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
- package/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
- package/serialization/resources/financials/types/AllocationTarget.js +1 -0
- package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
- package/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
- package/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
- package/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
- package/serialization/resources/financials/types/index.d.ts +1 -0
- package/serialization/resources/financials/types/index.js +1 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -2
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
- package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
- 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/PatientRefund.d.ts +2 -1
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
- 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/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
- package/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
- package/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
- package/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
- package/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
- package/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
- package/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
- package/serialization/resources/payers/resources/v3/types/index.js +3 -0
- package/serialization/resources/remits/index.d.ts +1 -0
- package/serialization/resources/remits/index.js +17 -0
- package/serialization/resources/remits/resources/index.d.ts +1 -0
- package/serialization/resources/remits/resources/index.js +27 -0
- package/serialization/resources/remits/resources/v1/index.d.ts +1 -0
- package/serialization/resources/remits/resources/v1/index.js +17 -0
- package/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
- package/serialization/resources/remits/resources/v1/types/Payee.js +34 -0
- package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
- package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +46 -0
- 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/client/index.d.ts +0 -1
- package/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
- package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
- package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +31 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +35 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.js +3 -0
- package/dist/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
- package/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TaxId = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../core"));
|
|
32
|
+
exports.TaxId = core.serialization
|
|
33
|
+
.string()
|
|
34
|
+
.transform({
|
|
35
|
+
transform: CandidApi.TaxId,
|
|
36
|
+
untransform: (value) => value,
|
|
37
|
+
});
|
|
@@ -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);
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts
CHANGED
|
@@ -24,5 +24,10 @@ export declare namespace EncounterUpdate {
|
|
|
24
24
|
end_date_of_service?: serializers.Date_.Raw | null;
|
|
25
25
|
subscriber_secondary?: serializers.SubscriberCreate.Raw | null;
|
|
26
26
|
additional_information?: string | null;
|
|
27
|
+
service_authorization_exception_code?: serializers.encounters.v4.ServiceAuthorizationExceptionCode.Raw | null;
|
|
28
|
+
admission_date?: serializers.Date_.Raw | null;
|
|
29
|
+
discharge_date?: serializers.Date_.Raw | null;
|
|
30
|
+
onset_of_current_illness_or_symptom_date?: serializers.Date_.Raw | null;
|
|
31
|
+
last_menstrual_period_date?: serializers.Date_.Raw | null;
|
|
27
32
|
}
|
|
28
33
|
}
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js
CHANGED
|
@@ -60,4 +60,11 @@ exports.EncounterUpdate = core.serialization.object({
|
|
|
60
60
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
61
61
|
subscriberSecondary: core.serialization.property("subscriber_secondary", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).SubscriberCreate).optional()),
|
|
62
62
|
additionalInformation: core.serialization.property("additional_information", core.serialization.string().optional()),
|
|
63
|
+
serviceAuthorizationExceptionCode: core.serialization.property("service_authorization_exception_code", core.serialization
|
|
64
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounters.v4.ServiceAuthorizationExceptionCode)
|
|
65
|
+
.optional()),
|
|
66
|
+
admissionDate: core.serialization.property("admission_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
67
|
+
dischargeDate: core.serialization.property("discharge_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
68
|
+
onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
69
|
+
lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
63
70
|
});
|
|
@@ -23,5 +23,10 @@ export declare namespace EncounterBase {
|
|
|
23
23
|
billable_status: serializers.encounters.v4.BillableStatusType.Raw;
|
|
24
24
|
responsible_party: serializers.encounters.v4.ResponsiblePartyType.Raw;
|
|
25
25
|
additional_information?: string | null;
|
|
26
|
+
service_authorization_exception_code?: serializers.encounters.v4.ServiceAuthorizationExceptionCode.Raw | null;
|
|
27
|
+
admission_date?: serializers.Date_.Raw | null;
|
|
28
|
+
discharge_date?: serializers.Date_.Raw | null;
|
|
29
|
+
onset_of_current_illness_or_symptom_date?: serializers.Date_.Raw | null;
|
|
30
|
+
last_menstrual_period_date?: serializers.Date_.Raw | null;
|
|
26
31
|
}
|
|
27
32
|
}
|
|
@@ -53,4 +53,11 @@ exports.EncounterBase = core.serialization.object({
|
|
|
53
53
|
billableStatus: core.serialization.property("billable_status", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.BillableStatusType)),
|
|
54
54
|
responsibleParty: core.serialization.property("responsible_party", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.ResponsiblePartyType)),
|
|
55
55
|
additionalInformation: core.serialization.property("additional_information", core.serialization.string().optional()),
|
|
56
|
+
serviceAuthorizationExceptionCode: core.serialization.property("service_authorization_exception_code", core.serialization
|
|
57
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.ServiceAuthorizationExceptionCode)
|
|
58
|
+
.optional()),
|
|
59
|
+
admissionDate: core.serialization.property("admission_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
|
|
60
|
+
dischargeDate: core.serialization.property("discharge_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
|
|
61
|
+
onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
|
|
62
|
+
lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
|
|
56
63
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ServiceAuthorizationExceptionCode: core.serialization.Schema<serializers.encounters.v4.ServiceAuthorizationExceptionCode.Raw, CandidApi.encounters.v4.ServiceAuthorizationExceptionCode>;
|
|
8
|
+
export declare namespace ServiceAuthorizationExceptionCode {
|
|
9
|
+
type Raw = "1" | "2" | "3" | "4" | "5" | "6" | "7";
|
|
10
|
+
}
|
|
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.ServiceAuthorizationExceptionCode = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.ServiceAuthorizationExceptionCode = core.serialization.enum_(["1", "2", "3", "4", "5", "6", "7"]);
|
|
@@ -46,3 +46,4 @@ __exportStar(require("./IntakeFollowUpId"), exports);
|
|
|
46
46
|
__exportStar(require("./EncounterExternalIdUniquenessErrorType"), exports);
|
|
47
47
|
__exportStar(require("./EncounterGuarantorMissingContactInfoErrorType"), exports);
|
|
48
48
|
__exportStar(require("./CashPayPayerErrorMessage"), exports);
|
|
49
|
+
__exportStar(require("./ServiceAuthorizationExceptionCode"), exports);
|
package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const Explanation: core.serialization.Schema<serializers.expectedNetworkStatus.v2.Explanation.Raw, CandidApi.expectedNetworkStatus.v2.Explanation>;
|
|
8
|
+
export declare namespace Explanation {
|
|
9
|
+
type Raw = "Payer Routing and/or Billing Provider Routing Failed" | "No Effective Contract with Payer" | "No Effective Contract with Billing Provider" | "No Effective Contract with Covered Geography" | "No Effective Contract with Line of Business" | "No Effective Contract with Insurance Type" | "No Effective Contract with Rendering Provider" | "Rendering Provider Not Credentialed";
|
|
10
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Explanation = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.Explanation = core.serialization.enum_([
|
|
32
|
+
"Payer Routing and/or Billing Provider Routing Failed",
|
|
33
|
+
"No Effective Contract with Payer",
|
|
34
|
+
"No Effective Contract with Billing Provider",
|
|
35
|
+
"No Effective Contract with Covered Geography",
|
|
36
|
+
"No Effective Contract with Line of Business",
|
|
37
|
+
"No Effective Contract with Insurance Type",
|
|
38
|
+
"No Effective Contract with Rendering Provider",
|
|
39
|
+
"Rendering Provider Not Credentialed",
|
|
40
|
+
]);
|
|
@@ -7,7 +7,8 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
export declare const IndeterminateNetworkStatus: core.serialization.ObjectSchema<serializers.expectedNetworkStatus.v2.IndeterminateNetworkStatus.Raw, CandidApi.expectedNetworkStatus.v2.IndeterminateNetworkStatus>;
|
|
8
8
|
export declare namespace IndeterminateNetworkStatus {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
10
|
+
error: string;
|
|
11
|
+
explanation: serializers.expectedNetworkStatus.v2.Explanation.Raw;
|
|
11
12
|
routed_payer_uuid?: serializers.payers.v3.PayerUuid.Raw | null;
|
|
12
13
|
routed_billing_provider_id?: serializers.organizationProviders.v2.OrganizationProviderId.Raw | null;
|
|
13
14
|
}
|
|
@@ -29,7 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.IndeterminateNetworkStatus = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.IndeterminateNetworkStatus = core.serialization.object({
|
|
32
|
-
|
|
32
|
+
error: core.serialization.string(),
|
|
33
|
+
explanation: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).expectedNetworkStatus.v2.Explanation),
|
|
33
34
|
routedPayerUuid: core.serialization.property("routed_payer_uuid", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerUuid).optional()),
|
|
34
35
|
routedBillingProviderId: core.serialization.property("routed_billing_provider_id", core.serialization
|
|
35
36
|
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationProviders.v2.OrganizationProviderId)
|
package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts
CHANGED
|
@@ -8,6 +8,6 @@ export declare const InsuranceType: core.serialization.ObjectSchema<serializers.
|
|
|
8
8
|
export declare namespace InsuranceType {
|
|
9
9
|
interface Raw {
|
|
10
10
|
line_of_business: serializers.expectedNetworkStatus.v2.LineOfBusiness.Raw;
|
|
11
|
-
insurance_type_codes: serializers.
|
|
11
|
+
insurance_type_codes: serializers.expectedNetworkStatus.v2.InsuranceTypeCodes.Raw;
|
|
12
12
|
}
|
|
13
13
|
}
|
package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js
CHANGED
|
@@ -30,5 +30,5 @@ exports.InsuranceType = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.InsuranceType = core.serialization.object({
|
|
32
32
|
lineOfBusiness: core.serialization.property("line_of_business", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).expectedNetworkStatus.v2.LineOfBusiness)),
|
|
33
|
-
insuranceTypeCodes: core.serialization.property("insurance_type_codes", core.serialization.
|
|
33
|
+
insuranceTypeCodes: core.serialization.property("insurance_type_codes", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).expectedNetworkStatus.v2.InsuranceTypeCodes)),
|
|
34
34
|
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const InsuranceTypeCodes: core.serialization.Schema<serializers.expectedNetworkStatus.v2.InsuranceTypeCodes.Raw, CandidApi.expectedNetworkStatus.v2.InsuranceTypeCodes>;
|
|
8
|
+
export declare namespace InsuranceTypeCodes {
|
|
9
|
+
type Raw = InsuranceTypeCodes.InsuranceTypeCode | InsuranceTypeCodes.UnknownInsuranceTypeCode | InsuranceTypeCodes.NotApplicable;
|
|
10
|
+
interface InsuranceTypeCode {
|
|
11
|
+
type: "insurance_type_code";
|
|
12
|
+
value: serializers.InsuranceTypeCode.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface UnknownInsuranceTypeCode {
|
|
15
|
+
type: "unknown_insurance_type_code";
|
|
16
|
+
}
|
|
17
|
+
interface NotApplicable {
|
|
18
|
+
type: "not_applicable";
|
|
19
|
+
}
|
|
20
|
+
}
|
package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.InsuranceTypeCodes = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.InsuranceTypeCodes = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
insurance_type_code: core.serialization.object({
|
|
34
|
+
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).InsuranceTypeCode),
|
|
35
|
+
}),
|
|
36
|
+
unknown_insurance_type_code: core.serialization.object({}),
|
|
37
|
+
not_applicable: core.serialization.object({}),
|
|
38
|
+
})
|
|
39
|
+
.transform({
|
|
40
|
+
transform: (value) => value,
|
|
41
|
+
untransform: (value) => value,
|
|
42
|
+
});
|
|
@@ -7,7 +7,7 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
export declare const OutOfNetworkStatus: core.serialization.ObjectSchema<serializers.expectedNetworkStatus.v2.OutOfNetworkStatus.Raw, CandidApi.expectedNetworkStatus.v2.OutOfNetworkStatus>;
|
|
8
8
|
export declare namespace OutOfNetworkStatus {
|
|
9
9
|
interface Raw {
|
|
10
|
-
explanation:
|
|
10
|
+
explanation: serializers.expectedNetworkStatus.v2.Explanation.Raw;
|
|
11
11
|
routed_payer_uuid: serializers.payers.v3.PayerUuid.Raw;
|
|
12
12
|
routed_billing_provider_id: serializers.organizationProviders.v2.OrganizationProviderId.Raw;
|
|
13
13
|
}
|
package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js
CHANGED
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.OutOfNetworkStatus = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.OutOfNetworkStatus = core.serialization.object({
|
|
32
|
-
explanation: core.serialization.
|
|
32
|
+
explanation: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).expectedNetworkStatus.v2.Explanation),
|
|
33
33
|
routedPayerUuid: core.serialization.property("routed_payer_uuid", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerUuid)),
|
|
34
34
|
routedBillingProviderId: core.serialization.property("routed_billing_provider_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationProviders.v2.OrganizationProviderId)),
|
|
35
35
|
});
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./NetworkStatusCheckId";
|
|
2
2
|
export * from "./LineOfBusiness";
|
|
3
|
+
export * from "./InsuranceTypeCodes";
|
|
3
4
|
export * from "./InsuranceType";
|
|
5
|
+
export * from "./Explanation";
|
|
4
6
|
export * from "./ServiceType";
|
|
5
7
|
export * from "./ExpectedNetworkStatusRequestV2";
|
|
6
8
|
export * from "./ComputeAllInNetworkProvidersRequest";
|
|
@@ -16,7 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./NetworkStatusCheckId"), exports);
|
|
18
18
|
__exportStar(require("./LineOfBusiness"), exports);
|
|
19
|
+
__exportStar(require("./InsuranceTypeCodes"), exports);
|
|
19
20
|
__exportStar(require("./InsuranceType"), exports);
|
|
21
|
+
__exportStar(require("./Explanation"), exports);
|
|
20
22
|
__exportStar(require("./ServiceType"), exports);
|
|
21
23
|
__exportStar(require("./ExpectedNetworkStatusRequestV2"), exports);
|
|
22
24
|
__exportStar(require("./ComputeAllInNetworkProvidersRequest"), exports);
|
|
@@ -6,7 +6,7 @@ import * as CandidApi from "../../../../api";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const AllocationTarget: core.serialization.Schema<serializers.AllocationTarget.Raw, CandidApi.AllocationTarget>;
|
|
8
8
|
export declare namespace AllocationTarget {
|
|
9
|
-
type Raw = AllocationTarget.ServiceLine | AllocationTarget.Claim | AllocationTarget.BillingProviderId;
|
|
9
|
+
type Raw = AllocationTarget.ServiceLine | AllocationTarget.Claim | AllocationTarget.BillingProviderId | AllocationTarget.Unattributed;
|
|
10
10
|
interface ServiceLine {
|
|
11
11
|
type: "service_line";
|
|
12
12
|
value: serializers.ServiceLineId.Raw;
|
|
@@ -19,4 +19,7 @@ export declare namespace AllocationTarget {
|
|
|
19
19
|
type: "billing_provider_id";
|
|
20
20
|
value: serializers.ProviderId.Raw;
|
|
21
21
|
}
|
|
22
|
+
interface Unattributed {
|
|
23
|
+
type: "unattributed";
|
|
24
|
+
}
|
|
22
25
|
}
|
|
@@ -39,6 +39,7 @@ exports.AllocationTarget = core.serialization
|
|
|
39
39
|
billing_provider_id: core.serialization.object({
|
|
40
40
|
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ProviderId),
|
|
41
41
|
}),
|
|
42
|
+
unattributed: core.serialization.object({}),
|
|
42
43
|
})
|
|
43
44
|
.transform({
|
|
44
45
|
transform: (value) => value,
|
|
@@ -6,7 +6,7 @@ import * as CandidApi from "../../../../api";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const AllocationTargetCreate: core.serialization.Schema<serializers.AllocationTargetCreate.Raw, CandidApi.AllocationTargetCreate>;
|
|
8
8
|
export declare namespace AllocationTargetCreate {
|
|
9
|
-
type Raw = AllocationTargetCreate.ServiceLineById | AllocationTargetCreate.ClaimById | AllocationTargetCreate.BillingProviderById;
|
|
9
|
+
type Raw = AllocationTargetCreate.ServiceLineById | AllocationTargetCreate.ClaimById | AllocationTargetCreate.BillingProviderById | AllocationTargetCreate.Unattributed;
|
|
10
10
|
interface ServiceLineById {
|
|
11
11
|
type: "service_line_by_id";
|
|
12
12
|
value: serializers.ServiceLineId.Raw;
|
|
@@ -19,4 +19,7 @@ export declare namespace AllocationTargetCreate {
|
|
|
19
19
|
type: "billing_provider_by_id";
|
|
20
20
|
value: serializers.ProviderId.Raw;
|
|
21
21
|
}
|
|
22
|
+
interface Unattributed {
|
|
23
|
+
type: "unattributed";
|
|
24
|
+
}
|
|
22
25
|
}
|
|
@@ -39,6 +39,7 @@ exports.AllocationTargetCreate = core.serialization
|
|
|
39
39
|
billing_provider_by_id: core.serialization.object({
|
|
40
40
|
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ProviderId),
|
|
41
41
|
}),
|
|
42
|
+
unattributed: core.serialization.object({}),
|
|
42
43
|
})
|
|
43
44
|
.transform({
|
|
44
45
|
transform: (value) => value,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const PatientTransactionSource: core.serialization.Schema<serializers.PatientTransactionSource.Raw, CandidApi.PatientTransactionSource>;
|
|
8
|
+
export declare namespace PatientTransactionSource {
|
|
9
|
+
type Raw = "MANUAL_ENTRY" | "CHARGEBEE" | "SQUARE" | "STRIPE" | "ELATION" | "CEDAR" | "HEALTHIE";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PatientTransactionSource = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.PatientTransactionSource = core.serialization.enum_(["MANUAL_ENTRY", "CHARGEBEE", "SQUARE", "STRIPE", "ELATION", "CEDAR", "HEALTHIE"]);
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./RefundReason"), exports);
|
|
18
|
+
__exportStar(require("./PatientTransactionSource"), exports);
|
|
18
19
|
__exportStar(require("./Allocation"), exports);
|
|
19
20
|
__exportStar(require("./AllocationTarget"), exports);
|
|
20
21
|
__exportStar(require("./AllocationCreate"), exports);
|
|
@@ -13,6 +13,7 @@ export * as organizationProviders from "./organizationProviders";
|
|
|
13
13
|
export * as patientPayments from "./patientPayments";
|
|
14
14
|
export * as patientRefunds from "./patientRefunds";
|
|
15
15
|
export * as payers from "./payers";
|
|
16
|
+
export * as remits from "./remits";
|
|
16
17
|
export * as serviceLines from "./serviceLines";
|
|
17
18
|
export * as tasks from "./tasks";
|
|
18
19
|
export * as writeOffs from "./writeOffs";
|
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.insuranceCard = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.contracts = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
|
|
29
|
+
exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.insuranceCard = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.contracts = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
|
|
30
30
|
exports.auth = __importStar(require("./auth"));
|
|
31
31
|
exports.billingNotes = __importStar(require("./billingNotes"));
|
|
32
32
|
exports.claimSubmission = __importStar(require("./claimSubmission"));
|
|
@@ -42,6 +42,7 @@ exports.organizationProviders = __importStar(require("./organizationProviders"))
|
|
|
42
42
|
exports.patientPayments = __importStar(require("./patientPayments"));
|
|
43
43
|
exports.patientRefunds = __importStar(require("./patientRefunds"));
|
|
44
44
|
exports.payers = __importStar(require("./payers"));
|
|
45
|
+
exports.remits = __importStar(require("./remits"));
|
|
45
46
|
exports.serviceLines = __importStar(require("./serviceLines"));
|
|
46
47
|
exports.tasks = __importStar(require("./tasks"));
|
|
47
48
|
exports.writeOffs = __importStar(require("./writeOffs"));
|
|
@@ -10,6 +10,7 @@ export declare namespace ClaimAdjudication {
|
|
|
10
10
|
insurance_allowed_amount_cents?: number | null;
|
|
11
11
|
insurance_paid_amount_cents?: number | null;
|
|
12
12
|
service_lines: Record<serializers.ServiceLineId.Raw, serializers.insuranceAdjudications.v1.ServiceLineAdjudication.Raw>;
|
|
13
|
+
payer_claim_number?: string | null;
|
|
13
14
|
carcs: serializers.insuranceAdjudications.v1.ClaimAdjustmentReasonCode.Raw[];
|
|
14
15
|
}
|
|
15
16
|
}
|
package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js
CHANGED
|
@@ -32,5 +32,6 @@ exports.ClaimAdjudication = core.serialization.object({
|
|
|
32
32
|
insuranceAllowedAmountCents: core.serialization.property("insurance_allowed_amount_cents", core.serialization.number().optional()),
|
|
33
33
|
insurancePaidAmountCents: core.serialization.property("insurance_paid_amount_cents", core.serialization.number().optional()),
|
|
34
34
|
serviceLines: core.serialization.property("service_lines", core.serialization.record(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ServiceLineAdjudication))),
|
|
35
|
+
payerClaimNumber: core.serialization.property("payer_claim_number", core.serialization.string().optional()),
|
|
35
36
|
carcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ClaimAdjustmentReasonCode)),
|
|
36
37
|
});
|
|
@@ -10,6 +10,7 @@ export declare namespace ClaimAdjudicationCreate {
|
|
|
10
10
|
insurance_allowed_amount_cents?: number | null;
|
|
11
11
|
insurance_paid_amount_cents?: number | null;
|
|
12
12
|
service_lines: Record<serializers.ServiceLineId.Raw, serializers.insuranceAdjudications.v1.ServiceLineAdjudicationCreate.Raw>;
|
|
13
|
+
payer_claim_number?: string | null;
|
|
13
14
|
carcs: serializers.insuranceAdjudications.v1.ClaimAdjustmentReasonCode.Raw[];
|
|
14
15
|
}
|
|
15
16
|
}
|
|
@@ -32,5 +32,6 @@ exports.ClaimAdjudicationCreate = core.serialization.object({
|
|
|
32
32
|
insuranceAllowedAmountCents: core.serialization.property("insurance_allowed_amount_cents", core.serialization.number().optional()),
|
|
33
33
|
insurancePaidAmountCents: core.serialization.property("insurance_paid_amount_cents", core.serialization.number().optional()),
|
|
34
34
|
serviceLines: core.serialization.property("service_lines", core.serialization.record(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ServiceLineAdjudicationCreate))),
|
|
35
|
+
payerClaimNumber: core.serialization.property("payer_claim_number", core.serialization.string().optional()),
|
|
35
36
|
carcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ClaimAdjustmentReasonCode)),
|
|
36
37
|
});
|
|
@@ -10,7 +10,6 @@ export declare namespace InsuranceAdjudication {
|
|
|
10
10
|
insurance_adjudication_id: serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.Raw;
|
|
11
11
|
payer_uuid: serializers.payers.v3.PayerUuid.Raw;
|
|
12
12
|
post_date?: string | null;
|
|
13
|
-
payer_claim_number: string;
|
|
14
13
|
check_number?: string | null;
|
|
15
14
|
check_date: string;
|
|
16
15
|
note?: string | null;
|
|
@@ -32,7 +32,6 @@ exports.InsuranceAdjudication = core.serialization.object({
|
|
|
32
32
|
insuranceAdjudicationId: core.serialization.property("insurance_adjudication_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.InsuranceAdjudicationId)),
|
|
33
33
|
payerUuid: core.serialization.property("payer_uuid", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerUuid)),
|
|
34
34
|
postDate: core.serialization.property("post_date", core.serialization.string().optional()),
|
|
35
|
-
payerClaimNumber: core.serialization.property("payer_claim_number", core.serialization.string()),
|
|
36
35
|
checkNumber: core.serialization.property("check_number", core.serialization.string().optional()),
|
|
37
36
|
checkDate: core.serialization.property("check_date", core.serialization.string()),
|
|
38
37
|
note: core.serialization.string().optional(),
|
|
@@ -7,9 +7,9 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
export declare const InsuranceAdjudicationCreate: core.serialization.ObjectSchema<serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.Raw, CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationCreate>;
|
|
8
8
|
export declare namespace InsuranceAdjudicationCreate {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
10
|
+
payer_identifier: serializers.payers.v3.PayerIdentifier.Raw;
|
|
11
|
+
payee: serializers.remits.v1.Payee.Raw;
|
|
11
12
|
post_date?: string | null;
|
|
12
|
-
payer_claim_number: string;
|
|
13
13
|
check_number?: string | null;
|
|
14
14
|
check_date: string;
|
|
15
15
|
note?: string | null;
|
|
@@ -29,9 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.InsuranceAdjudicationCreate = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.InsuranceAdjudicationCreate = core.serialization.object({
|
|
32
|
-
|
|
32
|
+
payerIdentifier: core.serialization.property("payer_identifier", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerIdentifier)),
|
|
33
|
+
payee: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).remits.v1.Payee),
|
|
33
34
|
postDate: core.serialization.property("post_date", core.serialization.string().optional()),
|
|
34
|
-
payerClaimNumber: core.serialization.property("payer_claim_number", core.serialization.string()),
|
|
35
35
|
checkNumber: core.serialization.property("check_number", core.serialization.string().optional()),
|
|
36
36
|
checkDate: core.serialization.property("check_date", core.serialization.string()),
|
|
37
37
|
note: core.serialization.string().optional(),
|
package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const InsuranceRefund: core.serialization.ObjectSchema<serializer
|
|
|
8
8
|
export declare namespace InsuranceRefund {
|
|
9
9
|
interface Raw {
|
|
10
10
|
insurance_refund_id: serializers.insuranceRefunds.v1.InsuranceRefundId.Raw;
|
|
11
|
-
|
|
11
|
+
payer: serializers.payers.v3.Payer.Raw;
|
|
12
12
|
amount_cents: number;
|
|
13
13
|
refund_timestamp?: string | null;
|
|
14
14
|
refund_note?: string | null;
|
|
@@ -30,7 +30,7 @@ exports.InsuranceRefund = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.InsuranceRefund = core.serialization.object({
|
|
32
32
|
insuranceRefundId: core.serialization.property("insurance_refund_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceRefunds.v1.InsuranceRefundId)),
|
|
33
|
-
|
|
33
|
+
payer: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.Payer),
|
|
34
34
|
amountCents: core.serialization.property("amount_cents", core.serialization.number()),
|
|
35
35
|
refundTimestamp: core.serialization.property("refund_timestamp", core.serialization.date().optional()),
|
|
36
36
|
refundNote: core.serialization.property("refund_note", core.serialization.string().optional()),
|