candidhealth 0.39.6 → 0.39.7
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.js +3 -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 +62 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +136 -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.js +3 -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 +62 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +136 -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 +330 -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
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.v1 = void 0;
|
|
37
|
+
exports.v1 = __importStar(require("./v1"));
|
package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../../../core";
|
|
6
|
+
import * as CandidApi from "../../../../../../../index";
|
|
7
|
+
export declare namespace V1 {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
}
|
|
14
|
+
interface RequestOptions {
|
|
15
|
+
/** The maximum time to wait for a response in seconds. */
|
|
16
|
+
timeoutInSeconds?: number;
|
|
17
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
18
|
+
maxRetries?: number;
|
|
19
|
+
/** A hook to abort the request. */
|
|
20
|
+
abortSignal?: AbortSignal;
|
|
21
|
+
/** Additional headers to include in the request. */
|
|
22
|
+
headers?: Record<string, string>;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export declare class V1 {
|
|
26
|
+
protected readonly _options: V1.Options;
|
|
27
|
+
constructor(_options?: V1.Options);
|
|
28
|
+
/**
|
|
29
|
+
* Sends real-time eligibility checks to payers through Stedi.
|
|
30
|
+
*
|
|
31
|
+
* @param {CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRequest} request
|
|
32
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* await client.preEncounter.eligibilityChecks.v1.post({
|
|
36
|
+
* payerId: "string",
|
|
37
|
+
* provider: {
|
|
38
|
+
* firstName: "string",
|
|
39
|
+
* lastName: "string",
|
|
40
|
+
* npi: "string"
|
|
41
|
+
* },
|
|
42
|
+
* subscriber: {
|
|
43
|
+
* memberId: "string",
|
|
44
|
+
* firstName: "string",
|
|
45
|
+
* lastName: "string",
|
|
46
|
+
* dateOfBirth: "2023-01-15"
|
|
47
|
+
* },
|
|
48
|
+
* dependent: {
|
|
49
|
+
* memberId: "string",
|
|
50
|
+
* firstName: "string",
|
|
51
|
+
* lastName: "string",
|
|
52
|
+
* dateOfBirth: "2023-01-15"
|
|
53
|
+
* },
|
|
54
|
+
* encounter: {
|
|
55
|
+
* dateOfService: "2023-01-15",
|
|
56
|
+
* serviceTypeCodes: ["string"]
|
|
57
|
+
* }
|
|
58
|
+
* })
|
|
59
|
+
*/
|
|
60
|
+
post(request: CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.eligibilityChecks.v1.EligibilityResponse, CandidApi.preEncounter.eligibilityChecks.v1.post.Error>>;
|
|
61
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
+
};
|
|
50
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
+
exports.V1 = void 0;
|
|
52
|
+
const environments = __importStar(require("../../../../../../../../environments"));
|
|
53
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
54
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
55
|
+
const serializers = __importStar(require("../../../../../../../../serialization/index"));
|
|
56
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
57
|
+
class V1 {
|
|
58
|
+
constructor(_options = {}) {
|
|
59
|
+
this._options = _options;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Sends real-time eligibility checks to payers through Stedi.
|
|
63
|
+
*
|
|
64
|
+
* @param {CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRequest} request
|
|
65
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.preEncounter.eligibilityChecks.v1.post({
|
|
69
|
+
* payerId: "string",
|
|
70
|
+
* provider: {
|
|
71
|
+
* firstName: "string",
|
|
72
|
+
* lastName: "string",
|
|
73
|
+
* npi: "string"
|
|
74
|
+
* },
|
|
75
|
+
* subscriber: {
|
|
76
|
+
* memberId: "string",
|
|
77
|
+
* firstName: "string",
|
|
78
|
+
* lastName: "string",
|
|
79
|
+
* dateOfBirth: "2023-01-15"
|
|
80
|
+
* },
|
|
81
|
+
* dependent: {
|
|
82
|
+
* memberId: "string",
|
|
83
|
+
* firstName: "string",
|
|
84
|
+
* lastName: "string",
|
|
85
|
+
* dateOfBirth: "2023-01-15"
|
|
86
|
+
* },
|
|
87
|
+
* encounter: {
|
|
88
|
+
* dateOfService: "2023-01-15",
|
|
89
|
+
* serviceTypeCodes: ["string"]
|
|
90
|
+
* }
|
|
91
|
+
* })
|
|
92
|
+
*/
|
|
93
|
+
post(request, requestOptions) {
|
|
94
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
+
var _a, _b;
|
|
96
|
+
const _response = yield core.fetcher({
|
|
97
|
+
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).preEncounter, "/eligibility-checks/v1"),
|
|
98
|
+
method: "POST",
|
|
99
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
100
|
+
contentType: "application/json",
|
|
101
|
+
requestType: "json",
|
|
102
|
+
body: serializers.preEncounter.eligibilityChecks.v1.EligibilityRequest.jsonOrThrow(request, {
|
|
103
|
+
unrecognizedObjectKeys: "strip",
|
|
104
|
+
}),
|
|
105
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
106
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
107
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
108
|
+
});
|
|
109
|
+
if (_response.ok) {
|
|
110
|
+
return {
|
|
111
|
+
ok: true,
|
|
112
|
+
body: serializers.preEncounter.eligibilityChecks.v1.EligibilityResponse.parseOrThrow(_response.body, {
|
|
113
|
+
unrecognizedObjectKeys: "passthrough",
|
|
114
|
+
allowUnrecognizedUnionMembers: true,
|
|
115
|
+
allowUnrecognizedEnumValues: true,
|
|
116
|
+
breadcrumbsPrefix: ["response"],
|
|
117
|
+
}),
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
return {
|
|
121
|
+
ok: false,
|
|
122
|
+
error: CandidApi.preEncounter.eligibilityChecks.v1.post.Error._unknown(_response.error),
|
|
123
|
+
};
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
_getAuthorizationHeader() {
|
|
127
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
128
|
+
const bearer = yield core.Supplier.get(this._options.token);
|
|
129
|
+
if (bearer != null) {
|
|
130
|
+
return `Bearer ${bearer}`;
|
|
131
|
+
}
|
|
132
|
+
return undefined;
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.V1 = V1;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as post from "./post";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.post = void 0;
|
|
37
|
+
exports.post = __importStar(require("./post"));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../core";
|
|
6
|
+
export type Error = CandidApi.preEncounter.eligibilityChecks.v1.post.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.eligibilityChecks.v1.post.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.eligibilityChecks.v1.post.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.eligibilityChecks.v1.post.Error, visitor: CandidApi.preEncounter.eligibilityChecks.v1.post.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Error = void 0;
|
|
40
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
41
|
+
exports.Error = {
|
|
42
|
+
_unknown: (fetcherError) => {
|
|
43
|
+
return {
|
|
44
|
+
errorName: undefined,
|
|
45
|
+
content: fetcherError,
|
|
46
|
+
_visit: function (visitor) {
|
|
47
|
+
return CandidApi.preEncounter.eligibilityChecks.v1.post.Error._visit(this, visitor);
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
_visit: (value, visitor) => {
|
|
52
|
+
switch (value.errorName) {
|
|
53
|
+
default:
|
|
54
|
+
return visitor._other(value);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
export interface EligibilityCheck {
|
|
6
|
+
errors?: unknown;
|
|
7
|
+
request?: CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRequest;
|
|
8
|
+
response?: unknown;
|
|
9
|
+
parsedResponse?: CandidApi.preEncounter.eligibilityChecks.v1.ParsedResponse;
|
|
10
|
+
requestCorrections?: CandidApi.preEncounter.eligibilityChecks.v1.RequestCorrection[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* An object representing the data for an eligibility request.
|
|
7
|
+
*/
|
|
8
|
+
export interface EligibilityRequest {
|
|
9
|
+
/** Supported payer ID values can be found [here](https://www.stedi.com/healthcare/network). */
|
|
10
|
+
payerId: string;
|
|
11
|
+
provider: CandidApi.preEncounter.eligibilityChecks.v1.Provider;
|
|
12
|
+
/** The primary policyholder for the insurance plan or a dependent with a unique member ID. <Note>If a dependent has a unique member ID, include their information here and leave dependent undefined.</Note> */
|
|
13
|
+
subscriber: CandidApi.preEncounter.coverages.v1.MemberInfo;
|
|
14
|
+
/** <Note>If a dependent has a unique member ID, include their information as subscriber and leave this field undefined.</Note> */
|
|
15
|
+
dependent?: CandidApi.preEncounter.coverages.v1.MemberInfo;
|
|
16
|
+
encounter?: CandidApi.preEncounter.eligibilityChecks.v1.Encounter;
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* An object representing the data for an eligibility response.
|
|
7
|
+
*/
|
|
8
|
+
export type EligibilityResponse = CandidApi.preEncounter.eligibilityChecks.v1.EligibilityCheck;
|
package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface Encounter {
|
|
5
|
+
/** Defaults to the current date if not provided. */
|
|
6
|
+
dateOfService?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Defaults to HealthBenefitPlanCoverage (30) if not provided.
|
|
9
|
+
* <Note>Not all payers support multiple service type codes, so it is recommended to only include a single code per request.</Note>
|
|
10
|
+
*/
|
|
11
|
+
serviceTypeCodes?: string[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
export interface ParsedResponse {
|
|
6
|
+
eligibilityStatus: CandidApi.preEncounter.coverages.v1.EligibilityStatus;
|
|
7
|
+
planMetadata?: CandidApi.preEncounter.coverages.v1.PlanMetadata;
|
|
8
|
+
benefits?: CandidApi.preEncounter.coverages.v1.CoverageBenefits;
|
|
9
|
+
}
|
package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
export type Provider = CandidApi.preEncounter.eligibilityChecks.v1.IndividualProvider | CandidApi.preEncounter.eligibilityChecks.v1.OrganizationProvider;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./IndividualProvider";
|
|
2
|
+
export * from "./OrganizationProvider";
|
|
3
|
+
export * from "./Provider";
|
|
4
|
+
export * from "./Encounter";
|
|
5
|
+
export * from "./EligibilityRequest";
|
|
6
|
+
export * from "./RequestCorrection";
|
|
7
|
+
export * from "./ParsedResponse";
|
|
8
|
+
export * from "./EligibilityCheck";
|
|
9
|
+
export * from "./EligibilityResponse";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./IndividualProvider"), exports);
|
|
18
|
+
__exportStar(require("./OrganizationProvider"), exports);
|
|
19
|
+
__exportStar(require("./Provider"), exports);
|
|
20
|
+
__exportStar(require("./Encounter"), exports);
|
|
21
|
+
__exportStar(require("./EligibilityRequest"), exports);
|
|
22
|
+
__exportStar(require("./RequestCorrection"), exports);
|
|
23
|
+
__exportStar(require("./ParsedResponse"), exports);
|
|
24
|
+
__exportStar(require("./EligibilityCheck"), exports);
|
|
25
|
+
__exportStar(require("./EligibilityResponse"), exports);
|
|
@@ -36,9 +36,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.common = exports.tags = exports.patients = exports.notes = exports.lists = exports.coverages = exports.appointments = void 0;
|
|
39
|
+
exports.common = exports.tags = exports.patients = exports.notes = exports.lists = exports.eligibilityChecks = exports.coverages = exports.appointments = void 0;
|
|
40
40
|
exports.appointments = __importStar(require("./appointments"));
|
|
41
41
|
exports.coverages = __importStar(require("./coverages"));
|
|
42
|
+
exports.eligibilityChecks = __importStar(require("./eligibilityChecks"));
|
|
42
43
|
exports.lists = __importStar(require("./lists"));
|
|
43
44
|
exports.notes = __importStar(require("./notes"));
|
|
44
45
|
exports.patients = __importStar(require("./patients"));
|
|
@@ -98,7 +98,7 @@ class V1 {
|
|
|
98
98
|
const _response = yield core.fetcher({
|
|
99
99
|
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).preEncounter, "/lists/v1/patient"),
|
|
100
100
|
method: "GET",
|
|
101
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
101
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
102
102
|
contentType: "application/json",
|
|
103
103
|
queryParameters: _queryParams,
|
|
104
104
|
requestType: "json",
|
|
@@ -177,7 +177,7 @@ class V1 {
|
|
|
177
177
|
const _response = yield core.fetcher({
|
|
178
178
|
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).preEncounter, "/lists/v1/appointment"),
|
|
179
179
|
method: "GET",
|
|
180
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
180
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
181
181
|
contentType: "application/json",
|
|
182
182
|
queryParameters: _queryParams,
|
|
183
183
|
requestType: "json",
|
package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../../index";
|
|
5
5
|
export interface AppointmentListItem {
|
|
6
6
|
appointment: CandidApi.preEncounter.appointments.v1.Appointment;
|
|
7
|
-
patient: CandidApi.preEncounter.patients.v1.
|
|
7
|
+
patient: CandidApi.preEncounter.patients.v1.MutablePatientWithMrn;
|
|
8
8
|
primaryCoverage?: CandidApi.preEncounter.coverages.v1.MutableCoverage;
|
|
9
9
|
primaryServiceType?: CandidApi.preEncounter.appointments.v1.UniversalServiceIdentifier;
|
|
10
10
|
}
|