candidhealth 0.16.2 → 0.17.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/api/resources/auth/resources/v2/client/Client.d.ts +0 -1
- package/api/resources/auth/resources/v2/client/Client.js +1 -2
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +0 -1
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +0 -2
- package/api/resources/commons/types/DelayReasonCode.d.ts +65 -0
- package/api/resources/commons/types/DelayReasonCode.js +22 -0
- package/api/resources/commons/types/FacilityTypeCode.d.ts +0 -1
- package/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/api/resources/commons/types/ProcedureModifier.d.ts +4 -8
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/contracts/resources/v2/types/ContractBase.d.ts +3 -13
- package/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +3 -6
- package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +6 -9
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +13 -1
- package/api/resources/eligibility/resources/v2/client/Client.js +37 -2
- package/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
- package/api/resources/eligibility/resources/v2/client/index.js +2 -1
- package/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.d.ts +22 -0
- package/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.js +47 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -5
- package/api/resources/encounterProviders/resources/v2/types/EncounterProviderBase.d.ts +3 -12
- package/api/resources/encounterProviders/resources/v2/types/ReferringProvider.d.ts +0 -1
- package/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +0 -1
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
- package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +0 -6
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +6 -28
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +12 -27
- package/api/resources/encounters/resources/v4/types/Intervention.d.ts +1 -4
- package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +0 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
- package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +1 -5
- package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +1 -5
- package/api/resources/exports/resources/v3/client/Client.d.ts +0 -1
- package/api/resources/exports/resources/v3/client/Client.js +1 -2
- package/api/resources/exports/resources/v3/client/requests/GetExportsRequest.d.ts +0 -2
- package/api/resources/financials/types/AllocationCreate.d.ts +0 -1
- package/api/resources/financials/types/AllocationTarget.d.ts +0 -1
- package/api/resources/financials/types/AllocationTargetCreate.d.ts +0 -1
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -6
- package/api/resources/individual/types/PatientBase.d.ts +1 -5
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -5
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -10
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -10
- package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +2 -8
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderCreateV2.d.ts +2 -8
- package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +2 -8
- package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +2 -8
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +0 -1
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +0 -1
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +0 -1
- 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 +0 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -10
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -10
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -5
- package/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -6
- package/api/resources/serviceLines/resources/v2/types/ServiceIdQualifier.d.ts +1 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +0 -1
- package/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +2 -1
- package/api/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +0 -4
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -8
- package/dist/api/resources/auth/resources/v2/client/Client.d.ts +0 -1
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -2
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +0 -1
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +0 -2
- package/dist/api/resources/commons/types/DelayReasonCode.d.ts +65 -0
- package/dist/api/resources/commons/types/DelayReasonCode.js +22 -0
- package/dist/api/resources/commons/types/FacilityTypeCode.d.ts +0 -1
- package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +4 -8
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/contracts/resources/v2/types/ContractBase.d.ts +3 -13
- package/dist/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +3 -6
- package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +6 -9
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +13 -1
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +37 -2
- package/dist/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
- package/dist/api/resources/eligibility/resources/v2/client/index.js +2 -1
- package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.d.ts +22 -0
- package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.js +47 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -5
- package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProviderBase.d.ts +3 -12
- package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProvider.d.ts +0 -1
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +0 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +0 -6
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +6 -28
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +12 -27
- package/dist/api/resources/encounters/resources/v4/types/Intervention.d.ts +1 -4
- package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +0 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +1 -5
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +1 -5
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +0 -1
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -2
- package/dist/api/resources/exports/resources/v3/client/requests/GetExportsRequest.d.ts +0 -2
- package/dist/api/resources/financials/types/AllocationCreate.d.ts +0 -1
- package/dist/api/resources/financials/types/AllocationTarget.d.ts +0 -1
- package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +0 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/individual/types/PatientBase.d.ts +1 -5
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -5
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -10
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +2 -8
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderCreateV2.d.ts +2 -8
- package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +2 -8
- package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +2 -8
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +0 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +0 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +0 -1
- 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 +0 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -10
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -10
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -5
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -6
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceIdQualifier.d.ts +1 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +0 -1
- package/dist/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +2 -1
- package/dist/api/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +0 -4
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -8
- package/dist/serialization/resources/commons/types/DelayReasonCode.d.ts +10 -0
- package/dist/serialization/resources/commons/types/DelayReasonCode.js +31 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +1 -1
- package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/commons/types/DelayReasonCode.d.ts +10 -0
- package/serialization/resources/commons/types/DelayReasonCode.js +31 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
- package/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +1 -1
- package/serialization/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
|
@@ -43,7 +43,6 @@ class V1 {
|
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Returns all non-ERA originated insurance payments satisfying the search criteria
|
|
46
|
-
*
|
|
47
46
|
*/
|
|
48
47
|
async getMulti(request = {}) {
|
|
49
48
|
const { limit, payerUuid, claimId, serviceLineId, billingProviderId, sort, sortDirection, pageToken } = request;
|
|
@@ -79,7 +78,7 @@ class V1 {
|
|
|
79
78
|
Authorization: await this._getAuthorizationHeader(),
|
|
80
79
|
"X-Fern-Language": "JavaScript",
|
|
81
80
|
"X-Fern-SDK-Name": "candidhealth",
|
|
82
|
-
"X-Fern-SDK-Version": "0.
|
|
81
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
83
82
|
},
|
|
84
83
|
contentType: "application/json",
|
|
85
84
|
queryParameters: _queryParams,
|
|
@@ -119,7 +118,6 @@ class V1 {
|
|
|
119
118
|
/**
|
|
120
119
|
* Retrieves a previously created insurance payment by its `insurance_payment_id`.
|
|
121
120
|
* If the payment does not exist, a `403` will be thrown.
|
|
122
|
-
*
|
|
123
121
|
*/
|
|
124
122
|
async get(insurancePaymentId) {
|
|
125
123
|
const _response = await core.fetcher({
|
|
@@ -129,7 +127,7 @@ class V1 {
|
|
|
129
127
|
Authorization: await this._getAuthorizationHeader(),
|
|
130
128
|
"X-Fern-Language": "JavaScript",
|
|
131
129
|
"X-Fern-SDK-Name": "candidhealth",
|
|
132
|
-
"X-Fern-SDK-Version": "0.
|
|
130
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
133
131
|
},
|
|
134
132
|
contentType: "application/json",
|
|
135
133
|
timeoutMs: 60000,
|
|
@@ -169,7 +167,6 @@ class V1 {
|
|
|
169
167
|
* Creates a new insurance payment record and returns the newly created `InsurancePayment` object. This endpoint
|
|
170
168
|
* should only be used for insurance payments that do not have a corresponding ERA (for example: a settlement check
|
|
171
169
|
* from a payer). If the payment is an ERA, then you should used the insurance-adjudications API.
|
|
172
|
-
*
|
|
173
170
|
*/
|
|
174
171
|
async create(request) {
|
|
175
172
|
const _response = await core.fetcher({
|
|
@@ -179,7 +176,7 @@ class V1 {
|
|
|
179
176
|
Authorization: await this._getAuthorizationHeader(),
|
|
180
177
|
"X-Fern-Language": "JavaScript",
|
|
181
178
|
"X-Fern-SDK-Name": "candidhealth",
|
|
182
|
-
"X-Fern-SDK-Version": "0.
|
|
179
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
183
180
|
},
|
|
184
181
|
contentType: "application/json",
|
|
185
182
|
body: await serializers.insurancePayments.v1.InsurancePaymentCreate.jsonOrThrow(request, {
|
|
@@ -220,7 +217,6 @@ class V1 {
|
|
|
220
217
|
/**
|
|
221
218
|
* Updates the patient payment record matching the provided insurance_payment_id. If updating the payment amount,
|
|
222
219
|
* then the allocations must be appropriately updated as well.
|
|
223
|
-
*
|
|
224
220
|
*/
|
|
225
221
|
async update(insurancePaymentId, request = {}) {
|
|
226
222
|
const _response = await core.fetcher({
|
|
@@ -230,7 +226,7 @@ class V1 {
|
|
|
230
226
|
Authorization: await this._getAuthorizationHeader(),
|
|
231
227
|
"X-Fern-Language": "JavaScript",
|
|
232
228
|
"X-Fern-SDK-Name": "candidhealth",
|
|
233
|
-
"X-Fern-SDK-Version": "0.
|
|
229
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
234
230
|
},
|
|
235
231
|
contentType: "application/json",
|
|
236
232
|
body: await serializers.insurancePayments.v1.InsurancePaymentUpdate.jsonOrThrow(request, {
|
|
@@ -273,7 +269,6 @@ class V1 {
|
|
|
273
269
|
* Deletes the insurance payment record matching the provided `insurance_payment_id`.
|
|
274
270
|
* If the matching record's organization_id does not match the authenticated user's
|
|
275
271
|
* current organization_id, then a response code of `403` will be returned.
|
|
276
|
-
*
|
|
277
272
|
*/
|
|
278
273
|
async delete(insurancePaymentId) {
|
|
279
274
|
const _response = await core.fetcher({
|
|
@@ -283,7 +278,7 @@ class V1 {
|
|
|
283
278
|
Authorization: await this._getAuthorizationHeader(),
|
|
284
279
|
"X-Fern-Language": "JavaScript",
|
|
285
280
|
"X-Fern-SDK-Name": "candidhealth",
|
|
286
|
-
"X-Fern-SDK-Version": "0.
|
|
281
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
287
282
|
},
|
|
288
283
|
contentType: "application/json",
|
|
289
284
|
timeoutMs: 60000,
|
|
@@ -16,33 +16,28 @@ export declare class V1 {
|
|
|
16
16
|
/**
|
|
17
17
|
* Returns all insurance refunds satisfying the search criteria AND whose organization_id matches
|
|
18
18
|
* the current organization_id of the authenticated user.
|
|
19
|
-
*
|
|
20
19
|
*/
|
|
21
20
|
getMulti(request?: CandidApi.insuranceRefunds.v1.GetMultiInsuranceRefundsRequest): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefundsPage, CandidApi.insuranceRefunds.v1.getMulti.Error>>;
|
|
22
21
|
/**
|
|
23
22
|
* Retrieves a previously created insurance refund by its `insurance_refund_id`.
|
|
24
23
|
* If the refund does not exist, a `403` will be thrown.
|
|
25
|
-
*
|
|
26
24
|
*/
|
|
27
25
|
get(insuranceRefundId: CandidApi.insuranceRefunds.v1.InsuranceRefundId): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefund, CandidApi.insuranceRefunds.v1.get.Error>>;
|
|
28
26
|
/**
|
|
29
27
|
* Creates a new insurance refund record and returns the newly created `InsuranceRefund` object.
|
|
30
28
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
31
29
|
* claim, or billing provider.
|
|
32
|
-
*
|
|
33
30
|
*/
|
|
34
31
|
create(request: CandidApi.insuranceRefunds.v1.InsuranceRefundCreate): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefund, CandidApi.insuranceRefunds.v1.create.Error>>;
|
|
35
32
|
/**
|
|
36
33
|
* Updates the patient refund record matching the provided insurance_refund_id. If updating the refund amount,
|
|
37
34
|
* then the allocations must be appropriately updated as well.
|
|
38
|
-
*
|
|
39
35
|
*/
|
|
40
36
|
update(insuranceRefundId: CandidApi.insuranceRefunds.v1.InsuranceRefundId, request?: CandidApi.insuranceRefunds.v1.InsuranceRefundUpdate): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefund, CandidApi.insuranceRefunds.v1.update.Error>>;
|
|
41
37
|
/**
|
|
42
38
|
* Deletes the insurance refund record matching the provided `insurance_refund_id`.
|
|
43
39
|
* If the matching record's organization_id does not match the authenticated user's
|
|
44
40
|
* current organization_id, then a response code of `403` will be returned.
|
|
45
|
-
*
|
|
46
41
|
*/
|
|
47
42
|
delete(insuranceRefundId: CandidApi.insuranceRefunds.v1.InsuranceRefundId): Promise<core.APIResponse<void, CandidApi.insuranceRefunds.v1.delete.Error>>;
|
|
48
43
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -44,7 +44,6 @@ class V1 {
|
|
|
44
44
|
/**
|
|
45
45
|
* Returns all insurance refunds satisfying the search criteria AND whose organization_id matches
|
|
46
46
|
* the current organization_id of the authenticated user.
|
|
47
|
-
*
|
|
48
47
|
*/
|
|
49
48
|
async getMulti(request = {}) {
|
|
50
49
|
const { limit, payerUuid, claimId, serviceLineId, billingProviderId, sort, sortDirection, pageToken } = request;
|
|
@@ -80,7 +79,7 @@ class V1 {
|
|
|
80
79
|
Authorization: await this._getAuthorizationHeader(),
|
|
81
80
|
"X-Fern-Language": "JavaScript",
|
|
82
81
|
"X-Fern-SDK-Name": "candidhealth",
|
|
83
|
-
"X-Fern-SDK-Version": "0.
|
|
82
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
84
83
|
},
|
|
85
84
|
contentType: "application/json",
|
|
86
85
|
queryParameters: _queryParams,
|
|
@@ -105,7 +104,6 @@ class V1 {
|
|
|
105
104
|
/**
|
|
106
105
|
* Retrieves a previously created insurance refund by its `insurance_refund_id`.
|
|
107
106
|
* If the refund does not exist, a `403` will be thrown.
|
|
108
|
-
*
|
|
109
107
|
*/
|
|
110
108
|
async get(insuranceRefundId) {
|
|
111
109
|
const _response = await core.fetcher({
|
|
@@ -115,7 +113,7 @@ class V1 {
|
|
|
115
113
|
Authorization: await this._getAuthorizationHeader(),
|
|
116
114
|
"X-Fern-Language": "JavaScript",
|
|
117
115
|
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
-
"X-Fern-SDK-Version": "0.
|
|
116
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
119
117
|
},
|
|
120
118
|
contentType: "application/json",
|
|
121
119
|
timeoutMs: 60000,
|
|
@@ -140,7 +138,6 @@ class V1 {
|
|
|
140
138
|
* Creates a new insurance refund record and returns the newly created `InsuranceRefund` object.
|
|
141
139
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
142
140
|
* claim, or billing provider.
|
|
143
|
-
*
|
|
144
141
|
*/
|
|
145
142
|
async create(request) {
|
|
146
143
|
const _response = await core.fetcher({
|
|
@@ -150,7 +147,7 @@ class V1 {
|
|
|
150
147
|
Authorization: await this._getAuthorizationHeader(),
|
|
151
148
|
"X-Fern-Language": "JavaScript",
|
|
152
149
|
"X-Fern-SDK-Name": "candidhealth",
|
|
153
|
-
"X-Fern-SDK-Version": "0.
|
|
150
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
154
151
|
},
|
|
155
152
|
contentType: "application/json",
|
|
156
153
|
body: await serializers.insuranceRefunds.v1.InsuranceRefundCreate.jsonOrThrow(request, {
|
|
@@ -177,7 +174,6 @@ class V1 {
|
|
|
177
174
|
/**
|
|
178
175
|
* Updates the patient refund record matching the provided insurance_refund_id. If updating the refund amount,
|
|
179
176
|
* then the allocations must be appropriately updated as well.
|
|
180
|
-
*
|
|
181
177
|
*/
|
|
182
178
|
async update(insuranceRefundId, request = {}) {
|
|
183
179
|
const _response = await core.fetcher({
|
|
@@ -187,7 +183,7 @@ class V1 {
|
|
|
187
183
|
Authorization: await this._getAuthorizationHeader(),
|
|
188
184
|
"X-Fern-Language": "JavaScript",
|
|
189
185
|
"X-Fern-SDK-Name": "candidhealth",
|
|
190
|
-
"X-Fern-SDK-Version": "0.
|
|
186
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
191
187
|
},
|
|
192
188
|
contentType: "application/json",
|
|
193
189
|
body: await serializers.insuranceRefunds.v1.InsuranceRefundUpdate.jsonOrThrow(request, {
|
|
@@ -215,7 +211,6 @@ class V1 {
|
|
|
215
211
|
* Deletes the insurance refund record matching the provided `insurance_refund_id`.
|
|
216
212
|
* If the matching record's organization_id does not match the authenticated user's
|
|
217
213
|
* current organization_id, then a response code of `403` will be returned.
|
|
218
|
-
*
|
|
219
214
|
*/
|
|
220
215
|
async delete(insuranceRefundId) {
|
|
221
216
|
const _response = await core.fetcher({
|
|
@@ -225,7 +220,7 @@ class V1 {
|
|
|
225
220
|
Authorization: await this._getAuthorizationHeader(),
|
|
226
221
|
"X-Fern-Language": "JavaScript",
|
|
227
222
|
"X-Fern-SDK-Name": "candidhealth",
|
|
228
|
-
"X-Fern-SDK-Version": "0.
|
|
223
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
229
224
|
},
|
|
230
225
|
contentType: "application/json",
|
|
231
226
|
timeoutMs: 60000,
|
package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts
CHANGED
|
@@ -15,15 +15,9 @@ export interface OrganizationProviderBase {
|
|
|
15
15
|
lastName?: string;
|
|
16
16
|
/** The name of the provider, if the provider is an organization. */
|
|
17
17
|
organizationName?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Whether the provider is an individual (NPPES Type 1) or organization (NPPES Type 2) provider.
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
18
|
+
/** Whether the provider is an individual (NPPES Type 1) or organization (NPPES Type 2) provider. */
|
|
22
19
|
providerType: CandidApi.organizationProviders.v2.ProviderType;
|
|
23
|
-
/**
|
|
24
|
-
* If the provider has a contract with insurance, this must be the same tax ID given to the payer on an IRS W-9 form completed during contracting.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
20
|
+
/** If the provider has a contract with insurance, this must be the same tax ID given to the payer on an IRS W-9 form completed during contracting. */
|
|
27
21
|
taxId?: string;
|
|
28
22
|
/** A code designating classification and specialization. */
|
|
29
23
|
taxonomyCode?: string;
|
|
@@ -49,7 +49,7 @@ class V3 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -115,7 +115,7 @@ class V3 {
|
|
|
115
115
|
Authorization: await this._getAuthorizationHeader(),
|
|
116
116
|
"X-Fern-Language": "JavaScript",
|
|
117
117
|
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
-
"X-Fern-SDK-Version": "0.
|
|
118
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
119
119
|
},
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
queryParameters: _queryParams,
|
|
@@ -145,7 +145,7 @@ class V3 {
|
|
|
145
145
|
Authorization: await this._getAuthorizationHeader(),
|
|
146
146
|
"X-Fern-Language": "JavaScript",
|
|
147
147
|
"X-Fern-SDK-Name": "candidhealth",
|
|
148
|
-
"X-Fern-SDK-Version": "0.
|
|
148
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
149
149
|
},
|
|
150
150
|
contentType: "application/json",
|
|
151
151
|
body: await serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
|
|
@@ -192,7 +192,7 @@ class V3 {
|
|
|
192
192
|
Authorization: await this._getAuthorizationHeader(),
|
|
193
193
|
"X-Fern-Language": "JavaScript",
|
|
194
194
|
"X-Fern-SDK-Name": "candidhealth",
|
|
195
|
-
"X-Fern-SDK-Version": "0.
|
|
195
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
196
196
|
},
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
|
package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderCreateV2.d.ts
CHANGED
|
@@ -15,15 +15,9 @@ export interface OrganizationProviderCreateV2 {
|
|
|
15
15
|
lastName?: string;
|
|
16
16
|
/** The name of the provider, if the provider is an organization. */
|
|
17
17
|
organizationName?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Whether the provider is an individual (NPPES Type 1) or organization (NPPES Type 2) provider.
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
18
|
+
/** Whether the provider is an individual (NPPES Type 1) or organization (NPPES Type 2) provider. */
|
|
22
19
|
providerType: CandidApi.organizationProviders.v2.ProviderType;
|
|
23
|
-
/**
|
|
24
|
-
* If the provider has a contract with insurance, this must be the same tax ID given to the payer on an IRS W-9 form completed during contracting.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
20
|
+
/** If the provider has a contract with insurance, this must be the same tax ID given to the payer on an IRS W-9 form completed during contracting. */
|
|
27
21
|
taxId?: string;
|
|
28
22
|
/** A code designating classification and specialization. */
|
|
29
23
|
taxonomyCode?: string;
|
package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts
CHANGED
|
@@ -15,15 +15,9 @@ export interface OrganizationProviderUpdateV2 {
|
|
|
15
15
|
lastName?: string;
|
|
16
16
|
/** The name of the provider, if the provider is an organization. */
|
|
17
17
|
organizationName?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Whether the provider is an individual (NPPES Type 1) or organization (NPPES Type 2) provider.
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
18
|
+
/** Whether the provider is an individual (NPPES Type 1) or organization (NPPES Type 2) provider. */
|
|
22
19
|
providerType?: CandidApi.organizationProviders.v2.ProviderType;
|
|
23
|
-
/**
|
|
24
|
-
* If the provider has a contract with insurance, this must be the same tax ID given to the payer on an IRS W-9 form completed during contracting.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
20
|
+
/** If the provider has a contract with insurance, this must be the same tax ID given to the payer on an IRS W-9 form completed during contracting. */
|
|
27
21
|
taxId?: string;
|
|
28
22
|
/** A code designating classification and specialization. */
|
|
29
23
|
taxonomyCode?: string;
|
|
@@ -42,15 +42,9 @@ export interface OrganizationProviderV2 {
|
|
|
42
42
|
lastName?: string;
|
|
43
43
|
/** The name of the provider, if the provider is an organization. */
|
|
44
44
|
organizationName?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Whether the provider is an individual (NPPES Type 1) or organization (NPPES Type 2) provider.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
45
|
+
/** Whether the provider is an individual (NPPES Type 1) or organization (NPPES Type 2) provider. */
|
|
49
46
|
providerType: CandidApi.organizationProviders.v2.ProviderType;
|
|
50
|
-
/**
|
|
51
|
-
* If the provider has a contract with insurance, this must be the same tax ID given to the payer on an IRS W-9 form completed during contracting.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
47
|
+
/** If the provider has a contract with insurance, this must be the same tax ID given to the payer on an IRS W-9 form completed during contracting. */
|
|
54
48
|
taxId?: string;
|
|
55
49
|
/** A code designating classification and specialization. */
|
|
56
50
|
taxonomyCode?: string;
|
|
@@ -49,7 +49,7 @@ class V2 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -103,7 +103,7 @@ class V2 {
|
|
|
103
103
|
Authorization: await this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
106
|
-
"X-Fern-SDK-Version": "0.
|
|
106
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
queryParameters: _queryParams,
|
|
@@ -133,7 +133,7 @@ class V2 {
|
|
|
133
133
|
Authorization: await this._getAuthorizationHeader(),
|
|
134
134
|
"X-Fern-Language": "JavaScript",
|
|
135
135
|
"X-Fern-SDK-Name": "candidhealth",
|
|
136
|
-
"X-Fern-SDK-Version": "0.
|
|
136
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
137
137
|
},
|
|
138
138
|
contentType: "application/json",
|
|
139
139
|
body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -177,7 +177,7 @@ class V2 {
|
|
|
177
177
|
Authorization: await this._getAuthorizationHeader(),
|
|
178
178
|
"X-Fern-Language": "JavaScript",
|
|
179
179
|
"X-Fern-SDK-Name": "candidhealth",
|
|
180
|
-
"X-Fern-SDK-Version": "0.
|
|
180
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
181
181
|
},
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -222,7 +222,7 @@ class V2 {
|
|
|
222
222
|
Authorization: await this._getAuthorizationHeader(),
|
|
223
223
|
"X-Fern-Language": "JavaScript",
|
|
224
224
|
"X-Fern-SDK-Name": "candidhealth",
|
|
225
|
-
"X-Fern-SDK-Version": "0.
|
|
225
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
226
226
|
},
|
|
227
227
|
contentType: "application/json",
|
|
228
228
|
timeoutMs: 60000,
|
|
@@ -36,7 +36,6 @@ export interface OrganizationServiceFacility {
|
|
|
36
36
|
/**
|
|
37
37
|
* An NPI specific to the service facility if applicable, i.e. if it has one and is not under the billing provider's NPI.
|
|
38
38
|
* Box 32 section (a) of the CMS-1500 claim form.
|
|
39
|
-
*
|
|
40
39
|
*/
|
|
41
40
|
npi?: string;
|
|
42
41
|
/** The status of the service facility. */
|
|
@@ -34,7 +34,6 @@ export interface OrganizationServiceFacilityCreate {
|
|
|
34
34
|
/**
|
|
35
35
|
* An NPI specific to the service facility if applicable, i.e. if it has one and is not under the billing provider's NPI.
|
|
36
36
|
* Box 32 section (a) of the CMS-1500 claim form.
|
|
37
|
-
*
|
|
38
37
|
*/
|
|
39
38
|
npi?: string;
|
|
40
39
|
/** The status of the service facility. */
|
|
@@ -34,7 +34,6 @@ export interface OrganizationServiceFacilityUpdate {
|
|
|
34
34
|
/**
|
|
35
35
|
* An NPI specific to the service facility if applicable, i.e. if it has one and is not under the billing provider's NPI.
|
|
36
36
|
* Box 32 section (a) of the CMS-1500 claim form.
|
|
37
|
-
*
|
|
38
37
|
*/
|
|
39
38
|
npi?: string;
|
|
40
39
|
/** The status of the service facility. */
|
|
@@ -46,7 +46,7 @@ export declare type ServiceFacilityPhysicalType =
|
|
|
46
46
|
* A defined physical boundary of something, such as a flood risk zone, region, postcode. */
|
|
47
47
|
| "area"
|
|
48
48
|
/**
|
|
49
|
-
* A wide scope that covers a conceptual domain, such as a Nation (Country wide community or Federal Government - e.g.
|
|
49
|
+
* A wide scope that covers a conceptual domain, such as a Nation (Country wide community or Federal Government - e.g. Ministry of Health), Province or State (community or Government), Business (throughout the enterprise), Nation with a business scope of an agency (e.g. CDC, FDA etc.) or a Business segment (UK Pharmacy), not just an physical boundary. */
|
|
50
50
|
| "jdn";
|
|
51
51
|
export declare const ServiceFacilityPhysicalType: {
|
|
52
52
|
readonly Site: "si";
|
package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare type ServiceFacilityType =
|
|
|
37
37
|
* An acute care institution that provides medical, surgical, or psychiatric care and treatment for the sick or the injured. */
|
|
38
38
|
| "HOSP"
|
|
39
39
|
/**
|
|
40
|
-
* (1) A hospital including a physical plant and personnel that provides multidisciplinary diagnosis and treatment for diseases
|
|
40
|
+
* (1) A hospital including a physical plant and personnel that provides multidisciplinary diagnosis and treatment for diseases that have one or more of the following characteristics: is permanent; leaves residual disability; is caused by nonreversible pathological alteration; requires special training of the patient for rehabilitation; and/or may be expected to require a long period of supervision or care. In addition, patients require the safety, security, and shelter of these specialized inpatient or partial hospitalization settings. (2) A hospital that provides medical and skilled nursing services to patients with long-term illnesses who are not in an acute phase but who require an intensity of services not available in nursing homes. */
|
|
41
41
|
| "CHR"
|
|
42
42
|
/**
|
|
43
43
|
* (X12N 282N00000N) */
|
|
@@ -361,7 +361,7 @@ export declare type ServiceFacilityType =
|
|
|
361
361
|
* Community location where healthcare is delivered. */
|
|
362
362
|
| "COMM"
|
|
363
363
|
/**
|
|
364
|
-
* A location that plays the role of delivering services which may include providing front-line services to the population of a
|
|
364
|
+
* A location that plays the role of delivering services which may include providing front-line services to the population of a defined geographic area such as: healthcare services and social services. */
|
|
365
365
|
| "CSC"
|
|
366
366
|
/**
|
|
367
367
|
* location where healthcare was delivered which is the residence of the Patient. */
|
|
@@ -370,7 +370,7 @@ export declare type ServiceFacilityType =
|
|
|
370
370
|
* Location where healthcare service was delivered. */
|
|
371
371
|
| "SCHOOL"
|
|
372
372
|
/**
|
|
373
|
-
* A location that plays the role of delivering services which may include:
|
|
373
|
+
* A location that plays the role of delivering services which may include: social emergency services required for a young person as required under any jurisdictional youth laws. */
|
|
374
374
|
| "UPC"
|
|
375
375
|
/**
|
|
376
376
|
* Location where healthcare service was delivered. */
|
|
@@ -16,29 +16,24 @@ export declare class V4 {
|
|
|
16
16
|
/**
|
|
17
17
|
* Returns all patient payments satisfying the search criteria AND whose organization_id matches
|
|
18
18
|
* the current organization_id of the authenticated user.
|
|
19
|
-
*
|
|
20
19
|
*/
|
|
21
20
|
getMulti(request?: CandidApi.patientPayments.v4.GetMultiPatientPaymentsRequest): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPaymentsPage, CandidApi.patientPayments.v4.getMulti.Error>>;
|
|
22
21
|
/**
|
|
23
22
|
* Retrieves a previously created patient payment by its `patient_payment_id`.
|
|
24
|
-
*
|
|
25
23
|
*/
|
|
26
24
|
get(patientPaymentId: CandidApi.patientPayments.v4.PatientPaymentId): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.get.Error>>;
|
|
27
25
|
/**
|
|
28
26
|
* Creates a new patient payment record and returns the newly created PatientPayment object.
|
|
29
27
|
* The allocations can describe whether the payment is being applied toward a specific service line,
|
|
30
28
|
* claim, or billing provider.
|
|
31
|
-
*
|
|
32
29
|
*/
|
|
33
30
|
create(request: CandidApi.patientPayments.v4.PatientPaymentCreate): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.create.Error>>;
|
|
34
31
|
/**
|
|
35
32
|
* Updates the patient payment record matching the provided patient_payment_id.
|
|
36
|
-
*
|
|
37
33
|
*/
|
|
38
34
|
update(patientPaymentId: CandidApi.patientPayments.v4.PatientPaymentId, request?: CandidApi.patientPayments.v4.PatientPaymentUpdate): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.update.Error>>;
|
|
39
35
|
/**
|
|
40
36
|
* Deletes the patient payment record matching the provided patient_payment_id.
|
|
41
|
-
*
|
|
42
37
|
*/
|
|
43
38
|
delete(patientPaymentId: CandidApi.patientPayments.v4.PatientPaymentId): Promise<core.APIResponse<void, CandidApi.patientPayments.v4.delete.Error>>;
|
|
44
39
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -44,7 +44,6 @@ class V4 {
|
|
|
44
44
|
/**
|
|
45
45
|
* Returns all patient payments satisfying the search criteria AND whose organization_id matches
|
|
46
46
|
* the current organization_id of the authenticated user.
|
|
47
|
-
*
|
|
48
47
|
*/
|
|
49
48
|
async getMulti(request = {}) {
|
|
50
49
|
const { limit, patientExternalId, claimId, serviceLineId, billingProviderId, unattributed, invoiceId, sources, sort, sortDirection, pageToken, } = request;
|
|
@@ -96,7 +95,7 @@ class V4 {
|
|
|
96
95
|
Authorization: await this._getAuthorizationHeader(),
|
|
97
96
|
"X-Fern-Language": "JavaScript",
|
|
98
97
|
"X-Fern-SDK-Name": "candidhealth",
|
|
99
|
-
"X-Fern-SDK-Version": "0.
|
|
98
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
100
99
|
},
|
|
101
100
|
contentType: "application/json",
|
|
102
101
|
queryParameters: _queryParams,
|
|
@@ -120,7 +119,6 @@ class V4 {
|
|
|
120
119
|
}
|
|
121
120
|
/**
|
|
122
121
|
* Retrieves a previously created patient payment by its `patient_payment_id`.
|
|
123
|
-
*
|
|
124
122
|
*/
|
|
125
123
|
async get(patientPaymentId) {
|
|
126
124
|
const _response = await core.fetcher({
|
|
@@ -130,7 +128,7 @@ class V4 {
|
|
|
130
128
|
Authorization: await this._getAuthorizationHeader(),
|
|
131
129
|
"X-Fern-Language": "JavaScript",
|
|
132
130
|
"X-Fern-SDK-Name": "candidhealth",
|
|
133
|
-
"X-Fern-SDK-Version": "0.
|
|
131
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
134
132
|
},
|
|
135
133
|
contentType: "application/json",
|
|
136
134
|
timeoutMs: 60000,
|
|
@@ -155,7 +153,6 @@ class V4 {
|
|
|
155
153
|
* Creates a new patient payment record and returns the newly created PatientPayment object.
|
|
156
154
|
* The allocations can describe whether the payment is being applied toward a specific service line,
|
|
157
155
|
* claim, or billing provider.
|
|
158
|
-
*
|
|
159
156
|
*/
|
|
160
157
|
async create(request) {
|
|
161
158
|
const _response = await core.fetcher({
|
|
@@ -165,7 +162,7 @@ class V4 {
|
|
|
165
162
|
Authorization: await this._getAuthorizationHeader(),
|
|
166
163
|
"X-Fern-Language": "JavaScript",
|
|
167
164
|
"X-Fern-SDK-Name": "candidhealth",
|
|
168
|
-
"X-Fern-SDK-Version": "0.
|
|
165
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
169
166
|
},
|
|
170
167
|
contentType: "application/json",
|
|
171
168
|
body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
|
|
@@ -191,7 +188,6 @@ class V4 {
|
|
|
191
188
|
}
|
|
192
189
|
/**
|
|
193
190
|
* Updates the patient payment record matching the provided patient_payment_id.
|
|
194
|
-
*
|
|
195
191
|
*/
|
|
196
192
|
async update(patientPaymentId, request = {}) {
|
|
197
193
|
const _response = await core.fetcher({
|
|
@@ -201,7 +197,7 @@ class V4 {
|
|
|
201
197
|
Authorization: await this._getAuthorizationHeader(),
|
|
202
198
|
"X-Fern-Language": "JavaScript",
|
|
203
199
|
"X-Fern-SDK-Name": "candidhealth",
|
|
204
|
-
"X-Fern-SDK-Version": "0.
|
|
200
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
205
201
|
},
|
|
206
202
|
contentType: "application/json",
|
|
207
203
|
body: await serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
|
|
@@ -227,7 +223,6 @@ class V4 {
|
|
|
227
223
|
}
|
|
228
224
|
/**
|
|
229
225
|
* Deletes the patient payment record matching the provided patient_payment_id.
|
|
230
|
-
*
|
|
231
226
|
*/
|
|
232
227
|
async delete(patientPaymentId) {
|
|
233
228
|
const _response = await core.fetcher({
|
|
@@ -237,7 +232,7 @@ class V4 {
|
|
|
237
232
|
Authorization: await this._getAuthorizationHeader(),
|
|
238
233
|
"X-Fern-Language": "JavaScript",
|
|
239
234
|
"X-Fern-SDK-Name": "candidhealth",
|
|
240
|
-
"X-Fern-SDK-Version": "0.
|
|
235
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
241
236
|
},
|
|
242
237
|
contentType: "application/json",
|
|
243
238
|
timeoutMs: 60000,
|
|
@@ -16,29 +16,24 @@ export declare class V1 {
|
|
|
16
16
|
/**
|
|
17
17
|
* Returns all patient refunds satisfying the search criteria AND whose organization_id matches
|
|
18
18
|
* the current organization_id of the authenticated user.
|
|
19
|
-
*
|
|
20
19
|
*/
|
|
21
20
|
getMulti(request?: CandidApi.patientRefunds.v1.GetMultiPatientRefundsRequest): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefundsPage, CandidApi.patientRefunds.v1.getMulti.Error>>;
|
|
22
21
|
/**
|
|
23
22
|
* Retrieves a previously created patient refund by its `patient_refund_id`.
|
|
24
|
-
*
|
|
25
23
|
*/
|
|
26
24
|
get(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.get.Error>>;
|
|
27
25
|
/**
|
|
28
26
|
* Creates a new patient refund record and returns the newly created PatientRefund object.
|
|
29
27
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
30
28
|
* claim, or billing provider.
|
|
31
|
-
*
|
|
32
29
|
*/
|
|
33
30
|
create(request: CandidApi.patientRefunds.v1.PatientRefundCreate): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.create.Error>>;
|
|
34
31
|
/**
|
|
35
32
|
* Updates the patient refund record matching the provided patient_refund_id.
|
|
36
|
-
*
|
|
37
33
|
*/
|
|
38
34
|
update(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId, request?: CandidApi.patientRefunds.v1.PatientRefundUpdate): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.update.Error>>;
|
|
39
35
|
/**
|
|
40
36
|
* Deletes the patient refund record matching the provided patient_refund_id.
|
|
41
|
-
*
|
|
42
37
|
*/
|
|
43
38
|
delete(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId): Promise<core.APIResponse<void, CandidApi.patientRefunds.v1.delete.Error>>;
|
|
44
39
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|