candidhealth 0.43.0 → 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.d.ts +5 -239
- package/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
- package/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
- package/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
- package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
- package/{dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -6
- package/{dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +3 -3
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
- package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
- package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
- 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/StreetAddressShortZipOptional.js +5 -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.d.ts +1 -1
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
- package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
- package/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
- 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 +197 -79
- package/api/resources/encounters/resources/v4/client/Client.js +202 -84
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +89 -9
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +138 -66
- 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.d.ts +21 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +24 -4
- 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.d.ts +4 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
- 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.d.ts +5 -239
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
- package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
- package/{api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -6
- package/{api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
- 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.d.ts +1 -1
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
- 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 +197 -79
- package/dist/api/resources/encounters/resources/v4/client/Client.js +202 -84
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +89 -9
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +138 -66
- 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.d.ts +21 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +24 -4
- 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.d.ts +4 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
- 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/client/create.d.ts +6 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
- package/{serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -1
- package/{serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +5 -3
- 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/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
- 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/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
- 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 +284 -327
- 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/client/create.d.ts +6 -1
- package/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
- package/{dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -1
- package/{dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +5 -3
- 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/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
- 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/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
- 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 → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js} +0 -0
- /package/{dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → api/resources/commons/types/StreetAddressOptionalBase.js} +0 -0
|
@@ -71,7 +71,7 @@ class V1 {
|
|
|
71
71
|
const _response = yield core.fetcher({
|
|
72
72
|
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-attachments/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
73
73
|
method: "GET",
|
|
74
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
74
|
+
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),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -97,7 +97,7 @@ class V1 {
|
|
|
97
97
|
}
|
|
98
98
|
/**
|
|
99
99
|
* Uploads a file to the encounter. The file will be stored in the
|
|
100
|
-
* encounter's attachments.
|
|
100
|
+
* encounter's attachments.
|
|
101
101
|
*
|
|
102
102
|
* @param {File | fs.ReadStream | Blob} attachmentFile
|
|
103
103
|
* @param {CandidApi.EncounterId} encounterId
|
|
@@ -119,7 +119,7 @@ class V1 {
|
|
|
119
119
|
const _response = yield core.fetcher({
|
|
120
120
|
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-attachments/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
121
121
|
method: "PUT",
|
|
122
|
-
headers: Object.assign(Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
122
|
+
headers: Object.assign(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 }, _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
123
123
|
requestType: "file",
|
|
124
124
|
duplex: _maybeEncodedRequest.duplex,
|
|
125
125
|
body: _maybeEncodedRequest.body,
|
|
@@ -160,7 +160,7 @@ class V1 {
|
|
|
160
160
|
const _response = yield core.fetcher({
|
|
161
161
|
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-attachments/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
162
162
|
method: "DELETE",
|
|
163
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
163
|
+
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),
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
requestType: "json",
|
|
166
166
|
body: serializers.encounterAttachments.v1.DeleteAttachmentRequest.jsonOrThrow(request, {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type EncounterAttachmentType = "DOCUMENTATION";
|
|
4
|
+
export type EncounterAttachmentType = "DOCUMENTATION" | "EOB" | "OTHER";
|
|
5
5
|
export declare const EncounterAttachmentType: {
|
|
6
6
|
readonly Documentation: "DOCUMENTATION";
|
|
7
|
+
readonly Eob: "EOB";
|
|
8
|
+
readonly Other: "OTHER";
|
|
7
9
|
};
|
|
@@ -31,7 +31,21 @@ export declare class V2 {
|
|
|
31
31
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
|
-
* await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
34
|
+
* await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
35
|
+
* npi: "string",
|
|
36
|
+
* taxonomyCode: "string",
|
|
37
|
+
* address: {
|
|
38
|
+
* address1: "123 Main St",
|
|
39
|
+
* address2: "Apt 1",
|
|
40
|
+
* city: "New York",
|
|
41
|
+
* state: "NY",
|
|
42
|
+
* zipCode: "10001",
|
|
43
|
+
* zipPlusFourCode: "1234"
|
|
44
|
+
* },
|
|
45
|
+
* firstName: "string",
|
|
46
|
+
* lastName: "string",
|
|
47
|
+
* organizationName: "string"
|
|
48
|
+
* })
|
|
35
49
|
*/
|
|
36
50
|
updateReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.ReferringProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateReferringProvider.Error>>;
|
|
37
51
|
/**
|
|
@@ -40,7 +54,22 @@ export declare class V2 {
|
|
|
40
54
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
41
55
|
*
|
|
42
56
|
* @example
|
|
43
|
-
* await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
57
|
+
* await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
58
|
+
* npi: "string",
|
|
59
|
+
* taxonomyCode: "string",
|
|
60
|
+
* address: {
|
|
61
|
+
* address1: "123 Main St",
|
|
62
|
+
* address2: "Apt 1",
|
|
63
|
+
* city: "New York",
|
|
64
|
+
* state: "NY",
|
|
65
|
+
* zipCode: "10001",
|
|
66
|
+
* zipPlusFourCode: "1234"
|
|
67
|
+
* },
|
|
68
|
+
* qualifier: "DQ",
|
|
69
|
+
* firstName: "string",
|
|
70
|
+
* lastName: "string",
|
|
71
|
+
* organizationName: "string"
|
|
72
|
+
* })
|
|
44
73
|
*/
|
|
45
74
|
updateInitialReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error>>;
|
|
46
75
|
/**
|
|
@@ -49,7 +78,21 @@ export declare class V2 {
|
|
|
49
78
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
50
79
|
*
|
|
51
80
|
* @example
|
|
52
|
-
* await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
81
|
+
* await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
82
|
+
* npi: "string",
|
|
83
|
+
* taxonomyCode: "string",
|
|
84
|
+
* address: {
|
|
85
|
+
* address1: "123 Main St",
|
|
86
|
+
* address2: "Apt 1",
|
|
87
|
+
* city: "New York",
|
|
88
|
+
* state: "NY",
|
|
89
|
+
* zipCode: "10001",
|
|
90
|
+
* zipPlusFourCode: "1234"
|
|
91
|
+
* },
|
|
92
|
+
* firstName: "string",
|
|
93
|
+
* lastName: "string",
|
|
94
|
+
* organizationName: "string"
|
|
95
|
+
* })
|
|
53
96
|
*/
|
|
54
97
|
updateSupervisingProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.SupervisingProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateSupervisingProvider.Error>>;
|
|
55
98
|
/**
|
|
@@ -68,7 +111,10 @@ export declare class V2 {
|
|
|
68
111
|
* state: "NY",
|
|
69
112
|
* zipCode: "10001",
|
|
70
113
|
* zipPlusFourCode: "1234"
|
|
71
|
-
* }
|
|
114
|
+
* },
|
|
115
|
+
* firstName: "string",
|
|
116
|
+
* lastName: "string",
|
|
117
|
+
* organizationName: "string"
|
|
72
118
|
* })
|
|
73
119
|
*/
|
|
74
120
|
updateOrderingProvider(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.encounterProviders.v2.OrderingProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateOrderingProvider.Error>>;
|
|
@@ -88,7 +134,10 @@ export declare class V2 {
|
|
|
88
134
|
* state: "NY",
|
|
89
135
|
* zipCode: "10001",
|
|
90
136
|
* zipPlusFourCode: "1234"
|
|
91
|
-
* }
|
|
137
|
+
* },
|
|
138
|
+
* firstName: "string",
|
|
139
|
+
* lastName: "string",
|
|
140
|
+
* organizationName: "string"
|
|
92
141
|
* })
|
|
93
142
|
*/
|
|
94
143
|
createReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.ReferringProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createReferringProvider.Error>>;
|
|
@@ -109,7 +158,10 @@ export declare class V2 {
|
|
|
109
158
|
* zipCode: "10001",
|
|
110
159
|
* zipPlusFourCode: "1234"
|
|
111
160
|
* },
|
|
112
|
-
* qualifier: "DQ"
|
|
161
|
+
* qualifier: "DQ",
|
|
162
|
+
* firstName: "string",
|
|
163
|
+
* lastName: "string",
|
|
164
|
+
* organizationName: "string"
|
|
113
165
|
* })
|
|
114
166
|
*/
|
|
115
167
|
createInitialReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.InitialReferringProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createInitialReferringProvider.Error>>;
|
|
@@ -129,7 +181,10 @@ export declare class V2 {
|
|
|
129
181
|
* state: "NY",
|
|
130
182
|
* zipCode: "10001",
|
|
131
183
|
* zipPlusFourCode: "1234"
|
|
132
|
-
* }
|
|
184
|
+
* },
|
|
185
|
+
* firstName: "string",
|
|
186
|
+
* lastName: "string",
|
|
187
|
+
* organizationName: "string"
|
|
133
188
|
* })
|
|
134
189
|
*/
|
|
135
190
|
createSupervisingProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.SupervisingProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createSupervisingProvider.Error>>;
|
|
@@ -149,7 +204,10 @@ export declare class V2 {
|
|
|
149
204
|
* state: "NY",
|
|
150
205
|
* zipCode: "10001",
|
|
151
206
|
* zipPlusFourCode: "1234"
|
|
152
|
-
* }
|
|
207
|
+
* },
|
|
208
|
+
* firstName: "string",
|
|
209
|
+
* lastName: "string",
|
|
210
|
+
* organizationName: "string"
|
|
153
211
|
* })
|
|
154
212
|
*/
|
|
155
213
|
createOrderingProvider(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.encounterProviders.v2.OrderingProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createOrderingProvider.Error>>;
|
|
@@ -64,7 +64,21 @@ class V2 {
|
|
|
64
64
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
|
-
* await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
67
|
+
* await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
68
|
+
* npi: "string",
|
|
69
|
+
* taxonomyCode: "string",
|
|
70
|
+
* address: {
|
|
71
|
+
* address1: "123 Main St",
|
|
72
|
+
* address2: "Apt 1",
|
|
73
|
+
* city: "New York",
|
|
74
|
+
* state: "NY",
|
|
75
|
+
* zipCode: "10001",
|
|
76
|
+
* zipPlusFourCode: "1234"
|
|
77
|
+
* },
|
|
78
|
+
* firstName: "string",
|
|
79
|
+
* lastName: "string",
|
|
80
|
+
* organizationName: "string"
|
|
81
|
+
* })
|
|
68
82
|
*/
|
|
69
83
|
updateReferringProvider(encounterId, request, requestOptions) {
|
|
70
84
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -72,7 +86,7 @@ class V2 {
|
|
|
72
86
|
const _response = yield core.fetcher({
|
|
73
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))}`),
|
|
74
88
|
method: "PATCH",
|
|
75
|
-
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),
|
|
76
90
|
contentType: "application/json",
|
|
77
91
|
requestType: "json",
|
|
78
92
|
body: serializers.encounterProviders.v2.ReferringProviderUpdate.jsonOrThrow(request, {
|
|
@@ -120,7 +134,22 @@ class V2 {
|
|
|
120
134
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
121
135
|
*
|
|
122
136
|
* @example
|
|
123
|
-
* await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
137
|
+
* await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
138
|
+
* npi: "string",
|
|
139
|
+
* taxonomyCode: "string",
|
|
140
|
+
* address: {
|
|
141
|
+
* address1: "123 Main St",
|
|
142
|
+
* address2: "Apt 1",
|
|
143
|
+
* city: "New York",
|
|
144
|
+
* state: "NY",
|
|
145
|
+
* zipCode: "10001",
|
|
146
|
+
* zipPlusFourCode: "1234"
|
|
147
|
+
* },
|
|
148
|
+
* qualifier: "DQ",
|
|
149
|
+
* firstName: "string",
|
|
150
|
+
* lastName: "string",
|
|
151
|
+
* organizationName: "string"
|
|
152
|
+
* })
|
|
124
153
|
*/
|
|
125
154
|
updateInitialReferringProvider(encounterId, request, requestOptions) {
|
|
126
155
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -128,7 +157,7 @@ class V2 {
|
|
|
128
157
|
const _response = yield core.fetcher({
|
|
129
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`),
|
|
130
159
|
method: "PATCH",
|
|
131
|
-
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),
|
|
132
161
|
contentType: "application/json",
|
|
133
162
|
requestType: "json",
|
|
134
163
|
body: serializers.encounterProviders.v2.InitialReferringProviderUpdate.jsonOrThrow(request, {
|
|
@@ -177,7 +206,21 @@ class V2 {
|
|
|
177
206
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
178
207
|
*
|
|
179
208
|
* @example
|
|
180
|
-
* await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
209
|
+
* await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
210
|
+
* npi: "string",
|
|
211
|
+
* taxonomyCode: "string",
|
|
212
|
+
* address: {
|
|
213
|
+
* address1: "123 Main St",
|
|
214
|
+
* address2: "Apt 1",
|
|
215
|
+
* city: "New York",
|
|
216
|
+
* state: "NY",
|
|
217
|
+
* zipCode: "10001",
|
|
218
|
+
* zipPlusFourCode: "1234"
|
|
219
|
+
* },
|
|
220
|
+
* firstName: "string",
|
|
221
|
+
* lastName: "string",
|
|
222
|
+
* organizationName: "string"
|
|
223
|
+
* })
|
|
181
224
|
*/
|
|
182
225
|
updateSupervisingProvider(encounterId, request, requestOptions) {
|
|
183
226
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -185,7 +228,7 @@ class V2 {
|
|
|
185
228
|
const _response = yield core.fetcher({
|
|
186
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`),
|
|
187
230
|
method: "PATCH",
|
|
188
|
-
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),
|
|
189
232
|
contentType: "application/json",
|
|
190
233
|
requestType: "json",
|
|
191
234
|
body: serializers.encounterProviders.v2.SupervisingProviderUpdate.jsonOrThrow(request, {
|
|
@@ -244,7 +287,10 @@ class V2 {
|
|
|
244
287
|
* state: "NY",
|
|
245
288
|
* zipCode: "10001",
|
|
246
289
|
* zipPlusFourCode: "1234"
|
|
247
|
-
* }
|
|
290
|
+
* },
|
|
291
|
+
* firstName: "string",
|
|
292
|
+
* lastName: "string",
|
|
293
|
+
* organizationName: "string"
|
|
248
294
|
* })
|
|
249
295
|
*/
|
|
250
296
|
updateOrderingProvider(serviceLineId, request, requestOptions) {
|
|
@@ -253,7 +299,7 @@ class V2 {
|
|
|
253
299
|
const _response = yield core.fetcher({
|
|
254
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`),
|
|
255
301
|
method: "PATCH",
|
|
256
|
-
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),
|
|
257
303
|
contentType: "application/json",
|
|
258
304
|
requestType: "json",
|
|
259
305
|
body: serializers.encounterProviders.v2.OrderingProviderUpdate.jsonOrThrow(request, {
|
|
@@ -311,7 +357,10 @@ class V2 {
|
|
|
311
357
|
* state: "NY",
|
|
312
358
|
* zipCode: "10001",
|
|
313
359
|
* zipPlusFourCode: "1234"
|
|
314
|
-
* }
|
|
360
|
+
* },
|
|
361
|
+
* firstName: "string",
|
|
362
|
+
* lastName: "string",
|
|
363
|
+
* organizationName: "string"
|
|
315
364
|
* })
|
|
316
365
|
*/
|
|
317
366
|
createReferringProvider(encounterId, request, requestOptions) {
|
|
@@ -320,7 +369,7 @@ class V2 {
|
|
|
320
369
|
const _response = yield core.fetcher({
|
|
321
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`),
|
|
322
371
|
method: "POST",
|
|
323
|
-
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),
|
|
324
373
|
contentType: "application/json",
|
|
325
374
|
requestType: "json",
|
|
326
375
|
body: serializers.encounterProviders.v2.ReferringProvider.jsonOrThrow(request, {
|
|
@@ -380,7 +429,10 @@ class V2 {
|
|
|
380
429
|
* zipCode: "10001",
|
|
381
430
|
* zipPlusFourCode: "1234"
|
|
382
431
|
* },
|
|
383
|
-
* qualifier: "DQ"
|
|
432
|
+
* qualifier: "DQ",
|
|
433
|
+
* firstName: "string",
|
|
434
|
+
* lastName: "string",
|
|
435
|
+
* organizationName: "string"
|
|
384
436
|
* })
|
|
385
437
|
*/
|
|
386
438
|
createInitialReferringProvider(encounterId, request, requestOptions) {
|
|
@@ -389,7 +441,7 @@ class V2 {
|
|
|
389
441
|
const _response = yield core.fetcher({
|
|
390
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`),
|
|
391
443
|
method: "POST",
|
|
392
|
-
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),
|
|
393
445
|
contentType: "application/json",
|
|
394
446
|
requestType: "json",
|
|
395
447
|
body: serializers.encounterProviders.v2.InitialReferringProvider.jsonOrThrow(request, {
|
|
@@ -450,7 +502,10 @@ class V2 {
|
|
|
450
502
|
* state: "NY",
|
|
451
503
|
* zipCode: "10001",
|
|
452
504
|
* zipPlusFourCode: "1234"
|
|
453
|
-
* }
|
|
505
|
+
* },
|
|
506
|
+
* firstName: "string",
|
|
507
|
+
* lastName: "string",
|
|
508
|
+
* organizationName: "string"
|
|
454
509
|
* })
|
|
455
510
|
*/
|
|
456
511
|
createSupervisingProvider(encounterId, request, requestOptions) {
|
|
@@ -459,7 +514,7 @@ class V2 {
|
|
|
459
514
|
const _response = yield core.fetcher({
|
|
460
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`),
|
|
461
516
|
method: "POST",
|
|
462
|
-
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),
|
|
463
518
|
contentType: "application/json",
|
|
464
519
|
requestType: "json",
|
|
465
520
|
body: serializers.encounterProviders.v2.SupervisingProvider.jsonOrThrow(request, {
|
|
@@ -519,7 +574,10 @@ class V2 {
|
|
|
519
574
|
* state: "NY",
|
|
520
575
|
* zipCode: "10001",
|
|
521
576
|
* zipPlusFourCode: "1234"
|
|
522
|
-
* }
|
|
577
|
+
* },
|
|
578
|
+
* firstName: "string",
|
|
579
|
+
* lastName: "string",
|
|
580
|
+
* organizationName: "string"
|
|
523
581
|
* })
|
|
524
582
|
*/
|
|
525
583
|
createOrderingProvider(serviceLineId, request, requestOptions) {
|
|
@@ -528,7 +586,7 @@ class V2 {
|
|
|
528
586
|
const _response = yield core.fetcher({
|
|
529
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`),
|
|
530
588
|
method: "POST",
|
|
531
|
-
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),
|
|
532
590
|
contentType: "application/json",
|
|
533
591
|
requestType: "json",
|
|
534
592
|
body: serializers.encounterProviders.v2.OrderingProvider.jsonOrThrow(request, {
|
|
@@ -584,7 +642,7 @@ class V2 {
|
|
|
584
642
|
const _response = yield core.fetcher({
|
|
585
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`),
|
|
586
644
|
method: "DELETE",
|
|
587
|
-
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),
|
|
588
646
|
contentType: "application/json",
|
|
589
647
|
requestType: "json",
|
|
590
648
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -631,7 +689,7 @@ class V2 {
|
|
|
631
689
|
const _response = yield core.fetcher({
|
|
632
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`),
|
|
633
691
|
method: "DELETE",
|
|
634
|
-
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),
|
|
635
693
|
contentType: "application/json",
|
|
636
694
|
requestType: "json",
|
|
637
695
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -678,7 +736,7 @@ class V2 {
|
|
|
678
736
|
const _response = yield core.fetcher({
|
|
679
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`),
|
|
680
738
|
method: "DELETE",
|
|
681
|
-
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),
|
|
682
740
|
contentType: "application/json",
|
|
683
741
|
requestType: "json",
|
|
684
742
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -725,7 +783,7 @@ class V2 {
|
|
|
725
783
|
const _response = yield core.fetcher({
|
|
726
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`),
|
|
727
785
|
method: "DELETE",
|
|
728
|
-
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),
|
|
729
787
|
contentType: "application/json",
|
|
730
788
|
requestType: "json",
|
|
731
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);
|