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
|
@@ -43,7 +43,6 @@ class V1 {
|
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Returns all write-offs satisfying the search criteria.
|
|
46
|
-
*
|
|
47
46
|
*/
|
|
48
47
|
async getMulti(request = {}) {
|
|
49
48
|
const { limit, patientExternalId, payerUuid, serviceLineId, claimId, billingProviderId, sort, sortDirection, pageToken, accountTypes, } = request;
|
|
@@ -92,7 +91,7 @@ class V1 {
|
|
|
92
91
|
Authorization: await this._getAuthorizationHeader(),
|
|
93
92
|
"X-Fern-Language": "JavaScript",
|
|
94
93
|
"X-Fern-SDK-Name": "candidhealth",
|
|
95
|
-
"X-Fern-SDK-Version": "0.
|
|
94
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
96
95
|
},
|
|
97
96
|
contentType: "application/json",
|
|
98
97
|
queryParameters: _queryParams,
|
|
@@ -116,7 +115,6 @@ class V1 {
|
|
|
116
115
|
}
|
|
117
116
|
/**
|
|
118
117
|
* Retrieves a previously created write off by its `write_off_id`.
|
|
119
|
-
*
|
|
120
118
|
*/
|
|
121
119
|
async get(writeOffId) {
|
|
122
120
|
const _response = await core.fetcher({
|
|
@@ -126,7 +124,7 @@ class V1 {
|
|
|
126
124
|
Authorization: await this._getAuthorizationHeader(),
|
|
127
125
|
"X-Fern-Language": "JavaScript",
|
|
128
126
|
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
-
"X-Fern-SDK-Version": "0.
|
|
127
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
130
128
|
},
|
|
131
129
|
contentType: "application/json",
|
|
132
130
|
timeoutMs: 60000,
|
|
@@ -151,7 +149,6 @@ class V1 {
|
|
|
151
149
|
* Creates one or many write-offs given a specific set of allocations.
|
|
152
150
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
153
151
|
* claim, or billing provider.
|
|
154
|
-
*
|
|
155
152
|
*/
|
|
156
153
|
async create(request) {
|
|
157
154
|
const _response = await core.fetcher({
|
|
@@ -161,7 +158,7 @@ class V1 {
|
|
|
161
158
|
Authorization: await this._getAuthorizationHeader(),
|
|
162
159
|
"X-Fern-Language": "JavaScript",
|
|
163
160
|
"X-Fern-SDK-Name": "candidhealth",
|
|
164
|
-
"X-Fern-SDK-Version": "0.
|
|
161
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
165
162
|
},
|
|
166
163
|
contentType: "application/json",
|
|
167
164
|
body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -187,7 +184,6 @@ class V1 {
|
|
|
187
184
|
}
|
|
188
185
|
/**
|
|
189
186
|
* Reverts a write off given a `write_off_id`.
|
|
190
|
-
*
|
|
191
187
|
*/
|
|
192
188
|
async revert(writeOffId) {
|
|
193
189
|
const _response = await core.fetcher({
|
|
@@ -197,7 +193,7 @@ class V1 {
|
|
|
197
193
|
Authorization: await this._getAuthorizationHeader(),
|
|
198
194
|
"X-Fern-Language": "JavaScript",
|
|
199
195
|
"X-Fern-SDK-Name": "candidhealth",
|
|
200
|
-
"X-Fern-SDK-Version": "0.
|
|
196
|
+
"X-Fern-SDK-Version": "0.17.1",
|
|
201
197
|
},
|
|
202
198
|
contentType: "application/json",
|
|
203
199
|
timeoutMs: 60000,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const DelayReasonCode: core.serialization.Schema<serializers.DelayReasonCode.Raw, CandidApi.DelayReasonCode>;
|
|
8
|
+
export declare namespace DelayReasonCode {
|
|
9
|
+
type Raw = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "15" | "16" | "17";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.DelayReasonCode = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.DelayReasonCode = core.serialization.enum_(["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "15", "16", "17"]);
|
|
@@ -64,3 +64,4 @@ __exportStar(require("./OrganizationNotAuthorizedErrorMessage"), exports);
|
|
|
64
64
|
__exportStar(require("./PhoneNumber"), exports);
|
|
65
65
|
__exportStar(require("./PhoneNumberType"), exports);
|
|
66
66
|
__exportStar(require("./Email"), exports);
|
|
67
|
+
__exportStar(require("./DelayReasonCode"), exports);
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts
CHANGED
|
@@ -30,5 +30,6 @@ export declare namespace EncounterUpdate {
|
|
|
30
30
|
discharge_date?: serializers.Date_.Raw | null;
|
|
31
31
|
onset_of_current_illness_or_symptom_date?: serializers.Date_.Raw | null;
|
|
32
32
|
last_menstrual_period_date?: serializers.Date_.Raw | null;
|
|
33
|
+
delay_reason_code?: serializers.DelayReasonCode.Raw | null;
|
|
33
34
|
}
|
|
34
35
|
}
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js
CHANGED
|
@@ -68,4 +68,5 @@ exports.EncounterUpdate = core.serialization.object({
|
|
|
68
68
|
dischargeDate: core.serialization.property("discharge_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
69
69
|
onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
70
70
|
lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
71
|
+
delayReasonCode: core.serialization.property("delay_reason_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).DelayReasonCode).optional()),
|
|
71
72
|
});
|
|
@@ -28,5 +28,6 @@ export declare namespace EncounterBase {
|
|
|
28
28
|
discharge_date?: serializers.Date_.Raw | null;
|
|
29
29
|
onset_of_current_illness_or_symptom_date?: serializers.Date_.Raw | null;
|
|
30
30
|
last_menstrual_period_date?: serializers.Date_.Raw | null;
|
|
31
|
+
delay_reason_code?: serializers.DelayReasonCode.Raw | null;
|
|
31
32
|
}
|
|
32
33
|
}
|
|
@@ -60,4 +60,5 @@ exports.EncounterBase = core.serialization.object({
|
|
|
60
60
|
dischargeDate: core.serialization.property("discharge_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
|
|
61
61
|
onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
|
|
62
62
|
lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
|
|
63
|
+
delayReasonCode: core.serialization.property("delay_reason_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DelayReasonCode).optional()),
|
|
63
64
|
});
|
|
@@ -61,4 +61,5 @@ exports.ServiceLine = core.serialization.object({
|
|
|
61
61
|
units: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineUnits),
|
|
62
62
|
claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ClaimId)),
|
|
63
63
|
dateOfServiceRange: core.serialization.property("date_of_service_range", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DateRangeOptionalEnd)),
|
|
64
|
+
description: core.serialization.string().optional(),
|
|
64
65
|
});
|
|
@@ -15,5 +15,6 @@ export declare namespace ServiceLineCreate {
|
|
|
15
15
|
diagnosis_pointers: number[];
|
|
16
16
|
drug_identification?: serializers.serviceLines.v2.DrugIdentification.Raw | null;
|
|
17
17
|
place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
|
|
18
|
+
description?: string | null;
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -41,4 +41,5 @@ exports.ServiceLineCreate = core.serialization.object({
|
|
|
41
41
|
.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).serviceLines.v2.DrugIdentification)
|
|
42
42
|
.optional()),
|
|
43
43
|
placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).FacilityTypeCode).optional()),
|
|
44
|
+
description: core.serialization.string().optional(),
|
|
44
45
|
});
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const TaskCategory: core.serialization.Schema<serializers.tasks.TaskCategory.Raw, CandidApi.tasks.TaskCategory>;
|
|
8
8
|
export declare namespace TaskCategory {
|
|
9
|
-
type Raw = "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";
|
|
9
|
+
type Raw = "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";
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const DelayReasonCode: core.serialization.Schema<serializers.DelayReasonCode.Raw, CandidApi.DelayReasonCode>;
|
|
8
|
+
export declare namespace DelayReasonCode {
|
|
9
|
+
type Raw = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "15" | "16" | "17";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.DelayReasonCode = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.DelayReasonCode = core.serialization.enum_(["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "15", "16", "17"]);
|
|
@@ -64,3 +64,4 @@ __exportStar(require("./OrganizationNotAuthorizedErrorMessage"), exports);
|
|
|
64
64
|
__exportStar(require("./PhoneNumber"), exports);
|
|
65
65
|
__exportStar(require("./PhoneNumberType"), exports);
|
|
66
66
|
__exportStar(require("./Email"), exports);
|
|
67
|
+
__exportStar(require("./DelayReasonCode"), exports);
|
package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts
CHANGED
|
@@ -30,5 +30,6 @@ export declare namespace EncounterUpdate {
|
|
|
30
30
|
discharge_date?: serializers.Date_.Raw | null;
|
|
31
31
|
onset_of_current_illness_or_symptom_date?: serializers.Date_.Raw | null;
|
|
32
32
|
last_menstrual_period_date?: serializers.Date_.Raw | null;
|
|
33
|
+
delay_reason_code?: serializers.DelayReasonCode.Raw | null;
|
|
33
34
|
}
|
|
34
35
|
}
|
|
@@ -68,4 +68,5 @@ exports.EncounterUpdate = core.serialization.object({
|
|
|
68
68
|
dischargeDate: core.serialization.property("discharge_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
69
69
|
onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
70
70
|
lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
71
|
+
delayReasonCode: core.serialization.property("delay_reason_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).DelayReasonCode).optional()),
|
|
71
72
|
});
|
|
@@ -28,5 +28,6 @@ export declare namespace EncounterBase {
|
|
|
28
28
|
discharge_date?: serializers.Date_.Raw | null;
|
|
29
29
|
onset_of_current_illness_or_symptom_date?: serializers.Date_.Raw | null;
|
|
30
30
|
last_menstrual_period_date?: serializers.Date_.Raw | null;
|
|
31
|
+
delay_reason_code?: serializers.DelayReasonCode.Raw | null;
|
|
31
32
|
}
|
|
32
33
|
}
|
|
@@ -60,4 +60,5 @@ exports.EncounterBase = core.serialization.object({
|
|
|
60
60
|
dischargeDate: core.serialization.property("discharge_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
|
|
61
61
|
onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
|
|
62
62
|
lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
|
|
63
|
+
delayReasonCode: core.serialization.property("delay_reason_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DelayReasonCode).optional()),
|
|
63
64
|
});
|
|
@@ -61,4 +61,5 @@ exports.ServiceLine = core.serialization.object({
|
|
|
61
61
|
units: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineUnits),
|
|
62
62
|
claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ClaimId)),
|
|
63
63
|
dateOfServiceRange: core.serialization.property("date_of_service_range", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DateRangeOptionalEnd)),
|
|
64
|
+
description: core.serialization.string().optional(),
|
|
64
65
|
});
|
|
@@ -15,5 +15,6 @@ export declare namespace ServiceLineCreate {
|
|
|
15
15
|
diagnosis_pointers: number[];
|
|
16
16
|
drug_identification?: serializers.serviceLines.v2.DrugIdentification.Raw | null;
|
|
17
17
|
place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
|
|
18
|
+
description?: string | null;
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -41,4 +41,5 @@ exports.ServiceLineCreate = core.serialization.object({
|
|
|
41
41
|
.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).serviceLines.v2.DrugIdentification)
|
|
42
42
|
.optional()),
|
|
43
43
|
placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).FacilityTypeCode).optional()),
|
|
44
|
+
description: core.serialization.string().optional(),
|
|
44
45
|
});
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const TaskCategory: core.serialization.Schema<serializers.tasks.TaskCategory.Raw, CandidApi.tasks.TaskCategory>;
|
|
8
8
|
export declare namespace TaskCategory {
|
|
9
|
-
type Raw = "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";
|
|
9
|
+
type Raw = "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";
|
|
10
10
|
}
|