candidhealth 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/auth/resources/v2/types/AuthGetTokenRequest.d.ts +7 -0
- package/api/resources/auth/resources/v2/types/AuthGetTokenResponse.d.ts +8 -0
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +11 -0
- package/api/resources/claims/types/Claim.d.ts +76 -0
- package/api/resources/commons/types/Email.d.ts +4 -0
- package/api/resources/commons/types/PageToken.d.ts +4 -0
- package/api/resources/commons/types/PhoneNumber.d.ts +7 -0
- package/api/resources/commons/types/StreetAddressLongZip.d.ts +11 -0
- package/api/resources/commons/types/StreetAddressShortZip.d.ts +11 -0
- package/api/resources/diagnoses/types/Diagnosis.d.ts +12 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +20 -0
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/encounters/resources/v4/types/ClinicalNoteCategory.d.ts +13 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +368 -0
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +370 -0
- package/api/resources/encounters/resources/v4/types/IntakeFollowUp.d.ts +8 -0
- package/api/resources/encounters/resources/v4/types/IntakeQuestion.d.ts +15 -0
- package/api/resources/encounters/resources/v4/types/IntakeResponseAndFollowUps.d.ts +11 -0
- package/api/resources/encounters/resources/v4/types/Intervention.d.ts +21 -0
- package/api/resources/encounters/resources/v4/types/Lab.d.ts +8 -0
- package/api/resources/encounters/resources/v4/types/Medication.d.ts +11 -0
- package/api/resources/encounters/resources/v4/types/PatientHistoryCategory.d.ts +18 -0
- package/api/resources/encounters/resources/v4/types/Vitals.d.ts +10 -0
- package/api/resources/era/types/Era.d.ts +8 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +9 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +25 -0
- package/api/resources/identifiers/types/Identifier.d.ts +12 -0
- package/api/resources/individual/types/Patient.d.ts +26 -0
- package/api/resources/individual/types/Subscriber.d.ts +33 -0
- package/api/resources/insuranceCard/types/InsuranceCard.d.ts +17 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts +29 -0
- package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +27 -0
- package/api/resources/patientPayments/resources/v3/types/PatientPayment.d.ts +17 -0
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/payers/resources/v3/types/Payer.d.ts +8 -0
- package/api/resources/payers/resources/v3/types/PayerPage.d.ts +10 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +15 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +64 -0
- package/api/resources/tags/types/Tag.d.ts +9 -0
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/auth/resources/v2/types/AuthGetTokenRequest.d.ts +7 -0
- package/dist/api/resources/auth/resources/v2/types/AuthGetTokenResponse.d.ts +8 -0
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +11 -0
- package/dist/api/resources/claims/types/Claim.d.ts +76 -0
- package/dist/api/resources/commons/types/Email.d.ts +4 -0
- package/dist/api/resources/commons/types/PageToken.d.ts +4 -0
- package/dist/api/resources/commons/types/PhoneNumber.d.ts +7 -0
- package/dist/api/resources/commons/types/StreetAddressLongZip.d.ts +11 -0
- package/dist/api/resources/commons/types/StreetAddressShortZip.d.ts +11 -0
- package/dist/api/resources/diagnoses/types/Diagnosis.d.ts +12 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +20 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategory.d.ts +13 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +368 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +370 -0
- package/dist/api/resources/encounters/resources/v4/types/IntakeFollowUp.d.ts +8 -0
- package/dist/api/resources/encounters/resources/v4/types/IntakeQuestion.d.ts +15 -0
- package/dist/api/resources/encounters/resources/v4/types/IntakeResponseAndFollowUps.d.ts +11 -0
- package/dist/api/resources/encounters/resources/v4/types/Intervention.d.ts +21 -0
- package/dist/api/resources/encounters/resources/v4/types/Lab.d.ts +8 -0
- package/dist/api/resources/encounters/resources/v4/types/Medication.d.ts +11 -0
- package/dist/api/resources/encounters/resources/v4/types/PatientHistoryCategory.d.ts +18 -0
- package/dist/api/resources/encounters/resources/v4/types/Vitals.d.ts +10 -0
- package/dist/api/resources/era/types/Era.d.ts +8 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +9 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +25 -0
- package/dist/api/resources/identifiers/types/Identifier.d.ts +12 -0
- package/dist/api/resources/individual/types/Patient.d.ts +26 -0
- package/dist/api/resources/individual/types/Subscriber.d.ts +33 -0
- package/dist/api/resources/insuranceCard/types/InsuranceCard.d.ts +17 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts +29 -0
- package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +27 -0
- package/dist/api/resources/patientPayments/resources/v3/types/PatientPayment.d.ts +17 -0
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/payers/resources/v3/types/Payer.d.ts +8 -0
- package/dist/api/resources/payers/resources/v3/types/PayerPage.d.ts +10 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +15 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +64 -0
- package/dist/api/resources/tags/types/Tag.d.ts +9 -0
- package/package.json +1 -1
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* identifierId: CandidApi.IdentifierId("123e4567-e89b-12d3-a456-426614174000"),
|
|
9
|
+
* identifierCode: CandidApi.IdentifierCode.Mcr,
|
|
10
|
+
* identifierValue: {
|
|
11
|
+
* type: "medicare_provider_identifier",
|
|
12
|
+
* state: CandidApi.State.Ca,
|
|
13
|
+
* providerNumber: "1234567890"
|
|
14
|
+
* }
|
|
15
|
+
* }
|
|
16
|
+
*/
|
|
5
17
|
export interface Identifier extends CandidApi.IdentifierBase {
|
|
6
18
|
identifierId: CandidApi.IdentifierId;
|
|
7
19
|
}
|
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* individualId: CandidApi.IndividualId("93DDBEBF-4956-4482-9A6C-21499B7E4E5D"),
|
|
9
|
+
* phoneNumbers: [{
|
|
10
|
+
* number: "1234567890",
|
|
11
|
+
* type: CandidApi.PhoneNumberType.Home
|
|
12
|
+
* }],
|
|
13
|
+
* phoneConsent: true,
|
|
14
|
+
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
15
|
+
* emailConsent: true,
|
|
16
|
+
* externalId: "49460F77-6456-41F1-AC6D-0AED08614D39",
|
|
17
|
+
* dateOfBirth: CandidApi.Date_("2000-01-01"),
|
|
18
|
+
* address: {
|
|
19
|
+
* address1: "123 Main St",
|
|
20
|
+
* address2: "Apt 1",
|
|
21
|
+
* city: "New York",
|
|
22
|
+
* state: CandidApi.State.Ny,
|
|
23
|
+
* zipCode: "10001",
|
|
24
|
+
* zipPlusFourCode: "1234"
|
|
25
|
+
* },
|
|
26
|
+
* firstName: "John",
|
|
27
|
+
* lastName: "Doe",
|
|
28
|
+
* gender: CandidApi.Gender.Male
|
|
29
|
+
* }
|
|
30
|
+
*/
|
|
5
31
|
export interface Patient extends CandidApi.PatientBase {
|
|
6
32
|
individualId: CandidApi.IndividualId;
|
|
7
33
|
phoneNumbers: CandidApi.PhoneNumber[];
|
|
@@ -2,6 +2,39 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* individualId: CandidApi.IndividualId("797348A9-E7E8-4E59-8628-95390D079C0B"),
|
|
9
|
+
* insuranceCard: {
|
|
10
|
+
* insuranceCardId: CandidApi.InsuranceCardId("CA5B7711-4419-4161-9B7C-3494AC40C8D4"),
|
|
11
|
+
* memberId: "E85313B4-0FFC-4119-8042-8161A4ECFF0A",
|
|
12
|
+
* payerName: "John Doe",
|
|
13
|
+
* payerId: "836DDAA6-863F-4020-ACCA-205A689F0002",
|
|
14
|
+
* rxBin: "610014",
|
|
15
|
+
* rxPcn: "MEDDPRIME",
|
|
16
|
+
* imageUrlFront: "https://s3.amazonaws.com/front.jpg",
|
|
17
|
+
* imageUrlBack: "https://s3.amazonaws.com/back.jpg",
|
|
18
|
+
* groupNumber: "ABC12345",
|
|
19
|
+
* planName: "Silver PPO Plan",
|
|
20
|
+
* planType: CandidApi.SourceOfPaymentCode.SelfPay,
|
|
21
|
+
* insuranceType: CandidApi.InsuranceTypeCode.C01
|
|
22
|
+
* },
|
|
23
|
+
* patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
|
|
24
|
+
* dateOfBirth: CandidApi.Date_("2000-01-01"),
|
|
25
|
+
* address: {
|
|
26
|
+
* address1: "123 Main St",
|
|
27
|
+
* address2: "Apt 1",
|
|
28
|
+
* city: "New York",
|
|
29
|
+
* state: CandidApi.State.Ny,
|
|
30
|
+
* zipCode: "10001",
|
|
31
|
+
* zipPlusFourCode: "1234"
|
|
32
|
+
* },
|
|
33
|
+
* firstName: "John",
|
|
34
|
+
* lastName: "Doe",
|
|
35
|
+
* gender: CandidApi.Gender.Male
|
|
36
|
+
* }
|
|
37
|
+
*/
|
|
5
38
|
export interface Subscriber extends CandidApi.SubscriberBase {
|
|
6
39
|
individualId: CandidApi.IndividualId;
|
|
7
40
|
insuranceCard: CandidApi.InsuranceCard;
|
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* insuranceCardId: CandidApi.InsuranceCardId("CA5B7711-4419-4161-9B7C-3494AC40C8D4"),
|
|
9
|
+
* memberId: "E85313B4-0FFC-4119-8042-8161A4ECFF0A",
|
|
10
|
+
* payerName: "John Doe",
|
|
11
|
+
* payerId: "836DDAA6-863F-4020-ACCA-205A689F0002",
|
|
12
|
+
* rxBin: "610014",
|
|
13
|
+
* rxPcn: "MEDDPRIME",
|
|
14
|
+
* imageUrlFront: "https://s3.amazonaws.com/front.jpg",
|
|
15
|
+
* imageUrlBack: "https://s3.amazonaws.com/back.jpg",
|
|
16
|
+
* groupNumber: "ABC12345",
|
|
17
|
+
* planName: "Silver PPO Plan",
|
|
18
|
+
* planType: CandidApi.SourceOfPaymentCode.SelfPay,
|
|
19
|
+
* insuranceType: CandidApi.InsuranceTypeCode.C01
|
|
20
|
+
* }
|
|
21
|
+
*/
|
|
5
22
|
export interface InsuranceCard extends CandidApi.InsuranceCardBase {
|
|
6
23
|
insuranceCardId: CandidApi.InsuranceCardId;
|
|
7
24
|
memberId: string;
|
|
@@ -49,7 +49,7 @@ class V3 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.6.
|
|
52
|
+
"X-Fern-SDK-Version": "0.6.4",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -115,7 +115,7 @@ class V3 {
|
|
|
115
115
|
Authorization: await this._getAuthorizationHeader(),
|
|
116
116
|
"X-Fern-Language": "JavaScript",
|
|
117
117
|
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
-
"X-Fern-SDK-Version": "0.6.
|
|
118
|
+
"X-Fern-SDK-Version": "0.6.4",
|
|
119
119
|
},
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
queryParameters: _queryParams,
|
|
@@ -145,7 +145,7 @@ class V3 {
|
|
|
145
145
|
Authorization: await this._getAuthorizationHeader(),
|
|
146
146
|
"X-Fern-Language": "JavaScript",
|
|
147
147
|
"X-Fern-SDK-Name": "candidhealth",
|
|
148
|
-
"X-Fern-SDK-Version": "0.6.
|
|
148
|
+
"X-Fern-SDK-Version": "0.6.4",
|
|
149
149
|
},
|
|
150
150
|
contentType: "application/json",
|
|
151
151
|
body: await serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
|
|
@@ -191,7 +191,7 @@ class V3 {
|
|
|
191
191
|
Authorization: await this._getAuthorizationHeader(),
|
|
192
192
|
"X-Fern-Language": "JavaScript",
|
|
193
193
|
"X-Fern-SDK-Name": "candidhealth",
|
|
194
|
-
"X-Fern-SDK-Version": "0.6.
|
|
194
|
+
"X-Fern-SDK-Version": "0.6.4",
|
|
195
195
|
},
|
|
196
196
|
contentType: "application/json",
|
|
197
197
|
body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
|
package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts
CHANGED
|
@@ -2,6 +2,35 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* items: [{
|
|
9
|
+
* npi: "1234567890",
|
|
10
|
+
* isRendering: true,
|
|
11
|
+
* isBilling: true,
|
|
12
|
+
* firstName: "John",
|
|
13
|
+
* lastName: "Doe",
|
|
14
|
+
* organizationName: "Acme Medical",
|
|
15
|
+
* providerType: CandidApi.organizationProviders.v2.ProviderType.Individual,
|
|
16
|
+
* taxId: "123456789",
|
|
17
|
+
* taxonomyCode: "1234567890",
|
|
18
|
+
* licenseType: CandidApi.organizationProviders.v2.LicenseType.Md,
|
|
19
|
+
* employmentStartDate: "2020-10-07",
|
|
20
|
+
* employmentTerminationDate: "2021-10-07",
|
|
21
|
+
* organizationProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("965A563A-0285-4910-9569-E3739C0F6EAB"),
|
|
22
|
+
* qualifications: [{
|
|
23
|
+
* identifierId: CandidApi.IdentifierId("123e4567-e89b-12d3-a456-426614174000"),
|
|
24
|
+
* identifierCode: CandidApi.IdentifierCode.Mcr,
|
|
25
|
+
* identifierValue: {
|
|
26
|
+
* type: "medicare_provider_identifier",
|
|
27
|
+
* state: CandidApi.State.Ca,
|
|
28
|
+
* providerNumber: "1234567890"
|
|
29
|
+
* }
|
|
30
|
+
* }]
|
|
31
|
+
* }]
|
|
32
|
+
* }
|
|
33
|
+
*/
|
|
5
34
|
export interface OrganizationProviderPageV2 extends CandidApi.ResourcePage {
|
|
6
35
|
items: CandidApi.organizationProviders.v3.OrganizationProviderV2[];
|
|
7
36
|
}
|
package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts
CHANGED
|
@@ -2,6 +2,33 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* npi: "1234567890",
|
|
9
|
+
* isRendering: true,
|
|
10
|
+
* isBilling: true,
|
|
11
|
+
* firstName: "John",
|
|
12
|
+
* lastName: "Doe",
|
|
13
|
+
* organizationName: "Acme Medical",
|
|
14
|
+
* providerType: CandidApi.organizationProviders.v2.ProviderType.Individual,
|
|
15
|
+
* taxId: "123456789",
|
|
16
|
+
* taxonomyCode: "1234567890",
|
|
17
|
+
* licenseType: CandidApi.organizationProviders.v2.LicenseType.Md,
|
|
18
|
+
* employmentStartDate: "2020-10-07",
|
|
19
|
+
* employmentTerminationDate: "2021-10-07",
|
|
20
|
+
* organizationProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("965A563A-0285-4910-9569-E3739C0F6EAB"),
|
|
21
|
+
* qualifications: [{
|
|
22
|
+
* identifierId: CandidApi.IdentifierId("123e4567-e89b-12d3-a456-426614174000"),
|
|
23
|
+
* identifierCode: CandidApi.IdentifierCode.Mcr,
|
|
24
|
+
* identifierValue: {
|
|
25
|
+
* type: "medicare_provider_identifier",
|
|
26
|
+
* state: CandidApi.State.Ca,
|
|
27
|
+
* providerNumber: "1234567890"
|
|
28
|
+
* }
|
|
29
|
+
* }]
|
|
30
|
+
* }
|
|
31
|
+
*/
|
|
5
32
|
export interface OrganizationProviderV2 {
|
|
6
33
|
/** The NPI of the provider. This must be all digits [0-9] and exactly 10 characters long. */
|
|
7
34
|
npi: string;
|
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* patientPaymentId: CandidApi.patientPayments.v3.PatientPaymentId("CF237BE1-E793-4BBF-8958-61D5179D1D0D"),
|
|
9
|
+
* organizationId: CandidApi.OrganizationId("0788CA2A-B20D-4B8E-B8D4-07FA0B3B4907"),
|
|
10
|
+
* sourceInternalId: "D1A76039-D5C5-4323-A2FC-B7C8B6AEF6A4",
|
|
11
|
+
* source: CandidApi.patientPayments.v3.PatientPaymentSource.ManualEntry,
|
|
12
|
+
* amountCents: 2000,
|
|
13
|
+
* paymentTimestamp: new Date("2023-01-01T00:00:00.000Z"),
|
|
14
|
+
* status: CandidApi.patientPayments.v3.PatientPaymentStatus.Pending,
|
|
15
|
+
* paymentName: "John Doe",
|
|
16
|
+
* paymentNote: "test payment note",
|
|
17
|
+
* patientExternalId: CandidApi.PatientExternalId("B7437260-D6B4-48CF-B9D7-753C09F34E76"),
|
|
18
|
+
* encounterExternalId: CandidApi.EncounterExternalId("0F26B9C3-199F-4CBB-A166-B87EA7C631BB"),
|
|
19
|
+
* serviceLineId: CandidApi.ServiceLineId("B557DC86-C629-478C-850A-02D45AC11783")
|
|
20
|
+
* }
|
|
21
|
+
*/
|
|
5
22
|
export interface PatientPayment {
|
|
6
23
|
patientPaymentId: CandidApi.patientPayments.v3.PatientPaymentId;
|
|
7
24
|
organizationId: CandidApi.OrganizationId;
|
|
@@ -49,7 +49,7 @@ class V3 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.6.
|
|
52
|
+
"X-Fern-SDK-Version": "0.6.4",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -89,7 +89,7 @@ class V3 {
|
|
|
89
89
|
Authorization: await this._getAuthorizationHeader(),
|
|
90
90
|
"X-Fern-Language": "JavaScript",
|
|
91
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.6.
|
|
92
|
+
"X-Fern-SDK-Version": "0.6.4",
|
|
93
93
|
},
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* payerUuid: CandidApi.payers.v3.PayerUuid("A6431FD2-0712-4714-B1B1-DD094DAF9F42"),
|
|
9
|
+
* payerId: "12345",
|
|
10
|
+
* payerName: "Payer Name"
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
5
13
|
export interface Payer {
|
|
6
14
|
/** Auto-generated ID set on creation. */
|
|
7
15
|
payerUuid: CandidApi.payers.v3.PayerUuid;
|
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* items: [{
|
|
9
|
+
* payerUuid: CandidApi.payers.v3.PayerUuid("A6431FD2-0712-4714-B1B1-DD094DAF9F42"),
|
|
10
|
+
* payerId: "12345",
|
|
11
|
+
* payerName: "Payer Name"
|
|
12
|
+
* }]
|
|
13
|
+
* }
|
|
14
|
+
*/
|
|
5
15
|
export interface PayerPage extends CandidApi.ResourcePage {
|
|
6
16
|
items: CandidApi.payers.v3.Payer[];
|
|
7
17
|
}
|
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* serviceFacilityId: CandidApi.ServiceFacilityId("2861487B-232C-4DED-A874-616A5DB0688F"),
|
|
9
|
+
* organizationName: "Test Organization",
|
|
10
|
+
* address: {
|
|
11
|
+
* address1: "123 Main St",
|
|
12
|
+
* address2: "Apt 1",
|
|
13
|
+
* city: "New York",
|
|
14
|
+
* state: CandidApi.State.Ny,
|
|
15
|
+
* zipCode: "10001",
|
|
16
|
+
* zipPlusFourCode: "1234"
|
|
17
|
+
* }
|
|
18
|
+
* }
|
|
19
|
+
*/
|
|
5
20
|
export interface EncounterServiceFacility {
|
|
6
21
|
serviceFacilityId: CandidApi.ServiceFacilityId;
|
|
7
22
|
organizationName: string;
|
|
@@ -2,6 +2,70 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
9
|
+
* chargeAmountCents: 10000,
|
|
10
|
+
* allowedAmountCents: 8000,
|
|
11
|
+
* insuranceBalanceCents: 0,
|
|
12
|
+
* patientBalanceCents: 2000,
|
|
13
|
+
* paidAmountCents: 8000,
|
|
14
|
+
* patientResponsibilityCents: 2000,
|
|
15
|
+
* diagnosisIdZero: CandidApi.DiagnosisId("4AC84BCD-12F5-4F86-A57B-E06749127C98"),
|
|
16
|
+
* diagnosisIdOne: CandidApi.DiagnosisId("EEA5CA5A-8B43-45FD-8CBD-C6CC1103E759"),
|
|
17
|
+
* diagnosisIdTwo: CandidApi.DiagnosisId("5C4AA029-2DB9-4202-916E-E93C708F65FF"),
|
|
18
|
+
* diagnosisIdThree: CandidApi.DiagnosisId("81795126-A3AC-443C-B47E-7259A16AB4A2"),
|
|
19
|
+
* serviceLineEraData: {
|
|
20
|
+
* serviceLineAdjustments: [{
|
|
21
|
+
* createdAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
22
|
+
* adjustmentGroupCode: "CO",
|
|
23
|
+
* adjustmentReasonCode: "CO",
|
|
24
|
+
* adjustmentAmountCents: 1000,
|
|
25
|
+
* adjustmentNote: "test_note"
|
|
26
|
+
* }],
|
|
27
|
+
* remittanceAdviceRemarkCodes: ["N362"]
|
|
28
|
+
* },
|
|
29
|
+
* serviceLineManualAdjustments: [{
|
|
30
|
+
* createdAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
31
|
+
* adjustmentGroupCode: "CO",
|
|
32
|
+
* adjustmentReasonCode: "CO",
|
|
33
|
+
* adjustmentAmountCents: 1000,
|
|
34
|
+
* adjustmentNote: "test_note"
|
|
35
|
+
* }],
|
|
36
|
+
* relatedInvoices: [{
|
|
37
|
+
* id: CandidApi.InvoiceId("901BE2F1-41BC-456E-9987-4FE2F84F9D75"),
|
|
38
|
+
* createdAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
39
|
+
* updatedAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
40
|
+
* organzationId: CandidApi.OrganizationId("F13F73D4-4344-46EA-9D93-33BCFFBB9F36"),
|
|
41
|
+
* sourceId: "9B626577-8808-4F28-9ED1-F0DFF0D49BBC",
|
|
42
|
+
* sourceCustomerId: "624D1972-8C69-4C2F-AEFA-10856F734DB3",
|
|
43
|
+
* patientExternalId: CandidApi.PatientExternalId("10FED4D6-4C5A-48DF-838A-EEF45A74788D"),
|
|
44
|
+
* note: "test_note",
|
|
45
|
+
* dueDate: CandidApi.Date_("2023-10-10"),
|
|
46
|
+
* status: CandidApi.InvoiceStatus.Draft,
|
|
47
|
+
* url: "https://example.com",
|
|
48
|
+
* customerInvoiceUrl: "https://example.com",
|
|
49
|
+
* items: [{
|
|
50
|
+
* serviceLineId: CandidApi.ServiceLineId("CED00F23-6E68-4678-9DBC-F5AA2969A565"),
|
|
51
|
+
* amountCents: 500
|
|
52
|
+
* }]
|
|
53
|
+
* }],
|
|
54
|
+
* denialReason: {
|
|
55
|
+
* reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
|
|
56
|
+
* },
|
|
57
|
+
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
58
|
+
* serviceLineId: CandidApi.ServiceLineId("CED00F23-6E68-4678-9DBC-F5AA2969A565"),
|
|
59
|
+
* procedureCode: "99213",
|
|
60
|
+
* quantity: CandidApi.Decimal("1"),
|
|
61
|
+
* units: CandidApi.ServiceLineUnits.Mj,
|
|
62
|
+
* claimId: CandidApi.ClaimId("026A1FB8-748E-4859-A2D7-3EA9E07D25AE"),
|
|
63
|
+
* dateOfServiceRange: {
|
|
64
|
+
* startDate: CandidApi.Date_("2023-01-01"),
|
|
65
|
+
* endDate: CandidApi.Date_("2023-01-03")
|
|
66
|
+
* }
|
|
67
|
+
* }
|
|
68
|
+
*/
|
|
5
69
|
export interface ServiceLine {
|
|
6
70
|
modifiers?: CandidApi.ProcedureModifier[];
|
|
7
71
|
chargeAmountCents?: number;
|
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* creatorId: "00EB5A46-35C6-441B-9751-AF307AEF5888",
|
|
9
|
+
* tagId: CandidApi.TagId("void-claim-submitted"),
|
|
10
|
+
* description: "to indicate claims where a void claim has been submitted",
|
|
11
|
+
* color: CandidApi.TagColorEnum.Black
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
5
14
|
export interface Tag extends CandidApi.TagCreate {
|
|
6
15
|
creatorId: string;
|
|
7
16
|
}
|