candidhealth 0.16.2 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/v2/client/Client.d.ts +0 -1
- package/api/resources/auth/resources/v2/client/Client.js +1 -2
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +0 -1
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +0 -2
- package/api/resources/commons/types/DelayReasonCode.d.ts +65 -0
- package/api/resources/commons/types/DelayReasonCode.js +22 -0
- package/api/resources/commons/types/FacilityTypeCode.d.ts +0 -1
- package/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/api/resources/commons/types/ProcedureModifier.d.ts +4 -8
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/contracts/resources/v2/types/ContractBase.d.ts +3 -13
- package/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +3 -6
- package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +6 -9
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +13 -1
- package/api/resources/eligibility/resources/v2/client/Client.js +37 -2
- package/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
- package/api/resources/eligibility/resources/v2/client/index.js +2 -1
- package/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.d.ts +22 -0
- package/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.js +47 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -5
- package/api/resources/encounterProviders/resources/v2/types/EncounterProviderBase.d.ts +3 -12
- package/api/resources/encounterProviders/resources/v2/types/ReferringProvider.d.ts +0 -1
- package/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +0 -1
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
- package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +0 -6
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +6 -28
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +12 -27
- package/api/resources/encounters/resources/v4/types/Intervention.d.ts +1 -4
- package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +0 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
- package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +1 -5
- package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +1 -5
- package/api/resources/exports/resources/v3/client/Client.d.ts +0 -1
- package/api/resources/exports/resources/v3/client/Client.js +1 -2
- package/api/resources/exports/resources/v3/client/requests/GetExportsRequest.d.ts +0 -2
- package/api/resources/financials/types/AllocationCreate.d.ts +0 -1
- package/api/resources/financials/types/AllocationTarget.d.ts +0 -1
- package/api/resources/financials/types/AllocationTargetCreate.d.ts +0 -1
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -6
- package/api/resources/individual/types/PatientBase.d.ts +1 -5
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -5
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -10
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -10
- package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +2 -8
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderCreateV2.d.ts +2 -8
- package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +2 -8
- package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +2 -8
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +0 -1
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +0 -1
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +0 -1
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +0 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -10
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -10
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -5
- package/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -6
- package/api/resources/serviceLines/resources/v2/types/ServiceIdQualifier.d.ts +1 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +0 -1
- package/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +2 -1
- package/api/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +0 -4
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -8
- package/dist/api/resources/auth/resources/v2/client/Client.d.ts +0 -1
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -2
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +0 -1
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +0 -2
- package/dist/api/resources/commons/types/DelayReasonCode.d.ts +65 -0
- package/dist/api/resources/commons/types/DelayReasonCode.js +22 -0
- package/dist/api/resources/commons/types/FacilityTypeCode.d.ts +0 -1
- package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +4 -8
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/contracts/resources/v2/types/ContractBase.d.ts +3 -13
- package/dist/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +3 -6
- package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +6 -9
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +13 -1
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +37 -2
- package/dist/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
- package/dist/api/resources/eligibility/resources/v2/client/index.js +2 -1
- package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.d.ts +22 -0
- package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.js +47 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -5
- package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProviderBase.d.ts +3 -12
- package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProvider.d.ts +0 -1
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +0 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +0 -6
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +6 -28
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +12 -27
- package/dist/api/resources/encounters/resources/v4/types/Intervention.d.ts +1 -4
- package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +0 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +1 -5
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +1 -5
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +0 -1
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -2
- package/dist/api/resources/exports/resources/v3/client/requests/GetExportsRequest.d.ts +0 -2
- package/dist/api/resources/financials/types/AllocationCreate.d.ts +0 -1
- package/dist/api/resources/financials/types/AllocationTarget.d.ts +0 -1
- package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +0 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/individual/types/PatientBase.d.ts +1 -5
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -5
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -10
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +2 -8
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderCreateV2.d.ts +2 -8
- package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +2 -8
- package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +2 -8
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +0 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +0 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +0 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +0 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -10
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -10
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -5
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -6
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceIdQualifier.d.ts +1 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +0 -1
- package/dist/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +2 -1
- package/dist/api/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +0 -4
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -8
- package/dist/serialization/resources/commons/types/DelayReasonCode.d.ts +10 -0
- package/dist/serialization/resources/commons/types/DelayReasonCode.js +31 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +1 -1
- package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/commons/types/DelayReasonCode.d.ts +10 -0
- package/serialization/resources/commons/types/DelayReasonCode.js +31 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
- package/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +1 -1
- package/serialization/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
|
@@ -15,15 +15,9 @@ export interface OrganizationProviderUpdateV2 {
|
|
|
15
15
|
lastName?: string;
|
|
16
16
|
/** The name of the provider, if the provider is an organization. */
|
|
17
17
|
organizationName?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Whether the provider is an individual (NPPES Type 1) or organization (NPPES Type 2) provider.
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
18
|
+
/** Whether the provider is an individual (NPPES Type 1) or organization (NPPES Type 2) provider. */
|
|
22
19
|
providerType?: CandidApi.organizationProviders.v2.ProviderType;
|
|
23
|
-
/**
|
|
24
|
-
* 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.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
20
|
+
/** 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. */
|
|
27
21
|
taxId?: string;
|
|
28
22
|
/** A code designating classification and specialization. */
|
|
29
23
|
taxonomyCode?: string;
|
package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts
CHANGED
|
@@ -42,15 +42,9 @@ export interface OrganizationProviderV2 {
|
|
|
42
42
|
lastName?: string;
|
|
43
43
|
/** The name of the provider, if the provider is an organization. */
|
|
44
44
|
organizationName?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Whether the provider is an individual (NPPES Type 1) or organization (NPPES Type 2) provider.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
45
|
+
/** Whether the provider is an individual (NPPES Type 1) or organization (NPPES Type 2) provider. */
|
|
49
46
|
providerType: CandidApi.organizationProviders.v2.ProviderType;
|
|
50
|
-
/**
|
|
51
|
-
* 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.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
47
|
+
/** 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. */
|
|
54
48
|
taxId?: string;
|
|
55
49
|
/** A code designating classification and specialization. */
|
|
56
50
|
taxonomyCode?: string;
|
|
@@ -49,7 +49,7 @@ class V2 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -103,7 +103,7 @@ class V2 {
|
|
|
103
103
|
Authorization: await this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
106
|
-
"X-Fern-SDK-Version": "0.
|
|
106
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
queryParameters: _queryParams,
|
|
@@ -133,7 +133,7 @@ class V2 {
|
|
|
133
133
|
Authorization: await this._getAuthorizationHeader(),
|
|
134
134
|
"X-Fern-Language": "JavaScript",
|
|
135
135
|
"X-Fern-SDK-Name": "candidhealth",
|
|
136
|
-
"X-Fern-SDK-Version": "0.
|
|
136
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
137
137
|
},
|
|
138
138
|
contentType: "application/json",
|
|
139
139
|
body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -177,7 +177,7 @@ class V2 {
|
|
|
177
177
|
Authorization: await this._getAuthorizationHeader(),
|
|
178
178
|
"X-Fern-Language": "JavaScript",
|
|
179
179
|
"X-Fern-SDK-Name": "candidhealth",
|
|
180
|
-
"X-Fern-SDK-Version": "0.
|
|
180
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
181
181
|
},
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -222,7 +222,7 @@ class V2 {
|
|
|
222
222
|
Authorization: await this._getAuthorizationHeader(),
|
|
223
223
|
"X-Fern-Language": "JavaScript",
|
|
224
224
|
"X-Fern-SDK-Name": "candidhealth",
|
|
225
|
-
"X-Fern-SDK-Version": "0.
|
|
225
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
226
226
|
},
|
|
227
227
|
contentType: "application/json",
|
|
228
228
|
timeoutMs: 60000,
|
|
@@ -36,7 +36,6 @@ export interface OrganizationServiceFacility {
|
|
|
36
36
|
/**
|
|
37
37
|
* An NPI specific to the service facility if applicable, i.e. if it has one and is not under the billing provider's NPI.
|
|
38
38
|
* Box 32 section (a) of the CMS-1500 claim form.
|
|
39
|
-
*
|
|
40
39
|
*/
|
|
41
40
|
npi?: string;
|
|
42
41
|
/** The status of the service facility. */
|
|
@@ -34,7 +34,6 @@ export interface OrganizationServiceFacilityCreate {
|
|
|
34
34
|
/**
|
|
35
35
|
* An NPI specific to the service facility if applicable, i.e. if it has one and is not under the billing provider's NPI.
|
|
36
36
|
* Box 32 section (a) of the CMS-1500 claim form.
|
|
37
|
-
*
|
|
38
37
|
*/
|
|
39
38
|
npi?: string;
|
|
40
39
|
/** The status of the service facility. */
|
|
@@ -34,7 +34,6 @@ export interface OrganizationServiceFacilityUpdate {
|
|
|
34
34
|
/**
|
|
35
35
|
* An NPI specific to the service facility if applicable, i.e. if it has one and is not under the billing provider's NPI.
|
|
36
36
|
* Box 32 section (a) of the CMS-1500 claim form.
|
|
37
|
-
*
|
|
38
37
|
*/
|
|
39
38
|
npi?: string;
|
|
40
39
|
/** The status of the service facility. */
|
|
@@ -46,7 +46,7 @@ export declare type ServiceFacilityPhysicalType =
|
|
|
46
46
|
* A defined physical boundary of something, such as a flood risk zone, region, postcode. */
|
|
47
47
|
| "area"
|
|
48
48
|
/**
|
|
49
|
-
* A wide scope that covers a conceptual domain, such as a Nation (Country wide community or Federal Government - e.g.
|
|
49
|
+
* A wide scope that covers a conceptual domain, such as a Nation (Country wide community or Federal Government - e.g. Ministry of Health), Province or State (community or Government), Business (throughout the enterprise), Nation with a business scope of an agency (e.g. CDC, FDA etc.) or a Business segment (UK Pharmacy), not just an physical boundary. */
|
|
50
50
|
| "jdn";
|
|
51
51
|
export declare const ServiceFacilityPhysicalType: {
|
|
52
52
|
readonly Site: "si";
|
package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare type ServiceFacilityType =
|
|
|
37
37
|
* An acute care institution that provides medical, surgical, or psychiatric care and treatment for the sick or the injured. */
|
|
38
38
|
| "HOSP"
|
|
39
39
|
/**
|
|
40
|
-
* (1) A hospital including a physical plant and personnel that provides multidisciplinary diagnosis and treatment for diseases
|
|
40
|
+
* (1) A hospital including a physical plant and personnel that provides multidisciplinary diagnosis and treatment for diseases that have one or more of the following characteristics: is permanent; leaves residual disability; is caused by nonreversible pathological alteration; requires special training of the patient for rehabilitation; and/or may be expected to require a long period of supervision or care. In addition, patients require the safety, security, and shelter of these specialized inpatient or partial hospitalization settings. (2) A hospital that provides medical and skilled nursing services to patients with long-term illnesses who are not in an acute phase but who require an intensity of services not available in nursing homes. */
|
|
41
41
|
| "CHR"
|
|
42
42
|
/**
|
|
43
43
|
* (X12N 282N00000N) */
|
|
@@ -361,7 +361,7 @@ export declare type ServiceFacilityType =
|
|
|
361
361
|
* Community location where healthcare is delivered. */
|
|
362
362
|
| "COMM"
|
|
363
363
|
/**
|
|
364
|
-
* A location that plays the role of delivering services which may include providing front-line services to the population of a
|
|
364
|
+
* A location that plays the role of delivering services which may include providing front-line services to the population of a defined geographic area such as: healthcare services and social services. */
|
|
365
365
|
| "CSC"
|
|
366
366
|
/**
|
|
367
367
|
* location where healthcare was delivered which is the residence of the Patient. */
|
|
@@ -370,7 +370,7 @@ export declare type ServiceFacilityType =
|
|
|
370
370
|
* Location where healthcare service was delivered. */
|
|
371
371
|
| "SCHOOL"
|
|
372
372
|
/**
|
|
373
|
-
* A location that plays the role of delivering services which may include:
|
|
373
|
+
* A location that plays the role of delivering services which may include: social emergency services required for a young person as required under any jurisdictional youth laws. */
|
|
374
374
|
| "UPC"
|
|
375
375
|
/**
|
|
376
376
|
* Location where healthcare service was delivered. */
|
|
@@ -16,29 +16,24 @@ export declare class V4 {
|
|
|
16
16
|
/**
|
|
17
17
|
* Returns all patient payments satisfying the search criteria AND whose organization_id matches
|
|
18
18
|
* the current organization_id of the authenticated user.
|
|
19
|
-
*
|
|
20
19
|
*/
|
|
21
20
|
getMulti(request?: CandidApi.patientPayments.v4.GetMultiPatientPaymentsRequest): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPaymentsPage, CandidApi.patientPayments.v4.getMulti.Error>>;
|
|
22
21
|
/**
|
|
23
22
|
* Retrieves a previously created patient payment by its `patient_payment_id`.
|
|
24
|
-
*
|
|
25
23
|
*/
|
|
26
24
|
get(patientPaymentId: CandidApi.patientPayments.v4.PatientPaymentId): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.get.Error>>;
|
|
27
25
|
/**
|
|
28
26
|
* Creates a new patient payment record and returns the newly created PatientPayment object.
|
|
29
27
|
* The allocations can describe whether the payment is being applied toward a specific service line,
|
|
30
28
|
* claim, or billing provider.
|
|
31
|
-
*
|
|
32
29
|
*/
|
|
33
30
|
create(request: CandidApi.patientPayments.v4.PatientPaymentCreate): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.create.Error>>;
|
|
34
31
|
/**
|
|
35
32
|
* Updates the patient payment record matching the provided patient_payment_id.
|
|
36
|
-
*
|
|
37
33
|
*/
|
|
38
34
|
update(patientPaymentId: CandidApi.patientPayments.v4.PatientPaymentId, request?: CandidApi.patientPayments.v4.PatientPaymentUpdate): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.update.Error>>;
|
|
39
35
|
/**
|
|
40
36
|
* Deletes the patient payment record matching the provided patient_payment_id.
|
|
41
|
-
*
|
|
42
37
|
*/
|
|
43
38
|
delete(patientPaymentId: CandidApi.patientPayments.v4.PatientPaymentId): Promise<core.APIResponse<void, CandidApi.patientPayments.v4.delete.Error>>;
|
|
44
39
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -44,7 +44,6 @@ class V4 {
|
|
|
44
44
|
/**
|
|
45
45
|
* Returns all patient payments satisfying the search criteria AND whose organization_id matches
|
|
46
46
|
* the current organization_id of the authenticated user.
|
|
47
|
-
*
|
|
48
47
|
*/
|
|
49
48
|
async getMulti(request = {}) {
|
|
50
49
|
const { limit, patientExternalId, claimId, serviceLineId, billingProviderId, unattributed, invoiceId, sources, sort, sortDirection, pageToken, } = request;
|
|
@@ -96,7 +95,7 @@ class V4 {
|
|
|
96
95
|
Authorization: await this._getAuthorizationHeader(),
|
|
97
96
|
"X-Fern-Language": "JavaScript",
|
|
98
97
|
"X-Fern-SDK-Name": "candidhealth",
|
|
99
|
-
"X-Fern-SDK-Version": "0.
|
|
98
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
100
99
|
},
|
|
101
100
|
contentType: "application/json",
|
|
102
101
|
queryParameters: _queryParams,
|
|
@@ -120,7 +119,6 @@ class V4 {
|
|
|
120
119
|
}
|
|
121
120
|
/**
|
|
122
121
|
* Retrieves a previously created patient payment by its `patient_payment_id`.
|
|
123
|
-
*
|
|
124
122
|
*/
|
|
125
123
|
async get(patientPaymentId) {
|
|
126
124
|
const _response = await core.fetcher({
|
|
@@ -130,7 +128,7 @@ class V4 {
|
|
|
130
128
|
Authorization: await this._getAuthorizationHeader(),
|
|
131
129
|
"X-Fern-Language": "JavaScript",
|
|
132
130
|
"X-Fern-SDK-Name": "candidhealth",
|
|
133
|
-
"X-Fern-SDK-Version": "0.
|
|
131
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
134
132
|
},
|
|
135
133
|
contentType: "application/json",
|
|
136
134
|
timeoutMs: 60000,
|
|
@@ -155,7 +153,6 @@ class V4 {
|
|
|
155
153
|
* Creates a new patient payment record and returns the newly created PatientPayment object.
|
|
156
154
|
* The allocations can describe whether the payment is being applied toward a specific service line,
|
|
157
155
|
* claim, or billing provider.
|
|
158
|
-
*
|
|
159
156
|
*/
|
|
160
157
|
async create(request) {
|
|
161
158
|
const _response = await core.fetcher({
|
|
@@ -165,7 +162,7 @@ class V4 {
|
|
|
165
162
|
Authorization: await this._getAuthorizationHeader(),
|
|
166
163
|
"X-Fern-Language": "JavaScript",
|
|
167
164
|
"X-Fern-SDK-Name": "candidhealth",
|
|
168
|
-
"X-Fern-SDK-Version": "0.
|
|
165
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
169
166
|
},
|
|
170
167
|
contentType: "application/json",
|
|
171
168
|
body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
|
|
@@ -191,7 +188,6 @@ class V4 {
|
|
|
191
188
|
}
|
|
192
189
|
/**
|
|
193
190
|
* Updates the patient payment record matching the provided patient_payment_id.
|
|
194
|
-
*
|
|
195
191
|
*/
|
|
196
192
|
async update(patientPaymentId, request = {}) {
|
|
197
193
|
const _response = await core.fetcher({
|
|
@@ -201,7 +197,7 @@ class V4 {
|
|
|
201
197
|
Authorization: await this._getAuthorizationHeader(),
|
|
202
198
|
"X-Fern-Language": "JavaScript",
|
|
203
199
|
"X-Fern-SDK-Name": "candidhealth",
|
|
204
|
-
"X-Fern-SDK-Version": "0.
|
|
200
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
205
201
|
},
|
|
206
202
|
contentType: "application/json",
|
|
207
203
|
body: await serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
|
|
@@ -227,7 +223,6 @@ class V4 {
|
|
|
227
223
|
}
|
|
228
224
|
/**
|
|
229
225
|
* Deletes the patient payment record matching the provided patient_payment_id.
|
|
230
|
-
*
|
|
231
226
|
*/
|
|
232
227
|
async delete(patientPaymentId) {
|
|
233
228
|
const _response = await core.fetcher({
|
|
@@ -237,7 +232,7 @@ class V4 {
|
|
|
237
232
|
Authorization: await this._getAuthorizationHeader(),
|
|
238
233
|
"X-Fern-Language": "JavaScript",
|
|
239
234
|
"X-Fern-SDK-Name": "candidhealth",
|
|
240
|
-
"X-Fern-SDK-Version": "0.
|
|
235
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
241
236
|
},
|
|
242
237
|
contentType: "application/json",
|
|
243
238
|
timeoutMs: 60000,
|
|
@@ -16,29 +16,24 @@ export declare class V1 {
|
|
|
16
16
|
/**
|
|
17
17
|
* Returns all patient refunds satisfying the search criteria AND whose organization_id matches
|
|
18
18
|
* the current organization_id of the authenticated user.
|
|
19
|
-
*
|
|
20
19
|
*/
|
|
21
20
|
getMulti(request?: CandidApi.patientRefunds.v1.GetMultiPatientRefundsRequest): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefundsPage, CandidApi.patientRefunds.v1.getMulti.Error>>;
|
|
22
21
|
/**
|
|
23
22
|
* Retrieves a previously created patient refund by its `patient_refund_id`.
|
|
24
|
-
*
|
|
25
23
|
*/
|
|
26
24
|
get(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.get.Error>>;
|
|
27
25
|
/**
|
|
28
26
|
* Creates a new patient refund record and returns the newly created PatientRefund object.
|
|
29
27
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
30
28
|
* claim, or billing provider.
|
|
31
|
-
*
|
|
32
29
|
*/
|
|
33
30
|
create(request: CandidApi.patientRefunds.v1.PatientRefundCreate): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.create.Error>>;
|
|
34
31
|
/**
|
|
35
32
|
* Updates the patient refund record matching the provided patient_refund_id.
|
|
36
|
-
*
|
|
37
33
|
*/
|
|
38
34
|
update(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId, request?: CandidApi.patientRefunds.v1.PatientRefundUpdate): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.update.Error>>;
|
|
39
35
|
/**
|
|
40
36
|
* Deletes the patient refund record matching the provided patient_refund_id.
|
|
41
|
-
*
|
|
42
37
|
*/
|
|
43
38
|
delete(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId): Promise<core.APIResponse<void, CandidApi.patientRefunds.v1.delete.Error>>;
|
|
44
39
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -44,7 +44,6 @@ class V1 {
|
|
|
44
44
|
/**
|
|
45
45
|
* Returns all patient refunds satisfying the search criteria AND whose organization_id matches
|
|
46
46
|
* the current organization_id of the authenticated user.
|
|
47
|
-
*
|
|
48
47
|
*/
|
|
49
48
|
async getMulti(request = {}) {
|
|
50
49
|
const { limit, patientExternalId, claimId, serviceLineId, billingProviderId, unattributed, invoiceId, sources, sort, sortDirection, pageToken, } = request;
|
|
@@ -96,7 +95,7 @@ class V1 {
|
|
|
96
95
|
Authorization: await this._getAuthorizationHeader(),
|
|
97
96
|
"X-Fern-Language": "JavaScript",
|
|
98
97
|
"X-Fern-SDK-Name": "candidhealth",
|
|
99
|
-
"X-Fern-SDK-Version": "0.
|
|
98
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
100
99
|
},
|
|
101
100
|
contentType: "application/json",
|
|
102
101
|
queryParameters: _queryParams,
|
|
@@ -120,7 +119,6 @@ class V1 {
|
|
|
120
119
|
}
|
|
121
120
|
/**
|
|
122
121
|
* Retrieves a previously created patient refund by its `patient_refund_id`.
|
|
123
|
-
*
|
|
124
122
|
*/
|
|
125
123
|
async get(patientRefundId) {
|
|
126
124
|
const _response = await core.fetcher({
|
|
@@ -130,7 +128,7 @@ class V1 {
|
|
|
130
128
|
Authorization: await this._getAuthorizationHeader(),
|
|
131
129
|
"X-Fern-Language": "JavaScript",
|
|
132
130
|
"X-Fern-SDK-Name": "candidhealth",
|
|
133
|
-
"X-Fern-SDK-Version": "0.
|
|
131
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
134
132
|
},
|
|
135
133
|
contentType: "application/json",
|
|
136
134
|
timeoutMs: 60000,
|
|
@@ -155,7 +153,6 @@ class V1 {
|
|
|
155
153
|
* Creates a new patient refund record and returns the newly created PatientRefund object.
|
|
156
154
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
157
155
|
* claim, or billing provider.
|
|
158
|
-
*
|
|
159
156
|
*/
|
|
160
157
|
async create(request) {
|
|
161
158
|
const _response = await core.fetcher({
|
|
@@ -165,7 +162,7 @@ class V1 {
|
|
|
165
162
|
Authorization: await this._getAuthorizationHeader(),
|
|
166
163
|
"X-Fern-Language": "JavaScript",
|
|
167
164
|
"X-Fern-SDK-Name": "candidhealth",
|
|
168
|
-
"X-Fern-SDK-Version": "0.
|
|
165
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
169
166
|
},
|
|
170
167
|
contentType: "application/json",
|
|
171
168
|
body: await serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
|
|
@@ -191,7 +188,6 @@ class V1 {
|
|
|
191
188
|
}
|
|
192
189
|
/**
|
|
193
190
|
* Updates the patient refund record matching the provided patient_refund_id.
|
|
194
|
-
*
|
|
195
191
|
*/
|
|
196
192
|
async update(patientRefundId, request = {}) {
|
|
197
193
|
const _response = await core.fetcher({
|
|
@@ -201,7 +197,7 @@ class V1 {
|
|
|
201
197
|
Authorization: await this._getAuthorizationHeader(),
|
|
202
198
|
"X-Fern-Language": "JavaScript",
|
|
203
199
|
"X-Fern-SDK-Name": "candidhealth",
|
|
204
|
-
"X-Fern-SDK-Version": "0.
|
|
200
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
205
201
|
},
|
|
206
202
|
contentType: "application/json",
|
|
207
203
|
body: await serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
|
|
@@ -227,7 +223,6 @@ class V1 {
|
|
|
227
223
|
}
|
|
228
224
|
/**
|
|
229
225
|
* Deletes the patient refund record matching the provided patient_refund_id.
|
|
230
|
-
*
|
|
231
226
|
*/
|
|
232
227
|
async delete(patientRefundId) {
|
|
233
228
|
const _response = await core.fetcher({
|
|
@@ -237,7 +232,7 @@ class V1 {
|
|
|
237
232
|
Authorization: await this._getAuthorizationHeader(),
|
|
238
233
|
"X-Fern-Language": "JavaScript",
|
|
239
234
|
"X-Fern-SDK-Name": "candidhealth",
|
|
240
|
-
"X-Fern-SDK-Version": "0.
|
|
235
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
241
236
|
},
|
|
242
237
|
contentType: "application/json",
|
|
243
238
|
timeoutMs: 60000,
|
|
@@ -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.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
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.
|
|
92
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
93
93
|
},
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
@@ -48,7 +48,7 @@ class ServiceFacility {
|
|
|
48
48
|
Authorization: await this._getAuthorizationHeader(),
|
|
49
49
|
"X-Fern-Language": "JavaScript",
|
|
50
50
|
"X-Fern-SDK-Name": "candidhealth",
|
|
51
|
-
"X-Fern-SDK-Version": "0.
|
|
51
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.EncounterServiceFacilityUpdate.jsonOrThrow(request, {
|
|
@@ -23,12 +23,8 @@ export interface EncounterServiceFacility {
|
|
|
23
23
|
/**
|
|
24
24
|
* An NPI specific to the service facility if applicable, i.e. if it has one and is not under the billing provider's NPI.
|
|
25
25
|
* Box 32 section (a) of the CMS-1500 claim form.
|
|
26
|
-
*
|
|
27
26
|
*/
|
|
28
27
|
npi?: string;
|
|
29
|
-
/**
|
|
30
|
-
* zip_plus_four_code is required for service facility address. When the zip_plus_four_code is not available use "9998" as per CMS documentation.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
28
|
+
/** zip_plus_four_code is required for service facility address. When the zip_plus_four_code is not available use "9998" as per CMS documentation. */
|
|
33
29
|
address: CandidApi.StreetAddressLongZip;
|
|
34
30
|
}
|
|
@@ -10,19 +10,14 @@ import * as CandidApi from "../../..";
|
|
|
10
10
|
* Box 32 on the CMS-1500 claim form.
|
|
11
11
|
* Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims
|
|
12
12
|
* must match what was provided to the payer during the credentialing process.
|
|
13
|
-
*
|
|
14
13
|
*/
|
|
15
14
|
export interface EncounterServiceFacilityBase {
|
|
16
15
|
organizationName: string;
|
|
17
16
|
/**
|
|
18
17
|
* An NPI specific to the service facility if applicable, i.e. if it has one and is not under the billing provider's NPI.
|
|
19
18
|
* Box 32 section (a) of the CMS-1500 claim form.
|
|
20
|
-
*
|
|
21
19
|
*/
|
|
22
20
|
npi?: string;
|
|
23
|
-
/**
|
|
24
|
-
* zip_plus_four_code is required for service facility address. When the zip_plus_four_code is not available use "9998" as per CMS documentation.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
21
|
+
/** zip_plus_four_code is required for service facility address. When the zip_plus_four_code is not available use "9998" as per CMS documentation. */
|
|
27
22
|
address: CandidApi.StreetAddressLongZip;
|
|
28
23
|
}
|
|
@@ -9,8 +9,7 @@ export declare type ServiceIdQualifier =
|
|
|
9
9
|
* EAN/UCC - 8 */
|
|
10
10
|
| "EO"
|
|
11
11
|
/**
|
|
12
|
-
* HIBC (Health Care Industry Bar Code) Supplier Labeling Standard Primary Data Message
|
|
13
|
-
* */
|
|
12
|
+
* HIBC (Health Care Industry Bar Code) Supplier Labeling Standard Primary Data Message */
|
|
14
13
|
| "HI"
|
|
15
14
|
/**
|
|
16
15
|
* National Drug Code in 5-4-2 Format */
|
|
@@ -89,7 +89,6 @@ export interface ServiceLine {
|
|
|
89
89
|
* String representation of a Decimal that can be parsed by most libraries.
|
|
90
90
|
* A ServiceLine quantity cannot contain more than one digit of precision.
|
|
91
91
|
* Example: 1.1 is valid, 1.11 is not.
|
|
92
|
-
*
|
|
93
92
|
*/
|
|
94
93
|
quantity: CandidApi.Decimal;
|
|
95
94
|
units: CandidApi.ServiceLineUnits;
|
|
@@ -97,7 +96,8 @@ export interface ServiceLine {
|
|
|
97
96
|
/**
|
|
98
97
|
* A range of dates of service for this service line. If the service line is for a single date, the end date
|
|
99
98
|
* will be empty.
|
|
100
|
-
*
|
|
101
99
|
*/
|
|
102
100
|
dateOfServiceRange: CandidApi.DateRangeOptionalEnd;
|
|
101
|
+
/** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P. */
|
|
102
|
+
description?: string;
|
|
103
103
|
}
|
|
@@ -9,7 +9,6 @@ export interface ServiceLineCreate {
|
|
|
9
9
|
* String representation of a Decimal that can be parsed by most libraries.
|
|
10
10
|
* A ServiceLine quantity cannot contain more than one digit of precision.
|
|
11
11
|
* Example: 1.1 is valid, 1.11 is not.
|
|
12
|
-
*
|
|
13
12
|
*/
|
|
14
13
|
quantity: CandidApi.Decimal;
|
|
15
14
|
units: CandidApi.ServiceLineUnits;
|
|
@@ -17,11 +16,12 @@ export interface ServiceLineCreate {
|
|
|
17
16
|
* The total amount charged for this service line taking quantity into account. For example, if a single unit
|
|
18
17
|
* costs 100 cents and 2 units were rendered, the charge_amount_cents should be 200. Should be greater than or
|
|
19
18
|
* equal to 0.
|
|
20
|
-
*
|
|
21
19
|
*/
|
|
22
20
|
chargeAmountCents?: number;
|
|
23
21
|
/** Indices (zero-indexed) of all the diagnoses this service line references */
|
|
24
22
|
diagnosisPointers: number[];
|
|
25
23
|
drugIdentification?: CandidApi.serviceLines.v2.DrugIdentification;
|
|
26
24
|
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
25
|
+
/** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P. */
|
|
26
|
+
description?: string;
|
|
27
27
|
}
|
|
@@ -5,7 +5,6 @@ import * as CandidApi from "../../../../..";
|
|
|
5
5
|
/**
|
|
6
6
|
* The reason a given service line was denied within a given time range.
|
|
7
7
|
* A service line may be denied for different reasons over time, but only one reason at a time.
|
|
8
|
-
*
|
|
9
8
|
*/
|
|
10
9
|
export interface ServiceLineDenialReason {
|
|
11
10
|
/** Text of the denial reason */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type TaskCategory = "other" | "provider_credentialing" | "authorization_required" | "inactive_coverage" | "unknown_eligibility_or_patient_not_found" | "incorrect_member_id" | "documentation_addendum_request" | "coordination_of_benefits" | "missing_or_incorrect_gender" | "incorrect_date_of_birth" | "incorrect_payer" | "incorrect_name" | "invalid_diagnosis_code" | "non_covered_diagnosis_codes" | "information_requested_from_patient" | "incorrect_rendering_provider_info" | "missing_or_incorrect_modifier" | "coding_frequency_error" | "incorrect_patient_address" | "multiple_em_claims" | "missing_or_incorrect_charge_amount" | "medical_records_request" | "provider_enrollment_or_contracting" | "missing_or_incorrect_group_number" | "missing_diagnosis_codes" | "missing_patient_authorization" | "incorrect_billing_provider_info" | "incorrect_procedure_code" | "incorrect_quantity" | "incorrect_place_of_service_code" | "incorrect_service_facility_info" | "incorrect_date_of_service" | "missing_or_incorrect_ndc" | "patient_collections" | "submit_to_secondary" | "transient_server_error" | "missing_remittance_enrollment" | "missing_claims_enrollment" | "held_by_customer";
|
|
4
|
+
export declare type TaskCategory = "other" | "provider_credentialing" | "authorization_required" | "inactive_coverage" | "unknown_eligibility_or_patient_not_found" | "incorrect_member_id" | "documentation_addendum_request" | "coordination_of_benefits" | "missing_or_incorrect_gender" | "incorrect_date_of_birth" | "incorrect_payer" | "incorrect_name" | "invalid_diagnosis_code" | "non_covered_diagnosis_codes" | "information_requested_from_patient" | "incorrect_rendering_provider_info" | "missing_or_incorrect_modifier" | "coding_frequency_error" | "incorrect_patient_address" | "multiple_em_claims" | "missing_or_incorrect_charge_amount" | "medical_records_request" | "provider_enrollment_or_contracting" | "missing_or_incorrect_group_number" | "missing_diagnosis_codes" | "missing_patient_authorization" | "incorrect_billing_provider_info" | "incorrect_procedure_code" | "incorrect_quantity" | "incorrect_place_of_service_code" | "incorrect_service_facility_info" | "incorrect_date_of_service" | "missing_or_incorrect_ndc" | "patient_collections" | "submit_to_secondary" | "transient_server_error" | "missing_remittance_enrollment" | "missing_claims_enrollment" | "held_by_customer" | "pending_manual_remit_posting";
|
|
5
5
|
export declare const TaskCategory: {
|
|
6
6
|
readonly Other: "other";
|
|
7
7
|
readonly ProviderCredentialing: "provider_credentialing";
|
|
@@ -42,4 +42,5 @@ export declare const TaskCategory: {
|
|
|
42
42
|
readonly MissingRemittanceEnrollment: "missing_remittance_enrollment";
|
|
43
43
|
readonly MissingClaimsEnrollment: "missing_claims_enrollment";
|
|
44
44
|
readonly HeldByCustomer: "held_by_customer";
|
|
45
|
+
readonly PendingManualRemitPosting: "pending_manual_remit_posting";
|
|
45
46
|
};
|
|
@@ -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.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -119,7 +119,7 @@ class V3 {
|
|
|
119
119
|
Authorization: await this._getAuthorizationHeader(),
|
|
120
120
|
"X-Fern-Language": "JavaScript",
|
|
121
121
|
"X-Fern-SDK-Name": "candidhealth",
|
|
122
|
-
"X-Fern-SDK-Version": "0.
|
|
122
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
123
123
|
},
|
|
124
124
|
contentType: "application/json",
|
|
125
125
|
queryParameters: _queryParams,
|
|
@@ -163,7 +163,7 @@ class V3 {
|
|
|
163
163
|
Authorization: await this._getAuthorizationHeader(),
|
|
164
164
|
"X-Fern-Language": "JavaScript",
|
|
165
165
|
"X-Fern-SDK-Name": "candidhealth",
|
|
166
|
-
"X-Fern-SDK-Version": "0.
|
|
166
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
167
167
|
},
|
|
168
168
|
contentType: "application/json",
|
|
169
169
|
timeoutMs: 60000,
|
|
@@ -207,7 +207,7 @@ class V3 {
|
|
|
207
207
|
Authorization: await this._getAuthorizationHeader(),
|
|
208
208
|
"X-Fern-Language": "JavaScript",
|
|
209
209
|
"X-Fern-SDK-Name": "candidhealth",
|
|
210
|
-
"X-Fern-SDK-Version": "0.
|
|
210
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
211
211
|
},
|
|
212
212
|
contentType: "application/json",
|
|
213
213
|
body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -237,7 +237,7 @@ class V3 {
|
|
|
237
237
|
Authorization: await this._getAuthorizationHeader(),
|
|
238
238
|
"X-Fern-Language": "JavaScript",
|
|
239
239
|
"X-Fern-SDK-Name": "candidhealth",
|
|
240
|
-
"X-Fern-SDK-Version": "0.
|
|
240
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
241
241
|
},
|
|
242
242
|
contentType: "application/json",
|
|
243
243
|
body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -15,24 +15,20 @@ export declare class V1 {
|
|
|
15
15
|
constructor(options: V1.Options);
|
|
16
16
|
/**
|
|
17
17
|
* Returns all write-offs satisfying the search criteria.
|
|
18
|
-
*
|
|
19
18
|
*/
|
|
20
19
|
getMulti(request?: CandidApi.writeOffs.v1.GetMultiWriteOffsRequest): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOffsPage, CandidApi.writeOffs.v1.getMulti.Error>>;
|
|
21
20
|
/**
|
|
22
21
|
* Retrieves a previously created write off by its `write_off_id`.
|
|
23
|
-
*
|
|
24
22
|
*/
|
|
25
23
|
get(writeOffId: CandidApi.writeOffs.v1.WriteOffId): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff, CandidApi.writeOffs.v1.get.Error>>;
|
|
26
24
|
/**
|
|
27
25
|
* Creates one or many write-offs given a specific set of allocations.
|
|
28
26
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
29
27
|
* claim, or billing provider.
|
|
30
|
-
*
|
|
31
28
|
*/
|
|
32
29
|
create(request: CandidApi.writeOffs.v1.CreateWriteOffsRequest): Promise<core.APIResponse<CandidApi.writeOffs.v1.CreateWriteOffsResponse, CandidApi.writeOffs.v1.create.Error>>;
|
|
33
30
|
/**
|
|
34
31
|
* Reverts a write off given a `write_off_id`.
|
|
35
|
-
*
|
|
36
32
|
*/
|
|
37
33
|
revert(writeOffId: CandidApi.writeOffs.v1.WriteOffId): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff, CandidApi.writeOffs.v1.revert.Error>>;
|
|
38
34
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|