candidhealth 0.45.0 → 0.46.1
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/README.md +4 -18
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
- package/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
- package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
- package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
- package/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
- package/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
- package/api/resources/contracts/resources/v2/client/Client.js +19 -73
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
- package/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
- package/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
- package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
- package/api/resources/credentialing/resources/v2/client/Client.js +9 -31
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.d.ts +3 -8
- package/api/resources/diagnoses/client/Client.js +6 -11
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
- package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
- package/api/resources/eligibility/resources/v2/client/Client.js +5 -9
- package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
- package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
- package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
- package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
- package/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
- package/api/resources/encounters/resources/v4/client/Client.js +54 -679
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
- package/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
- package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
- package/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
- package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
- package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
- package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
- package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
- package/api/resources/guarantor/resources/v1/client/Client.js +11 -41
- package/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
- package/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
- package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
- package/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
- package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
- package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
- package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
- package/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
- package/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
- package/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
- package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
- package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
- package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
- package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
- package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/pipelineCommons/index.d.ts +1 -0
- package/api/resources/pipelineCommons/index.js +17 -0
- package/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
- package/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
- package/api/resources/pipelineCommons/types/index.d.ts +1 -0
- package/api/resources/pipelineCommons/types/index.js +17 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
- package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
- package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
- package/api/resources/serviceFacility/client/Client.d.ts +1 -11
- package/api/resources/serviceFacility/client/Client.js +2 -12
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
- package/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
- package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +2 -1
- package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
- package/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
- package/api/resources/superbills/resources/v1/client/Client.js +3 -11
- package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
- package/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
- package/api/resources/tasks/resources/v3/client/Client.js +9 -30
- package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
- package/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
- package/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
- package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
- package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
- package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
- package/dist/api/resources/contracts/resources/v2/client/Client.js +19 -73
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
- package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
- package/dist/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
- package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +9 -31
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.d.ts +3 -8
- package/dist/api/resources/diagnoses/client/Client.js +6 -11
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
- package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +5 -9
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
- package/dist/api/resources/encounters/resources/v4/client/Client.js +54 -679
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
- package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +11 -41
- package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
- package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
- package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/pipelineCommons/index.d.ts +1 -0
- package/dist/api/resources/pipelineCommons/index.js +17 -0
- package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
- package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
- package/dist/api/resources/pipelineCommons/types/index.d.ts +1 -0
- package/dist/api/resources/pipelineCommons/types/index.js +17 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
- package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -11
- package/dist/api/resources/serviceFacility/client/Client.js +2 -12
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
- package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +2 -1
- package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
- package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
- package/dist/api/resources/superbills/resources/v1/client/Client.js +3 -11
- package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
- package/dist/api/resources/tasks/resources/v3/client/Client.js +9 -30
- package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
- package/dist/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
- package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/environments.d.ts +5 -1
- package/dist/environments.js +4 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/pipelineCommons/index.d.ts +1 -0
- package/dist/serialization/resources/pipelineCommons/index.js +17 -0
- package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
- package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
- package/dist/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
- package/dist/serialization/resources/pipelineCommons/types/index.js +17 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
- package/dist/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
- package/dist/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +5 -1
- package/environments.js +4 -0
- package/package.json +1 -1
- package/reference.md +772 -2366
- package/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
- package/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
- package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/pipelineCommons/index.d.ts +1 -0
- package/serialization/resources/pipelineCommons/index.js +17 -0
- package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
- package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
- package/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
- package/serialization/resources/pipelineCommons/types/index.js +17 -0
- package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
- package/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
- package/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -59,49 +59,17 @@ class V1 {
|
|
|
59
59
|
this._options = _options;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
* Adds an appointment.
|
|
62
|
+
* Adds an appointment. VersionConflictError is returned when the placer_appointment_id is already in use.
|
|
63
63
|
*
|
|
64
64
|
* @param {CandidApi.preEncounter.appointments.v1.MutableAppointment} request
|
|
65
65
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* await client.preEncounter.appointments.v1.create({
|
|
69
|
-
* patientId: CandidApi.preEncounter.PatientId("
|
|
69
|
+
* patientId: CandidApi.preEncounter.PatientId("patient_id"),
|
|
70
70
|
* startTimestamp: "2024-01-15T09:30:00Z",
|
|
71
|
-
* status: "PENDING",
|
|
72
71
|
* serviceDuration: 1,
|
|
73
|
-
* services: [{
|
|
74
|
-
* universalServiceIdentifier: "MD_Visit",
|
|
75
|
-
* startTimestamp: "2024-01-15T09:30:00Z"
|
|
76
|
-
* }],
|
|
77
|
-
* placerAppointmentId: "string",
|
|
78
|
-
* attendingDoctor: {
|
|
79
|
-
* name: {
|
|
80
|
-
* family: "string",
|
|
81
|
-
* given: ["string"],
|
|
82
|
-
* use: "USUAL",
|
|
83
|
-
* period: {},
|
|
84
|
-
* suffix: "string"
|
|
85
|
-
* },
|
|
86
|
-
* type: "PRIMARY",
|
|
87
|
-
* npi: "string",
|
|
88
|
-
* telecoms: [{
|
|
89
|
-
* value: "string",
|
|
90
|
-
* use: "HOME"
|
|
91
|
-
* }],
|
|
92
|
-
* addresses: [],
|
|
93
|
-
* period: {},
|
|
94
|
-
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
|
|
95
|
-
* fax: "string"
|
|
96
|
-
* },
|
|
97
|
-
* estimatedCopayCents: 1,
|
|
98
|
-
* estimatedPatientResponsibilityCents: 1,
|
|
99
|
-
* patientDepositCents: 1,
|
|
100
|
-
* checkedInTimestamp: "2024-01-15T09:30:00Z",
|
|
101
|
-
* notes: "string",
|
|
102
|
-
* locationResourceId: "string",
|
|
103
|
-
* automatedEligibilityCheckComplete: true,
|
|
104
|
-
* workQueue: "EMERGENT_ISSUE"
|
|
72
|
+
* services: [{}, {}]
|
|
105
73
|
* })
|
|
106
74
|
*/
|
|
107
75
|
create(request, requestOptions) {
|
|
@@ -110,7 +78,7 @@ class V1 {
|
|
|
110
78
|
const _response = yield core.fetcher({
|
|
111
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/appointments/v1"),
|
|
112
80
|
method: "POST",
|
|
113
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
81
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
114
82
|
contentType: "application/json",
|
|
115
83
|
requestType: "json",
|
|
116
84
|
body: serializers.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
|
|
@@ -159,13 +127,7 @@ class V1 {
|
|
|
159
127
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
160
128
|
*
|
|
161
129
|
* @example
|
|
162
|
-
* await client.preEncounter.appointments.v1.getVisits(
|
|
163
|
-
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
164
|
-
* limit: 1,
|
|
165
|
-
* sortField: CandidApi.preEncounter.lists.v1.SortFieldString("string"),
|
|
166
|
-
* sortDirection: "asc",
|
|
167
|
-
* filters: CandidApi.preEncounter.lists.v1.FilterQueryString("string")
|
|
168
|
-
* })
|
|
130
|
+
* await client.preEncounter.appointments.v1.getVisits()
|
|
169
131
|
*/
|
|
170
132
|
getVisits() {
|
|
171
133
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
@@ -192,7 +154,7 @@ class V1 {
|
|
|
192
154
|
const _response = yield core.fetcher({
|
|
193
155
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/appointments/v1/visits"),
|
|
194
156
|
method: "GET",
|
|
195
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
157
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
196
158
|
contentType: "application/json",
|
|
197
159
|
queryParameters: _queryParams,
|
|
198
160
|
requestType: "json",
|
|
@@ -238,7 +200,7 @@ class V1 {
|
|
|
238
200
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
239
201
|
*
|
|
240
202
|
* @example
|
|
241
|
-
* await client.preEncounter.appointments.v1.get(CandidApi.preEncounter.AppointmentId("
|
|
203
|
+
* await client.preEncounter.appointments.v1.get(CandidApi.preEncounter.AppointmentId("id"))
|
|
242
204
|
*/
|
|
243
205
|
get(id, requestOptions) {
|
|
244
206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -246,7 +208,7 @@ class V1 {
|
|
|
246
208
|
const _response = yield core.fetcher({
|
|
247
209
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}`),
|
|
248
210
|
method: "GET",
|
|
249
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
211
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
250
212
|
contentType: "application/json",
|
|
251
213
|
requestType: "json",
|
|
252
214
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -285,13 +247,13 @@ class V1 {
|
|
|
285
247
|
});
|
|
286
248
|
}
|
|
287
249
|
/**
|
|
288
|
-
* Gets an appointment along with it's full history.
|
|
250
|
+
* Gets an appointment along with it's full history. The return list is ordered by version ascending.
|
|
289
251
|
*
|
|
290
252
|
* @param {CandidApi.preEncounter.AppointmentId} id
|
|
291
253
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
292
254
|
*
|
|
293
255
|
* @example
|
|
294
|
-
* await client.preEncounter.appointments.v1.getHistory(CandidApi.preEncounter.AppointmentId("
|
|
256
|
+
* await client.preEncounter.appointments.v1.getHistory(CandidApi.preEncounter.AppointmentId("id"))
|
|
295
257
|
*/
|
|
296
258
|
getHistory(id, requestOptions) {
|
|
297
259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -299,7 +261,7 @@ class V1 {
|
|
|
299
261
|
const _response = yield core.fetcher({
|
|
300
262
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/history`),
|
|
301
263
|
method: "GET",
|
|
302
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
264
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
303
265
|
contentType: "application/json",
|
|
304
266
|
requestType: "json",
|
|
305
267
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -338,7 +300,7 @@ class V1 {
|
|
|
338
300
|
});
|
|
339
301
|
}
|
|
340
302
|
/**
|
|
341
|
-
* Updates an appointment.
|
|
303
|
+
* Updates an appointment. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
|
|
342
304
|
*
|
|
343
305
|
* @param {CandidApi.preEncounter.AppointmentId} id
|
|
344
306
|
* @param {string} version
|
|
@@ -346,43 +308,11 @@ class V1 {
|
|
|
346
308
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
347
309
|
*
|
|
348
310
|
* @example
|
|
349
|
-
* await client.preEncounter.appointments.v1.update(CandidApi.preEncounter.AppointmentId("
|
|
350
|
-
* patientId: CandidApi.preEncounter.PatientId("
|
|
311
|
+
* await client.preEncounter.appointments.v1.update(CandidApi.preEncounter.AppointmentId("id"), "version", {
|
|
312
|
+
* patientId: CandidApi.preEncounter.PatientId("patient_id"),
|
|
351
313
|
* startTimestamp: "2024-01-15T09:30:00Z",
|
|
352
|
-
* status: "PENDING",
|
|
353
314
|
* serviceDuration: 1,
|
|
354
|
-
* services: [{
|
|
355
|
-
* universalServiceIdentifier: "MD_Visit",
|
|
356
|
-
* startTimestamp: "2024-01-15T09:30:00Z"
|
|
357
|
-
* }],
|
|
358
|
-
* placerAppointmentId: "string",
|
|
359
|
-
* attendingDoctor: {
|
|
360
|
-
* name: {
|
|
361
|
-
* family: "string",
|
|
362
|
-
* given: ["string"],
|
|
363
|
-
* use: "USUAL",
|
|
364
|
-
* period: {},
|
|
365
|
-
* suffix: "string"
|
|
366
|
-
* },
|
|
367
|
-
* type: "PRIMARY",
|
|
368
|
-
* npi: "string",
|
|
369
|
-
* telecoms: [{
|
|
370
|
-
* value: "string",
|
|
371
|
-
* use: "HOME"
|
|
372
|
-
* }],
|
|
373
|
-
* addresses: [],
|
|
374
|
-
* period: {},
|
|
375
|
-
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
|
|
376
|
-
* fax: "string"
|
|
377
|
-
* },
|
|
378
|
-
* estimatedCopayCents: 1,
|
|
379
|
-
* estimatedPatientResponsibilityCents: 1,
|
|
380
|
-
* patientDepositCents: 1,
|
|
381
|
-
* checkedInTimestamp: "2024-01-15T09:30:00Z",
|
|
382
|
-
* notes: "string",
|
|
383
|
-
* locationResourceId: "string",
|
|
384
|
-
* automatedEligibilityCheckComplete: true,
|
|
385
|
-
* workQueue: "EMERGENT_ISSUE"
|
|
315
|
+
* services: [{}, {}]
|
|
386
316
|
* })
|
|
387
317
|
*/
|
|
388
318
|
update(id, version, request, requestOptions) {
|
|
@@ -391,7 +321,7 @@ class V1 {
|
|
|
391
321
|
const _response = yield core.fetcher({
|
|
392
322
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
393
323
|
method: "PUT",
|
|
394
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
324
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
395
325
|
contentType: "application/json",
|
|
396
326
|
requestType: "json",
|
|
397
327
|
body: serializers.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
|
|
@@ -434,7 +364,7 @@ class V1 {
|
|
|
434
364
|
});
|
|
435
365
|
}
|
|
436
366
|
/**
|
|
437
|
-
* Scans up to 100 appointment updates.
|
|
367
|
+
* Scans up to 100 appointment updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
|
|
438
368
|
*
|
|
439
369
|
* @param {CandidApi.preEncounter.appointments.v1.AppointmentScanRequest} request
|
|
440
370
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -453,7 +383,7 @@ class V1 {
|
|
|
453
383
|
const _response = yield core.fetcher({
|
|
454
384
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/appointments/v1/updates/scan"),
|
|
455
385
|
method: "GET",
|
|
456
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
386
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
457
387
|
contentType: "application/json",
|
|
458
388
|
queryParameters: _queryParams,
|
|
459
389
|
requestType: "json",
|
|
@@ -479,14 +409,14 @@ class V1 {
|
|
|
479
409
|
});
|
|
480
410
|
}
|
|
481
411
|
/**
|
|
482
|
-
* Sets an appointment as deactivated.
|
|
412
|
+
* Sets an appointment as deactivated. The path must contain the most recent version to prevent race conditions. Deactivating historic versions is not supported. Subsequent updates via PUT to the appointment will "reactivate" the appointment and set the deactivated flag to false.
|
|
483
413
|
*
|
|
484
414
|
* @param {CandidApi.preEncounter.AppointmentId} id
|
|
485
415
|
* @param {string} version
|
|
486
416
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
487
417
|
*
|
|
488
418
|
* @example
|
|
489
|
-
* await client.preEncounter.appointments.v1.deactivate(CandidApi.preEncounter.AppointmentId("
|
|
419
|
+
* await client.preEncounter.appointments.v1.deactivate(CandidApi.preEncounter.AppointmentId("id"), "version")
|
|
490
420
|
*/
|
|
491
421
|
deactivate(id, version, requestOptions) {
|
|
492
422
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -494,7 +424,7 @@ class V1 {
|
|
|
494
424
|
const _response = yield core.fetcher({
|
|
495
425
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
496
426
|
method: "DELETE",
|
|
497
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
427
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
498
428
|
contentType: "application/json",
|
|
499
429
|
requestType: "json",
|
|
500
430
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -4,13 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
9
|
-
* limit: 1,
|
|
10
|
-
* sortField: CandidApi.preEncounter.lists.v1.SortFieldString("string"),
|
|
11
|
-
* sortDirection: "asc",
|
|
12
|
-
* filters: CandidApi.preEncounter.lists.v1.FilterQueryString("string")
|
|
13
|
-
* }
|
|
7
|
+
* {}
|
|
14
8
|
*/
|
|
15
9
|
export interface VisitsRequest {
|
|
16
10
|
pageToken?: CandidApi.preEncounter.PageToken;
|
|
@@ -5,9 +5,9 @@ import * as CandidApi from "../../../../../index";
|
|
|
5
5
|
export interface BaseModel {
|
|
6
6
|
/** The organization that owns this object. */
|
|
7
7
|
organizationId: CandidApi.preEncounter.OrganizationId;
|
|
8
|
-
/** True if the object is deactivated.
|
|
8
|
+
/** True if the object is deactivated. Deactivated objects are not returned in search results but are returned in all other endpoints including scan. */
|
|
9
9
|
deactivated: boolean;
|
|
10
|
-
/** The version of the object.
|
|
10
|
+
/** The version of the object. Any update to any property of an object object will create a new version. */
|
|
11
11
|
version: number;
|
|
12
12
|
updatedAt: Date;
|
|
13
13
|
/** The user ID of the user who last updated the object. */
|
|
@@ -36,52 +36,26 @@ export declare class V1 {
|
|
|
36
36
|
* status: "ACTIVE",
|
|
37
37
|
* subscriber: {
|
|
38
38
|
* name: {
|
|
39
|
-
* family: "
|
|
40
|
-
* given: ["
|
|
41
|
-
* use: "USUAL"
|
|
42
|
-
* period: {},
|
|
43
|
-
* suffix: "string"
|
|
39
|
+
* family: "family",
|
|
40
|
+
* given: ["given", "given"],
|
|
41
|
+
* use: "USUAL"
|
|
44
42
|
* },
|
|
45
43
|
* dateOfBirth: "2023-01-15",
|
|
46
|
-
* biologicalSex: "FEMALE"
|
|
47
|
-
* address: {
|
|
48
|
-
* use: "HOME",
|
|
49
|
-
* line: ["string"],
|
|
50
|
-
* city: "string",
|
|
51
|
-
* state: "string",
|
|
52
|
-
* postalCode: "string",
|
|
53
|
-
* country: "string",
|
|
54
|
-
* period: {}
|
|
55
|
-
* }
|
|
44
|
+
* biologicalSex: "FEMALE"
|
|
56
45
|
* },
|
|
57
46
|
* relationship: "SELF",
|
|
58
|
-
* patient: CandidApi.preEncounter.PatientId("
|
|
47
|
+
* patient: CandidApi.preEncounter.PatientId("patient"),
|
|
59
48
|
* insurancePlan: {
|
|
60
|
-
* memberId: "
|
|
61
|
-
* payerId: CandidApi.preEncounter.PayerId("
|
|
62
|
-
* payerName: "
|
|
63
|
-
* additionalPayerInformation: {},
|
|
64
|
-
* groupNumber: "string",
|
|
65
|
-
* name: "string",
|
|
66
|
-
* planType: "09",
|
|
67
|
-
* type: "01",
|
|
68
|
-
* period: {},
|
|
69
|
-
* insuranceCardImageLocator: "string",
|
|
70
|
-
* payerPlanGroupId: CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
49
|
+
* memberId: "member_id",
|
|
50
|
+
* payerId: CandidApi.preEncounter.PayerId("payer_id"),
|
|
51
|
+
* payerName: "payer_name"
|
|
71
52
|
* },
|
|
72
|
-
* verified: true
|
|
73
|
-
* eligibilityChecks: [],
|
|
74
|
-
* latestEligibilityCheck: {
|
|
75
|
-
* checkId: "string",
|
|
76
|
-
* status: "ACTIVE",
|
|
77
|
-
* initiatedAt: "2024-01-15T09:30:00Z"
|
|
78
|
-
* },
|
|
79
|
-
* benefits: {}
|
|
53
|
+
* verified: true
|
|
80
54
|
* })
|
|
81
55
|
*/
|
|
82
56
|
create(request: CandidApi.preEncounter.coverages.v1.MutableCoverage, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.Coverage, CandidApi.preEncounter.coverages.v1.create.Error>>;
|
|
83
57
|
/**
|
|
84
|
-
* Updates a Coverage.
|
|
58
|
+
* Updates a Coverage. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
|
|
85
59
|
*
|
|
86
60
|
* @param {CandidApi.preEncounter.CoverageId} id
|
|
87
61
|
* @param {string} version
|
|
@@ -89,51 +63,25 @@ export declare class V1 {
|
|
|
89
63
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
90
64
|
*
|
|
91
65
|
* @example
|
|
92
|
-
* await client.preEncounter.coverages.v1.update(CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "
|
|
66
|
+
* await client.preEncounter.coverages.v1.update(CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "version", {
|
|
93
67
|
* status: "ACTIVE",
|
|
94
68
|
* subscriber: {
|
|
95
69
|
* name: {
|
|
96
|
-
* family: "
|
|
97
|
-
* given: ["
|
|
98
|
-
* use: "USUAL"
|
|
99
|
-
* period: {},
|
|
100
|
-
* suffix: "string"
|
|
70
|
+
* family: "family",
|
|
71
|
+
* given: ["given", "given"],
|
|
72
|
+
* use: "USUAL"
|
|
101
73
|
* },
|
|
102
74
|
* dateOfBirth: "2023-01-15",
|
|
103
|
-
* biologicalSex: "FEMALE"
|
|
104
|
-
* address: {
|
|
105
|
-
* use: "HOME",
|
|
106
|
-
* line: ["string"],
|
|
107
|
-
* city: "string",
|
|
108
|
-
* state: "string",
|
|
109
|
-
* postalCode: "string",
|
|
110
|
-
* country: "string",
|
|
111
|
-
* period: {}
|
|
112
|
-
* }
|
|
75
|
+
* biologicalSex: "FEMALE"
|
|
113
76
|
* },
|
|
114
77
|
* relationship: "SELF",
|
|
115
|
-
* patient: CandidApi.preEncounter.PatientId("
|
|
78
|
+
* patient: CandidApi.preEncounter.PatientId("patient"),
|
|
116
79
|
* insurancePlan: {
|
|
117
|
-
* memberId: "
|
|
118
|
-
* payerId: CandidApi.preEncounter.PayerId("
|
|
119
|
-
* payerName: "
|
|
120
|
-
* additionalPayerInformation: {},
|
|
121
|
-
* groupNumber: "string",
|
|
122
|
-
* name: "string",
|
|
123
|
-
* planType: "09",
|
|
124
|
-
* type: "01",
|
|
125
|
-
* period: {},
|
|
126
|
-
* insuranceCardImageLocator: "string",
|
|
127
|
-
* payerPlanGroupId: CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
128
|
-
* },
|
|
129
|
-
* verified: true,
|
|
130
|
-
* eligibilityChecks: [],
|
|
131
|
-
* latestEligibilityCheck: {
|
|
132
|
-
* checkId: "string",
|
|
133
|
-
* status: "ACTIVE",
|
|
134
|
-
* initiatedAt: "2024-01-15T09:30:00Z"
|
|
80
|
+
* memberId: "member_id",
|
|
81
|
+
* payerId: CandidApi.preEncounter.PayerId("payer_id"),
|
|
82
|
+
* payerName: "payer_name"
|
|
135
83
|
* },
|
|
136
|
-
*
|
|
84
|
+
* verified: true
|
|
137
85
|
* })
|
|
138
86
|
*/
|
|
139
87
|
update(id: CandidApi.preEncounter.CoverageId, version: string, request: CandidApi.preEncounter.coverages.v1.MutableCoverage, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.Coverage, CandidApi.preEncounter.coverages.v1.update.Error>>;
|
|
@@ -144,12 +92,7 @@ export declare class V1 {
|
|
|
144
92
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
145
93
|
*
|
|
146
94
|
* @example
|
|
147
|
-
* await client.preEncounter.coverages.v1.getMultiPaginated(
|
|
148
|
-
* patientId: "string",
|
|
149
|
-
* payerPlanGroupId: "string",
|
|
150
|
-
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
151
|
-
* limit: 1
|
|
152
|
-
* })
|
|
95
|
+
* await client.preEncounter.coverages.v1.getMultiPaginated()
|
|
153
96
|
*/
|
|
154
97
|
getMultiPaginated(request?: CandidApi.preEncounter.coverages.v1.CoverageGetMultiPaginatedRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.CoveragesPage, CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error>>;
|
|
155
98
|
/**
|
|
@@ -163,7 +106,7 @@ export declare class V1 {
|
|
|
163
106
|
*/
|
|
164
107
|
get(id: CandidApi.preEncounter.CoverageId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.Coverage, CandidApi.preEncounter.coverages.v1.get.Error>>;
|
|
165
108
|
/**
|
|
166
|
-
* Gets a coverage along with it's full history.
|
|
109
|
+
* Gets a coverage along with it's full history. The return list is ordered by version ascending.
|
|
167
110
|
*
|
|
168
111
|
* @param {CandidApi.preEncounter.CoverageId} id
|
|
169
112
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -179,13 +122,11 @@ export declare class V1 {
|
|
|
179
122
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
180
123
|
*
|
|
181
124
|
* @example
|
|
182
|
-
* await client.preEncounter.coverages.v1.getMulti(
|
|
183
|
-
* patientId: "string"
|
|
184
|
-
* })
|
|
125
|
+
* await client.preEncounter.coverages.v1.getMulti()
|
|
185
126
|
*/
|
|
186
127
|
getMulti(request?: CandidApi.preEncounter.coverages.v1.CoverageGetMultiRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.Coverage[], CandidApi.preEncounter.coverages.v1.getMulti.Error>>;
|
|
187
128
|
/**
|
|
188
|
-
* Scans up to 100 coverage updates.
|
|
129
|
+
* Scans up to 100 coverage updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
|
|
189
130
|
*
|
|
190
131
|
* @param {CandidApi.preEncounter.coverages.v1.CoverageScanRequest} request
|
|
191
132
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -206,8 +147,8 @@ export declare class V1 {
|
|
|
206
147
|
* @example
|
|
207
148
|
* await client.preEncounter.coverages.v1.batchUpdatePpg(CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
208
149
|
* payerPlanGroupId: CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
209
|
-
* payerId: CandidApi.preEncounter.PayerId("
|
|
210
|
-
* payerName: "
|
|
150
|
+
* payerId: CandidApi.preEncounter.PayerId("payer_id"),
|
|
151
|
+
* payerName: "payer_name",
|
|
211
152
|
* planType: "09"
|
|
212
153
|
* })
|
|
213
154
|
*/
|
|
@@ -223,7 +164,7 @@ export declare class V1 {
|
|
|
223
164
|
* await client.preEncounter.coverages.v1.checkEligibility(CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
224
165
|
* serviceCode: "1",
|
|
225
166
|
* dateOfService: "2023-01-15",
|
|
226
|
-
* npi: "
|
|
167
|
+
* npi: "npi"
|
|
227
168
|
* })
|
|
228
169
|
*/
|
|
229
170
|
checkEligibility(id: CandidApi.preEncounter.CoverageId, request: CandidApi.preEncounter.coverages.v1.CheckEligibilityRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.EligibilityCheckMetadata, CandidApi.preEncounter.coverages.v1.checkEligibility.Error>>;
|
|
@@ -235,7 +176,7 @@ export declare class V1 {
|
|
|
235
176
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
236
177
|
*
|
|
237
178
|
* @example
|
|
238
|
-
* await client.preEncounter.coverages.v1.getEligibility(CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "
|
|
179
|
+
* await client.preEncounter.coverages.v1.getEligibility(CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "check_id")
|
|
239
180
|
*/
|
|
240
181
|
getEligibility(id: CandidApi.preEncounter.CoverageId, checkId: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.CoverageEligibilityCheckResponse, CandidApi.preEncounter.coverages.v1.getEligibility.Error>>;
|
|
241
182
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|