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
|
@@ -69,47 +69,21 @@ class V1 {
|
|
|
69
69
|
* status: "ACTIVE",
|
|
70
70
|
* subscriber: {
|
|
71
71
|
* name: {
|
|
72
|
-
* family: "
|
|
73
|
-
* given: ["
|
|
74
|
-
* use: "USUAL"
|
|
75
|
-
* period: {},
|
|
76
|
-
* suffix: "string"
|
|
72
|
+
* family: "family",
|
|
73
|
+
* given: ["given", "given"],
|
|
74
|
+
* use: "USUAL"
|
|
77
75
|
* },
|
|
78
76
|
* dateOfBirth: "2023-01-15",
|
|
79
|
-
* biologicalSex: "FEMALE"
|
|
80
|
-
* address: {
|
|
81
|
-
* use: "HOME",
|
|
82
|
-
* line: ["string"],
|
|
83
|
-
* city: "string",
|
|
84
|
-
* state: "string",
|
|
85
|
-
* postalCode: "string",
|
|
86
|
-
* country: "string",
|
|
87
|
-
* period: {}
|
|
88
|
-
* }
|
|
77
|
+
* biologicalSex: "FEMALE"
|
|
89
78
|
* },
|
|
90
79
|
* relationship: "SELF",
|
|
91
|
-
* patient: CandidApi.preEncounter.PatientId("
|
|
80
|
+
* patient: CandidApi.preEncounter.PatientId("patient"),
|
|
92
81
|
* insurancePlan: {
|
|
93
|
-
* memberId: "
|
|
94
|
-
* payerId: CandidApi.preEncounter.PayerId("
|
|
95
|
-
* payerName: "
|
|
96
|
-
* additionalPayerInformation: {},
|
|
97
|
-
* groupNumber: "string",
|
|
98
|
-
* name: "string",
|
|
99
|
-
* planType: "09",
|
|
100
|
-
* type: "01",
|
|
101
|
-
* period: {},
|
|
102
|
-
* insuranceCardImageLocator: "string",
|
|
103
|
-
* payerPlanGroupId: CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
82
|
+
* memberId: "member_id",
|
|
83
|
+
* payerId: CandidApi.preEncounter.PayerId("payer_id"),
|
|
84
|
+
* payerName: "payer_name"
|
|
104
85
|
* },
|
|
105
|
-
* verified: true
|
|
106
|
-
* eligibilityChecks: [],
|
|
107
|
-
* latestEligibilityCheck: {
|
|
108
|
-
* checkId: "string",
|
|
109
|
-
* status: "ACTIVE",
|
|
110
|
-
* initiatedAt: "2024-01-15T09:30:00Z"
|
|
111
|
-
* },
|
|
112
|
-
* benefits: {}
|
|
86
|
+
* verified: true
|
|
113
87
|
* })
|
|
114
88
|
*/
|
|
115
89
|
create(request, requestOptions) {
|
|
@@ -118,7 +92,7 @@ class V1 {
|
|
|
118
92
|
const _response = yield core.fetcher({
|
|
119
93
|
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, "/coverages/v1"),
|
|
120
94
|
method: "POST",
|
|
121
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
95
|
+
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),
|
|
122
96
|
contentType: "application/json",
|
|
123
97
|
requestType: "json",
|
|
124
98
|
body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
|
|
@@ -146,7 +120,7 @@ class V1 {
|
|
|
146
120
|
});
|
|
147
121
|
}
|
|
148
122
|
/**
|
|
149
|
-
* Updates a Coverage.
|
|
123
|
+
* Updates a Coverage. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
|
|
150
124
|
*
|
|
151
125
|
* @param {CandidApi.preEncounter.CoverageId} id
|
|
152
126
|
* @param {string} version
|
|
@@ -154,51 +128,25 @@ class V1 {
|
|
|
154
128
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
155
129
|
*
|
|
156
130
|
* @example
|
|
157
|
-
* await client.preEncounter.coverages.v1.update(CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "
|
|
131
|
+
* await client.preEncounter.coverages.v1.update(CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "version", {
|
|
158
132
|
* status: "ACTIVE",
|
|
159
133
|
* subscriber: {
|
|
160
134
|
* name: {
|
|
161
|
-
* family: "
|
|
162
|
-
* given: ["
|
|
163
|
-
* use: "USUAL"
|
|
164
|
-
* period: {},
|
|
165
|
-
* suffix: "string"
|
|
135
|
+
* family: "family",
|
|
136
|
+
* given: ["given", "given"],
|
|
137
|
+
* use: "USUAL"
|
|
166
138
|
* },
|
|
167
139
|
* dateOfBirth: "2023-01-15",
|
|
168
|
-
* biologicalSex: "FEMALE"
|
|
169
|
-
* address: {
|
|
170
|
-
* use: "HOME",
|
|
171
|
-
* line: ["string"],
|
|
172
|
-
* city: "string",
|
|
173
|
-
* state: "string",
|
|
174
|
-
* postalCode: "string",
|
|
175
|
-
* country: "string",
|
|
176
|
-
* period: {}
|
|
177
|
-
* }
|
|
140
|
+
* biologicalSex: "FEMALE"
|
|
178
141
|
* },
|
|
179
142
|
* relationship: "SELF",
|
|
180
|
-
* patient: CandidApi.preEncounter.PatientId("
|
|
143
|
+
* patient: CandidApi.preEncounter.PatientId("patient"),
|
|
181
144
|
* insurancePlan: {
|
|
182
|
-
* memberId: "
|
|
183
|
-
* payerId: CandidApi.preEncounter.PayerId("
|
|
184
|
-
* payerName: "
|
|
185
|
-
* additionalPayerInformation: {},
|
|
186
|
-
* groupNumber: "string",
|
|
187
|
-
* name: "string",
|
|
188
|
-
* planType: "09",
|
|
189
|
-
* type: "01",
|
|
190
|
-
* period: {},
|
|
191
|
-
* insuranceCardImageLocator: "string",
|
|
192
|
-
* payerPlanGroupId: CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
193
|
-
* },
|
|
194
|
-
* verified: true,
|
|
195
|
-
* eligibilityChecks: [],
|
|
196
|
-
* latestEligibilityCheck: {
|
|
197
|
-
* checkId: "string",
|
|
198
|
-
* status: "ACTIVE",
|
|
199
|
-
* initiatedAt: "2024-01-15T09:30:00Z"
|
|
145
|
+
* memberId: "member_id",
|
|
146
|
+
* payerId: CandidApi.preEncounter.PayerId("payer_id"),
|
|
147
|
+
* payerName: "payer_name"
|
|
200
148
|
* },
|
|
201
|
-
*
|
|
149
|
+
* verified: true
|
|
202
150
|
* })
|
|
203
151
|
*/
|
|
204
152
|
update(id, version, request, requestOptions) {
|
|
@@ -207,7 +155,7 @@ class V1 {
|
|
|
207
155
|
const _response = yield core.fetcher({
|
|
208
156
|
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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
209
157
|
method: "PUT",
|
|
210
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
158
|
+
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),
|
|
211
159
|
contentType: "application/json",
|
|
212
160
|
requestType: "json",
|
|
213
161
|
body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
|
|
@@ -256,12 +204,7 @@ class V1 {
|
|
|
256
204
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
257
205
|
*
|
|
258
206
|
* @example
|
|
259
|
-
* await client.preEncounter.coverages.v1.getMultiPaginated(
|
|
260
|
-
* patientId: "string",
|
|
261
|
-
* payerPlanGroupId: "string",
|
|
262
|
-
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
263
|
-
* limit: 1
|
|
264
|
-
* })
|
|
207
|
+
* await client.preEncounter.coverages.v1.getMultiPaginated()
|
|
265
208
|
*/
|
|
266
209
|
getMultiPaginated() {
|
|
267
210
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
@@ -283,7 +226,7 @@ class V1 {
|
|
|
283
226
|
const _response = yield core.fetcher({
|
|
284
227
|
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, "/coverages/v1/get-multi-paginated"),
|
|
285
228
|
method: "GET",
|
|
286
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
229
|
+
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),
|
|
287
230
|
contentType: "application/json",
|
|
288
231
|
queryParameters: _queryParams,
|
|
289
232
|
requestType: "json",
|
|
@@ -337,7 +280,7 @@ class V1 {
|
|
|
337
280
|
const _response = yield core.fetcher({
|
|
338
281
|
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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}`),
|
|
339
282
|
method: "GET",
|
|
340
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
283
|
+
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),
|
|
341
284
|
contentType: "application/json",
|
|
342
285
|
requestType: "json",
|
|
343
286
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -362,7 +305,7 @@ class V1 {
|
|
|
362
305
|
});
|
|
363
306
|
}
|
|
364
307
|
/**
|
|
365
|
-
* Gets a coverage along with it's full history.
|
|
308
|
+
* Gets a coverage along with it's full history. The return list is ordered by version ascending.
|
|
366
309
|
*
|
|
367
310
|
* @param {CandidApi.preEncounter.CoverageId} id
|
|
368
311
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -376,7 +319,7 @@ class V1 {
|
|
|
376
319
|
const _response = yield core.fetcher({
|
|
377
320
|
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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/history`),
|
|
378
321
|
method: "GET",
|
|
379
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
322
|
+
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),
|
|
380
323
|
contentType: "application/json",
|
|
381
324
|
requestType: "json",
|
|
382
325
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -421,9 +364,7 @@ class V1 {
|
|
|
421
364
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
422
365
|
*
|
|
423
366
|
* @example
|
|
424
|
-
* await client.preEncounter.coverages.v1.getMulti(
|
|
425
|
-
* patientId: "string"
|
|
426
|
-
* })
|
|
367
|
+
* await client.preEncounter.coverages.v1.getMulti()
|
|
427
368
|
*/
|
|
428
369
|
getMulti() {
|
|
429
370
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
@@ -436,7 +377,7 @@ class V1 {
|
|
|
436
377
|
const _response = yield core.fetcher({
|
|
437
378
|
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, "/coverages/v1"),
|
|
438
379
|
method: "GET",
|
|
439
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
380
|
+
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),
|
|
440
381
|
contentType: "application/json",
|
|
441
382
|
queryParameters: _queryParams,
|
|
442
383
|
requestType: "json",
|
|
@@ -462,7 +403,7 @@ class V1 {
|
|
|
462
403
|
});
|
|
463
404
|
}
|
|
464
405
|
/**
|
|
465
|
-
* Scans up to 100 coverage updates.
|
|
406
|
+
* Scans up to 100 coverage updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
|
|
466
407
|
*
|
|
467
408
|
* @param {CandidApi.preEncounter.coverages.v1.CoverageScanRequest} request
|
|
468
409
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -481,7 +422,7 @@ class V1 {
|
|
|
481
422
|
const _response = yield core.fetcher({
|
|
482
423
|
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, "/coverages/v1/updates/scan"),
|
|
483
424
|
method: "GET",
|
|
484
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
425
|
+
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),
|
|
485
426
|
contentType: "application/json",
|
|
486
427
|
queryParameters: _queryParams,
|
|
487
428
|
requestType: "json",
|
|
@@ -516,8 +457,8 @@ class V1 {
|
|
|
516
457
|
* @example
|
|
517
458
|
* await client.preEncounter.coverages.v1.batchUpdatePpg(CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
518
459
|
* payerPlanGroupId: CandidApi.preEncounter.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
519
|
-
* payerId: CandidApi.preEncounter.PayerId("
|
|
520
|
-
* payerName: "
|
|
460
|
+
* payerId: CandidApi.preEncounter.PayerId("payer_id"),
|
|
461
|
+
* payerName: "payer_name",
|
|
521
462
|
* planType: "09"
|
|
522
463
|
* })
|
|
523
464
|
*/
|
|
@@ -527,7 +468,7 @@ class V1 {
|
|
|
527
468
|
const _response = yield core.fetcher({
|
|
528
469
|
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, `/coverages/v1/batch-update-ppg/${encodeURIComponent(serializers.preEncounter.PayerPlanGroupId.jsonOrThrow(ppgId))}`),
|
|
529
470
|
method: "POST",
|
|
530
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
471
|
+
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),
|
|
531
472
|
contentType: "application/json",
|
|
532
473
|
requestType: "json",
|
|
533
474
|
body: serializers.preEncounter.coverages.v1.PayerPlanGroupFields.jsonOrThrow(request, {
|
|
@@ -560,7 +501,7 @@ class V1 {
|
|
|
560
501
|
* await client.preEncounter.coverages.v1.checkEligibility(CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
561
502
|
* serviceCode: "1",
|
|
562
503
|
* dateOfService: "2023-01-15",
|
|
563
|
-
* npi: "
|
|
504
|
+
* npi: "npi"
|
|
564
505
|
* })
|
|
565
506
|
*/
|
|
566
507
|
checkEligibility(id, request, requestOptions) {
|
|
@@ -569,7 +510,7 @@ class V1 {
|
|
|
569
510
|
const _response = yield core.fetcher({
|
|
570
511
|
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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility`),
|
|
571
512
|
method: "POST",
|
|
572
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
513
|
+
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),
|
|
573
514
|
contentType: "application/json",
|
|
574
515
|
requestType: "json",
|
|
575
516
|
body: serializers.preEncounter.coverages.v1.CheckEligibilityRequest.jsonOrThrow(request, {
|
|
@@ -604,7 +545,7 @@ class V1 {
|
|
|
604
545
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
605
546
|
*
|
|
606
547
|
* @example
|
|
607
|
-
* await client.preEncounter.coverages.v1.getEligibility(CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "
|
|
548
|
+
* await client.preEncounter.coverages.v1.getEligibility(CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "check_id")
|
|
608
549
|
*/
|
|
609
550
|
getEligibility(id, checkId, requestOptions) {
|
|
610
551
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -612,7 +553,7 @@ class V1 {
|
|
|
612
553
|
const _response = yield core.fetcher({
|
|
613
554
|
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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility/${encodeURIComponent(checkId)}`),
|
|
614
555
|
method: "GET",
|
|
615
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
556
|
+
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),
|
|
616
557
|
contentType: "application/json",
|
|
617
558
|
requestType: "json",
|
|
618
559
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -4,12 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* patientId: "string",
|
|
9
|
-
* payerPlanGroupId: "string",
|
|
10
|
-
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
11
|
-
* limit: 1
|
|
12
|
-
* }
|
|
7
|
+
* {}
|
|
13
8
|
*/
|
|
14
9
|
export interface CoverageGetMultiPaginatedRequest {
|
|
15
10
|
patientId?: string;
|
package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts
CHANGED
|
@@ -99,7 +99,7 @@ export type InsuranceTypeCode =
|
|
|
99
99
|
* Special Low Income Medicare Beneficiary - An individual eligible for Medicare for whom Medicaid pays only Medicare premiums */
|
|
100
100
|
| "HS"
|
|
101
101
|
/**
|
|
102
|
-
* Indemnity - Gives a subscriber the choice to select any provider.
|
|
102
|
+
* Indemnity - Gives a subscriber the choice to select any provider. Payment is fixed percentage of the cost for covered care after satisfying an annual deductible */
|
|
103
103
|
| "IN"
|
|
104
104
|
/**
|
|
105
105
|
* Individual Policy */
|
package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts
CHANGED
|
@@ -34,27 +34,13 @@ export declare class V1 {
|
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* await client.preEncounter.eligibilityChecks.v1.post({
|
|
37
|
-
* payerId: "
|
|
37
|
+
* payerId: "payer_id",
|
|
38
38
|
* provider: {
|
|
39
|
-
*
|
|
40
|
-
* lastName: "string",
|
|
41
|
-
* npi: "string"
|
|
39
|
+
* npi: "npi"
|
|
42
40
|
* },
|
|
43
41
|
* subscriber: {
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* lastName: "string",
|
|
47
|
-
* dateOfBirth: "2023-01-15"
|
|
48
|
-
* },
|
|
49
|
-
* dependent: {
|
|
50
|
-
* memberId: "string",
|
|
51
|
-
* firstName: "string",
|
|
52
|
-
* lastName: "string",
|
|
53
|
-
* dateOfBirth: "2023-01-15"
|
|
54
|
-
* },
|
|
55
|
-
* encounter: {
|
|
56
|
-
* dateOfService: "2023-01-15",
|
|
57
|
-
* serviceTypeCodes: ["string"]
|
|
42
|
+
* firstName: "first_name",
|
|
43
|
+
* lastName: "last_name"
|
|
58
44
|
* }
|
|
59
45
|
* })
|
|
60
46
|
*/
|
package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js
CHANGED
|
@@ -67,27 +67,13 @@ class V1 {
|
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* await client.preEncounter.eligibilityChecks.v1.post({
|
|
70
|
-
* payerId: "
|
|
70
|
+
* payerId: "payer_id",
|
|
71
71
|
* provider: {
|
|
72
|
-
*
|
|
73
|
-
* lastName: "string",
|
|
74
|
-
* npi: "string"
|
|
72
|
+
* npi: "npi"
|
|
75
73
|
* },
|
|
76
74
|
* subscriber: {
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* lastName: "string",
|
|
80
|
-
* dateOfBirth: "2023-01-15"
|
|
81
|
-
* },
|
|
82
|
-
* dependent: {
|
|
83
|
-
* memberId: "string",
|
|
84
|
-
* firstName: "string",
|
|
85
|
-
* lastName: "string",
|
|
86
|
-
* dateOfBirth: "2023-01-15"
|
|
87
|
-
* },
|
|
88
|
-
* encounter: {
|
|
89
|
-
* dateOfService: "2023-01-15",
|
|
90
|
-
* serviceTypeCodes: ["string"]
|
|
75
|
+
* firstName: "first_name",
|
|
76
|
+
* lastName: "last_name"
|
|
91
77
|
* }
|
|
92
78
|
* })
|
|
93
79
|
*/
|
|
@@ -97,7 +83,7 @@ class V1 {
|
|
|
97
83
|
const _response = yield core.fetcher({
|
|
98
84
|
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, "/eligibility-checks/v1"),
|
|
99
85
|
method: "POST",
|
|
100
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
86
|
+
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),
|
|
101
87
|
contentType: "application/json",
|
|
102
88
|
requestType: "json",
|
|
103
89
|
body: serializers.preEncounter.eligibilityChecks.v1.EligibilityRequest.jsonOrThrow(request, {
|
|
@@ -26,25 +26,17 @@ export declare class V1 {
|
|
|
26
26
|
protected readonly _options: V1.Options;
|
|
27
27
|
constructor(_options?: V1.Options);
|
|
28
28
|
/**
|
|
29
|
-
* Adds an image.
|
|
29
|
+
* Adds an image. VersionConflictError is returned if a front or back of this coverage already exists.
|
|
30
30
|
*
|
|
31
31
|
* @param {CandidApi.preEncounter.images.v1.MutableImage} request
|
|
32
32
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* await client.preEncounter.images.v1.create({
|
|
36
|
-
* fileName: "
|
|
37
|
-
* displayName: "
|
|
38
|
-
* fileType: "
|
|
39
|
-
* status: "PENDING"
|
|
40
|
-
* coverage: {
|
|
41
|
-
* id: CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
42
|
-
* side: "FRONT"
|
|
43
|
-
* },
|
|
44
|
-
* patient: {
|
|
45
|
-
* id: CandidApi.preEncounter.PatientId("string"),
|
|
46
|
-
* notes: "string"
|
|
47
|
-
* }
|
|
36
|
+
* fileName: "file_name",
|
|
37
|
+
* displayName: "display_name",
|
|
38
|
+
* fileType: "file_type",
|
|
39
|
+
* status: "PENDING"
|
|
48
40
|
* })
|
|
49
41
|
*/
|
|
50
42
|
create(request: CandidApi.preEncounter.images.v1.MutableImage, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.images.v1.Image, CandidApi.preEncounter.images.v1.create.Error>>;
|
|
@@ -55,11 +47,11 @@ export declare class V1 {
|
|
|
55
47
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
48
|
*
|
|
57
49
|
* @example
|
|
58
|
-
* await client.preEncounter.images.v1.get(CandidApi.preEncounter.images.v1.ImageId("
|
|
50
|
+
* await client.preEncounter.images.v1.get(CandidApi.preEncounter.images.v1.ImageId("id"))
|
|
59
51
|
*/
|
|
60
52
|
get(id: CandidApi.preEncounter.images.v1.ImageId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.images.v1.Image, CandidApi.preEncounter.images.v1.get.Error>>;
|
|
61
53
|
/**
|
|
62
|
-
* Updates an Image.
|
|
54
|
+
* Updates an Image. The path must contain the most recent version to prevent races.
|
|
63
55
|
*
|
|
64
56
|
* @param {CandidApi.preEncounter.images.v1.ImageId} id
|
|
65
57
|
* @param {string} version
|
|
@@ -67,31 +59,23 @@ export declare class V1 {
|
|
|
67
59
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
60
|
*
|
|
69
61
|
* @example
|
|
70
|
-
* await client.preEncounter.images.v1.update(CandidApi.preEncounter.images.v1.ImageId("
|
|
71
|
-
* fileName: "
|
|
72
|
-
* displayName: "
|
|
73
|
-
* fileType: "
|
|
74
|
-
* status: "PENDING"
|
|
75
|
-
* coverage: {
|
|
76
|
-
* id: CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
77
|
-
* side: "FRONT"
|
|
78
|
-
* },
|
|
79
|
-
* patient: {
|
|
80
|
-
* id: CandidApi.preEncounter.PatientId("string"),
|
|
81
|
-
* notes: "string"
|
|
82
|
-
* }
|
|
62
|
+
* await client.preEncounter.images.v1.update(CandidApi.preEncounter.images.v1.ImageId("id"), "version", {
|
|
63
|
+
* fileName: "file_name",
|
|
64
|
+
* displayName: "display_name",
|
|
65
|
+
* fileType: "file_type",
|
|
66
|
+
* status: "PENDING"
|
|
83
67
|
* })
|
|
84
68
|
*/
|
|
85
69
|
update(id: CandidApi.preEncounter.images.v1.ImageId, version: string, request: CandidApi.preEncounter.images.v1.MutableImage, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.images.v1.Image, CandidApi.preEncounter.images.v1.update.Error>>;
|
|
86
70
|
/**
|
|
87
|
-
* Sets an Image as deactivated.
|
|
71
|
+
* Sets an Image as deactivated. The path must contain the most recent version to prevent races.
|
|
88
72
|
*
|
|
89
73
|
* @param {CandidApi.preEncounter.images.v1.ImageId} id
|
|
90
74
|
* @param {string} version
|
|
91
75
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
92
76
|
*
|
|
93
77
|
* @example
|
|
94
|
-
* await client.preEncounter.images.v1.deactivate(CandidApi.preEncounter.images.v1.ImageId("
|
|
78
|
+
* await client.preEncounter.images.v1.deactivate(CandidApi.preEncounter.images.v1.ImageId("id"), "version")
|
|
95
79
|
*/
|
|
96
80
|
deactivate(id: CandidApi.preEncounter.images.v1.ImageId, version: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.preEncounter.images.v1.deactivate.Error>>;
|
|
97
81
|
/**
|
|
@@ -101,10 +85,7 @@ export declare class V1 {
|
|
|
101
85
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
102
86
|
*
|
|
103
87
|
* @example
|
|
104
|
-
* await client.preEncounter.images.v1.getMulti(
|
|
105
|
-
* patientId: "string",
|
|
106
|
-
* coverageId: "string"
|
|
107
|
-
* })
|
|
88
|
+
* await client.preEncounter.images.v1.getMulti()
|
|
108
89
|
*/
|
|
109
90
|
getMulti(request?: CandidApi.preEncounter.images.v1.ImageGetMultiRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.images.v1.Image[], CandidApi.preEncounter.images.v1.getMulti.Error>>;
|
|
110
91
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|