candidhealth 1.14.3 → 1.14.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +43 -38
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
- package/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +13 -0
- package/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +16 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +3 -2
- package/api/resources/insuranceAdjudications/client/Client.d.ts +14 -0
- package/api/resources/insuranceAdjudications/client/Client.js +15 -0
- package/api/resources/insuranceAdjudications/client/index.d.ts +1 -0
- package/api/resources/insuranceAdjudications/client/index.js +2 -0
- package/api/resources/insuranceAdjudications/index.d.ts +2 -0
- package/api/resources/insuranceAdjudications/index.js +18 -0
- package/api/resources/insuranceAdjudications/resources/index.d.ts +1 -0
- package/api/resources/insuranceAdjudications/resources/index.js +37 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +26 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +117 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +19 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/get.js +55 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/index.js +37 -0
- package/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
- package/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +10 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +10 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +3 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +5 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +7 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +13 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +3 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +5 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +7 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
- package/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +3 -0
- package/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +3 -0
- package/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +3 -0
- package/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +3 -0
- package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +13 -0
- package/api/resources/patientPayments/resources/v4/types/PaymentMethod.js +3 -0
- package/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +5 -0
- package/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +3 -0
- package/api/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
- package/api/resources/patientPayments/resources/v4/types/index.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +3 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +2 -0
- package/api/resources/x12/resources/v1/types/Carc.d.ts +407 -0
- package/api/resources/x12/resources/v1/types/Carc.js +410 -0
- package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +6 -0
- package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +3 -0
- package/api/resources/x12/resources/v1/types/Rarc.d.ts +1190 -0
- package/api/resources/x12/resources/v1/types/Rarc.js +1193 -0
- package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +4 -0
- package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +3 -0
- package/api/resources/x12/resources/v1/types/index.d.ts +4 -0
- package/api/resources/x12/resources/v1/types/index.js +4 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +43 -38
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
- package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +13 -0
- package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +16 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +14 -0
- package/dist/api/resources/insuranceAdjudications/client/Client.js +15 -0
- package/dist/api/resources/insuranceAdjudications/client/index.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudications/client/index.js +2 -0
- package/dist/api/resources/insuranceAdjudications/index.d.ts +2 -0
- package/dist/api/resources/insuranceAdjudications/index.js +18 -0
- package/dist/api/resources/insuranceAdjudications/resources/index.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/index.js +37 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +26 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +117 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +19 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.js +55 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.js +37 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +10 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +10 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +3 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +5 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +7 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +13 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +3 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +5 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +7 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
- package/dist/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +3 -0
- package/dist/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +3 -0
- package/dist/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +3 -0
- package/dist/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +3 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +13 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethod.js +3 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +5 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +3 -0
- package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
- package/dist/api/resources/patientPayments/resources/v4/types/index.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +3 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +2 -0
- package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +407 -0
- package/dist/api/resources/x12/resources/v1/types/Carc.js +410 -0
- package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +6 -0
- package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +3 -0
- package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +1190 -0
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +1193 -0
- package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +4 -0
- package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +3 -0
- package/dist/api/resources/x12/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/x12/resources/v1/types/index.js +4 -0
- package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +7 -0
- package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +39 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/insuranceAdjudications/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/index.js +17 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/index.js +37 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +17 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +19 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +51 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +51 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +7 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +43 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +21 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +53 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +7 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +43 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +7 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +39 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +7 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +39 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +9 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +41 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +19 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.js +51 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +12 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +44 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +5 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +1 -0
- package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +7 -0
- package/dist/serialization/resources/x12/resources/v1/types/Carc.js +444 -0
- package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +13 -0
- package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +45 -0
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +7 -0
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1227 -0
- package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +42 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.js +4 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +64 -0
- package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +7 -0
- package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +39 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/insuranceAdjudications/index.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/index.js +17 -0
- package/serialization/resources/insuranceAdjudications/resources/index.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/index.js +37 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/index.js +17 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +19 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +51 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +51 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +7 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +43 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +21 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +53 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +7 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +43 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
- package/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +7 -0
- package/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +39 -0
- package/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +7 -0
- package/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +39 -0
- package/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +9 -0
- package/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +41 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -0
- package/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +19 -0
- package/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.js +51 -0
- package/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +12 -0
- package/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +44 -0
- package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
- package/serialization/resources/patientPayments/resources/v4/types/index.js +5 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +1 -0
- package/serialization/resources/x12/resources/v1/types/Carc.d.ts +7 -0
- package/serialization/resources/x12/resources/v1/types/Carc.js +444 -0
- package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +13 -0
- package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +45 -0
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +7 -0
- package/serialization/resources/x12/resources/v1/types/Rarc.js +1227 -0
- package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +42 -0
- package/serialization/resources/x12/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/x12/resources/v1/types/index.js +4 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
export * from "./Carc";
|
|
2
|
+
export * from "./ClaimAdjustmentReasonCode";
|
|
1
3
|
export * from "./PatientDischargeStatusCode";
|
|
2
4
|
export * from "./PointOfOriginForAdmissionOrVisitCode";
|
|
5
|
+
export * from "./Rarc";
|
|
6
|
+
export * from "./RemittanceAdviceRemarkCode";
|
|
3
7
|
export * from "./TypeOfAdmissionOrVisitCode";
|
|
4
8
|
export * from "./TypeOfBillComposite";
|
|
5
9
|
export * from "./TypeOfBillCompositeBase";
|
|
@@ -14,8 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Carc"), exports);
|
|
18
|
+
__exportStar(require("./ClaimAdjustmentReasonCode"), exports);
|
|
17
19
|
__exportStar(require("./PatientDischargeStatusCode"), exports);
|
|
18
20
|
__exportStar(require("./PointOfOriginForAdmissionOrVisitCode"), exports);
|
|
21
|
+
__exportStar(require("./Rarc"), exports);
|
|
22
|
+
__exportStar(require("./RemittanceAdviceRemarkCode"), exports);
|
|
19
23
|
__exportStar(require("./TypeOfAdmissionOrVisitCode"), exports);
|
|
20
24
|
__exportStar(require("./TypeOfBillComposite"), exports);
|
|
21
25
|
__exportStar(require("./TypeOfBillCompositeBase"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { FeeSchedules } from "./api/resources/feeSchedules/client/Client";
|
|
|
18
18
|
import { Guarantor } from "./api/resources/guarantor/client/Client";
|
|
19
19
|
import { HealthCareCodeInformation } from "./api/resources/healthCareCodeInformation/client/Client";
|
|
20
20
|
import { ImportInvoice } from "./api/resources/importInvoice/client/Client";
|
|
21
|
+
import { InsuranceAdjudications } from "./api/resources/insuranceAdjudications/client/Client";
|
|
21
22
|
import { InsurancePayments } from "./api/resources/insurancePayments/client/Client";
|
|
22
23
|
import { InsuranceRefunds } from "./api/resources/insuranceRefunds/client/Client";
|
|
23
24
|
import { MedicationDispense } from "./api/resources/medicationDispense/client/Client";
|
|
@@ -68,6 +69,7 @@ export declare class CandidApiClient {
|
|
|
68
69
|
protected _guarantor: Guarantor | undefined;
|
|
69
70
|
protected _healthCareCodeInformation: HealthCareCodeInformation | undefined;
|
|
70
71
|
protected _importInvoice: ImportInvoice | undefined;
|
|
72
|
+
protected _insuranceAdjudications: InsuranceAdjudications | undefined;
|
|
71
73
|
protected _insurancePayments: InsurancePayments | undefined;
|
|
72
74
|
protected _insuranceRefunds: InsuranceRefunds | undefined;
|
|
73
75
|
protected _medicationDispense: MedicationDispense | undefined;
|
|
@@ -107,6 +109,7 @@ export declare class CandidApiClient {
|
|
|
107
109
|
get guarantor(): Guarantor;
|
|
108
110
|
get healthCareCodeInformation(): HealthCareCodeInformation;
|
|
109
111
|
get importInvoice(): ImportInvoice;
|
|
112
|
+
get insuranceAdjudications(): InsuranceAdjudications;
|
|
110
113
|
get insurancePayments(): InsurancePayments;
|
|
111
114
|
get insuranceRefunds(): InsuranceRefunds;
|
|
112
115
|
get medicationDispense(): MedicationDispense;
|
package/dist/Client.js
CHANGED
|
@@ -65,24 +65,25 @@ const Client_18 = require("./api/resources/feeSchedules/client/Client");
|
|
|
65
65
|
const Client_19 = require("./api/resources/guarantor/client/Client");
|
|
66
66
|
const Client_20 = require("./api/resources/healthCareCodeInformation/client/Client");
|
|
67
67
|
const Client_21 = require("./api/resources/importInvoice/client/Client");
|
|
68
|
-
const Client_22 = require("./api/resources/
|
|
69
|
-
const Client_23 = require("./api/resources/
|
|
70
|
-
const Client_24 = require("./api/resources/
|
|
71
|
-
const Client_25 = require("./api/resources/
|
|
72
|
-
const Client_26 = require("./api/resources/
|
|
73
|
-
const Client_27 = require("./api/resources/
|
|
74
|
-
const Client_28 = require("./api/resources/
|
|
75
|
-
const Client_29 = require("./api/resources/
|
|
76
|
-
const Client_30 = require("./api/resources/
|
|
77
|
-
const Client_31 = require("./api/resources/
|
|
78
|
-
const Client_32 = require("./api/resources/
|
|
79
|
-
const Client_33 = require("./api/resources/
|
|
80
|
-
const Client_34 = require("./api/resources/
|
|
81
|
-
const Client_35 = require("./api/resources/
|
|
82
|
-
const Client_36 = require("./api/resources/
|
|
83
|
-
const Client_37 = require("./api/resources/
|
|
84
|
-
const Client_38 = require("./api/resources/
|
|
85
|
-
const Client_39 = require("./api/resources/
|
|
68
|
+
const Client_22 = require("./api/resources/insuranceAdjudications/client/Client");
|
|
69
|
+
const Client_23 = require("./api/resources/insurancePayments/client/Client");
|
|
70
|
+
const Client_24 = require("./api/resources/insuranceRefunds/client/Client");
|
|
71
|
+
const Client_25 = require("./api/resources/medicationDispense/client/Client");
|
|
72
|
+
const Client_26 = require("./api/resources/nonInsurancePayerPayments/client/Client");
|
|
73
|
+
const Client_27 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
|
|
74
|
+
const Client_28 = require("./api/resources/nonInsurancePayers/client/Client");
|
|
75
|
+
const Client_29 = require("./api/resources/organizationProviders/client/Client");
|
|
76
|
+
const Client_30 = require("./api/resources/organizationServiceFacilities/client/Client");
|
|
77
|
+
const Client_31 = require("./api/resources/patientAr/client/Client");
|
|
78
|
+
const Client_32 = require("./api/resources/patientPayments/client/Client");
|
|
79
|
+
const Client_33 = require("./api/resources/patientRefunds/client/Client");
|
|
80
|
+
const Client_34 = require("./api/resources/payerPlanGroups/client/Client");
|
|
81
|
+
const Client_35 = require("./api/resources/payers/client/Client");
|
|
82
|
+
const Client_36 = require("./api/resources/preEncounter/client/Client");
|
|
83
|
+
const Client_37 = require("./api/resources/serviceLines/client/Client");
|
|
84
|
+
const Client_38 = require("./api/resources/superbills/client/Client");
|
|
85
|
+
const Client_39 = require("./api/resources/tasks/client/Client");
|
|
86
|
+
const Client_40 = require("./api/resources/writeOffs/client/Client");
|
|
86
87
|
const core = __importStar(require("./core"));
|
|
87
88
|
const headers_1 = require("./core/headers");
|
|
88
89
|
class CandidApiClient {
|
|
@@ -90,8 +91,8 @@ class CandidApiClient {
|
|
|
90
91
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
|
|
91
92
|
"X-Fern-Language": "JavaScript",
|
|
92
93
|
"X-Fern-SDK-Name": "candidhealth",
|
|
93
|
-
"X-Fern-SDK-Version": "1.14.
|
|
94
|
-
"User-Agent": "candidhealth/1.14.
|
|
94
|
+
"X-Fern-SDK-Version": "1.14.6",
|
|
95
|
+
"User-Agent": "candidhealth/1.14.6",
|
|
95
96
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
96
97
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
97
98
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -177,77 +178,81 @@ class CandidApiClient {
|
|
|
177
178
|
var _a;
|
|
178
179
|
return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_21.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
179
180
|
}
|
|
181
|
+
get insuranceAdjudications() {
|
|
182
|
+
var _a;
|
|
183
|
+
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_22.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
184
|
+
}
|
|
180
185
|
get insurancePayments() {
|
|
181
186
|
var _a;
|
|
182
|
-
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new
|
|
187
|
+
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_23.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
183
188
|
}
|
|
184
189
|
get insuranceRefunds() {
|
|
185
190
|
var _a;
|
|
186
|
-
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new
|
|
191
|
+
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_24.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
187
192
|
}
|
|
188
193
|
get medicationDispense() {
|
|
189
194
|
var _a;
|
|
190
|
-
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new
|
|
195
|
+
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_25.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
191
196
|
}
|
|
192
197
|
get nonInsurancePayerPayments() {
|
|
193
198
|
var _a;
|
|
194
|
-
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new
|
|
199
|
+
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_26.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
195
200
|
}
|
|
196
201
|
get nonInsurancePayerRefunds() {
|
|
197
202
|
var _a;
|
|
198
|
-
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new
|
|
203
|
+
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_27.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
199
204
|
}
|
|
200
205
|
get nonInsurancePayers() {
|
|
201
206
|
var _a;
|
|
202
|
-
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new
|
|
207
|
+
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_28.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
203
208
|
}
|
|
204
209
|
get organizationProviders() {
|
|
205
210
|
var _a;
|
|
206
|
-
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new
|
|
211
|
+
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_29.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
207
212
|
}
|
|
208
213
|
get organizationServiceFacilities() {
|
|
209
214
|
var _a;
|
|
210
|
-
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new
|
|
215
|
+
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_30.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
211
216
|
}
|
|
212
217
|
get patientAr() {
|
|
213
218
|
var _a;
|
|
214
|
-
return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new
|
|
219
|
+
return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_31.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
215
220
|
}
|
|
216
221
|
get patientPayments() {
|
|
217
222
|
var _a;
|
|
218
|
-
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new
|
|
223
|
+
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_32.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
219
224
|
}
|
|
220
225
|
get patientRefunds() {
|
|
221
226
|
var _a;
|
|
222
|
-
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new
|
|
227
|
+
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_33.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
223
228
|
}
|
|
224
229
|
get payerPlanGroups() {
|
|
225
230
|
var _a;
|
|
226
|
-
return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new
|
|
231
|
+
return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_34.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
227
232
|
}
|
|
228
233
|
get payers() {
|
|
229
234
|
var _a;
|
|
230
|
-
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new
|
|
235
|
+
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_35.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
231
236
|
}
|
|
232
237
|
get serviceLines() {
|
|
233
238
|
var _a;
|
|
234
|
-
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new
|
|
239
|
+
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_37.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
235
240
|
}
|
|
236
241
|
get superbills() {
|
|
237
242
|
var _a;
|
|
238
|
-
return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new
|
|
243
|
+
return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_38.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
239
244
|
}
|
|
240
245
|
get tasks() {
|
|
241
246
|
var _a;
|
|
242
|
-
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new
|
|
247
|
+
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_39.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
243
248
|
}
|
|
244
249
|
get writeOffs() {
|
|
245
250
|
var _a;
|
|
246
|
-
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new
|
|
251
|
+
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_40.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
247
252
|
}
|
|
248
253
|
get preEncounter() {
|
|
249
254
|
var _a;
|
|
250
|
-
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new
|
|
255
|
+
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_36.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
251
256
|
}
|
|
252
257
|
get diagnoses() {
|
|
253
258
|
var _a;
|
|
@@ -10,6 +10,7 @@ export interface ChargeCapture {
|
|
|
10
10
|
originatingSystem?: string;
|
|
11
11
|
claimCreationCategory?: string;
|
|
12
12
|
error?: CandidApi.chargeCapture.v1.ChargeCaptureError;
|
|
13
|
+
/** This list of updates will always return at most 1 update that is not resolved. The singular update will contain the difference between the updated charge and the created encounter. */
|
|
13
14
|
updates: CandidApi.chargeCapture.v1.ChargeCapturePostBilledChange[];
|
|
14
15
|
claimCreationId?: CandidApi.ChargeCaptureClaimCreationId;
|
|
15
16
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const ClaimAdjustmentGroupCodes: {
|
|
2
|
+
readonly Co: "CO";
|
|
3
|
+
readonly Cr: "CR";
|
|
4
|
+
readonly De: "DE";
|
|
5
|
+
readonly Ma: "MA";
|
|
6
|
+
readonly Oa: "OA";
|
|
7
|
+
readonly Pi: "PI";
|
|
8
|
+
readonly Pr: "PR";
|
|
9
|
+
readonly Rr: "RR";
|
|
10
|
+
readonly Nc: "NC";
|
|
11
|
+
readonly Unknown: "UNKNOWN";
|
|
12
|
+
};
|
|
13
|
+
export type ClaimAdjustmentGroupCodes = (typeof ClaimAdjustmentGroupCodes)[keyof typeof ClaimAdjustmentGroupCodes];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ClaimAdjustmentGroupCodes = void 0;
|
|
5
|
+
exports.ClaimAdjustmentGroupCodes = {
|
|
6
|
+
Co: "CO",
|
|
7
|
+
Cr: "CR",
|
|
8
|
+
De: "DE",
|
|
9
|
+
Ma: "MA",
|
|
10
|
+
Oa: "OA",
|
|
11
|
+
Pi: "PI",
|
|
12
|
+
Pr: "PR",
|
|
13
|
+
Rr: "RR",
|
|
14
|
+
Nc: "NC",
|
|
15
|
+
Unknown: "UNKNOWN",
|
|
16
|
+
};
|
|
@@ -4,6 +4,7 @@ export * from "./BillingProviderCommercialLicenseType";
|
|
|
4
4
|
export * from "./ChargeCaptureClaimCreationId";
|
|
5
5
|
export * from "./ChargeCaptureId";
|
|
6
6
|
export * from "./ChargeCapturePostBilledChangeId";
|
|
7
|
+
export * from "./ClaimAdjustmentGroupCodes";
|
|
7
8
|
export * from "./ClaimId";
|
|
8
9
|
export * from "./ClaimSubmissionPayerResponsibilityType";
|
|
9
10
|
export * from "./Clearinghouse";
|
|
@@ -20,6 +20,7 @@ __exportStar(require("./BillingProviderCommercialLicenseType"), exports);
|
|
|
20
20
|
__exportStar(require("./ChargeCaptureClaimCreationId"), exports);
|
|
21
21
|
__exportStar(require("./ChargeCaptureId"), exports);
|
|
22
22
|
__exportStar(require("./ChargeCapturePostBilledChangeId"), exports);
|
|
23
|
+
__exportStar(require("./ClaimAdjustmentGroupCodes"), exports);
|
|
23
24
|
__exportStar(require("./ClaimId"), exports);
|
|
24
25
|
__exportStar(require("./ClaimSubmissionPayerResponsibilityType"), exports);
|
|
25
26
|
__exportStar(require("./Clearinghouse"), exports);
|
|
@@ -35,6 +35,7 @@ export * from "./identifiers/types";
|
|
|
35
35
|
export * as importInvoice from "./importInvoice";
|
|
36
36
|
export * as individual from "./individual";
|
|
37
37
|
export * from "./individual/types";
|
|
38
|
+
export * as insuranceAdjudications from "./insuranceAdjudications";
|
|
38
39
|
export * as insuranceCards from "./insuranceCards";
|
|
39
40
|
export * as insurancePayments from "./insurancePayments";
|
|
40
41
|
export * as insuranceRefunds from "./insuranceRefunds";
|
|
@@ -36,8 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.yesNoIndicator = exports.x12 = exports.writeOffs = exports.users = exports.tasks = exports.tags = void 0;
|
|
39
|
+
exports.serviceLines = exports.serviceFacility = exports.preEncounter = exports.pipelineCommons = exports.paymentAccountConfigs = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.patientAr = exports.organizationServiceFacilities = exports.organizationProviders = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.individual = exports.importInvoice = exports.identifiers = exports.healthCareCodeInformation = exports.guarantor = exports.financials = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.era = exports.encountersUniversal = exports.encounters = exports.encounterSupplementalInformation = exports.encounterProviders = exports.encounterAttachments = exports.eligibility = exports.diagnoses = exports.customSchemas = exports.credentialing = exports.contracts = exports.commons = exports.clinicalTrials = exports.claims = exports.claimSubmission = exports.chargeCaptureBundles = exports.chargeCapture = exports.billingNotes = exports.auth = void 0;
|
|
40
|
+
exports.yesNoIndicator = exports.x12 = exports.writeOffs = exports.users = exports.tasks = exports.tags = exports.superbills = void 0;
|
|
41
41
|
exports.auth = __importStar(require("./auth"));
|
|
42
42
|
exports.billingNotes = __importStar(require("./billingNotes"));
|
|
43
43
|
exports.chargeCapture = __importStar(require("./chargeCapture"));
|
|
@@ -75,6 +75,7 @@ __exportStar(require("./identifiers/types"), exports);
|
|
|
75
75
|
exports.importInvoice = __importStar(require("./importInvoice"));
|
|
76
76
|
exports.individual = __importStar(require("./individual"));
|
|
77
77
|
__exportStar(require("./individual/types"), exports);
|
|
78
|
+
exports.insuranceAdjudications = __importStar(require("./insuranceAdjudications"));
|
|
78
79
|
exports.insuranceCards = __importStar(require("./insuranceCards"));
|
|
79
80
|
exports.insurancePayments = __importStar(require("./insurancePayments"));
|
|
80
81
|
exports.insuranceRefunds = __importStar(require("./insuranceRefunds"));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { BaseClientOptions } from "../../../../BaseClient";
|
|
2
|
+
import type * as core from "../../../../core";
|
|
3
|
+
import { V1 } from "../resources/v1/client/Client";
|
|
4
|
+
export declare namespace InsuranceAdjudications {
|
|
5
|
+
interface Options extends BaseClientOptions {
|
|
6
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export declare class InsuranceAdjudications {
|
|
10
|
+
protected readonly _options: InsuranceAdjudications.Options;
|
|
11
|
+
protected _v1: V1 | undefined;
|
|
12
|
+
constructor(_options?: InsuranceAdjudications.Options);
|
|
13
|
+
get v1(): V1;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.InsuranceAdjudications = void 0;
|
|
5
|
+
const Client_1 = require("../resources/v1/client/Client");
|
|
6
|
+
class InsuranceAdjudications {
|
|
7
|
+
constructor(_options = {}) {
|
|
8
|
+
this._options = _options;
|
|
9
|
+
}
|
|
10
|
+
get v1() {
|
|
11
|
+
var _a;
|
|
12
|
+
return ((_a = this._v1) !== null && _a !== void 0 ? _a : (this._v1 = new Client_1.V1(this._options)));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.InsuranceAdjudications = InsuranceAdjudications;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
18
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v1 from "./v1";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.v1 = void 0;
|
|
37
|
+
exports.v1 = __importStar(require("./v1"));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import * as CandidApi from "../../../../../index";
|
|
4
|
+
export declare namespace V1 {
|
|
5
|
+
interface Options extends BaseClientOptions {
|
|
6
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
7
|
+
}
|
|
8
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare class V1 {
|
|
12
|
+
protected readonly _options: V1.Options;
|
|
13
|
+
constructor(_options?: V1.Options);
|
|
14
|
+
/**
|
|
15
|
+
* Retrieves a previously created insurance adjudication by its `insurance_adjudication_id`.
|
|
16
|
+
*
|
|
17
|
+
* @param {CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId} insuranceAdjudicationId
|
|
18
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* await client.insuranceAdjudications.v1.get(CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
22
|
+
*/
|
|
23
|
+
get(insuranceAdjudicationId: CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.insuranceAdjudications.v1.InsuranceAdjudication, CandidApi.insuranceAdjudications.v1.get.Error>>;
|
|
24
|
+
private __get;
|
|
25
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.V1 = void 0;
|
|
47
|
+
const core = __importStar(require("../../../../../../core"));
|
|
48
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
49
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
50
|
+
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
51
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
52
|
+
class V1 {
|
|
53
|
+
constructor(_options = {}) {
|
|
54
|
+
this._options = _options;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Retrieves a previously created insurance adjudication by its `insurance_adjudication_id`.
|
|
58
|
+
*
|
|
59
|
+
* @param {CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId} insuranceAdjudicationId
|
|
60
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* await client.insuranceAdjudications.v1.get(CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
64
|
+
*/
|
|
65
|
+
get(insuranceAdjudicationId, requestOptions) {
|
|
66
|
+
return core.HttpResponsePromise.fromPromise(this.__get(insuranceAdjudicationId, requestOptions));
|
|
67
|
+
}
|
|
68
|
+
__get(insuranceAdjudicationId, requestOptions) {
|
|
69
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
71
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
72
|
+
const _response = yield core.fetcher({
|
|
73
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${core.url.encodePathParam(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
|
|
74
|
+
method: "GET",
|
|
75
|
+
headers: _headers,
|
|
76
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
77
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
78
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
79
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
80
|
+
});
|
|
81
|
+
if (_response.ok) {
|
|
82
|
+
return {
|
|
83
|
+
data: {
|
|
84
|
+
ok: true,
|
|
85
|
+
body: serializers.insuranceAdjudications.v1.InsuranceAdjudication.parseOrThrow(_response.body, {
|
|
86
|
+
unrecognizedObjectKeys: "passthrough",
|
|
87
|
+
allowUnrecognizedUnionMembers: true,
|
|
88
|
+
allowUnrecognizedEnumValues: true,
|
|
89
|
+
breadcrumbsPrefix: ["response"],
|
|
90
|
+
}),
|
|
91
|
+
headers: _response.headers,
|
|
92
|
+
rawResponse: _response.rawResponse,
|
|
93
|
+
},
|
|
94
|
+
rawResponse: _response.rawResponse,
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
data: {
|
|
99
|
+
ok: false,
|
|
100
|
+
error: CandidApi.insuranceAdjudications.v1.get.Error._unknown(_response.error),
|
|
101
|
+
rawResponse: _response.rawResponse,
|
|
102
|
+
},
|
|
103
|
+
rawResponse: _response.rawResponse,
|
|
104
|
+
};
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
_getAuthorizationHeader() {
|
|
108
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
109
|
+
const bearer = yield core.Supplier.get(this._options.token);
|
|
110
|
+
if (bearer != null) {
|
|
111
|
+
return `Bearer ${bearer}`;
|
|
112
|
+
}
|
|
113
|
+
return undefined;
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.V1 = V1;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as core from "../../../../../../core";
|
|
2
|
+
import * as CandidApi from "../../../../../index";
|
|
3
|
+
export type Error = CandidApi.insuranceAdjudications.v1.get.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface _Unknown extends _Utils {
|
|
6
|
+
errorName: void;
|
|
7
|
+
content: core.Fetcher.Error;
|
|
8
|
+
}
|
|
9
|
+
interface _Utils {
|
|
10
|
+
_visit: <_Result>(visitor: CandidApi.insuranceAdjudications.v1.get.Error._Visitor<_Result>) => _Result;
|
|
11
|
+
}
|
|
12
|
+
interface _Visitor<_Result> {
|
|
13
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export declare const Error: {
|
|
17
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insuranceAdjudications.v1.get.Error._Unknown;
|
|
18
|
+
readonly _visit: <_Result>(value: CandidApi.insuranceAdjudications.v1.get.Error, visitor: CandidApi.insuranceAdjudications.v1.get.Error._Visitor<_Result>) => _Result;
|
|
19
|
+
};
|