candidhealth 0.40.0 → 0.40.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +4 -1
- package/api/resources/chargeCapture/resources/v1/client/Client.js +23 -7
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +16 -1
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +12 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js +5 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +8 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +10 -0
- package/api/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
- package/api/resources/chargeCapture/resources/v1/types/index.js +2 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +4 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +21 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +16 -1
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +7 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +9 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
- package/api/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +8 -0
- package/api/resources/commons/types/ChargeCapturePostBilledChangeId.js +9 -0
- 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/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +30 -0
- package/api/resources/encounters/resources/v4/client/Client.js +35 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +4 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +23 -7
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +16 -1
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +12 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +8 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +10 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.js +2 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +4 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +21 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +16 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +7 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +9 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
- package/dist/api/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +8 -0
- package/dist/api/resources/commons/types/ChargeCapturePostBilledChangeId.js +9 -0
- 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/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +30 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +35 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +15 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js +46 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +10 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +41 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +10 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +41 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.js +45 -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/EncounterCreate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +36 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +15 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js +46 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +10 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +41 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.js +2 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +10 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +41 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
- package/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +10 -0
- package/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.js +45 -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/EncounterCreate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -127,7 +127,7 @@ class V1 {
|
|
|
127
127
|
const _response = yield core.fetcher({
|
|
128
128
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
|
|
129
129
|
method: "GET",
|
|
130
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
130
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
131
131
|
contentType: "application/json",
|
|
132
132
|
queryParameters: _queryParams,
|
|
133
133
|
requestType: "json",
|
|
@@ -167,7 +167,7 @@ class V1 {
|
|
|
167
167
|
const _response = yield core.fetcher({
|
|
168
168
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}`),
|
|
169
169
|
method: "GET",
|
|
170
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
170
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
171
171
|
contentType: "application/json",
|
|
172
172
|
requestType: "json",
|
|
173
173
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -216,7 +216,7 @@ class V1 {
|
|
|
216
216
|
const _response = yield core.fetcher({
|
|
217
217
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
|
|
218
218
|
method: "POST",
|
|
219
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
219
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
220
220
|
contentType: "application/json",
|
|
221
221
|
requestType: "json",
|
|
222
222
|
body: serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -258,7 +258,7 @@ class V1 {
|
|
|
258
258
|
const _response = yield core.fetcher({
|
|
259
259
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}/revert`),
|
|
260
260
|
method: "POST",
|
|
261
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
261
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
262
262
|
contentType: "application/json",
|
|
263
263
|
requestType: "json",
|
|
264
264
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -297,7 +297,7 @@ class V1 {
|
|
|
297
297
|
const _response = yield core.fetcher({
|
|
298
298
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert`),
|
|
299
299
|
method: "POST",
|
|
300
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
300
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
301
301
|
contentType: "application/json",
|
|
302
302
|
requestType: "json",
|
|
303
303
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -336,7 +336,7 @@ class V1 {
|
|
|
336
336
|
const _response = yield core.fetcher({
|
|
337
337
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert-era-originated`),
|
|
338
338
|
method: "POST",
|
|
339
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
339
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
340
340
|
contentType: "application/json",
|
|
341
341
|
requestType: "json",
|
|
342
342
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type PatientWriteOffReason = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN";
|
|
4
|
+
export type PatientWriteOffReason = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN" | "UNCOLLECTIBLE_OR_NON_BILLABLE";
|
|
5
5
|
export declare const PatientWriteOffReason: {
|
|
6
6
|
readonly SmallBalance: "SMALL_BALANCE";
|
|
7
7
|
readonly CharityOrFinancialAssistance: "CHARITY_OR_FINANCIAL_ASSISTANCE";
|
|
@@ -12,4 +12,5 @@ export declare const PatientWriteOffReason: {
|
|
|
12
12
|
readonly CollectionAgency: "COLLECTION_AGENCY";
|
|
13
13
|
readonly Other: "OTHER";
|
|
14
14
|
readonly Unknown: "UNKNOWN";
|
|
15
|
+
readonly UncollectibleOrNonBillable: "UNCOLLECTIBLE_OR_NON_BILLABLE";
|
|
15
16
|
};
|
|
@@ -8,6 +8,7 @@ import { ChargeCaptureId } from "../../../../commons/types/ChargeCaptureId";
|
|
|
8
8
|
import { ChargeCaptureStatus } from "./ChargeCaptureStatus";
|
|
9
9
|
import { ChargeCaptureData } from "./ChargeCaptureData";
|
|
10
10
|
import { PatientExternalId } from "../../../../commons/types/PatientExternalId";
|
|
11
|
+
import { ChargeCapturePostBilledChange } from "./ChargeCapturePostBilledChange";
|
|
11
12
|
export declare const ChargeCapture: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCapture.Raw, CandidApi.chargeCapture.v1.ChargeCapture>;
|
|
12
13
|
export declare namespace ChargeCapture {
|
|
13
14
|
interface Raw {
|
|
@@ -18,5 +19,6 @@ export declare namespace ChargeCapture {
|
|
|
18
19
|
charge_external_id: string;
|
|
19
20
|
ehr_source_url?: string | null;
|
|
20
21
|
date_of_service?: string | null;
|
|
22
|
+
updates: ChargeCapturePostBilledChange.Raw[];
|
|
21
23
|
}
|
|
22
24
|
}
|
|
@@ -42,6 +42,7 @@ const ChargeCaptureId_1 = require("../../../../commons/types/ChargeCaptureId");
|
|
|
42
42
|
const ChargeCaptureStatus_1 = require("./ChargeCaptureStatus");
|
|
43
43
|
const ChargeCaptureData_1 = require("./ChargeCaptureData");
|
|
44
44
|
const PatientExternalId_1 = require("../../../../commons/types/PatientExternalId");
|
|
45
|
+
const ChargeCapturePostBilledChange_1 = require("./ChargeCapturePostBilledChange");
|
|
45
46
|
exports.ChargeCapture = core.serialization.object({
|
|
46
47
|
id: ChargeCaptureId_1.ChargeCaptureId,
|
|
47
48
|
status: ChargeCaptureStatus_1.ChargeCaptureStatus,
|
|
@@ -50,4 +51,5 @@ exports.ChargeCapture = core.serialization.object({
|
|
|
50
51
|
chargeExternalId: core.serialization.property("charge_external_id", core.serialization.string()),
|
|
51
52
|
ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
|
|
52
53
|
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
54
|
+
updates: core.serialization.list(ChargeCapturePostBilledChange_1.ChargeCapturePostBilledChange),
|
|
53
55
|
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { ChargeCapturePostBilledChangeId } from "../../../../commons/types/ChargeCapturePostBilledChangeId";
|
|
8
|
+
export declare const ChargeCapturePostBilledChange: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCapturePostBilledChange.Raw, CandidApi.chargeCapture.v1.ChargeCapturePostBilledChange>;
|
|
9
|
+
export declare namespace ChargeCapturePostBilledChange {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id: ChargeCapturePostBilledChangeId.Raw;
|
|
12
|
+
message: string;
|
|
13
|
+
resolved: boolean;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ChargeCapturePostBilledChange = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const ChargeCapturePostBilledChangeId_1 = require("../../../../commons/types/ChargeCapturePostBilledChangeId");
|
|
42
|
+
exports.ChargeCapturePostBilledChange = core.serialization.object({
|
|
43
|
+
id: ChargeCapturePostBilledChangeId_1.ChargeCapturePostBilledChangeId,
|
|
44
|
+
message: core.serialization.string(),
|
|
45
|
+
resolved: core.serialization.boolean(),
|
|
46
|
+
});
|
package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ChargeCaptureSortField: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCaptureSortField.Raw, CandidApi.chargeCapture.v1.ChargeCaptureSortField>;
|
|
8
|
+
export declare namespace ChargeCaptureSortField {
|
|
9
|
+
type Raw = "created_at" | "date_of_service";
|
|
10
|
+
}
|
package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ChargeCaptureSortField = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.ChargeCaptureSortField = core.serialization.enum_(["created_at", "date_of_service"]);
|
|
@@ -17,4 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./ChargeCapturePage"), exports);
|
|
18
18
|
__exportStar(require("./ChargeCapture"), exports);
|
|
19
19
|
__exportStar(require("./ChargeCaptureData"), exports);
|
|
20
|
+
__exportStar(require("./ChargeCaptureSortField"), exports);
|
|
20
21
|
__exportStar(require("./ChargeCaptureStatus"), exports);
|
|
22
|
+
__exportStar(require("./ChargeCapturePostBilledChange"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ChargeCaptureBundleSortField: core.serialization.Schema<serializers.chargeCaptureBundles.v1.ChargeCaptureBundleSortField.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleSortField>;
|
|
8
|
+
export declare namespace ChargeCaptureBundleSortField {
|
|
9
|
+
type Raw = "created_at";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ChargeCaptureBundleSortField = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.ChargeCaptureBundleSortField = core.serialization.enum_(["created_at"]);
|
|
@@ -18,3 +18,4 @@ __exportStar(require("./ChargeCaptureBundlePage"), exports);
|
|
|
18
18
|
__exportStar(require("./ChargeCaptureBundle"), exports);
|
|
19
19
|
__exportStar(require("./ChargeBundleError"), exports);
|
|
20
20
|
__exportStar(require("./ChargeCaptureBundleStatus"), exports);
|
|
21
|
+
__exportStar(require("./ChargeCaptureBundleSortField"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const ChargeCapturePostBilledChangeId: core.serialization.Schema<serializers.ChargeCapturePostBilledChangeId.Raw, CandidApi.ChargeCapturePostBilledChangeId>;
|
|
8
|
+
export declare namespace ChargeCapturePostBilledChangeId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ChargeCapturePostBilledChangeId = void 0;
|
|
40
|
+
const CandidApi = __importStar(require("../../../../api/index"));
|
|
41
|
+
const core = __importStar(require("../../../../core"));
|
|
42
|
+
exports.ChargeCapturePostBilledChangeId = core.serialization.string().transform({
|
|
43
|
+
transform: CandidApi.ChargeCapturePostBilledChangeId,
|
|
44
|
+
untransform: (value) => value,
|
|
45
|
+
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./EncounterId";
|
|
2
2
|
export * from "./ChargeCaptureId";
|
|
3
3
|
export * from "./ChargeCaptureBundleId";
|
|
4
|
+
export * from "./ChargeCapturePostBilledChangeId";
|
|
4
5
|
export * from "./OrganizationId";
|
|
5
6
|
export * from "./ClaimId";
|
|
6
7
|
export * from "./PreEncounterPatientId";
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./EncounterId"), exports);
|
|
18
18
|
__exportStar(require("./ChargeCaptureId"), exports);
|
|
19
19
|
__exportStar(require("./ChargeCaptureBundleId"), exports);
|
|
20
|
+
__exportStar(require("./ChargeCapturePostBilledChangeId"), exports);
|
|
20
21
|
__exportStar(require("./OrganizationId"), exports);
|
|
21
22
|
__exportStar(require("./ClaimId"), exports);
|
|
22
23
|
__exportStar(require("./PreEncounterPatientId"), exports);
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare namespace EncounterCreate {
|
|
|
39
39
|
service_facility?: EncounterServiceFacilityBase.Raw | null;
|
|
40
40
|
subscriber_primary?: SubscriberCreate.Raw | null;
|
|
41
41
|
subscriber_secondary?: SubscriberCreate.Raw | null;
|
|
42
|
+
subscriber_tertiary?: SubscriberCreate.Raw | null;
|
|
42
43
|
prior_authorization_number?: PriorAuthorizationNumber.Raw | null;
|
|
43
44
|
responsible_party: ResponsiblePartyType.Raw;
|
|
44
45
|
diagnoses: DiagnosisCreate.Raw[];
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js
CHANGED
|
@@ -72,6 +72,7 @@ exports.EncounterCreate = core.serialization
|
|
|
72
72
|
serviceFacility: core.serialization.property("service_facility", EncounterServiceFacilityBase_1.EncounterServiceFacilityBase.optional()),
|
|
73
73
|
subscriberPrimary: core.serialization.property("subscriber_primary", SubscriberCreate_1.SubscriberCreate.optional()),
|
|
74
74
|
subscriberSecondary: core.serialization.property("subscriber_secondary", SubscriberCreate_1.SubscriberCreate.optional()),
|
|
75
|
+
subscriberTertiary: core.serialization.property("subscriber_tertiary", SubscriberCreate_1.SubscriberCreate.optional()),
|
|
75
76
|
priorAuthorizationNumber: core.serialization.property("prior_authorization_number", PriorAuthorizationNumber_1.PriorAuthorizationNumber.optional()),
|
|
76
77
|
responsibleParty: core.serialization.property("responsible_party", ResponsiblePartyType_1.ResponsiblePartyType),
|
|
77
78
|
diagnoses: core.serialization.list(DiagnosisCreate_1.DiagnosisCreate),
|
|
@@ -45,6 +45,7 @@ export declare namespace Encounter {
|
|
|
45
45
|
service_facility: EncounterServiceFacility.Raw;
|
|
46
46
|
subscriber_primary?: Subscriber.Raw | null;
|
|
47
47
|
subscriber_secondary?: Subscriber.Raw | null;
|
|
48
|
+
subscriber_tertiary?: Subscriber.Raw | null;
|
|
48
49
|
prior_authorization_number?: PriorAuthorizationNumber.Raw | null;
|
|
49
50
|
responsible_party: ResponsiblePartyType.Raw;
|
|
50
51
|
url: LinkUrl.Raw;
|
|
@@ -78,6 +78,7 @@ exports.Encounter = core.serialization
|
|
|
78
78
|
serviceFacility: core.serialization.property("service_facility", EncounterServiceFacility_1.EncounterServiceFacility),
|
|
79
79
|
subscriberPrimary: core.serialization.property("subscriber_primary", Subscriber_1.Subscriber.optional()),
|
|
80
80
|
subscriberSecondary: core.serialization.property("subscriber_secondary", Subscriber_1.Subscriber.optional()),
|
|
81
|
+
subscriberTertiary: core.serialization.property("subscriber_tertiary", Subscriber_1.Subscriber.optional()),
|
|
81
82
|
priorAuthorizationNumber: core.serialization.property("prior_authorization_number", PriorAuthorizationNumber_1.PriorAuthorizationNumber.optional()),
|
|
82
83
|
responsibleParty: core.serialization.property("responsible_party", ResponsiblePartyType_1.ResponsiblePartyType),
|
|
83
84
|
url: LinkUrl_1.LinkUrl,
|
|
@@ -48,6 +48,7 @@ export declare namespace EncounterOptional {
|
|
|
48
48
|
end_date_of_service?: string | null;
|
|
49
49
|
subscriber_primary?: SubscriberCreate.Raw | null;
|
|
50
50
|
subscriber_secondary?: SubscriberCreate.Raw | null;
|
|
51
|
+
subscriber_tertiary?: SubscriberCreate.Raw | null;
|
|
51
52
|
additional_information?: string | null;
|
|
52
53
|
service_authorization_exception_code?: ServiceAuthorizationExceptionCode.Raw | null;
|
|
53
54
|
admission_date?: string | null;
|
|
@@ -80,6 +80,7 @@ exports.EncounterOptional = core.serialization.object({
|
|
|
80
80
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
|
|
81
81
|
subscriberPrimary: core.serialization.property("subscriber_primary", SubscriberCreate_1.SubscriberCreate.optional()),
|
|
82
82
|
subscriberSecondary: core.serialization.property("subscriber_secondary", SubscriberCreate_1.SubscriberCreate.optional()),
|
|
83
|
+
subscriberTertiary: core.serialization.property("subscriber_tertiary", SubscriberCreate_1.SubscriberCreate.optional()),
|
|
83
84
|
additionalInformation: core.serialization.property("additional_information", core.serialization.string().optional()),
|
|
84
85
|
serviceAuthorizationExceptionCode: core.serialization.property("service_authorization_exception_code", ServiceAuthorizationExceptionCode_1.ServiceAuthorizationExceptionCode.optional()),
|
|
85
86
|
admissionDate: core.serialization.property("admission_date", core.serialization.string().optional()),
|
|
@@ -5,12 +5,14 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { CanonicalNonInsurancePayerId } from "./CanonicalNonInsurancePayerId";
|
|
8
|
+
import { Period } from "./Period";
|
|
8
9
|
import { CanonicalClinicalTrialAssociation } from "./CanonicalClinicalTrialAssociation";
|
|
9
10
|
export declare const CanonicalNonInsurancePayerAssociation: core.serialization.ObjectSchema<serializers.preEncounter.CanonicalNonInsurancePayerAssociation.Raw, CandidApi.preEncounter.CanonicalNonInsurancePayerAssociation>;
|
|
10
11
|
export declare namespace CanonicalNonInsurancePayerAssociation {
|
|
11
12
|
interface Raw {
|
|
12
13
|
id: CanonicalNonInsurancePayerId.Raw;
|
|
13
14
|
member_id?: string | null;
|
|
15
|
+
period?: Period.Raw | null;
|
|
14
16
|
clinical_trial_info?: CanonicalClinicalTrialAssociation.Raw[] | null;
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -39,9 +39,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.CanonicalNonInsurancePayerAssociation = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
41
|
const CanonicalNonInsurancePayerId_1 = require("./CanonicalNonInsurancePayerId");
|
|
42
|
+
const Period_1 = require("./Period");
|
|
42
43
|
const CanonicalClinicalTrialAssociation_1 = require("./CanonicalClinicalTrialAssociation");
|
|
43
44
|
exports.CanonicalNonInsurancePayerAssociation = core.serialization.object({
|
|
44
45
|
id: CanonicalNonInsurancePayerId_1.CanonicalNonInsurancePayerId,
|
|
45
46
|
memberId: core.serialization.property("member_id", core.serialization.string().optional()),
|
|
47
|
+
period: Period_1.Period.optional(),
|
|
46
48
|
clinicalTrialInfo: core.serialization.property("clinical_trial_info", core.serialization.list(CanonicalClinicalTrialAssociation_1.CanonicalClinicalTrialAssociation).optional()),
|
|
47
49
|
});
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
export declare const AuthorizationUnit: core.serialization.Schema<serializers.preEncounter.patients.v1.AuthorizationUnit.Raw, CandidApi.preEncounter.patients.v1.AuthorizationUnit>;
|
|
8
8
|
export declare namespace AuthorizationUnit {
|
|
9
|
-
type Raw = "VISIT";
|
|
9
|
+
type Raw = "VISIT" | "UNIT";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.AuthorizationUnit = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../core"));
|
|
41
|
-
exports.AuthorizationUnit = core.serialization.enum_(["VISIT"]);
|
|
41
|
+
exports.AuthorizationUnit = core.serialization.enum_(["VISIT", "UNIT"]);
|
package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const PatientWriteOffReason: core.serialization.Schema<serializers.writeOffs.v1.PatientWriteOffReason.Raw, CandidApi.writeOffs.v1.PatientWriteOffReason>;
|
|
8
8
|
export declare namespace PatientWriteOffReason {
|
|
9
|
-
type Raw = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN";
|
|
9
|
+
type Raw = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN" | "UNCOLLECTIBLE_OR_NON_BILLABLE";
|
|
10
10
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.40.
|
|
1
|
+
export declare const SDK_VERSION = "0.40.2";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -355,12 +355,15 @@ await client.chargeCaptureBundles.v1.resubmit(CandidApi.ChargeCaptureBundleId("d
|
|
|
355
355
|
```typescript
|
|
356
356
|
await client.chargeCaptureBundles.v1.getAll({
|
|
357
357
|
limit: 1,
|
|
358
|
+
sort: "created_at",
|
|
359
|
+
sortDirection: "asc",
|
|
358
360
|
pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
359
361
|
patientExternalId: "string",
|
|
360
362
|
bundleStatus: "in-progress",
|
|
361
363
|
chargeStatus: "planned",
|
|
362
364
|
chargeExternalId: "string",
|
|
363
365
|
dateOfService: "2023-01-15",
|
|
366
|
+
hasChargeCaptureUpdates: true,
|
|
364
367
|
});
|
|
365
368
|
```
|
|
366
369
|
|
|
@@ -627,11 +630,14 @@ await client.chargeCapture.v1.get(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4bf4-
|
|
|
627
630
|
```typescript
|
|
628
631
|
await client.chargeCapture.v1.getAll({
|
|
629
632
|
limit: 1,
|
|
633
|
+
sort: "created_at",
|
|
634
|
+
sortDirection: "asc",
|
|
630
635
|
pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
631
636
|
patientExternalId: "string",
|
|
632
637
|
status: "planned",
|
|
633
638
|
chargeExternalId: "string",
|
|
634
639
|
dateOfService: "2023-01-15",
|
|
640
|
+
excludeBundled: true,
|
|
635
641
|
});
|
|
636
642
|
```
|
|
637
643
|
|
|
@@ -2915,6 +2921,36 @@ await client.encounters.v4.create({
|
|
|
2915
2921
|
lastName: "string",
|
|
2916
2922
|
gender: "male",
|
|
2917
2923
|
},
|
|
2924
|
+
subscriberTertiary: {
|
|
2925
|
+
insuranceCard: {
|
|
2926
|
+
memberId: "string",
|
|
2927
|
+
payerName: "string",
|
|
2928
|
+
payerId: "string",
|
|
2929
|
+
rxBin: "string",
|
|
2930
|
+
rxPcn: "string",
|
|
2931
|
+
imageUrlFront: "string",
|
|
2932
|
+
imageUrlBack: "string",
|
|
2933
|
+
emrPayerCrosswalk: "HEALTHIE",
|
|
2934
|
+
groupNumber: "string",
|
|
2935
|
+
planName: "string",
|
|
2936
|
+
planType: "09",
|
|
2937
|
+
insuranceType: "01",
|
|
2938
|
+
payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
2939
|
+
},
|
|
2940
|
+
patientRelationshipToSubscriberCode: "01",
|
|
2941
|
+
dateOfBirth: "2023-01-15",
|
|
2942
|
+
address: {
|
|
2943
|
+
address1: "123 Main St",
|
|
2944
|
+
address2: "Apt 1",
|
|
2945
|
+
city: "New York",
|
|
2946
|
+
state: "NY",
|
|
2947
|
+
zipCode: "10001",
|
|
2948
|
+
zipPlusFourCode: "1234",
|
|
2949
|
+
},
|
|
2950
|
+
firstName: "string",
|
|
2951
|
+
lastName: "string",
|
|
2952
|
+
gender: "male",
|
|
2953
|
+
},
|
|
2918
2954
|
priorAuthorizationNumber: CandidApi.PriorAuthorizationNumber("string"),
|
|
2919
2955
|
responsibleParty: "INSURANCE_PAY",
|
|
2920
2956
|
diagnoses: [
|
|
@@ -8,6 +8,7 @@ import { ChargeCaptureId } from "../../../../commons/types/ChargeCaptureId";
|
|
|
8
8
|
import { ChargeCaptureStatus } from "./ChargeCaptureStatus";
|
|
9
9
|
import { ChargeCaptureData } from "./ChargeCaptureData";
|
|
10
10
|
import { PatientExternalId } from "../../../../commons/types/PatientExternalId";
|
|
11
|
+
import { ChargeCapturePostBilledChange } from "./ChargeCapturePostBilledChange";
|
|
11
12
|
export declare const ChargeCapture: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCapture.Raw, CandidApi.chargeCapture.v1.ChargeCapture>;
|
|
12
13
|
export declare namespace ChargeCapture {
|
|
13
14
|
interface Raw {
|
|
@@ -18,5 +19,6 @@ export declare namespace ChargeCapture {
|
|
|
18
19
|
charge_external_id: string;
|
|
19
20
|
ehr_source_url?: string | null;
|
|
20
21
|
date_of_service?: string | null;
|
|
22
|
+
updates: ChargeCapturePostBilledChange.Raw[];
|
|
21
23
|
}
|
|
22
24
|
}
|