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
|
@@ -86,7 +86,7 @@ class V2 {
|
|
|
86
86
|
const _response = yield core.fetcher({
|
|
87
87
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
88
88
|
method: "PATCH",
|
|
89
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
89
|
+
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),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
requestType: "json",
|
|
92
92
|
body: serializers.encounterProviders.v2.ReferringProviderUpdate.jsonOrThrow(request, {
|
|
@@ -157,7 +157,7 @@ class V2 {
|
|
|
157
157
|
const _response = yield core.fetcher({
|
|
158
158
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/initial-referring-provider`),
|
|
159
159
|
method: "PATCH",
|
|
160
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
160
|
+
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),
|
|
161
161
|
contentType: "application/json",
|
|
162
162
|
requestType: "json",
|
|
163
163
|
body: serializers.encounterProviders.v2.InitialReferringProviderUpdate.jsonOrThrow(request, {
|
|
@@ -228,7 +228,7 @@ class V2 {
|
|
|
228
228
|
const _response = yield core.fetcher({
|
|
229
229
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/supervising-provider`),
|
|
230
230
|
method: "PATCH",
|
|
231
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
231
|
+
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),
|
|
232
232
|
contentType: "application/json",
|
|
233
233
|
requestType: "json",
|
|
234
234
|
body: serializers.encounterProviders.v2.SupervisingProviderUpdate.jsonOrThrow(request, {
|
|
@@ -299,7 +299,7 @@ class V2 {
|
|
|
299
299
|
const _response = yield core.fetcher({
|
|
300
300
|
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/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/ordering-provider`),
|
|
301
301
|
method: "PATCH",
|
|
302
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
302
|
+
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),
|
|
303
303
|
contentType: "application/json",
|
|
304
304
|
requestType: "json",
|
|
305
305
|
body: serializers.encounterProviders.v2.OrderingProviderUpdate.jsonOrThrow(request, {
|
|
@@ -369,7 +369,7 @@ class V2 {
|
|
|
369
369
|
const _response = yield core.fetcher({
|
|
370
370
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-referring-provider`),
|
|
371
371
|
method: "POST",
|
|
372
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
372
|
+
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),
|
|
373
373
|
contentType: "application/json",
|
|
374
374
|
requestType: "json",
|
|
375
375
|
body: serializers.encounterProviders.v2.ReferringProvider.jsonOrThrow(request, {
|
|
@@ -441,7 +441,7 @@ class V2 {
|
|
|
441
441
|
const _response = yield core.fetcher({
|
|
442
442
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-initial-referring-provider`),
|
|
443
443
|
method: "POST",
|
|
444
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
444
|
+
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),
|
|
445
445
|
contentType: "application/json",
|
|
446
446
|
requestType: "json",
|
|
447
447
|
body: serializers.encounterProviders.v2.InitialReferringProvider.jsonOrThrow(request, {
|
|
@@ -514,7 +514,7 @@ class V2 {
|
|
|
514
514
|
const _response = yield core.fetcher({
|
|
515
515
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-supervising-provider`),
|
|
516
516
|
method: "POST",
|
|
517
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
517
|
+
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),
|
|
518
518
|
contentType: "application/json",
|
|
519
519
|
requestType: "json",
|
|
520
520
|
body: serializers.encounterProviders.v2.SupervisingProvider.jsonOrThrow(request, {
|
|
@@ -586,7 +586,7 @@ class V2 {
|
|
|
586
586
|
const _response = yield core.fetcher({
|
|
587
587
|
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/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/create-ordering-provider`),
|
|
588
588
|
method: "POST",
|
|
589
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
589
|
+
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),
|
|
590
590
|
contentType: "application/json",
|
|
591
591
|
requestType: "json",
|
|
592
592
|
body: serializers.encounterProviders.v2.OrderingProvider.jsonOrThrow(request, {
|
|
@@ -642,7 +642,7 @@ class V2 {
|
|
|
642
642
|
const _response = yield core.fetcher({
|
|
643
643
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/referring-provider`),
|
|
644
644
|
method: "DELETE",
|
|
645
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
645
|
+
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),
|
|
646
646
|
contentType: "application/json",
|
|
647
647
|
requestType: "json",
|
|
648
648
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -689,7 +689,7 @@ class V2 {
|
|
|
689
689
|
const _response = yield core.fetcher({
|
|
690
690
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/initial-referring-provider`),
|
|
691
691
|
method: "DELETE",
|
|
692
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
692
|
+
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),
|
|
693
693
|
contentType: "application/json",
|
|
694
694
|
requestType: "json",
|
|
695
695
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -736,7 +736,7 @@ class V2 {
|
|
|
736
736
|
const _response = yield core.fetcher({
|
|
737
737
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/supervising-provider`),
|
|
738
738
|
method: "DELETE",
|
|
739
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
739
|
+
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),
|
|
740
740
|
contentType: "application/json",
|
|
741
741
|
requestType: "json",
|
|
742
742
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -783,7 +783,7 @@ class V2 {
|
|
|
783
783
|
const _response = yield core.fetcher({
|
|
784
784
|
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/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/ordering-provider`),
|
|
785
785
|
method: "DELETE",
|
|
786
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
786
|
+
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),
|
|
787
787
|
contentType: "application/json",
|
|
788
788
|
requestType: "json",
|
|
789
789
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* The billing provider is the provider or business entity submitting the claim.
|
|
7
|
+
* Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider.
|
|
8
|
+
* From a payer's perspective, this represents the person or entity being reimbursed.
|
|
9
|
+
* When a contract exists with the target payer, the billing provider should be the entity contracted with the payer.
|
|
10
|
+
* In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the
|
|
11
|
+
* tax ID (TIN) that the provider gave to the payer during contracting.
|
|
12
|
+
* In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID.
|
|
13
|
+
* Box 33 on the CMS-1500 claim form.
|
|
14
|
+
* The address fields here are optional.
|
|
15
|
+
*/
|
|
16
|
+
export interface BillingProviderUpdateWithOptionalAddress extends CandidApi.encounterProviders.v2.EncounterProviderBase {
|
|
17
|
+
address?: CandidApi.StreetAddressShortZipOptional;
|
|
18
|
+
/** If the provider has a contract with insurance, this must be the same tax ID given to the payer on an IRS W-9 form completed during contracting. */
|
|
19
|
+
taxId?: string;
|
|
20
|
+
npi?: string;
|
|
21
|
+
taxonomyCode?: string;
|
|
22
|
+
/**
|
|
23
|
+
* 837i Loop2010BB G2
|
|
24
|
+
* Provider Commercial Number
|
|
25
|
+
*/
|
|
26
|
+
providerCommercialLicenseType?: CandidApi.BillingProviderCommercialLicenseType;
|
|
27
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface InitialReferringProviderUpdateWithOptionalAddress extends CandidApi.encounterProviders.v2.EncounterProviderBase {
|
|
6
|
+
/**
|
|
7
|
+
* A National Provider Identifier is a unique 10-digit identification
|
|
8
|
+
* number issued to health care providers in the United States
|
|
9
|
+
*/
|
|
10
|
+
npi?: string;
|
|
11
|
+
taxonomyCode?: string;
|
|
12
|
+
address?: CandidApi.StreetAddressShortZipOptional;
|
|
13
|
+
qualifier?: CandidApi.QualifierCode;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ReferringProviderUpdateWithOptionalAddress extends CandidApi.encounterProviders.v2.EncounterProviderBase {
|
|
6
|
+
/**
|
|
7
|
+
* A National Provider Identifier is a unique 10-digit identification
|
|
8
|
+
* number issued to health care providers in the United States
|
|
9
|
+
*/
|
|
10
|
+
npi?: string;
|
|
11
|
+
taxonomyCode?: string;
|
|
12
|
+
address?: CandidApi.StreetAddressShortZipOptional;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface RenderingProviderUpdateWithOptionalAddress extends CandidApi.encounterProviders.v2.EncounterProviderBase {
|
|
6
|
+
/**
|
|
7
|
+
* A National Provider Identifier is a unique 10-digit identification
|
|
8
|
+
* number issued to health care providers in the United States
|
|
9
|
+
*/
|
|
10
|
+
npi?: string;
|
|
11
|
+
taxonomyCode?: string;
|
|
12
|
+
address?: CandidApi.StreetAddressShortZipOptional;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface SupervisingProviderUpdateWithOptionalAddress extends CandidApi.encounterProviders.v2.EncounterProviderBase {
|
|
6
|
+
/**
|
|
7
|
+
* A National Provider Identifier is a unique 10-digit identification
|
|
8
|
+
* number issued to health care providers in the United States
|
|
9
|
+
*/
|
|
10
|
+
npi?: string;
|
|
11
|
+
taxonomyCode?: string;
|
|
12
|
+
address?: CandidApi.StreetAddressShortZipOptional;
|
|
13
|
+
}
|
|
@@ -11,5 +11,10 @@ export * from "./OrderingProvider";
|
|
|
11
11
|
export * from "./OrderingProviderUpdate";
|
|
12
12
|
export * from "./BillingProvider";
|
|
13
13
|
export * from "./BillingProviderUpdate";
|
|
14
|
+
export * from "./BillingProviderUpdateWithOptionalAddress";
|
|
15
|
+
export * from "./RenderingProviderUpdateWithOptionalAddress";
|
|
16
|
+
export * from "./InitialReferringProviderUpdateWithOptionalAddress";
|
|
17
|
+
export * from "./ReferringProviderUpdateWithOptionalAddress";
|
|
18
|
+
export * from "./SupervisingProviderUpdateWithOptionalAddress";
|
|
14
19
|
export * from "./ProviderId";
|
|
15
20
|
export * from "./EncounterProvider";
|
|
@@ -27,5 +27,10 @@ __exportStar(require("./OrderingProvider"), exports);
|
|
|
27
27
|
__exportStar(require("./OrderingProviderUpdate"), exports);
|
|
28
28
|
__exportStar(require("./BillingProvider"), exports);
|
|
29
29
|
__exportStar(require("./BillingProviderUpdate"), exports);
|
|
30
|
+
__exportStar(require("./BillingProviderUpdateWithOptionalAddress"), exports);
|
|
31
|
+
__exportStar(require("./RenderingProviderUpdateWithOptionalAddress"), exports);
|
|
32
|
+
__exportStar(require("./InitialReferringProviderUpdateWithOptionalAddress"), exports);
|
|
33
|
+
__exportStar(require("./ReferringProviderUpdateWithOptionalAddress"), exports);
|
|
34
|
+
__exportStar(require("./SupervisingProviderUpdateWithOptionalAddress"), exports);
|
|
30
35
|
__exportStar(require("./ProviderId"), exports);
|
|
31
36
|
__exportStar(require("./EncounterProvider"), exports);
|
|
@@ -361,6 +361,7 @@ export declare class V4 {
|
|
|
361
361
|
* attachmentReportTypeCode: "03",
|
|
362
362
|
* attachmentTransmissionCode: "BM"
|
|
363
363
|
* }],
|
|
364
|
+
* secondaryPayerCarrierCode: "string",
|
|
364
365
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
365
366
|
* dateOfService: "2023-01-15",
|
|
366
367
|
* endDateOfService: "2023-01-15",
|
|
@@ -653,7 +654,134 @@ export declare class V4 {
|
|
|
653
654
|
*
|
|
654
655
|
* @example
|
|
655
656
|
* await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
657
|
+
* payToAddress: {
|
|
658
|
+
* address1: "123 Main St",
|
|
659
|
+
* address2: "Apt 1",
|
|
660
|
+
* city: "New York",
|
|
661
|
+
* state: "NY",
|
|
662
|
+
* zipCode: "10001",
|
|
663
|
+
* zipPlusFourCode: "1234"
|
|
664
|
+
* },
|
|
656
665
|
* diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
666
|
+
* initialReferringProvider: {
|
|
667
|
+
* npi: "string",
|
|
668
|
+
* taxonomyCode: "string",
|
|
669
|
+
* address: {
|
|
670
|
+
* address1: "123 Main St",
|
|
671
|
+
* address2: "Apt 1",
|
|
672
|
+
* city: "New York",
|
|
673
|
+
* state: "NY",
|
|
674
|
+
* zipCode: "10001",
|
|
675
|
+
* zipPlusFourCode: "1234"
|
|
676
|
+
* },
|
|
677
|
+
* qualifier: "DQ",
|
|
678
|
+
* firstName: "string",
|
|
679
|
+
* lastName: "string",
|
|
680
|
+
* organizationName: "string"
|
|
681
|
+
* },
|
|
682
|
+
* referringProvider: {
|
|
683
|
+
* npi: "string",
|
|
684
|
+
* taxonomyCode: "string",
|
|
685
|
+
* address: {
|
|
686
|
+
* address1: "123 Main St",
|
|
687
|
+
* address2: "Apt 1",
|
|
688
|
+
* city: "New York",
|
|
689
|
+
* state: "NY",
|
|
690
|
+
* zipCode: "10001",
|
|
691
|
+
* zipPlusFourCode: "1234"
|
|
692
|
+
* },
|
|
693
|
+
* firstName: "string",
|
|
694
|
+
* lastName: "string",
|
|
695
|
+
* organizationName: "string"
|
|
696
|
+
* },
|
|
697
|
+
* patient: {
|
|
698
|
+
* firstName: "string",
|
|
699
|
+
* lastName: "string",
|
|
700
|
+
* gender: "male",
|
|
701
|
+
* externalId: "string",
|
|
702
|
+
* dateOfBirth: "2023-01-15",
|
|
703
|
+
* address: {
|
|
704
|
+
* address1: "123 Main St",
|
|
705
|
+
* address2: "Apt 1",
|
|
706
|
+
* city: "New York",
|
|
707
|
+
* state: "NY",
|
|
708
|
+
* zipCode: "10001",
|
|
709
|
+
* zipPlusFourCode: "1234"
|
|
710
|
+
* },
|
|
711
|
+
* phoneNumbers: [{
|
|
712
|
+
* number: "1234567890",
|
|
713
|
+
* type: "Home"
|
|
714
|
+
* }],
|
|
715
|
+
* phoneConsent: true,
|
|
716
|
+
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
717
|
+
* emailConsent: true,
|
|
718
|
+
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
719
|
+
* nonInsurancePayersInfo: [{
|
|
720
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
721
|
+
* memberId: "string",
|
|
722
|
+
* clinicalTrialInfo: [{
|
|
723
|
+
* clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
724
|
+
* }]
|
|
725
|
+
* }]
|
|
726
|
+
* },
|
|
727
|
+
* renderingProvider: {
|
|
728
|
+
* npi: "string",
|
|
729
|
+
* taxonomyCode: "string",
|
|
730
|
+
* address: {
|
|
731
|
+
* address1: "123 Main St",
|
|
732
|
+
* address2: "Apt 1",
|
|
733
|
+
* city: "New York",
|
|
734
|
+
* state: "NY",
|
|
735
|
+
* zipCode: "10001",
|
|
736
|
+
* zipPlusFourCode: "1234"
|
|
737
|
+
* },
|
|
738
|
+
* firstName: "string",
|
|
739
|
+
* lastName: "string",
|
|
740
|
+
* organizationName: "string"
|
|
741
|
+
* },
|
|
742
|
+
* serviceFacility: {
|
|
743
|
+
* organizationName: "Test Organization",
|
|
744
|
+
* address: {
|
|
745
|
+
* address1: "123 Main St",
|
|
746
|
+
* address2: "Apt 1",
|
|
747
|
+
* city: "New York",
|
|
748
|
+
* state: "NY",
|
|
749
|
+
* zipCode: "10001",
|
|
750
|
+
* zipPlusFourCode: "1234"
|
|
751
|
+
* }
|
|
752
|
+
* },
|
|
753
|
+
* supervisingProvider: {
|
|
754
|
+
* npi: "string",
|
|
755
|
+
* taxonomyCode: "string",
|
|
756
|
+
* address: {
|
|
757
|
+
* address1: "123 Main St",
|
|
758
|
+
* address2: "Apt 1",
|
|
759
|
+
* city: "New York",
|
|
760
|
+
* state: "NY",
|
|
761
|
+
* zipCode: "10001",
|
|
762
|
+
* zipPlusFourCode: "1234"
|
|
763
|
+
* },
|
|
764
|
+
* firstName: "string",
|
|
765
|
+
* lastName: "string",
|
|
766
|
+
* organizationName: "string"
|
|
767
|
+
* },
|
|
768
|
+
* billingProvider: {
|
|
769
|
+
* address: {
|
|
770
|
+
* address1: "123 Main St",
|
|
771
|
+
* address2: "Apt 1",
|
|
772
|
+
* city: "New York",
|
|
773
|
+
* state: "NY",
|
|
774
|
+
* zipCode: "10001",
|
|
775
|
+
* zipPlusFourCode: "1234"
|
|
776
|
+
* },
|
|
777
|
+
* taxId: "string",
|
|
778
|
+
* npi: "string",
|
|
779
|
+
* taxonomyCode: "string",
|
|
780
|
+
* providerCommercialLicenseType: "0",
|
|
781
|
+
* firstName: "string",
|
|
782
|
+
* lastName: "string",
|
|
783
|
+
* organizationName: "string"
|
|
784
|
+
* },
|
|
657
785
|
* placeOfServiceCodeAsSubmitted: "01"
|
|
658
786
|
* })
|
|
659
787
|
*/
|
|
@@ -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
|
}
|