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
|
@@ -5,14 +5,6 @@ import * as CandidApi from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
9
|
-
* placeOfServiceCodeAsSubmitted: "01",
|
|
10
|
-
* benefitsAssignedToProvider: true,
|
|
11
|
-
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
12
|
-
* externalId: CandidApi.EncounterExternalId("string"),
|
|
13
|
-
* dateOfService: "2023-01-15",
|
|
14
|
-
* tagIds: [],
|
|
15
|
-
* clinicalNotes: [],
|
|
16
8
|
* payToAddress: {
|
|
17
9
|
* address1: "123 Main St",
|
|
18
10
|
* address2: "Apt 1",
|
|
@@ -21,67 +13,83 @@ import * as CandidApi from "../../../../../../index";
|
|
|
21
13
|
* zipCode: "10001",
|
|
22
14
|
* zipPlusFourCode: "1234"
|
|
23
15
|
* },
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* payerId: "string"
|
|
16
|
+
* diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
17
|
+
* initialReferringProvider: {
|
|
18
|
+
* npi: "string",
|
|
19
|
+
* taxonomyCode: "string",
|
|
20
|
+
* address: {
|
|
21
|
+
* address1: "123 Main St",
|
|
22
|
+
* address2: "Apt 1",
|
|
23
|
+
* city: "New York",
|
|
24
|
+
* state: "NY",
|
|
25
|
+
* zipCode: "10001",
|
|
26
|
+
* zipPlusFourCode: "1234"
|
|
36
27
|
* },
|
|
37
|
-
*
|
|
28
|
+
* qualifier: "DQ",
|
|
38
29
|
* firstName: "string",
|
|
39
30
|
* lastName: "string",
|
|
40
|
-
*
|
|
31
|
+
* organizationName: "string"
|
|
41
32
|
* },
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
33
|
+
* referringProvider: {
|
|
34
|
+
* npi: "string",
|
|
35
|
+
* taxonomyCode: "string",
|
|
36
|
+
* address: {
|
|
37
|
+
* address1: "123 Main St",
|
|
38
|
+
* address2: "Apt 1",
|
|
39
|
+
* city: "New York",
|
|
40
|
+
* state: "NY",
|
|
41
|
+
* zipCode: "10001",
|
|
42
|
+
* zipPlusFourCode: "1234"
|
|
47
43
|
* },
|
|
48
|
-
* patientRelationshipToSubscriberCode: "01",
|
|
49
44
|
* firstName: "string",
|
|
50
45
|
* lastName: "string",
|
|
51
|
-
*
|
|
46
|
+
* organizationName: "string"
|
|
52
47
|
* },
|
|
53
|
-
*
|
|
54
|
-
* insuranceCard: {
|
|
55
|
-
* memberId: "string",
|
|
56
|
-
* payerName: "string",
|
|
57
|
-
* payerId: "string"
|
|
58
|
-
* },
|
|
59
|
-
* patientRelationshipToSubscriberCode: "01",
|
|
48
|
+
* patient: {
|
|
60
49
|
* firstName: "string",
|
|
61
50
|
* lastName: "string",
|
|
62
|
-
* gender: "male"
|
|
51
|
+
* gender: "male",
|
|
52
|
+
* externalId: "string",
|
|
53
|
+
* dateOfBirth: "2023-01-15",
|
|
54
|
+
* address: {
|
|
55
|
+
* address1: "123 Main St",
|
|
56
|
+
* address2: "Apt 1",
|
|
57
|
+
* city: "New York",
|
|
58
|
+
* state: "NY",
|
|
59
|
+
* zipCode: "10001",
|
|
60
|
+
* zipPlusFourCode: "1234"
|
|
61
|
+
* },
|
|
62
|
+
* phoneNumbers: [{
|
|
63
|
+
* number: "1234567890",
|
|
64
|
+
* type: "Home"
|
|
65
|
+
* }],
|
|
66
|
+
* phoneConsent: true,
|
|
67
|
+
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
68
|
+
* emailConsent: true,
|
|
69
|
+
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
70
|
+
* nonInsurancePayersInfo: [{
|
|
71
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
72
|
+
* memberId: "string",
|
|
73
|
+
* clinicalTrialInfo: [{
|
|
74
|
+
* clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
75
|
+
* }]
|
|
76
|
+
* }]
|
|
63
77
|
* },
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
* bloodPressureDiastolicMmhg: 85,
|
|
79
|
-
* bodyTemperatureF: 98,
|
|
80
|
-
* hemoglobinGdl: 15.1,
|
|
81
|
-
* hematocritPct: 51.2
|
|
78
|
+
* renderingProvider: {
|
|
79
|
+
* npi: "string",
|
|
80
|
+
* taxonomyCode: "string",
|
|
81
|
+
* address: {
|
|
82
|
+
* address1: "123 Main St",
|
|
83
|
+
* address2: "Apt 1",
|
|
84
|
+
* city: "New York",
|
|
85
|
+
* state: "NY",
|
|
86
|
+
* zipCode: "10001",
|
|
87
|
+
* zipPlusFourCode: "1234"
|
|
88
|
+
* },
|
|
89
|
+
* firstName: "string",
|
|
90
|
+
* lastName: "string",
|
|
91
|
+
* organizationName: "string"
|
|
82
92
|
* },
|
|
83
|
-
* existingMedications: [],
|
|
84
|
-
* renderingProvider: {},
|
|
85
93
|
* serviceFacility: {
|
|
86
94
|
* organizationName: "Test Organization",
|
|
87
95
|
* address: {
|
|
@@ -93,19 +101,44 @@ import * as CandidApi from "../../../../../../index";
|
|
|
93
101
|
* zipPlusFourCode: "1234"
|
|
94
102
|
* }
|
|
95
103
|
* },
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
+
* supervisingProvider: {
|
|
105
|
+
* npi: "string",
|
|
106
|
+
* taxonomyCode: "string",
|
|
107
|
+
* address: {
|
|
108
|
+
* address1: "123 Main St",
|
|
109
|
+
* address2: "Apt 1",
|
|
110
|
+
* city: "New York",
|
|
111
|
+
* state: "NY",
|
|
112
|
+
* zipCode: "10001",
|
|
113
|
+
* zipPlusFourCode: "1234"
|
|
114
|
+
* },
|
|
115
|
+
* firstName: "string",
|
|
116
|
+
* lastName: "string",
|
|
117
|
+
* organizationName: "string"
|
|
104
118
|
* },
|
|
105
|
-
*
|
|
119
|
+
* billingProvider: {
|
|
120
|
+
* address: {
|
|
121
|
+
* address1: "123 Main St",
|
|
122
|
+
* address2: "Apt 1",
|
|
123
|
+
* city: "New York",
|
|
124
|
+
* state: "NY",
|
|
125
|
+
* zipCode: "10001",
|
|
126
|
+
* zipPlusFourCode: "1234"
|
|
127
|
+
* },
|
|
128
|
+
* taxId: "string",
|
|
129
|
+
* npi: "string",
|
|
130
|
+
* taxonomyCode: "string",
|
|
131
|
+
* providerCommercialLicenseType: "0",
|
|
132
|
+
* firstName: "string",
|
|
133
|
+
* lastName: "string",
|
|
134
|
+
* organizationName: "string"
|
|
135
|
+
* },
|
|
136
|
+
* placeOfServiceCodeAsSubmitted: "01"
|
|
106
137
|
* }
|
|
107
138
|
*/
|
|
108
139
|
export interface EncounterUpdate extends CandidApi.encounters.v4.EncounterOptional {
|
|
140
|
+
/** Specifies the address to which payments for the claim should be sent. */
|
|
141
|
+
payToAddress?: CandidApi.StreetAddressLongZip;
|
|
109
142
|
/**
|
|
110
143
|
* Ideally, this field should contain no more than 12 diagnoses. However, more diagnoses
|
|
111
144
|
* may be submitted at this time, and coders will later prioritize the 12 that will be
|
|
@@ -113,6 +146,45 @@ export interface EncounterUpdate extends CandidApi.encounters.v4.EncounterOption
|
|
|
113
146
|
*
|
|
114
147
|
*/
|
|
115
148
|
diagnosisIds?: CandidApi.DiagnosisId[];
|
|
149
|
+
/**
|
|
150
|
+
* The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
|
|
151
|
+
* indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction.
|
|
152
|
+
*
|
|
153
|
+
*/
|
|
154
|
+
initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate;
|
|
155
|
+
/**
|
|
156
|
+
* The final provider who referred the services that were rendered.
|
|
157
|
+
* All physicians who order services or refer Medicare beneficiaries must
|
|
158
|
+
* report this data.
|
|
159
|
+
*
|
|
160
|
+
*/
|
|
161
|
+
referringProvider?: CandidApi.encounterProviders.v2.ReferringProviderUpdate;
|
|
162
|
+
/**
|
|
163
|
+
* Contains the identification information of the individual receiving medical services.
|
|
164
|
+
*
|
|
165
|
+
*/
|
|
166
|
+
patient?: CandidApi.PatientUpdate;
|
|
167
|
+
/**
|
|
168
|
+
* The rendering provider is the practitioner -- physician, nurse practitioner, etc. -- performing the service.
|
|
169
|
+
* For telehealth services, the rendering provider performs the visit, asynchronous communication, or other service. The rendering provider address should generally be the same as the service facility address.
|
|
170
|
+
*
|
|
171
|
+
*/
|
|
172
|
+
renderingProvider?: CandidApi.encounterProviders.v2.RenderingProviderUpdate;
|
|
173
|
+
/**
|
|
174
|
+
* Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process.
|
|
175
|
+
*
|
|
176
|
+
*/
|
|
177
|
+
serviceFacility?: CandidApi.EncounterServiceFacilityUpdate;
|
|
178
|
+
/**
|
|
179
|
+
* Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send.
|
|
180
|
+
*
|
|
181
|
+
*/
|
|
182
|
+
supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProviderUpdate;
|
|
183
|
+
/**
|
|
184
|
+
* The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form.
|
|
185
|
+
*
|
|
186
|
+
*/
|
|
187
|
+
billingProvider?: CandidApi.encounterProviders.v2.BillingProviderUpdate;
|
|
116
188
|
/**
|
|
117
189
|
* Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
|
|
118
190
|
*
|
|
@@ -509,6 +509,8 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
|
|
|
509
509
|
epsdtReferral?: CandidApi.encounters.v4.EpsdtReferral;
|
|
510
510
|
/** Refers to Loop 2300 - Segment PWK on the 837P form. No more than 10 entries are permitted. */
|
|
511
511
|
claimSupplementalInformation?: CandidApi.encounters.v4.ClaimSupplementalInformation[];
|
|
512
|
+
/** When Medicaid is billed as the secondary payer the Carrier Code is used to identify the primary payer. This is required for certain states. */
|
|
513
|
+
secondaryPayerCarrierCode?: string;
|
|
512
514
|
/** The date and time the encounter was last submitted to a payer. */
|
|
513
515
|
lastSubmittedAt?: Date;
|
|
514
516
|
/** The date and time the encounter was created. */
|
|
@@ -25,8 +25,6 @@ export interface EncounterOptional {
|
|
|
25
25
|
tagIds?: CandidApi.TagId[];
|
|
26
26
|
/** Holds a collection of clinical observations made by healthcare providers during patient encounters. */
|
|
27
27
|
clinicalNotes?: CandidApi.encounters.v4.ClinicalNoteCategoryCreate[];
|
|
28
|
-
/** Specifies the address to which payments for the claim should be sent. */
|
|
29
|
-
payToAddress?: CandidApi.StreetAddressLongZip;
|
|
30
28
|
/** Defines if the Encounter is to be billed by Candid to the responsible_party. Examples for when this should be set to NOT_BILLABLE include if the Encounter has not occurred yet or if there is no intention of ever billing the responsible_party. */
|
|
31
29
|
billableStatus?: CandidApi.encounters.v4.BillableStatusType;
|
|
32
30
|
/** Defines the party to be billed with the initial balance owed on the claim. Use SELF_PAY if you intend to bill self pay/cash pay. */
|
|
@@ -94,8 +92,6 @@ export interface EncounterOptional {
|
|
|
94
92
|
* Code indicating the reason why a request was delayed
|
|
95
93
|
*/
|
|
96
94
|
delayReasonCode?: CandidApi.DelayReasonCode;
|
|
97
|
-
/** Contains the identification information of the individual receiving medical services. */
|
|
98
|
-
patient?: CandidApi.PatientUpdate;
|
|
99
95
|
/**
|
|
100
96
|
* Whether this patient has authorized the release of medical information
|
|
101
97
|
* for billing purpose.
|
|
@@ -119,34 +115,14 @@ export interface EncounterOptional {
|
|
|
119
115
|
* Note all current existing medications on encounter will be overridden with this list.
|
|
120
116
|
*/
|
|
121
117
|
existingMedications?: CandidApi.encounters.v4.Medication[];
|
|
122
|
-
/**
|
|
123
|
-
* The rendering provider is the practitioner -- physician, nurse practitioner, etc. -- performing the service.
|
|
124
|
-
* For telehealth services, the rendering provider performs the visit, asynchronous communication, or other service. The rendering provider address should generally be the same as the service facility address.
|
|
125
|
-
*/
|
|
126
|
-
renderingProvider?: CandidApi.encounterProviders.v2.RenderingProviderUpdate;
|
|
127
|
-
/** Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process. */
|
|
128
|
-
serviceFacility?: CandidApi.EncounterServiceFacilityUpdate;
|
|
129
118
|
/** Personal and contact info for the guarantor of the patient responsibility. */
|
|
130
119
|
guarantor?: CandidApi.guarantor.v1.GuarantorUpdate;
|
|
131
|
-
/** The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form. */
|
|
132
|
-
billingProvider?: CandidApi.encounterProviders.v2.BillingProviderUpdate;
|
|
133
|
-
/** Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send. */
|
|
134
|
-
supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProviderUpdate;
|
|
135
|
-
/**
|
|
136
|
-
* The final provider who referred the services that were rendered.
|
|
137
|
-
* All physicians who order services or refer Medicare beneficiaries must
|
|
138
|
-
* report this data.
|
|
139
|
-
*/
|
|
140
|
-
referringProvider?: CandidApi.encounterProviders.v2.ReferringProviderUpdate;
|
|
141
|
-
/**
|
|
142
|
-
* The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
|
|
143
|
-
* indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction.
|
|
144
|
-
*/
|
|
145
|
-
initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate;
|
|
146
120
|
/** Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters. */
|
|
147
121
|
referralNumber?: string;
|
|
148
122
|
/** Refers Box 24H on the CMS1500 form and Loop 2300 CRC - EPSDT Referral on the 837P form */
|
|
149
123
|
epsdtReferral?: CandidApi.encounters.v4.EpsdtReferral;
|
|
150
124
|
/** Refers to Loop 2300 - Segment PWK on the 837P form. No more than 10 entries are permitted. */
|
|
151
125
|
claimSupplementalInformation?: CandidApi.encounters.v4.ClaimSupplementalInformation[];
|
|
126
|
+
/** When Medicaid is billed as the secondary payer the Carrier Code is used to identify the primary payer. This is required for certain states. */
|
|
127
|
+
secondaryPayerCarrierCode?: string;
|
|
152
128
|
}
|
|
@@ -84,7 +84,7 @@ class V1 {
|
|
|
84
84
|
const _response = yield core.fetcher({
|
|
85
85
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/expected-network-status/v1"),
|
|
86
86
|
method: "POST",
|
|
87
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
87
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
requestType: "json",
|
|
90
90
|
body: serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -101,7 +101,7 @@ class V2 {
|
|
|
101
101
|
const _response = yield core.fetcher({
|
|
102
102
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/expected-network-status/v2/compute/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(renderingProviderId))}`),
|
|
103
103
|
method: "POST",
|
|
104
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
104
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
requestType: "json",
|
|
107
107
|
body: serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
|
|
@@ -186,7 +186,7 @@ class V2 {
|
|
|
186
186
|
const _response = yield core.fetcher({
|
|
187
187
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/expected-network-status/v2/compute"),
|
|
188
188
|
method: "POST",
|
|
189
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
189
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
190
190
|
contentType: "application/json",
|
|
191
191
|
requestType: "json",
|
|
192
192
|
body: serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
|
|
@@ -95,7 +95,7 @@ class V3 {
|
|
|
95
95
|
const _response = yield core.fetcher({
|
|
96
96
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/exports/v3"),
|
|
97
97
|
method: "GET",
|
|
98
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
98
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
queryParameters: _queryParams,
|
|
101
101
|
requestType: "json",
|
|
@@ -87,7 +87,7 @@ class V1 {
|
|
|
87
87
|
const _response = yield core.fetcher({
|
|
88
88
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/external-payment-account-config/v1"),
|
|
89
89
|
method: "GET",
|
|
90
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
90
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
91
91
|
contentType: "application/json",
|
|
92
92
|
queryParameters: _queryParams,
|
|
93
93
|
requestType: "json",
|
|
@@ -73,7 +73,7 @@ class V3 {
|
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
76
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -128,7 +128,7 @@ class V3 {
|
|
|
128
128
|
const _response = yield core.fetcher({
|
|
129
129
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}`),
|
|
130
130
|
method: "GET",
|
|
131
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
131
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
requestType: "json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -280,7 +280,7 @@ class V3 {
|
|
|
280
280
|
const _response = yield core.fetcher({
|
|
281
281
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
|
|
282
282
|
method: "GET",
|
|
283
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
283
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
284
284
|
contentType: "application/json",
|
|
285
285
|
queryParameters: _queryParams,
|
|
286
286
|
requestType: "json",
|
|
@@ -418,7 +418,7 @@ class V3 {
|
|
|
418
418
|
const _response = yield core.fetcher({
|
|
419
419
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/unique-dimension-values"),
|
|
420
420
|
method: "GET",
|
|
421
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
421
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
422
422
|
contentType: "application/json",
|
|
423
423
|
queryParameters: _queryParams,
|
|
424
424
|
requestType: "json",
|
|
@@ -458,7 +458,7 @@ class V3 {
|
|
|
458
458
|
const _response = yield core.fetcher({
|
|
459
459
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/history`),
|
|
460
460
|
method: "GET",
|
|
461
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
461
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
462
462
|
contentType: "application/json",
|
|
463
463
|
requestType: "json",
|
|
464
464
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -533,7 +533,7 @@ class V3 {
|
|
|
533
533
|
const _response = yield core.fetcher({
|
|
534
534
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
|
|
535
535
|
method: "POST",
|
|
536
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
536
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
537
537
|
contentType: "application/json",
|
|
538
538
|
requestType: "json",
|
|
539
539
|
body: serializers.feeSchedules.v3.FeeScheduleUploadRequest.jsonOrThrow(request, {
|
|
@@ -590,7 +590,7 @@ class V3 {
|
|
|
590
590
|
const _response = yield core.fetcher({
|
|
591
591
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/${encodeURIComponent(version)}`),
|
|
592
592
|
method: "DELETE",
|
|
593
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
593
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
594
594
|
contentType: "application/json",
|
|
595
595
|
requestType: "json",
|
|
596
596
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -638,7 +638,7 @@ class V3 {
|
|
|
638
638
|
const _response = yield core.fetcher({
|
|
639
639
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold/default"),
|
|
640
640
|
method: "GET",
|
|
641
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
641
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
642
642
|
contentType: "application/json",
|
|
643
643
|
requestType: "json",
|
|
644
644
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -687,7 +687,7 @@ class V3 {
|
|
|
687
687
|
const _response = yield core.fetcher({
|
|
688
688
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold"),
|
|
689
689
|
method: "GET",
|
|
690
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
690
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
691
691
|
contentType: "application/json",
|
|
692
692
|
queryParameters: _queryParams,
|
|
693
693
|
requestType: "json",
|
|
@@ -732,7 +732,7 @@ class V3 {
|
|
|
732
732
|
const _response = yield core.fetcher({
|
|
733
733
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/payer-threshold/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
|
|
734
734
|
method: "PUT",
|
|
735
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
735
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
736
736
|
contentType: "application/json",
|
|
737
737
|
requestType: "json",
|
|
738
738
|
body: serializers.feeSchedules.v3.PayerThreshold.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -74,7 +74,27 @@ export declare class V1 {
|
|
|
74
74
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
|
-
* await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
77
|
+
* await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
78
|
+
* firstName: "string",
|
|
79
|
+
* lastName: "string",
|
|
80
|
+
* externalId: "string",
|
|
81
|
+
* dateOfBirth: "2023-01-15",
|
|
82
|
+
* address: {
|
|
83
|
+
* address1: "123 Main St",
|
|
84
|
+
* address2: "Apt 1",
|
|
85
|
+
* city: "New York",
|
|
86
|
+
* state: "NY",
|
|
87
|
+
* zipCode: "10001",
|
|
88
|
+
* zipPlusFourCode: "1234"
|
|
89
|
+
* },
|
|
90
|
+
* phoneNumbers: [{
|
|
91
|
+
* number: "1234567890",
|
|
92
|
+
* type: "Home"
|
|
93
|
+
* }],
|
|
94
|
+
* phoneConsent: true,
|
|
95
|
+
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
96
|
+
* emailConsent: true
|
|
97
|
+
* })
|
|
78
98
|
*/
|
|
79
99
|
update(guarantorId: CandidApi.guarantor.v1.GuarantorId, request: CandidApi.guarantor.v1.GuarantorUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.guarantor.v1.Guarantor, CandidApi.guarantor.v1.update.Error>>;
|
|
80
100
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -94,7 +94,7 @@ class V1 {
|
|
|
94
94
|
const _response = yield core.fetcher({
|
|
95
95
|
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/guarantors/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
96
96
|
method: "POST",
|
|
97
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
97
|
+
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),
|
|
98
98
|
contentType: "application/json",
|
|
99
99
|
requestType: "json",
|
|
100
100
|
body: serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -149,7 +149,7 @@ class V1 {
|
|
|
149
149
|
const _response = yield core.fetcher({
|
|
150
150
|
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/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
|
|
151
151
|
method: "GET",
|
|
152
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
152
|
+
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),
|
|
153
153
|
contentType: "application/json",
|
|
154
154
|
requestType: "json",
|
|
155
155
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -181,7 +181,27 @@ class V1 {
|
|
|
181
181
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
182
182
|
*
|
|
183
183
|
* @example
|
|
184
|
-
* await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
184
|
+
* await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
185
|
+
* firstName: "string",
|
|
186
|
+
* lastName: "string",
|
|
187
|
+
* externalId: "string",
|
|
188
|
+
* dateOfBirth: "2023-01-15",
|
|
189
|
+
* address: {
|
|
190
|
+
* address1: "123 Main St",
|
|
191
|
+
* address2: "Apt 1",
|
|
192
|
+
* city: "New York",
|
|
193
|
+
* state: "NY",
|
|
194
|
+
* zipCode: "10001",
|
|
195
|
+
* zipPlusFourCode: "1234"
|
|
196
|
+
* },
|
|
197
|
+
* phoneNumbers: [{
|
|
198
|
+
* number: "1234567890",
|
|
199
|
+
* type: "Home"
|
|
200
|
+
* }],
|
|
201
|
+
* phoneConsent: true,
|
|
202
|
+
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
203
|
+
* emailConsent: true
|
|
204
|
+
* })
|
|
185
205
|
*/
|
|
186
206
|
update(guarantorId, request, requestOptions) {
|
|
187
207
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -189,7 +209,7 @@ class V1 {
|
|
|
189
209
|
const _response = yield core.fetcher({
|
|
190
210
|
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/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
|
|
191
211
|
method: "PATCH",
|
|
192
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
212
|
+
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),
|
|
193
213
|
contentType: "application/json",
|
|
194
214
|
requestType: "json",
|
|
195
215
|
body: serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -89,7 +89,7 @@ class V1 {
|
|
|
89
89
|
const _response = yield core.fetcher({
|
|
90
90
|
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/import-invoice/v1"),
|
|
91
91
|
method: "POST",
|
|
92
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
92
|
+
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),
|
|
93
93
|
contentType: "application/json",
|
|
94
94
|
requestType: "json",
|
|
95
95
|
body: serializers.importInvoice.v1.CreateImportInvoiceRequest.jsonOrThrow(request, {
|
|
@@ -200,7 +200,7 @@ class V1 {
|
|
|
200
200
|
const _response = yield core.fetcher({
|
|
201
201
|
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/import-invoice/v1"),
|
|
202
202
|
method: "GET",
|
|
203
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
203
|
+
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),
|
|
204
204
|
contentType: "application/json",
|
|
205
205
|
queryParameters: _queryParams,
|
|
206
206
|
requestType: "json",
|
|
@@ -240,7 +240,7 @@ class V1 {
|
|
|
240
240
|
const _response = yield core.fetcher({
|
|
241
241
|
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/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
|
|
242
242
|
method: "GET",
|
|
243
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
243
|
+
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),
|
|
244
244
|
contentType: "application/json",
|
|
245
245
|
requestType: "json",
|
|
246
246
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -309,7 +309,7 @@ class V1 {
|
|
|
309
309
|
const _response = yield core.fetcher({
|
|
310
310
|
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/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
|
|
311
311
|
method: "PATCH",
|
|
312
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
312
|
+
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),
|
|
313
313
|
contentType: "application/json",
|
|
314
314
|
requestType: "json",
|
|
315
315
|
body: serializers.importInvoice.v1.ImportInvoiceUpdateRequest.jsonOrThrow(request, {
|