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
|
@@ -42,7 +42,6 @@ class V1 {
|
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Computes the expected network status given the provided information.
|
|
45
|
-
*
|
|
46
45
|
*/
|
|
47
46
|
async compute(request) {
|
|
48
47
|
const _response = await core.fetcher({
|
|
@@ -52,7 +51,7 @@ class V1 {
|
|
|
52
51
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
52
|
"X-Fern-Language": "JavaScript",
|
|
54
53
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.
|
|
54
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
56
55
|
},
|
|
57
56
|
contentType: "application/json",
|
|
58
57
|
body: await serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -17,14 +17,12 @@ export declare class V2 {
|
|
|
17
17
|
* Computes the expected network status for a given rendering provider.
|
|
18
18
|
* This endpoint is not available to all customers. Reach out to the Candid sales team
|
|
19
19
|
* to discuss enabling this endpoint if it is not available for your organization.
|
|
20
|
-
*
|
|
21
20
|
*/
|
|
22
21
|
computeForRenderingProvider(renderingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId, request: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2): Promise<core.APIResponse<CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusResponseV2, CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error>>;
|
|
23
22
|
/**
|
|
24
23
|
* Computes all the in network providers for a given set of inputs.
|
|
25
24
|
* This endpoint is not available to all customers. Reach out to the Candid sales team
|
|
26
25
|
* to discuss enabling this endpoint if it is not available for your organization.
|
|
27
|
-
*
|
|
28
26
|
*/
|
|
29
27
|
computeAllInNetworkProviders(request: CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest): Promise<core.APIResponse<CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersResponse, CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error>>;
|
|
30
28
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -44,7 +44,6 @@ class V2 {
|
|
|
44
44
|
* Computes the expected network status for a given rendering provider.
|
|
45
45
|
* This endpoint is not available to all customers. Reach out to the Candid sales team
|
|
46
46
|
* to discuss enabling this endpoint if it is not available for your organization.
|
|
47
|
-
*
|
|
48
47
|
*/
|
|
49
48
|
async computeForRenderingProvider(renderingProviderId, request) {
|
|
50
49
|
const _response = await core.fetcher({
|
|
@@ -54,7 +53,7 @@ class V2 {
|
|
|
54
53
|
Authorization: await this._getAuthorizationHeader(),
|
|
55
54
|
"X-Fern-Language": "JavaScript",
|
|
56
55
|
"X-Fern-SDK-Name": "candidhealth",
|
|
57
|
-
"X-Fern-SDK-Version": "0.
|
|
56
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
58
57
|
},
|
|
59
58
|
contentType: "application/json",
|
|
60
59
|
body: await serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
|
|
@@ -99,7 +98,6 @@ class V2 {
|
|
|
99
98
|
* Computes all the in network providers for a given set of inputs.
|
|
100
99
|
* This endpoint is not available to all customers. Reach out to the Candid sales team
|
|
101
100
|
* to discuss enabling this endpoint if it is not available for your organization.
|
|
102
|
-
*
|
|
103
101
|
*/
|
|
104
102
|
async computeAllInNetworkProviders(request) {
|
|
105
103
|
const _response = await core.fetcher({
|
|
@@ -109,7 +107,7 @@ class V2 {
|
|
|
109
107
|
Authorization: await this._getAuthorizationHeader(),
|
|
110
108
|
"X-Fern-Language": "JavaScript",
|
|
111
109
|
"X-Fern-SDK-Name": "candidhealth",
|
|
112
|
-
"X-Fern-SDK-Version": "0.
|
|
110
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
113
111
|
},
|
|
114
112
|
contentType: "application/json",
|
|
115
113
|
body: await serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
|
|
@@ -12,15 +12,11 @@ export interface ComputeAllInNetworkProvidersRequest {
|
|
|
12
12
|
* (see “Inputs: Service Type” in the appendix for list of qualifying CPT codes and behavioral health routing logic).
|
|
13
13
|
* Since CPT codes are not available pre-appointment, the service type input is used to determine whether the appointment is expected
|
|
14
14
|
* to qualify as behavioral health.
|
|
15
|
-
*
|
|
16
15
|
*/
|
|
17
16
|
serviceType: CandidApi.expectedNetworkStatus.v2.ServiceType;
|
|
18
17
|
/** Expected place of service */
|
|
19
18
|
placeOfServiceCode: CandidApi.FacilityTypeCode;
|
|
20
|
-
/**
|
|
21
|
-
* Information present on the patient's insurance card
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
19
|
+
/** Information present on the patient's insurance card */
|
|
24
20
|
subscriberInformation: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusSubscriberInformation;
|
|
25
21
|
patientAddress: CandidApi.StreetAddressShortZip;
|
|
26
22
|
billingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId;
|
|
@@ -12,15 +12,11 @@ export interface ExpectedNetworkStatusRequestV2 {
|
|
|
12
12
|
* (see “Inputs: Service Type” in the appendix for list of qualifying CPT codes and behavioral health routing logic).
|
|
13
13
|
* Since CPT codes are not available pre-appointment, the service type input is used to determine whether the appointment is expected
|
|
14
14
|
* to qualify as behavioral health.
|
|
15
|
-
*
|
|
16
15
|
*/
|
|
17
16
|
serviceType: CandidApi.expectedNetworkStatus.v2.ServiceType;
|
|
18
17
|
/** Expected place of service */
|
|
19
18
|
placeOfServiceCode: CandidApi.FacilityTypeCode;
|
|
20
|
-
/**
|
|
21
|
-
* Information present on the patient's insurance card
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
19
|
+
/** Information present on the patient's insurance card */
|
|
24
20
|
subscriberInformation: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusSubscriberInformation;
|
|
25
21
|
patientAddress: CandidApi.StreetAddressShortZip;
|
|
26
22
|
billingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId;
|
|
@@ -26,7 +26,6 @@ export declare class V3 {
|
|
|
26
26
|
* available by Wednesday at the latest. If file generation is still in progress upon request before 3 business days have passed, the
|
|
27
27
|
* caller will receive a 422 response. If the file has already been generated, it will be served. Please email
|
|
28
28
|
* our [Support team](mailto:support@joincandidhealth.com) with any data requests outside of these stated guarantees.
|
|
29
|
-
*
|
|
30
29
|
*/
|
|
31
30
|
getExports(request: CandidApi.exports.v3.GetExportsRequest): Promise<core.APIResponse<CandidApi.exports.v3.GetExportsResponse, CandidApi.exports.v3.getExports.Error>>;
|
|
32
31
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -54,7 +54,6 @@ class V3 {
|
|
|
54
54
|
* available by Wednesday at the latest. If file generation is still in progress upon request before 3 business days have passed, the
|
|
55
55
|
* caller will receive a 422 response. If the file has already been generated, it will be served. Please email
|
|
56
56
|
* our [Support team](mailto:support@joincandidhealth.com) with any data requests outside of these stated guarantees.
|
|
57
|
-
*
|
|
58
57
|
*/
|
|
59
58
|
async getExports(request) {
|
|
60
59
|
const { startDate, endDate } = request;
|
|
@@ -68,7 +67,7 @@ class V3 {
|
|
|
68
67
|
Authorization: await this._getAuthorizationHeader(),
|
|
69
68
|
"X-Fern-Language": "JavaScript",
|
|
70
69
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.
|
|
70
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
72
71
|
},
|
|
73
72
|
contentType: "application/json",
|
|
74
73
|
queryParameters: _queryParams,
|
|
@@ -5,13 +5,11 @@ export interface GetExportsRequest {
|
|
|
5
5
|
/**
|
|
6
6
|
* Beginning date of claim versions returned in the export, ISO 8601 date e.g. 2019-08-24.
|
|
7
7
|
* Must be at least 1 calendar day in the past. Cannot be earlier than 2022-10-07.
|
|
8
|
-
*
|
|
9
8
|
*/
|
|
10
9
|
startDate: string;
|
|
11
10
|
/**
|
|
12
11
|
* Ending date of claim versions returned in the export, ISO 8601 date; e.g. 2019-08-24.
|
|
13
12
|
* Must be within 30 days of start_date.
|
|
14
|
-
*
|
|
15
13
|
*/
|
|
16
14
|
endDate: string;
|
|
17
15
|
}
|
|
@@ -5,7 +5,6 @@ import * as CandidApi from "../../..";
|
|
|
5
5
|
/**
|
|
6
6
|
* Allocations are portions of payments that are applied to specific resources, known as targets. Each allocation has
|
|
7
7
|
* and amount, defined in cents, and a target.
|
|
8
|
-
*
|
|
9
8
|
*/
|
|
10
9
|
export interface AllocationCreate {
|
|
11
10
|
amountCents: number;
|
|
@@ -5,7 +5,6 @@ import * as CandidApi from "../../..";
|
|
|
5
5
|
/**
|
|
6
6
|
* Allocation targets describe whether the portion of a payment is being applied toward a specific service line,
|
|
7
7
|
* claim, billing provider, or is unallocated.
|
|
8
|
-
*
|
|
9
8
|
*/
|
|
10
9
|
export declare type AllocationTarget = CandidApi.AllocationTarget.ServiceLine | CandidApi.AllocationTarget.Claim | CandidApi.AllocationTarget.BillingProviderId | CandidApi.AllocationTarget.Unattributed;
|
|
11
10
|
export declare namespace AllocationTarget {
|
|
@@ -5,7 +5,6 @@ import * as CandidApi from "../../..";
|
|
|
5
5
|
/**
|
|
6
6
|
* Allocation targets describe whether the portion of a payment is being applied toward a specific service line,
|
|
7
7
|
* claim, billing provider, or is unallocated.
|
|
8
|
-
*
|
|
9
8
|
*/
|
|
10
9
|
export declare type AllocationTargetCreate = CandidApi.AllocationTargetCreate.ServiceLineById | CandidApi.AllocationTargetCreate.ClaimById | CandidApi.AllocationTargetCreate.BillingProviderById | CandidApi.AllocationTargetCreate.Unattributed;
|
|
11
10
|
export declare namespace AllocationTargetCreate {
|
|
@@ -15,17 +15,14 @@ export declare class V1 {
|
|
|
15
15
|
constructor(options: V1.Options);
|
|
16
16
|
/**
|
|
17
17
|
* Creates a new guarantor and returns the newly created Guarantor object.
|
|
18
|
-
*
|
|
19
18
|
*/
|
|
20
19
|
create(encounterId: CandidApi.EncounterId, request: CandidApi.guarantor.v1.GuarantorCreate): Promise<core.APIResponse<CandidApi.guarantor.v1.Guarantor, CandidApi.guarantor.v1.create.Error>>;
|
|
21
20
|
/**
|
|
22
21
|
* Retrieves a guarantor by its `guarantor_id`.
|
|
23
|
-
*
|
|
24
22
|
*/
|
|
25
23
|
get(guarantorId: CandidApi.guarantor.v1.GuarantorId): Promise<core.APIResponse<CandidApi.guarantor.v1.Guarantor, CandidApi.guarantor.v1.get.Error>>;
|
|
26
24
|
/**
|
|
27
25
|
* Updates a guarantor by its `guarantor_id`.
|
|
28
|
-
*
|
|
29
26
|
*/
|
|
30
27
|
update(guarantorId: CandidApi.guarantor.v1.GuarantorId, request?: CandidApi.guarantor.v1.GuarantorUpdate): Promise<core.APIResponse<CandidApi.guarantor.v1.Guarantor, CandidApi.guarantor.v1.update.Error>>;
|
|
31
28
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -42,7 +42,6 @@ class V1 {
|
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Creates a new guarantor and returns the newly created Guarantor object.
|
|
45
|
-
*
|
|
46
45
|
*/
|
|
47
46
|
async create(encounterId, request) {
|
|
48
47
|
const _response = await core.fetcher({
|
|
@@ -52,7 +51,7 @@ class V1 {
|
|
|
52
51
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
52
|
"X-Fern-Language": "JavaScript",
|
|
54
53
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.
|
|
54
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
56
55
|
},
|
|
57
56
|
contentType: "application/json",
|
|
58
57
|
body: await serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, {
|
|
@@ -92,7 +91,6 @@ class V1 {
|
|
|
92
91
|
}
|
|
93
92
|
/**
|
|
94
93
|
* Retrieves a guarantor by its `guarantor_id`.
|
|
95
|
-
*
|
|
96
94
|
*/
|
|
97
95
|
async get(guarantorId) {
|
|
98
96
|
const _response = await core.fetcher({
|
|
@@ -102,7 +100,7 @@ class V1 {
|
|
|
102
100
|
Authorization: await this._getAuthorizationHeader(),
|
|
103
101
|
"X-Fern-Language": "JavaScript",
|
|
104
102
|
"X-Fern-SDK-Name": "candidhealth",
|
|
105
|
-
"X-Fern-SDK-Version": "0.
|
|
103
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
106
104
|
},
|
|
107
105
|
contentType: "application/json",
|
|
108
106
|
timeoutMs: 60000,
|
|
@@ -125,7 +123,6 @@ class V1 {
|
|
|
125
123
|
}
|
|
126
124
|
/**
|
|
127
125
|
* Updates a guarantor by its `guarantor_id`.
|
|
128
|
-
*
|
|
129
126
|
*/
|
|
130
127
|
async update(guarantorId, request = {}) {
|
|
131
128
|
const _response = await core.fetcher({
|
|
@@ -135,7 +132,7 @@ class V1 {
|
|
|
135
132
|
Authorization: await this._getAuthorizationHeader(),
|
|
136
133
|
"X-Fern-Language": "JavaScript",
|
|
137
134
|
"X-Fern-SDK-Name": "candidhealth",
|
|
138
|
-
"X-Fern-SDK-Version": "0.
|
|
135
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
139
136
|
},
|
|
140
137
|
contentType: "application/json",
|
|
141
138
|
body: await serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, {
|
|
@@ -3,11 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../..";
|
|
5
5
|
export interface PatientBase extends CandidApi.IndividualBase {
|
|
6
|
-
/**
|
|
7
|
-
* Another ID you want to associate with this patient.
|
|
8
|
-
* For example, your internal patient ID or a Dr. Chrono patient ID. Box 1a on the CMS-1500 claim form
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
6
|
+
/** The ID used to identify this individual in your system. For example, your internal patient ID or an EHR patient ID. */
|
|
11
7
|
externalId: string;
|
|
12
8
|
/** Box 3 on the CMS-1500 claim form. The date format should be in ISO 8601 date; formatted YYYY-MM-DD (i.e. 2012-02-01) */
|
|
13
9
|
dateOfBirth: CandidApi.Date_;
|
|
@@ -15,17 +15,14 @@ export declare class V1 {
|
|
|
15
15
|
constructor(options: V1.Options);
|
|
16
16
|
/**
|
|
17
17
|
* Retrieves a previously created insurance adjudication by its `insurance_adjudication_id`.
|
|
18
|
-
*
|
|
19
18
|
*/
|
|
20
19
|
get(insuranceAdjudicationId: CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId): Promise<core.APIResponse<CandidApi.insuranceAdjudications.v1.InsuranceAdjudication, CandidApi.insuranceAdjudications.v1.get.Error>>;
|
|
21
20
|
/**
|
|
22
21
|
* Creates a new insurance adjudication record and returns the newly created InsuranceAdjudication object.
|
|
23
|
-
*
|
|
24
22
|
*/
|
|
25
23
|
create(request: CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationCreate): Promise<core.APIResponse<CandidApi.insuranceAdjudications.v1.InsuranceAdjudication, CandidApi.insuranceAdjudications.v1.create.Error>>;
|
|
26
24
|
/**
|
|
27
25
|
* Deletes the insurance adjudication record matching the provided insurance_adjudication_id.
|
|
28
|
-
*
|
|
29
26
|
*/
|
|
30
27
|
delete(insuranceAdjudicationId: CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId): Promise<core.APIResponse<void, CandidApi.insuranceAdjudications.v1.delete.Error>>;
|
|
31
28
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -42,7 +42,6 @@ class V1 {
|
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Retrieves a previously created insurance adjudication by its `insurance_adjudication_id`.
|
|
45
|
-
*
|
|
46
45
|
*/
|
|
47
46
|
async get(insuranceAdjudicationId) {
|
|
48
47
|
const _response = await core.fetcher({
|
|
@@ -52,7 +51,7 @@ class V1 {
|
|
|
52
51
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
52
|
"X-Fern-Language": "JavaScript",
|
|
54
53
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.
|
|
54
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
56
55
|
},
|
|
57
56
|
contentType: "application/json",
|
|
58
57
|
timeoutMs: 60000,
|
|
@@ -75,7 +74,6 @@ class V1 {
|
|
|
75
74
|
}
|
|
76
75
|
/**
|
|
77
76
|
* Creates a new insurance adjudication record and returns the newly created InsuranceAdjudication object.
|
|
78
|
-
*
|
|
79
77
|
*/
|
|
80
78
|
async create(request) {
|
|
81
79
|
const _response = await core.fetcher({
|
|
@@ -85,7 +83,7 @@ class V1 {
|
|
|
85
83
|
Authorization: await this._getAuthorizationHeader(),
|
|
86
84
|
"X-Fern-Language": "JavaScript",
|
|
87
85
|
"X-Fern-SDK-Name": "candidhealth",
|
|
88
|
-
"X-Fern-SDK-Version": "0.
|
|
86
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
89
87
|
},
|
|
90
88
|
contentType: "application/json",
|
|
91
89
|
body: await serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
|
|
@@ -125,7 +123,6 @@ class V1 {
|
|
|
125
123
|
}
|
|
126
124
|
/**
|
|
127
125
|
* Deletes the insurance adjudication record matching the provided insurance_adjudication_id.
|
|
128
|
-
*
|
|
129
126
|
*/
|
|
130
127
|
async delete(insuranceAdjudicationId) {
|
|
131
128
|
const _response = await core.fetcher({
|
|
@@ -135,7 +132,7 @@ class V1 {
|
|
|
135
132
|
Authorization: await this._getAuthorizationHeader(),
|
|
136
133
|
"X-Fern-Language": "JavaScript",
|
|
137
134
|
"X-Fern-SDK-Name": "candidhealth",
|
|
138
|
-
"X-Fern-SDK-Version": "0.
|
|
135
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
139
136
|
},
|
|
140
137
|
contentType: "application/json",
|
|
141
138
|
timeoutMs: 60000,
|
|
@@ -15,33 +15,28 @@ export declare class V1 {
|
|
|
15
15
|
constructor(options: V1.Options);
|
|
16
16
|
/**
|
|
17
17
|
* Returns all non-ERA originated insurance payments satisfying the search criteria
|
|
18
|
-
*
|
|
19
18
|
*/
|
|
20
19
|
getMulti(request?: CandidApi.insurancePayments.v1.GetMultiInsurancePaymentRequest): Promise<core.APIResponse<CandidApi.insurancePayments.v1.InsurancePaymentsPage, CandidApi.insurancePayments.v1.getMulti.Error>>;
|
|
21
20
|
/**
|
|
22
21
|
* Retrieves a previously created insurance payment by its `insurance_payment_id`.
|
|
23
22
|
* If the payment does not exist, a `403` will be thrown.
|
|
24
|
-
*
|
|
25
23
|
*/
|
|
26
24
|
get(insurancePaymentId: CandidApi.insurancePayments.v1.InsurancePaymentId): Promise<core.APIResponse<CandidApi.insurancePayments.v1.InsurancePayment, CandidApi.insurancePayments.v1.get.Error>>;
|
|
27
25
|
/**
|
|
28
26
|
* Creates a new insurance payment record and returns the newly created `InsurancePayment` object. This endpoint
|
|
29
27
|
* should only be used for insurance payments that do not have a corresponding ERA (for example: a settlement check
|
|
30
28
|
* from a payer). If the payment is an ERA, then you should used the insurance-adjudications API.
|
|
31
|
-
*
|
|
32
29
|
*/
|
|
33
30
|
create(request: CandidApi.insurancePayments.v1.InsurancePaymentCreate): Promise<core.APIResponse<CandidApi.insurancePayments.v1.InsurancePayment, CandidApi.insurancePayments.v1.create.Error>>;
|
|
34
31
|
/**
|
|
35
32
|
* Updates the patient payment record matching the provided insurance_payment_id. If updating the payment amount,
|
|
36
33
|
* then the allocations must be appropriately updated as well.
|
|
37
|
-
*
|
|
38
34
|
*/
|
|
39
35
|
update(insurancePaymentId: CandidApi.insurancePayments.v1.InsurancePaymentId, request?: CandidApi.insurancePayments.v1.InsurancePaymentUpdate): Promise<core.APIResponse<CandidApi.insurancePayments.v1.InsurancePayment, CandidApi.insurancePayments.v1.update.Error>>;
|
|
40
36
|
/**
|
|
41
37
|
* Deletes the insurance payment record matching the provided `insurance_payment_id`.
|
|
42
38
|
* If the matching record's organization_id does not match the authenticated user's
|
|
43
39
|
* current organization_id, then a response code of `403` will be returned.
|
|
44
|
-
*
|
|
45
40
|
*/
|
|
46
41
|
delete(insurancePaymentId: CandidApi.insurancePayments.v1.InsurancePaymentId): Promise<core.APIResponse<void, CandidApi.insurancePayments.v1.delete.Error>>;
|
|
47
42
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -43,7 +43,6 @@ class V1 {
|
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Returns all non-ERA originated insurance payments satisfying the search criteria
|
|
46
|
-
*
|
|
47
46
|
*/
|
|
48
47
|
async getMulti(request = {}) {
|
|
49
48
|
const { limit, payerUuid, claimId, serviceLineId, billingProviderId, sort, sortDirection, pageToken } = request;
|
|
@@ -79,7 +78,7 @@ class V1 {
|
|
|
79
78
|
Authorization: await this._getAuthorizationHeader(),
|
|
80
79
|
"X-Fern-Language": "JavaScript",
|
|
81
80
|
"X-Fern-SDK-Name": "candidhealth",
|
|
82
|
-
"X-Fern-SDK-Version": "0.
|
|
81
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
83
82
|
},
|
|
84
83
|
contentType: "application/json",
|
|
85
84
|
queryParameters: _queryParams,
|
|
@@ -119,7 +118,6 @@ class V1 {
|
|
|
119
118
|
/**
|
|
120
119
|
* Retrieves a previously created insurance payment by its `insurance_payment_id`.
|
|
121
120
|
* If the payment does not exist, a `403` will be thrown.
|
|
122
|
-
*
|
|
123
121
|
*/
|
|
124
122
|
async get(insurancePaymentId) {
|
|
125
123
|
const _response = await core.fetcher({
|
|
@@ -129,7 +127,7 @@ class V1 {
|
|
|
129
127
|
Authorization: await this._getAuthorizationHeader(),
|
|
130
128
|
"X-Fern-Language": "JavaScript",
|
|
131
129
|
"X-Fern-SDK-Name": "candidhealth",
|
|
132
|
-
"X-Fern-SDK-Version": "0.
|
|
130
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
133
131
|
},
|
|
134
132
|
contentType: "application/json",
|
|
135
133
|
timeoutMs: 60000,
|
|
@@ -169,7 +167,6 @@ class V1 {
|
|
|
169
167
|
* Creates a new insurance payment record and returns the newly created `InsurancePayment` object. This endpoint
|
|
170
168
|
* should only be used for insurance payments that do not have a corresponding ERA (for example: a settlement check
|
|
171
169
|
* from a payer). If the payment is an ERA, then you should used the insurance-adjudications API.
|
|
172
|
-
*
|
|
173
170
|
*/
|
|
174
171
|
async create(request) {
|
|
175
172
|
const _response = await core.fetcher({
|
|
@@ -179,7 +176,7 @@ class V1 {
|
|
|
179
176
|
Authorization: await this._getAuthorizationHeader(),
|
|
180
177
|
"X-Fern-Language": "JavaScript",
|
|
181
178
|
"X-Fern-SDK-Name": "candidhealth",
|
|
182
|
-
"X-Fern-SDK-Version": "0.
|
|
179
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
183
180
|
},
|
|
184
181
|
contentType: "application/json",
|
|
185
182
|
body: await serializers.insurancePayments.v1.InsurancePaymentCreate.jsonOrThrow(request, {
|
|
@@ -220,7 +217,6 @@ class V1 {
|
|
|
220
217
|
/**
|
|
221
218
|
* Updates the patient payment record matching the provided insurance_payment_id. If updating the payment amount,
|
|
222
219
|
* then the allocations must be appropriately updated as well.
|
|
223
|
-
*
|
|
224
220
|
*/
|
|
225
221
|
async update(insurancePaymentId, request = {}) {
|
|
226
222
|
const _response = await core.fetcher({
|
|
@@ -230,7 +226,7 @@ class V1 {
|
|
|
230
226
|
Authorization: await this._getAuthorizationHeader(),
|
|
231
227
|
"X-Fern-Language": "JavaScript",
|
|
232
228
|
"X-Fern-SDK-Name": "candidhealth",
|
|
233
|
-
"X-Fern-SDK-Version": "0.
|
|
229
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
234
230
|
},
|
|
235
231
|
contentType: "application/json",
|
|
236
232
|
body: await serializers.insurancePayments.v1.InsurancePaymentUpdate.jsonOrThrow(request, {
|
|
@@ -273,7 +269,6 @@ class V1 {
|
|
|
273
269
|
* Deletes the insurance payment record matching the provided `insurance_payment_id`.
|
|
274
270
|
* If the matching record's organization_id does not match the authenticated user's
|
|
275
271
|
* current organization_id, then a response code of `403` will be returned.
|
|
276
|
-
*
|
|
277
272
|
*/
|
|
278
273
|
async delete(insurancePaymentId) {
|
|
279
274
|
const _response = await core.fetcher({
|
|
@@ -283,7 +278,7 @@ class V1 {
|
|
|
283
278
|
Authorization: await this._getAuthorizationHeader(),
|
|
284
279
|
"X-Fern-Language": "JavaScript",
|
|
285
280
|
"X-Fern-SDK-Name": "candidhealth",
|
|
286
|
-
"X-Fern-SDK-Version": "0.
|
|
281
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
287
282
|
},
|
|
288
283
|
contentType: "application/json",
|
|
289
284
|
timeoutMs: 60000,
|
|
@@ -16,33 +16,28 @@ export declare class V1 {
|
|
|
16
16
|
/**
|
|
17
17
|
* Returns all insurance 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.insuranceRefunds.v1.GetMultiInsuranceRefundsRequest): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefundsPage, CandidApi.insuranceRefunds.v1.getMulti.Error>>;
|
|
22
21
|
/**
|
|
23
22
|
* Retrieves a previously created insurance refund by its `insurance_refund_id`.
|
|
24
23
|
* If the refund does not exist, a `403` will be thrown.
|
|
25
|
-
*
|
|
26
24
|
*/
|
|
27
25
|
get(insuranceRefundId: CandidApi.insuranceRefunds.v1.InsuranceRefundId): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefund, CandidApi.insuranceRefunds.v1.get.Error>>;
|
|
28
26
|
/**
|
|
29
27
|
* Creates a new insurance refund record and returns the newly created `InsuranceRefund` object.
|
|
30
28
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
31
29
|
* claim, or billing provider.
|
|
32
|
-
*
|
|
33
30
|
*/
|
|
34
31
|
create(request: CandidApi.insuranceRefunds.v1.InsuranceRefundCreate): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefund, CandidApi.insuranceRefunds.v1.create.Error>>;
|
|
35
32
|
/**
|
|
36
33
|
* Updates the patient refund record matching the provided insurance_refund_id. If updating the refund amount,
|
|
37
34
|
* then the allocations must be appropriately updated as well.
|
|
38
|
-
*
|
|
39
35
|
*/
|
|
40
36
|
update(insuranceRefundId: CandidApi.insuranceRefunds.v1.InsuranceRefundId, request?: CandidApi.insuranceRefunds.v1.InsuranceRefundUpdate): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefund, CandidApi.insuranceRefunds.v1.update.Error>>;
|
|
41
37
|
/**
|
|
42
38
|
* Deletes the insurance refund record matching the provided `insurance_refund_id`.
|
|
43
39
|
* If the matching record's organization_id does not match the authenticated user's
|
|
44
40
|
* current organization_id, then a response code of `403` will be returned.
|
|
45
|
-
*
|
|
46
41
|
*/
|
|
47
42
|
delete(insuranceRefundId: CandidApi.insuranceRefunds.v1.InsuranceRefundId): Promise<core.APIResponse<void, CandidApi.insuranceRefunds.v1.delete.Error>>;
|
|
48
43
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -44,7 +44,6 @@ class V1 {
|
|
|
44
44
|
/**
|
|
45
45
|
* Returns all insurance 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, payerUuid, claimId, serviceLineId, billingProviderId, sort, sortDirection, pageToken } = request;
|
|
@@ -80,7 +79,7 @@ class V1 {
|
|
|
80
79
|
Authorization: await this._getAuthorizationHeader(),
|
|
81
80
|
"X-Fern-Language": "JavaScript",
|
|
82
81
|
"X-Fern-SDK-Name": "candidhealth",
|
|
83
|
-
"X-Fern-SDK-Version": "0.
|
|
82
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
84
83
|
},
|
|
85
84
|
contentType: "application/json",
|
|
86
85
|
queryParameters: _queryParams,
|
|
@@ -105,7 +104,6 @@ class V1 {
|
|
|
105
104
|
/**
|
|
106
105
|
* Retrieves a previously created insurance refund by its `insurance_refund_id`.
|
|
107
106
|
* If the refund does not exist, a `403` will be thrown.
|
|
108
|
-
*
|
|
109
107
|
*/
|
|
110
108
|
async get(insuranceRefundId) {
|
|
111
109
|
const _response = await core.fetcher({
|
|
@@ -115,7 +113,7 @@ class V1 {
|
|
|
115
113
|
Authorization: await this._getAuthorizationHeader(),
|
|
116
114
|
"X-Fern-Language": "JavaScript",
|
|
117
115
|
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
-
"X-Fern-SDK-Version": "0.
|
|
116
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
119
117
|
},
|
|
120
118
|
contentType: "application/json",
|
|
121
119
|
timeoutMs: 60000,
|
|
@@ -140,7 +138,6 @@ class V1 {
|
|
|
140
138
|
* Creates a new insurance refund record and returns the newly created `InsuranceRefund` object.
|
|
141
139
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
142
140
|
* claim, or billing provider.
|
|
143
|
-
*
|
|
144
141
|
*/
|
|
145
142
|
async create(request) {
|
|
146
143
|
const _response = await core.fetcher({
|
|
@@ -150,7 +147,7 @@ class V1 {
|
|
|
150
147
|
Authorization: await this._getAuthorizationHeader(),
|
|
151
148
|
"X-Fern-Language": "JavaScript",
|
|
152
149
|
"X-Fern-SDK-Name": "candidhealth",
|
|
153
|
-
"X-Fern-SDK-Version": "0.
|
|
150
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
154
151
|
},
|
|
155
152
|
contentType: "application/json",
|
|
156
153
|
body: await serializers.insuranceRefunds.v1.InsuranceRefundCreate.jsonOrThrow(request, {
|
|
@@ -177,7 +174,6 @@ class V1 {
|
|
|
177
174
|
/**
|
|
178
175
|
* Updates the patient refund record matching the provided insurance_refund_id. If updating the refund amount,
|
|
179
176
|
* then the allocations must be appropriately updated as well.
|
|
180
|
-
*
|
|
181
177
|
*/
|
|
182
178
|
async update(insuranceRefundId, request = {}) {
|
|
183
179
|
const _response = await core.fetcher({
|
|
@@ -187,7 +183,7 @@ class V1 {
|
|
|
187
183
|
Authorization: await this._getAuthorizationHeader(),
|
|
188
184
|
"X-Fern-Language": "JavaScript",
|
|
189
185
|
"X-Fern-SDK-Name": "candidhealth",
|
|
190
|
-
"X-Fern-SDK-Version": "0.
|
|
186
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
191
187
|
},
|
|
192
188
|
contentType: "application/json",
|
|
193
189
|
body: await serializers.insuranceRefunds.v1.InsuranceRefundUpdate.jsonOrThrow(request, {
|
|
@@ -215,7 +211,6 @@ class V1 {
|
|
|
215
211
|
* Deletes the insurance refund record matching the provided `insurance_refund_id`.
|
|
216
212
|
* If the matching record's organization_id does not match the authenticated user's
|
|
217
213
|
* current organization_id, then a response code of `403` will be returned.
|
|
218
|
-
*
|
|
219
214
|
*/
|
|
220
215
|
async delete(insuranceRefundId) {
|
|
221
216
|
const _response = await core.fetcher({
|
|
@@ -225,7 +220,7 @@ class V1 {
|
|
|
225
220
|
Authorization: await this._getAuthorizationHeader(),
|
|
226
221
|
"X-Fern-Language": "JavaScript",
|
|
227
222
|
"X-Fern-SDK-Name": "candidhealth",
|
|
228
|
-
"X-Fern-SDK-Version": "0.
|
|
223
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
229
224
|
},
|
|
230
225
|
contentType: "application/json",
|
|
231
226
|
timeoutMs: 60000,
|
package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts
CHANGED
|
@@ -15,15 +15,9 @@ export interface OrganizationProviderBase {
|
|
|
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;
|
|
@@ -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,
|
|
@@ -115,7 +115,7 @@ class V3 {
|
|
|
115
115
|
Authorization: await this._getAuthorizationHeader(),
|
|
116
116
|
"X-Fern-Language": "JavaScript",
|
|
117
117
|
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
-
"X-Fern-SDK-Version": "0.
|
|
118
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
119
119
|
},
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
queryParameters: _queryParams,
|
|
@@ -145,7 +145,7 @@ class V3 {
|
|
|
145
145
|
Authorization: await this._getAuthorizationHeader(),
|
|
146
146
|
"X-Fern-Language": "JavaScript",
|
|
147
147
|
"X-Fern-SDK-Name": "candidhealth",
|
|
148
|
-
"X-Fern-SDK-Version": "0.
|
|
148
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
149
149
|
},
|
|
150
150
|
contentType: "application/json",
|
|
151
151
|
body: await serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
|
|
@@ -192,7 +192,7 @@ class V3 {
|
|
|
192
192
|
Authorization: await this._getAuthorizationHeader(),
|
|
193
193
|
"X-Fern-Language": "JavaScript",
|
|
194
194
|
"X-Fern-SDK-Name": "candidhealth",
|
|
195
|
-
"X-Fern-SDK-Version": "0.
|
|
195
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
196
196
|
},
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
|
|
@@ -15,15 +15,9 @@ export interface OrganizationProviderCreateV2 {
|
|
|
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;
|