candidhealth 0.17.0 → 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 +3 -2
- package/api/resources/eligibility/resources/v2/client/Client.js +5 -4
- 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 +0 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +0 -1
- 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 +3 -2
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +5 -4
- 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 +0 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +0 -1
- 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/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
|
@@ -5,7 +5,6 @@ import * as CandidApi from "../../../../..";
|
|
|
5
5
|
/**
|
|
6
6
|
* The reason a given service line was denied within a given time range.
|
|
7
7
|
* A service line may be denied for different reasons over time, but only one reason at a time.
|
|
8
|
-
*
|
|
9
8
|
*/
|
|
10
9
|
export interface ServiceLineDenialReason {
|
|
11
10
|
/** Text of the denial reason */
|
|
@@ -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.17.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
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.17.
|
|
122
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
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.17.
|
|
166
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
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.17.
|
|
210
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
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.17.
|
|
240
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
241
241
|
},
|
|
242
242
|
contentType: "application/json",
|
|
243
243
|
body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -15,24 +15,20 @@ export declare class V1 {
|
|
|
15
15
|
constructor(options: V1.Options);
|
|
16
16
|
/**
|
|
17
17
|
* Returns all write-offs satisfying the search criteria.
|
|
18
|
-
*
|
|
19
18
|
*/
|
|
20
19
|
getMulti(request?: CandidApi.writeOffs.v1.GetMultiWriteOffsRequest): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOffsPage, CandidApi.writeOffs.v1.getMulti.Error>>;
|
|
21
20
|
/**
|
|
22
21
|
* Retrieves a previously created write off by its `write_off_id`.
|
|
23
|
-
*
|
|
24
22
|
*/
|
|
25
23
|
get(writeOffId: CandidApi.writeOffs.v1.WriteOffId): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff, CandidApi.writeOffs.v1.get.Error>>;
|
|
26
24
|
/**
|
|
27
25
|
* Creates one or many write-offs given a specific set of allocations.
|
|
28
26
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
29
27
|
* claim, or billing provider.
|
|
30
|
-
*
|
|
31
28
|
*/
|
|
32
29
|
create(request: CandidApi.writeOffs.v1.CreateWriteOffsRequest): Promise<core.APIResponse<CandidApi.writeOffs.v1.CreateWriteOffsResponse, CandidApi.writeOffs.v1.create.Error>>;
|
|
33
30
|
/**
|
|
34
31
|
* Reverts a write off given a `write_off_id`.
|
|
35
|
-
*
|
|
36
32
|
*/
|
|
37
33
|
revert(writeOffId: CandidApi.writeOffs.v1.WriteOffId): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff, CandidApi.writeOffs.v1.revert.Error>>;
|
|
38
34
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -43,7 +43,6 @@ class V1 {
|
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Returns all write-offs satisfying the search criteria.
|
|
46
|
-
*
|
|
47
46
|
*/
|
|
48
47
|
async getMulti(request = {}) {
|
|
49
48
|
const { limit, patientExternalId, payerUuid, serviceLineId, claimId, billingProviderId, sort, sortDirection, pageToken, accountTypes, } = request;
|
|
@@ -92,7 +91,7 @@ class V1 {
|
|
|
92
91
|
Authorization: await this._getAuthorizationHeader(),
|
|
93
92
|
"X-Fern-Language": "JavaScript",
|
|
94
93
|
"X-Fern-SDK-Name": "candidhealth",
|
|
95
|
-
"X-Fern-SDK-Version": "0.17.
|
|
94
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
96
95
|
},
|
|
97
96
|
contentType: "application/json",
|
|
98
97
|
queryParameters: _queryParams,
|
|
@@ -116,7 +115,6 @@ class V1 {
|
|
|
116
115
|
}
|
|
117
116
|
/**
|
|
118
117
|
* Retrieves a previously created write off by its `write_off_id`.
|
|
119
|
-
*
|
|
120
118
|
*/
|
|
121
119
|
async get(writeOffId) {
|
|
122
120
|
const _response = await core.fetcher({
|
|
@@ -126,7 +124,7 @@ class V1 {
|
|
|
126
124
|
Authorization: await this._getAuthorizationHeader(),
|
|
127
125
|
"X-Fern-Language": "JavaScript",
|
|
128
126
|
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
-
"X-Fern-SDK-Version": "0.17.
|
|
127
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
130
128
|
},
|
|
131
129
|
contentType: "application/json",
|
|
132
130
|
timeoutMs: 60000,
|
|
@@ -151,7 +149,6 @@ class V1 {
|
|
|
151
149
|
* Creates one or many write-offs given a specific set of allocations.
|
|
152
150
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
153
151
|
* claim, or billing provider.
|
|
154
|
-
*
|
|
155
152
|
*/
|
|
156
153
|
async create(request) {
|
|
157
154
|
const _response = await core.fetcher({
|
|
@@ -161,7 +158,7 @@ class V1 {
|
|
|
161
158
|
Authorization: await this._getAuthorizationHeader(),
|
|
162
159
|
"X-Fern-Language": "JavaScript",
|
|
163
160
|
"X-Fern-SDK-Name": "candidhealth",
|
|
164
|
-
"X-Fern-SDK-Version": "0.17.
|
|
161
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
165
162
|
},
|
|
166
163
|
contentType: "application/json",
|
|
167
164
|
body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -187,7 +184,6 @@ class V1 {
|
|
|
187
184
|
}
|
|
188
185
|
/**
|
|
189
186
|
* Reverts a write off given a `write_off_id`.
|
|
190
|
-
*
|
|
191
187
|
*/
|
|
192
188
|
async revert(writeOffId) {
|
|
193
189
|
const _response = await core.fetcher({
|
|
@@ -197,7 +193,7 @@ class V1 {
|
|
|
197
193
|
Authorization: await this._getAuthorizationHeader(),
|
|
198
194
|
"X-Fern-Language": "JavaScript",
|
|
199
195
|
"X-Fern-SDK-Name": "candidhealth",
|
|
200
|
-
"X-Fern-SDK-Version": "0.17.
|
|
196
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
201
197
|
},
|
|
202
198
|
contentType: "application/json",
|
|
203
199
|
timeoutMs: 60000,
|
|
@@ -25,7 +25,6 @@ export declare class V2 {
|
|
|
25
25
|
*
|
|
26
26
|
* The bearer token expires 5 hours after it has been created. After it has expired, the client will receive an "HTTP 401
|
|
27
27
|
* Unauthorized" error, at which point the client should generate a new token. It is important that tokens be reused between requests; if the client attempts to generate a token too often, it will be rate-limited and will receive an "HTTP 429 Too Many Requests" error.
|
|
28
|
-
*
|
|
29
28
|
*/
|
|
30
29
|
getToken(request: CandidApi.auth.v2.AuthGetTokenRequest): Promise<core.APIResponse<CandidApi.auth.v2.AuthGetTokenResponse, CandidApi.auth.v2.getToken.Error>>;
|
|
31
30
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -52,7 +52,6 @@ class V2 {
|
|
|
52
52
|
*
|
|
53
53
|
* The bearer token expires 5 hours after it has been created. After it has expired, the client will receive an "HTTP 401
|
|
54
54
|
* Unauthorized" error, at which point the client should generate a new token. It is important that tokens be reused between requests; if the client attempts to generate a token too often, it will be rate-limited and will receive an "HTTP 429 Too Many Requests" error.
|
|
55
|
-
*
|
|
56
55
|
*/
|
|
57
56
|
async getToken(request) {
|
|
58
57
|
const _response = await core.fetcher({
|
|
@@ -62,7 +61,7 @@ class V2 {
|
|
|
62
61
|
Authorization: await this._getAuthorizationHeader(),
|
|
63
62
|
"X-Fern-Language": "JavaScript",
|
|
64
63
|
"X-Fern-SDK-Name": "candidhealth",
|
|
65
|
-
"X-Fern-SDK-Version": "0.17.
|
|
64
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
66
65
|
},
|
|
67
66
|
contentType: "application/json",
|
|
68
67
|
body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
|
|
@@ -48,7 +48,7 @@ class V2 {
|
|
|
48
48
|
Authorization: await this._getAuthorizationHeader(),
|
|
49
49
|
"X-Fern-Language": "JavaScript",
|
|
50
50
|
"X-Fern-SDK-Name": "candidhealth",
|
|
51
|
-
"X-Fern-SDK-Version": "0.17.
|
|
51
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -19,7 +19,6 @@ export interface BillingNote extends CandidApi.billingNotes.v2.BillingNoteBase {
|
|
|
19
19
|
/**
|
|
20
20
|
* An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
|
|
21
21
|
* For example, 2017-07-21T17:32:28Z.
|
|
22
|
-
*
|
|
23
22
|
*/
|
|
24
23
|
createdAt: Date;
|
|
25
24
|
authorAuth0Id?: string;
|
package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts
CHANGED
|
@@ -31,13 +31,11 @@ export interface ExternalClaimSubmissionCreate {
|
|
|
31
31
|
/**
|
|
32
32
|
* The Patient Control Number sent on the claim to the payer. To guarantee compatibility with all payers, this field must consist
|
|
33
33
|
* only of uppercase letters and numbers and be no more than 14 characters long.
|
|
34
|
-
*
|
|
35
34
|
*/
|
|
36
35
|
patientControlNumber: string;
|
|
37
36
|
/**
|
|
38
37
|
* A successful claim submission record will be created for each value provided.
|
|
39
38
|
* An empty list may be provided for cases where the claim originated in an external system but was never submitted to a payer.
|
|
40
|
-
*
|
|
41
39
|
*/
|
|
42
40
|
submissionRecords: CandidApi.claimSubmission.v1.ClaimSubmissionRecordCreate[];
|
|
43
41
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Code indicating the reason why a request was delayed
|
|
6
|
+
*/
|
|
7
|
+
export declare type DelayReasonCode =
|
|
8
|
+
/**
|
|
9
|
+
* Proof of Eligibility Unknown or Unavailable */
|
|
10
|
+
"1"
|
|
11
|
+
/**
|
|
12
|
+
* Litigation */
|
|
13
|
+
| "2"
|
|
14
|
+
/**
|
|
15
|
+
* Authorization Delays */
|
|
16
|
+
| "3"
|
|
17
|
+
/**
|
|
18
|
+
* Delay in Certifying Provider */
|
|
19
|
+
| "4"
|
|
20
|
+
/**
|
|
21
|
+
* Delay in Supplying Billing Forms */
|
|
22
|
+
| "5"
|
|
23
|
+
/**
|
|
24
|
+
* Delay in Delivery of Custom-made Appliances */
|
|
25
|
+
| "6"
|
|
26
|
+
/**
|
|
27
|
+
* Third Party Processing Delay */
|
|
28
|
+
| "7"
|
|
29
|
+
/**
|
|
30
|
+
* Delay in Eligibility Determination */
|
|
31
|
+
| "8"
|
|
32
|
+
/**
|
|
33
|
+
* Original Claim Rejected or Denied Due to a Reason Unrelated to the Billing Limitation Rules */
|
|
34
|
+
| "9"
|
|
35
|
+
/**
|
|
36
|
+
* Administration Delay in the Prior Approval Process */
|
|
37
|
+
| "10"
|
|
38
|
+
/**
|
|
39
|
+
* Other */
|
|
40
|
+
| "11"
|
|
41
|
+
/**
|
|
42
|
+
* Natural Disaster */
|
|
43
|
+
| "15"
|
|
44
|
+
/**
|
|
45
|
+
* Lack of Information */
|
|
46
|
+
| "16"
|
|
47
|
+
/**
|
|
48
|
+
* No response to initial request */
|
|
49
|
+
| "17";
|
|
50
|
+
export declare const DelayReasonCode: {
|
|
51
|
+
readonly C1: "1";
|
|
52
|
+
readonly C2: "2";
|
|
53
|
+
readonly C3: "3";
|
|
54
|
+
readonly C4: "4";
|
|
55
|
+
readonly C5: "5";
|
|
56
|
+
readonly C6: "6";
|
|
57
|
+
readonly C7: "7";
|
|
58
|
+
readonly C8: "8";
|
|
59
|
+
readonly C9: "9";
|
|
60
|
+
readonly C10: "10";
|
|
61
|
+
readonly C11: "11";
|
|
62
|
+
readonly C15: "15";
|
|
63
|
+
readonly C16: "16";
|
|
64
|
+
readonly C17: "17";
|
|
65
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
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.DelayReasonCode = void 0;
|
|
7
|
+
exports.DelayReasonCode = {
|
|
8
|
+
C1: "1",
|
|
9
|
+
C2: "2",
|
|
10
|
+
C3: "3",
|
|
11
|
+
C4: "4",
|
|
12
|
+
C5: "5",
|
|
13
|
+
C6: "6",
|
|
14
|
+
C7: "7",
|
|
15
|
+
C8: "8",
|
|
16
|
+
C9: "9",
|
|
17
|
+
C10: "10",
|
|
18
|
+
C11: "11",
|
|
19
|
+
C15: "15",
|
|
20
|
+
C16: "16",
|
|
21
|
+
C17: "17",
|
|
22
|
+
};
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Box 24B on the CMS-1500 claim form. Line-level place of service is not currently supported.
|
|
6
6
|
* 02 for telemedicine, 11 for in-person. Full list here:
|
|
7
7
|
* https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set
|
|
8
|
-
*
|
|
9
8
|
*/
|
|
10
9
|
export declare type FacilityTypeCode =
|
|
11
10
|
/**
|
|
@@ -99,7 +99,7 @@ export declare type InsuranceTypeCode =
|
|
|
99
99
|
* Special Low Income Medicare Beneficiary - An individual eligible for Medicare for whom Medicaid pays only Medicare premiums */
|
|
100
100
|
| "HS"
|
|
101
101
|
/**
|
|
102
|
-
* Indemnity - Gives a subscriber the choice to select any provider.
|
|
102
|
+
* Indemnity - Gives a subscriber the choice to select any provider. Payment is fixed percentage of the cost for covered care after satisfying an annual deductible */
|
|
103
103
|
| "IN"
|
|
104
104
|
/**
|
|
105
105
|
* Individual Policy */
|
|
@@ -147,12 +147,10 @@ export declare type ProcedureModifier =
|
|
|
147
147
|
* Anesthesia services performed personally by anesthesiologist */
|
|
148
148
|
| "AA"
|
|
149
149
|
/**
|
|
150
|
-
* Audiology service furnished personally by an audiologist without a physician/npp order for non-acute hearing assessment ...
|
|
151
|
-
* */
|
|
150
|
+
* Audiology service furnished personally by an audiologist without a physician/npp order for non-acute hearing assessment ... */
|
|
152
151
|
| "AB"
|
|
153
152
|
/**
|
|
154
|
-
* Medical supervision by a physician: more than four concurrent anesthesia procedures
|
|
155
|
-
* */
|
|
153
|
+
* Medical supervision by a physician: more than four concurrent anesthesia procedures */
|
|
156
154
|
| "AD"
|
|
157
155
|
/**
|
|
158
156
|
* Registered dietician */
|
|
@@ -902,15 +900,13 @@ export declare type ProcedureModifier =
|
|
|
902
900
|
* CLIA waived */
|
|
903
901
|
| "QW"
|
|
904
902
|
/**
|
|
905
|
-
* CRNA service: with medical direction by a physician
|
|
906
|
-
* */
|
|
903
|
+
* CRNA service: with medical direction by a physician */
|
|
907
904
|
| "QX"
|
|
908
905
|
/**
|
|
909
906
|
* Medical direction of one certified registered nurse anesthetist (CRNA) by an anesthesiologist */
|
|
910
907
|
| "QY"
|
|
911
908
|
/**
|
|
912
|
-
* CRNA service: without medical direction by a physician
|
|
913
|
-
* */
|
|
909
|
+
* CRNA service: without medical direction by a physician */
|
|
914
910
|
| "QZ"
|
|
915
911
|
/**
|
|
916
912
|
* Replacement of a DME, orthotic or prosthetic item */
|
|
@@ -64,3 +64,4 @@ __exportStar(require("./OrganizationNotAuthorizedErrorMessage"), exports);
|
|
|
64
64
|
__exportStar(require("./PhoneNumber"), exports);
|
|
65
65
|
__exportStar(require("./PhoneNumberType"), exports);
|
|
66
66
|
__exportStar(require("./Email"), exports);
|
|
67
|
+
__exportStar(require("./DelayReasonCode"), exports);
|
|
@@ -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.17.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -136,7 +136,7 @@ class V2 {
|
|
|
136
136
|
Authorization: await this._getAuthorizationHeader(),
|
|
137
137
|
"X-Fern-Language": "JavaScript",
|
|
138
138
|
"X-Fern-SDK-Name": "candidhealth",
|
|
139
|
-
"X-Fern-SDK-Version": "0.17.
|
|
139
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
140
140
|
},
|
|
141
141
|
contentType: "application/json",
|
|
142
142
|
queryParameters: _queryParams,
|
|
@@ -169,7 +169,7 @@ class V2 {
|
|
|
169
169
|
Authorization: await this._getAuthorizationHeader(),
|
|
170
170
|
"X-Fern-Language": "JavaScript",
|
|
171
171
|
"X-Fern-SDK-Name": "candidhealth",
|
|
172
|
-
"X-Fern-SDK-Version": "0.17.
|
|
172
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
173
173
|
},
|
|
174
174
|
contentType: "application/json",
|
|
175
175
|
body: await serializers.contracts.v2.ContractCreate.jsonOrThrow(request, {
|
|
@@ -201,7 +201,7 @@ class V2 {
|
|
|
201
201
|
Authorization: await this._getAuthorizationHeader(),
|
|
202
202
|
"X-Fern-Language": "JavaScript",
|
|
203
203
|
"X-Fern-SDK-Name": "candidhealth",
|
|
204
|
-
"X-Fern-SDK-Version": "0.17.
|
|
204
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
205
205
|
},
|
|
206
206
|
contentType: "application/json",
|
|
207
207
|
timeoutMs: 60000,
|
|
@@ -239,7 +239,7 @@ class V2 {
|
|
|
239
239
|
Authorization: await this._getAuthorizationHeader(),
|
|
240
240
|
"X-Fern-Language": "JavaScript",
|
|
241
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
242
|
-
"X-Fern-SDK-Version": "0.17.
|
|
242
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
243
243
|
},
|
|
244
244
|
contentType: "application/json",
|
|
245
245
|
body: await serializers.contracts.v2.ContractUpdate.jsonOrThrow(request, {
|
|
@@ -10,24 +10,14 @@ export interface ContractBase {
|
|
|
10
10
|
/**
|
|
11
11
|
* The state(s) to which the contract's coverage extends.
|
|
12
12
|
* It may also be set to "national" for the entirety of the US.
|
|
13
|
-
*
|
|
14
13
|
*/
|
|
15
14
|
regions: CandidApi.Regions;
|
|
16
15
|
contractStatus?: CandidApi.contracts.v2.ContractStatus;
|
|
17
16
|
authorizedSignatory?: CandidApi.contracts.v2.AuthorizedSignatory;
|
|
18
|
-
/**
|
|
19
|
-
* The commercial plan insurance types this contract applies.
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
17
|
+
/** The commercial plan insurance types this contract applies. */
|
|
22
18
|
commercialInsuranceTypes: CandidApi.contracts.v2.InsuranceTypes;
|
|
23
|
-
/**
|
|
24
|
-
* The Medicare plan insurance types this contract applies.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
19
|
+
/** The Medicare plan insurance types this contract applies. */
|
|
27
20
|
medicareInsuranceTypes: CandidApi.contracts.v2.InsuranceTypes;
|
|
28
|
-
/**
|
|
29
|
-
* The Medicaid plan insurance types this contract applies.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
21
|
+
/** The Medicaid plan insurance types this contract applies. */
|
|
32
22
|
medicaidInsuranceTypes: CandidApi.contracts.v2.InsuranceTypes;
|
|
33
23
|
}
|
|
@@ -3,17 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare type ContractStatus =
|
|
5
5
|
/**
|
|
6
|
-
* Contract is still in the works and has not been signed and counter-signed yet
|
|
7
|
-
* */
|
|
6
|
+
* Contract is still in the works and has not been signed and counter-signed yet */
|
|
8
7
|
"pending"
|
|
9
8
|
/**
|
|
10
9
|
* Contract is active and in effect (claims will need to
|
|
11
|
-
* be submitted under effective contracts)
|
|
12
|
-
* */
|
|
10
|
+
* be submitted under effective contracts) */
|
|
13
11
|
| "effective"
|
|
14
12
|
/**
|
|
15
|
-
* Contract is no longer effective but kept around for historical documentation
|
|
16
|
-
* */
|
|
13
|
+
* Contract is no longer effective but kept around for historical documentation */
|
|
17
14
|
| "cancelled";
|
|
18
15
|
export declare const ContractStatus: {
|
|
19
16
|
readonly Pending: "pending";
|
|
@@ -5,21 +5,18 @@ import * as CandidApi from "../../..";
|
|
|
5
5
|
export interface DiagnosisCreate {
|
|
6
6
|
/** Empty string not allowed. */
|
|
7
7
|
name?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Typically, providers submitting claims to Candid are using ICD-10 diagnosis codes. If you are using ICD-10 codes, the primary diagnosis code listed on the claim should use the ABK code_type. If more than one diagnosis is being submitted on a claim, please use ABF for the rest of the listed diagnoses. If you are using ICD-9 diagnosis codes, use BK and BF for the principal and following diagnosis code(s) respectively.
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
8
|
+
/** Typically, providers submitting claims to Candid are using ICD-10 diagnosis codes. If you are using ICD-10 codes, the primary diagnosis code listed on the claim should use the ABK code_type. If more than one diagnosis is being submitted on a claim, please use ABF for the rest of the listed diagnoses. If you are using ICD-9 diagnosis codes, use BK and BF for the principal and following diagnosis code(s) respectively. */
|
|
12
9
|
codeType: CandidApi.DiagnosisTypeCode;
|
|
13
10
|
/**
|
|
14
11
|
* Empty string not allowed.
|
|
15
12
|
* Should be of the appropriate format for the provided `code_type`.
|
|
16
13
|
* Must obey the ICD-10 format if an ICD-10 code_type is provided, specifically:
|
|
17
|
-
* - Letter
|
|
18
|
-
* - Digit
|
|
19
|
-
* - Digit or the letter `A` or `B`
|
|
20
|
-
* - (Optional) Period `.`
|
|
21
|
-
* - Up to 4 (or as few as 0) letters and digits
|
|
22
14
|
*
|
|
15
|
+
* - Letter
|
|
16
|
+
* - Digit
|
|
17
|
+
* - Digit or the letter `A` or `B`
|
|
18
|
+
* - (Optional) Period `.`
|
|
19
|
+
* - Up to 4 (or as few as 0) letters and digits
|
|
23
20
|
*/
|
|
24
21
|
code: string;
|
|
25
22
|
}
|
|
@@ -28,18 +28,19 @@ export declare class V2 {
|
|
|
28
28
|
* - [Change Healthcare - Guides: Using Test Payers in the Sandbox](https://developers.changehealthcare.com/eligibilityandclaims/docs/use-the-test-payers-in-the-sandbox-api)
|
|
29
29
|
*
|
|
30
30
|
* A schema of the response object can be found here: [Change Healthcare Docs](https://developers.changehealthcare.com/eligibilityandclaims/reference/medicaleligibility)
|
|
31
|
-
*
|
|
32
31
|
*/
|
|
33
32
|
submitEligibilityCheck(request?: unknown): Promise<core.APIResponse<unknown, CandidApi.eligibility.v2.submitEligibilityCheck.Error>>;
|
|
34
33
|
/**
|
|
34
|
+
* If you'd like access to this endpoint, please reach out to support@joincandidhealth.com with the subject line "Action: Activate Availity Eligibility API Endpoint
|
|
35
|
+
*
|
|
35
36
|
* This API is a wrapper around Availity's coverages API. Below are some helpful documentation links:
|
|
36
37
|
*
|
|
37
38
|
* - [Availity - Coverages 1.0.0 API](https://developer.availity.com/partner/documentation#c_coverages_references)
|
|
38
39
|
* - [Candid Availity Eligibility Integration Guide](https://support.joincandidhealth.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
|
|
39
40
|
*
|
|
40
41
|
* A schema of the response object can be found here: [Availity Docs](https://developer.availity.com/partner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages/get)
|
|
41
|
-
* * Note Availity requires a free developer account to access this documentation.
|
|
42
42
|
*
|
|
43
|
+
* - Note Availity requires a free developer account to access this documentation.
|
|
43
44
|
*/
|
|
44
45
|
submitEligibilityCheckAvaility(): Promise<core.APIResponse<unknown, CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error>>;
|
|
45
46
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -55,7 +55,6 @@ class V2 {
|
|
|
55
55
|
* - [Change Healthcare - Guides: Using Test Payers in the Sandbox](https://developers.changehealthcare.com/eligibilityandclaims/docs/use-the-test-payers-in-the-sandbox-api)
|
|
56
56
|
*
|
|
57
57
|
* A schema of the response object can be found here: [Change Healthcare Docs](https://developers.changehealthcare.com/eligibilityandclaims/reference/medicaleligibility)
|
|
58
|
-
*
|
|
59
58
|
*/
|
|
60
59
|
async submitEligibilityCheck(request) {
|
|
61
60
|
const _response = await core.fetcher({
|
|
@@ -65,7 +64,7 @@ class V2 {
|
|
|
65
64
|
Authorization: await this._getAuthorizationHeader(),
|
|
66
65
|
"X-Fern-Language": "JavaScript",
|
|
67
66
|
"X-Fern-SDK-Name": "candidhealth",
|
|
68
|
-
"X-Fern-SDK-Version": "0.17.
|
|
67
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
69
68
|
},
|
|
70
69
|
contentType: "application/json",
|
|
71
70
|
body: request,
|
|
@@ -97,14 +96,16 @@ class V2 {
|
|
|
97
96
|
};
|
|
98
97
|
}
|
|
99
98
|
/**
|
|
99
|
+
* If you'd like access to this endpoint, please reach out to support@joincandidhealth.com with the subject line "Action: Activate Availity Eligibility API Endpoint
|
|
100
|
+
*
|
|
100
101
|
* This API is a wrapper around Availity's coverages API. Below are some helpful documentation links:
|
|
101
102
|
*
|
|
102
103
|
* - [Availity - Coverages 1.0.0 API](https://developer.availity.com/partner/documentation#c_coverages_references)
|
|
103
104
|
* - [Candid Availity Eligibility Integration Guide](https://support.joincandidhealth.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
|
|
104
105
|
*
|
|
105
106
|
* A schema of the response object can be found here: [Availity Docs](https://developer.availity.com/partner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages/get)
|
|
106
|
-
* * Note Availity requires a free developer account to access this documentation.
|
|
107
107
|
*
|
|
108
|
+
* - Note Availity requires a free developer account to access this documentation.
|
|
108
109
|
*/
|
|
109
110
|
async submitEligibilityCheckAvaility() {
|
|
110
111
|
const _response = await core.fetcher({
|
|
@@ -114,7 +115,7 @@ class V2 {
|
|
|
114
115
|
Authorization: await this._getAuthorizationHeader(),
|
|
115
116
|
"X-Fern-Language": "JavaScript",
|
|
116
117
|
"X-Fern-SDK-Name": "candidhealth",
|
|
117
|
-
"X-Fern-SDK-Version": "0.17.
|
|
118
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
118
119
|
},
|
|
119
120
|
contentType: "application/json",
|
|
120
121
|
timeoutMs: 60000,
|
|
@@ -11,14 +11,10 @@ import * as CandidApi from "../../../../..";
|
|
|
11
11
|
* tax ID (TIN) that the provider gave to the payer during contracting.
|
|
12
12
|
* In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID.
|
|
13
13
|
* Box 33 on the CMS-1500 claim form.
|
|
14
|
-
*
|
|
15
14
|
*/
|
|
16
15
|
export interface BillingProvider extends CandidApi.encounterProviders.v2.EncounterProviderBase {
|
|
17
16
|
address: CandidApi.StreetAddressLongZip;
|
|
18
|
-
/**
|
|
19
|
-
* 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.
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
17
|
+
/** 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. */
|
|
22
18
|
taxId: string;
|
|
23
19
|
npi: string;
|
|
24
20
|
taxonomyCode?: string;
|
|
@@ -2,19 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface EncounterProviderBase {
|
|
5
|
-
/**
|
|
6
|
-
* If the provider is an individual, this should be set instead of organization name
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
5
|
+
/** If the provider is an individual, this should be set instead of organization name */
|
|
9
6
|
firstName?: string;
|
|
10
|
-
/**
|
|
11
|
-
* If the provider is an individual, this should be set instead of organization name
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
7
|
+
/** If the provider is an individual, this should be set instead of organization name */
|
|
14
8
|
lastName?: string;
|
|
15
|
-
/**
|
|
16
|
-
* If the provider is an organization, this should be set instead of first + last name
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
9
|
+
/** If the provider is an organization, this should be set instead of first + last name */
|
|
19
10
|
organizationName?: string;
|
|
20
11
|
}
|
|
@@ -6,7 +6,6 @@ export interface ReferringProvider extends CandidApi.encounterProviders.v2.Encou
|
|
|
6
6
|
/**
|
|
7
7
|
* A National Provider Identifier is a unique 10-digit identification
|
|
8
8
|
* number issued to health care providers in the United States
|
|
9
|
-
*
|
|
10
9
|
*/
|
|
11
10
|
npi: string;
|
|
12
11
|
taxonomyCode?: string;
|
|
@@ -7,7 +7,6 @@ export interface RenderingProvider extends CandidApi.encounterProviders.v2.Encou
|
|
|
7
7
|
/**
|
|
8
8
|
* A National Provider Identifier is a unique 10-digit identification
|
|
9
9
|
* number issued to health care providers in the United States
|
|
10
|
-
*
|
|
11
10
|
*/
|
|
12
11
|
npi: string;
|
|
13
12
|
taxonomyCode?: string;
|
|
@@ -103,7 +103,7 @@ class V4 {
|
|
|
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.17.
|
|
106
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
queryParameters: _queryParams,
|
|
@@ -133,7 +133,7 @@ class V4 {
|
|
|
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.17.
|
|
136
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
137
137
|
},
|
|
138
138
|
contentType: "application/json",
|
|
139
139
|
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.17.
|
|
165
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
|
|
@@ -213,7 +213,7 @@ class V4 {
|
|
|
213
213
|
Authorization: await this._getAuthorizationHeader(),
|
|
214
214
|
"X-Fern-Language": "JavaScript",
|
|
215
215
|
"X-Fern-SDK-Name": "candidhealth",
|
|
216
|
-
"X-Fern-SDK-Version": "0.17.
|
|
216
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
217
217
|
},
|
|
218
218
|
contentType: "application/json",
|
|
219
219
|
body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
|