candidhealth 0.39.6 → 0.39.8
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/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
- package/api/resources/commons/types/ProcedureModifier.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +9 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +12 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -0
- package/api/resources/feeSchedules/resources/v3/client/Client.js +31 -12
- package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -0
- package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +2 -0
- package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -0
- package/api/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +1 -0
- package/api/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -1
- package/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +12 -0
- package/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +5 -0
- package/api/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +1 -0
- package/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +8 -0
- package/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +5 -0
- package/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +7 -1
- package/api/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
- package/api/resources/feeSchedules/resources/v3/types/index.js +2 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +5 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/client/Client.d.ts +3 -0
- package/api/resources/preEncounter/client/Client.js +13 -8
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +20 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +89 -8
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +28 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +68 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +27 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.js +5 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +13 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +5 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +7 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +5 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
- package/api/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +12 -0
- package/api/resources/preEncounter/resources/common/types/ExternalIdentifier.js +5 -0
- package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +9 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/common/types/index.js +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +21 -16
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +87 -24
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +28 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +68 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +12 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +7 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +14 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +4 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +9 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +3 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +30 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/client/index.js +2 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/index.js +18 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +63 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +137 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +37 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.d.ts +22 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.js +57 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +11 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +17 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +8 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +12 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +8 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +7 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +9 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +8 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
- package/api/resources/preEncounter/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/index.js +2 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -1
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +36 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +84 -16
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +34 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +79 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +8 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
- package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +9 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +12 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +31 -12
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +2 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +1 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +12 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +5 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +1 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +8 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +5 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +7 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/index.js +2 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +5 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/client/Client.d.ts +3 -0
- package/dist/api/resources/preEncounter/client/Client.js +13 -8
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +20 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +89 -8
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +68 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +27 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +5 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +5 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalIdentifier.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +9 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +21 -16
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +87 -24
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +68 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +14 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +30 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +63 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +137 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +37 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.js +57 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +17 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
- package/dist/api/resources/preEncounter/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +36 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +84 -16
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +34 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +79 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +8 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.js +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/Dimensions.js +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +15 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +46 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.js +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +14 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +45 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +8 -1
- package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +3 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/types/index.js +2 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +71 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +18 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +49 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +47 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.js +46 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +71 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +18 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +49 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +47 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +51 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +46 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +19 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +50 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +19 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +50 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +8 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +17 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +48 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +12 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +43 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
- package/dist/serialization/resources/preEncounter/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +77 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +340 -19
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.js +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/Dimensions.js +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +15 -0
- package/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +46 -0
- package/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.js +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +14 -0
- package/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +45 -0
- package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +8 -1
- package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +3 -0
- package/serialization/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
- package/serialization/resources/feeSchedules/resources/v3/types/index.js +2 -0
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +71 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +18 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +49 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +47 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.js +46 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +1 -0
- package/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +45 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +71 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +18 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +49 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +47 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +51 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +46 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +4 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/index.js +17 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +19 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +50 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +19 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +50 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +8 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +44 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +45 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +44 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +17 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +48 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +12 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +43 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +45 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
- package/serialization/resources/preEncounter/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/index.js +2 -1
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +77 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -59,6 +59,9 @@ class V2 {
|
|
|
59
59
|
this._options = _options;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
+
* <Tip>Candid is deprecating support for this endpoint. It is instead recommended to use [Candid's Stedi passthrough endpoint](https://docs.joincandidhealth.com/api-reference/eligibility-checks/v-1/post).
|
|
63
|
+
* For assistance with the transition, please reference the [Transitioning to Candid's New Eligibility Endpoint](https://support.joincandidhealth.com/hc/en-us/articles/34918552872980) document in the Candid Support Center.</Tip>
|
|
64
|
+
*
|
|
62
65
|
* This API is a wrapper around Change Healthcare's eligibility API. Below are some helpful documentation links:
|
|
63
66
|
*
|
|
64
67
|
* - [Change Healthcare - Guides: Contents of the Eligibility Request Body](https://developers.changehealthcare.com/eligibilityandclaims/docs/contents-of-the-eligibility-request-body)
|
|
@@ -88,7 +91,7 @@ class V2 {
|
|
|
88
91
|
const _response = yield core.fetcher({
|
|
89
92
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/eligibility/v2"),
|
|
90
93
|
method: "POST",
|
|
91
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
94
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
92
95
|
contentType: "application/json",
|
|
93
96
|
requestType: "json",
|
|
94
97
|
body: request,
|
|
@@ -123,6 +126,9 @@ class V2 {
|
|
|
123
126
|
});
|
|
124
127
|
}
|
|
125
128
|
/**
|
|
129
|
+
* <Tip>Candid is deprecating support for this endpoint. It is instead recommended to use [Candid's Stedi passthrough endpoint](https://docs.joincandidhealth.com/api-reference/eligibility-checks/v-1/post).
|
|
130
|
+
* For assistance with the transition, please reference the [Transitioning to Candid's New Eligibility Endpoint](https://support.joincandidhealth.com/hc/en-us/articles/34918552872980) document in the Candid Support Center.</Tip>
|
|
131
|
+
*
|
|
126
132
|
* **Availity has transitioned their GET endpoint to a POST endpoint. Candid has updated their pass-through integration to enable backwards compatibility for the GET endpoint so that customers do not have to immediately update their integrations.**
|
|
127
133
|
*
|
|
128
134
|
* **Candid recommends integrations with the [POST endpoint](https://docs.joincandidhealth.com/api-reference/eligibility/v-2/submit-eligibility-check-availity-post) to ensure the best possible integration experience. Given the transition, Availity’s documentation will be out of sync with this endpoint.**
|
|
@@ -153,7 +159,7 @@ class V2 {
|
|
|
153
159
|
const _response = yield core.fetcher({
|
|
154
160
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/eligibility/v2/availity"),
|
|
155
161
|
method: "GET",
|
|
156
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
162
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
157
163
|
contentType: "application/json",
|
|
158
164
|
requestType: "json",
|
|
159
165
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -187,6 +193,9 @@ class V2 {
|
|
|
187
193
|
});
|
|
188
194
|
}
|
|
189
195
|
/**
|
|
196
|
+
* <Tip>Candid is deprecating support for this endpoint. It is instead recommended to use [Candid's Stedi passthrough endpoint](https://docs.joincandidhealth.com/api-reference/eligibility-checks/v-1/post).
|
|
197
|
+
* For assistance with the transition, please reference the [Transitioning to Candid's New Eligibility Endpoint](https://support.joincandidhealth.com/hc/en-us/articles/34918552872980) document in the Candid Support Center.</Tip>
|
|
198
|
+
*
|
|
190
199
|
* If you'd like access to this endpoint, please reach out to support@joincandidhealth.com with the subject line "Action: Activate Availity Eligibility API Endpoint
|
|
191
200
|
*
|
|
192
201
|
* This API is a wrapper around Availity's coverages API. Below are some helpful documentation links:
|
|
@@ -216,7 +225,7 @@ class V2 {
|
|
|
216
225
|
const _response = yield core.fetcher({
|
|
217
226
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/eligibility/v2/availity"),
|
|
218
227
|
method: "POST",
|
|
219
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
228
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
220
229
|
contentType: "application/json",
|
|
221
230
|
requestType: "json",
|
|
222
231
|
body: request,
|
|
@@ -86,7 +86,7 @@ class V2 {
|
|
|
86
86
|
const _response = yield core.fetcher({
|
|
87
87
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
88
88
|
method: "PATCH",
|
|
89
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
89
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
requestType: "json",
|
|
92
92
|
body: serializers.encounterProviders.v2.ReferringProviderUpdate.jsonOrThrow(request, {
|
|
@@ -157,7 +157,7 @@ class V2 {
|
|
|
157
157
|
const _response = yield core.fetcher({
|
|
158
158
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/initial-referring-provider`),
|
|
159
159
|
method: "PATCH",
|
|
160
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
160
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
161
161
|
contentType: "application/json",
|
|
162
162
|
requestType: "json",
|
|
163
163
|
body: serializers.encounterProviders.v2.InitialReferringProviderUpdate.jsonOrThrow(request, {
|
|
@@ -228,7 +228,7 @@ class V2 {
|
|
|
228
228
|
const _response = yield core.fetcher({
|
|
229
229
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/supervising-provider`),
|
|
230
230
|
method: "PATCH",
|
|
231
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
231
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
232
232
|
contentType: "application/json",
|
|
233
233
|
requestType: "json",
|
|
234
234
|
body: serializers.encounterProviders.v2.SupervisingProviderUpdate.jsonOrThrow(request, {
|
|
@@ -299,7 +299,7 @@ class V2 {
|
|
|
299
299
|
const _response = yield core.fetcher({
|
|
300
300
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/ordering-provider`),
|
|
301
301
|
method: "PATCH",
|
|
302
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
302
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
303
303
|
contentType: "application/json",
|
|
304
304
|
requestType: "json",
|
|
305
305
|
body: serializers.encounterProviders.v2.OrderingProviderUpdate.jsonOrThrow(request, {
|
|
@@ -369,7 +369,7 @@ class V2 {
|
|
|
369
369
|
const _response = yield core.fetcher({
|
|
370
370
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-referring-provider`),
|
|
371
371
|
method: "POST",
|
|
372
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
372
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
373
373
|
contentType: "application/json",
|
|
374
374
|
requestType: "json",
|
|
375
375
|
body: serializers.encounterProviders.v2.ReferringProvider.jsonOrThrow(request, {
|
|
@@ -441,7 +441,7 @@ class V2 {
|
|
|
441
441
|
const _response = yield core.fetcher({
|
|
442
442
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-initial-referring-provider`),
|
|
443
443
|
method: "POST",
|
|
444
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
444
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
445
445
|
contentType: "application/json",
|
|
446
446
|
requestType: "json",
|
|
447
447
|
body: serializers.encounterProviders.v2.InitialReferringProvider.jsonOrThrow(request, {
|
|
@@ -514,7 +514,7 @@ class V2 {
|
|
|
514
514
|
const _response = yield core.fetcher({
|
|
515
515
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-supervising-provider`),
|
|
516
516
|
method: "POST",
|
|
517
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
517
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
518
518
|
contentType: "application/json",
|
|
519
519
|
requestType: "json",
|
|
520
520
|
body: serializers.encounterProviders.v2.SupervisingProvider.jsonOrThrow(request, {
|
|
@@ -586,7 +586,7 @@ class V2 {
|
|
|
586
586
|
const _response = yield core.fetcher({
|
|
587
587
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/create-ordering-provider`),
|
|
588
588
|
method: "POST",
|
|
589
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
589
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
590
590
|
contentType: "application/json",
|
|
591
591
|
requestType: "json",
|
|
592
592
|
body: serializers.encounterProviders.v2.OrderingProvider.jsonOrThrow(request, {
|
|
@@ -642,7 +642,7 @@ class V2 {
|
|
|
642
642
|
const _response = yield core.fetcher({
|
|
643
643
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/referring-provider`),
|
|
644
644
|
method: "DELETE",
|
|
645
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
645
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
646
646
|
contentType: "application/json",
|
|
647
647
|
requestType: "json",
|
|
648
648
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -689,7 +689,7 @@ class V2 {
|
|
|
689
689
|
const _response = yield core.fetcher({
|
|
690
690
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/initial-referring-provider`),
|
|
691
691
|
method: "DELETE",
|
|
692
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
692
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
693
693
|
contentType: "application/json",
|
|
694
694
|
requestType: "json",
|
|
695
695
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -736,7 +736,7 @@ class V2 {
|
|
|
736
736
|
const _response = yield core.fetcher({
|
|
737
737
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/supervising-provider`),
|
|
738
738
|
method: "DELETE",
|
|
739
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
739
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
740
740
|
contentType: "application/json",
|
|
741
741
|
requestType: "json",
|
|
742
742
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -783,7 +783,7 @@ class V2 {
|
|
|
783
783
|
const _response = yield core.fetcher({
|
|
784
784
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/ordering-provider`),
|
|
785
785
|
method: "DELETE",
|
|
786
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
786
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
787
787
|
contentType: "application/json",
|
|
788
788
|
requestType: "json",
|
|
789
789
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -143,7 +143,7 @@ class V4 {
|
|
|
143
143
|
const _response = yield core.fetcher({
|
|
144
144
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4"),
|
|
145
145
|
method: "GET",
|
|
146
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
146
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
queryParameters: _queryParams,
|
|
149
149
|
requestType: "json",
|
|
@@ -181,7 +181,7 @@ class V4 {
|
|
|
181
181
|
const _response = yield core.fetcher({
|
|
182
182
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
183
183
|
method: "GET",
|
|
184
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
184
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
185
185
|
contentType: "application/json",
|
|
186
186
|
requestType: "json",
|
|
187
187
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -544,7 +544,7 @@ class V4 {
|
|
|
544
544
|
const _response = yield core.fetcher({
|
|
545
545
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4"),
|
|
546
546
|
method: "POST",
|
|
547
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
547
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
548
548
|
contentType: "application/json",
|
|
549
549
|
requestType: "json",
|
|
550
550
|
body: serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -821,7 +821,7 @@ class V4 {
|
|
|
821
821
|
const _response = yield core.fetcher({
|
|
822
822
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4/create-from-pre-encounter"),
|
|
823
823
|
method: "POST",
|
|
824
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
824
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
825
825
|
contentType: "application/json",
|
|
826
826
|
requestType: "json",
|
|
827
827
|
body: serializers.encounters.v4.EncounterCreateFromPreEncounter.jsonOrThrow(request, {
|
|
@@ -886,7 +886,7 @@ class V4 {
|
|
|
886
886
|
const _response = yield core.fetcher({
|
|
887
887
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
888
888
|
method: "PATCH",
|
|
889
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
889
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
890
890
|
contentType: "application/json",
|
|
891
891
|
requestType: "json",
|
|
892
892
|
body: serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -84,7 +84,7 @@ class V1 {
|
|
|
84
84
|
const _response = yield core.fetcher({
|
|
85
85
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/expected-network-status/v1"),
|
|
86
86
|
method: "POST",
|
|
87
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
87
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
requestType: "json",
|
|
90
90
|
body: serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -101,7 +101,7 @@ class V2 {
|
|
|
101
101
|
const _response = yield core.fetcher({
|
|
102
102
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/expected-network-status/v2/compute/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(renderingProviderId))}`),
|
|
103
103
|
method: "POST",
|
|
104
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
104
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
requestType: "json",
|
|
107
107
|
body: serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
|
|
@@ -186,7 +186,7 @@ class V2 {
|
|
|
186
186
|
const _response = yield core.fetcher({
|
|
187
187
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/expected-network-status/v2/compute"),
|
|
188
188
|
method: "POST",
|
|
189
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
189
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
190
190
|
contentType: "application/json",
|
|
191
191
|
requestType: "json",
|
|
192
192
|
body: serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
|
|
@@ -92,7 +92,7 @@ class V3 {
|
|
|
92
92
|
const _response = yield core.fetcher({
|
|
93
93
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/exports/v3"),
|
|
94
94
|
method: "GET",
|
|
95
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
95
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
queryParameters: _queryParams,
|
|
98
98
|
requestType: "json",
|
|
@@ -87,7 +87,7 @@ class V1 {
|
|
|
87
87
|
const _response = yield core.fetcher({
|
|
88
88
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/external-payment-account-config/v1"),
|
|
89
89
|
method: "GET",
|
|
90
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
90
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
91
91
|
contentType: "application/json",
|
|
92
92
|
queryParameters: _queryParams,
|
|
93
93
|
requestType: "json",
|
|
@@ -64,6 +64,7 @@ export declare class V3 {
|
|
|
64
64
|
* licenseTypes: "MD",
|
|
65
65
|
* facilityTypeCodes: "01",
|
|
66
66
|
* networkTypes: "12",
|
|
67
|
+
* payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
67
68
|
* cptCode: "string",
|
|
68
69
|
* modifiers: "22"
|
|
69
70
|
* })
|
|
@@ -87,6 +88,7 @@ export declare class V3 {
|
|
|
87
88
|
* licenseTypes: "MD",
|
|
88
89
|
* facilityTypeCodes: "01",
|
|
89
90
|
* networkTypes: "12",
|
|
91
|
+
* payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
90
92
|
* cptCode: "string",
|
|
91
93
|
* modifiers: "22"
|
|
92
94
|
* })
|
|
@@ -121,6 +123,7 @@ export declare class V3 {
|
|
|
121
123
|
* licenseTypes: new Set(["MD"]),
|
|
122
124
|
* facilityTypeCodes: new Set(["01"]),
|
|
123
125
|
* networkTypes: new Set(["12"]),
|
|
126
|
+
* payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
124
127
|
* cptCode: "string",
|
|
125
128
|
* modifiers: new Set(["22"])
|
|
126
129
|
* },
|
|
@@ -73,7 +73,7 @@ class V3 {
|
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
76
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -128,7 +128,7 @@ class V3 {
|
|
|
128
128
|
const _response = yield core.fetcher({
|
|
129
129
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}`),
|
|
130
130
|
method: "GET",
|
|
131
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
131
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
requestType: "json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -185,6 +185,7 @@ class V3 {
|
|
|
185
185
|
* licenseTypes: "MD",
|
|
186
186
|
* facilityTypeCodes: "01",
|
|
187
187
|
* networkTypes: "12",
|
|
188
|
+
* payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
188
189
|
* cptCode: "string",
|
|
189
190
|
* modifiers: "22"
|
|
190
191
|
* })
|
|
@@ -192,7 +193,7 @@ class V3 {
|
|
|
192
193
|
getMulti() {
|
|
193
194
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
194
195
|
var _a, _b;
|
|
195
|
-
const { pageToken, limit, activeDate, payerUuid, organizationBillingProviderId, states, zipCodes, licenseTypes, facilityTypeCodes, networkTypes, cptCode, modifiers, } = request;
|
|
196
|
+
const { pageToken, limit, activeDate, payerUuid, organizationBillingProviderId, states, zipCodes, licenseTypes, facilityTypeCodes, networkTypes, payerPlanGroupIds, cptCode, modifiers, } = request;
|
|
196
197
|
const _queryParams = {};
|
|
197
198
|
if (pageToken != null) {
|
|
198
199
|
_queryParams["page_token"] = pageToken;
|
|
@@ -255,6 +256,14 @@ class V3 {
|
|
|
255
256
|
});
|
|
256
257
|
}
|
|
257
258
|
}
|
|
259
|
+
if (payerPlanGroupIds != null) {
|
|
260
|
+
if (Array.isArray(payerPlanGroupIds)) {
|
|
261
|
+
_queryParams["payer_plan_group_ids"] = payerPlanGroupIds.map((item) => serializers.PayerPlanGroupId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
|
|
262
|
+
}
|
|
263
|
+
else {
|
|
264
|
+
_queryParams["payer_plan_group_ids"] = payerPlanGroupIds;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
258
267
|
if (cptCode != null) {
|
|
259
268
|
_queryParams["cpt_code"] = cptCode;
|
|
260
269
|
}
|
|
@@ -271,7 +280,7 @@ class V3 {
|
|
|
271
280
|
const _response = yield core.fetcher({
|
|
272
281
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
|
|
273
282
|
method: "GET",
|
|
274
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
283
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
275
284
|
contentType: "application/json",
|
|
276
285
|
queryParameters: _queryParams,
|
|
277
286
|
requestType: "json",
|
|
@@ -314,6 +323,7 @@ class V3 {
|
|
|
314
323
|
* licenseTypes: "MD",
|
|
315
324
|
* facilityTypeCodes: "01",
|
|
316
325
|
* networkTypes: "12",
|
|
326
|
+
* payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
317
327
|
* cptCode: "string",
|
|
318
328
|
* modifiers: "22"
|
|
319
329
|
* })
|
|
@@ -321,7 +331,7 @@ class V3 {
|
|
|
321
331
|
getUniqueValuesForDimension(request, requestOptions) {
|
|
322
332
|
return __awaiter(this, void 0, void 0, function* () {
|
|
323
333
|
var _a, _b;
|
|
324
|
-
const { pageToken, limit, pivotDimension, payerUuid, organizationBillingProviderId, states, zipCodes, licenseTypes, facilityTypeCodes, networkTypes, cptCode, modifiers, } = request;
|
|
334
|
+
const { pageToken, limit, pivotDimension, payerUuid, organizationBillingProviderId, states, zipCodes, licenseTypes, facilityTypeCodes, networkTypes, payerPlanGroupIds, cptCode, modifiers, } = request;
|
|
325
335
|
const _queryParams = {};
|
|
326
336
|
if (pageToken != null) {
|
|
327
337
|
_queryParams["page_token"] = pageToken;
|
|
@@ -384,6 +394,14 @@ class V3 {
|
|
|
384
394
|
});
|
|
385
395
|
}
|
|
386
396
|
}
|
|
397
|
+
if (payerPlanGroupIds != null) {
|
|
398
|
+
if (Array.isArray(payerPlanGroupIds)) {
|
|
399
|
+
_queryParams["payer_plan_group_ids"] = payerPlanGroupIds.map((item) => serializers.PayerPlanGroupId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
|
|
400
|
+
}
|
|
401
|
+
else {
|
|
402
|
+
_queryParams["payer_plan_group_ids"] = payerPlanGroupIds;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
387
405
|
if (cptCode != null) {
|
|
388
406
|
_queryParams["cpt_code"] = cptCode;
|
|
389
407
|
}
|
|
@@ -400,7 +418,7 @@ class V3 {
|
|
|
400
418
|
const _response = yield core.fetcher({
|
|
401
419
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/unique-dimension-values"),
|
|
402
420
|
method: "GET",
|
|
403
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
421
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
404
422
|
contentType: "application/json",
|
|
405
423
|
queryParameters: _queryParams,
|
|
406
424
|
requestType: "json",
|
|
@@ -440,7 +458,7 @@ class V3 {
|
|
|
440
458
|
const _response = yield core.fetcher({
|
|
441
459
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/history`),
|
|
442
460
|
method: "GET",
|
|
443
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
461
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
444
462
|
contentType: "application/json",
|
|
445
463
|
requestType: "json",
|
|
446
464
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -497,6 +515,7 @@ class V3 {
|
|
|
497
515
|
* licenseTypes: new Set(["MD"]),
|
|
498
516
|
* facilityTypeCodes: new Set(["01"]),
|
|
499
517
|
* networkTypes: new Set(["12"]),
|
|
518
|
+
* payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
500
519
|
* cptCode: "string",
|
|
501
520
|
* modifiers: new Set(["22"])
|
|
502
521
|
* },
|
|
@@ -514,7 +533,7 @@ class V3 {
|
|
|
514
533
|
const _response = yield core.fetcher({
|
|
515
534
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
|
|
516
535
|
method: "POST",
|
|
517
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
536
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
518
537
|
contentType: "application/json",
|
|
519
538
|
requestType: "json",
|
|
520
539
|
body: serializers.feeSchedules.v3.FeeScheduleUploadRequest.jsonOrThrow(request, {
|
|
@@ -571,7 +590,7 @@ class V3 {
|
|
|
571
590
|
const _response = yield core.fetcher({
|
|
572
591
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/${encodeURIComponent(version)}`),
|
|
573
592
|
method: "DELETE",
|
|
574
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
593
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
575
594
|
contentType: "application/json",
|
|
576
595
|
requestType: "json",
|
|
577
596
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -619,7 +638,7 @@ class V3 {
|
|
|
619
638
|
const _response = yield core.fetcher({
|
|
620
639
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold/default"),
|
|
621
640
|
method: "GET",
|
|
622
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
641
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
623
642
|
contentType: "application/json",
|
|
624
643
|
requestType: "json",
|
|
625
644
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -668,7 +687,7 @@ class V3 {
|
|
|
668
687
|
const _response = yield core.fetcher({
|
|
669
688
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold"),
|
|
670
689
|
method: "GET",
|
|
671
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
690
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
672
691
|
contentType: "application/json",
|
|
673
692
|
queryParameters: _queryParams,
|
|
674
693
|
requestType: "json",
|
|
@@ -713,7 +732,7 @@ class V3 {
|
|
|
713
732
|
const _response = yield core.fetcher({
|
|
714
733
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/payer-threshold/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
|
|
715
734
|
method: "PUT",
|
|
716
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
735
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
717
736
|
contentType: "application/json",
|
|
718
737
|
requestType: "json",
|
|
719
738
|
body: serializers.feeSchedules.v3.PayerThreshold.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
16
16
|
* licenseTypes: new Set(["MD"]),
|
|
17
17
|
* facilityTypeCodes: new Set(["01"]),
|
|
18
18
|
* networkTypes: new Set(["12"]),
|
|
19
|
+
* payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
19
20
|
* cptCode: "string",
|
|
20
21
|
* modifiers: new Set(["22"])
|
|
21
22
|
* },
|
|
@@ -15,6 +15,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
15
15
|
* licenseTypes: "MD",
|
|
16
16
|
* facilityTypeCodes: "01",
|
|
17
17
|
* networkTypes: "12",
|
|
18
|
+
* payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
18
19
|
* cptCode: "string",
|
|
19
20
|
* modifiers: "22"
|
|
20
21
|
* }
|
|
@@ -33,6 +34,7 @@ export interface GetMultiRequest {
|
|
|
33
34
|
licenseTypes?: CandidApi.organizationProviders.v2.LicenseType | CandidApi.organizationProviders.v2.LicenseType[];
|
|
34
35
|
facilityTypeCodes?: CandidApi.FacilityTypeCode | CandidApi.FacilityTypeCode[];
|
|
35
36
|
networkTypes?: CandidApi.NetworkType | CandidApi.NetworkType[];
|
|
37
|
+
payerPlanGroupIds?: CandidApi.PayerPlanGroupId | CandidApi.PayerPlanGroupId[];
|
|
36
38
|
cptCode?: string;
|
|
37
39
|
modifiers?: CandidApi.ProcedureModifier | CandidApi.ProcedureModifier[];
|
|
38
40
|
}
|
|
@@ -15,6 +15,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
15
15
|
* licenseTypes: "MD",
|
|
16
16
|
* facilityTypeCodes: "01",
|
|
17
17
|
* networkTypes: "12",
|
|
18
|
+
* payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
18
19
|
* cptCode: "string",
|
|
19
20
|
* modifiers: "22"
|
|
20
21
|
* }
|
|
@@ -36,6 +37,7 @@ export interface GetUniqueDimensionValuesRequest {
|
|
|
36
37
|
licenseTypes?: CandidApi.organizationProviders.v2.LicenseType | CandidApi.organizationProviders.v2.LicenseType[];
|
|
37
38
|
facilityTypeCodes?: CandidApi.FacilityTypeCode | CandidApi.FacilityTypeCode[];
|
|
38
39
|
networkTypes?: CandidApi.NetworkType | CandidApi.NetworkType[];
|
|
40
|
+
payerPlanGroupIds?: CandidApi.PayerPlanGroupId | CandidApi.PayerPlanGroupId[];
|
|
39
41
|
cptCode?: string;
|
|
40
42
|
modifiers?: CandidApi.ProcedureModifier | CandidApi.ProcedureModifier[];
|
|
41
43
|
}
|
|
@@ -15,4 +15,5 @@ export interface DimensionMatch {
|
|
|
15
15
|
licenseType: CandidApi.feeSchedules.v3.MatchLicenseType;
|
|
16
16
|
facilityTypeCode: CandidApi.feeSchedules.v3.MatchFacilityTypeCode;
|
|
17
17
|
networkTypes: CandidApi.feeSchedules.v3.MatchNetworkTypes;
|
|
18
|
+
payerPlanGroups: CandidApi.feeSchedules.v3.MatchPayerPlanGroups;
|
|
18
19
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
/**
|
|
6
|
-
* Dimension values that qualify a rate. For the optional dimensions, a null value signifies "all apply". For set-type dimensions, an empty set signifies "all apply".
|
|
6
|
+
* Dimension values that qualify a rate. For the optional dimensions, a null value signifies "all apply". For set-type dimensions, an empty set signifies "all apply". Only one of, but not both, of `network_types` and `payer_plan_group_id` may be populated.
|
|
7
7
|
*/
|
|
8
8
|
export interface Dimensions {
|
|
9
9
|
payerUuid: CandidApi.payers.v3.PayerUuid;
|
|
@@ -13,6 +13,7 @@ export interface Dimensions {
|
|
|
13
13
|
licenseTypes: Set<CandidApi.organizationProviders.v2.LicenseType>;
|
|
14
14
|
facilityTypeCodes: Set<CandidApi.FacilityTypeCode>;
|
|
15
15
|
networkTypes: Set<CandidApi.NetworkType>;
|
|
16
|
+
payerPlanGroupIds: Set<CandidApi.PayerPlanGroupId>;
|
|
16
17
|
cptCode: string;
|
|
17
18
|
modifiers: Set<CandidApi.ProcedureModifier>;
|
|
18
19
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* Match information for a payer plan group
|
|
7
|
+
*/
|
|
8
|
+
export interface MatchPayerPlanGroups {
|
|
9
|
+
value: Set<CandidApi.PayerPlanGroupId>;
|
|
10
|
+
match: boolean;
|
|
11
|
+
explanation: string;
|
|
12
|
+
}
|