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,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
import { EligibilityCheck } from "./EligibilityCheck";
|
|
8
|
+
export declare const EligibilityResponse: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.EligibilityResponse.Raw, CandidApi.preEncounter.eligibilityChecks.v1.EligibilityResponse>;
|
|
9
|
+
export declare namespace EligibilityResponse {
|
|
10
|
+
type Raw = EligibilityCheck.Raw;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.EligibilityResponse = void 0;
|
|
7
|
+
const EligibilityCheck_1 = require("./EligibilityCheck");
|
|
8
|
+
exports.EligibilityResponse = EligibilityCheck_1.EligibilityCheck;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const Encounter: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.Encounter.Raw, CandidApi.preEncounter.eligibilityChecks.v1.Encounter>;
|
|
8
|
+
export declare namespace Encounter {
|
|
9
|
+
interface Raw {
|
|
10
|
+
date_of_service?: string | null;
|
|
11
|
+
service_type_codes?: string[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.Encounter = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
41
|
+
exports.Encounter = core.serialization.object({
|
|
42
|
+
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
43
|
+
serviceTypeCodes: core.serialization.property("service_type_codes", core.serialization.list(core.serialization.string()).optional()),
|
|
44
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const IndividualProvider: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.IndividualProvider.Raw, CandidApi.preEncounter.eligibilityChecks.v1.IndividualProvider>;
|
|
8
|
+
export declare namespace IndividualProvider {
|
|
9
|
+
interface Raw {
|
|
10
|
+
first_name?: string | null;
|
|
11
|
+
last_name?: string | null;
|
|
12
|
+
npi: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.IndividualProvider = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
41
|
+
exports.IndividualProvider = core.serialization.object({
|
|
42
|
+
firstName: core.serialization.property("first_name", core.serialization.string().optional()),
|
|
43
|
+
lastName: core.serialization.property("last_name", core.serialization.string().optional()),
|
|
44
|
+
npi: core.serialization.string(),
|
|
45
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const OrganizationProvider: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.OrganizationProvider.Raw, CandidApi.preEncounter.eligibilityChecks.v1.OrganizationProvider>;
|
|
8
|
+
export declare namespace OrganizationProvider {
|
|
9
|
+
interface Raw {
|
|
10
|
+
organization_name?: string | null;
|
|
11
|
+
npi: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.OrganizationProvider = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
41
|
+
exports.OrganizationProvider = core.serialization.object({
|
|
42
|
+
organizationName: core.serialization.property("organization_name", core.serialization.string().optional()),
|
|
43
|
+
npi: core.serialization.string(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
import { EligibilityStatus } from "../../../../coverages/resources/v1/types/EligibilityStatus";
|
|
8
|
+
import { PlanMetadata } from "../../../../coverages/resources/v1/types/PlanMetadata";
|
|
9
|
+
import { CoverageBenefits } from "../../../../coverages/resources/v1/types/CoverageBenefits";
|
|
10
|
+
export declare const ParsedResponse: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.ParsedResponse.Raw, CandidApi.preEncounter.eligibilityChecks.v1.ParsedResponse>;
|
|
11
|
+
export declare namespace ParsedResponse {
|
|
12
|
+
interface Raw {
|
|
13
|
+
eligibility_status: EligibilityStatus.Raw;
|
|
14
|
+
plan_metadata?: PlanMetadata.Raw | null;
|
|
15
|
+
benefits?: CoverageBenefits.Raw | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.ParsedResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
41
|
+
const EligibilityStatus_1 = require("../../../../coverages/resources/v1/types/EligibilityStatus");
|
|
42
|
+
const PlanMetadata_1 = require("../../../../coverages/resources/v1/types/PlanMetadata");
|
|
43
|
+
const CoverageBenefits_1 = require("../../../../coverages/resources/v1/types/CoverageBenefits");
|
|
44
|
+
exports.ParsedResponse = core.serialization.object({
|
|
45
|
+
eligibilityStatus: core.serialization.property("eligibility_status", EligibilityStatus_1.EligibilityStatus),
|
|
46
|
+
planMetadata: core.serialization.property("plan_metadata", PlanMetadata_1.PlanMetadata.optional()),
|
|
47
|
+
benefits: CoverageBenefits_1.CoverageBenefits.optional(),
|
|
48
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
import { IndividualProvider } from "./IndividualProvider";
|
|
8
|
+
import { OrganizationProvider } from "./OrganizationProvider";
|
|
9
|
+
export declare const Provider: core.serialization.Schema<serializers.preEncounter.eligibilityChecks.v1.Provider.Raw, CandidApi.preEncounter.eligibilityChecks.v1.Provider>;
|
|
10
|
+
export declare namespace Provider {
|
|
11
|
+
type Raw = IndividualProvider.Raw | OrganizationProvider.Raw;
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.Provider = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
41
|
+
const IndividualProvider_1 = require("./IndividualProvider");
|
|
42
|
+
const OrganizationProvider_1 = require("./OrganizationProvider");
|
|
43
|
+
exports.Provider = core.serialization.undiscriminatedUnion([IndividualProvider_1.IndividualProvider, OrganizationProvider_1.OrganizationProvider]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const RequestCorrection: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.RequestCorrection.Raw, CandidApi.preEncounter.eligibilityChecks.v1.RequestCorrection>;
|
|
8
|
+
export declare namespace RequestCorrection {
|
|
9
|
+
interface Raw {
|
|
10
|
+
property: string;
|
|
11
|
+
request_value: string;
|
|
12
|
+
corrected_value: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.RequestCorrection = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
41
|
+
exports.RequestCorrection = core.serialization.object({
|
|
42
|
+
property: core.serialization.string(),
|
|
43
|
+
requestValue: core.serialization.property("request_value", core.serialization.string()),
|
|
44
|
+
correctedValue: core.serialization.property("corrected_value", core.serialization.string()),
|
|
45
|
+
});
|
|
@@ -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"));
|
|
@@ -5,14 +5,14 @@ import * as serializers from "../../../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { Appointment } from "../../../../appointments/resources/v1/types/Appointment";
|
|
8
|
-
import {
|
|
8
|
+
import { MutablePatientWithMrn } from "../../../../patients/resources/v1/types/MutablePatientWithMrn";
|
|
9
9
|
import { MutableCoverage } from "../../../../coverages/resources/v1/types/MutableCoverage";
|
|
10
10
|
import { UniversalServiceIdentifier } from "../../../../appointments/resources/v1/types/UniversalServiceIdentifier";
|
|
11
11
|
export declare const AppointmentListItem: core.serialization.ObjectSchema<serializers.preEncounter.lists.v1.AppointmentListItem.Raw, CandidApi.preEncounter.lists.v1.AppointmentListItem>;
|
|
12
12
|
export declare namespace AppointmentListItem {
|
|
13
13
|
interface Raw {
|
|
14
14
|
appointment: Appointment.Raw;
|
|
15
|
-
patient:
|
|
15
|
+
patient: MutablePatientWithMrn.Raw;
|
|
16
16
|
primary_coverage?: MutableCoverage.Raw | null;
|
|
17
17
|
primary_service_type?: UniversalServiceIdentifier.Raw | null;
|
|
18
18
|
}
|
|
@@ -39,12 +39,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.AppointmentListItem = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../core"));
|
|
41
41
|
const Appointment_1 = require("../../../../appointments/resources/v1/types/Appointment");
|
|
42
|
-
const
|
|
42
|
+
const MutablePatientWithMrn_1 = require("../../../../patients/resources/v1/types/MutablePatientWithMrn");
|
|
43
43
|
const MutableCoverage_1 = require("../../../../coverages/resources/v1/types/MutableCoverage");
|
|
44
44
|
const UniversalServiceIdentifier_1 = require("../../../../appointments/resources/v1/types/UniversalServiceIdentifier");
|
|
45
45
|
exports.AppointmentListItem = core.serialization.object({
|
|
46
46
|
appointment: Appointment_1.Appointment,
|
|
47
|
-
patient:
|
|
47
|
+
patient: MutablePatientWithMrn_1.MutablePatientWithMrn,
|
|
48
48
|
primaryCoverage: core.serialization.property("primary_coverage", MutableCoverage_1.MutableCoverage.optional()),
|
|
49
49
|
primaryServiceType: core.serialization.property("primary_service_type", UniversalServiceIdentifier_1.UniversalServiceIdentifier.optional()),
|
|
50
50
|
});
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts
CHANGED
|
@@ -4,5 +4,6 @@ export * as get from "./get";
|
|
|
4
4
|
export * as getHistory from "./getHistory";
|
|
5
5
|
export * as update from "./update";
|
|
6
6
|
export * as deactivate from "./deactivate";
|
|
7
|
+
export * as reactivate from "./reactivate";
|
|
7
8
|
export * as search from "./search";
|
|
8
9
|
export * as scan from "./scan";
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js
CHANGED
|
@@ -33,12 +33,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.scan = exports.search = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.createWithMrn = exports.create = void 0;
|
|
36
|
+
exports.scan = exports.search = exports.reactivate = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.createWithMrn = exports.create = void 0;
|
|
37
37
|
exports.create = __importStar(require("./create"));
|
|
38
38
|
exports.createWithMrn = __importStar(require("./createWithMrn"));
|
|
39
39
|
exports.get = __importStar(require("./get"));
|
|
40
40
|
exports.getHistory = __importStar(require("./getHistory"));
|
|
41
41
|
exports.update = __importStar(require("./update"));
|
|
42
42
|
exports.deactivate = __importStar(require("./deactivate"));
|
|
43
|
+
exports.reactivate = __importStar(require("./reactivate"));
|
|
43
44
|
exports.search = __importStar(require("./search"));
|
|
44
45
|
exports.scan = __importStar(require("./scan"));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
8
|
+
import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.reactivate.Error.Raw, CandidApi.preEncounter.patients.v1.reactivate.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.NotFoundError | Error.VersionConflictError;
|
|
12
|
+
interface NotFoundError {
|
|
13
|
+
errorName: "NotFoundError";
|
|
14
|
+
content: ErrorBase4Xx.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface VersionConflictError {
|
|
17
|
+
errorName: "VersionConflictError";
|
|
18
|
+
content: VersionConflictErrorBody.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
52
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
53
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
54
|
+
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
55
|
+
exports.Error = core.serialization
|
|
56
|
+
.union("errorName", {
|
|
57
|
+
NotFoundError: core.serialization.object({
|
|
58
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
59
|
+
}),
|
|
60
|
+
VersionConflictError: core.serialization.object({
|
|
61
|
+
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
62
|
+
}),
|
|
63
|
+
})
|
|
64
|
+
.transform({
|
|
65
|
+
transform: (value) => {
|
|
66
|
+
switch (value.errorName) {
|
|
67
|
+
case "NotFoundError":
|
|
68
|
+
return CandidApi.preEncounter.patients.v1.reactivate.Error.notFoundError(value.content);
|
|
69
|
+
case "VersionConflictError":
|
|
70
|
+
return CandidApi.preEncounter.patients.v1.reactivate.Error.versionConflictError(value.content);
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
untransform: (_a) => {
|
|
74
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
75
|
+
return value;
|
|
76
|
+
},
|
|
77
|
+
});
|
|
@@ -5,6 +5,7 @@ import * as serializers from "../../../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { HumanName } from "../../../../common/types/HumanName";
|
|
8
|
+
import { ExternalIdentifier } from "../../../../common/types/ExternalIdentifier";
|
|
8
9
|
import { Gender } from "../../../../common/types/Gender";
|
|
9
10
|
import { Sex } from "../../../../common/types/Sex";
|
|
10
11
|
import { SexualOrientation } from "../../../../common/types/SexualOrientation";
|
|
@@ -31,6 +32,7 @@ export declare namespace MutablePatient {
|
|
|
31
32
|
interface Raw {
|
|
32
33
|
name: HumanName.Raw;
|
|
33
34
|
other_names: HumanName.Raw[];
|
|
35
|
+
other_identifiers?: ExternalIdentifier.Raw[] | null;
|
|
34
36
|
gender?: Gender.Raw | null;
|
|
35
37
|
birth_date: string;
|
|
36
38
|
social_security_number?: string | null;
|