candidhealth 0.26.0 → 0.26.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.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claims/types/Claim.d.ts +0 -37
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +0 -37
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +0 -37
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +0 -1
- package/api/resources/index.js +0 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/invoices/index.d.ts +0 -1
- package/api/resources/invoices/index.js +0 -1
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +0 -18
- package/api/resources/serviceLines/resources/v2/client/Client.js +2 -20
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +0 -41
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +0 -9
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +0 -9
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/api/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/claims/types/Claim.d.ts +0 -37
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +0 -37
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +0 -37
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +0 -1
- package/dist/api/resources/index.js +0 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/invoices/index.d.ts +0 -1
- package/dist/api/resources/invoices/index.js +0 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +0 -18
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +2 -20
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +0 -41
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +0 -9
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +0 -9
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/index.d.ts +0 -1
- package/dist/serialization/resources/index.js +0 -1
- package/dist/serialization/resources/invoices/index.d.ts +0 -1
- package/dist/serialization/resources/invoices/index.js +0 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +0 -6
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +0 -6
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +0 -10
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +0 -10
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +0 -10
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +0 -10
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/package.json +1 -1
- package/reference.md +0 -18
- package/serialization/resources/index.d.ts +0 -1
- package/serialization/resources/index.js +0 -1
- package/serialization/resources/invoices/index.d.ts +0 -1
- package/serialization/resources/invoices/index.js +0 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +0 -6
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +0 -6
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +0 -10
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +0 -10
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +0 -10
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +0 -10
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/serialization/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/api/resources/invoices/types/Invoice.d.ts +0 -19
- package/api/resources/invoices/types/Invoice.js +0 -5
- package/api/resources/invoices/types/InvoiceItem.d.ts +0 -8
- package/api/resources/invoices/types/InvoiceItem.js +0 -5
- package/api/resources/invoices/types/InvoiceStatus.d.ts +0 -12
- package/api/resources/invoices/types/InvoiceStatus.js +0 -14
- package/api/resources/invoices/types/index.d.ts +0 -3
- package/api/resources/invoices/types/index.js +0 -19
- package/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +0 -8
- package/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +0 -5
- package/dist/api/resources/invoices/types/Invoice.d.ts +0 -19
- package/dist/api/resources/invoices/types/Invoice.js +0 -5
- package/dist/api/resources/invoices/types/InvoiceItem.d.ts +0 -8
- package/dist/api/resources/invoices/types/InvoiceItem.js +0 -5
- package/dist/api/resources/invoices/types/InvoiceStatus.d.ts +0 -12
- package/dist/api/resources/invoices/types/InvoiceStatus.js +0 -14
- package/dist/api/resources/invoices/types/index.d.ts +0 -3
- package/dist/api/resources/invoices/types/index.js +0 -19
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +0 -8
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +0 -5
- package/dist/serialization/resources/invoices/types/Invoice.d.ts +0 -30
- package/dist/serialization/resources/invoices/types/Invoice.js +0 -51
- package/dist/serialization/resources/invoices/types/InvoiceItem.d.ts +0 -14
- package/dist/serialization/resources/invoices/types/InvoiceItem.js +0 -35
- package/dist/serialization/resources/invoices/types/InvoiceStatus.d.ts +0 -10
- package/dist/serialization/resources/invoices/types/InvoiceStatus.js +0 -31
- package/dist/serialization/resources/invoices/types/index.d.ts +0 -3
- package/dist/serialization/resources/invoices/types/index.js +0 -19
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +0 -14
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +0 -35
- package/serialization/resources/invoices/types/Invoice.d.ts +0 -30
- package/serialization/resources/invoices/types/Invoice.js +0 -51
- package/serialization/resources/invoices/types/InvoiceItem.d.ts +0 -14
- package/serialization/resources/invoices/types/InvoiceItem.js +0 -35
- package/serialization/resources/invoices/types/InvoiceStatus.d.ts +0 -10
- package/serialization/resources/invoices/types/InvoiceStatus.js +0 -31
- package/serialization/resources/invoices/types/index.d.ts +0 -3
- package/serialization/resources/invoices/types/index.js +0 -19
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +0 -14
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +0 -35
|
@@ -29,21 +29,12 @@ export declare class V2 {
|
|
|
29
29
|
* await client.serviceLines.v2.create({
|
|
30
30
|
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
31
31
|
* chargeAmountCents: 1,
|
|
32
|
-
* allowedAmountCents: 1,
|
|
33
|
-
* insuranceBalanceCents: 1,
|
|
34
|
-
* patientBalanceCents: 1,
|
|
35
|
-
* primaryPaidAmountCents: 1,
|
|
36
|
-
* secondaryPaidAmountCents: 1,
|
|
37
|
-
* tertiaryPaidAmountCents: 1,
|
|
38
|
-
* patientResponsibilityCents: 1,
|
|
39
32
|
* diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
40
33
|
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
41
34
|
* diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
42
35
|
* diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
43
|
-
* serviceLineManualAdjustments: [{}],
|
|
44
36
|
* denialReason: {},
|
|
45
37
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
46
|
-
* placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
|
|
47
38
|
* procedureCode: "string",
|
|
48
39
|
* quantity: CandidApi.Decimal("string"),
|
|
49
40
|
* units: CandidApi.ServiceLineUnits.Mj,
|
|
@@ -64,21 +55,12 @@ export declare class V2 {
|
|
|
64
55
|
* editReason: "string",
|
|
65
56
|
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
66
57
|
* chargeAmountCents: 1,
|
|
67
|
-
* allowedAmountCents: 1,
|
|
68
|
-
* insuranceBalanceCents: 1,
|
|
69
|
-
* patientBalanceCents: 1,
|
|
70
|
-
* primaryPaidAmountCents: 1,
|
|
71
|
-
* secondaryPaidAmountCents: 1,
|
|
72
|
-
* tertiaryPaidAmountCents: 1,
|
|
73
|
-
* patientResponsibilityCents: 1,
|
|
74
58
|
* diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
75
59
|
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
76
60
|
* diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
77
61
|
* diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
78
|
-
* serviceLineManualAdjustments: [{}],
|
|
79
62
|
* denialReason: {},
|
|
80
63
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
81
|
-
* placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
|
|
82
64
|
* units: CandidApi.ServiceLineUnits.Mj,
|
|
83
65
|
* procedureCode: "string",
|
|
84
66
|
* quantity: CandidApi.Decimal("string"),
|
|
@@ -56,21 +56,12 @@ class V2 {
|
|
|
56
56
|
* await client.serviceLines.v2.create({
|
|
57
57
|
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
58
58
|
* chargeAmountCents: 1,
|
|
59
|
-
* allowedAmountCents: 1,
|
|
60
|
-
* insuranceBalanceCents: 1,
|
|
61
|
-
* patientBalanceCents: 1,
|
|
62
|
-
* primaryPaidAmountCents: 1,
|
|
63
|
-
* secondaryPaidAmountCents: 1,
|
|
64
|
-
* tertiaryPaidAmountCents: 1,
|
|
65
|
-
* patientResponsibilityCents: 1,
|
|
66
59
|
* diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
67
60
|
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
68
61
|
* diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
69
62
|
* diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
70
|
-
* serviceLineManualAdjustments: [{}],
|
|
71
63
|
* denialReason: {},
|
|
72
64
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
73
|
-
* placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
|
|
74
65
|
* procedureCode: "string",
|
|
75
66
|
* quantity: CandidApi.Decimal("string"),
|
|
76
67
|
* units: CandidApi.ServiceLineUnits.Mj,
|
|
@@ -91,7 +82,7 @@ class V2 {
|
|
|
91
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
92
83
|
"X-Fern-Language": "JavaScript",
|
|
93
84
|
"X-Fern-SDK-Name": "candidhealth",
|
|
94
|
-
"X-Fern-SDK-Version": "0.26.
|
|
85
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
95
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
96
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
97
88
|
},
|
|
@@ -145,21 +136,12 @@ class V2 {
|
|
|
145
136
|
* editReason: "string",
|
|
146
137
|
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
147
138
|
* chargeAmountCents: 1,
|
|
148
|
-
* allowedAmountCents: 1,
|
|
149
|
-
* insuranceBalanceCents: 1,
|
|
150
|
-
* patientBalanceCents: 1,
|
|
151
|
-
* primaryPaidAmountCents: 1,
|
|
152
|
-
* secondaryPaidAmountCents: 1,
|
|
153
|
-
* tertiaryPaidAmountCents: 1,
|
|
154
|
-
* patientResponsibilityCents: 1,
|
|
155
139
|
* diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
156
140
|
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
157
141
|
* diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
158
142
|
* diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
159
|
-
* serviceLineManualAdjustments: [{}],
|
|
160
143
|
* denialReason: {},
|
|
161
144
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
162
|
-
* placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
|
|
163
145
|
* units: CandidApi.ServiceLineUnits.Mj,
|
|
164
146
|
* procedureCode: "string",
|
|
165
147
|
* quantity: CandidApi.Decimal("string"),
|
|
@@ -179,7 +161,7 @@ class V2 {
|
|
|
179
161
|
Authorization: yield this._getAuthorizationHeader(),
|
|
180
162
|
"X-Fern-Language": "JavaScript",
|
|
181
163
|
"X-Fern-SDK-Name": "candidhealth",
|
|
182
|
-
"X-Fern-SDK-Version": "0.26.
|
|
164
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
183
165
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
184
166
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
185
167
|
},
|
|
@@ -8,49 +8,12 @@ import * as CandidApi from "../../../../../index";
|
|
|
8
8
|
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
9
9
|
* chargeAmountCents: 10000,
|
|
10
10
|
* allowedAmountCents: 8000,
|
|
11
|
-
* insuranceBalanceCents: 0,
|
|
12
|
-
* patientBalanceCents: 2000,
|
|
13
11
|
* paidAmountCents: 8000,
|
|
14
12
|
* patientResponsibilityCents: 2000,
|
|
15
13
|
* diagnosisIdZero: CandidApi.DiagnosisId("4AC84BCD-12F5-4F86-A57B-E06749127C98"),
|
|
16
14
|
* diagnosisIdOne: CandidApi.DiagnosisId("EEA5CA5A-8B43-45FD-8CBD-C6CC1103E759"),
|
|
17
15
|
* diagnosisIdTwo: CandidApi.DiagnosisId("5C4AA029-2DB9-4202-916E-E93C708F65FF"),
|
|
18
16
|
* 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
17
|
* denialReason: {
|
|
55
18
|
* reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
|
|
56
19
|
* },
|
|
@@ -72,8 +35,6 @@ export interface ServiceLine {
|
|
|
72
35
|
modifiers?: CandidApi.ProcedureModifier[];
|
|
73
36
|
chargeAmountCents?: number;
|
|
74
37
|
allowedAmountCents?: number;
|
|
75
|
-
insuranceBalanceCents?: number;
|
|
76
|
-
patientBalanceCents?: number;
|
|
77
38
|
paidAmountCents?: number;
|
|
78
39
|
primaryPaidAmountCents?: number;
|
|
79
40
|
secondaryPaidAmountCents?: number;
|
|
@@ -83,9 +44,7 @@ export interface ServiceLine {
|
|
|
83
44
|
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
84
45
|
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
85
46
|
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
86
|
-
serviceLineEraData?: CandidApi.serviceLines.v2.ServiceLineEraData;
|
|
87
47
|
serviceLineManualAdjustments?: CandidApi.serviceLines.v2.ServiceLineAdjustment[];
|
|
88
|
-
relatedInvoices?: CandidApi.Invoice[];
|
|
89
48
|
relatedInvoiceInfo?: CandidApi.invoices.v2.InvoiceInfo[];
|
|
90
49
|
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
91
50
|
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
@@ -5,21 +5,12 @@ import * as CandidApi from "../../../../../index";
|
|
|
5
5
|
export interface ServiceLineCreateStandalone {
|
|
6
6
|
modifiers?: CandidApi.ProcedureModifier[];
|
|
7
7
|
chargeAmountCents?: number;
|
|
8
|
-
allowedAmountCents?: number;
|
|
9
|
-
insuranceBalanceCents?: number;
|
|
10
|
-
patientBalanceCents?: number;
|
|
11
|
-
primaryPaidAmountCents?: number;
|
|
12
|
-
secondaryPaidAmountCents?: number;
|
|
13
|
-
tertiaryPaidAmountCents?: number;
|
|
14
|
-
patientResponsibilityCents?: number;
|
|
15
8
|
diagnosisIdZero?: CandidApi.DiagnosisId;
|
|
16
9
|
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
17
10
|
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
18
11
|
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
19
|
-
serviceLineManualAdjustments?: CandidApi.serviceLines.v2.ServiceLineAdjustment[];
|
|
20
12
|
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
21
13
|
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
22
|
-
placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
|
|
23
14
|
procedureCode: string;
|
|
24
15
|
/**
|
|
25
16
|
* String representation of a Decimal that can be parsed by most libraries.
|
|
@@ -6,21 +6,12 @@ export interface ServiceLineUpdate {
|
|
|
6
6
|
editReason?: string;
|
|
7
7
|
modifiers?: CandidApi.ProcedureModifier[];
|
|
8
8
|
chargeAmountCents?: number;
|
|
9
|
-
allowedAmountCents?: number;
|
|
10
|
-
insuranceBalanceCents?: number;
|
|
11
|
-
patientBalanceCents?: number;
|
|
12
|
-
primaryPaidAmountCents?: number;
|
|
13
|
-
secondaryPaidAmountCents?: number;
|
|
14
|
-
tertiaryPaidAmountCents?: number;
|
|
15
|
-
patientResponsibilityCents?: number;
|
|
16
9
|
diagnosisIdZero?: CandidApi.DiagnosisId;
|
|
17
10
|
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
18
11
|
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
19
12
|
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
20
|
-
serviceLineManualAdjustments?: CandidApi.serviceLines.v2.ServiceLineAdjustment[];
|
|
21
13
|
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
22
14
|
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
23
|
-
placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
|
|
24
15
|
units?: CandidApi.ServiceLineUnits;
|
|
25
16
|
procedureCode?: string;
|
|
26
17
|
/**
|
|
@@ -2,7 +2,6 @@ export * from "./ServiceLineCreate";
|
|
|
2
2
|
export * from "./ServiceLineCreateStandalone";
|
|
3
3
|
export * from "./ServiceLineUpdate";
|
|
4
4
|
export * from "./ServiceLine";
|
|
5
|
-
export * from "./ServiceLineEraData";
|
|
6
5
|
export * from "./ServiceLineAdjustment";
|
|
7
6
|
export * from "./ServiceLineDenialReason";
|
|
8
7
|
export * from "./DenialReasonContent";
|
|
@@ -18,7 +18,6 @@ __exportStar(require("./ServiceLineCreate"), exports);
|
|
|
18
18
|
__exportStar(require("./ServiceLineCreateStandalone"), exports);
|
|
19
19
|
__exportStar(require("./ServiceLineUpdate"), exports);
|
|
20
20
|
__exportStar(require("./ServiceLine"), exports);
|
|
21
|
-
__exportStar(require("./ServiceLineEraData"), exports);
|
|
22
21
|
__exportStar(require("./ServiceLineAdjustment"), exports);
|
|
23
22
|
__exportStar(require("./ServiceLineDenialReason"), exports);
|
|
24
23
|
__exportStar(require("./DenialReasonContent"), exports);
|
|
@@ -66,7 +66,7 @@ class V3 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.26.
|
|
69
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -166,7 +166,7 @@ class V3 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.26.
|
|
169
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -226,7 +226,7 @@ class V3 {
|
|
|
226
226
|
Authorization: yield this._getAuthorizationHeader(),
|
|
227
227
|
"X-Fern-Language": "JavaScript",
|
|
228
228
|
"X-Fern-SDK-Name": "candidhealth",
|
|
229
|
-
"X-Fern-SDK-Version": "0.26.
|
|
229
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
230
230
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
231
231
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
232
232
|
},
|
|
@@ -294,7 +294,7 @@ class V3 {
|
|
|
294
294
|
Authorization: yield this._getAuthorizationHeader(),
|
|
295
295
|
"X-Fern-Language": "JavaScript",
|
|
296
296
|
"X-Fern-SDK-Name": "candidhealth",
|
|
297
|
-
"X-Fern-SDK-Version": "0.26.
|
|
297
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
298
298
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
299
299
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
300
300
|
},
|
|
@@ -345,7 +345,7 @@ class V3 {
|
|
|
345
345
|
Authorization: yield this._getAuthorizationHeader(),
|
|
346
346
|
"X-Fern-Language": "JavaScript",
|
|
347
347
|
"X-Fern-SDK-Name": "candidhealth",
|
|
348
|
-
"X-Fern-SDK-Version": "0.26.
|
|
348
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
349
349
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
350
350
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
351
351
|
},
|
|
@@ -104,7 +104,7 @@ class V1 {
|
|
|
104
104
|
Authorization: yield this._getAuthorizationHeader(),
|
|
105
105
|
"X-Fern-Language": "JavaScript",
|
|
106
106
|
"X-Fern-SDK-Name": "candidhealth",
|
|
107
|
-
"X-Fern-SDK-Version": "0.26.
|
|
107
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
108
108
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
109
109
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
110
110
|
},
|
|
@@ -166,7 +166,7 @@ class V1 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.26.
|
|
169
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -233,7 +233,7 @@ class V1 {
|
|
|
233
233
|
Authorization: yield this._getAuthorizationHeader(),
|
|
234
234
|
"X-Fern-Language": "JavaScript",
|
|
235
235
|
"X-Fern-SDK-Name": "candidhealth",
|
|
236
|
-
"X-Fern-SDK-Version": "0.26.
|
|
236
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
237
237
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
238
238
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
239
239
|
},
|
|
@@ -307,7 +307,7 @@ class V1 {
|
|
|
307
307
|
Authorization: yield this._getAuthorizationHeader(),
|
|
308
308
|
"X-Fern-Language": "JavaScript",
|
|
309
309
|
"X-Fern-SDK-Name": "candidhealth",
|
|
310
|
-
"X-Fern-SDK-Version": "0.26.
|
|
310
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
311
311
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
312
312
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
313
313
|
},
|
|
@@ -372,7 +372,7 @@ class V1 {
|
|
|
372
372
|
Authorization: yield this._getAuthorizationHeader(),
|
|
373
373
|
"X-Fern-Language": "JavaScript",
|
|
374
374
|
"X-Fern-SDK-Name": "candidhealth",
|
|
375
|
-
"X-Fern-SDK-Version": "0.26.
|
|
375
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
376
376
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
377
377
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
378
378
|
},
|
|
@@ -104,7 +104,7 @@ class V1 {
|
|
|
104
104
|
Authorization: yield this._getAuthorizationHeader(),
|
|
105
105
|
"X-Fern-Language": "JavaScript",
|
|
106
106
|
"X-Fern-SDK-Name": "candidhealth",
|
|
107
|
-
"X-Fern-SDK-Version": "0.26.
|
|
107
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
108
108
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
109
109
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
110
110
|
},
|
|
@@ -166,7 +166,7 @@ class V1 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.26.
|
|
169
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -237,7 +237,7 @@ class V1 {
|
|
|
237
237
|
Authorization: yield this._getAuthorizationHeader(),
|
|
238
238
|
"X-Fern-Language": "JavaScript",
|
|
239
239
|
"X-Fern-SDK-Name": "candidhealth",
|
|
240
|
-
"X-Fern-SDK-Version": "0.26.
|
|
240
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
241
241
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
242
242
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
243
243
|
},
|
|
@@ -318,7 +318,7 @@ class V1 {
|
|
|
318
318
|
Authorization: yield this._getAuthorizationHeader(),
|
|
319
319
|
"X-Fern-Language": "JavaScript",
|
|
320
320
|
"X-Fern-SDK-Name": "candidhealth",
|
|
321
|
-
"X-Fern-SDK-Version": "0.26.
|
|
321
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
322
322
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
323
323
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
324
324
|
},
|
|
@@ -383,7 +383,7 @@ class V1 {
|
|
|
383
383
|
Authorization: yield this._getAuthorizationHeader(),
|
|
384
384
|
"X-Fern-Language": "JavaScript",
|
|
385
385
|
"X-Fern-SDK-Name": "candidhealth",
|
|
386
|
-
"X-Fern-SDK-Version": "0.26.
|
|
386
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
387
387
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
388
388
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
389
389
|
},
|
|
@@ -70,7 +70,7 @@ class V1 {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "candidhealth",
|
|
73
|
-
"X-Fern-SDK-Version": "0.26.
|
|
73
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -136,7 +136,7 @@ class V1 {
|
|
|
136
136
|
Authorization: yield this._getAuthorizationHeader(),
|
|
137
137
|
"X-Fern-Language": "JavaScript",
|
|
138
138
|
"X-Fern-SDK-Name": "candidhealth",
|
|
139
|
-
"X-Fern-SDK-Version": "0.26.
|
|
139
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
140
140
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
141
141
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
142
142
|
},
|
|
@@ -229,7 +229,7 @@ class V1 {
|
|
|
229
229
|
Authorization: yield this._getAuthorizationHeader(),
|
|
230
230
|
"X-Fern-Language": "JavaScript",
|
|
231
231
|
"X-Fern-SDK-Name": "candidhealth",
|
|
232
|
-
"X-Fern-SDK-Version": "0.26.
|
|
232
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
233
233
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
234
234
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
235
235
|
},
|
|
@@ -289,7 +289,7 @@ class V1 {
|
|
|
289
289
|
Authorization: yield this._getAuthorizationHeader(),
|
|
290
290
|
"X-Fern-Language": "JavaScript",
|
|
291
291
|
"X-Fern-SDK-Name": "candidhealth",
|
|
292
|
-
"X-Fern-SDK-Version": "0.26.
|
|
292
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
293
293
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
294
294
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
295
295
|
},
|
|
@@ -357,7 +357,7 @@ class V1 {
|
|
|
357
357
|
Authorization: yield this._getAuthorizationHeader(),
|
|
358
358
|
"X-Fern-Language": "JavaScript",
|
|
359
359
|
"X-Fern-SDK-Name": "candidhealth",
|
|
360
|
-
"X-Fern-SDK-Version": "0.26.
|
|
360
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
361
361
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
362
362
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
363
363
|
},
|
|
@@ -420,7 +420,7 @@ class V1 {
|
|
|
420
420
|
Authorization: yield this._getAuthorizationHeader(),
|
|
421
421
|
"X-Fern-Language": "JavaScript",
|
|
422
422
|
"X-Fern-SDK-Name": "candidhealth",
|
|
423
|
-
"X-Fern-SDK-Version": "0.26.
|
|
423
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
424
424
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
425
425
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
426
426
|
},
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
Authorization: yield this._getAuthorizationHeader(),
|
|
117
117
|
"X-Fern-Language": "JavaScript",
|
|
118
118
|
"X-Fern-SDK-Name": "candidhealth",
|
|
119
|
-
"X-Fern-SDK-Version": "0.26.
|
|
119
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
120
120
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
121
121
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
122
122
|
},
|
|
@@ -164,7 +164,7 @@ class V1 {
|
|
|
164
164
|
Authorization: yield this._getAuthorizationHeader(),
|
|
165
165
|
"X-Fern-Language": "JavaScript",
|
|
166
166
|
"X-Fern-SDK-Name": "candidhealth",
|
|
167
|
-
"X-Fern-SDK-Version": "0.26.
|
|
167
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
168
168
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
169
169
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
170
170
|
},
|
|
@@ -221,7 +221,7 @@ class V1 {
|
|
|
221
221
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
222
|
"X-Fern-Language": "JavaScript",
|
|
223
223
|
"X-Fern-SDK-Name": "candidhealth",
|
|
224
|
-
"X-Fern-SDK-Version": "0.26.
|
|
224
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
225
225
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
226
226
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
227
227
|
},
|
|
@@ -271,7 +271,7 @@ class V1 {
|
|
|
271
271
|
Authorization: yield this._getAuthorizationHeader(),
|
|
272
272
|
"X-Fern-Language": "JavaScript",
|
|
273
273
|
"X-Fern-SDK-Name": "candidhealth",
|
|
274
|
-
"X-Fern-SDK-Version": "0.26.
|
|
274
|
+
"X-Fern-SDK-Version": "0.26.1",
|
|
275
275
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
276
276
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
277
277
|
},
|
|
@@ -47,7 +47,6 @@ export * as identifiers from "./identifiers";
|
|
|
47
47
|
export * from "./identifiers/types";
|
|
48
48
|
export * as individual from "./individual";
|
|
49
49
|
export * from "./individual/types";
|
|
50
|
-
export * from "./invoices/types";
|
|
51
50
|
export * as paymentAccountConfigs from "./paymentAccountConfigs";
|
|
52
51
|
export * from "./paymentAccountConfigs/types";
|
|
53
52
|
export * as serviceFacility from "./serviceFacility";
|
|
@@ -76,7 +76,6 @@ exports.identifiers = __importStar(require("./identifiers"));
|
|
|
76
76
|
__exportStar(require("./identifiers/types"), exports);
|
|
77
77
|
exports.individual = __importStar(require("./individual"));
|
|
78
78
|
__exportStar(require("./individual/types"), exports);
|
|
79
|
-
__exportStar(require("./invoices/types"), exports);
|
|
80
79
|
exports.paymentAccountConfigs = __importStar(require("./paymentAccountConfigs"));
|
|
81
80
|
__exportStar(require("./paymentAccountConfigs/types"), exports);
|
|
82
81
|
exports.serviceFacility = __importStar(require("./serviceFacility"));
|
|
@@ -6,9 +6,7 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { ProcedureModifier } from "../../../../commons/types/ProcedureModifier";
|
|
8
8
|
import { DiagnosisId } from "../../../../diagnoses/types/DiagnosisId";
|
|
9
|
-
import { ServiceLineEraData } from "./ServiceLineEraData";
|
|
10
9
|
import { ServiceLineAdjustment } from "./ServiceLineAdjustment";
|
|
11
|
-
import { Invoice } from "../../../../invoices/types/Invoice";
|
|
12
10
|
import { InvoiceInfo } from "../../../../invoices/resources/v2/types/InvoiceInfo";
|
|
13
11
|
import { ServiceLineDenialReason } from "./ServiceLineDenialReason";
|
|
14
12
|
import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
|
|
@@ -24,8 +22,6 @@ export declare namespace ServiceLine {
|
|
|
24
22
|
modifiers?: ProcedureModifier.Raw[] | null;
|
|
25
23
|
charge_amount_cents?: number | null;
|
|
26
24
|
allowed_amount_cents?: number | null;
|
|
27
|
-
insurance_balance_cents?: number | null;
|
|
28
|
-
patient_balance_cents?: number | null;
|
|
29
25
|
paid_amount_cents?: number | null;
|
|
30
26
|
primary_paid_amount_cents?: number | null;
|
|
31
27
|
secondary_paid_amount_cents?: number | null;
|
|
@@ -35,9 +31,7 @@ export declare namespace ServiceLine {
|
|
|
35
31
|
diagnosis_id_one?: DiagnosisId.Raw | null;
|
|
36
32
|
diagnosis_id_two?: DiagnosisId.Raw | null;
|
|
37
33
|
diagnosis_id_three?: DiagnosisId.Raw | null;
|
|
38
|
-
service_line_era_data?: ServiceLineEraData.Raw | null;
|
|
39
34
|
service_line_manual_adjustments?: ServiceLineAdjustment.Raw[] | null;
|
|
40
|
-
related_invoices?: Invoice.Raw[] | null;
|
|
41
35
|
related_invoice_info?: InvoiceInfo.Raw[] | null;
|
|
42
36
|
denial_reason?: ServiceLineDenialReason.Raw | null;
|
|
43
37
|
place_of_service_code?: FacilityTypeCode.Raw | null;
|
|
@@ -30,9 +30,7 @@ exports.ServiceLine = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
const ProcedureModifier_1 = require("../../../../commons/types/ProcedureModifier");
|
|
32
32
|
const DiagnosisId_1 = require("../../../../diagnoses/types/DiagnosisId");
|
|
33
|
-
const ServiceLineEraData_1 = require("./ServiceLineEraData");
|
|
34
33
|
const ServiceLineAdjustment_1 = require("./ServiceLineAdjustment");
|
|
35
|
-
const Invoice_1 = require("../../../../invoices/types/Invoice");
|
|
36
34
|
const InvoiceInfo_1 = require("../../../../invoices/resources/v2/types/InvoiceInfo");
|
|
37
35
|
const ServiceLineDenialReason_1 = require("./ServiceLineDenialReason");
|
|
38
36
|
const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
|
|
@@ -46,8 +44,6 @@ exports.ServiceLine = core.serialization.object({
|
|
|
46
44
|
modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
|
|
47
45
|
chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
|
|
48
46
|
allowedAmountCents: core.serialization.property("allowed_amount_cents", core.serialization.number().optional()),
|
|
49
|
-
insuranceBalanceCents: core.serialization.property("insurance_balance_cents", core.serialization.number().optional()),
|
|
50
|
-
patientBalanceCents: core.serialization.property("patient_balance_cents", core.serialization.number().optional()),
|
|
51
47
|
paidAmountCents: core.serialization.property("paid_amount_cents", core.serialization.number().optional()),
|
|
52
48
|
primaryPaidAmountCents: core.serialization.property("primary_paid_amount_cents", core.serialization.number().optional()),
|
|
53
49
|
secondaryPaidAmountCents: core.serialization.property("secondary_paid_amount_cents", core.serialization.number().optional()),
|
|
@@ -57,9 +53,7 @@ exports.ServiceLine = core.serialization.object({
|
|
|
57
53
|
diagnosisIdOne: core.serialization.property("diagnosis_id_one", DiagnosisId_1.DiagnosisId.optional()),
|
|
58
54
|
diagnosisIdTwo: core.serialization.property("diagnosis_id_two", DiagnosisId_1.DiagnosisId.optional()),
|
|
59
55
|
diagnosisIdThree: core.serialization.property("diagnosis_id_three", DiagnosisId_1.DiagnosisId.optional()),
|
|
60
|
-
serviceLineEraData: core.serialization.property("service_line_era_data", ServiceLineEraData_1.ServiceLineEraData.optional()),
|
|
61
56
|
serviceLineManualAdjustments: core.serialization.property("service_line_manual_adjustments", core.serialization.list(ServiceLineAdjustment_1.ServiceLineAdjustment).optional()),
|
|
62
|
-
relatedInvoices: core.serialization.property("related_invoices", core.serialization.list(Invoice_1.Invoice).optional()),
|
|
63
57
|
relatedInvoiceInfo: core.serialization.property("related_invoice_info", core.serialization.list(InvoiceInfo_1.InvoiceInfo).optional()),
|
|
64
58
|
denialReason: core.serialization.property("denial_reason", ServiceLineDenialReason_1.ServiceLineDenialReason.optional()),
|
|
65
59
|
placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
@@ -6,7 +6,6 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { ProcedureModifier } from "../../../../commons/types/ProcedureModifier";
|
|
8
8
|
import { DiagnosisId } from "../../../../diagnoses/types/DiagnosisId";
|
|
9
|
-
import { ServiceLineAdjustment } from "./ServiceLineAdjustment";
|
|
10
9
|
import { ServiceLineDenialReason } from "./ServiceLineDenialReason";
|
|
11
10
|
import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
|
|
12
11
|
import { Decimal } from "../../../../commons/types/Decimal";
|
|
@@ -17,21 +16,12 @@ export declare namespace ServiceLineCreateStandalone {
|
|
|
17
16
|
interface Raw {
|
|
18
17
|
modifiers?: ProcedureModifier.Raw[] | null;
|
|
19
18
|
charge_amount_cents?: number | null;
|
|
20
|
-
allowed_amount_cents?: number | null;
|
|
21
|
-
insurance_balance_cents?: number | null;
|
|
22
|
-
patient_balance_cents?: number | null;
|
|
23
|
-
primary_paid_amount_cents?: number | null;
|
|
24
|
-
secondary_paid_amount_cents?: number | null;
|
|
25
|
-
tertiary_paid_amount_cents?: number | null;
|
|
26
|
-
patient_responsibility_cents?: number | null;
|
|
27
19
|
diagnosis_id_zero?: DiagnosisId.Raw | null;
|
|
28
20
|
diagnosis_id_one?: DiagnosisId.Raw | null;
|
|
29
21
|
diagnosis_id_two?: DiagnosisId.Raw | null;
|
|
30
22
|
diagnosis_id_three?: DiagnosisId.Raw | null;
|
|
31
|
-
service_line_manual_adjustments?: ServiceLineAdjustment.Raw[] | null;
|
|
32
23
|
denial_reason?: ServiceLineDenialReason.Raw | null;
|
|
33
24
|
place_of_service_code?: FacilityTypeCode.Raw | null;
|
|
34
|
-
place_of_service_code_as_submitted?: FacilityTypeCode.Raw | null;
|
|
35
25
|
procedure_code: string;
|
|
36
26
|
quantity: Decimal.Raw;
|
|
37
27
|
units: ServiceLineUnits.Raw;
|
package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js
CHANGED
|
@@ -30,7 +30,6 @@ exports.ServiceLineCreateStandalone = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
const ProcedureModifier_1 = require("../../../../commons/types/ProcedureModifier");
|
|
32
32
|
const DiagnosisId_1 = require("../../../../diagnoses/types/DiagnosisId");
|
|
33
|
-
const ServiceLineAdjustment_1 = require("./ServiceLineAdjustment");
|
|
34
33
|
const ServiceLineDenialReason_1 = require("./ServiceLineDenialReason");
|
|
35
34
|
const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
|
|
36
35
|
const Decimal_1 = require("../../../../commons/types/Decimal");
|
|
@@ -39,21 +38,12 @@ const ClaimId_1 = require("../../../../commons/types/ClaimId");
|
|
|
39
38
|
exports.ServiceLineCreateStandalone = core.serialization.object({
|
|
40
39
|
modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
|
|
41
40
|
chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
|
|
42
|
-
allowedAmountCents: core.serialization.property("allowed_amount_cents", core.serialization.number().optional()),
|
|
43
|
-
insuranceBalanceCents: core.serialization.property("insurance_balance_cents", core.serialization.number().optional()),
|
|
44
|
-
patientBalanceCents: core.serialization.property("patient_balance_cents", core.serialization.number().optional()),
|
|
45
|
-
primaryPaidAmountCents: core.serialization.property("primary_paid_amount_cents", core.serialization.number().optional()),
|
|
46
|
-
secondaryPaidAmountCents: core.serialization.property("secondary_paid_amount_cents", core.serialization.number().optional()),
|
|
47
|
-
tertiaryPaidAmountCents: core.serialization.property("tertiary_paid_amount_cents", core.serialization.number().optional()),
|
|
48
|
-
patientResponsibilityCents: core.serialization.property("patient_responsibility_cents", core.serialization.number().optional()),
|
|
49
41
|
diagnosisIdZero: core.serialization.property("diagnosis_id_zero", DiagnosisId_1.DiagnosisId.optional()),
|
|
50
42
|
diagnosisIdOne: core.serialization.property("diagnosis_id_one", DiagnosisId_1.DiagnosisId.optional()),
|
|
51
43
|
diagnosisIdTwo: core.serialization.property("diagnosis_id_two", DiagnosisId_1.DiagnosisId.optional()),
|
|
52
44
|
diagnosisIdThree: core.serialization.property("diagnosis_id_three", DiagnosisId_1.DiagnosisId.optional()),
|
|
53
|
-
serviceLineManualAdjustments: core.serialization.property("service_line_manual_adjustments", core.serialization.list(ServiceLineAdjustment_1.ServiceLineAdjustment).optional()),
|
|
54
45
|
denialReason: core.serialization.property("denial_reason", ServiceLineDenialReason_1.ServiceLineDenialReason.optional()),
|
|
55
46
|
placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
56
|
-
placeOfServiceCodeAsSubmitted: core.serialization.property("place_of_service_code_as_submitted", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
57
47
|
procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
|
|
58
48
|
quantity: Decimal_1.Decimal,
|
|
59
49
|
units: ServiceLineUnits_1.ServiceLineUnits,
|