candidhealth 0.14.0 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/api/resources/eraCommons/index.d.ts +1 -0
- package/api/resources/eraCommons/index.js +17 -0
- package/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +18 -0
- package/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +17 -0
- package/api/resources/eraCommons/types/index.d.ts +1 -0
- package/api/resources/eraCommons/types/index.js +17 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/financials/types/index.d.ts +0 -1
- package/api/resources/financials/types/index.js +0 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +6 -6
- package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -3
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +3 -1
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +1 -1
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +21 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +23 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +3 -1
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +1 -1
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +15 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +17 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -2
- package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +0 -1
- package/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/index.js +2 -1
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -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 +2 -0
- package/dist/api/resources/eraCommons/index.d.ts +1 -0
- package/dist/api/resources/eraCommons/index.js +17 -0
- package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +18 -0
- package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +17 -0
- package/dist/api/resources/eraCommons/types/index.d.ts +1 -0
- package/dist/api/resources/eraCommons/types/index.js +17 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/financials/types/index.d.ts +0 -1
- package/dist/api/resources/financials/types/index.js +0 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- 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.js +3 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -3
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +3 -1
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +1 -1
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +21 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +23 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +3 -1
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +1 -1
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +15 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +17 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -2
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +0 -1
- package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/index.js +2 -1
- 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/eraCommons/index.d.ts +1 -0
- package/dist/serialization/resources/eraCommons/index.js +17 -0
- package/dist/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +10 -0
- package/dist/serialization/resources/{writeOffs/resources/v1/types/WriteOffReason.js → eraCommons/types/ClaimStatusCodeCreate.js} +3 -3
- package/dist/serialization/resources/eraCommons/types/index.d.ts +1 -0
- package/dist/serialization/resources/eraCommons/types/index.js +17 -0
- package/dist/serialization/resources/financials/types/index.d.ts +0 -1
- package/dist/serialization/resources/financials/types/index.js +0 -1
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -3
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +1 -5
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +0 -3
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +0 -3
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +3 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +3 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +10 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +47 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +3 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +3 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +10 -0
- package/dist/serialization/resources/{financials/types/AllocationAmountUpdate.js → writeOffs/resources/v1/types/PatientWriteOffReason.js} +13 -6
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +2 -1
- package/package.json +1 -1
- 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/eraCommons/index.d.ts +1 -0
- package/serialization/resources/eraCommons/index.js +17 -0
- package/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +10 -0
- package/serialization/resources/{writeOffs/resources/v1/types/WriteOffReason.js → eraCommons/types/ClaimStatusCodeCreate.js} +3 -3
- package/serialization/resources/eraCommons/types/index.d.ts +1 -0
- package/serialization/resources/eraCommons/types/index.js +17 -0
- package/serialization/resources/financials/types/index.d.ts +0 -1
- package/serialization/resources/financials/types/index.js +0 -1
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -3
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +1 -5
- package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
- package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +0 -3
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +0 -3
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +3 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +3 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +10 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +47 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +3 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +3 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +10 -0
- package/serialization/resources/{financials/types/AllocationAmountUpdate.js → writeOffs/resources/v1/types/PatientWriteOffReason.js} +13 -6
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/index.js +2 -1
- package/api/resources/financials/types/AllocationAmountUpdate.d.ts +0 -8
- package/api/resources/financials/types/AllocationAmountUpdate.js +0 -5
- package/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
- package/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +0 -12
- package/dist/api/resources/financials/types/AllocationAmountUpdate.d.ts +0 -8
- package/dist/api/resources/financials/types/AllocationAmountUpdate.js +0 -5
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +0 -12
- package/dist/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +0 -13
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
- package/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +0 -13
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
5
|
export interface ClaimAdjudicationCreate {
|
|
6
|
+
claimStatusCode: CandidApi.ClaimStatusCodeCreate;
|
|
6
7
|
insurancePaidAmountCents?: number;
|
|
7
8
|
chargeAmountCents?: number;
|
|
8
9
|
serviceLines: Record<CandidApi.ServiceLineId, CandidApi.insuranceAdjudications.v1.ServiceLineAdjudicationCreate[]>;
|
|
@@ -37,7 +37,7 @@ export declare class V1 {
|
|
|
37
37
|
* then the allocations must be appropriately updated as well.
|
|
38
38
|
*
|
|
39
39
|
*/
|
|
40
|
-
update(insuranceRefundId: CandidApi.insuranceRefunds.v1.InsuranceRefundId, request
|
|
40
|
+
update(insuranceRefundId: CandidApi.insuranceRefunds.v1.InsuranceRefundId, request?: CandidApi.insuranceRefunds.v1.InsuranceRefundUpdate): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefund, CandidApi.insuranceRefunds.v1.update.Error>>;
|
|
41
41
|
/**
|
|
42
42
|
* Deletes the insurance refund record matching the provided `insurance_refund_id`.
|
|
43
43
|
* If the matching record's organization_id does not match the authenticated user's
|
|
@@ -80,7 +80,7 @@ class V1 {
|
|
|
80
80
|
Authorization: await this._getAuthorizationHeader(),
|
|
81
81
|
"X-Fern-Language": "JavaScript",
|
|
82
82
|
"X-Fern-SDK-Name": "candidhealth",
|
|
83
|
-
"X-Fern-SDK-Version": "0.14.
|
|
83
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
84
84
|
},
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
queryParameters: _queryParams,
|
|
@@ -115,7 +115,7 @@ class V1 {
|
|
|
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.14.
|
|
118
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
119
119
|
},
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
timeoutMs: 60000,
|
|
@@ -150,7 +150,7 @@ class V1 {
|
|
|
150
150
|
Authorization: await this._getAuthorizationHeader(),
|
|
151
151
|
"X-Fern-Language": "JavaScript",
|
|
152
152
|
"X-Fern-SDK-Name": "candidhealth",
|
|
153
|
-
"X-Fern-SDK-Version": "0.14.
|
|
153
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
154
154
|
},
|
|
155
155
|
contentType: "application/json",
|
|
156
156
|
body: await serializers.insuranceRefunds.v1.InsuranceRefundCreate.jsonOrThrow(request, {
|
|
@@ -179,7 +179,7 @@ class V1 {
|
|
|
179
179
|
* then the allocations must be appropriately updated as well.
|
|
180
180
|
*
|
|
181
181
|
*/
|
|
182
|
-
async update(insuranceRefundId, request) {
|
|
182
|
+
async update(insuranceRefundId, request = {}) {
|
|
183
183
|
const _response = await core.fetcher({
|
|
184
184
|
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/insurance-refunds/v1/${await serializers.insuranceRefunds.v1.InsuranceRefundId.jsonOrThrow(insuranceRefundId)}`),
|
|
185
185
|
method: "PATCH",
|
|
@@ -187,7 +187,7 @@ class V1 {
|
|
|
187
187
|
Authorization: await this._getAuthorizationHeader(),
|
|
188
188
|
"X-Fern-Language": "JavaScript",
|
|
189
189
|
"X-Fern-SDK-Name": "candidhealth",
|
|
190
|
-
"X-Fern-SDK-Version": "0.14.
|
|
190
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
191
191
|
},
|
|
192
192
|
contentType: "application/json",
|
|
193
193
|
body: await serializers.insuranceRefunds.v1.InsuranceRefundUpdate.jsonOrThrow(request, {
|
|
@@ -225,7 +225,7 @@ class V1 {
|
|
|
225
225
|
Authorization: await this._getAuthorizationHeader(),
|
|
226
226
|
"X-Fern-Language": "JavaScript",
|
|
227
227
|
"X-Fern-SDK-Name": "candidhealth",
|
|
228
|
-
"X-Fern-SDK-Version": "0.14.
|
|
228
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
229
229
|
},
|
|
230
230
|
contentType: "application/json",
|
|
231
231
|
timeoutMs: 60000,
|
package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts
CHANGED
|
@@ -5,8 +5,6 @@ import * as CandidApi from "../../../../../..";
|
|
|
5
5
|
export interface InsuranceRefundUpdate {
|
|
6
6
|
refundTimestamp?: Date;
|
|
7
7
|
refundNote?: CandidApi.NoteUpdate;
|
|
8
|
-
payerIdentifier
|
|
9
|
-
allocations?: CandidApi.AllocationAmountUpdate;
|
|
10
|
-
invoice?: CandidApi.InvoiceUpdate;
|
|
8
|
+
payerIdentifier?: CandidApi.payers.v3.PayerIdentifier;
|
|
11
9
|
refundReason?: CandidApi.RefundReasonUpdate;
|
|
12
10
|
}
|
|
@@ -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.14.
|
|
52
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
118
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
148
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
195
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
196
196
|
},
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
|
|
@@ -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.14.
|
|
52
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
106
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
136
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
180
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
225
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
226
226
|
},
|
|
227
227
|
contentType: "application/json",
|
|
228
228
|
timeoutMs: 60000,
|
|
@@ -93,7 +93,7 @@ class V4 {
|
|
|
93
93
|
Authorization: await this._getAuthorizationHeader(),
|
|
94
94
|
"X-Fern-Language": "JavaScript",
|
|
95
95
|
"X-Fern-SDK-Name": "candidhealth",
|
|
96
|
-
"X-Fern-SDK-Version": "0.14.
|
|
96
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
97
97
|
},
|
|
98
98
|
contentType: "application/json",
|
|
99
99
|
queryParameters: _queryParams,
|
|
@@ -127,7 +127,7 @@ class V4 {
|
|
|
127
127
|
Authorization: await this._getAuthorizationHeader(),
|
|
128
128
|
"X-Fern-Language": "JavaScript",
|
|
129
129
|
"X-Fern-SDK-Name": "candidhealth",
|
|
130
|
-
"X-Fern-SDK-Version": "0.14.
|
|
130
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
131
131
|
},
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
timeoutMs: 60000,
|
|
@@ -162,7 +162,7 @@ class V4 {
|
|
|
162
162
|
Authorization: await this._getAuthorizationHeader(),
|
|
163
163
|
"X-Fern-Language": "JavaScript",
|
|
164
164
|
"X-Fern-SDK-Name": "candidhealth",
|
|
165
|
-
"X-Fern-SDK-Version": "0.14.
|
|
165
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
|
|
@@ -198,7 +198,7 @@ class V4 {
|
|
|
198
198
|
Authorization: await this._getAuthorizationHeader(),
|
|
199
199
|
"X-Fern-Language": "JavaScript",
|
|
200
200
|
"X-Fern-SDK-Name": "candidhealth",
|
|
201
|
-
"X-Fern-SDK-Version": "0.14.
|
|
201
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
202
202
|
},
|
|
203
203
|
contentType: "application/json",
|
|
204
204
|
body: await serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
|
|
@@ -234,7 +234,7 @@ class V4 {
|
|
|
234
234
|
Authorization: await this._getAuthorizationHeader(),
|
|
235
235
|
"X-Fern-Language": "JavaScript",
|
|
236
236
|
"X-Fern-SDK-Name": "candidhealth",
|
|
237
|
-
"X-Fern-SDK-Version": "0.14.
|
|
237
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
238
238
|
},
|
|
239
239
|
contentType: "application/json",
|
|
240
240
|
timeoutMs: 60000,
|
|
@@ -93,7 +93,7 @@ class V1 {
|
|
|
93
93
|
Authorization: await this._getAuthorizationHeader(),
|
|
94
94
|
"X-Fern-Language": "JavaScript",
|
|
95
95
|
"X-Fern-SDK-Name": "candidhealth",
|
|
96
|
-
"X-Fern-SDK-Version": "0.14.
|
|
96
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
97
97
|
},
|
|
98
98
|
contentType: "application/json",
|
|
99
99
|
queryParameters: _queryParams,
|
|
@@ -127,7 +127,7 @@ class V1 {
|
|
|
127
127
|
Authorization: await this._getAuthorizationHeader(),
|
|
128
128
|
"X-Fern-Language": "JavaScript",
|
|
129
129
|
"X-Fern-SDK-Name": "candidhealth",
|
|
130
|
-
"X-Fern-SDK-Version": "0.14.
|
|
130
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
131
131
|
},
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
timeoutMs: 60000,
|
|
@@ -162,7 +162,7 @@ class V1 {
|
|
|
162
162
|
Authorization: await this._getAuthorizationHeader(),
|
|
163
163
|
"X-Fern-Language": "JavaScript",
|
|
164
164
|
"X-Fern-SDK-Name": "candidhealth",
|
|
165
|
-
"X-Fern-SDK-Version": "0.14.
|
|
165
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
|
|
@@ -198,7 +198,7 @@ class V1 {
|
|
|
198
198
|
Authorization: await this._getAuthorizationHeader(),
|
|
199
199
|
"X-Fern-Language": "JavaScript",
|
|
200
200
|
"X-Fern-SDK-Name": "candidhealth",
|
|
201
|
-
"X-Fern-SDK-Version": "0.14.
|
|
201
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
202
202
|
},
|
|
203
203
|
contentType: "application/json",
|
|
204
204
|
body: await serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
|
|
@@ -234,7 +234,7 @@ class V1 {
|
|
|
234
234
|
Authorization: await this._getAuthorizationHeader(),
|
|
235
235
|
"X-Fern-Language": "JavaScript",
|
|
236
236
|
"X-Fern-SDK-Name": "candidhealth",
|
|
237
|
-
"X-Fern-SDK-Version": "0.14.
|
|
237
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
238
238
|
},
|
|
239
239
|
contentType: "application/json",
|
|
240
240
|
timeoutMs: 60000,
|
package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export interface PatientRefundUpdate {
|
|
|
6
6
|
refundTimestamp?: Date;
|
|
7
7
|
refundNote?: CandidApi.NoteUpdate;
|
|
8
8
|
patientExternalId?: CandidApi.PatientExternalId;
|
|
9
|
-
allocations?: CandidApi.AllocationAmountUpdate;
|
|
10
9
|
invoice?: CandidApi.InvoiceUpdate;
|
|
11
10
|
refundReason?: CandidApi.RefundReasonUpdate;
|
|
12
11
|
}
|
|
@@ -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.14.
|
|
52
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -89,7 +89,7 @@ class V3 {
|
|
|
89
89
|
Authorization: await this._getAuthorizationHeader(),
|
|
90
90
|
"X-Fern-Language": "JavaScript",
|
|
91
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.14.
|
|
92
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
93
93
|
},
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
@@ -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.14.
|
|
52
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -119,7 +119,7 @@ class V3 {
|
|
|
119
119
|
Authorization: await this._getAuthorizationHeader(),
|
|
120
120
|
"X-Fern-Language": "JavaScript",
|
|
121
121
|
"X-Fern-SDK-Name": "candidhealth",
|
|
122
|
-
"X-Fern-SDK-Version": "0.14.
|
|
122
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
123
123
|
},
|
|
124
124
|
contentType: "application/json",
|
|
125
125
|
queryParameters: _queryParams,
|
|
@@ -163,7 +163,7 @@ class V3 {
|
|
|
163
163
|
Authorization: await this._getAuthorizationHeader(),
|
|
164
164
|
"X-Fern-Language": "JavaScript",
|
|
165
165
|
"X-Fern-SDK-Name": "candidhealth",
|
|
166
|
-
"X-Fern-SDK-Version": "0.14.
|
|
166
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
167
167
|
},
|
|
168
168
|
contentType: "application/json",
|
|
169
169
|
timeoutMs: 60000,
|
|
@@ -207,7 +207,7 @@ class V3 {
|
|
|
207
207
|
Authorization: await this._getAuthorizationHeader(),
|
|
208
208
|
"X-Fern-Language": "JavaScript",
|
|
209
209
|
"X-Fern-SDK-Name": "candidhealth",
|
|
210
|
-
"X-Fern-SDK-Version": "0.14.
|
|
210
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
211
211
|
},
|
|
212
212
|
contentType: "application/json",
|
|
213
213
|
body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -237,7 +237,7 @@ class V3 {
|
|
|
237
237
|
Authorization: await this._getAuthorizationHeader(),
|
|
238
238
|
"X-Fern-Language": "JavaScript",
|
|
239
239
|
"X-Fern-SDK-Name": "candidhealth",
|
|
240
|
-
"X-Fern-SDK-Version": "0.14.
|
|
240
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
241
241
|
},
|
|
242
242
|
contentType: "application/json",
|
|
243
243
|
body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -92,7 +92,7 @@ class V1 {
|
|
|
92
92
|
Authorization: await this._getAuthorizationHeader(),
|
|
93
93
|
"X-Fern-Language": "JavaScript",
|
|
94
94
|
"X-Fern-SDK-Name": "candidhealth",
|
|
95
|
-
"X-Fern-SDK-Version": "0.14.
|
|
95
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
96
96
|
},
|
|
97
97
|
contentType: "application/json",
|
|
98
98
|
queryParameters: _queryParams,
|
|
@@ -126,7 +126,7 @@ class V1 {
|
|
|
126
126
|
Authorization: await this._getAuthorizationHeader(),
|
|
127
127
|
"X-Fern-Language": "JavaScript",
|
|
128
128
|
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
-
"X-Fern-SDK-Version": "0.14.
|
|
129
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
130
130
|
},
|
|
131
131
|
contentType: "application/json",
|
|
132
132
|
timeoutMs: 60000,
|
|
@@ -161,7 +161,7 @@ class V1 {
|
|
|
161
161
|
Authorization: await this._getAuthorizationHeader(),
|
|
162
162
|
"X-Fern-Language": "JavaScript",
|
|
163
163
|
"X-Fern-SDK-Name": "candidhealth",
|
|
164
|
-
"X-Fern-SDK-Version": "0.14.
|
|
164
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
165
165
|
},
|
|
166
166
|
contentType: "application/json",
|
|
167
167
|
body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -197,7 +197,7 @@ class V1 {
|
|
|
197
197
|
Authorization: await this._getAuthorizationHeader(),
|
|
198
198
|
"X-Fern-Language": "JavaScript",
|
|
199
199
|
"X-Fern-SDK-Name": "candidhealth",
|
|
200
|
-
"X-Fern-SDK-Version": "0.14.
|
|
200
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
201
201
|
},
|
|
202
202
|
contentType: "application/json",
|
|
203
203
|
timeoutMs: 60000,
|
|
@@ -8,6 +8,8 @@ export interface InsuranceWriteOff {
|
|
|
8
8
|
writeOffTarget: CandidApi.writeOffs.v1.InsuranceWriteOffTarget;
|
|
9
9
|
writeOffTimestamp: Date;
|
|
10
10
|
writeOffNote?: string;
|
|
11
|
-
writeOffReason: CandidApi.writeOffs.v1.
|
|
11
|
+
writeOffReason: CandidApi.writeOffs.v1.InsuranceWriteOffReason;
|
|
12
|
+
revertsWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
|
|
13
|
+
revertedByWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
|
|
12
14
|
amountCents: number;
|
|
13
15
|
}
|
|
@@ -7,6 +7,6 @@ export interface InsuranceWriteOffCreate {
|
|
|
7
7
|
writeOffTarget: CandidApi.writeOffs.v1.InsuranceWriteOffTarget;
|
|
8
8
|
writeOffTimestamp: Date;
|
|
9
9
|
writeOffNote?: string;
|
|
10
|
-
writeOffReason: CandidApi.writeOffs.v1.
|
|
10
|
+
writeOffReason: CandidApi.writeOffs.v1.InsuranceWriteOffReason;
|
|
11
11
|
amountCents: number;
|
|
12
12
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type InsuranceWriteOffReason = "SMALL_BALANCE" | "NO_AUTHORIZATION_REFERRAL" | "TIMELY_FILING" | "STALE_DATE" | "TIMELY_FILING_LATE_ENCOUNTER" | "CREDENTIALING_OR_CONTRACTING" | "NON_COVERED_MAX_BENEFIT" | "NOT_MEDICALLY_NECESSARY" | "BUNDLED_OR_INCLUSIVE" | "UNCOLLECTIBLE_OR_NON_BILLABLE" | "EFFORTS_EXHAUSTED" | "ADMINISTRATIVE_WRITE_OFF" | "CASE_RATE_OR_CAPITATED" | "OTHER" | "UNKNOWN";
|
|
5
|
+
export declare const InsuranceWriteOffReason: {
|
|
6
|
+
readonly SmallBalance: "SMALL_BALANCE";
|
|
7
|
+
readonly NoAuthorizationReferral: "NO_AUTHORIZATION_REFERRAL";
|
|
8
|
+
readonly TimelyFiling: "TIMELY_FILING";
|
|
9
|
+
readonly StaleDate: "STALE_DATE";
|
|
10
|
+
readonly TimelyFilingLateEncounter: "TIMELY_FILING_LATE_ENCOUNTER";
|
|
11
|
+
readonly CredentialingOrContracting: "CREDENTIALING_OR_CONTRACTING";
|
|
12
|
+
readonly NonCoveredMaxBenefit: "NON_COVERED_MAX_BENEFIT";
|
|
13
|
+
readonly NotMedicallyNecessary: "NOT_MEDICALLY_NECESSARY";
|
|
14
|
+
readonly BundledOrInclusive: "BUNDLED_OR_INCLUSIVE";
|
|
15
|
+
readonly UncollectibleOrNonBillable: "UNCOLLECTIBLE_OR_NON_BILLABLE";
|
|
16
|
+
readonly EffortsExhausted: "EFFORTS_EXHAUSTED";
|
|
17
|
+
readonly AdministrativeWriteOff: "ADMINISTRATIVE_WRITE_OFF";
|
|
18
|
+
readonly CaseRateOrCapitated: "CASE_RATE_OR_CAPITATED";
|
|
19
|
+
readonly Other: "OTHER";
|
|
20
|
+
readonly Unknown: "UNKNOWN";
|
|
21
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.InsuranceWriteOffReason = void 0;
|
|
7
|
+
exports.InsuranceWriteOffReason = {
|
|
8
|
+
SmallBalance: "SMALL_BALANCE",
|
|
9
|
+
NoAuthorizationReferral: "NO_AUTHORIZATION_REFERRAL",
|
|
10
|
+
TimelyFiling: "TIMELY_FILING",
|
|
11
|
+
StaleDate: "STALE_DATE",
|
|
12
|
+
TimelyFilingLateEncounter: "TIMELY_FILING_LATE_ENCOUNTER",
|
|
13
|
+
CredentialingOrContracting: "CREDENTIALING_OR_CONTRACTING",
|
|
14
|
+
NonCoveredMaxBenefit: "NON_COVERED_MAX_BENEFIT",
|
|
15
|
+
NotMedicallyNecessary: "NOT_MEDICALLY_NECESSARY",
|
|
16
|
+
BundledOrInclusive: "BUNDLED_OR_INCLUSIVE",
|
|
17
|
+
UncollectibleOrNonBillable: "UNCOLLECTIBLE_OR_NON_BILLABLE",
|
|
18
|
+
EffortsExhausted: "EFFORTS_EXHAUSTED",
|
|
19
|
+
AdministrativeWriteOff: "ADMINISTRATIVE_WRITE_OFF",
|
|
20
|
+
CaseRateOrCapitated: "CASE_RATE_OR_CAPITATED",
|
|
21
|
+
Other: "OTHER",
|
|
22
|
+
Unknown: "UNKNOWN",
|
|
23
|
+
};
|
|
@@ -6,7 +6,9 @@ export interface PatientWriteOff {
|
|
|
6
6
|
writeOffId: CandidApi.writeOffs.v1.WriteOffId;
|
|
7
7
|
writeOffTimestamp: Date;
|
|
8
8
|
writeOffNote?: string;
|
|
9
|
-
writeOffReason: CandidApi.writeOffs.v1.
|
|
9
|
+
writeOffReason: CandidApi.writeOffs.v1.PatientWriteOffReason;
|
|
10
10
|
serviceLineId: CandidApi.ServiceLineId;
|
|
11
|
+
revertsWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
|
|
12
|
+
revertedByWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
|
|
11
13
|
amountCents: number;
|
|
12
14
|
}
|
|
@@ -5,7 +5,7 @@ import * as CandidApi from "../../../../..";
|
|
|
5
5
|
export interface PatientWriteOffCreate {
|
|
6
6
|
writeOffTimestamp: Date;
|
|
7
7
|
writeOffNote?: string;
|
|
8
|
-
writeOffReason: CandidApi.writeOffs.v1.
|
|
8
|
+
writeOffReason: CandidApi.writeOffs.v1.PatientWriteOffReason;
|
|
9
9
|
serviceLineId: CandidApi.ServiceLineId;
|
|
10
10
|
amountCents: number;
|
|
11
11
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type PatientWriteOffReason = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN";
|
|
5
|
+
export declare const PatientWriteOffReason: {
|
|
6
|
+
readonly SmallBalance: "SMALL_BALANCE";
|
|
7
|
+
readonly CharityOrFinancialAssistance: "CHARITY_OR_FINANCIAL_ASSISTANCE";
|
|
8
|
+
readonly PatientExperienceOrServiceRecovery: "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY";
|
|
9
|
+
readonly OonCourtesyAdjustment: "OON_COURTESY_ADJUSTMENT";
|
|
10
|
+
readonly PromptPayDiscount: "PROMPT_PAY_DISCOUNT";
|
|
11
|
+
readonly BadDebt: "BAD_DEBT";
|
|
12
|
+
readonly CollectionAgency: "COLLECTION_AGENCY";
|
|
13
|
+
readonly Other: "OTHER";
|
|
14
|
+
readonly Unknown: "UNKNOWN";
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PatientWriteOffReason = void 0;
|
|
7
|
+
exports.PatientWriteOffReason = {
|
|
8
|
+
SmallBalance: "SMALL_BALANCE",
|
|
9
|
+
CharityOrFinancialAssistance: "CHARITY_OR_FINANCIAL_ASSISTANCE",
|
|
10
|
+
PatientExperienceOrServiceRecovery: "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY",
|
|
11
|
+
OonCourtesyAdjustment: "OON_COURTESY_ADJUSTMENT",
|
|
12
|
+
PromptPayDiscount: "PROMPT_PAY_DISCOUNT",
|
|
13
|
+
BadDebt: "BAD_DEBT",
|
|
14
|
+
CollectionAgency: "COLLECTION_AGENCY",
|
|
15
|
+
Other: "OTHER",
|
|
16
|
+
Unknown: "UNKNOWN",
|
|
17
|
+
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type WriteOffSortField = "amount_cents" | "write_off_timestamp" | "write_off_note"
|
|
4
|
+
export declare type WriteOffSortField = "amount_cents" | "write_off_timestamp" | "write_off_note";
|
|
5
5
|
export declare const WriteOffSortField: {
|
|
6
6
|
readonly AmountCents: "amount_cents";
|
|
7
7
|
readonly WriteOffTimestamp: "write_off_timestamp";
|
|
8
8
|
readonly WriteOffNote: "write_off_note";
|
|
9
|
-
readonly WriteOffReason: "write_off_reason";
|
|
10
9
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
export * from "./WriteOffId";
|
|
2
2
|
export * from "./WriteOff";
|
|
3
3
|
export * from "./WriteOffCreate";
|
|
4
|
+
export * from "./PatientWriteOffReason";
|
|
4
5
|
export * from "./PatientWriteOff";
|
|
5
6
|
export * from "./PatientWriteOffCreate";
|
|
6
7
|
export * from "./InsuranceWriteOff";
|
|
7
8
|
export * from "./InsuranceWriteOffCreate";
|
|
8
9
|
export * from "./InsuranceWriteOffTarget";
|
|
9
|
-
export * from "./
|
|
10
|
+
export * from "./InsuranceWriteOffReason";
|
|
10
11
|
export * from "./CreateWriteOffsResponse";
|
|
11
12
|
export * from "./WriteOffsPage";
|
|
12
13
|
export * from "./WriteOffSortField";
|
|
@@ -17,12 +17,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./WriteOffId"), exports);
|
|
18
18
|
__exportStar(require("./WriteOff"), exports);
|
|
19
19
|
__exportStar(require("./WriteOffCreate"), exports);
|
|
20
|
+
__exportStar(require("./PatientWriteOffReason"), exports);
|
|
20
21
|
__exportStar(require("./PatientWriteOff"), exports);
|
|
21
22
|
__exportStar(require("./PatientWriteOffCreate"), exports);
|
|
22
23
|
__exportStar(require("./InsuranceWriteOff"), exports);
|
|
23
24
|
__exportStar(require("./InsuranceWriteOffCreate"), exports);
|
|
24
25
|
__exportStar(require("./InsuranceWriteOffTarget"), exports);
|
|
25
|
-
__exportStar(require("./
|
|
26
|
+
__exportStar(require("./InsuranceWriteOffReason"), exports);
|
|
26
27
|
__exportStar(require("./CreateWriteOffsResponse"), exports);
|
|
27
28
|
__exportStar(require("./WriteOffsPage"), exports);
|
|
28
29
|
__exportStar(require("./WriteOffSortField"), exports);
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare namespace EncounterUpdate {
|
|
|
22
22
|
place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
|
|
23
23
|
appointment_type?: string | null;
|
|
24
24
|
end_date_of_service?: serializers.Date_.Raw | null;
|
|
25
|
+
subscriber_primary?: serializers.SubscriberCreate.Raw | null;
|
|
25
26
|
subscriber_secondary?: serializers.SubscriberCreate.Raw | null;
|
|
26
27
|
additional_information?: string | null;
|
|
27
28
|
service_authorization_exception_code?: serializers.encounters.v4.ServiceAuthorizationExceptionCode.Raw | null;
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js
CHANGED
|
@@ -58,6 +58,7 @@ exports.EncounterUpdate = core.serialization.object({
|
|
|
58
58
|
placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).FacilityTypeCode).optional()),
|
|
59
59
|
appointmentType: core.serialization.property("appointment_type", core.serialization.string().optional()),
|
|
60
60
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
61
|
+
subscriberPrimary: core.serialization.property("subscriber_primary", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).SubscriberCreate).optional()),
|
|
61
62
|
subscriberSecondary: core.serialization.property("subscriber_secondary", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).SubscriberCreate).optional()),
|
|
62
63
|
additionalInformation: core.serialization.property("additional_information", core.serialization.string().optional()),
|
|
63
64
|
serviceAuthorizationExceptionCode: core.serialization.property("service_authorization_exception_code", core.serialization
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const ClaimStatusCodeCreate: core.serialization.Schema<serializers.ClaimStatusCodeCreate.Raw, CandidApi.ClaimStatusCodeCreate>;
|
|
8
|
+
export declare namespace ClaimStatusCodeCreate {
|
|
9
|
+
type Raw = "1" | "2" | "3" | "4" | "19" | "20" | "21" | "22" | "23";
|
|
10
|
+
}
|
|
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
exports.
|
|
29
|
+
exports.ClaimStatusCodeCreate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ClaimStatusCodeCreate = core.serialization.enum_(["1", "2", "3", "4", "19", "20", "21", "22", "23"]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ClaimStatusCodeCreate";
|