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
|
@@ -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.
|
|
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.
|
|
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;
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,8 +28,20 @@ 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>>;
|
|
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
|
+
*
|
|
36
|
+
* This API is a wrapper around Availity's coverages API. Below are some helpful documentation links:
|
|
37
|
+
*
|
|
38
|
+
* - [Availity - Coverages 1.0.0 API](https://developer.availity.com/partner/documentation#c_coverages_references)
|
|
39
|
+
* - [Candid Availity Eligibility Integration Guide](https://support.joincandidhealth.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
|
|
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)
|
|
42
|
+
*
|
|
43
|
+
* - Note Availity requires a free developer account to access this documentation.
|
|
44
|
+
*/
|
|
45
|
+
submitEligibilityCheckAvaility(): Promise<core.APIResponse<unknown, CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error>>;
|
|
34
46
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
35
47
|
}
|
|
@@ -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.
|
|
67
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
69
68
|
},
|
|
70
69
|
contentType: "application/json",
|
|
71
70
|
body: request,
|
|
@@ -96,6 +95,42 @@ class V2 {
|
|
|
96
95
|
error: CandidApi.eligibility.v2.submitEligibilityCheck.Error._unknown(_response.error),
|
|
97
96
|
};
|
|
98
97
|
}
|
|
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
|
+
*
|
|
101
|
+
* This API is a wrapper around Availity's coverages API. Below are some helpful documentation links:
|
|
102
|
+
*
|
|
103
|
+
* - [Availity - Coverages 1.0.0 API](https://developer.availity.com/partner/documentation#c_coverages_references)
|
|
104
|
+
* - [Candid Availity Eligibility Integration Guide](https://support.joincandidhealth.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
|
|
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)
|
|
107
|
+
*
|
|
108
|
+
* - Note Availity requires a free developer account to access this documentation.
|
|
109
|
+
*/
|
|
110
|
+
async submitEligibilityCheckAvaility() {
|
|
111
|
+
const _response = await core.fetcher({
|
|
112
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/eligibility/v2/availity"),
|
|
113
|
+
method: "GET",
|
|
114
|
+
headers: {
|
|
115
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
116
|
+
"X-Fern-Language": "JavaScript",
|
|
117
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
119
|
+
},
|
|
120
|
+
contentType: "application/json",
|
|
121
|
+
timeoutMs: 60000,
|
|
122
|
+
});
|
|
123
|
+
if (_response.ok) {
|
|
124
|
+
return {
|
|
125
|
+
ok: true,
|
|
126
|
+
body: _response.body,
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
return {
|
|
130
|
+
ok: false,
|
|
131
|
+
error: CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error._unknown(_response.error),
|
|
132
|
+
};
|
|
133
|
+
}
|
|
99
134
|
async _getAuthorizationHeader() {
|
|
100
135
|
const bearer = await core.Supplier.get(this.options.token);
|
|
101
136
|
if (bearer != null) {
|
|
@@ -23,5 +23,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.submitEligibilityCheck = void 0;
|
|
26
|
+
exports.submitEligibilityCheckAvaility = exports.submitEligibilityCheck = void 0;
|
|
27
27
|
exports.submitEligibilityCheck = __importStar(require("./submitEligibilityCheck"));
|
|
28
|
+
exports.submitEligibilityCheckAvaility = __importStar(require("./submitEligibilityCheckAvaility"));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error, visitor: CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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, {
|
|
@@ -122,4 +122,10 @@ export interface EncounterUpdate {
|
|
|
122
122
|
*
|
|
123
123
|
*/
|
|
124
124
|
lastMenstrualPeriodDate?: CandidApi.Date_;
|
|
125
|
+
/**
|
|
126
|
+
* 837i Loop2300, CLM-1300 Box 20
|
|
127
|
+
* Code indicating the reason why a request was delayed
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
delayReasonCode?: CandidApi.DelayReasonCode;
|
|
125
131
|
}
|