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
|
@@ -104,7 +104,7 @@ class V1 {
|
|
|
104
104
|
Authorization: yield this._getAuthorizationHeader(),
|
|
105
105
|
"X-Fern-Language": "JavaScript",
|
|
106
106
|
"X-Fern-SDK-Name": "candidhealth",
|
|
107
|
-
"X-Fern-SDK-Version": "0.
|
|
107
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
108
108
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
109
109
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
110
110
|
},
|
|
@@ -168,7 +168,7 @@ class V1 {
|
|
|
168
168
|
Authorization: yield this._getAuthorizationHeader(),
|
|
169
169
|
"X-Fern-Language": "JavaScript",
|
|
170
170
|
"X-Fern-SDK-Name": "candidhealth",
|
|
171
|
-
"X-Fern-SDK-Version": "0.
|
|
171
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
172
172
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
173
173
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
174
174
|
},
|
|
@@ -241,7 +241,7 @@ class V1 {
|
|
|
241
241
|
Authorization: yield this._getAuthorizationHeader(),
|
|
242
242
|
"X-Fern-Language": "JavaScript",
|
|
243
243
|
"X-Fern-SDK-Name": "candidhealth",
|
|
244
|
-
"X-Fern-SDK-Version": "0.
|
|
244
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
245
245
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
246
246
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
247
247
|
},
|
|
@@ -319,7 +319,7 @@ class V1 {
|
|
|
319
319
|
Authorization: yield this._getAuthorizationHeader(),
|
|
320
320
|
"X-Fern-Language": "JavaScript",
|
|
321
321
|
"X-Fern-SDK-Name": "candidhealth",
|
|
322
|
-
"X-Fern-SDK-Version": "0.
|
|
322
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
323
323
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
324
324
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
325
325
|
},
|
|
@@ -387,7 +387,7 @@ class V1 {
|
|
|
387
387
|
Authorization: yield this._getAuthorizationHeader(),
|
|
388
388
|
"X-Fern-Language": "JavaScript",
|
|
389
389
|
"X-Fern-SDK-Name": "candidhealth",
|
|
390
|
-
"X-Fern-SDK-Version": "0.
|
|
390
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
391
391
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
392
392
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
393
393
|
},
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../index";
|
|
5
|
+
export interface Invoice {
|
|
6
|
+
id: CandidApi.InvoiceId;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
updatedAt: Date;
|
|
9
|
+
organzationId: CandidApi.OrganizationId;
|
|
10
|
+
sourceId: string;
|
|
11
|
+
sourceCustomerId: string;
|
|
12
|
+
patientExternalId: CandidApi.PatientExternalId;
|
|
13
|
+
note?: string;
|
|
14
|
+
dueDate: CandidApi.Date_;
|
|
15
|
+
status: CandidApi.InvoiceStatus;
|
|
16
|
+
url?: string;
|
|
17
|
+
customerInvoiceUrl?: string;
|
|
18
|
+
items: CandidApi.InvoiceItem[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type InvoiceStatus = "draft" | "open" | "paid" | "void" | "uncollectible" | "held";
|
|
5
|
+
export declare const InvoiceStatus: {
|
|
6
|
+
readonly Draft: "draft";
|
|
7
|
+
readonly Open: "open";
|
|
8
|
+
readonly Paid: "paid";
|
|
9
|
+
readonly Void: "void";
|
|
10
|
+
readonly Uncollectible: "uncollectible";
|
|
11
|
+
readonly Held: "held";
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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.InvoiceStatus = void 0;
|
|
7
|
+
exports.InvoiceStatus = {
|
|
8
|
+
Draft: "draft",
|
|
9
|
+
Open: "open",
|
|
10
|
+
Paid: "paid",
|
|
11
|
+
Void: "void",
|
|
12
|
+
Uncollectible: "uncollectible",
|
|
13
|
+
Held: "held",
|
|
14
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./Invoice"), exports);
|
|
18
|
+
__exportStar(require("./InvoiceItem"), exports);
|
|
19
|
+
__exportStar(require("./InvoiceStatus"), exports);
|
|
@@ -66,7 +66,7 @@ class V3 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.
|
|
69
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -156,7 +156,7 @@ class V3 {
|
|
|
156
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
157
|
"X-Fern-Language": "JavaScript",
|
|
158
158
|
"X-Fern-SDK-Name": "candidhealth",
|
|
159
|
-
"X-Fern-SDK-Version": "0.
|
|
159
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
160
160
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
161
161
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
162
162
|
},
|
|
@@ -227,7 +227,7 @@ class V3 {
|
|
|
227
227
|
Authorization: yield this._getAuthorizationHeader(),
|
|
228
228
|
"X-Fern-Language": "JavaScript",
|
|
229
229
|
"X-Fern-SDK-Name": "candidhealth",
|
|
230
|
-
"X-Fern-SDK-Version": "0.
|
|
230
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
231
231
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
232
232
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
233
233
|
},
|
|
@@ -318,7 +318,7 @@ class V3 {
|
|
|
318
318
|
Authorization: yield this._getAuthorizationHeader(),
|
|
319
319
|
"X-Fern-Language": "JavaScript",
|
|
320
320
|
"X-Fern-SDK-Name": "candidhealth",
|
|
321
|
-
"X-Fern-SDK-Version": "0.
|
|
321
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
322
322
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
323
323
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
324
324
|
},
|
|
@@ -66,7 +66,7 @@ class V2 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.
|
|
69
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -140,7 +140,7 @@ class V2 {
|
|
|
140
140
|
Authorization: yield this._getAuthorizationHeader(),
|
|
141
141
|
"X-Fern-Language": "JavaScript",
|
|
142
142
|
"X-Fern-SDK-Name": "candidhealth",
|
|
143
|
-
"X-Fern-SDK-Version": "0.
|
|
143
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
144
144
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
145
145
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
146
146
|
},
|
|
@@ -204,7 +204,7 @@ class V2 {
|
|
|
204
204
|
Authorization: yield this._getAuthorizationHeader(),
|
|
205
205
|
"X-Fern-Language": "JavaScript",
|
|
206
206
|
"X-Fern-SDK-Name": "candidhealth",
|
|
207
|
-
"X-Fern-SDK-Version": "0.
|
|
207
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
208
208
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
209
209
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
210
210
|
},
|
|
@@ -285,7 +285,7 @@ class V2 {
|
|
|
285
285
|
Authorization: yield this._getAuthorizationHeader(),
|
|
286
286
|
"X-Fern-Language": "JavaScript",
|
|
287
287
|
"X-Fern-SDK-Name": "candidhealth",
|
|
288
|
-
"X-Fern-SDK-Version": "0.
|
|
288
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
289
289
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
290
290
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
291
291
|
},
|
|
@@ -348,7 +348,7 @@ class V2 {
|
|
|
348
348
|
Authorization: yield this._getAuthorizationHeader(),
|
|
349
349
|
"X-Fern-Language": "JavaScript",
|
|
350
350
|
"X-Fern-SDK-Name": "candidhealth",
|
|
351
|
-
"X-Fern-SDK-Version": "0.
|
|
351
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
352
352
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
353
353
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
354
354
|
},
|
|
@@ -121,7 +121,7 @@ class V4 {
|
|
|
121
121
|
Authorization: yield this._getAuthorizationHeader(),
|
|
122
122
|
"X-Fern-Language": "JavaScript",
|
|
123
123
|
"X-Fern-SDK-Name": "candidhealth",
|
|
124
|
-
"X-Fern-SDK-Version": "0.
|
|
124
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
125
125
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
126
126
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
127
127
|
},
|
|
@@ -184,7 +184,7 @@ class V4 {
|
|
|
184
184
|
Authorization: yield this._getAuthorizationHeader(),
|
|
185
185
|
"X-Fern-Language": "JavaScript",
|
|
186
186
|
"X-Fern-SDK-Name": "candidhealth",
|
|
187
|
-
"X-Fern-SDK-Version": "0.
|
|
187
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
188
188
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
189
189
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
190
190
|
},
|
|
@@ -261,7 +261,7 @@ class V4 {
|
|
|
261
261
|
Authorization: yield this._getAuthorizationHeader(),
|
|
262
262
|
"X-Fern-Language": "JavaScript",
|
|
263
263
|
"X-Fern-SDK-Name": "candidhealth",
|
|
264
|
-
"X-Fern-SDK-Version": "0.
|
|
264
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
265
265
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
266
266
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
267
267
|
},
|
|
@@ -338,7 +338,7 @@ class V4 {
|
|
|
338
338
|
Authorization: yield this._getAuthorizationHeader(),
|
|
339
339
|
"X-Fern-Language": "JavaScript",
|
|
340
340
|
"X-Fern-SDK-Name": "candidhealth",
|
|
341
|
-
"X-Fern-SDK-Version": "0.
|
|
341
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
342
342
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
343
343
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
344
344
|
},
|
|
@@ -404,7 +404,7 @@ class V4 {
|
|
|
404
404
|
Authorization: yield this._getAuthorizationHeader(),
|
|
405
405
|
"X-Fern-Language": "JavaScript",
|
|
406
406
|
"X-Fern-SDK-Name": "candidhealth",
|
|
407
|
-
"X-Fern-SDK-Version": "0.
|
|
407
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
408
408
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
409
409
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
410
410
|
},
|
|
@@ -121,7 +121,7 @@ class V1 {
|
|
|
121
121
|
Authorization: yield this._getAuthorizationHeader(),
|
|
122
122
|
"X-Fern-Language": "JavaScript",
|
|
123
123
|
"X-Fern-SDK-Name": "candidhealth",
|
|
124
|
-
"X-Fern-SDK-Version": "0.
|
|
124
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
125
125
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
126
126
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
127
127
|
},
|
|
@@ -184,7 +184,7 @@ class V1 {
|
|
|
184
184
|
Authorization: yield this._getAuthorizationHeader(),
|
|
185
185
|
"X-Fern-Language": "JavaScript",
|
|
186
186
|
"X-Fern-SDK-Name": "candidhealth",
|
|
187
|
-
"X-Fern-SDK-Version": "0.
|
|
187
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
188
188
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
189
189
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
190
190
|
},
|
|
@@ -262,7 +262,7 @@ class V1 {
|
|
|
262
262
|
Authorization: yield this._getAuthorizationHeader(),
|
|
263
263
|
"X-Fern-Language": "JavaScript",
|
|
264
264
|
"X-Fern-SDK-Name": "candidhealth",
|
|
265
|
-
"X-Fern-SDK-Version": "0.
|
|
265
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
266
266
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
267
267
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
268
268
|
},
|
|
@@ -343,7 +343,7 @@ class V1 {
|
|
|
343
343
|
Authorization: yield this._getAuthorizationHeader(),
|
|
344
344
|
"X-Fern-Language": "JavaScript",
|
|
345
345
|
"X-Fern-SDK-Name": "candidhealth",
|
|
346
|
-
"X-Fern-SDK-Version": "0.
|
|
346
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
347
347
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
348
348
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
349
349
|
},
|
|
@@ -409,7 +409,7 @@ class V1 {
|
|
|
409
409
|
Authorization: yield this._getAuthorizationHeader(),
|
|
410
410
|
"X-Fern-Language": "JavaScript",
|
|
411
411
|
"X-Fern-SDK-Name": "candidhealth",
|
|
412
|
-
"X-Fern-SDK-Version": "0.
|
|
412
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
413
413
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
414
414
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
415
415
|
},
|
|
@@ -66,7 +66,7 @@ class V3 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.
|
|
69
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -126,7 +126,7 @@ class V3 {
|
|
|
126
126
|
Authorization: yield this._getAuthorizationHeader(),
|
|
127
127
|
"X-Fern-Language": "JavaScript",
|
|
128
128
|
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
-
"X-Fern-SDK-Version": "0.
|
|
129
|
+
"X-Fern-SDK-Version": "0.28.0",
|
|
130
130
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
131
131
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
132
132
|
},
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "../../../../environments";
|
|
5
5
|
import * as core from "../../../../core";
|
|
6
|
+
import { Appointments } from "../resources/appointments/client/Client";
|
|
6
7
|
import { Coverages } from "../resources/coverages/client/Client";
|
|
7
8
|
import { Patients } from "../resources/patients/client/Client";
|
|
8
9
|
export declare namespace PreEncounter {
|
|
@@ -22,6 +23,8 @@ export declare namespace PreEncounter {
|
|
|
22
23
|
export declare class PreEncounter {
|
|
23
24
|
protected readonly _options: PreEncounter.Options;
|
|
24
25
|
constructor(_options?: PreEncounter.Options);
|
|
26
|
+
protected _appointments: Appointments | undefined;
|
|
27
|
+
get appointments(): Appointments;
|
|
25
28
|
protected _coverages: Coverages | undefined;
|
|
26
29
|
get coverages(): Coverages;
|
|
27
30
|
protected _patients: Patients | undefined;
|
|
@@ -4,19 +4,24 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.PreEncounter = void 0;
|
|
7
|
-
const Client_1 = require("../resources/
|
|
8
|
-
const Client_2 = require("../resources/
|
|
7
|
+
const Client_1 = require("../resources/appointments/client/Client");
|
|
8
|
+
const Client_2 = require("../resources/coverages/client/Client");
|
|
9
|
+
const Client_3 = require("../resources/patients/client/Client");
|
|
9
10
|
class PreEncounter {
|
|
10
11
|
constructor(_options = {}) {
|
|
11
12
|
this._options = _options;
|
|
12
13
|
}
|
|
14
|
+
get appointments() {
|
|
15
|
+
var _a;
|
|
16
|
+
return ((_a = this._appointments) !== null && _a !== void 0 ? _a : (this._appointments = new Client_1.Appointments(this._options)));
|
|
17
|
+
}
|
|
13
18
|
get coverages() {
|
|
14
19
|
var _a;
|
|
15
|
-
return ((_a = this._coverages) !== null && _a !== void 0 ? _a : (this._coverages = new
|
|
20
|
+
return ((_a = this._coverages) !== null && _a !== void 0 ? _a : (this._coverages = new Client_2.Coverages(this._options)));
|
|
16
21
|
}
|
|
17
22
|
get patients() {
|
|
18
23
|
var _a;
|
|
19
|
-
return ((_a = this._patients) !== null && _a !== void 0 ? _a : (this._patients = new
|
|
24
|
+
return ((_a = this._patients) !== null && _a !== void 0 ? _a : (this._patients = new Client_3.Patients(this._options)));
|
|
20
25
|
}
|
|
21
26
|
}
|
|
22
27
|
exports.PreEncounter = PreEncounter;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import { V1 } from "../resources/v1/client/Client";
|
|
7
|
+
export declare namespace Appointments {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
interface RequestOptions {
|
|
13
|
+
/** The maximum time to wait for a response in seconds. */
|
|
14
|
+
timeoutInSeconds?: number;
|
|
15
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
16
|
+
maxRetries?: number;
|
|
17
|
+
/** A hook to abort the request. */
|
|
18
|
+
abortSignal?: AbortSignal;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare class Appointments {
|
|
22
|
+
protected readonly _options: Appointments.Options;
|
|
23
|
+
constructor(_options?: Appointments.Options);
|
|
24
|
+
protected _v1: V1 | undefined;
|
|
25
|
+
get v1(): V1;
|
|
26
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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.Appointments = void 0;
|
|
7
|
+
const Client_1 = require("../resources/v1/client/Client");
|
|
8
|
+
class Appointments {
|
|
9
|
+
constructor(_options = {}) {
|
|
10
|
+
this._options = _options;
|
|
11
|
+
}
|
|
12
|
+
get v1() {
|
|
13
|
+
var _a;
|
|
14
|
+
return ((_a = this._v1) !== null && _a !== void 0 ? _a : (this._v1 = new Client_1.V1(this._options)));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.Appointments = Appointments;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v1 from "./v1";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.v1 = void 0;
|
|
27
|
+
exports.v1 = __importStar(require("./v1"));
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../../../core";
|
|
6
|
+
import * as CandidApi from "../../../../../../../index";
|
|
7
|
+
export declare namespace V1 {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
interface RequestOptions {
|
|
13
|
+
/** The maximum time to wait for a response in seconds. */
|
|
14
|
+
timeoutInSeconds?: number;
|
|
15
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
16
|
+
maxRetries?: number;
|
|
17
|
+
/** A hook to abort the request. */
|
|
18
|
+
abortSignal?: AbortSignal;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare class V1 {
|
|
22
|
+
protected readonly _options: V1.Options;
|
|
23
|
+
constructor(_options?: V1.Options);
|
|
24
|
+
/**
|
|
25
|
+
* Adds an appointment. VersionConflictError is returned when the placer_appointment_id is already in use.
|
|
26
|
+
*
|
|
27
|
+
* @param {CandidApi.preEncounter.appointments.v1.MutableAppointment} request
|
|
28
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* await client.preEncounter.appointments.v1.create({
|
|
32
|
+
* patientId: CandidApi.preEncounter.patients.v1.PatientId("string"),
|
|
33
|
+
* checkedIn: true,
|
|
34
|
+
* assignedPatientLocation: "string",
|
|
35
|
+
* attendingDoctor: {},
|
|
36
|
+
* referringDoctor: {},
|
|
37
|
+
* startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
38
|
+
* serviceDuration: 1,
|
|
39
|
+
* services: [{
|
|
40
|
+
* universalServiceIdentifier: CandidApi.preEncounter.appointments.v1.UniversalServiceIdentifier.MdVisit,
|
|
41
|
+
* startTimestamp: new Date("2024-01-15T09:30:00.000Z")
|
|
42
|
+
* }],
|
|
43
|
+
* placerAppointmentId: "string",
|
|
44
|
+
* appointmentReason: CandidApi.preEncounter.appointments.v1.AppointmentReason.Checkup,
|
|
45
|
+
* appointmentType: CandidApi.preEncounter.appointments.v1.AppointmentType.Complete,
|
|
46
|
+
* locationResourceId: "string",
|
|
47
|
+
* workQueue: CandidApi.preEncounter.appointments.v1.AppointmentWorkQueue.EmergentIssue
|
|
48
|
+
* })
|
|
49
|
+
*/
|
|
50
|
+
create(request: CandidApi.preEncounter.appointments.v1.MutableAppointment, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment, CandidApi.preEncounter.appointments.v1.create.Error>>;
|
|
51
|
+
/**
|
|
52
|
+
* Gets an appointment.
|
|
53
|
+
*
|
|
54
|
+
* @param {CandidApi.preEncounter.appointments.v1.AppointmentId} id
|
|
55
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* await client.preEncounter.appointments.v1.get(CandidApi.preEncounter.appointments.v1.AppointmentId("string"))
|
|
59
|
+
*/
|
|
60
|
+
get(id: CandidApi.preEncounter.appointments.v1.AppointmentId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment, CandidApi.preEncounter.appointments.v1.get.Error>>;
|
|
61
|
+
/**
|
|
62
|
+
* Gets an appointment along with it's full history. The return list is ordered by version ascending.
|
|
63
|
+
*
|
|
64
|
+
* @param {CandidApi.preEncounter.appointments.v1.AppointmentId} id
|
|
65
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.preEncounter.appointments.v1.getHistory(CandidApi.preEncounter.appointments.v1.AppointmentId("string"))
|
|
69
|
+
*/
|
|
70
|
+
getHistory(id: CandidApi.preEncounter.appointments.v1.AppointmentId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment[], CandidApi.preEncounter.appointments.v1.getHistory.Error>>;
|
|
71
|
+
/**
|
|
72
|
+
* Updates an appointment. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
|
|
73
|
+
*
|
|
74
|
+
* @param {CandidApi.preEncounter.appointments.v1.AppointmentId} id
|
|
75
|
+
* @param {string} version
|
|
76
|
+
* @param {CandidApi.preEncounter.appointments.v1.MutableAppointment} request
|
|
77
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* await client.preEncounter.appointments.v1.update(CandidApi.preEncounter.appointments.v1.AppointmentId("string"), "string", {
|
|
81
|
+
* patientId: CandidApi.preEncounter.patients.v1.PatientId("string"),
|
|
82
|
+
* checkedIn: true,
|
|
83
|
+
* assignedPatientLocation: "string",
|
|
84
|
+
* attendingDoctor: {},
|
|
85
|
+
* referringDoctor: {},
|
|
86
|
+
* startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
87
|
+
* serviceDuration: 1,
|
|
88
|
+
* services: [{
|
|
89
|
+
* universalServiceIdentifier: CandidApi.preEncounter.appointments.v1.UniversalServiceIdentifier.MdVisit,
|
|
90
|
+
* startTimestamp: new Date("2024-01-15T09:30:00.000Z")
|
|
91
|
+
* }],
|
|
92
|
+
* placerAppointmentId: "string",
|
|
93
|
+
* appointmentReason: CandidApi.preEncounter.appointments.v1.AppointmentReason.Checkup,
|
|
94
|
+
* appointmentType: CandidApi.preEncounter.appointments.v1.AppointmentType.Complete,
|
|
95
|
+
* locationResourceId: "string",
|
|
96
|
+
* workQueue: CandidApi.preEncounter.appointments.v1.AppointmentWorkQueue.EmergentIssue
|
|
97
|
+
* })
|
|
98
|
+
*/
|
|
99
|
+
update(id: CandidApi.preEncounter.appointments.v1.AppointmentId, version: string, request: CandidApi.preEncounter.appointments.v1.MutableAppointment, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment, CandidApi.preEncounter.appointments.v1.update.Error>>;
|
|
100
|
+
/**
|
|
101
|
+
* Sets an appointment 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 appointment will "reactivate" the appointment and set the deactivated flag to false.
|
|
102
|
+
*
|
|
103
|
+
* @param {CandidApi.preEncounter.appointments.v1.AppointmentId} id
|
|
104
|
+
* @param {string} version
|
|
105
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* await client.preEncounter.appointments.v1.deactivate(CandidApi.preEncounter.appointments.v1.AppointmentId("string"), "string")
|
|
109
|
+
*/
|
|
110
|
+
deactivate(id: CandidApi.preEncounter.appointments.v1.AppointmentId, version: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.preEncounter.appointments.v1.deactivate.Error>>;
|
|
111
|
+
/**
|
|
112
|
+
* Searches for appointments that match the query parameters.
|
|
113
|
+
*
|
|
114
|
+
* @param {CandidApi.preEncounter.appointments.v1.AppointmentsSearchRequest} request
|
|
115
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* await client.preEncounter.appointments.v1.getMulti({
|
|
119
|
+
* checkedIn: true,
|
|
120
|
+
* patientId: CandidApi.preEncounter.patients.v1.PatientId("string"),
|
|
121
|
+
* minStartTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
122
|
+
* maxStartTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
123
|
+
* placerAppointmentId: "string",
|
|
124
|
+
* workQueue: CandidApi.preEncounter.appointments.v1.AppointmentWorkQueue.EmergentIssue,
|
|
125
|
+
* sortField: CandidApi.preEncounter.appointments.v1.AppointmentSortField.StartTimestamp,
|
|
126
|
+
* sortDirection: CandidApi.preEncounter.SortDirection.Asc,
|
|
127
|
+
* limit: 1
|
|
128
|
+
* })
|
|
129
|
+
*/
|
|
130
|
+
getMulti(request?: CandidApi.preEncounter.appointments.v1.AppointmentsSearchRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment[], CandidApi.preEncounter.appointments.v1.getMulti.Error>>;
|
|
131
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
132
|
+
}
|