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
|
@@ -143,7 +143,7 @@ class V4 {
|
|
|
143
143
|
const _response = yield core.fetcher({
|
|
144
144
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4"),
|
|
145
145
|
method: "GET",
|
|
146
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
146
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
queryParameters: _queryParams,
|
|
149
149
|
requestType: "json",
|
|
@@ -181,7 +181,7 @@ class V4 {
|
|
|
181
181
|
const _response = yield core.fetcher({
|
|
182
182
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
183
183
|
method: "GET",
|
|
184
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
184
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
185
185
|
contentType: "application/json",
|
|
186
186
|
requestType: "json",
|
|
187
187
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -253,7 +253,10 @@ class V4 {
|
|
|
253
253
|
* taxId: "string",
|
|
254
254
|
* npi: "string",
|
|
255
255
|
* taxonomyCode: "string",
|
|
256
|
-
* providerCommercialLicenseType: "0"
|
|
256
|
+
* providerCommercialLicenseType: "0",
|
|
257
|
+
* firstName: "string",
|
|
258
|
+
* lastName: "string",
|
|
259
|
+
* organizationName: "string"
|
|
257
260
|
* },
|
|
258
261
|
* renderingProvider: {
|
|
259
262
|
* npi: "string",
|
|
@@ -265,7 +268,10 @@ class V4 {
|
|
|
265
268
|
* state: "NY",
|
|
266
269
|
* zipCode: "10001",
|
|
267
270
|
* zipPlusFourCode: "1234"
|
|
268
|
-
* }
|
|
271
|
+
* },
|
|
272
|
+
* firstName: "string",
|
|
273
|
+
* lastName: "string",
|
|
274
|
+
* organizationName: "string"
|
|
269
275
|
* },
|
|
270
276
|
* referringProvider: {
|
|
271
277
|
* npi: "string",
|
|
@@ -277,7 +283,10 @@ class V4 {
|
|
|
277
283
|
* state: "NY",
|
|
278
284
|
* zipCode: "10001",
|
|
279
285
|
* zipPlusFourCode: "1234"
|
|
280
|
-
* }
|
|
286
|
+
* },
|
|
287
|
+
* firstName: "string",
|
|
288
|
+
* lastName: "string",
|
|
289
|
+
* organizationName: "string"
|
|
281
290
|
* },
|
|
282
291
|
* initialReferringProvider: {
|
|
283
292
|
* npi: "string",
|
|
@@ -290,7 +299,10 @@ class V4 {
|
|
|
290
299
|
* zipCode: "10001",
|
|
291
300
|
* zipPlusFourCode: "1234"
|
|
292
301
|
* },
|
|
293
|
-
* qualifier: "DQ"
|
|
302
|
+
* qualifier: "DQ",
|
|
303
|
+
* firstName: "string",
|
|
304
|
+
* lastName: "string",
|
|
305
|
+
* organizationName: "string"
|
|
294
306
|
* },
|
|
295
307
|
* supervisingProvider: {
|
|
296
308
|
* npi: "string",
|
|
@@ -302,7 +314,10 @@ class V4 {
|
|
|
302
314
|
* state: "NY",
|
|
303
315
|
* zipCode: "10001",
|
|
304
316
|
* zipPlusFourCode: "1234"
|
|
305
|
-
* }
|
|
317
|
+
* },
|
|
318
|
+
* firstName: "string",
|
|
319
|
+
* lastName: "string",
|
|
320
|
+
* organizationName: "string"
|
|
306
321
|
* },
|
|
307
322
|
* serviceFacility: {
|
|
308
323
|
* organizationName: "string",
|
|
@@ -321,9 +336,28 @@ class V4 {
|
|
|
321
336
|
* insuranceCard: {
|
|
322
337
|
* memberId: "string",
|
|
323
338
|
* payerName: "string",
|
|
324
|
-
* payerId: "string"
|
|
339
|
+
* payerId: "string",
|
|
340
|
+
* rxBin: "string",
|
|
341
|
+
* rxPcn: "string",
|
|
342
|
+
* imageUrlFront: "string",
|
|
343
|
+
* imageUrlBack: "string",
|
|
344
|
+
* emrPayerCrosswalk: "HEALTHIE",
|
|
345
|
+
* groupNumber: "string",
|
|
346
|
+
* planName: "string",
|
|
347
|
+
* planType: "09",
|
|
348
|
+
* insuranceType: "01",
|
|
349
|
+
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
325
350
|
* },
|
|
326
351
|
* patientRelationshipToSubscriberCode: "01",
|
|
352
|
+
* dateOfBirth: "2023-01-15",
|
|
353
|
+
* address: {
|
|
354
|
+
* address1: "123 Main St",
|
|
355
|
+
* address2: "Apt 1",
|
|
356
|
+
* city: "New York",
|
|
357
|
+
* state: "NY",
|
|
358
|
+
* zipCode: "10001",
|
|
359
|
+
* zipPlusFourCode: "1234"
|
|
360
|
+
* },
|
|
327
361
|
* firstName: "string",
|
|
328
362
|
* lastName: "string",
|
|
329
363
|
* gender: "male"
|
|
@@ -332,9 +366,28 @@ class V4 {
|
|
|
332
366
|
* insuranceCard: {
|
|
333
367
|
* memberId: "string",
|
|
334
368
|
* payerName: "string",
|
|
335
|
-
* payerId: "string"
|
|
369
|
+
* payerId: "string",
|
|
370
|
+
* rxBin: "string",
|
|
371
|
+
* rxPcn: "string",
|
|
372
|
+
* imageUrlFront: "string",
|
|
373
|
+
* imageUrlBack: "string",
|
|
374
|
+
* emrPayerCrosswalk: "HEALTHIE",
|
|
375
|
+
* groupNumber: "string",
|
|
376
|
+
* planName: "string",
|
|
377
|
+
* planType: "09",
|
|
378
|
+
* insuranceType: "01",
|
|
379
|
+
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
336
380
|
* },
|
|
337
381
|
* patientRelationshipToSubscriberCode: "01",
|
|
382
|
+
* dateOfBirth: "2023-01-15",
|
|
383
|
+
* address: {
|
|
384
|
+
* address1: "123 Main St",
|
|
385
|
+
* address2: "Apt 1",
|
|
386
|
+
* city: "New York",
|
|
387
|
+
* state: "NY",
|
|
388
|
+
* zipCode: "10001",
|
|
389
|
+
* zipPlusFourCode: "1234"
|
|
390
|
+
* },
|
|
338
391
|
* firstName: "string",
|
|
339
392
|
* lastName: "string",
|
|
340
393
|
* gender: "male"
|
|
@@ -343,9 +396,28 @@ class V4 {
|
|
|
343
396
|
* insuranceCard: {
|
|
344
397
|
* memberId: "string",
|
|
345
398
|
* payerName: "string",
|
|
346
|
-
* payerId: "string"
|
|
399
|
+
* payerId: "string",
|
|
400
|
+
* rxBin: "string",
|
|
401
|
+
* rxPcn: "string",
|
|
402
|
+
* imageUrlFront: "string",
|
|
403
|
+
* imageUrlBack: "string",
|
|
404
|
+
* emrPayerCrosswalk: "HEALTHIE",
|
|
405
|
+
* groupNumber: "string",
|
|
406
|
+
* planName: "string",
|
|
407
|
+
* planType: "09",
|
|
408
|
+
* insuranceType: "01",
|
|
409
|
+
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
347
410
|
* },
|
|
348
411
|
* patientRelationshipToSubscriberCode: "01",
|
|
412
|
+
* dateOfBirth: "2023-01-15",
|
|
413
|
+
* address: {
|
|
414
|
+
* address1: "123 Main St",
|
|
415
|
+
* address2: "Apt 1",
|
|
416
|
+
* city: "New York",
|
|
417
|
+
* state: "NY",
|
|
418
|
+
* zipCode: "10001",
|
|
419
|
+
* zipPlusFourCode: "1234"
|
|
420
|
+
* },
|
|
349
421
|
* firstName: "string",
|
|
350
422
|
* lastName: "string",
|
|
351
423
|
* gender: "male"
|
|
@@ -434,12 +506,15 @@ class V4 {
|
|
|
434
506
|
* }],
|
|
435
507
|
* referralNumber: "string",
|
|
436
508
|
* epsdtReferral: {
|
|
437
|
-
* conditionIndicator1: "AV"
|
|
509
|
+
* conditionIndicator1: "AV",
|
|
510
|
+
* conditionIndicator2: "AV",
|
|
511
|
+
* conditionIndicator3: "AV"
|
|
438
512
|
* },
|
|
439
513
|
* claimSupplementalInformation: [{
|
|
440
514
|
* attachmentReportTypeCode: "03",
|
|
441
515
|
* attachmentTransmissionCode: "BM"
|
|
442
516
|
* }],
|
|
517
|
+
* secondaryPayerCarrierCode: "string",
|
|
443
518
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
444
519
|
* dateOfService: "2023-01-15",
|
|
445
520
|
* endDateOfService: "2023-01-15",
|
|
@@ -507,7 +582,7 @@ class V4 {
|
|
|
507
582
|
const _response = yield core.fetcher({
|
|
508
583
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4"),
|
|
509
584
|
method: "POST",
|
|
510
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
585
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
511
586
|
contentType: "application/json",
|
|
512
587
|
requestType: "json",
|
|
513
588
|
body: serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -594,7 +669,10 @@ class V4 {
|
|
|
594
669
|
* taxId: "string",
|
|
595
670
|
* npi: "string",
|
|
596
671
|
* taxonomyCode: "string",
|
|
597
|
-
* providerCommercialLicenseType: "0"
|
|
672
|
+
* providerCommercialLicenseType: "0",
|
|
673
|
+
* firstName: "string",
|
|
674
|
+
* lastName: "string",
|
|
675
|
+
* organizationName: "string"
|
|
598
676
|
* },
|
|
599
677
|
* renderingProvider: {
|
|
600
678
|
* npi: "string",
|
|
@@ -606,7 +684,10 @@ class V4 {
|
|
|
606
684
|
* state: "NY",
|
|
607
685
|
* zipCode: "10001",
|
|
608
686
|
* zipPlusFourCode: "1234"
|
|
609
|
-
* }
|
|
687
|
+
* },
|
|
688
|
+
* firstName: "string",
|
|
689
|
+
* lastName: "string",
|
|
690
|
+
* organizationName: "string"
|
|
610
691
|
* },
|
|
611
692
|
* initialReferringProvider: {
|
|
612
693
|
* npi: "string",
|
|
@@ -619,7 +700,10 @@ class V4 {
|
|
|
619
700
|
* zipCode: "10001",
|
|
620
701
|
* zipPlusFourCode: "1234"
|
|
621
702
|
* },
|
|
622
|
-
* qualifier: "DQ"
|
|
703
|
+
* qualifier: "DQ",
|
|
704
|
+
* firstName: "string",
|
|
705
|
+
* lastName: "string",
|
|
706
|
+
* organizationName: "string"
|
|
623
707
|
* },
|
|
624
708
|
* supervisingProvider: {
|
|
625
709
|
* npi: "string",
|
|
@@ -631,7 +715,10 @@ class V4 {
|
|
|
631
715
|
* state: "NY",
|
|
632
716
|
* zipCode: "10001",
|
|
633
717
|
* zipPlusFourCode: "1234"
|
|
634
|
-
* }
|
|
718
|
+
* },
|
|
719
|
+
* firstName: "string",
|
|
720
|
+
* lastName: "string",
|
|
721
|
+
* organizationName: "string"
|
|
635
722
|
* },
|
|
636
723
|
* serviceFacility: {
|
|
637
724
|
* organizationName: "string",
|
|
@@ -772,7 +859,7 @@ class V4 {
|
|
|
772
859
|
const _response = yield core.fetcher({
|
|
773
860
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4/create-from-pre-encounter"),
|
|
774
861
|
method: "POST",
|
|
775
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
862
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
776
863
|
contentType: "application/json",
|
|
777
864
|
requestType: "json",
|
|
778
865
|
body: serializers.encounters.v4.EncounterCreateFromPreEncounter.jsonOrThrow(request, {
|
|
@@ -827,14 +914,6 @@ class V4 {
|
|
|
827
914
|
*
|
|
828
915
|
* @example
|
|
829
916
|
* await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
830
|
-
* diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
831
|
-
* placeOfServiceCodeAsSubmitted: "01",
|
|
832
|
-
* benefitsAssignedToProvider: true,
|
|
833
|
-
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
834
|
-
* externalId: CandidApi.EncounterExternalId("string"),
|
|
835
|
-
* dateOfService: "2023-01-15",
|
|
836
|
-
* tagIds: [],
|
|
837
|
-
* clinicalNotes: [],
|
|
838
917
|
* payToAddress: {
|
|
839
918
|
* address1: "123 Main St",
|
|
840
919
|
* address2: "Apt 1",
|
|
@@ -843,67 +922,83 @@ class V4 {
|
|
|
843
922
|
* zipCode: "10001",
|
|
844
923
|
* zipPlusFourCode: "1234"
|
|
845
924
|
* },
|
|
846
|
-
*
|
|
847
|
-
*
|
|
848
|
-
*
|
|
849
|
-
*
|
|
850
|
-
*
|
|
851
|
-
*
|
|
852
|
-
*
|
|
853
|
-
*
|
|
854
|
-
*
|
|
855
|
-
*
|
|
856
|
-
*
|
|
857
|
-
* payerId: "string"
|
|
925
|
+
* diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
926
|
+
* initialReferringProvider: {
|
|
927
|
+
* npi: "string",
|
|
928
|
+
* taxonomyCode: "string",
|
|
929
|
+
* address: {
|
|
930
|
+
* address1: "123 Main St",
|
|
931
|
+
* address2: "Apt 1",
|
|
932
|
+
* city: "New York",
|
|
933
|
+
* state: "NY",
|
|
934
|
+
* zipCode: "10001",
|
|
935
|
+
* zipPlusFourCode: "1234"
|
|
858
936
|
* },
|
|
859
|
-
*
|
|
937
|
+
* qualifier: "DQ",
|
|
860
938
|
* firstName: "string",
|
|
861
939
|
* lastName: "string",
|
|
862
|
-
*
|
|
940
|
+
* organizationName: "string"
|
|
863
941
|
* },
|
|
864
|
-
*
|
|
865
|
-
*
|
|
866
|
-
*
|
|
867
|
-
*
|
|
868
|
-
*
|
|
942
|
+
* referringProvider: {
|
|
943
|
+
* npi: "string",
|
|
944
|
+
* taxonomyCode: "string",
|
|
945
|
+
* address: {
|
|
946
|
+
* address1: "123 Main St",
|
|
947
|
+
* address2: "Apt 1",
|
|
948
|
+
* city: "New York",
|
|
949
|
+
* state: "NY",
|
|
950
|
+
* zipCode: "10001",
|
|
951
|
+
* zipPlusFourCode: "1234"
|
|
869
952
|
* },
|
|
870
|
-
* patientRelationshipToSubscriberCode: "01",
|
|
871
953
|
* firstName: "string",
|
|
872
954
|
* lastName: "string",
|
|
873
|
-
*
|
|
955
|
+
* organizationName: "string"
|
|
874
956
|
* },
|
|
875
|
-
*
|
|
876
|
-
* insuranceCard: {
|
|
877
|
-
* memberId: "string",
|
|
878
|
-
* payerName: "string",
|
|
879
|
-
* payerId: "string"
|
|
880
|
-
* },
|
|
881
|
-
* patientRelationshipToSubscriberCode: "01",
|
|
957
|
+
* patient: {
|
|
882
958
|
* firstName: "string",
|
|
883
959
|
* lastName: "string",
|
|
884
|
-
* gender: "male"
|
|
960
|
+
* gender: "male",
|
|
961
|
+
* externalId: "string",
|
|
962
|
+
* dateOfBirth: "2023-01-15",
|
|
963
|
+
* address: {
|
|
964
|
+
* address1: "123 Main St",
|
|
965
|
+
* address2: "Apt 1",
|
|
966
|
+
* city: "New York",
|
|
967
|
+
* state: "NY",
|
|
968
|
+
* zipCode: "10001",
|
|
969
|
+
* zipPlusFourCode: "1234"
|
|
970
|
+
* },
|
|
971
|
+
* phoneNumbers: [{
|
|
972
|
+
* number: "1234567890",
|
|
973
|
+
* type: "Home"
|
|
974
|
+
* }],
|
|
975
|
+
* phoneConsent: true,
|
|
976
|
+
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
977
|
+
* emailConsent: true,
|
|
978
|
+
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
979
|
+
* nonInsurancePayersInfo: [{
|
|
980
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
981
|
+
* memberId: "string",
|
|
982
|
+
* clinicalTrialInfo: [{
|
|
983
|
+
* clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
984
|
+
* }]
|
|
985
|
+
* }]
|
|
885
986
|
* },
|
|
886
|
-
*
|
|
887
|
-
*
|
|
888
|
-
*
|
|
889
|
-
*
|
|
890
|
-
*
|
|
891
|
-
*
|
|
892
|
-
*
|
|
893
|
-
*
|
|
894
|
-
*
|
|
895
|
-
*
|
|
896
|
-
*
|
|
897
|
-
*
|
|
898
|
-
*
|
|
899
|
-
*
|
|
900
|
-
* bloodPressureDiastolicMmhg: 85,
|
|
901
|
-
* bodyTemperatureF: 98,
|
|
902
|
-
* hemoglobinGdl: 15.1,
|
|
903
|
-
* hematocritPct: 51.2
|
|
987
|
+
* renderingProvider: {
|
|
988
|
+
* npi: "string",
|
|
989
|
+
* taxonomyCode: "string",
|
|
990
|
+
* address: {
|
|
991
|
+
* address1: "123 Main St",
|
|
992
|
+
* address2: "Apt 1",
|
|
993
|
+
* city: "New York",
|
|
994
|
+
* state: "NY",
|
|
995
|
+
* zipCode: "10001",
|
|
996
|
+
* zipPlusFourCode: "1234"
|
|
997
|
+
* },
|
|
998
|
+
* firstName: "string",
|
|
999
|
+
* lastName: "string",
|
|
1000
|
+
* organizationName: "string"
|
|
904
1001
|
* },
|
|
905
|
-
* existingMedications: [],
|
|
906
|
-
* renderingProvider: {},
|
|
907
1002
|
* serviceFacility: {
|
|
908
1003
|
* organizationName: "Test Organization",
|
|
909
1004
|
* address: {
|
|
@@ -915,16 +1010,39 @@ class V4 {
|
|
|
915
1010
|
* zipPlusFourCode: "1234"
|
|
916
1011
|
* }
|
|
917
1012
|
* },
|
|
918
|
-
*
|
|
919
|
-
*
|
|
920
|
-
*
|
|
921
|
-
*
|
|
922
|
-
*
|
|
923
|
-
*
|
|
924
|
-
*
|
|
925
|
-
*
|
|
1013
|
+
* supervisingProvider: {
|
|
1014
|
+
* npi: "string",
|
|
1015
|
+
* taxonomyCode: "string",
|
|
1016
|
+
* address: {
|
|
1017
|
+
* address1: "123 Main St",
|
|
1018
|
+
* address2: "Apt 1",
|
|
1019
|
+
* city: "New York",
|
|
1020
|
+
* state: "NY",
|
|
1021
|
+
* zipCode: "10001",
|
|
1022
|
+
* zipPlusFourCode: "1234"
|
|
1023
|
+
* },
|
|
1024
|
+
* firstName: "string",
|
|
1025
|
+
* lastName: "string",
|
|
1026
|
+
* organizationName: "string"
|
|
1027
|
+
* },
|
|
1028
|
+
* billingProvider: {
|
|
1029
|
+
* address: {
|
|
1030
|
+
* address1: "123 Main St",
|
|
1031
|
+
* address2: "Apt 1",
|
|
1032
|
+
* city: "New York",
|
|
1033
|
+
* state: "NY",
|
|
1034
|
+
* zipCode: "10001",
|
|
1035
|
+
* zipPlusFourCode: "1234"
|
|
1036
|
+
* },
|
|
1037
|
+
* taxId: "string",
|
|
1038
|
+
* npi: "string",
|
|
1039
|
+
* taxonomyCode: "string",
|
|
1040
|
+
* providerCommercialLicenseType: "0",
|
|
1041
|
+
* firstName: "string",
|
|
1042
|
+
* lastName: "string",
|
|
1043
|
+
* organizationName: "string"
|
|
926
1044
|
* },
|
|
927
|
-
*
|
|
1045
|
+
* placeOfServiceCodeAsSubmitted: "01"
|
|
928
1046
|
* })
|
|
929
1047
|
*/
|
|
930
1048
|
update(encounterId_1) {
|
|
@@ -933,7 +1051,7 @@ class V4 {
|
|
|
933
1051
|
const _response = yield core.fetcher({
|
|
934
1052
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
935
1053
|
method: "PATCH",
|
|
936
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
1054
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
937
1055
|
contentType: "application/json",
|
|
938
1056
|
requestType: "json",
|
|
939
1057
|
body: serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -47,7 +47,10 @@ import * as CandidApi from "../../../../../../index";
|
|
|
47
47
|
* taxId: "string",
|
|
48
48
|
* npi: "string",
|
|
49
49
|
* taxonomyCode: "string",
|
|
50
|
-
* providerCommercialLicenseType: "0"
|
|
50
|
+
* providerCommercialLicenseType: "0",
|
|
51
|
+
* firstName: "string",
|
|
52
|
+
* lastName: "string",
|
|
53
|
+
* organizationName: "string"
|
|
51
54
|
* },
|
|
52
55
|
* renderingProvider: {
|
|
53
56
|
* npi: "string",
|
|
@@ -59,7 +62,10 @@ import * as CandidApi from "../../../../../../index";
|
|
|
59
62
|
* state: "NY",
|
|
60
63
|
* zipCode: "10001",
|
|
61
64
|
* zipPlusFourCode: "1234"
|
|
62
|
-
* }
|
|
65
|
+
* },
|
|
66
|
+
* firstName: "string",
|
|
67
|
+
* lastName: "string",
|
|
68
|
+
* organizationName: "string"
|
|
63
69
|
* },
|
|
64
70
|
* referringProvider: {
|
|
65
71
|
* npi: "string",
|
|
@@ -71,7 +77,10 @@ import * as CandidApi from "../../../../../../index";
|
|
|
71
77
|
* state: "NY",
|
|
72
78
|
* zipCode: "10001",
|
|
73
79
|
* zipPlusFourCode: "1234"
|
|
74
|
-
* }
|
|
80
|
+
* },
|
|
81
|
+
* firstName: "string",
|
|
82
|
+
* lastName: "string",
|
|
83
|
+
* organizationName: "string"
|
|
75
84
|
* },
|
|
76
85
|
* initialReferringProvider: {
|
|
77
86
|
* npi: "string",
|
|
@@ -84,7 +93,10 @@ import * as CandidApi from "../../../../../../index";
|
|
|
84
93
|
* zipCode: "10001",
|
|
85
94
|
* zipPlusFourCode: "1234"
|
|
86
95
|
* },
|
|
87
|
-
* qualifier: "DQ"
|
|
96
|
+
* qualifier: "DQ",
|
|
97
|
+
* firstName: "string",
|
|
98
|
+
* lastName: "string",
|
|
99
|
+
* organizationName: "string"
|
|
88
100
|
* },
|
|
89
101
|
* supervisingProvider: {
|
|
90
102
|
* npi: "string",
|
|
@@ -96,7 +108,10 @@ import * as CandidApi from "../../../../../../index";
|
|
|
96
108
|
* state: "NY",
|
|
97
109
|
* zipCode: "10001",
|
|
98
110
|
* zipPlusFourCode: "1234"
|
|
99
|
-
* }
|
|
111
|
+
* },
|
|
112
|
+
* firstName: "string",
|
|
113
|
+
* lastName: "string",
|
|
114
|
+
* organizationName: "string"
|
|
100
115
|
* },
|
|
101
116
|
* serviceFacility: {
|
|
102
117
|
* organizationName: "string",
|
|
@@ -115,9 +130,28 @@ import * as CandidApi from "../../../../../../index";
|
|
|
115
130
|
* insuranceCard: {
|
|
116
131
|
* memberId: "string",
|
|
117
132
|
* payerName: "string",
|
|
118
|
-
* payerId: "string"
|
|
133
|
+
* payerId: "string",
|
|
134
|
+
* rxBin: "string",
|
|
135
|
+
* rxPcn: "string",
|
|
136
|
+
* imageUrlFront: "string",
|
|
137
|
+
* imageUrlBack: "string",
|
|
138
|
+
* emrPayerCrosswalk: "HEALTHIE",
|
|
139
|
+
* groupNumber: "string",
|
|
140
|
+
* planName: "string",
|
|
141
|
+
* planType: "09",
|
|
142
|
+
* insuranceType: "01",
|
|
143
|
+
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
119
144
|
* },
|
|
120
145
|
* patientRelationshipToSubscriberCode: "01",
|
|
146
|
+
* dateOfBirth: "2023-01-15",
|
|
147
|
+
* address: {
|
|
148
|
+
* address1: "123 Main St",
|
|
149
|
+
* address2: "Apt 1",
|
|
150
|
+
* city: "New York",
|
|
151
|
+
* state: "NY",
|
|
152
|
+
* zipCode: "10001",
|
|
153
|
+
* zipPlusFourCode: "1234"
|
|
154
|
+
* },
|
|
121
155
|
* firstName: "string",
|
|
122
156
|
* lastName: "string",
|
|
123
157
|
* gender: "male"
|
|
@@ -126,9 +160,28 @@ import * as CandidApi from "../../../../../../index";
|
|
|
126
160
|
* insuranceCard: {
|
|
127
161
|
* memberId: "string",
|
|
128
162
|
* payerName: "string",
|
|
129
|
-
* payerId: "string"
|
|
163
|
+
* payerId: "string",
|
|
164
|
+
* rxBin: "string",
|
|
165
|
+
* rxPcn: "string",
|
|
166
|
+
* imageUrlFront: "string",
|
|
167
|
+
* imageUrlBack: "string",
|
|
168
|
+
* emrPayerCrosswalk: "HEALTHIE",
|
|
169
|
+
* groupNumber: "string",
|
|
170
|
+
* planName: "string",
|
|
171
|
+
* planType: "09",
|
|
172
|
+
* insuranceType: "01",
|
|
173
|
+
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
130
174
|
* },
|
|
131
175
|
* patientRelationshipToSubscriberCode: "01",
|
|
176
|
+
* dateOfBirth: "2023-01-15",
|
|
177
|
+
* address: {
|
|
178
|
+
* address1: "123 Main St",
|
|
179
|
+
* address2: "Apt 1",
|
|
180
|
+
* city: "New York",
|
|
181
|
+
* state: "NY",
|
|
182
|
+
* zipCode: "10001",
|
|
183
|
+
* zipPlusFourCode: "1234"
|
|
184
|
+
* },
|
|
132
185
|
* firstName: "string",
|
|
133
186
|
* lastName: "string",
|
|
134
187
|
* gender: "male"
|
|
@@ -137,9 +190,28 @@ import * as CandidApi from "../../../../../../index";
|
|
|
137
190
|
* insuranceCard: {
|
|
138
191
|
* memberId: "string",
|
|
139
192
|
* payerName: "string",
|
|
140
|
-
* payerId: "string"
|
|
193
|
+
* payerId: "string",
|
|
194
|
+
* rxBin: "string",
|
|
195
|
+
* rxPcn: "string",
|
|
196
|
+
* imageUrlFront: "string",
|
|
197
|
+
* imageUrlBack: "string",
|
|
198
|
+
* emrPayerCrosswalk: "HEALTHIE",
|
|
199
|
+
* groupNumber: "string",
|
|
200
|
+
* planName: "string",
|
|
201
|
+
* planType: "09",
|
|
202
|
+
* insuranceType: "01",
|
|
203
|
+
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
141
204
|
* },
|
|
142
205
|
* patientRelationshipToSubscriberCode: "01",
|
|
206
|
+
* dateOfBirth: "2023-01-15",
|
|
207
|
+
* address: {
|
|
208
|
+
* address1: "123 Main St",
|
|
209
|
+
* address2: "Apt 1",
|
|
210
|
+
* city: "New York",
|
|
211
|
+
* state: "NY",
|
|
212
|
+
* zipCode: "10001",
|
|
213
|
+
* zipPlusFourCode: "1234"
|
|
214
|
+
* },
|
|
143
215
|
* firstName: "string",
|
|
144
216
|
* lastName: "string",
|
|
145
217
|
* gender: "male"
|
|
@@ -228,12 +300,15 @@ import * as CandidApi from "../../../../../../index";
|
|
|
228
300
|
* }],
|
|
229
301
|
* referralNumber: "string",
|
|
230
302
|
* epsdtReferral: {
|
|
231
|
-
* conditionIndicator1: "AV"
|
|
303
|
+
* conditionIndicator1: "AV",
|
|
304
|
+
* conditionIndicator2: "AV",
|
|
305
|
+
* conditionIndicator3: "AV"
|
|
232
306
|
* },
|
|
233
307
|
* claimSupplementalInformation: [{
|
|
234
308
|
* attachmentReportTypeCode: "03",
|
|
235
309
|
* attachmentTransmissionCode: "BM"
|
|
236
310
|
* }],
|
|
311
|
+
* secondaryPayerCarrierCode: "string",
|
|
237
312
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
238
313
|
* dateOfService: "2023-01-15",
|
|
239
314
|
* endDateOfService: "2023-01-15",
|
|
@@ -422,4 +497,9 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
|
|
|
422
497
|
*
|
|
423
498
|
*/
|
|
424
499
|
claimSupplementalInformation?: CandidApi.encounters.v4.ClaimSupplementalInformation[];
|
|
500
|
+
/**
|
|
501
|
+
* When Medicaid is billed as the secondary payer the Carrier Code is used to identify the primary payer. This is required for certain states.
|
|
502
|
+
*
|
|
503
|
+
*/
|
|
504
|
+
secondaryPayerCarrierCode?: string;
|
|
425
505
|
}
|