candidhealth 0.43.1 → 0.45.0
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/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/api/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
- package/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -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/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
- package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/api/resources/encounters/resources/v4/client/Client.d.ts +128 -0
- package/api/resources/encounters/resources/v4/client/Client.js +133 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +168 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -26
- 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/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
- package/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
- package/api/resources/individual/types/index.d.ts +1 -0
- package/api/resources/individual/types/index.js +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- 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/payerPlanGroups/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/coverages/resources/v1/client/Client.js +10 -10
- 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/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
- package/api/resources/serviceFacility/types/index.d.ts +1 -0
- package/api/resources/serviceFacility/types/index.js +1 -0
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- 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/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/dist/api/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
- package/dist/api/resources/commons/types/StreetAddressOptionalBase.js +5 -0
- package/dist/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
- package/dist/api/resources/commons/types/StreetAddressShortZipOptional.js +5 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -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/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +128 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +133 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +168 -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 -26
- 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/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
- package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/individual/types/index.d.ts +1 -0
- package/dist/api/resources/individual/types/index.js +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- 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/payerPlanGroups/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/coverages/resources/v1/client/Client.js +10 -10
- 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/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/serviceFacility/types/index.d.ts +1 -0
- package/dist/api/resources/serviceFacility/types/index.js +1 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- 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/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
- package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
- package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
- package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
- package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
- package/dist/serialization/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js} +10 -11
- package/dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/{serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js} +8 -11
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -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/client/requests/EncounterUpdate.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -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 -16
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
- package/dist/serialization/resources/individual/types/index.d.ts +1 -0
- package/dist/serialization/resources/individual/types/index.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
- package/dist/serialization/resources/serviceFacility/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +134 -0
- package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
- package/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
- package/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
- package/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
- package/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
- package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
- package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +51 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -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/client/requests/EncounterUpdate.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -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 -16
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
- package/serialization/resources/individual/types/index.d.ts +1 -0
- package/serialization/resources/individual/types/index.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
- package/serialization/resources/serviceFacility/types/index.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
- package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
- package/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
- /package/api/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → commons/types/StreetAddressOptionalBase.js} +0 -0
- /package/{dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → api/resources/commons/types/StreetAddressShortZipOptional.js} +0 -0
|
@@ -143,7 +143,7 @@ class V4 {
|
|
|
143
143
|
const _response = yield core.fetcher({
|
|
144
144
|
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/encounters/v4"),
|
|
145
145
|
method: "GET",
|
|
146
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
146
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
queryParameters: _queryParams,
|
|
149
149
|
requestType: "json",
|
|
@@ -181,7 +181,7 @@ class V4 {
|
|
|
181
181
|
const _response = yield core.fetcher({
|
|
182
182
|
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/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
183
183
|
method: "GET",
|
|
184
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
184
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
185
185
|
contentType: "application/json",
|
|
186
186
|
requestType: "json",
|
|
187
187
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -514,6 +514,7 @@ class V4 {
|
|
|
514
514
|
* attachmentReportTypeCode: "03",
|
|
515
515
|
* attachmentTransmissionCode: "BM"
|
|
516
516
|
* }],
|
|
517
|
+
* secondaryPayerCarrierCode: "string",
|
|
517
518
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
518
519
|
* dateOfService: "2023-01-15",
|
|
519
520
|
* endDateOfService: "2023-01-15",
|
|
@@ -581,7 +582,7 @@ class V4 {
|
|
|
581
582
|
const _response = yield core.fetcher({
|
|
582
583
|
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/encounters/v4"),
|
|
583
584
|
method: "POST",
|
|
584
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
585
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
585
586
|
contentType: "application/json",
|
|
586
587
|
requestType: "json",
|
|
587
588
|
body: serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -858,7 +859,7 @@ class V4 {
|
|
|
858
859
|
const _response = yield core.fetcher({
|
|
859
860
|
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/encounters/v4/create-from-pre-encounter"),
|
|
860
861
|
method: "POST",
|
|
861
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
862
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
862
863
|
contentType: "application/json",
|
|
863
864
|
requestType: "json",
|
|
864
865
|
body: serializers.encounters.v4.EncounterCreateFromPreEncounter.jsonOrThrow(request, {
|
|
@@ -913,7 +914,134 @@ class V4 {
|
|
|
913
914
|
*
|
|
914
915
|
* @example
|
|
915
916
|
* await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
917
|
+
* payToAddress: {
|
|
918
|
+
* address1: "123 Main St",
|
|
919
|
+
* address2: "Apt 1",
|
|
920
|
+
* city: "New York",
|
|
921
|
+
* state: "NY",
|
|
922
|
+
* zipCode: "10001",
|
|
923
|
+
* zipPlusFourCode: "1234"
|
|
924
|
+
* },
|
|
916
925
|
* diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
926
|
+
* initialReferringProvider: {
|
|
927
|
+
* npi: "string",
|
|
928
|
+
* taxonomyCode: "string",
|
|
929
|
+
* address: {
|
|
930
|
+
* address1: "123 Main St",
|
|
931
|
+
* address2: "Apt 1",
|
|
932
|
+
* city: "New York",
|
|
933
|
+
* state: "NY",
|
|
934
|
+
* zipCode: "10001",
|
|
935
|
+
* zipPlusFourCode: "1234"
|
|
936
|
+
* },
|
|
937
|
+
* qualifier: "DQ",
|
|
938
|
+
* firstName: "string",
|
|
939
|
+
* lastName: "string",
|
|
940
|
+
* organizationName: "string"
|
|
941
|
+
* },
|
|
942
|
+
* referringProvider: {
|
|
943
|
+
* npi: "string",
|
|
944
|
+
* taxonomyCode: "string",
|
|
945
|
+
* address: {
|
|
946
|
+
* address1: "123 Main St",
|
|
947
|
+
* address2: "Apt 1",
|
|
948
|
+
* city: "New York",
|
|
949
|
+
* state: "NY",
|
|
950
|
+
* zipCode: "10001",
|
|
951
|
+
* zipPlusFourCode: "1234"
|
|
952
|
+
* },
|
|
953
|
+
* firstName: "string",
|
|
954
|
+
* lastName: "string",
|
|
955
|
+
* organizationName: "string"
|
|
956
|
+
* },
|
|
957
|
+
* patient: {
|
|
958
|
+
* firstName: "string",
|
|
959
|
+
* lastName: "string",
|
|
960
|
+
* gender: "male",
|
|
961
|
+
* externalId: "string",
|
|
962
|
+
* dateOfBirth: "2023-01-15",
|
|
963
|
+
* address: {
|
|
964
|
+
* address1: "123 Main St",
|
|
965
|
+
* address2: "Apt 1",
|
|
966
|
+
* city: "New York",
|
|
967
|
+
* state: "NY",
|
|
968
|
+
* zipCode: "10001",
|
|
969
|
+
* zipPlusFourCode: "1234"
|
|
970
|
+
* },
|
|
971
|
+
* phoneNumbers: [{
|
|
972
|
+
* number: "1234567890",
|
|
973
|
+
* type: "Home"
|
|
974
|
+
* }],
|
|
975
|
+
* phoneConsent: true,
|
|
976
|
+
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
977
|
+
* emailConsent: true,
|
|
978
|
+
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
979
|
+
* nonInsurancePayersInfo: [{
|
|
980
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
981
|
+
* memberId: "string",
|
|
982
|
+
* clinicalTrialInfo: [{
|
|
983
|
+
* clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
984
|
+
* }]
|
|
985
|
+
* }]
|
|
986
|
+
* },
|
|
987
|
+
* renderingProvider: {
|
|
988
|
+
* npi: "string",
|
|
989
|
+
* taxonomyCode: "string",
|
|
990
|
+
* address: {
|
|
991
|
+
* address1: "123 Main St",
|
|
992
|
+
* address2: "Apt 1",
|
|
993
|
+
* city: "New York",
|
|
994
|
+
* state: "NY",
|
|
995
|
+
* zipCode: "10001",
|
|
996
|
+
* zipPlusFourCode: "1234"
|
|
997
|
+
* },
|
|
998
|
+
* firstName: "string",
|
|
999
|
+
* lastName: "string",
|
|
1000
|
+
* organizationName: "string"
|
|
1001
|
+
* },
|
|
1002
|
+
* serviceFacility: {
|
|
1003
|
+
* organizationName: "Test Organization",
|
|
1004
|
+
* address: {
|
|
1005
|
+
* address1: "123 Main St",
|
|
1006
|
+
* address2: "Apt 1",
|
|
1007
|
+
* city: "New York",
|
|
1008
|
+
* state: "NY",
|
|
1009
|
+
* zipCode: "10001",
|
|
1010
|
+
* zipPlusFourCode: "1234"
|
|
1011
|
+
* }
|
|
1012
|
+
* },
|
|
1013
|
+
* supervisingProvider: {
|
|
1014
|
+
* npi: "string",
|
|
1015
|
+
* taxonomyCode: "string",
|
|
1016
|
+
* address: {
|
|
1017
|
+
* address1: "123 Main St",
|
|
1018
|
+
* address2: "Apt 1",
|
|
1019
|
+
* city: "New York",
|
|
1020
|
+
* state: "NY",
|
|
1021
|
+
* zipCode: "10001",
|
|
1022
|
+
* zipPlusFourCode: "1234"
|
|
1023
|
+
* },
|
|
1024
|
+
* firstName: "string",
|
|
1025
|
+
* lastName: "string",
|
|
1026
|
+
* organizationName: "string"
|
|
1027
|
+
* },
|
|
1028
|
+
* billingProvider: {
|
|
1029
|
+
* address: {
|
|
1030
|
+
* address1: "123 Main St",
|
|
1031
|
+
* address2: "Apt 1",
|
|
1032
|
+
* city: "New York",
|
|
1033
|
+
* state: "NY",
|
|
1034
|
+
* zipCode: "10001",
|
|
1035
|
+
* zipPlusFourCode: "1234"
|
|
1036
|
+
* },
|
|
1037
|
+
* taxId: "string",
|
|
1038
|
+
* npi: "string",
|
|
1039
|
+
* taxonomyCode: "string",
|
|
1040
|
+
* providerCommercialLicenseType: "0",
|
|
1041
|
+
* firstName: "string",
|
|
1042
|
+
* lastName: "string",
|
|
1043
|
+
* organizationName: "string"
|
|
1044
|
+
* },
|
|
917
1045
|
* placeOfServiceCodeAsSubmitted: "01"
|
|
918
1046
|
* })
|
|
919
1047
|
*/
|
|
@@ -923,7 +1051,7 @@ class V4 {
|
|
|
923
1051
|
const _response = yield core.fetcher({
|
|
924
1052
|
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/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
925
1053
|
method: "PATCH",
|
|
926
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
1054
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
927
1055
|
contentType: "application/json",
|
|
928
1056
|
requestType: "json",
|
|
929
1057
|
body: serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -308,6 +308,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
308
308
|
* attachmentReportTypeCode: "03",
|
|
309
309
|
* attachmentTransmissionCode: "BM"
|
|
310
310
|
* }],
|
|
311
|
+
* secondaryPayerCarrierCode: "string",
|
|
311
312
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
312
313
|
* dateOfService: "2023-01-15",
|
|
313
314
|
* endDateOfService: "2023-01-15",
|
|
@@ -496,4 +497,9 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
|
|
|
496
497
|
*
|
|
497
498
|
*/
|
|
498
499
|
claimSupplementalInformation?: CandidApi.encounters.v4.ClaimSupplementalInformation[];
|
|
500
|
+
/**
|
|
501
|
+
* When Medicaid is billed as the secondary payer the Carrier Code is used to identify the primary payer. This is required for certain states.
|
|
502
|
+
*
|
|
503
|
+
*/
|
|
504
|
+
secondaryPayerCarrierCode?: string;
|
|
499
505
|
}
|
|
@@ -5,11 +5,140 @@ import * as CandidApi from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* payToAddress: {
|
|
9
|
+
* address1: "123 Main St",
|
|
10
|
+
* address2: "Apt 1",
|
|
11
|
+
* city: "New York",
|
|
12
|
+
* state: "NY",
|
|
13
|
+
* zipCode: "10001",
|
|
14
|
+
* zipPlusFourCode: "1234"
|
|
15
|
+
* },
|
|
8
16
|
* diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
17
|
+
* initialReferringProvider: {
|
|
18
|
+
* npi: "string",
|
|
19
|
+
* taxonomyCode: "string",
|
|
20
|
+
* address: {
|
|
21
|
+
* address1: "123 Main St",
|
|
22
|
+
* address2: "Apt 1",
|
|
23
|
+
* city: "New York",
|
|
24
|
+
* state: "NY",
|
|
25
|
+
* zipCode: "10001",
|
|
26
|
+
* zipPlusFourCode: "1234"
|
|
27
|
+
* },
|
|
28
|
+
* qualifier: "DQ",
|
|
29
|
+
* firstName: "string",
|
|
30
|
+
* lastName: "string",
|
|
31
|
+
* organizationName: "string"
|
|
32
|
+
* },
|
|
33
|
+
* referringProvider: {
|
|
34
|
+
* npi: "string",
|
|
35
|
+
* taxonomyCode: "string",
|
|
36
|
+
* address: {
|
|
37
|
+
* address1: "123 Main St",
|
|
38
|
+
* address2: "Apt 1",
|
|
39
|
+
* city: "New York",
|
|
40
|
+
* state: "NY",
|
|
41
|
+
* zipCode: "10001",
|
|
42
|
+
* zipPlusFourCode: "1234"
|
|
43
|
+
* },
|
|
44
|
+
* firstName: "string",
|
|
45
|
+
* lastName: "string",
|
|
46
|
+
* organizationName: "string"
|
|
47
|
+
* },
|
|
48
|
+
* patient: {
|
|
49
|
+
* firstName: "string",
|
|
50
|
+
* lastName: "string",
|
|
51
|
+
* gender: "male",
|
|
52
|
+
* externalId: "string",
|
|
53
|
+
* dateOfBirth: "2023-01-15",
|
|
54
|
+
* address: {
|
|
55
|
+
* address1: "123 Main St",
|
|
56
|
+
* address2: "Apt 1",
|
|
57
|
+
* city: "New York",
|
|
58
|
+
* state: "NY",
|
|
59
|
+
* zipCode: "10001",
|
|
60
|
+
* zipPlusFourCode: "1234"
|
|
61
|
+
* },
|
|
62
|
+
* phoneNumbers: [{
|
|
63
|
+
* number: "1234567890",
|
|
64
|
+
* type: "Home"
|
|
65
|
+
* }],
|
|
66
|
+
* phoneConsent: true,
|
|
67
|
+
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
68
|
+
* emailConsent: true,
|
|
69
|
+
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
70
|
+
* nonInsurancePayersInfo: [{
|
|
71
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
72
|
+
* memberId: "string",
|
|
73
|
+
* clinicalTrialInfo: [{
|
|
74
|
+
* clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
75
|
+
* }]
|
|
76
|
+
* }]
|
|
77
|
+
* },
|
|
78
|
+
* renderingProvider: {
|
|
79
|
+
* npi: "string",
|
|
80
|
+
* taxonomyCode: "string",
|
|
81
|
+
* address: {
|
|
82
|
+
* address1: "123 Main St",
|
|
83
|
+
* address2: "Apt 1",
|
|
84
|
+
* city: "New York",
|
|
85
|
+
* state: "NY",
|
|
86
|
+
* zipCode: "10001",
|
|
87
|
+
* zipPlusFourCode: "1234"
|
|
88
|
+
* },
|
|
89
|
+
* firstName: "string",
|
|
90
|
+
* lastName: "string",
|
|
91
|
+
* organizationName: "string"
|
|
92
|
+
* },
|
|
93
|
+
* serviceFacility: {
|
|
94
|
+
* organizationName: "Test Organization",
|
|
95
|
+
* address: {
|
|
96
|
+
* address1: "123 Main St",
|
|
97
|
+
* address2: "Apt 1",
|
|
98
|
+
* city: "New York",
|
|
99
|
+
* state: "NY",
|
|
100
|
+
* zipCode: "10001",
|
|
101
|
+
* zipPlusFourCode: "1234"
|
|
102
|
+
* }
|
|
103
|
+
* },
|
|
104
|
+
* supervisingProvider: {
|
|
105
|
+
* npi: "string",
|
|
106
|
+
* taxonomyCode: "string",
|
|
107
|
+
* address: {
|
|
108
|
+
* address1: "123 Main St",
|
|
109
|
+
* address2: "Apt 1",
|
|
110
|
+
* city: "New York",
|
|
111
|
+
* state: "NY",
|
|
112
|
+
* zipCode: "10001",
|
|
113
|
+
* zipPlusFourCode: "1234"
|
|
114
|
+
* },
|
|
115
|
+
* firstName: "string",
|
|
116
|
+
* lastName: "string",
|
|
117
|
+
* organizationName: "string"
|
|
118
|
+
* },
|
|
119
|
+
* billingProvider: {
|
|
120
|
+
* address: {
|
|
121
|
+
* address1: "123 Main St",
|
|
122
|
+
* address2: "Apt 1",
|
|
123
|
+
* city: "New York",
|
|
124
|
+
* state: "NY",
|
|
125
|
+
* zipCode: "10001",
|
|
126
|
+
* zipPlusFourCode: "1234"
|
|
127
|
+
* },
|
|
128
|
+
* taxId: "string",
|
|
129
|
+
* npi: "string",
|
|
130
|
+
* taxonomyCode: "string",
|
|
131
|
+
* providerCommercialLicenseType: "0",
|
|
132
|
+
* firstName: "string",
|
|
133
|
+
* lastName: "string",
|
|
134
|
+
* organizationName: "string"
|
|
135
|
+
* },
|
|
9
136
|
* placeOfServiceCodeAsSubmitted: "01"
|
|
10
137
|
* }
|
|
11
138
|
*/
|
|
12
139
|
export interface EncounterUpdate extends CandidApi.encounters.v4.EncounterOptional {
|
|
140
|
+
/** Specifies the address to which payments for the claim should be sent. */
|
|
141
|
+
payToAddress?: CandidApi.StreetAddressLongZip;
|
|
13
142
|
/**
|
|
14
143
|
* Ideally, this field should contain no more than 12 diagnoses. However, more diagnoses
|
|
15
144
|
* may be submitted at this time, and coders will later prioritize the 12 that will be
|
|
@@ -17,6 +146,45 @@ export interface EncounterUpdate extends CandidApi.encounters.v4.EncounterOption
|
|
|
17
146
|
*
|
|
18
147
|
*/
|
|
19
148
|
diagnosisIds?: CandidApi.DiagnosisId[];
|
|
149
|
+
/**
|
|
150
|
+
* The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
|
|
151
|
+
* indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction.
|
|
152
|
+
*
|
|
153
|
+
*/
|
|
154
|
+
initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate;
|
|
155
|
+
/**
|
|
156
|
+
* The final provider who referred the services that were rendered.
|
|
157
|
+
* All physicians who order services or refer Medicare beneficiaries must
|
|
158
|
+
* report this data.
|
|
159
|
+
*
|
|
160
|
+
*/
|
|
161
|
+
referringProvider?: CandidApi.encounterProviders.v2.ReferringProviderUpdate;
|
|
162
|
+
/**
|
|
163
|
+
* Contains the identification information of the individual receiving medical services.
|
|
164
|
+
*
|
|
165
|
+
*/
|
|
166
|
+
patient?: CandidApi.PatientUpdate;
|
|
167
|
+
/**
|
|
168
|
+
* The rendering provider is the practitioner -- physician, nurse practitioner, etc. -- performing the service.
|
|
169
|
+
* For telehealth services, the rendering provider performs the visit, asynchronous communication, or other service. The rendering provider address should generally be the same as the service facility address.
|
|
170
|
+
*
|
|
171
|
+
*/
|
|
172
|
+
renderingProvider?: CandidApi.encounterProviders.v2.RenderingProviderUpdate;
|
|
173
|
+
/**
|
|
174
|
+
* Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process.
|
|
175
|
+
*
|
|
176
|
+
*/
|
|
177
|
+
serviceFacility?: CandidApi.EncounterServiceFacilityUpdate;
|
|
178
|
+
/**
|
|
179
|
+
* Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send.
|
|
180
|
+
*
|
|
181
|
+
*/
|
|
182
|
+
supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProviderUpdate;
|
|
183
|
+
/**
|
|
184
|
+
* The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form.
|
|
185
|
+
*
|
|
186
|
+
*/
|
|
187
|
+
billingProvider?: CandidApi.encounterProviders.v2.BillingProviderUpdate;
|
|
20
188
|
/**
|
|
21
189
|
* Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
|
|
22
190
|
*
|
|
@@ -509,6 +509,8 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
|
|
|
509
509
|
epsdtReferral?: CandidApi.encounters.v4.EpsdtReferral;
|
|
510
510
|
/** Refers to Loop 2300 - Segment PWK on the 837P form. No more than 10 entries are permitted. */
|
|
511
511
|
claimSupplementalInformation?: CandidApi.encounters.v4.ClaimSupplementalInformation[];
|
|
512
|
+
/** When Medicaid is billed as the secondary payer the Carrier Code is used to identify the primary payer. This is required for certain states. */
|
|
513
|
+
secondaryPayerCarrierCode?: string;
|
|
512
514
|
/** The date and time the encounter was last submitted to a payer. */
|
|
513
515
|
lastSubmittedAt?: Date;
|
|
514
516
|
/** The date and time the encounter was created. */
|
|
@@ -25,8 +25,6 @@ export interface EncounterOptional {
|
|
|
25
25
|
tagIds?: CandidApi.TagId[];
|
|
26
26
|
/** Holds a collection of clinical observations made by healthcare providers during patient encounters. */
|
|
27
27
|
clinicalNotes?: CandidApi.encounters.v4.ClinicalNoteCategoryCreate[];
|
|
28
|
-
/** Specifies the address to which payments for the claim should be sent. */
|
|
29
|
-
payToAddress?: CandidApi.StreetAddressLongZip;
|
|
30
28
|
/** Defines if the Encounter is to be billed by Candid to the responsible_party. Examples for when this should be set to NOT_BILLABLE include if the Encounter has not occurred yet or if there is no intention of ever billing the responsible_party. */
|
|
31
29
|
billableStatus?: CandidApi.encounters.v4.BillableStatusType;
|
|
32
30
|
/** Defines the party to be billed with the initial balance owed on the claim. Use SELF_PAY if you intend to bill self pay/cash pay. */
|
|
@@ -94,8 +92,6 @@ export interface EncounterOptional {
|
|
|
94
92
|
* Code indicating the reason why a request was delayed
|
|
95
93
|
*/
|
|
96
94
|
delayReasonCode?: CandidApi.DelayReasonCode;
|
|
97
|
-
/** Contains the identification information of the individual receiving medical services. */
|
|
98
|
-
patient?: CandidApi.PatientUpdate;
|
|
99
95
|
/**
|
|
100
96
|
* Whether this patient has authorized the release of medical information
|
|
101
97
|
* for billing purpose.
|
|
@@ -119,34 +115,14 @@ export interface EncounterOptional {
|
|
|
119
115
|
* Note all current existing medications on encounter will be overridden with this list.
|
|
120
116
|
*/
|
|
121
117
|
existingMedications?: CandidApi.encounters.v4.Medication[];
|
|
122
|
-
/**
|
|
123
|
-
* The rendering provider is the practitioner -- physician, nurse practitioner, etc. -- performing the service.
|
|
124
|
-
* For telehealth services, the rendering provider performs the visit, asynchronous communication, or other service. The rendering provider address should generally be the same as the service facility address.
|
|
125
|
-
*/
|
|
126
|
-
renderingProvider?: CandidApi.encounterProviders.v2.RenderingProviderUpdate;
|
|
127
|
-
/** Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process. */
|
|
128
|
-
serviceFacility?: CandidApi.EncounterServiceFacilityUpdate;
|
|
129
118
|
/** Personal and contact info for the guarantor of the patient responsibility. */
|
|
130
119
|
guarantor?: CandidApi.guarantor.v1.GuarantorUpdate;
|
|
131
|
-
/** The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form. */
|
|
132
|
-
billingProvider?: CandidApi.encounterProviders.v2.BillingProviderUpdate;
|
|
133
|
-
/** Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send. */
|
|
134
|
-
supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProviderUpdate;
|
|
135
|
-
/**
|
|
136
|
-
* The final provider who referred the services that were rendered.
|
|
137
|
-
* All physicians who order services or refer Medicare beneficiaries must
|
|
138
|
-
* report this data.
|
|
139
|
-
*/
|
|
140
|
-
referringProvider?: CandidApi.encounterProviders.v2.ReferringProviderUpdate;
|
|
141
|
-
/**
|
|
142
|
-
* The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
|
|
143
|
-
* indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction.
|
|
144
|
-
*/
|
|
145
|
-
initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate;
|
|
146
120
|
/** Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters. */
|
|
147
121
|
referralNumber?: string;
|
|
148
122
|
/** Refers Box 24H on the CMS1500 form and Loop 2300 CRC - EPSDT Referral on the 837P form */
|
|
149
123
|
epsdtReferral?: CandidApi.encounters.v4.EpsdtReferral;
|
|
150
124
|
/** Refers to Loop 2300 - Segment PWK on the 837P form. No more than 10 entries are permitted. */
|
|
151
125
|
claimSupplementalInformation?: CandidApi.encounters.v4.ClaimSupplementalInformation[];
|
|
126
|
+
/** When Medicaid is billed as the secondary payer the Carrier Code is used to identify the primary payer. This is required for certain states. */
|
|
127
|
+
secondaryPayerCarrierCode?: string;
|
|
152
128
|
}
|
|
@@ -84,7 +84,7 @@ class V1 {
|
|
|
84
84
|
const _response = yield core.fetcher({
|
|
85
85
|
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/expected-network-status/v1"),
|
|
86
86
|
method: "POST",
|
|
87
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
87
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
requestType: "json",
|
|
90
90
|
body: serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -101,7 +101,7 @@ class V2 {
|
|
|
101
101
|
const _response = yield core.fetcher({
|
|
102
102
|
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/expected-network-status/v2/compute/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(renderingProviderId))}`),
|
|
103
103
|
method: "POST",
|
|
104
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
104
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
requestType: "json",
|
|
107
107
|
body: serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
|
|
@@ -186,7 +186,7 @@ class V2 {
|
|
|
186
186
|
const _response = yield core.fetcher({
|
|
187
187
|
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/expected-network-status/v2/compute"),
|
|
188
188
|
method: "POST",
|
|
189
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
189
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
190
190
|
contentType: "application/json",
|
|
191
191
|
requestType: "json",
|
|
192
192
|
body: serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
|
|
@@ -95,7 +95,7 @@ class V3 {
|
|
|
95
95
|
const _response = yield core.fetcher({
|
|
96
96
|
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/exports/v3"),
|
|
97
97
|
method: "GET",
|
|
98
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
98
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
queryParameters: _queryParams,
|
|
101
101
|
requestType: "json",
|
|
@@ -87,7 +87,7 @@ class V1 {
|
|
|
87
87
|
const _response = yield core.fetcher({
|
|
88
88
|
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/external-payment-account-config/v1"),
|
|
89
89
|
method: "GET",
|
|
90
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
90
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
91
91
|
contentType: "application/json",
|
|
92
92
|
queryParameters: _queryParams,
|
|
93
93
|
requestType: "json",
|
|
@@ -73,7 +73,7 @@ class V3 {
|
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
74
|
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/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
76
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -128,7 +128,7 @@ class V3 {
|
|
|
128
128
|
const _response = yield core.fetcher({
|
|
129
129
|
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/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}`),
|
|
130
130
|
method: "GET",
|
|
131
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
131
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
requestType: "json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -280,7 +280,7 @@ class V3 {
|
|
|
280
280
|
const _response = yield core.fetcher({
|
|
281
281
|
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/fee-schedules/v3"),
|
|
282
282
|
method: "GET",
|
|
283
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
283
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
284
284
|
contentType: "application/json",
|
|
285
285
|
queryParameters: _queryParams,
|
|
286
286
|
requestType: "json",
|
|
@@ -418,7 +418,7 @@ class V3 {
|
|
|
418
418
|
const _response = yield core.fetcher({
|
|
419
419
|
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/fee-schedules/v3/unique-dimension-values"),
|
|
420
420
|
method: "GET",
|
|
421
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
421
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
422
422
|
contentType: "application/json",
|
|
423
423
|
queryParameters: _queryParams,
|
|
424
424
|
requestType: "json",
|
|
@@ -458,7 +458,7 @@ class V3 {
|
|
|
458
458
|
const _response = yield core.fetcher({
|
|
459
459
|
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/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/history`),
|
|
460
460
|
method: "GET",
|
|
461
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
461
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
462
462
|
contentType: "application/json",
|
|
463
463
|
requestType: "json",
|
|
464
464
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -533,7 +533,7 @@ class V3 {
|
|
|
533
533
|
const _response = yield core.fetcher({
|
|
534
534
|
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/fee-schedules/v3"),
|
|
535
535
|
method: "POST",
|
|
536
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
536
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
537
537
|
contentType: "application/json",
|
|
538
538
|
requestType: "json",
|
|
539
539
|
body: serializers.feeSchedules.v3.FeeScheduleUploadRequest.jsonOrThrow(request, {
|
|
@@ -590,7 +590,7 @@ class V3 {
|
|
|
590
590
|
const _response = yield core.fetcher({
|
|
591
591
|
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/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/${encodeURIComponent(version)}`),
|
|
592
592
|
method: "DELETE",
|
|
593
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
593
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
594
594
|
contentType: "application/json",
|
|
595
595
|
requestType: "json",
|
|
596
596
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -638,7 +638,7 @@ class V3 {
|
|
|
638
638
|
const _response = yield core.fetcher({
|
|
639
639
|
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/fee-schedules/v3/payer-threshold/default"),
|
|
640
640
|
method: "GET",
|
|
641
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
641
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
642
642
|
contentType: "application/json",
|
|
643
643
|
requestType: "json",
|
|
644
644
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -687,7 +687,7 @@ class V3 {
|
|
|
687
687
|
const _response = yield core.fetcher({
|
|
688
688
|
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/fee-schedules/v3/payer-threshold"),
|
|
689
689
|
method: "GET",
|
|
690
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
690
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
691
691
|
contentType: "application/json",
|
|
692
692
|
queryParameters: _queryParams,
|
|
693
693
|
requestType: "json",
|
|
@@ -732,7 +732,7 @@ class V3 {
|
|
|
732
732
|
const _response = yield core.fetcher({
|
|
733
733
|
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/fee-schedules/v3/payer-threshold/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
|
|
734
734
|
method: "PUT",
|
|
735
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
735
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
736
736
|
contentType: "application/json",
|
|
737
737
|
requestType: "json",
|
|
738
738
|
body: serializers.feeSchedules.v3.PayerThreshold.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|