candidhealth 0.26.1 → 0.28.0
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 +1 -1
- package/api/resources/claims/types/Claim.d.ts +37 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +37 -0
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +37 -0
- 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.js +10 -10
- 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/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- 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/invoices/index.d.ts +1 -0
- package/api/resources/invoices/index.js +1 -0
- package/api/resources/invoices/types/Invoice.d.ts +19 -0
- package/api/resources/invoices/types/InvoiceItem.d.ts +8 -0
- package/api/resources/invoices/types/InvoiceStatus.d.ts +12 -0
- package/api/resources/invoices/types/InvoiceStatus.js +14 -0
- package/api/resources/invoices/types/index.d.ts +3 -0
- package/api/resources/invoices/types/index.js +19 -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 +9 -4
- package/api/resources/preEncounter/resources/appointments/client/Client.d.ts +26 -0
- package/api/resources/preEncounter/resources/appointments/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/appointments/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/appointments/client/index.js +2 -0
- package/api/resources/preEncounter/resources/appointments/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/appointments/index.js +18 -0
- package/api/resources/preEncounter/resources/appointments/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/appointments/resources/index.js +27 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +132 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +493 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +28 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/create.js +58 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +34 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +69 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +28 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/get.js +58 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +28 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +58 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.d.ts +22 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.js +47 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +7 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +36 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentsSearchRequest.d.ts +38 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.js +2 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +34 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/update.js +69 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +19 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.d.ts +11 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.js +10 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.d.ts +11 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.js +13 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.d.ts +8 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.js +10 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.d.ts +9 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.js +11 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +9 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +11 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +32 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +5 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Service.d.ts +9 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Service.js +5 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.d.ts +10 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.js +12 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +9 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +25 -0
- package/api/resources/preEncounter/resources/common/types/CanonicalProviderId.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/CanonicalProviderId.js +10 -0
- package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +2 -1
- package/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +1 -0
- package/api/resources/preEncounter/resources/common/types/PageToken.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/PageToken.js +10 -0
- package/api/resources/preEncounter/resources/common/types/ResourcePage.d.ts +8 -0
- package/api/resources/preEncounter/resources/common/types/ResourcePage.js +5 -0
- package/api/resources/preEncounter/resources/common/types/SortDirection.d.ts +8 -0
- package/api/resources/preEncounter/resources/common/types/SortDirection.js +10 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +4 -0
- package/api/resources/preEncounter/resources/common/types/index.js +4 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +136 -11
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/checkEligibility.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/checkEligibility.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getEligibility.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getEligibility.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +3 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +17 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/{GetAllCoveragesRequest.d.ts → CoverageGetMultiRequest.d.ts} +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +2 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +8 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +9 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +7 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +6 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.d.ts +11 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +13 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +12 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +0 -4
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +0 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +4 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +8 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +11 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +9 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.d.ts +11 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.d.ts +757 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.js +195 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +11 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +11 -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/patients/resources/v1/client/Client.d.ts +26 -8
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +90 -17
- package/api/resources/preEncounter/resources/patients/resources/v1/client/getMulti.d.ts +22 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/getMulti.js +47 -0
- 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/requests/PatientGetMultiRequest.d.ts +17 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +22 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.d.ts +7 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +11 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.js +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/client/Client.js +57 -2
- package/api/resources/serviceLines/resources/v2/client/delete.d.ts +34 -0
- package/api/resources/serviceLines/resources/v2/client/delete.js +69 -0
- package/api/resources/serviceLines/resources/v2/client/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/client/index.js +2 -1
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +41 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
- 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 +1 -1
- package/dist/api/resources/claims/types/Claim.d.ts +37 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +37 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +37 -0
- 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.js +10 -10
- 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/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- 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/invoices/index.d.ts +1 -0
- package/dist/api/resources/invoices/index.js +1 -0
- package/dist/api/resources/invoices/types/Invoice.d.ts +19 -0
- package/dist/api/resources/invoices/types/Invoice.js +5 -0
- package/dist/api/resources/invoices/types/InvoiceItem.d.ts +8 -0
- package/dist/api/resources/invoices/types/InvoiceItem.js +5 -0
- package/dist/api/resources/invoices/types/InvoiceStatus.d.ts +12 -0
- package/dist/api/resources/invoices/types/InvoiceStatus.js +14 -0
- package/dist/api/resources/invoices/types/index.d.ts +3 -0
- package/dist/api/resources/invoices/types/index.js +19 -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 +9 -4
- package/dist/api/resources/preEncounter/resources/appointments/client/Client.d.ts +26 -0
- package/dist/api/resources/preEncounter/resources/appointments/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/appointments/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/appointments/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/appointments/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/appointments/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/index.js +27 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +132 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +493 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/create.js +58 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +34 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +69 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/get.js +58 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +58 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.js +47 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +36 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentsSearchRequest.d.ts +38 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentsSearchRequest.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/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +34 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/update.js +69 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +19 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +5 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.js +10 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.js +13 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.js +10 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.js +11 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +11 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +32 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +5 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Service.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Service.js +5 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.js +12 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +25 -0
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalProviderId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalProviderId.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/PageToken.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/PageToken.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/ResourcePage.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/common/types/ResourcePage.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/SortDirection.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/common/types/SortDirection.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +4 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +136 -11
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/checkEligibility.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/checkEligibility.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getEligibility.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getEligibility.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +3 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +17 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/{GetAllCoveragesRequest.d.ts → CoverageGetMultiRequest.d.ts} +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +6 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +12 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +0 -4
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +0 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.d.ts +757 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.js +195 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +11 -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/patients/resources/v1/client/Client.d.ts +26 -8
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +90 -17
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getMulti.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getMulti.js +47 -0
- 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/requests/PatientGetMultiRequest.d.ts +17 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.js +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +8 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +57 -2
- package/dist/api/resources/serviceLines/resources/v2/client/delete.d.ts +34 -0
- package/dist/api/resources/serviceLines/resources/v2/client/delete.js +69 -0
- package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/client/index.js +2 -1
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +41 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +8 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- package/dist/serialization/resources/invoices/index.d.ts +1 -0
- package/dist/serialization/resources/invoices/index.js +1 -0
- package/dist/serialization/resources/invoices/types/Invoice.d.ts +30 -0
- package/dist/serialization/resources/invoices/types/Invoice.js +51 -0
- package/dist/serialization/resources/invoices/types/InvoiceItem.d.ts +14 -0
- package/dist/serialization/resources/invoices/types/InvoiceItem.js +35 -0
- package/dist/serialization/resources/invoices/types/InvoiceStatus.d.ts +10 -0
- package/dist/serialization/resources/invoices/types/InvoiceStatus.js +31 -0
- package/dist/serialization/resources/invoices/types/index.d.ts +3 -0
- package/dist/serialization/resources/invoices/types/index.js +19 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/index.js +27 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +61 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +67 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +61 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +63 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.js +32 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +6 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +32 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +67 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/index.js +18 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +21 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +30 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +51 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +9 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +25 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalProviderId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalProviderId.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/PageToken.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/PageToken.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ResourcePage.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ResourcePage.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/SortDirection.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/SortDirection.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +4 -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 +4 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.js +36 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +36 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +37 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +34 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +12 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +33 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.d.ts +19 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.js +40 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +31 -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 +0 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +17 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +38 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +37 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.d.ts +17 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.js +38 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.js +219 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +11 -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/patients/resources/v1/types/Contact.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.js +37 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +20 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/delete.js +67 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +2 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +6 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +14 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +35 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +879 -133
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- package/serialization/resources/invoices/index.d.ts +1 -0
- package/serialization/resources/invoices/index.js +1 -0
- package/serialization/resources/invoices/types/Invoice.d.ts +30 -0
- package/serialization/resources/invoices/types/Invoice.js +51 -0
- package/serialization/resources/invoices/types/InvoiceItem.d.ts +14 -0
- package/serialization/resources/invoices/types/InvoiceItem.js +35 -0
- package/serialization/resources/invoices/types/InvoiceStatus.d.ts +10 -0
- package/serialization/resources/invoices/types/InvoiceStatus.js +31 -0
- package/serialization/resources/invoices/types/index.d.ts +3 -0
- package/serialization/resources/invoices/types/index.js +19 -0
- package/serialization/resources/preEncounter/resources/appointments/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/appointments/index.js +17 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/index.js +27 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +61 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +67 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +61 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +63 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.js +32 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +6 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +32 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +67 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/index.js +18 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +21 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +44 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.js +35 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.js +31 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.js +31 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.js +31 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +31 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +30 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +51 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.js +35 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.js +31 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +9 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +25 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalProviderId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalProviderId.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +2 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +1 -1
- package/serialization/resources/preEncounter/resources/common/types/PageToken.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/PageToken.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/ResourcePage.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/common/types/ResourcePage.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/SortDirection.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/SortDirection.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +4 -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 +4 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.js +36 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +36 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +37 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +34 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +12 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +33 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.d.ts +19 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.js +40 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +31 -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 +0 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +4 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +35 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +17 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +38 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +37 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.d.ts +17 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.js +38 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.js +219 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +11 -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/patients/resources/v1/types/Contact.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.js +37 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.js +35 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +20 -0
- package/serialization/resources/serviceLines/resources/v2/client/delete.js +67 -0
- package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/client/index.js +2 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +6 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +14 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +35 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.d.ts +0 -12
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.d.ts +0 -12
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/client/requests/GetAllCoveragesRequest.js → invoices/types/Invoice.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.js → invoices/types/InvoiceItem.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/GetAllCoveragesRequest.js → api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentsSearchRequest.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.js → api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js} +0 -0
|
@@ -0,0 +1,195 @@
|
|
|
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.ServiceTypeCode = void 0;
|
|
7
|
+
exports.ServiceTypeCode = {
|
|
8
|
+
MedicalCare: "1",
|
|
9
|
+
Surgical: "2",
|
|
10
|
+
Consultation: "3",
|
|
11
|
+
DiagnosticXRay: "4",
|
|
12
|
+
DiagnosticLab: "5",
|
|
13
|
+
RadiationTherapy: "6",
|
|
14
|
+
Anesthesia: "7",
|
|
15
|
+
SurgicalAssistance: "8",
|
|
16
|
+
OtherMedical: "9",
|
|
17
|
+
BloodCharges: "10",
|
|
18
|
+
UsedDurableMedicalEquipment: "11",
|
|
19
|
+
DurableMedicalEquipmentPurchase: "12",
|
|
20
|
+
AmbulatorySurgicalCenterFacility: "13",
|
|
21
|
+
RenalSuppliesInHome: "14",
|
|
22
|
+
AlternateMethodDialysis: "15",
|
|
23
|
+
ChronicRenalDiseaseEquipment: "16",
|
|
24
|
+
PreAdmissionTesting: "17",
|
|
25
|
+
DurableMedicalEquipmentRental: "18",
|
|
26
|
+
PneumoniaVaccine: "19",
|
|
27
|
+
SecondSurgicalOpinion: "20",
|
|
28
|
+
ThirdSurgicalOpinion: "21",
|
|
29
|
+
SocialWork: "22",
|
|
30
|
+
DiagnosticDental: "23",
|
|
31
|
+
Periodontics: "24",
|
|
32
|
+
Restorative: "25",
|
|
33
|
+
Endodontics: "26",
|
|
34
|
+
MaxillofacialProsthetics: "27",
|
|
35
|
+
AdjunctiveDentalServices: "28",
|
|
36
|
+
HealthBenefitPlanCoverage: "30",
|
|
37
|
+
PlanWaitingPeriod: "32",
|
|
38
|
+
Chiropractic: "33",
|
|
39
|
+
ChiropracticOfficeVisits: "34",
|
|
40
|
+
DentalCare: "35",
|
|
41
|
+
DentalCrowns: "36",
|
|
42
|
+
DentalAccident: "37",
|
|
43
|
+
Orthodontics: "38",
|
|
44
|
+
Prosthodontics: "39",
|
|
45
|
+
OralSurgery: "40",
|
|
46
|
+
RoutinePreventiveDental: "41",
|
|
47
|
+
HomeHealthCare: "42",
|
|
48
|
+
HomeHealthPrescriptions: "43",
|
|
49
|
+
HomeHealthVisits: "44",
|
|
50
|
+
Hospice: "45",
|
|
51
|
+
RespiteCare: "46",
|
|
52
|
+
Hospital: "47",
|
|
53
|
+
HospitalInpatient: "48",
|
|
54
|
+
HospitalRoomAndBoard: "49",
|
|
55
|
+
HospitalOutpatient: "50",
|
|
56
|
+
HospitalEmergencyAccident: "51",
|
|
57
|
+
HospitalEmergencyMedical: "52",
|
|
58
|
+
HospitalAmbulatorySurgical: "53",
|
|
59
|
+
LongTermCare: "54",
|
|
60
|
+
MajorMedical: "55",
|
|
61
|
+
MedicallyRelatedTransportation: "56",
|
|
62
|
+
AirTransportation: "57",
|
|
63
|
+
Cabulance: "58",
|
|
64
|
+
LicensedAmbulance: "59",
|
|
65
|
+
GeneralBenefits: "60",
|
|
66
|
+
InVitroFertilization: "61",
|
|
67
|
+
MricatScan: "62",
|
|
68
|
+
DonorProcedures: "63",
|
|
69
|
+
Acupuncture: "64",
|
|
70
|
+
NewbornCare: "65",
|
|
71
|
+
Pathology: "66",
|
|
72
|
+
SmokingCessation: "67",
|
|
73
|
+
WellBabyCare: "68",
|
|
74
|
+
Maternity: "69",
|
|
75
|
+
Transplants: "70",
|
|
76
|
+
AudiologyExam: "71",
|
|
77
|
+
InhalationTherapy: "72",
|
|
78
|
+
DiagnosticMedical: "73",
|
|
79
|
+
PrivateDutyNursing: "74",
|
|
80
|
+
ProstheticDevice: "75",
|
|
81
|
+
Dialysis: "76",
|
|
82
|
+
OtologicalExam: "77",
|
|
83
|
+
Chemotherapy: "78",
|
|
84
|
+
AllergyTesting: "79",
|
|
85
|
+
Immunizations: "80",
|
|
86
|
+
RoutinePhysical: "81",
|
|
87
|
+
FamilyPlanning: "82",
|
|
88
|
+
Infertility: "83",
|
|
89
|
+
Abortion: "84",
|
|
90
|
+
Aids: "85",
|
|
91
|
+
EmergencyServices: "86",
|
|
92
|
+
Cancer: "87",
|
|
93
|
+
Pharmacy: "88",
|
|
94
|
+
FreeStandingPrescriptionDrug: "89",
|
|
95
|
+
MailOrderPrescriptionDrug: "90",
|
|
96
|
+
BrandNamePrescriptionDrug: "91",
|
|
97
|
+
GenericPrescriptionDrug: "92",
|
|
98
|
+
Podiatry: "93",
|
|
99
|
+
PodiatryOfficeVisits: "94",
|
|
100
|
+
PodiatryNursingHomeVisits: "95",
|
|
101
|
+
ProfessionalPhysician: "96",
|
|
102
|
+
Anesthesiologist: "97",
|
|
103
|
+
ProfessionalPhysicianVisitOffice: "98",
|
|
104
|
+
ProfessionalPhysicianVisitInpatient: "99",
|
|
105
|
+
ProfessionalPhysicianVisitOutpatient: "A0",
|
|
106
|
+
ProfessionalPhysicianVisitNursingHome: "A1",
|
|
107
|
+
ProfessionalPhysicianVisitSkilledNursingFacility: "A2",
|
|
108
|
+
ProfessionalPhysicianVisitHome: "A3",
|
|
109
|
+
Psychiatric: "A4",
|
|
110
|
+
PsychiatricRoomAndBoard: "A5",
|
|
111
|
+
Psychotherapy: "A6",
|
|
112
|
+
PsychiatricInpatient: "A7",
|
|
113
|
+
PsychiatricOutpatient: "A8",
|
|
114
|
+
Rehabilitation: "A9",
|
|
115
|
+
RehabilitationRoomAndBoard: "AA",
|
|
116
|
+
RehabilitationInpatient: "AB",
|
|
117
|
+
RehabilitationOutpatient: "AC",
|
|
118
|
+
OccupationalTherapy: "AD",
|
|
119
|
+
PhysicalMedicine: "AE",
|
|
120
|
+
SpeechTherapy: "AF",
|
|
121
|
+
SkilledNursingCare: "AG",
|
|
122
|
+
SkilledNursingCareRoomAndBoard: "AH",
|
|
123
|
+
SubstanceAbuse: "AI",
|
|
124
|
+
Alcoholism: "AJ",
|
|
125
|
+
DrugAddiction: "AK",
|
|
126
|
+
VisionOptometry: "AL",
|
|
127
|
+
Frames: "AM",
|
|
128
|
+
RoutineExam: "AN",
|
|
129
|
+
Lenses: "AO",
|
|
130
|
+
NonmedicallyNecessaryPhysical: "AQ",
|
|
131
|
+
ExperimentalDrugTherapy: "AR",
|
|
132
|
+
BurnCare: "B1",
|
|
133
|
+
BrandNamePrescriptionDrugFormulary: "B2",
|
|
134
|
+
BrandNamePrescriptionDrugNonFormulary: "B3",
|
|
135
|
+
IndependentMedicalEvaluation: "BA",
|
|
136
|
+
PartialHospitalizationPsychiatric: "BB",
|
|
137
|
+
DayCarePsychiatric: "BC",
|
|
138
|
+
CognitiveTherapy: "BD",
|
|
139
|
+
MassageTherapy: "BE",
|
|
140
|
+
PulmonaryRehabilitation: "BF",
|
|
141
|
+
CardiacRehabilitation: "BG",
|
|
142
|
+
Pediatric: "BH",
|
|
143
|
+
Nursery: "BI",
|
|
144
|
+
Skin: "BJ",
|
|
145
|
+
Orthopedic: "BK",
|
|
146
|
+
Cardiac: "BL",
|
|
147
|
+
Lymphatic: "BM",
|
|
148
|
+
Gastrointestinal: "BN",
|
|
149
|
+
Endocrine: "BP",
|
|
150
|
+
Neurology: "BQ",
|
|
151
|
+
Eye: "BR",
|
|
152
|
+
InvasiveProcedures: "BS",
|
|
153
|
+
Gynecological: "BT",
|
|
154
|
+
Obstetrical: "BU",
|
|
155
|
+
ObstetricalGynecological: "BV",
|
|
156
|
+
MailOrderPrescriptionDrugBrandName: "BW",
|
|
157
|
+
MailOrderPrescriptionDrugGeneric: "BX",
|
|
158
|
+
PhysicianVisitOfficeSick: "BY",
|
|
159
|
+
PhysicianVisitOfficeWell: "BZ",
|
|
160
|
+
CoronaryCare: "C1",
|
|
161
|
+
PrivateDutyNursingInpatient: "CA",
|
|
162
|
+
PrivateDutyNursingHome: "CB",
|
|
163
|
+
SurgicalBenefitsProfessionalPhysician: "CC",
|
|
164
|
+
SurgicalBenefitsFacility: "CD",
|
|
165
|
+
MentalHealthProviderInpatient: "CE",
|
|
166
|
+
MentalHealthProviderOutpatient: "CF",
|
|
167
|
+
MentalHealthFacilityInpatient: "CG",
|
|
168
|
+
MentalHealthFacilityOutpatient: "CH",
|
|
169
|
+
SubstanceAbuseFacilityInpatient: "CI",
|
|
170
|
+
SubstanceAbuseFacilityOutpatient: "CJ",
|
|
171
|
+
ScreeningXRay: "CK",
|
|
172
|
+
ScreeningLaboratory: "CL",
|
|
173
|
+
MammogramHighRiskPatient: "CM",
|
|
174
|
+
MammogramLowRiskPatient: "CN",
|
|
175
|
+
FluVaccination: "CO",
|
|
176
|
+
EyewearAndEyewearAccessories: "CP",
|
|
177
|
+
CaseManagement: "CQ",
|
|
178
|
+
Dermatology: "DG",
|
|
179
|
+
DurableMedicalEquipment: "DM",
|
|
180
|
+
DiabeticSupplies: "DS",
|
|
181
|
+
GenericPrescriptionDrugFormulary: "GF",
|
|
182
|
+
GenericPrescriptionDrugNonFormulary: "GN",
|
|
183
|
+
Allergy: "GY",
|
|
184
|
+
IntensiveCare: "IC",
|
|
185
|
+
MentalHealth: "MH",
|
|
186
|
+
NeonatalIntensiveCare: "NI",
|
|
187
|
+
Oncology: "ON",
|
|
188
|
+
PhysicalTherapy: "PT",
|
|
189
|
+
Pulmonary: "PU",
|
|
190
|
+
Renal: "RN",
|
|
191
|
+
ResidentialPsychiatricTreatment: "RT",
|
|
192
|
+
TransitionalCare: "TC",
|
|
193
|
+
TransitionalNurseryCare: "TN",
|
|
194
|
+
UrgentCare: "UC",
|
|
195
|
+
};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
export * from "./EligibilityCheckMetadata";
|
|
2
|
+
export * from "./CoverageEligibilityCheckResponse";
|
|
3
|
+
export * from "./EligibilityCheck";
|
|
4
|
+
export * from "./EligibilityCheckStatus";
|
|
5
|
+
export * from "./CoverageValue";
|
|
6
|
+
export * from "./CoverageBenefits";
|
|
7
|
+
export * from "./PlanCoverage";
|
|
8
|
+
export * from "./PlanCoverageDetails";
|
|
9
|
+
export * from "./ServiceCoverage";
|
|
10
|
+
export * from "./ServiceCoverageDetails";
|
|
1
11
|
export * from "./CoverageId";
|
|
2
12
|
export * from "./Subscriber";
|
|
3
13
|
export * from "./CoverageStatus";
|
|
@@ -6,3 +16,4 @@ export * from "./InsurancePlan";
|
|
|
6
16
|
export * from "./MutableCoverage";
|
|
7
17
|
export * from "./Coverage";
|
|
8
18
|
export * from "./InsuranceTypeCode";
|
|
19
|
+
export * from "./ServiceTypeCode";
|
|
@@ -14,6 +14,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./EligibilityCheckMetadata"), exports);
|
|
18
|
+
__exportStar(require("./CoverageEligibilityCheckResponse"), exports);
|
|
19
|
+
__exportStar(require("./EligibilityCheck"), exports);
|
|
20
|
+
__exportStar(require("./EligibilityCheckStatus"), exports);
|
|
21
|
+
__exportStar(require("./CoverageValue"), exports);
|
|
22
|
+
__exportStar(require("./CoverageBenefits"), exports);
|
|
23
|
+
__exportStar(require("./PlanCoverage"), exports);
|
|
24
|
+
__exportStar(require("./PlanCoverageDetails"), exports);
|
|
25
|
+
__exportStar(require("./ServiceCoverage"), exports);
|
|
26
|
+
__exportStar(require("./ServiceCoverageDetails"), exports);
|
|
17
27
|
__exportStar(require("./CoverageId"), exports);
|
|
18
28
|
__exportStar(require("./Subscriber"), exports);
|
|
19
29
|
__exportStar(require("./CoverageStatus"), exports);
|
|
@@ -22,3 +32,4 @@ __exportStar(require("./InsurancePlan"), exports);
|
|
|
22
32
|
__exportStar(require("./MutableCoverage"), exports);
|
|
23
33
|
__exportStar(require("./Coverage"), exports);
|
|
24
34
|
__exportStar(require("./InsuranceTypeCode"), exports);
|
|
35
|
+
__exportStar(require("./ServiceTypeCode"), exports);
|
|
@@ -26,7 +26,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.common = exports.patients = exports.coverages = void 0;
|
|
29
|
+
exports.common = exports.patients = exports.coverages = exports.appointments = void 0;
|
|
30
|
+
exports.appointments = __importStar(require("./appointments"));
|
|
30
31
|
exports.coverages = __importStar(require("./coverages"));
|
|
31
32
|
exports.patients = __importStar(require("./patients"));
|
|
32
33
|
exports.common = __importStar(require("./common"));
|
|
@@ -59,7 +59,8 @@ export declare class V1 {
|
|
|
59
59
|
* name: {},
|
|
60
60
|
* telecoms: [{}],
|
|
61
61
|
* addresses: [{}],
|
|
62
|
-
* period: {}
|
|
62
|
+
* period: {},
|
|
63
|
+
* hipaaAuthorization: true
|
|
63
64
|
* }],
|
|
64
65
|
* generalPractitioners: [{}],
|
|
65
66
|
* filingOrder: {
|
|
@@ -68,6 +69,21 @@ export declare class V1 {
|
|
|
68
69
|
* })
|
|
69
70
|
*/
|
|
70
71
|
create(request: CandidApi.preEncounter.patients.v1.MutablePatient, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.create.Error>>;
|
|
72
|
+
/**
|
|
73
|
+
* Searches for patients that match the query parameters.
|
|
74
|
+
*
|
|
75
|
+
* @param {CandidApi.preEncounter.patients.v1.PatientsSearchRequestPaginated} request
|
|
76
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* await client.preEncounter.patients.v1.getMulti({
|
|
80
|
+
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
81
|
+
* limit: 1,
|
|
82
|
+
* sortField: CandidApi.preEncounter.patients.v1.PatientSortField("string"),
|
|
83
|
+
* sortDirection: CandidApi.preEncounter.SortDirection.Asc
|
|
84
|
+
* })
|
|
85
|
+
*/
|
|
86
|
+
getMulti(request?: CandidApi.preEncounter.patients.v1.PatientsSearchRequestPaginated, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.PatientPage, CandidApi.preEncounter.patients.v1.getMulti.Error>>;
|
|
71
87
|
/**
|
|
72
88
|
* Gets a patient.
|
|
73
89
|
*
|
|
@@ -89,7 +105,7 @@ export declare class V1 {
|
|
|
89
105
|
*/
|
|
90
106
|
getHistory(id: CandidApi.preEncounter.patients.v1.PatientId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient[], CandidApi.preEncounter.patients.v1.getHistory.Error>>;
|
|
91
107
|
/**
|
|
92
|
-
* Updates a patient. The path must contain the most recent version to prevent
|
|
108
|
+
* Updates a patient. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
|
|
93
109
|
*
|
|
94
110
|
* @param {CandidApi.preEncounter.patients.v1.PatientId} id
|
|
95
111
|
* @param {string} version
|
|
@@ -128,7 +144,8 @@ export declare class V1 {
|
|
|
128
144
|
* name: {},
|
|
129
145
|
* telecoms: [{}],
|
|
130
146
|
* addresses: [{}],
|
|
131
|
-
* period: {}
|
|
147
|
+
* period: {},
|
|
148
|
+
* hipaaAuthorization: true
|
|
132
149
|
* }],
|
|
133
150
|
* generalPractitioners: [{}],
|
|
134
151
|
* filingOrder: {
|
|
@@ -138,7 +155,7 @@ export declare class V1 {
|
|
|
138
155
|
*/
|
|
139
156
|
update(id: CandidApi.preEncounter.patients.v1.PatientId, version: string, request: CandidApi.preEncounter.patients.v1.MutablePatient, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.update.Error>>;
|
|
140
157
|
/**
|
|
141
|
-
* Sets a patient as deactivated. The path must contain the most recent version to prevent
|
|
158
|
+
* Sets a patient as deactivated. The path must contain the most recent version to prevent race conditions. Deactivating historic versions is not supported. Subsequent updates via PUT to the patient will "reactivate" the patient and set the deactivated flag to false.
|
|
142
159
|
*
|
|
143
160
|
* @param {CandidApi.preEncounter.patients.v1.PatientId} id
|
|
144
161
|
* @param {string} version
|
|
@@ -149,17 +166,18 @@ export declare class V1 {
|
|
|
149
166
|
*/
|
|
150
167
|
deactivate(id: CandidApi.preEncounter.patients.v1.PatientId, version: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.preEncounter.patients.v1.deactivate.Error>>;
|
|
151
168
|
/**
|
|
152
|
-
*
|
|
169
|
+
* Returns a list of Patients based on the search criteria.
|
|
153
170
|
*
|
|
154
|
-
* @param {CandidApi.preEncounter.patients.v1.
|
|
171
|
+
* @param {CandidApi.preEncounter.patients.v1.PatientGetMultiRequest} request
|
|
155
172
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
156
173
|
*
|
|
157
174
|
* @example
|
|
158
175
|
* await client.preEncounter.patients.v1.search({
|
|
159
|
-
*
|
|
176
|
+
* mrn: "string",
|
|
177
|
+
* similarNameOrdering: "string"
|
|
160
178
|
* })
|
|
161
179
|
*/
|
|
162
|
-
search(request?: CandidApi.preEncounter.patients.v1.
|
|
180
|
+
search(request?: CandidApi.preEncounter.patients.v1.PatientGetMultiRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient[], CandidApi.preEncounter.patients.v1.search.Error>>;
|
|
163
181
|
/**
|
|
164
182
|
* Scans up to 100 patient updates. The since query parameter is inclusive, and the result list is ordered by updatedAt descending.
|
|
165
183
|
*
|
|
@@ -86,7 +86,8 @@ class V1 {
|
|
|
86
86
|
* name: {},
|
|
87
87
|
* telecoms: [{}],
|
|
88
88
|
* addresses: [{}],
|
|
89
|
-
* period: {}
|
|
89
|
+
* period: {},
|
|
90
|
+
* hipaaAuthorization: true
|
|
90
91
|
* }],
|
|
91
92
|
* generalPractitioners: [{}],
|
|
92
93
|
* filingOrder: {
|
|
@@ -105,7 +106,7 @@ class V1 {
|
|
|
105
106
|
Authorization: yield this._getAuthorizationHeader(),
|
|
106
107
|
"X-Fern-Language": "JavaScript",
|
|
107
108
|
"X-Fern-SDK-Name": "candidhealth",
|
|
108
|
-
"X-Fern-SDK-Version": "0.
|
|
109
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
109
110
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
110
111
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
111
112
|
},
|
|
@@ -149,6 +150,73 @@ class V1 {
|
|
|
149
150
|
};
|
|
150
151
|
});
|
|
151
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* Searches for patients that match the query parameters.
|
|
155
|
+
*
|
|
156
|
+
* @param {CandidApi.preEncounter.patients.v1.PatientsSearchRequestPaginated} request
|
|
157
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
158
|
+
*
|
|
159
|
+
* @example
|
|
160
|
+
* await client.preEncounter.patients.v1.getMulti({
|
|
161
|
+
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
162
|
+
* limit: 1,
|
|
163
|
+
* sortField: CandidApi.preEncounter.patients.v1.PatientSortField("string"),
|
|
164
|
+
* sortDirection: CandidApi.preEncounter.SortDirection.Asc
|
|
165
|
+
* })
|
|
166
|
+
*/
|
|
167
|
+
getMulti(request = {}, requestOptions) {
|
|
168
|
+
var _a;
|
|
169
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
170
|
+
const { pageToken, limit, sortField, sortDirection } = request;
|
|
171
|
+
const _queryParams = {};
|
|
172
|
+
if (pageToken != null) {
|
|
173
|
+
_queryParams["page_token"] = pageToken;
|
|
174
|
+
}
|
|
175
|
+
if (limit != null) {
|
|
176
|
+
_queryParams["limit"] = limit.toString();
|
|
177
|
+
}
|
|
178
|
+
if (sortField != null) {
|
|
179
|
+
_queryParams["sort_field"] = sortField;
|
|
180
|
+
}
|
|
181
|
+
if (sortDirection != null) {
|
|
182
|
+
_queryParams["sort_direction"] = sortDirection;
|
|
183
|
+
}
|
|
184
|
+
const _response = yield core.fetcher({
|
|
185
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
186
|
+
.preEncounter, "/patients/v1/get_multi"),
|
|
187
|
+
method: "GET",
|
|
188
|
+
headers: {
|
|
189
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
190
|
+
"X-Fern-Language": "JavaScript",
|
|
191
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
192
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
193
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
194
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
195
|
+
},
|
|
196
|
+
contentType: "application/json",
|
|
197
|
+
queryParameters: _queryParams,
|
|
198
|
+
requestType: "json",
|
|
199
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
200
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
201
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
202
|
+
});
|
|
203
|
+
if (_response.ok) {
|
|
204
|
+
return {
|
|
205
|
+
ok: true,
|
|
206
|
+
body: serializers.preEncounter.patients.v1.PatientPage.parseOrThrow(_response.body, {
|
|
207
|
+
unrecognizedObjectKeys: "passthrough",
|
|
208
|
+
allowUnrecognizedUnionMembers: true,
|
|
209
|
+
allowUnrecognizedEnumValues: true,
|
|
210
|
+
breadcrumbsPrefix: ["response"],
|
|
211
|
+
}),
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
return {
|
|
215
|
+
ok: false,
|
|
216
|
+
error: CandidApi.preEncounter.patients.v1.getMulti.Error._unknown(_response.error),
|
|
217
|
+
};
|
|
218
|
+
});
|
|
219
|
+
}
|
|
152
220
|
/**
|
|
153
221
|
* Gets a patient.
|
|
154
222
|
*
|
|
@@ -169,7 +237,7 @@ class V1 {
|
|
|
169
237
|
Authorization: yield this._getAuthorizationHeader(),
|
|
170
238
|
"X-Fern-Language": "JavaScript",
|
|
171
239
|
"X-Fern-SDK-Name": "candidhealth",
|
|
172
|
-
"X-Fern-SDK-Version": "0.
|
|
240
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
173
241
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
174
242
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
175
243
|
},
|
|
@@ -230,7 +298,7 @@ class V1 {
|
|
|
230
298
|
Authorization: yield this._getAuthorizationHeader(),
|
|
231
299
|
"X-Fern-Language": "JavaScript",
|
|
232
300
|
"X-Fern-SDK-Name": "candidhealth",
|
|
233
|
-
"X-Fern-SDK-Version": "0.
|
|
301
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
234
302
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
235
303
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
236
304
|
},
|
|
@@ -272,7 +340,7 @@ class V1 {
|
|
|
272
340
|
});
|
|
273
341
|
}
|
|
274
342
|
/**
|
|
275
|
-
* Updates a patient. The path must contain the most recent version to prevent
|
|
343
|
+
* Updates a patient. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
|
|
276
344
|
*
|
|
277
345
|
* @param {CandidApi.preEncounter.patients.v1.PatientId} id
|
|
278
346
|
* @param {string} version
|
|
@@ -311,7 +379,8 @@ class V1 {
|
|
|
311
379
|
* name: {},
|
|
312
380
|
* telecoms: [{}],
|
|
313
381
|
* addresses: [{}],
|
|
314
|
-
* period: {}
|
|
382
|
+
* period: {},
|
|
383
|
+
* hipaaAuthorization: true
|
|
315
384
|
* }],
|
|
316
385
|
* generalPractitioners: [{}],
|
|
317
386
|
* filingOrder: {
|
|
@@ -330,7 +399,7 @@ class V1 {
|
|
|
330
399
|
Authorization: yield this._getAuthorizationHeader(),
|
|
331
400
|
"X-Fern-Language": "JavaScript",
|
|
332
401
|
"X-Fern-SDK-Name": "candidhealth",
|
|
333
|
-
"X-Fern-SDK-Version": "0.
|
|
402
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
334
403
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
335
404
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
336
405
|
},
|
|
@@ -376,7 +445,7 @@ class V1 {
|
|
|
376
445
|
});
|
|
377
446
|
}
|
|
378
447
|
/**
|
|
379
|
-
* Sets a patient as deactivated. The path must contain the most recent version to prevent
|
|
448
|
+
* Sets a patient as deactivated. The path must contain the most recent version to prevent race conditions. Deactivating historic versions is not supported. Subsequent updates via PUT to the patient will "reactivate" the patient and set the deactivated flag to false.
|
|
380
449
|
*
|
|
381
450
|
* @param {CandidApi.preEncounter.patients.v1.PatientId} id
|
|
382
451
|
* @param {string} version
|
|
@@ -396,7 +465,7 @@ class V1 {
|
|
|
396
465
|
Authorization: yield this._getAuthorizationHeader(),
|
|
397
466
|
"X-Fern-Language": "JavaScript",
|
|
398
467
|
"X-Fern-SDK-Name": "candidhealth",
|
|
399
|
-
"X-Fern-SDK-Version": "0.
|
|
468
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
400
469
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
401
470
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
402
471
|
},
|
|
@@ -434,23 +503,27 @@ class V1 {
|
|
|
434
503
|
});
|
|
435
504
|
}
|
|
436
505
|
/**
|
|
437
|
-
*
|
|
506
|
+
* Returns a list of Patients based on the search criteria.
|
|
438
507
|
*
|
|
439
|
-
* @param {CandidApi.preEncounter.patients.v1.
|
|
508
|
+
* @param {CandidApi.preEncounter.patients.v1.PatientGetMultiRequest} request
|
|
440
509
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
441
510
|
*
|
|
442
511
|
* @example
|
|
443
512
|
* await client.preEncounter.patients.v1.search({
|
|
444
|
-
*
|
|
513
|
+
* mrn: "string",
|
|
514
|
+
* similarNameOrdering: "string"
|
|
445
515
|
* })
|
|
446
516
|
*/
|
|
447
517
|
search(request = {}, requestOptions) {
|
|
448
518
|
var _a;
|
|
449
519
|
return __awaiter(this, void 0, void 0, function* () {
|
|
450
|
-
const {
|
|
520
|
+
const { mrn, similarNameOrdering } = request;
|
|
451
521
|
const _queryParams = {};
|
|
452
|
-
if (
|
|
453
|
-
_queryParams["
|
|
522
|
+
if (mrn != null) {
|
|
523
|
+
_queryParams["mrn"] = mrn;
|
|
524
|
+
}
|
|
525
|
+
if (similarNameOrdering != null) {
|
|
526
|
+
_queryParams["similar_name_ordering"] = similarNameOrdering;
|
|
454
527
|
}
|
|
455
528
|
const _response = yield core.fetcher({
|
|
456
529
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
@@ -460,7 +533,7 @@ class V1 {
|
|
|
460
533
|
Authorization: yield this._getAuthorizationHeader(),
|
|
461
534
|
"X-Fern-Language": "JavaScript",
|
|
462
535
|
"X-Fern-SDK-Name": "candidhealth",
|
|
463
|
-
"X-Fern-SDK-Version": "0.
|
|
536
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
464
537
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
465
538
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
466
539
|
},
|
|
@@ -513,7 +586,7 @@ class V1 {
|
|
|
513
586
|
Authorization: yield this._getAuthorizationHeader(),
|
|
514
587
|
"X-Fern-Language": "JavaScript",
|
|
515
588
|
"X-Fern-SDK-Name": "candidhealth",
|
|
516
|
-
"X-Fern-SDK-Version": "0.
|
|
589
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
517
590
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
518
591
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
519
592
|
},
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.patients.v1.getMulti.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.getMulti.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.getMulti.Error, visitor: CandidApi.preEncounter.patients.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.preEncounter.patients.v1.getMulti.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -26,9 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.scan = exports.search = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.create = void 0;
|
|
29
|
+
exports.scan = exports.search = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.getMulti = exports.create = void 0;
|
|
30
30
|
__exportStar(require("./requests"), exports);
|
|
31
31
|
exports.create = __importStar(require("./create"));
|
|
32
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
|
32
33
|
exports.get = __importStar(require("./get"));
|
|
33
34
|
exports.getHistory = __importStar(require("./getHistory"));
|
|
34
35
|
exports.update = __importStar(require("./update"));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* mrn: "string",
|
|
8
|
+
* similarNameOrdering: "string"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface PatientGetMultiRequest {
|
|
12
|
+
mrn?: string;
|
|
13
|
+
/**
|
|
14
|
+
* A string that is used to order similar names in search results.
|
|
15
|
+
*/
|
|
16
|
+
similarNameOrdering?: string;
|
|
17
|
+
}
|