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
|
@@ -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;
|
|
@@ -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, {
|
|
@@ -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
|
}
|
|
@@ -18,12 +18,10 @@ export interface GetAllEncountersRequest {
|
|
|
18
18
|
pageToken?: CandidApi.PageToken;
|
|
19
19
|
/**
|
|
20
20
|
* Date formatted as YYYY-MM-DD; eg: 2019-08-25.
|
|
21
|
-
*
|
|
22
21
|
*/
|
|
23
22
|
dateOfServiceMin?: CandidApi.Date_;
|
|
24
23
|
/**
|
|
25
24
|
* Date formatted as YYYY-MM-DD; eg: 2019-08-25.
|
|
26
|
-
*
|
|
27
25
|
*/
|
|
28
26
|
dateOfServiceMax?: CandidApi.Date_;
|
|
29
27
|
/**
|
|
@@ -34,7 +32,6 @@ export interface GetAllEncountersRequest {
|
|
|
34
32
|
* Filter by any of the following fields: encounter_id, claim_id, patient external_id,
|
|
35
33
|
* patient date of birth, patient first name, patient last name,
|
|
36
34
|
* or encounter external id.
|
|
37
|
-
*
|
|
38
35
|
*/
|
|
39
36
|
searchTerm?: string;
|
|
40
37
|
/**
|
|
@@ -43,7 +40,6 @@ export interface GetAllEncountersRequest {
|
|
|
43
40
|
externalId?: CandidApi.EncounterExternalId;
|
|
44
41
|
/**
|
|
45
42
|
* ISO 8601 timestamp; ideally in UTC (although not required): 2019-08-24T14:15:22Z.
|
|
46
|
-
*
|
|
47
43
|
*/
|
|
48
44
|
diagnosesUpdatedSince?: Date;
|
|
49
45
|
/**
|
|
@@ -53,12 +49,10 @@ export interface GetAllEncountersRequest {
|
|
|
53
49
|
workQueueId?: CandidApi.WorkQueueId;
|
|
54
50
|
/**
|
|
55
51
|
* Defines if the Encounter is to be billed by Candid to the responsible_party. Examples for when this should be set to NOT_BILLABLE include if the Encounter has not occurred yet or if there is no intention of ever billing the responsible_party.
|
|
56
|
-
*
|
|
57
52
|
*/
|
|
58
53
|
billableStatus?: CandidApi.encounters.v4.BillableStatusType;
|
|
59
54
|
/**
|
|
60
55
|
* Defines the party to be billed with the initial balance owed on the claim. Use SELF_PAY if you intend to bill self pay/cash pay.
|
|
61
|
-
*
|
|
62
56
|
*/
|
|
63
57
|
responsibleParty?: CandidApi.encounters.v4.ResponsiblePartyType;
|
|
64
58
|
/**
|
|
@@ -378,64 +378,43 @@ import * as CandidApi from "../../../../..";
|
|
|
378
378
|
export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
|
|
379
379
|
encounterId: CandidApi.EncounterId;
|
|
380
380
|
claims: CandidApi.Claim[];
|
|
381
|
-
/**
|
|
382
|
-
* Contains the identification information of the individual receiving medical services.
|
|
383
|
-
*
|
|
384
|
-
*/
|
|
381
|
+
/** Contains the identification information of the individual receiving medical services. */
|
|
385
382
|
patient: CandidApi.Patient;
|
|
386
383
|
/** Personal and contact info for the guarantor of the patient responsibility. */
|
|
387
384
|
guarantor?: CandidApi.guarantor.v1.Guarantor;
|
|
388
|
-
/**
|
|
389
|
-
* The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form.
|
|
390
|
-
*
|
|
391
|
-
*/
|
|
385
|
+
/** The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form. */
|
|
392
386
|
billingProvider: CandidApi.encounterProviders.v2.EncounterProvider;
|
|
393
387
|
/**
|
|
394
388
|
* The rendering provider is the practitioner -- physician, nurse practitioner, etc. -- performing the service.
|
|
395
389
|
* For telehealth services, the rendering provider performs the visit, asynchronous communication, or other service. The rendering provider address should generally be the same as the service facility address.
|
|
396
|
-
*
|
|
397
390
|
*/
|
|
398
391
|
renderingProvider: CandidApi.encounterProviders.v2.EncounterProvider;
|
|
399
392
|
referringProvider?: CandidApi.encounterProviders.v2.EncounterProvider;
|
|
400
|
-
/**
|
|
401
|
-
* Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process.
|
|
402
|
-
*
|
|
403
|
-
*/
|
|
393
|
+
/** Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process. */
|
|
404
394
|
serviceFacility: CandidApi.EncounterServiceFacility;
|
|
405
395
|
/**
|
|
406
396
|
* Subscriber_primary is required when responsible_party is INSURANCE_PAY (i.e. when the claim should be billed to insurance).
|
|
407
397
|
* These are not required fields when responsible_party is SELF_PAY (i.e. when the claim should be billed to the patient).
|
|
408
398
|
* However, if you collect this for patients, even self-pay, we recommend including it when sending encounters to Candid.
|
|
409
399
|
* Note: Cash Pay is no longer a valid payer_id in v4, please use responsible party to define self-pay claims.
|
|
410
|
-
*
|
|
411
400
|
*/
|
|
412
401
|
subscriberPrimary?: CandidApi.Subscriber;
|
|
413
402
|
/** Contains details of the secondary insurance subscriber. */
|
|
414
403
|
subscriberSecondary?: CandidApi.Subscriber;
|
|
415
404
|
/** URL that links directly to the claim created in Candid. */
|
|
416
405
|
url: CandidApi.LinkUrl;
|
|
417
|
-
/**
|
|
418
|
-
* Ideally, this field should contain no more than 12 diagnoses. However, more diagnoses may be submitted at this time, and coders will later prioritize the 12 that will be submitted to the payor.
|
|
419
|
-
*
|
|
420
|
-
*/
|
|
406
|
+
/** Ideally, this field should contain no more than 12 diagnoses. However, more diagnoses may be submitted at this time, and coders will later prioritize the 12 that will be submitted to the payor. */
|
|
421
407
|
diagnoses: CandidApi.Diagnosis[];
|
|
422
408
|
/** Holds a collection of clinical observations made by healthcare providers during patient encounters. */
|
|
423
409
|
clinicalNotes: CandidApi.encounters.v4.ClinicalNoteCategory[];
|
|
424
410
|
/**
|
|
425
411
|
* Spot to store misc, human-readable, notes about this encounter to be
|
|
426
412
|
* used in the billing process.
|
|
427
|
-
*
|
|
428
413
|
*/
|
|
429
414
|
billingNotes?: CandidApi.billingNotes.v2.BillingNote[];
|
|
430
|
-
/**
|
|
431
|
-
* Box 24B on the CMS-1500 claim form. Line-level place of service is not currently supported. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
|
|
432
|
-
*
|
|
433
|
-
*/
|
|
415
|
+
/** Box 24B on the CMS-1500 claim form. Line-level place of service is not currently supported. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
|
|
434
416
|
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
435
|
-
/**
|
|
436
|
-
* Box 24B on the CMS-1500 claim form. Line-level place of service is not currently supported. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
|
|
437
|
-
*
|
|
438
|
-
*/
|
|
417
|
+
/** Box 24B on the CMS-1500 claim form. Line-level place of service is not currently supported. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
|
|
439
418
|
placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
|
|
440
419
|
patientHistories: CandidApi.encounters.v4.PatientHistoryCategory[];
|
|
441
420
|
patientPayments: CandidApi.patientPayments.v3.PatientPayment[];
|
|
@@ -450,7 +429,6 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
|
|
|
450
429
|
* The party who originally submitted the Claim.
|
|
451
430
|
* For Claims originating in Candid, this will be EncounterSubmissionOriginType.CANDID.
|
|
452
431
|
* For Encounters created with an external_claim_submission object, this will be EncounterSubmissionOriginType.EXTERNAL.
|
|
453
|
-
*
|
|
454
432
|
*/
|
|
455
433
|
submissionOrigin: CandidApi.encounters.v4.EncounterSubmissionOriginType;
|
|
456
434
|
}
|