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
package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
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.Response = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
const Appointment_1 = require("../types/Appointment");
|
|
32
|
+
exports.Response = core.serialization.list(Appointment_1.Appointment);
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
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.getMulti = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.create = void 0;
|
|
27
|
+
exports.create = __importStar(require("./create"));
|
|
28
|
+
exports.get = __importStar(require("./get"));
|
|
29
|
+
exports.getHistory = __importStar(require("./getHistory"));
|
|
30
|
+
exports.update = __importStar(require("./update"));
|
|
31
|
+
exports.deactivate = __importStar(require("./deactivate"));
|
|
32
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
import { NotFoundErrorBody } from "../../../../common/types/NotFoundErrorBody";
|
|
8
|
+
import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.appointments.v1.update.Error.Raw, CandidApi.preEncounter.appointments.v1.update.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.NotFoundError | Error.VersionConflictError;
|
|
12
|
+
interface NotFoundError {
|
|
13
|
+
errorName: "NotFoundError";
|
|
14
|
+
content: NotFoundErrorBody.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface VersionConflictError {
|
|
17
|
+
errorName: "VersionConflictError";
|
|
18
|
+
content: VersionConflictErrorBody.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
+
const NotFoundErrorBody_1 = require("../../../../common/types/NotFoundErrorBody");
|
|
44
|
+
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
45
|
+
exports.Error = core.serialization
|
|
46
|
+
.union("errorName", {
|
|
47
|
+
NotFoundError: core.serialization.object({
|
|
48
|
+
content: NotFoundErrorBody_1.NotFoundErrorBody,
|
|
49
|
+
}),
|
|
50
|
+
VersionConflictError: core.serialization.object({
|
|
51
|
+
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
52
|
+
}),
|
|
53
|
+
})
|
|
54
|
+
.transform({
|
|
55
|
+
transform: (value) => {
|
|
56
|
+
switch (value.errorName) {
|
|
57
|
+
case "NotFoundError":
|
|
58
|
+
return CandidApi.preEncounter.appointments.v1.update.Error.notFoundError(value.content);
|
|
59
|
+
case "VersionConflictError":
|
|
60
|
+
return CandidApi.preEncounter.appointments.v1.update.Error.versionConflictError(value.content);
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
untransform: (_a) => {
|
|
64
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
65
|
+
return value;
|
|
66
|
+
},
|
|
67
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
import { AppointmentId } from "./AppointmentId";
|
|
8
|
+
import { OrganizationId } from "../../../../common/types/OrganizationId";
|
|
9
|
+
import { UserId } from "../../../../common/types/UserId";
|
|
10
|
+
import { MutableAppointment } from "./MutableAppointment";
|
|
11
|
+
export declare const Appointment: core.serialization.ObjectSchema<serializers.preEncounter.appointments.v1.Appointment.Raw, CandidApi.preEncounter.appointments.v1.Appointment>;
|
|
12
|
+
export declare namespace Appointment {
|
|
13
|
+
interface Raw extends MutableAppointment.Raw {
|
|
14
|
+
id: AppointmentId.Raw;
|
|
15
|
+
organization_id: OrganizationId.Raw;
|
|
16
|
+
deactivated: boolean;
|
|
17
|
+
version: number;
|
|
18
|
+
updated_at: string;
|
|
19
|
+
updating_user_id: UserId.Raw;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (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.Appointment = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
const AppointmentId_1 = require("./AppointmentId");
|
|
32
|
+
const OrganizationId_1 = require("../../../../common/types/OrganizationId");
|
|
33
|
+
const UserId_1 = require("../../../../common/types/UserId");
|
|
34
|
+
const MutableAppointment_1 = require("./MutableAppointment");
|
|
35
|
+
exports.Appointment = core.serialization
|
|
36
|
+
.object({
|
|
37
|
+
id: AppointmentId_1.AppointmentId,
|
|
38
|
+
organizationId: core.serialization.property("organization_id", OrganizationId_1.OrganizationId),
|
|
39
|
+
deactivated: core.serialization.boolean(),
|
|
40
|
+
version: core.serialization.number(),
|
|
41
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
42
|
+
updatingUserId: core.serialization.property("updating_user_id", UserId_1.UserId),
|
|
43
|
+
})
|
|
44
|
+
.extend(MutableAppointment_1.MutableAppointment);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const AppointmentId: core.serialization.Schema<serializers.preEncounter.appointments.v1.AppointmentId.Raw, CandidApi.preEncounter.appointments.v1.AppointmentId>;
|
|
8
|
+
export declare namespace AppointmentId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.AppointmentId = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
31
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
32
|
+
exports.AppointmentId = core.serialization.string().transform({
|
|
33
|
+
transform: CandidApi.preEncounter.appointments.v1.AppointmentId,
|
|
34
|
+
untransform: (value) => value,
|
|
35
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const AppointmentReason: core.serialization.Schema<serializers.preEncounter.appointments.v1.AppointmentReason.Raw, CandidApi.preEncounter.appointments.v1.AppointmentReason>;
|
|
8
|
+
export declare namespace AppointmentReason {
|
|
9
|
+
type Raw = "CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.AppointmentReason = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.AppointmentReason = core.serialization.enum_(["CHECKUP", "EMERGENCY", "FOLLOWUP", "ROUTINE", "WALKIN"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const AppointmentSortField: core.serialization.Schema<serializers.preEncounter.appointments.v1.AppointmentSortField.Raw, CandidApi.preEncounter.appointments.v1.AppointmentSortField>;
|
|
8
|
+
export declare namespace AppointmentSortField {
|
|
9
|
+
type Raw = "startTimestamp" | "updatedAt";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.AppointmentSortField = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.AppointmentSortField = core.serialization.enum_(["startTimestamp", "updatedAt"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const AppointmentType: core.serialization.Schema<serializers.preEncounter.appointments.v1.AppointmentType.Raw, CandidApi.preEncounter.appointments.v1.AppointmentType>;
|
|
8
|
+
export declare namespace AppointmentType {
|
|
9
|
+
type Raw = "Complete" | "Normal" | "Tentative";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.AppointmentType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.AppointmentType = core.serialization.enum_(["Complete", "Normal", "Tentative"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const AppointmentWorkQueue: core.serialization.Schema<serializers.preEncounter.appointments.v1.AppointmentWorkQueue.Raw, CandidApi.preEncounter.appointments.v1.AppointmentWorkQueue>;
|
|
8
|
+
export declare namespace AppointmentWorkQueue {
|
|
9
|
+
type Raw = "EMERGENT_ISSUE" | "NEW_PATIENT" | "RETURNING_PATIENT";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.AppointmentWorkQueue = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.AppointmentWorkQueue = core.serialization.enum_(["EMERGENT_ISSUE", "NEW_PATIENT", "RETURNING_PATIENT"]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
import { PatientId } from "../../../../patients/resources/v1/types/PatientId";
|
|
8
|
+
import { ExternalProvider } from "../../../../common/types/ExternalProvider";
|
|
9
|
+
import { Service } from "./Service";
|
|
10
|
+
import { AppointmentReason } from "./AppointmentReason";
|
|
11
|
+
import { AppointmentType } from "./AppointmentType";
|
|
12
|
+
import { AppointmentWorkQueue } from "./AppointmentWorkQueue";
|
|
13
|
+
export declare const MutableAppointment: core.serialization.ObjectSchema<serializers.preEncounter.appointments.v1.MutableAppointment.Raw, CandidApi.preEncounter.appointments.v1.MutableAppointment>;
|
|
14
|
+
export declare namespace MutableAppointment {
|
|
15
|
+
interface Raw {
|
|
16
|
+
patient_id: PatientId.Raw;
|
|
17
|
+
checked_in?: boolean | null;
|
|
18
|
+
assigned_patient_location?: string | null;
|
|
19
|
+
attending_doctor?: ExternalProvider.Raw | null;
|
|
20
|
+
referring_doctor?: ExternalProvider.Raw | null;
|
|
21
|
+
start_timestamp?: string | null;
|
|
22
|
+
service_duration: number;
|
|
23
|
+
services: Service.Raw[];
|
|
24
|
+
placer_appointment_id?: string | null;
|
|
25
|
+
appointment_reason?: AppointmentReason.Raw | null;
|
|
26
|
+
appointment_type?: AppointmentType.Raw | null;
|
|
27
|
+
location_resource_id?: string | null;
|
|
28
|
+
work_queue?: AppointmentWorkQueue.Raw | null;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.MutableAppointment = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
const PatientId_1 = require("../../../../patients/resources/v1/types/PatientId");
|
|
32
|
+
const ExternalProvider_1 = require("../../../../common/types/ExternalProvider");
|
|
33
|
+
const Service_1 = require("./Service");
|
|
34
|
+
const AppointmentReason_1 = require("./AppointmentReason");
|
|
35
|
+
const AppointmentType_1 = require("./AppointmentType");
|
|
36
|
+
const AppointmentWorkQueue_1 = require("./AppointmentWorkQueue");
|
|
37
|
+
exports.MutableAppointment = core.serialization.object({
|
|
38
|
+
patientId: core.serialization.property("patient_id", PatientId_1.PatientId),
|
|
39
|
+
checkedIn: core.serialization.property("checked_in", core.serialization.boolean().optional()),
|
|
40
|
+
assignedPatientLocation: core.serialization.property("assigned_patient_location", core.serialization.string().optional()),
|
|
41
|
+
attendingDoctor: core.serialization.property("attending_doctor", ExternalProvider_1.ExternalProvider.optional()),
|
|
42
|
+
referringDoctor: core.serialization.property("referring_doctor", ExternalProvider_1.ExternalProvider.optional()),
|
|
43
|
+
startTimestamp: core.serialization.property("start_timestamp", core.serialization.date().optional()),
|
|
44
|
+
serviceDuration: core.serialization.property("service_duration", core.serialization.number()),
|
|
45
|
+
services: core.serialization.list(Service_1.Service),
|
|
46
|
+
placerAppointmentId: core.serialization.property("placer_appointment_id", core.serialization.string().optional()),
|
|
47
|
+
appointmentReason: core.serialization.property("appointment_reason", AppointmentReason_1.AppointmentReason.optional()),
|
|
48
|
+
appointmentType: core.serialization.property("appointment_type", AppointmentType_1.AppointmentType.optional()),
|
|
49
|
+
locationResourceId: core.serialization.property("location_resource_id", core.serialization.string().optional()),
|
|
50
|
+
workQueue: core.serialization.property("work_queue", AppointmentWorkQueue_1.AppointmentWorkQueue.optional()),
|
|
51
|
+
});
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
import { UniversalServiceIdentifier } from "./UniversalServiceIdentifier";
|
|
8
|
+
export declare const Service: core.serialization.ObjectSchema<serializers.preEncounter.appointments.v1.Service.Raw, CandidApi.preEncounter.appointments.v1.Service>;
|
|
9
|
+
export declare namespace Service {
|
|
10
|
+
interface Raw {
|
|
11
|
+
universal_service_identifier?: UniversalServiceIdentifier.Raw | null;
|
|
12
|
+
start_timestamp?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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.Service = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
const UniversalServiceIdentifier_1 = require("./UniversalServiceIdentifier");
|
|
32
|
+
exports.Service = core.serialization.object({
|
|
33
|
+
universalServiceIdentifier: core.serialization.property("universal_service_identifier", UniversalServiceIdentifier_1.UniversalServiceIdentifier.optional()),
|
|
34
|
+
startTimestamp: core.serialization.property("start_timestamp", core.serialization.date().optional()),
|
|
35
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const UniversalServiceIdentifier: core.serialization.Schema<serializers.preEncounter.appointments.v1.UniversalServiceIdentifier.Raw, CandidApi.preEncounter.appointments.v1.UniversalServiceIdentifier>;
|
|
8
|
+
export declare namespace UniversalServiceIdentifier {
|
|
9
|
+
type Raw = "MD_Visit" | "Treatment" | "Tests" | "Activity";
|
|
10
|
+
}
|