candidhealth 0.4.5 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/client/Client.js +1 -1
- package/api/resources/claims/types/Claim.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +12 -9
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
- package/api/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.d.ts +10 -0
- package/api/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.js +12 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/api/resources/expectedNetworkStatus/client/Client.js +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/index.d.ts +1 -2
- package/api/resources/index.js +2 -3
- package/api/resources/payers/client/Client.js +2 -2
- package/api/resources/serviceLines/index.d.ts +1 -1
- package/api/resources/serviceLines/index.js +1 -1
- package/api/resources/serviceLines/resources/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/index.js +27 -0
- package/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/index.js +17 -0
- package/{dist/api/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/DrugIdentification.d.ts +3 -3
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +39 -0
- package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.d.ts +4 -3
- package/{dist/api/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/ServiceLineDenialReason.d.ts +2 -2
- package/{dist/api/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/ServiceLineEraData.d.ts +2 -2
- package/api/resources/serviceLines/{types → resources/v2/types}/index.d.ts +0 -2
- package/{dist/api/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/index.js +0 -2
- package/api/resources/tasks/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/client/Client.js +1 -1
- package/dist/api/resources/claims/types/Claim.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +12 -9
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.d.ts +10 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.js +12 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/api/resources/expectedNetworkStatus/client/Client.js +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +1 -2
- package/dist/api/resources/index.js +2 -3
- package/dist/api/resources/payers/client/Client.js +2 -2
- package/dist/api/resources/serviceLines/index.d.ts +1 -1
- package/dist/api/resources/serviceLines/index.js +1 -1
- package/dist/api/resources/serviceLines/resources/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/index.js +27 -0
- package/dist/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/index.js +17 -0
- package/{api/resources/serviceLines → dist/api/resources/serviceLines/resources/v2}/types/DrugIdentification.d.ts +3 -3
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +39 -0
- package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.d.ts +4 -3
- package/{api/resources/serviceLines → dist/api/resources/serviceLines/resources/v2}/types/ServiceLineDenialReason.d.ts +2 -2
- package/{api/resources/serviceLines → dist/api/resources/serviceLines/resources/v2}/types/ServiceLineEraData.d.ts +2 -2
- package/dist/api/resources/serviceLines/{types → resources/v2/types}/index.d.ts +0 -2
- package/dist/{serialization/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/index.js +0 -2
- package/dist/api/resources/tasks/resources/v3/client/Client.js +1 -1
- package/dist/serialization/resources/claims/types/Claim.d.ts +1 -1
- package/dist/serialization/resources/claims/types/Claim.js +1 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -1
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.d.ts +10 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.js +31 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +1 -2
- package/dist/serialization/resources/index.js +2 -3
- package/dist/serialization/resources/serviceLines/index.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/index.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/index.js +27 -0
- package/dist/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/index.js +17 -0
- package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.d.ts +4 -4
- package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +17 -0
- package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/DrugIdentification.js +3 -3
- package/dist/serialization/resources/serviceLines/resources/v2/types/MeasurementUnitCode.d.ts +10 -0
- package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceIdQualifier.d.ts +10 -0
- package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +33 -0
- package/{serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.js → dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js} +26 -15
- package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/ServiceLineAdjustment.d.ts +4 -4
- package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/ServiceLineAdjustment.js +1 -1
- package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/ServiceLineCreate.d.ts +7 -6
- package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.js +12 -9
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +12 -0
- package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceLineDenialReason.js +4 -2
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +13 -0
- package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/ServiceLineEraData.js +2 -2
- package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/index.d.ts +0 -2
- package/{api/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/index.js +0 -2
- package/package.json +1 -1
- package/serialization/resources/claims/types/Claim.d.ts +1 -1
- package/serialization/resources/claims/types/Claim.js +1 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -1
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.js +31 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/serialization/resources/index.d.ts +1 -2
- package/serialization/resources/index.js +2 -3
- package/serialization/resources/serviceLines/index.d.ts +1 -1
- package/serialization/resources/serviceLines/index.js +1 -1
- package/serialization/resources/serviceLines/resources/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/index.js +27 -0
- package/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/index.js +17 -0
- package/serialization/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.d.ts +4 -4
- package/serialization/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +17 -0
- package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/DrugIdentification.js +3 -3
- package/serialization/resources/serviceLines/resources/v2/types/MeasurementUnitCode.d.ts +10 -0
- package/serialization/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceIdQualifier.d.ts +10 -0
- package/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +33 -0
- package/{dist/serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.js → serialization/resources/serviceLines/resources/v2/types/ServiceLine.js} +26 -15
- package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/ServiceLineAdjustment.d.ts +4 -4
- package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/ServiceLineAdjustment.js +1 -1
- package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/ServiceLineCreate.d.ts +7 -6
- package/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.js +12 -9
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +12 -0
- package/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceLineDenialReason.js +4 -2
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +13 -0
- package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/ServiceLineEraData.js +2 -2
- package/serialization/resources/serviceLines/{types → resources/v2/types}/index.d.ts +0 -2
- package/serialization/resources/serviceLines/{types → resources/v2/types}/index.js +0 -2
- package/api/resources/serviceLines/types/ServiceLine.d.ts +0 -23
- package/api/resources/serviceLines/types/ServiceLineBase.d.ts +0 -7
- package/api/resources/serviceLines/types/ServiceLineBase.js +0 -5
- package/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +0 -21
- package/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.js +0 -5
- package/dist/api/resources/serviceLines/types/ServiceLine.d.ts +0 -23
- package/dist/api/resources/serviceLines/types/ServiceLineBase.d.ts +0 -7
- package/dist/api/resources/serviceLines/types/ServiceLineBase.js +0 -5
- package/dist/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +0 -21
- package/dist/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.js +0 -5
- package/dist/serialization/resources/serviceLines/types/DrugIdentification.d.ts +0 -17
- package/dist/serialization/resources/serviceLines/types/MeasurementUnitCode.d.ts +0 -10
- package/dist/serialization/resources/serviceLines/types/ServiceIdQualifier.d.ts +0 -10
- package/dist/serialization/resources/serviceLines/types/ServiceLine.d.ts +0 -17
- package/dist/serialization/resources/serviceLines/types/ServiceLine.js +0 -40
- package/dist/serialization/resources/serviceLines/types/ServiceLineBase.d.ts +0 -12
- package/dist/serialization/resources/serviceLines/types/ServiceLineBase.js +0 -35
- package/dist/serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +0 -26
- package/dist/serialization/resources/serviceLines/types/ServiceLineDenialReason.d.ts +0 -12
- package/dist/serialization/resources/serviceLines/types/ServiceLineEraData.d.ts +0 -13
- package/serialization/resources/serviceLines/types/DrugIdentification.d.ts +0 -17
- package/serialization/resources/serviceLines/types/MeasurementUnitCode.d.ts +0 -10
- package/serialization/resources/serviceLines/types/ServiceIdQualifier.d.ts +0 -10
- package/serialization/resources/serviceLines/types/ServiceLine.d.ts +0 -17
- package/serialization/resources/serviceLines/types/ServiceLine.js +0 -40
- package/serialization/resources/serviceLines/types/ServiceLineBase.d.ts +0 -12
- package/serialization/resources/serviceLines/types/ServiceLineBase.js +0 -35
- package/serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +0 -26
- package/serialization/resources/serviceLines/types/ServiceLineDenialReason.d.ts +0 -12
- package/serialization/resources/serviceLines/types/ServiceLineEraData.d.ts +0 -13
- /package/api/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.d.ts +0 -0
- /package/api/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.js +0 -0
- /package/api/resources/serviceLines/{types → resources/v2/types}/DrugIdentification.js +0 -0
- /package/api/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.d.ts +0 -0
- /package/api/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.js +0 -0
- /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.d.ts +0 -0
- /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.js +0 -0
- /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLine.js +0 -0
- /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineAdjustment.d.ts +0 -0
- /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineAdjustment.js +0 -0
- /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.js +0 -0
- /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineDenialReason.js +0 -0
- /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineEraData.js +0 -0
- /package/dist/api/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.d.ts +0 -0
- /package/dist/api/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.js +0 -0
- /package/dist/api/resources/serviceLines/{types → resources/v2/types}/DrugIdentification.js +0 -0
- /package/dist/api/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.d.ts +0 -0
- /package/dist/api/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.js +0 -0
- /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.d.ts +0 -0
- /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.js +0 -0
- /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLine.js +0 -0
- /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineAdjustment.d.ts +0 -0
- /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineAdjustment.js +0 -0
- /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.js +0 -0
- /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineDenialReason.js +0 -0
- /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineEraData.js +0 -0
|
@@ -48,7 +48,7 @@ class V2 {
|
|
|
48
48
|
Authorization: await this._getAuthorizationHeader(),
|
|
49
49
|
"X-Fern-Language": "JavaScript",
|
|
50
50
|
"X-Fern-SDK-Name": "candidhealth",
|
|
51
|
-
"X-Fern-SDK-Version": "0.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
|
|
@@ -48,7 +48,7 @@ class BillingNotes {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -42,7 +42,7 @@ class V4 {
|
|
|
42
42
|
this.options = options;
|
|
43
43
|
}
|
|
44
44
|
async getAll(request = {}) {
|
|
45
|
-
const { limit, claimStatus, sort, pageToken, dateOfServiceMin, dateOfServiceMax, primaryPayerNames, searchTerm, externalId, diagnosesUpdatedSince, tagIds, workQueueId, billableStatus, responsibleParty, } = request;
|
|
45
|
+
const { limit, claimStatus, sort, pageToken, dateOfServiceMin, dateOfServiceMax, primaryPayerNames, searchTerm, externalId, diagnosesUpdatedSince, tagIds, workQueueId, billableStatus, responsibleParty, ownerOfNextAction, } = request;
|
|
46
46
|
const _queryParams = new url_search_params_1.default();
|
|
47
47
|
if (limit != null) {
|
|
48
48
|
_queryParams.append("limit", limit.toString());
|
|
@@ -93,6 +93,9 @@ class V4 {
|
|
|
93
93
|
if (responsibleParty != null) {
|
|
94
94
|
_queryParams.append("responsible_party", responsibleParty);
|
|
95
95
|
}
|
|
96
|
+
if (ownerOfNextAction != null) {
|
|
97
|
+
_queryParams.append("owner_of_next_action", ownerOfNextAction);
|
|
98
|
+
}
|
|
96
99
|
const _response = await core.fetcher({
|
|
97
100
|
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/encounters/v4"),
|
|
98
101
|
method: "GET",
|
|
@@ -100,7 +103,7 @@ class V4 {
|
|
|
100
103
|
Authorization: await this._getAuthorizationHeader(),
|
|
101
104
|
"X-Fern-Language": "JavaScript",
|
|
102
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
103
|
-
"X-Fern-SDK-Version": "0.4.
|
|
106
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
104
107
|
},
|
|
105
108
|
contentType: "application/json",
|
|
106
109
|
queryParameters: _queryParams,
|
|
@@ -130,7 +133,7 @@ class V4 {
|
|
|
130
133
|
Authorization: await this._getAuthorizationHeader(),
|
|
131
134
|
"X-Fern-Language": "JavaScript",
|
|
132
135
|
"X-Fern-SDK-Name": "candidhealth",
|
|
133
|
-
"X-Fern-SDK-Version": "0.4.
|
|
136
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
134
137
|
},
|
|
135
138
|
contentType: "application/json",
|
|
136
139
|
timeoutMs: 60000,
|
|
@@ -159,7 +162,7 @@ class V4 {
|
|
|
159
162
|
Authorization: await this._getAuthorizationHeader(),
|
|
160
163
|
"X-Fern-Language": "JavaScript",
|
|
161
164
|
"X-Fern-SDK-Name": "candidhealth",
|
|
162
|
-
"X-Fern-SDK-Version": "0.4.
|
|
165
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
163
166
|
},
|
|
164
167
|
contentType: "application/json",
|
|
165
168
|
body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
|
|
@@ -209,7 +212,7 @@ class V4 {
|
|
|
209
212
|
Authorization: await this._getAuthorizationHeader(),
|
|
210
213
|
"X-Fern-Language": "JavaScript",
|
|
211
214
|
"X-Fern-SDK-Name": "candidhealth",
|
|
212
|
-
"X-Fern-SDK-Version": "0.4.
|
|
215
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
213
216
|
},
|
|
214
217
|
contentType: "application/json",
|
|
215
218
|
body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
|
|
@@ -258,7 +261,7 @@ class V4 {
|
|
|
258
261
|
Authorization: await this._getAuthorizationHeader(),
|
|
259
262
|
"X-Fern-Language": "JavaScript",
|
|
260
263
|
"X-Fern-SDK-Name": "candidhealth",
|
|
261
|
-
"X-Fern-SDK-Version": "0.4.
|
|
264
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
262
265
|
},
|
|
263
266
|
contentType: "application/json",
|
|
264
267
|
timeoutMs: 60000,
|
|
@@ -287,7 +290,7 @@ class V4 {
|
|
|
287
290
|
Authorization: await this._getAuthorizationHeader(),
|
|
288
291
|
"X-Fern-Language": "JavaScript",
|
|
289
292
|
"X-Fern-SDK-Name": "candidhealth",
|
|
290
|
-
"X-Fern-SDK-Version": "0.4.
|
|
293
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
291
294
|
},
|
|
292
295
|
contentType: "application/json",
|
|
293
296
|
timeoutMs: 60000,
|
|
@@ -319,7 +322,7 @@ class V4 {
|
|
|
319
322
|
Authorization: await this._getAuthorizationHeader(),
|
|
320
323
|
"X-Fern-Language": "JavaScript",
|
|
321
324
|
"X-Fern-SDK-Name": "candidhealth",
|
|
322
|
-
"X-Fern-SDK-Version": "0.4.
|
|
325
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
323
326
|
},
|
|
324
327
|
contentType: "application/json",
|
|
325
328
|
timeoutMs: 60000,
|
|
@@ -348,7 +351,7 @@ class V4 {
|
|
|
348
351
|
Authorization: await this._getAuthorizationHeader(),
|
|
349
352
|
"X-Fern-Language": "JavaScript",
|
|
350
353
|
"X-Fern-SDK-Name": "candidhealth",
|
|
351
|
-
"X-Fern-SDK-Version": "0.4.
|
|
354
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
352
355
|
},
|
|
353
356
|
contentType: "application/json",
|
|
354
357
|
timeoutMs: 60000,
|
|
@@ -51,7 +51,7 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
|
|
|
51
51
|
* in bounds of the diagnoses list field
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
54
|
-
serviceLines?: CandidApi.ServiceLineCreate[];
|
|
54
|
+
serviceLines?: CandidApi.serviceLines.v2.ServiceLineCreate[];
|
|
55
55
|
/**
|
|
56
56
|
* Personal and contact info for the guarantor of the patient responsibility.
|
|
57
57
|
*
|
|
@@ -39,4 +39,5 @@ export interface GetAllEncountersRequest {
|
|
|
39
39
|
workQueueId?: CandidApi.WorkQueueId;
|
|
40
40
|
billableStatus?: CandidApi.encounters.v4.BillableStatusType;
|
|
41
41
|
responsibleParty?: CandidApi.encounters.v4.ResponsiblePartyType;
|
|
42
|
+
ownerOfNextAction?: CandidApi.encounters.v4.EncounterOwnerOfNextActionType;
|
|
42
43
|
}
|
|
@@ -30,4 +30,7 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
|
|
|
30
30
|
tags: CandidApi.Tag[];
|
|
31
31
|
codingAttribution?: CandidApi.encounters.v4.CodingAttributionType;
|
|
32
32
|
workQueueId?: CandidApi.WorkQueueId;
|
|
33
|
+
workQueueMembershipActivatedAt?: Date;
|
|
34
|
+
/** The party who is responsible for taking the next action on an Encounter, as defined by ownership of open Tasks. */
|
|
35
|
+
ownerOfNextAction: CandidApi.encounters.v4.EncounterOwnerOfNextActionType;
|
|
33
36
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type EncounterOwnerOfNextActionType = "CANDID" | "CUSTOMER" | "CODER" | "NONE";
|
|
5
|
+
export declare const EncounterOwnerOfNextActionType: {
|
|
6
|
+
readonly Candid: "CANDID";
|
|
7
|
+
readonly Customer: "CUSTOMER";
|
|
8
|
+
readonly Coder: "CODER";
|
|
9
|
+
readonly None: "NONE";
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.EncounterOwnerOfNextActionType = void 0;
|
|
7
|
+
exports.EncounterOwnerOfNextActionType = {
|
|
8
|
+
Candid: "CANDID",
|
|
9
|
+
Customer: "CUSTOMER",
|
|
10
|
+
Coder: "CODER",
|
|
11
|
+
None: "NONE",
|
|
12
|
+
};
|
|
@@ -18,6 +18,7 @@ export * from "./NoteCategory";
|
|
|
18
18
|
export * from "./ClinicalNote";
|
|
19
19
|
export * from "./ResponsiblePartyType";
|
|
20
20
|
export * from "./BillableStatusType";
|
|
21
|
+
export * from "./EncounterOwnerOfNextActionType";
|
|
21
22
|
export * from "./SynchronicityType";
|
|
22
23
|
export * from "./CodingAttributionType";
|
|
23
24
|
export * from "./AttachmentId";
|
|
@@ -34,6 +34,7 @@ __exportStar(require("./NoteCategory"), exports);
|
|
|
34
34
|
__exportStar(require("./ClinicalNote"), exports);
|
|
35
35
|
__exportStar(require("./ResponsiblePartyType"), exports);
|
|
36
36
|
__exportStar(require("./BillableStatusType"), exports);
|
|
37
|
+
__exportStar(require("./EncounterOwnerOfNextActionType"), exports);
|
|
37
38
|
__exportStar(require("./SynchronicityType"), exports);
|
|
38
39
|
__exportStar(require("./CodingAttributionType"), exports);
|
|
39
40
|
__exportStar(require("./AttachmentId"), exports);
|
|
@@ -48,7 +48,7 @@ class ExpectedNetworkStatus {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -48,7 +48,7 @@ class V1 {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, {
|
|
@@ -94,7 +94,7 @@ class V1 {
|
|
|
94
94
|
Authorization: await this._getAuthorizationHeader(),
|
|
95
95
|
"X-Fern-Language": "JavaScript",
|
|
96
96
|
"X-Fern-SDK-Name": "candidhealth",
|
|
97
|
-
"X-Fern-SDK-Version": "0.4.
|
|
97
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
98
98
|
},
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
timeoutMs: 60000,
|
|
@@ -123,7 +123,7 @@ class V1 {
|
|
|
123
123
|
Authorization: await this._getAuthorizationHeader(),
|
|
124
124
|
"X-Fern-Language": "JavaScript",
|
|
125
125
|
"X-Fern-SDK-Name": "candidhealth",
|
|
126
|
-
"X-Fern-SDK-Version": "0.4.
|
|
126
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
127
127
|
},
|
|
128
128
|
contentType: "application/json",
|
|
129
129
|
body: await serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, {
|
package/api/resources/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * as encounters from "./encounters";
|
|
|
4
4
|
export * as guarantor from "./guarantor";
|
|
5
5
|
export * as organizationProviders from "./organizationProviders";
|
|
6
6
|
export * as patientPayments from "./patientPayments";
|
|
7
|
+
export * as serviceLines from "./serviceLines";
|
|
7
8
|
export * as tasks from "./tasks";
|
|
8
9
|
export * as billingNotes from "./billingNotes";
|
|
9
10
|
export * from "./billingNotes/types";
|
|
@@ -31,8 +32,6 @@ export * as payers from "./payers";
|
|
|
31
32
|
export * from "./payers/types";
|
|
32
33
|
export * as serviceFacility from "./serviceFacility";
|
|
33
34
|
export * from "./serviceFacility/types";
|
|
34
|
-
export * as serviceLines from "./serviceLines";
|
|
35
|
-
export * from "./serviceLines/types";
|
|
36
35
|
export * as tags from "./tags";
|
|
37
36
|
export * from "./tags/types";
|
|
38
37
|
export * from "./billingNotes/client/requests";
|
package/api/resources/index.js
CHANGED
|
@@ -26,13 +26,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.tags = exports.
|
|
29
|
+
exports.tags = exports.serviceFacility = exports.payers = exports.invoices = exports.insuranceCard = exports.individual = exports.expectedNetworkStatus = exports.era = exports.diagnoses = exports.credentialing = exports.contracts = exports.commons = exports.claims = exports.billingNotes = exports.tasks = exports.serviceLines = exports.patientPayments = exports.organizationProviders = exports.guarantor = exports.encounters = exports.encounterProviders = exports.auth = void 0;
|
|
30
30
|
exports.auth = __importStar(require("./auth"));
|
|
31
31
|
exports.encounterProviders = __importStar(require("./encounterProviders"));
|
|
32
32
|
exports.encounters = __importStar(require("./encounters"));
|
|
33
33
|
exports.guarantor = __importStar(require("./guarantor"));
|
|
34
34
|
exports.organizationProviders = __importStar(require("./organizationProviders"));
|
|
35
35
|
exports.patientPayments = __importStar(require("./patientPayments"));
|
|
36
|
+
exports.serviceLines = __importStar(require("./serviceLines"));
|
|
36
37
|
exports.tasks = __importStar(require("./tasks"));
|
|
37
38
|
exports.billingNotes = __importStar(require("./billingNotes"));
|
|
38
39
|
__exportStar(require("./billingNotes/types"), exports);
|
|
@@ -60,8 +61,6 @@ exports.payers = __importStar(require("./payers"));
|
|
|
60
61
|
__exportStar(require("./payers/types"), exports);
|
|
61
62
|
exports.serviceFacility = __importStar(require("./serviceFacility"));
|
|
62
63
|
__exportStar(require("./serviceFacility/types"), exports);
|
|
63
|
-
exports.serviceLines = __importStar(require("./serviceLines"));
|
|
64
|
-
__exportStar(require("./serviceLines/types"), exports);
|
|
65
64
|
exports.tags = __importStar(require("./tags"));
|
|
66
65
|
__exportStar(require("./tags/types"), exports);
|
|
67
66
|
__exportStar(require("./billingNotes/client/requests"), exports);
|
|
@@ -49,7 +49,7 @@ class Payers {
|
|
|
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.4.
|
|
52
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -89,7 +89,7 @@ class Payers {
|
|
|
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.4.
|
|
92
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
93
93
|
},
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./resources";
|
|
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v2 from "./v2";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.v2 = void 0;
|
|
27
|
+
exports.v2 = __importStar(require("./v2"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
5
|
export interface DrugIdentification {
|
|
6
|
-
serviceIdQualifier: CandidApi.ServiceIdQualifier;
|
|
6
|
+
serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier;
|
|
7
7
|
nationalDrugCode: string;
|
|
8
8
|
nationalDrugUnitCount: string;
|
|
9
|
-
measurementUnitCode: CandidApi.MeasurementUnitCode;
|
|
9
|
+
measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode;
|
|
10
10
|
linkSequenceNumber?: string;
|
|
11
11
|
pharmacyPrescriptionNumber?: string;
|
|
12
12
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface ServiceLine {
|
|
6
|
+
modifiers?: CandidApi.ProcedureModifier[];
|
|
7
|
+
chargeAmountCents?: number;
|
|
8
|
+
allowedAmountCents?: number;
|
|
9
|
+
insuranceBalanceCents?: number;
|
|
10
|
+
patientBalanceCents?: number;
|
|
11
|
+
paidAmountCents?: number;
|
|
12
|
+
patientResponsibilityCents?: number;
|
|
13
|
+
diagnosisIdZero?: CandidApi.DiagnosisId;
|
|
14
|
+
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
15
|
+
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
16
|
+
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
17
|
+
serviceLineEraData?: CandidApi.serviceLines.v2.ServiceLineEraData;
|
|
18
|
+
serviceLineManualAdjustments?: CandidApi.serviceLines.v2.ServiceLineAdjustment[];
|
|
19
|
+
relatedInvoices?: CandidApi.Invoice[];
|
|
20
|
+
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
21
|
+
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
22
|
+
serviceLineId: CandidApi.ServiceLineId;
|
|
23
|
+
procedureCode: string;
|
|
24
|
+
/**
|
|
25
|
+
* String representation of a Decimal that can be parsed by most libraries.
|
|
26
|
+
* A ServiceLine quantity cannot contain more than one digit of precision.
|
|
27
|
+
* Example: 1.1 is valid, 1.11 is not.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
quantity: CandidApi.Decimal;
|
|
31
|
+
units: CandidApi.ServiceLineUnits;
|
|
32
|
+
claimId: CandidApi.ClaimId;
|
|
33
|
+
/**
|
|
34
|
+
* A range of dates of service for this service line. If the service line is for a single date, the end date
|
|
35
|
+
* will be empty.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
dateOfServiceRange: CandidApi.DateRangeOptionalEnd;
|
|
39
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
5
|
-
export interface ServiceLineCreate
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface ServiceLineCreate {
|
|
6
|
+
modifiers?: CandidApi.ProcedureModifier[];
|
|
6
7
|
procedureCode: string;
|
|
7
8
|
/**
|
|
8
9
|
* String representation of a Decimal that can be parsed by most libraries.
|
|
@@ -21,6 +22,6 @@ export interface ServiceLineCreate extends CandidApi.ServiceLineBase {
|
|
|
21
22
|
chargeAmountCents?: number;
|
|
22
23
|
/** Indices (zero-indexed) of all the diagnoses this service line references */
|
|
23
24
|
diagnosisPointers: number[];
|
|
24
|
-
drugIdentification?: CandidApi.DrugIdentification;
|
|
25
|
+
drugIdentification?: CandidApi.serviceLines.v2.DrugIdentification;
|
|
25
26
|
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
26
27
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
4
|
+
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.
|
|
@@ -9,5 +9,5 @@ import * as CandidApi from "../../..";
|
|
|
9
9
|
*/
|
|
10
10
|
export interface ServiceLineDenialReason {
|
|
11
11
|
/** Text of the denial reason */
|
|
12
|
-
reason?: CandidApi.DenialReasonContent;
|
|
12
|
+
reason?: CandidApi.serviceLines.v2.DenialReasonContent;
|
|
13
13
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
5
|
export interface ServiceLineEraData {
|
|
6
|
-
serviceLineAdjustments: CandidApi.ServiceLineAdjustment[];
|
|
6
|
+
serviceLineAdjustments: CandidApi.serviceLines.v2.ServiceLineAdjustment[];
|
|
7
7
|
remittanceAdviceRemarkCodes: string[];
|
|
8
8
|
}
|
package/{dist/api/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/index.js
RENAMED
|
@@ -14,8 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ServiceLineBase"), exports);
|
|
18
|
-
__exportStar(require("./ServiceLineBaseWithOptionals"), exports);
|
|
19
17
|
__exportStar(require("./ServiceLineCreate"), exports);
|
|
20
18
|
__exportStar(require("./ServiceLine"), exports);
|
|
21
19
|
__exportStar(require("./ServiceLineEraData"), exports);
|
|
@@ -48,7 +48,7 @@ class V3 {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
timeoutMs: 60000,
|
|
@@ -48,7 +48,7 @@ class V2 {
|
|
|
48
48
|
Authorization: await this._getAuthorizationHeader(),
|
|
49
49
|
"X-Fern-Language": "JavaScript",
|
|
50
50
|
"X-Fern-SDK-Name": "candidhealth",
|
|
51
|
-
"X-Fern-SDK-Version": "0.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
|
|
@@ -48,7 +48,7 @@ class BillingNotes {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -42,7 +42,7 @@ class V4 {
|
|
|
42
42
|
this.options = options;
|
|
43
43
|
}
|
|
44
44
|
async getAll(request = {}) {
|
|
45
|
-
const { limit, claimStatus, sort, pageToken, dateOfServiceMin, dateOfServiceMax, primaryPayerNames, searchTerm, externalId, diagnosesUpdatedSince, tagIds, workQueueId, billableStatus, responsibleParty, } = request;
|
|
45
|
+
const { limit, claimStatus, sort, pageToken, dateOfServiceMin, dateOfServiceMax, primaryPayerNames, searchTerm, externalId, diagnosesUpdatedSince, tagIds, workQueueId, billableStatus, responsibleParty, ownerOfNextAction, } = request;
|
|
46
46
|
const _queryParams = new url_search_params_1.default();
|
|
47
47
|
if (limit != null) {
|
|
48
48
|
_queryParams.append("limit", limit.toString());
|
|
@@ -93,6 +93,9 @@ class V4 {
|
|
|
93
93
|
if (responsibleParty != null) {
|
|
94
94
|
_queryParams.append("responsible_party", responsibleParty);
|
|
95
95
|
}
|
|
96
|
+
if (ownerOfNextAction != null) {
|
|
97
|
+
_queryParams.append("owner_of_next_action", ownerOfNextAction);
|
|
98
|
+
}
|
|
96
99
|
const _response = await core.fetcher({
|
|
97
100
|
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/encounters/v4"),
|
|
98
101
|
method: "GET",
|
|
@@ -100,7 +103,7 @@ class V4 {
|
|
|
100
103
|
Authorization: await this._getAuthorizationHeader(),
|
|
101
104
|
"X-Fern-Language": "JavaScript",
|
|
102
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
103
|
-
"X-Fern-SDK-Version": "0.4.
|
|
106
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
104
107
|
},
|
|
105
108
|
contentType: "application/json",
|
|
106
109
|
queryParameters: _queryParams,
|
|
@@ -130,7 +133,7 @@ class V4 {
|
|
|
130
133
|
Authorization: await this._getAuthorizationHeader(),
|
|
131
134
|
"X-Fern-Language": "JavaScript",
|
|
132
135
|
"X-Fern-SDK-Name": "candidhealth",
|
|
133
|
-
"X-Fern-SDK-Version": "0.4.
|
|
136
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
134
137
|
},
|
|
135
138
|
contentType: "application/json",
|
|
136
139
|
timeoutMs: 60000,
|
|
@@ -159,7 +162,7 @@ class V4 {
|
|
|
159
162
|
Authorization: await this._getAuthorizationHeader(),
|
|
160
163
|
"X-Fern-Language": "JavaScript",
|
|
161
164
|
"X-Fern-SDK-Name": "candidhealth",
|
|
162
|
-
"X-Fern-SDK-Version": "0.4.
|
|
165
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
163
166
|
},
|
|
164
167
|
contentType: "application/json",
|
|
165
168
|
body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
|
|
@@ -209,7 +212,7 @@ class V4 {
|
|
|
209
212
|
Authorization: await this._getAuthorizationHeader(),
|
|
210
213
|
"X-Fern-Language": "JavaScript",
|
|
211
214
|
"X-Fern-SDK-Name": "candidhealth",
|
|
212
|
-
"X-Fern-SDK-Version": "0.4.
|
|
215
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
213
216
|
},
|
|
214
217
|
contentType: "application/json",
|
|
215
218
|
body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
|
|
@@ -258,7 +261,7 @@ class V4 {
|
|
|
258
261
|
Authorization: await this._getAuthorizationHeader(),
|
|
259
262
|
"X-Fern-Language": "JavaScript",
|
|
260
263
|
"X-Fern-SDK-Name": "candidhealth",
|
|
261
|
-
"X-Fern-SDK-Version": "0.4.
|
|
264
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
262
265
|
},
|
|
263
266
|
contentType: "application/json",
|
|
264
267
|
timeoutMs: 60000,
|
|
@@ -287,7 +290,7 @@ class V4 {
|
|
|
287
290
|
Authorization: await this._getAuthorizationHeader(),
|
|
288
291
|
"X-Fern-Language": "JavaScript",
|
|
289
292
|
"X-Fern-SDK-Name": "candidhealth",
|
|
290
|
-
"X-Fern-SDK-Version": "0.4.
|
|
293
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
291
294
|
},
|
|
292
295
|
contentType: "application/json",
|
|
293
296
|
timeoutMs: 60000,
|
|
@@ -319,7 +322,7 @@ class V4 {
|
|
|
319
322
|
Authorization: await this._getAuthorizationHeader(),
|
|
320
323
|
"X-Fern-Language": "JavaScript",
|
|
321
324
|
"X-Fern-SDK-Name": "candidhealth",
|
|
322
|
-
"X-Fern-SDK-Version": "0.4.
|
|
325
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
323
326
|
},
|
|
324
327
|
contentType: "application/json",
|
|
325
328
|
timeoutMs: 60000,
|
|
@@ -348,7 +351,7 @@ class V4 {
|
|
|
348
351
|
Authorization: await this._getAuthorizationHeader(),
|
|
349
352
|
"X-Fern-Language": "JavaScript",
|
|
350
353
|
"X-Fern-SDK-Name": "candidhealth",
|
|
351
|
-
"X-Fern-SDK-Version": "0.4.
|
|
354
|
+
"X-Fern-SDK-Version": "0.4.7",
|
|
352
355
|
},
|
|
353
356
|
contentType: "application/json",
|
|
354
357
|
timeoutMs: 60000,
|
|
@@ -51,7 +51,7 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
|
|
|
51
51
|
* in bounds of the diagnoses list field
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
54
|
-
serviceLines?: CandidApi.ServiceLineCreate[];
|
|
54
|
+
serviceLines?: CandidApi.serviceLines.v2.ServiceLineCreate[];
|
|
55
55
|
/**
|
|
56
56
|
* Personal and contact info for the guarantor of the patient responsibility.
|
|
57
57
|
*
|
package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts
CHANGED
|
@@ -39,4 +39,5 @@ export interface GetAllEncountersRequest {
|
|
|
39
39
|
workQueueId?: CandidApi.WorkQueueId;
|
|
40
40
|
billableStatus?: CandidApi.encounters.v4.BillableStatusType;
|
|
41
41
|
responsibleParty?: CandidApi.encounters.v4.ResponsiblePartyType;
|
|
42
|
+
ownerOfNextAction?: CandidApi.encounters.v4.EncounterOwnerOfNextActionType;
|
|
42
43
|
}
|
|
@@ -30,4 +30,7 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
|
|
|
30
30
|
tags: CandidApi.Tag[];
|
|
31
31
|
codingAttribution?: CandidApi.encounters.v4.CodingAttributionType;
|
|
32
32
|
workQueueId?: CandidApi.WorkQueueId;
|
|
33
|
+
workQueueMembershipActivatedAt?: Date;
|
|
34
|
+
/** The party who is responsible for taking the next action on an Encounter, as defined by ownership of open Tasks. */
|
|
35
|
+
ownerOfNextAction: CandidApi.encounters.v4.EncounterOwnerOfNextActionType;
|
|
33
36
|
}
|