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
|
@@ -6,10 +6,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.PreEncounter = void 0;
|
|
7
7
|
const Client_1 = require("../resources/appointments/client/Client");
|
|
8
8
|
const Client_2 = require("../resources/coverages/client/Client");
|
|
9
|
-
const Client_3 = require("../resources/
|
|
10
|
-
const Client_4 = require("../resources/
|
|
11
|
-
const Client_5 = require("../resources/
|
|
12
|
-
const Client_6 = require("../resources/
|
|
9
|
+
const Client_3 = require("../resources/eligibilityChecks/client/Client");
|
|
10
|
+
const Client_4 = require("../resources/lists/client/Client");
|
|
11
|
+
const Client_5 = require("../resources/notes/client/Client");
|
|
12
|
+
const Client_6 = require("../resources/patients/client/Client");
|
|
13
|
+
const Client_7 = require("../resources/tags/client/Client");
|
|
13
14
|
class PreEncounter {
|
|
14
15
|
constructor(_options = {}) {
|
|
15
16
|
this._options = _options;
|
|
@@ -22,21 +23,25 @@ class PreEncounter {
|
|
|
22
23
|
var _a;
|
|
23
24
|
return ((_a = this._coverages) !== null && _a !== void 0 ? _a : (this._coverages = new Client_2.Coverages(this._options)));
|
|
24
25
|
}
|
|
26
|
+
get eligibilityChecks() {
|
|
27
|
+
var _a;
|
|
28
|
+
return ((_a = this._eligibilityChecks) !== null && _a !== void 0 ? _a : (this._eligibilityChecks = new Client_3.EligibilityChecks(this._options)));
|
|
29
|
+
}
|
|
25
30
|
get lists() {
|
|
26
31
|
var _a;
|
|
27
|
-
return ((_a = this._lists) !== null && _a !== void 0 ? _a : (this._lists = new
|
|
32
|
+
return ((_a = this._lists) !== null && _a !== void 0 ? _a : (this._lists = new Client_4.Lists(this._options)));
|
|
28
33
|
}
|
|
29
34
|
get notes() {
|
|
30
35
|
var _a;
|
|
31
|
-
return ((_a = this._notes) !== null && _a !== void 0 ? _a : (this._notes = new
|
|
36
|
+
return ((_a = this._notes) !== null && _a !== void 0 ? _a : (this._notes = new Client_5.Notes(this._options)));
|
|
32
37
|
}
|
|
33
38
|
get patients() {
|
|
34
39
|
var _a;
|
|
35
|
-
return ((_a = this._patients) !== null && _a !== void 0 ? _a : (this._patients = new
|
|
40
|
+
return ((_a = this._patients) !== null && _a !== void 0 ? _a : (this._patients = new Client_6.Patients(this._options)));
|
|
36
41
|
}
|
|
37
42
|
get tags() {
|
|
38
43
|
var _a;
|
|
39
|
-
return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new
|
|
44
|
+
return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new Client_7.Tags(this._options)));
|
|
40
45
|
}
|
|
41
46
|
}
|
|
42
47
|
exports.PreEncounter = PreEncounter;
|
|
@@ -57,7 +57,8 @@ export declare class V1 {
|
|
|
57
57
|
* }],
|
|
58
58
|
* addresses: [],
|
|
59
59
|
* period: {},
|
|
60
|
-
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
|
|
60
|
+
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
|
|
61
|
+
* fax: "string"
|
|
61
62
|
* },
|
|
62
63
|
* estimatedCopayCents: 1,
|
|
63
64
|
* estimatedPatientResponsibilityCents: 1,
|
|
@@ -70,6 +71,22 @@ export declare class V1 {
|
|
|
70
71
|
* })
|
|
71
72
|
*/
|
|
72
73
|
create(request: CandidApi.preEncounter.appointments.v1.MutableAppointment, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment, CandidApi.preEncounter.appointments.v1.create.Error>>;
|
|
74
|
+
/**
|
|
75
|
+
* Gets all Visits within a given time range. The return list is ordered by start_time ascending.
|
|
76
|
+
*
|
|
77
|
+
* @param {CandidApi.preEncounter.appointments.v1.VisitsRequest} request
|
|
78
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* await client.preEncounter.appointments.v1.getVisits({
|
|
82
|
+
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
83
|
+
* limit: 1,
|
|
84
|
+
* sortField: CandidApi.preEncounter.lists.v1.SortFieldString("string"),
|
|
85
|
+
* sortDirection: "asc",
|
|
86
|
+
* filters: CandidApi.preEncounter.lists.v1.FilterQueryString("string")
|
|
87
|
+
* })
|
|
88
|
+
*/
|
|
89
|
+
getVisits(request?: CandidApi.preEncounter.appointments.v1.VisitsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.VisitsPage, CandidApi.preEncounter.appointments.v1.getVisits.Error>>;
|
|
73
90
|
/**
|
|
74
91
|
* Gets an appointment.
|
|
75
92
|
*
|
|
@@ -124,7 +141,8 @@ export declare class V1 {
|
|
|
124
141
|
* }],
|
|
125
142
|
* addresses: [],
|
|
126
143
|
* period: {},
|
|
127
|
-
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
|
|
144
|
+
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
|
|
145
|
+
* fax: "string"
|
|
128
146
|
* },
|
|
129
147
|
* estimatedCopayCents: 1,
|
|
130
148
|
* estimatedPatientResponsibilityCents: 1,
|
|
@@ -90,7 +90,8 @@ class V1 {
|
|
|
90
90
|
* }],
|
|
91
91
|
* addresses: [],
|
|
92
92
|
* period: {},
|
|
93
|
-
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
|
|
93
|
+
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
|
|
94
|
+
* fax: "string"
|
|
94
95
|
* },
|
|
95
96
|
* estimatedCopayCents: 1,
|
|
96
97
|
* estimatedPatientResponsibilityCents: 1,
|
|
@@ -108,7 +109,7 @@ class V1 {
|
|
|
108
109
|
const _response = yield core.fetcher({
|
|
109
110
|
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, "/appointments/v1"),
|
|
110
111
|
method: "POST",
|
|
111
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
112
|
+
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),
|
|
112
113
|
contentType: "application/json",
|
|
113
114
|
requestType: "json",
|
|
114
115
|
body: serializers.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
|
|
@@ -150,6 +151,85 @@ class V1 {
|
|
|
150
151
|
};
|
|
151
152
|
});
|
|
152
153
|
}
|
|
154
|
+
/**
|
|
155
|
+
* Gets all Visits within a given time range. The return list is ordered by start_time ascending.
|
|
156
|
+
*
|
|
157
|
+
* @param {CandidApi.preEncounter.appointments.v1.VisitsRequest} request
|
|
158
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* await client.preEncounter.appointments.v1.getVisits({
|
|
162
|
+
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
163
|
+
* limit: 1,
|
|
164
|
+
* sortField: CandidApi.preEncounter.lists.v1.SortFieldString("string"),
|
|
165
|
+
* sortDirection: "asc",
|
|
166
|
+
* filters: CandidApi.preEncounter.lists.v1.FilterQueryString("string")
|
|
167
|
+
* })
|
|
168
|
+
*/
|
|
169
|
+
getVisits() {
|
|
170
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
171
|
+
var _a, _b, _c;
|
|
172
|
+
const { pageToken, limit, sortField, sortDirection, filters } = request;
|
|
173
|
+
const _queryParams = {};
|
|
174
|
+
if (pageToken != null) {
|
|
175
|
+
_queryParams["page_token"] = pageToken;
|
|
176
|
+
}
|
|
177
|
+
if (limit != null) {
|
|
178
|
+
_queryParams["limit"] = limit.toString();
|
|
179
|
+
}
|
|
180
|
+
if (sortField != null) {
|
|
181
|
+
_queryParams["sort_field"] = sortField;
|
|
182
|
+
}
|
|
183
|
+
if (sortDirection != null) {
|
|
184
|
+
_queryParams["sort_direction"] = serializers.preEncounter.SortDirection.jsonOrThrow(sortDirection, {
|
|
185
|
+
unrecognizedObjectKeys: "strip",
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
if (filters != null) {
|
|
189
|
+
_queryParams["filters"] = filters;
|
|
190
|
+
}
|
|
191
|
+
const _response = yield core.fetcher({
|
|
192
|
+
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, "/appointments/v1/visits"),
|
|
193
|
+
method: "GET",
|
|
194
|
+
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),
|
|
195
|
+
contentType: "application/json",
|
|
196
|
+
queryParameters: _queryParams,
|
|
197
|
+
requestType: "json",
|
|
198
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
199
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
200
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
201
|
+
});
|
|
202
|
+
if (_response.ok) {
|
|
203
|
+
return {
|
|
204
|
+
ok: true,
|
|
205
|
+
body: serializers.preEncounter.appointments.v1.VisitsPage.parseOrThrow(_response.body, {
|
|
206
|
+
unrecognizedObjectKeys: "passthrough",
|
|
207
|
+
allowUnrecognizedUnionMembers: true,
|
|
208
|
+
allowUnrecognizedEnumValues: true,
|
|
209
|
+
breadcrumbsPrefix: ["response"],
|
|
210
|
+
}),
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
if (_response.error.reason === "status-code") {
|
|
214
|
+
switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
|
|
215
|
+
case "BadRequestError":
|
|
216
|
+
return {
|
|
217
|
+
ok: false,
|
|
218
|
+
error: serializers.preEncounter.appointments.v1.getVisits.Error.parseOrThrow(_response.error.body, {
|
|
219
|
+
unrecognizedObjectKeys: "passthrough",
|
|
220
|
+
allowUnrecognizedUnionMembers: true,
|
|
221
|
+
allowUnrecognizedEnumValues: true,
|
|
222
|
+
breadcrumbsPrefix: ["response"],
|
|
223
|
+
}),
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
return {
|
|
228
|
+
ok: false,
|
|
229
|
+
error: CandidApi.preEncounter.appointments.v1.getVisits.Error._unknown(_response.error),
|
|
230
|
+
};
|
|
231
|
+
});
|
|
232
|
+
}
|
|
153
233
|
/**
|
|
154
234
|
* Gets an appointment.
|
|
155
235
|
*
|
|
@@ -165,7 +245,7 @@ class V1 {
|
|
|
165
245
|
const _response = yield core.fetcher({
|
|
166
246
|
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, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}`),
|
|
167
247
|
method: "GET",
|
|
168
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
248
|
+
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),
|
|
169
249
|
contentType: "application/json",
|
|
170
250
|
requestType: "json",
|
|
171
251
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -218,7 +298,7 @@ class V1 {
|
|
|
218
298
|
const _response = yield core.fetcher({
|
|
219
299
|
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, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/history`),
|
|
220
300
|
method: "GET",
|
|
221
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
301
|
+
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),
|
|
222
302
|
contentType: "application/json",
|
|
223
303
|
requestType: "json",
|
|
224
304
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -290,7 +370,8 @@ class V1 {
|
|
|
290
370
|
* }],
|
|
291
371
|
* addresses: [],
|
|
292
372
|
* period: {},
|
|
293
|
-
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
|
|
373
|
+
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
|
|
374
|
+
* fax: "string"
|
|
294
375
|
* },
|
|
295
376
|
* estimatedCopayCents: 1,
|
|
296
377
|
* estimatedPatientResponsibilityCents: 1,
|
|
@@ -308,7 +389,7 @@ class V1 {
|
|
|
308
389
|
const _response = yield core.fetcher({
|
|
309
390
|
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, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
310
391
|
method: "PUT",
|
|
311
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
392
|
+
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),
|
|
312
393
|
contentType: "application/json",
|
|
313
394
|
requestType: "json",
|
|
314
395
|
body: serializers.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
|
|
@@ -370,7 +451,7 @@ class V1 {
|
|
|
370
451
|
const _response = yield core.fetcher({
|
|
371
452
|
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, "/appointments/v1/updates/scan"),
|
|
372
453
|
method: "GET",
|
|
373
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
454
|
+
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),
|
|
374
455
|
contentType: "application/json",
|
|
375
456
|
queryParameters: _queryParams,
|
|
376
457
|
requestType: "json",
|
|
@@ -411,7 +492,7 @@ class V1 {
|
|
|
411
492
|
const _response = yield core.fetcher({
|
|
412
493
|
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, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
413
494
|
method: "DELETE",
|
|
414
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.
|
|
495
|
+
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),
|
|
415
496
|
contentType: "application/json",
|
|
416
497
|
requestType: "json",
|
|
417
498
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -0,0 +1,28 @@
|
|
|
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.appointments.v1.getVisits.Error.BadRequestError | CandidApi.preEncounter.appointments.v1.getVisits.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface BadRequestError extends _Utils {
|
|
9
|
+
errorName: "BadRequestError";
|
|
10
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.appointments.v1.getVisits.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
badRequestError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly badRequestError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.appointments.v1.getVisits.Error.BadRequestError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.appointments.v1.getVisits.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.appointments.v1.getVisits.Error, visitor: CandidApi.preEncounter.appointments.v1.getVisits.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
badRequestError: (value) => {
|
|
43
|
+
return {
|
|
44
|
+
content: value,
|
|
45
|
+
errorName: "BadRequestError",
|
|
46
|
+
_visit: function (visitor) {
|
|
47
|
+
return CandidApi.preEncounter.appointments.v1.getVisits.Error._visit(this, visitor);
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
_unknown: (fetcherError) => {
|
|
52
|
+
return {
|
|
53
|
+
errorName: undefined,
|
|
54
|
+
content: fetcherError,
|
|
55
|
+
_visit: function (visitor) {
|
|
56
|
+
return CandidApi.preEncounter.appointments.v1.getVisits.Error._visit(this, visitor);
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
_visit: (value, visitor) => {
|
|
61
|
+
switch (value.errorName) {
|
|
62
|
+
case "BadRequestError":
|
|
63
|
+
return visitor.badRequestError(value.content);
|
|
64
|
+
default:
|
|
65
|
+
return visitor._other(value);
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
};
|
|
@@ -36,9 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.deactivate = exports.scan = exports.update = exports.getHistory = exports.get = exports.create = void 0;
|
|
39
|
+
exports.deactivate = exports.scan = exports.update = exports.getHistory = exports.get = exports.getVisits = exports.create = void 0;
|
|
40
40
|
__exportStar(require("./requests"), exports);
|
|
41
41
|
exports.create = __importStar(require("./create"));
|
|
42
|
+
exports.getVisits = __importStar(require("./getVisits"));
|
|
42
43
|
exports.get = __importStar(require("./get"));
|
|
43
44
|
exports.getHistory = __importStar(require("./getHistory"));
|
|
44
45
|
exports.update = __importStar(require("./update"));
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
9
|
+
* limit: 1,
|
|
10
|
+
* sortField: CandidApi.preEncounter.lists.v1.SortFieldString("string"),
|
|
11
|
+
* sortDirection: "asc",
|
|
12
|
+
* filters: CandidApi.preEncounter.lists.v1.FilterQueryString("string")
|
|
13
|
+
* }
|
|
14
|
+
*/
|
|
15
|
+
export interface VisitsRequest {
|
|
16
|
+
pageToken?: CandidApi.preEncounter.PageToken;
|
|
17
|
+
limit?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Defaults to appointment.start_time.
|
|
20
|
+
*/
|
|
21
|
+
sortField?: CandidApi.preEncounter.lists.v1.SortFieldString;
|
|
22
|
+
/**
|
|
23
|
+
* Defaults to ascending.
|
|
24
|
+
*/
|
|
25
|
+
sortDirection?: CandidApi.preEncounter.SortDirection;
|
|
26
|
+
filters?: CandidApi.preEncounter.lists.v1.FilterQueryString;
|
|
27
|
+
}
|
package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts
CHANGED
|
@@ -28,6 +28,6 @@ export interface MutableAppointment {
|
|
|
28
28
|
locationResourceId?: string;
|
|
29
29
|
/** True if the automated eligibility check has been completed. It is not recommended to change this value manually via API. This refers explicitly to the automated eligibility check that occurs a specific number of days before the appointment. */
|
|
30
30
|
automatedEligibilityCheckComplete?: boolean;
|
|
31
|
-
/** The work queue that the appointment belongs to. It is not recommended to change this value manually via API. If status is NOT_READY, work_queue must be set. If status is READY
|
|
31
|
+
/** The work queue that the appointment belongs to. It is not recommended to change this value manually via API. If status is NOT_READY, work_queue must be set. If status is READY, work_queue must be null. */
|
|
32
32
|
workQueue?: CandidApi.preEncounter.appointments.v1.AppointmentWorkQueue;
|
|
33
33
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* A visit is a collection of appointments that occur on the same day.
|
|
7
|
+
*/
|
|
8
|
+
export interface Visit {
|
|
9
|
+
patientId: CandidApi.preEncounter.PatientId;
|
|
10
|
+
patient: CandidApi.preEncounter.patients.v1.MutablePatientWithMrn;
|
|
11
|
+
startTime: Date;
|
|
12
|
+
status: CandidApi.preEncounter.appointments.v1.AppointmentStatus;
|
|
13
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
export interface VisitsPage extends CandidApi.preEncounter.ResourcePage {
|
|
6
|
+
items: CandidApi.preEncounter.appointments.v1.Visit[];
|
|
7
|
+
}
|
|
@@ -20,3 +20,5 @@ __exportStar(require("./AppointmentStatus"), exports);
|
|
|
20
20
|
__exportStar(require("./Service"), exports);
|
|
21
21
|
__exportStar(require("./MutableAppointment"), exports);
|
|
22
22
|
__exportStar(require("./Appointment"), exports);
|
|
23
|
+
__exportStar(require("./Visit"), exports);
|
|
24
|
+
__exportStar(require("./VisitsPage"), exports);
|
|
@@ -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
|
+
* An external identifier for a patient
|
|
7
|
+
*/
|
|
8
|
+
export interface ExternalIdentifier {
|
|
9
|
+
value: string;
|
|
10
|
+
system: string;
|
|
11
|
+
period?: CandidApi.preEncounter.Period;
|
|
12
|
+
}
|
|
@@ -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
|
+
/**
|
|
6
|
+
* The unique identifier for a PayerPlanGroup in the database
|
|
7
|
+
*/
|
|
8
|
+
export type PayerPlanGroupId = string & {
|
|
9
|
+
preEncounter_PayerPlanGroupId: void;
|
|
10
|
+
};
|
|
11
|
+
export declare function PayerPlanGroupId(value: string): CandidApi.preEncounter.PayerPlanGroupId;
|
|
@@ -4,10 +4,12 @@ export * from "./BaseModel";
|
|
|
4
4
|
export * from "./PayerId";
|
|
5
5
|
export * from "./PatientId";
|
|
6
6
|
export * from "./CoverageId";
|
|
7
|
+
export * from "./PayerPlanGroupId";
|
|
7
8
|
export * from "./AppointmentId";
|
|
8
9
|
export * from "./NoteId";
|
|
9
10
|
export * from "./TagId";
|
|
10
11
|
export * from "./CanonicalProviderId";
|
|
12
|
+
export * from "./ExternalIdentifier";
|
|
11
13
|
export * from "./CanonicalNonInsurancePayerAssociation";
|
|
12
14
|
export * from "./CanonicalNonInsurancePayerId";
|
|
13
15
|
export * from "./Relationship";
|
|
@@ -20,10 +20,12 @@ __exportStar(require("./BaseModel"), exports);
|
|
|
20
20
|
__exportStar(require("./PayerId"), exports);
|
|
21
21
|
__exportStar(require("./PatientId"), exports);
|
|
22
22
|
__exportStar(require("./CoverageId"), exports);
|
|
23
|
+
__exportStar(require("./PayerPlanGroupId"), exports);
|
|
23
24
|
__exportStar(require("./AppointmentId"), exports);
|
|
24
25
|
__exportStar(require("./NoteId"), exports);
|
|
25
26
|
__exportStar(require("./TagId"), exports);
|
|
26
27
|
__exportStar(require("./CanonicalProviderId"), exports);
|
|
28
|
+
__exportStar(require("./ExternalIdentifier"), exports);
|
|
27
29
|
__exportStar(require("./CanonicalNonInsurancePayerAssociation"), exports);
|
|
28
30
|
__exportStar(require("./CanonicalNonInsurancePayerId"), exports);
|
|
29
31
|
__exportStar(require("./Relationship"), exports);
|
|
@@ -65,16 +65,11 @@ export declare class V1 {
|
|
|
65
65
|
* planType: "09",
|
|
66
66
|
* type: "01",
|
|
67
67
|
* period: {},
|
|
68
|
-
* insuranceCardImageLocator: "string"
|
|
68
|
+
* insuranceCardImageLocator: "string",
|
|
69
|
+
* payerPlanGroupId: CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
69
70
|
* },
|
|
70
71
|
* verified: true,
|
|
71
|
-
* eligibilityChecks: [
|
|
72
|
-
* checkId: "string",
|
|
73
|
-
* serviceCode: "1",
|
|
74
|
-
* status: "COMPLETED",
|
|
75
|
-
* initiatedBy: CandidApi.preEncounter.UserId("string"),
|
|
76
|
-
* initiatedAt: "2024-01-15T09:30:00Z"
|
|
77
|
-
* }],
|
|
72
|
+
* eligibilityChecks: [],
|
|
78
73
|
* latestEligibilityCheck: {
|
|
79
74
|
* checkId: "string",
|
|
80
75
|
* status: "ACTIVE",
|
|
@@ -126,16 +121,11 @@ export declare class V1 {
|
|
|
126
121
|
* planType: "09",
|
|
127
122
|
* type: "01",
|
|
128
123
|
* period: {},
|
|
129
|
-
* insuranceCardImageLocator: "string"
|
|
124
|
+
* insuranceCardImageLocator: "string",
|
|
125
|
+
* payerPlanGroupId: CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
130
126
|
* },
|
|
131
127
|
* verified: true,
|
|
132
|
-
* eligibilityChecks: [
|
|
133
|
-
* checkId: "string",
|
|
134
|
-
* serviceCode: "1",
|
|
135
|
-
* status: "COMPLETED",
|
|
136
|
-
* initiatedBy: CandidApi.preEncounter.UserId("string"),
|
|
137
|
-
* initiatedAt: "2024-01-15T09:30:00Z"
|
|
138
|
-
* }],
|
|
128
|
+
* eligibilityChecks: [],
|
|
139
129
|
* latestEligibilityCheck: {
|
|
140
130
|
* checkId: "string",
|
|
141
131
|
* status: "ACTIVE",
|
|
@@ -145,6 +135,21 @@ export declare class V1 {
|
|
|
145
135
|
* })
|
|
146
136
|
*/
|
|
147
137
|
update(id: CandidApi.preEncounter.CoverageId, version: string, request: CandidApi.preEncounter.coverages.v1.MutableCoverage, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.Coverage, CandidApi.preEncounter.coverages.v1.update.Error>>;
|
|
138
|
+
/**
|
|
139
|
+
* Returns a page of Coverages based on the search criteria.
|
|
140
|
+
*
|
|
141
|
+
* @param {CandidApi.preEncounter.coverages.v1.CoverageGetMultiPaginatedRequest} request
|
|
142
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* await client.preEncounter.coverages.v1.getMultiPaginated({
|
|
146
|
+
* patientId: "string",
|
|
147
|
+
* payerPlanGroupId: "string",
|
|
148
|
+
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
149
|
+
* limit: 1
|
|
150
|
+
* })
|
|
151
|
+
*/
|
|
152
|
+
getMultiPaginated(request?: CandidApi.preEncounter.coverages.v1.CoverageGetMultiPaginatedRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.CoveragesPage, CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error>>;
|
|
148
153
|
/**
|
|
149
154
|
* gets a specific Coverage
|
|
150
155
|
*
|