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
|
@@ -62,7 +62,7 @@ class V2 {
|
|
|
62
62
|
Authorization: await this._getAuthorizationHeader(),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "candidhealth",
|
|
65
|
-
"X-Fern-SDK-Version": "0.6.
|
|
65
|
+
"X-Fern-SDK-Version": "0.6.4",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* clientId: "YOUR_CLIENT_ID",
|
|
8
|
+
* clientSecret: "YOUR_CLIENT_SECRET"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
4
11
|
export interface AuthGetTokenRequest {
|
|
5
12
|
/** Your application's Client ID. */
|
|
6
13
|
clientId: string;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* accessToken: "eyJz93a...k4laUWw",
|
|
8
|
+
* expiresIn: 86400,
|
|
9
|
+
* tokenType: "Bearer"
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
4
12
|
export interface AuthGetTokenResponse {
|
|
5
13
|
accessToken: string;
|
|
6
14
|
/** Time in seconds. */
|
|
@@ -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.6.
|
|
51
|
+
"X-Fern-SDK-Version": "0.6.4",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -2,6 +2,17 @@
|
|
|
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
|
+
* billingNoteId: CandidApi.billingNotes.v2.BillingNoteId("99882EEA-936F-4E71-BC4F-520E4D14E3E2"),
|
|
9
|
+
* encounterId: CandidApi.EncounterId("8BCFB6A8-2876-4111-9E3F-602B541FCF62"),
|
|
10
|
+
* createdAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
11
|
+
* authorAuth0Id: "F0DE3BF9-F9A1-4FA7-BF6B-28C0B46BADD8",
|
|
12
|
+
* authorName: "John Doe",
|
|
13
|
+
* text: "Patient was billed for an MRI."
|
|
14
|
+
* }
|
|
15
|
+
*/
|
|
5
16
|
export interface BillingNote extends CandidApi.billingNotes.v2.BillingNoteBase {
|
|
6
17
|
billingNoteId: CandidApi.billingNotes.v2.BillingNoteId;
|
|
7
18
|
encounterId: CandidApi.EncounterId;
|
|
@@ -2,6 +2,82 @@
|
|
|
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
|
+
* claimId: CandidApi.ClaimId("DD9D7F82-37B5-449D-AA63-26925398335B"),
|
|
9
|
+
* status: CandidApi.ClaimStatus.BillerReceived,
|
|
10
|
+
* clearinghouse: "Change Healthcare",
|
|
11
|
+
* clearinghouseClaimId: "5BA7C3AB-2BC2-496C-8B10-6CAC73D0729D",
|
|
12
|
+
* payerClaimId: "9BB9F259-9756-4F16-8F53-9DBB9F7EB1BB",
|
|
13
|
+
* serviceLines: [{
|
|
14
|
+
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
15
|
+
* chargeAmountCents: 10000,
|
|
16
|
+
* allowedAmountCents: 8000,
|
|
17
|
+
* insuranceBalanceCents: 0,
|
|
18
|
+
* patientBalanceCents: 2000,
|
|
19
|
+
* paidAmountCents: 8000,
|
|
20
|
+
* patientResponsibilityCents: 2000,
|
|
21
|
+
* diagnosisIdZero: CandidApi.DiagnosisId("4AC84BCD-12F5-4F86-A57B-E06749127C98"),
|
|
22
|
+
* diagnosisIdOne: CandidApi.DiagnosisId("EEA5CA5A-8B43-45FD-8CBD-C6CC1103E759"),
|
|
23
|
+
* diagnosisIdTwo: CandidApi.DiagnosisId("5C4AA029-2DB9-4202-916E-E93C708F65FF"),
|
|
24
|
+
* diagnosisIdThree: CandidApi.DiagnosisId("81795126-A3AC-443C-B47E-7259A16AB4A2"),
|
|
25
|
+
* serviceLineEraData: {
|
|
26
|
+
* serviceLineAdjustments: [{
|
|
27
|
+
* createdAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
28
|
+
* adjustmentGroupCode: "CO",
|
|
29
|
+
* adjustmentReasonCode: "CO",
|
|
30
|
+
* adjustmentAmountCents: 1000,
|
|
31
|
+
* adjustmentNote: "test_note"
|
|
32
|
+
* }],
|
|
33
|
+
* remittanceAdviceRemarkCodes: ["N362"]
|
|
34
|
+
* },
|
|
35
|
+
* serviceLineManualAdjustments: [{
|
|
36
|
+
* createdAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
37
|
+
* adjustmentGroupCode: "CO",
|
|
38
|
+
* adjustmentReasonCode: "CO",
|
|
39
|
+
* adjustmentAmountCents: 1000,
|
|
40
|
+
* adjustmentNote: "test_note"
|
|
41
|
+
* }],
|
|
42
|
+
* relatedInvoices: [{
|
|
43
|
+
* id: CandidApi.InvoiceId("901BE2F1-41BC-456E-9987-4FE2F84F9D75"),
|
|
44
|
+
* createdAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
45
|
+
* updatedAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
46
|
+
* organzationId: CandidApi.OrganizationId("F13F73D4-4344-46EA-9D93-33BCFFBB9F36"),
|
|
47
|
+
* sourceId: "9B626577-8808-4F28-9ED1-F0DFF0D49BBC",
|
|
48
|
+
* sourceCustomerId: "624D1972-8C69-4C2F-AEFA-10856F734DB3",
|
|
49
|
+
* patientExternalId: CandidApi.PatientExternalId("10FED4D6-4C5A-48DF-838A-EEF45A74788D"),
|
|
50
|
+
* note: "test_note",
|
|
51
|
+
* dueDate: CandidApi.Date_("2023-10-10"),
|
|
52
|
+
* status: CandidApi.InvoiceStatus.Draft,
|
|
53
|
+
* url: "https://example.com",
|
|
54
|
+
* customerInvoiceUrl: "https://example.com",
|
|
55
|
+
* items: [{
|
|
56
|
+
* serviceLineId: CandidApi.ServiceLineId("CED00F23-6E68-4678-9DBC-F5AA2969A565"),
|
|
57
|
+
* amountCents: 500
|
|
58
|
+
* }]
|
|
59
|
+
* }],
|
|
60
|
+
* denialReason: {
|
|
61
|
+
* reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
|
|
62
|
+
* },
|
|
63
|
+
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
64
|
+
* serviceLineId: CandidApi.ServiceLineId("CED00F23-6E68-4678-9DBC-F5AA2969A565"),
|
|
65
|
+
* procedureCode: "99213",
|
|
66
|
+
* quantity: CandidApi.Decimal("1"),
|
|
67
|
+
* units: CandidApi.ServiceLineUnits.Mj,
|
|
68
|
+
* claimId: CandidApi.ClaimId("026A1FB8-748E-4859-A2D7-3EA9E07D25AE"),
|
|
69
|
+
* dateOfServiceRange: {
|
|
70
|
+
* startDate: CandidApi.Date_("2023-01-01"),
|
|
71
|
+
* endDate: CandidApi.Date_("2023-01-03")
|
|
72
|
+
* }
|
|
73
|
+
* }],
|
|
74
|
+
* eras: [{
|
|
75
|
+
* eraId: CandidApi.EraId("4D844EF1-2253-43CD-A4F1-6DB7E65CB54B"),
|
|
76
|
+
* checkNumber: "CHK12345",
|
|
77
|
+
* checkDate: CandidApi.Date_("2023-10-12")
|
|
78
|
+
* }]
|
|
79
|
+
* }
|
|
80
|
+
*/
|
|
5
81
|
export interface Claim {
|
|
6
82
|
claimId: CandidApi.ClaimId;
|
|
7
83
|
status: CandidApi.ClaimStatus;
|
|
@@ -2,6 +2,10 @@
|
|
|
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
|
+
* CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
|
|
8
|
+
*/
|
|
5
9
|
export declare type PageToken = string & {
|
|
6
10
|
PageToken: void;
|
|
7
11
|
};
|
|
@@ -2,6 +2,13 @@
|
|
|
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
|
+
* number: "1234567890",
|
|
9
|
+
* type: CandidApi.PhoneNumberType.Home
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
5
12
|
export interface PhoneNumber {
|
|
6
13
|
number: string;
|
|
7
14
|
type: CandidApi.PhoneNumberType;
|
|
@@ -2,6 +2,17 @@
|
|
|
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
|
+
* address1: "123 Main St",
|
|
9
|
+
* address2: "Apt 1",
|
|
10
|
+
* city: "New York",
|
|
11
|
+
* state: CandidApi.State.Ny,
|
|
12
|
+
* zipCode: "10001",
|
|
13
|
+
* zipPlusFourCode: "1234"
|
|
14
|
+
* }
|
|
15
|
+
*/
|
|
5
16
|
export interface StreetAddressLongZip extends CandidApi.StreetAddressBase {
|
|
6
17
|
/** 4-digit zip add-on code https://en.wikipedia.org/wiki/ZIP_Code#ZIP+4 */
|
|
7
18
|
zipPlusFourCode: string;
|
|
@@ -2,6 +2,17 @@
|
|
|
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
|
+
* address1: "123 Main St",
|
|
9
|
+
* address2: "Apt 1",
|
|
10
|
+
* city: "New York",
|
|
11
|
+
* state: CandidApi.State.Ny,
|
|
12
|
+
* zipCode: "10001",
|
|
13
|
+
* zipPlusFourCode: "1234"
|
|
14
|
+
* }
|
|
15
|
+
*/
|
|
5
16
|
export interface StreetAddressShortZip extends CandidApi.StreetAddressBase {
|
|
6
17
|
/** 4-digit zip add-on code https://en.wikipedia.org/wiki/ZIP_Code#ZIP+4 */
|
|
7
18
|
zipPlusFourCode?: string;
|
|
@@ -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
|
+
* diagnosisId: CandidApi.DiagnosisId("5C770E00-4BBF-42AF-A73F-99C5E91FC0DB"),
|
|
9
|
+
* createdAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
10
|
+
* updatedAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
11
|
+
* encounterId: CandidApi.EncounterId("3F63985B-51A4-4DD4-9418-7D50B2520792"),
|
|
12
|
+
* name: "John Doe",
|
|
13
|
+
* codeType: CandidApi.DiagnosisTypeCode.Abf,
|
|
14
|
+
* code: "I10"
|
|
15
|
+
* }
|
|
16
|
+
*/
|
|
5
17
|
export interface Diagnosis extends CandidApi.StandaloneDiagnosisCreate {
|
|
6
18
|
diagnosisId: CandidApi.DiagnosisId;
|
|
7
19
|
createdAt: Date;
|
|
@@ -65,7 +65,7 @@ class V2 {
|
|
|
65
65
|
Authorization: await this._getAuthorizationHeader(),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "candidhealth",
|
|
68
|
-
"X-Fern-SDK-Version": "0.6.
|
|
68
|
+
"X-Fern-SDK-Version": "0.6.4",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
body: request,
|
|
@@ -2,6 +2,26 @@
|
|
|
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
|
+
* providerId: CandidApi.encounterProviders.v2.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
9
|
+
* address: {
|
|
10
|
+
* address1: "123 Main St",
|
|
11
|
+
* address2: "Apt 1",
|
|
12
|
+
* city: "New York",
|
|
13
|
+
* state: CandidApi.State.Ny,
|
|
14
|
+
* zipCode: "10001",
|
|
15
|
+
* zipPlusFourCode: "1234"
|
|
16
|
+
* },
|
|
17
|
+
* taxId: "123456789",
|
|
18
|
+
* npi: "1234567890",
|
|
19
|
+
* taxonomyCode: "207Q00000X",
|
|
20
|
+
* firstName: "John",
|
|
21
|
+
* lastName: "Doe",
|
|
22
|
+
* organizationName: "Organization Name"
|
|
23
|
+
* }
|
|
24
|
+
*/
|
|
5
25
|
export interface EncounterProvider extends CandidApi.encounterProviders.v2.EncounterProviderBase {
|
|
6
26
|
providerId: CandidApi.encounterProviders.v2.ProviderId;
|
|
7
27
|
address: CandidApi.StreetAddressLongZip;
|
|
@@ -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.6.
|
|
106
|
+
"X-Fern-SDK-Version": "0.6.4",
|
|
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.6.
|
|
136
|
+
"X-Fern-SDK-Version": "0.6.4",
|
|
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.6.
|
|
165
|
+
"X-Fern-SDK-Version": "0.6.4",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
|
|
@@ -212,7 +212,7 @@ class V4 {
|
|
|
212
212
|
Authorization: await this._getAuthorizationHeader(),
|
|
213
213
|
"X-Fern-Language": "JavaScript",
|
|
214
214
|
"X-Fern-SDK-Name": "candidhealth",
|
|
215
|
-
"X-Fern-SDK-Version": "0.6.
|
|
215
|
+
"X-Fern-SDK-Version": "0.6.4",
|
|
216
216
|
},
|
|
217
217
|
contentType: "application/json",
|
|
218
218
|
body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
|
|
@@ -2,6 +2,19 @@
|
|
|
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
|
+
* category: CandidApi.encounters.v4.NoteCategory.Clinical,
|
|
9
|
+
* notes: ["Patient complained of mild chest pain."],
|
|
10
|
+
* notesStructured: [{
|
|
11
|
+
* text: "Mild chest pain since morning.",
|
|
12
|
+
* authorName: "John Doe",
|
|
13
|
+
* authorNpi: CandidApi.Npi("1234567890"),
|
|
14
|
+
* timestamp: new Date("2023-01-01T00:00:00.000Z")
|
|
15
|
+
* }]
|
|
16
|
+
* }
|
|
17
|
+
*/
|
|
5
18
|
export interface ClinicalNoteCategory {
|
|
6
19
|
category: CandidApi.encounters.v4.NoteCategory;
|
|
7
20
|
notes: string[];
|