candidhealth 1.4.0 → 1.5.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/default/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +33 -0
- package/api/resources/chargeCapture/resources/v1/client/Client.js +90 -5
- package/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +58 -0
- package/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +123 -0
- package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
- package/api/resources/chargeCapture/resources/v1/client/index.js +2 -1
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +30 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +5 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -1
- 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 +4 -3
- package/api/resources/diagnoses/client/update.d.ts +7 -1
- package/api/resources/diagnoses/client/update.js +11 -0
- package/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +9 -0
- package/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +5 -0
- package/api/resources/diagnoses/types/index.d.ts +1 -0
- package/api/resources/diagnoses/types/index.js +1 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- 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.d.ts +18 -0
- package/api/resources/feeSchedules/resources/v3/client/Client.js +60 -10
- package/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +22 -0
- package/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.js +57 -0
- package/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/individual/types/SubscriberCreate.d.ts +1 -0
- package/api/resources/individual/types/SubscriberCreateOptional.d.ts +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.d.ts +15 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +79 -7
- package/api/resources/nonInsurancePayers/resources/v1/client/getCategories.d.ts +22 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/getCategories.js +57 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/index.js +2 -1
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +15 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +22 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +7 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +15 -5
- package/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +4 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +16 -6
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +4 -0
- 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.d.ts +1 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +1 -1
- package/api/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +11 -11
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +1 -7
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +7 -13
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +3 -2
- 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.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +12 -12
- 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/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/auth/resources/default/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +33 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +90 -5
- package/dist/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +58 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +123 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +30 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -1
- 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 +4 -3
- package/dist/api/resources/diagnoses/client/update.d.ts +7 -1
- package/dist/api/resources/diagnoses/client/update.js +11 -0
- package/dist/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +9 -0
- package/dist/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +5 -0
- package/dist/api/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/types/index.js +1 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- 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.d.ts +18 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +60 -10
- package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +22 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.js +57 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/individual/types/SubscriberCreate.d.ts +1 -0
- package/dist/api/resources/individual/types/SubscriberCreateOptional.d.ts +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.d.ts +15 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +79 -7
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/getCategories.d.ts +22 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/getCategories.js +57 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.js +2 -1
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +15 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +22 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +7 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +15 -5
- package/dist/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +4 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +16 -6
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +4 -0
- 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.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +11 -11
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +7 -13
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +3 -2
- 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.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +12 -12
- 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/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +40 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +101 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +23 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +54 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +3 -1
- package/dist/serialization/resources/diagnoses/client/update.d.ts +6 -1
- package/dist/serialization/resources/diagnoses/client/update.js +6 -0
- package/dist/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +46 -0
- package/dist/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/types/index.js +1 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +9 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRates.js +41 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +13 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +46 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +3 -2
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +3 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +233 -10
- package/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +40 -0
- package/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +101 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -1
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +23 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +54 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +3 -1
- package/serialization/resources/diagnoses/client/update.d.ts +6 -1
- package/serialization/resources/diagnoses/client/update.js +6 -0
- package/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +15 -0
- package/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +46 -0
- package/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/serialization/resources/diagnoses/types/index.js +1 -0
- package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +9 -0
- package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRates.js +41 -0
- package/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +13 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +46 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +3 -2
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +3 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/reference.md
CHANGED
|
@@ -507,6 +507,96 @@ await client.chargeCapture.v1.create({
|
|
|
507
507
|
</dl>
|
|
508
508
|
</details>
|
|
509
509
|
|
|
510
|
+
<details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">createFromPreEncounterPatient</a>({ ...params }) -> core.APIResponse<CandidApi.ChargeCapture, CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error></code></summary>
|
|
511
|
+
<dl>
|
|
512
|
+
<dd>
|
|
513
|
+
|
|
514
|
+
#### 📝 Description
|
|
515
|
+
|
|
516
|
+
<dl>
|
|
517
|
+
<dd>
|
|
518
|
+
|
|
519
|
+
<dl>
|
|
520
|
+
<dd>
|
|
521
|
+
|
|
522
|
+
Create a Charge Capture from a pre-encounter patient and appointment. This endpoint is intended to be used by consumers who are managing
|
|
523
|
+
patients and appointments in the pre-encounter service and is currently under development. Consumers who are not taking advantage
|
|
524
|
+
of the pre-encounter service should use the standard create endpoint.
|
|
525
|
+
|
|
526
|
+
At encounter creation time, information from the provided patient and appointment objects will be populated
|
|
527
|
+
where applicable. In particular, the following fields are populated from the patient and appointment objects:
|
|
528
|
+
|
|
529
|
+
- Patient
|
|
530
|
+
- Referring Provider
|
|
531
|
+
- Subscriber Primary
|
|
532
|
+
- Subscriber Secondary
|
|
533
|
+
- Referral Number
|
|
534
|
+
- Responsible Party
|
|
535
|
+
- Guarantor
|
|
536
|
+
|
|
537
|
+
Note that these fields should not be populated in the ChargeCaptureData property of this endpoint, as they will be overwritten at encounter creation time.
|
|
538
|
+
|
|
539
|
+
Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
|
|
540
|
+
encounter has not already been submitted or adjudicated.
|
|
541
|
+
|
|
542
|
+
</dd>
|
|
543
|
+
</dl>
|
|
544
|
+
</dd>
|
|
545
|
+
</dl>
|
|
546
|
+
|
|
547
|
+
#### 🔌 Usage
|
|
548
|
+
|
|
549
|
+
<dl>
|
|
550
|
+
<dd>
|
|
551
|
+
|
|
552
|
+
<dl>
|
|
553
|
+
<dd>
|
|
554
|
+
|
|
555
|
+
```typescript
|
|
556
|
+
await client.chargeCapture.v1.createFromPreEncounterPatient({
|
|
557
|
+
data: {},
|
|
558
|
+
chargeExternalId: "charge_external_id",
|
|
559
|
+
preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
560
|
+
preEncounterAppointmentIds: [
|
|
561
|
+
CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
562
|
+
CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
563
|
+
],
|
|
564
|
+
status: "planned",
|
|
565
|
+
});
|
|
566
|
+
```
|
|
567
|
+
|
|
568
|
+
</dd>
|
|
569
|
+
</dl>
|
|
570
|
+
</dd>
|
|
571
|
+
</dl>
|
|
572
|
+
|
|
573
|
+
#### ⚙️ Parameters
|
|
574
|
+
|
|
575
|
+
<dl>
|
|
576
|
+
<dd>
|
|
577
|
+
|
|
578
|
+
<dl>
|
|
579
|
+
<dd>
|
|
580
|
+
|
|
581
|
+
**request:** `CandidApi.chargeCapture.v1.CreateChargeCaptureFromPreEncounterRequest`
|
|
582
|
+
|
|
583
|
+
</dd>
|
|
584
|
+
</dl>
|
|
585
|
+
|
|
586
|
+
<dl>
|
|
587
|
+
<dd>
|
|
588
|
+
|
|
589
|
+
**requestOptions:** `V1.RequestOptions`
|
|
590
|
+
|
|
591
|
+
</dd>
|
|
592
|
+
</dl>
|
|
593
|
+
</dd>
|
|
594
|
+
</dl>
|
|
595
|
+
|
|
596
|
+
</dd>
|
|
597
|
+
</dl>
|
|
598
|
+
</details>
|
|
599
|
+
|
|
510
600
|
<details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">update</a>(chargeCaptureId, { ...params }) -> core.APIResponse<CandidApi.ChargeCapture, CandidApi.chargeCapture.v1.update.Error></code></summary>
|
|
511
601
|
<dl>
|
|
512
602
|
<dd>
|
|
@@ -4047,6 +4137,77 @@ await client.feeSchedules.v3.setPayerThreshold(CandidApi.PayerUuid("d5e9c84f-c2b
|
|
|
4047
4137
|
</dl>
|
|
4048
4138
|
</details>
|
|
4049
4139
|
|
|
4140
|
+
<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">hardDeleteRates</a>({ ...params }) -> core.APIResponse<number, CandidApi.feeSchedules.v3.hardDeleteRates.Error></code></summary>
|
|
4141
|
+
<dl>
|
|
4142
|
+
<dd>
|
|
4143
|
+
|
|
4144
|
+
#### 📝 Description
|
|
4145
|
+
|
|
4146
|
+
<dl>
|
|
4147
|
+
<dd>
|
|
4148
|
+
|
|
4149
|
+
<dl>
|
|
4150
|
+
<dd>
|
|
4151
|
+
|
|
4152
|
+
Hard deletes rates from the system that match the provided dimensions. This is a destructive operation and cannot be undone. If an empty dimensions object is provided, all rates will be hard deleted. The maximum number of rates this API will delete at a time is 10000. Returns the number of rates deleted and if that number is the maximum, the caller should call this API again to continue deleting rates.
|
|
4153
|
+
|
|
4154
|
+
</dd>
|
|
4155
|
+
</dl>
|
|
4156
|
+
</dd>
|
|
4157
|
+
</dl>
|
|
4158
|
+
|
|
4159
|
+
#### 🔌 Usage
|
|
4160
|
+
|
|
4161
|
+
<dl>
|
|
4162
|
+
<dd>
|
|
4163
|
+
|
|
4164
|
+
<dl>
|
|
4165
|
+
<dd>
|
|
4166
|
+
|
|
4167
|
+
```typescript
|
|
4168
|
+
await client.feeSchedules.v3.hardDeleteRates({
|
|
4169
|
+
states: new Set(["AA"]),
|
|
4170
|
+
zipCodes: new Set(["zip_codes"]),
|
|
4171
|
+
licenseTypes: new Set(["MD"]),
|
|
4172
|
+
facilityTypeCodes: new Set(["01"]),
|
|
4173
|
+
networkTypes: new Set(["12"]),
|
|
4174
|
+
payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
4175
|
+
modifiers: new Set(["AV"]),
|
|
4176
|
+
});
|
|
4177
|
+
```
|
|
4178
|
+
|
|
4179
|
+
</dd>
|
|
4180
|
+
</dl>
|
|
4181
|
+
</dd>
|
|
4182
|
+
</dl>
|
|
4183
|
+
|
|
4184
|
+
#### ⚙️ Parameters
|
|
4185
|
+
|
|
4186
|
+
<dl>
|
|
4187
|
+
<dd>
|
|
4188
|
+
|
|
4189
|
+
<dl>
|
|
4190
|
+
<dd>
|
|
4191
|
+
|
|
4192
|
+
**request:** `CandidApi.OptionalDimensions`
|
|
4193
|
+
|
|
4194
|
+
</dd>
|
|
4195
|
+
</dl>
|
|
4196
|
+
|
|
4197
|
+
<dl>
|
|
4198
|
+
<dd>
|
|
4199
|
+
|
|
4200
|
+
**requestOptions:** `V3.RequestOptions`
|
|
4201
|
+
|
|
4202
|
+
</dd>
|
|
4203
|
+
</dl>
|
|
4204
|
+
</dd>
|
|
4205
|
+
</dl>
|
|
4206
|
+
|
|
4207
|
+
</dd>
|
|
4208
|
+
</dl>
|
|
4209
|
+
</details>
|
|
4210
|
+
|
|
4050
4211
|
## Guarantor V1
|
|
4051
4212
|
|
|
4052
4213
|
<details><summary><code>client.guarantor.v1.<a href="/src/api/resources/guarantor/resources/v1/client/Client.ts">create</a>(encounterId, { ...params }) -> core.APIResponse<CandidApi.Guarantor, CandidApi.guarantor.v1.create.Error></code></summary>
|
|
@@ -6260,6 +6421,74 @@ await client.nonInsurancePayers.v1.getMulti();
|
|
|
6260
6421
|
</dl>
|
|
6261
6422
|
</details>
|
|
6262
6423
|
|
|
6424
|
+
<details><summary><code>client.nonInsurancePayers.v1.<a href="/src/api/resources/nonInsurancePayers/resources/v1/client/Client.ts">getCategories</a>({ ...params }) -> core.APIResponse<CandidApi.NonInsurancePayerCategoriesPage, CandidApi.nonInsurancePayers.v1.getCategories.Error></code></summary>
|
|
6425
|
+
<dl>
|
|
6426
|
+
<dd>
|
|
6427
|
+
|
|
6428
|
+
#### 📝 Description
|
|
6429
|
+
|
|
6430
|
+
<dl>
|
|
6431
|
+
<dd>
|
|
6432
|
+
|
|
6433
|
+
<dl>
|
|
6434
|
+
<dd>
|
|
6435
|
+
|
|
6436
|
+
Returns a paginated list of all non-insurance payer categories.
|
|
6437
|
+
|
|
6438
|
+
Non-insurance payer categories are simply strings and are not stored as a
|
|
6439
|
+
separate object in Candid. They are created when added to at least one
|
|
6440
|
+
non-insurance payer's `category` field and are deleted when there are no
|
|
6441
|
+
longer any non-insurance payers that contain them.
|
|
6442
|
+
|
|
6443
|
+
</dd>
|
|
6444
|
+
</dl>
|
|
6445
|
+
</dd>
|
|
6446
|
+
</dl>
|
|
6447
|
+
|
|
6448
|
+
#### 🔌 Usage
|
|
6449
|
+
|
|
6450
|
+
<dl>
|
|
6451
|
+
<dd>
|
|
6452
|
+
|
|
6453
|
+
<dl>
|
|
6454
|
+
<dd>
|
|
6455
|
+
|
|
6456
|
+
```typescript
|
|
6457
|
+
await client.nonInsurancePayers.v1.getCategories();
|
|
6458
|
+
```
|
|
6459
|
+
|
|
6460
|
+
</dd>
|
|
6461
|
+
</dl>
|
|
6462
|
+
</dd>
|
|
6463
|
+
</dl>
|
|
6464
|
+
|
|
6465
|
+
#### ⚙️ Parameters
|
|
6466
|
+
|
|
6467
|
+
<dl>
|
|
6468
|
+
<dd>
|
|
6469
|
+
|
|
6470
|
+
<dl>
|
|
6471
|
+
<dd>
|
|
6472
|
+
|
|
6473
|
+
**request:** `CandidApi.nonInsurancePayers.v1.GetNonInsurancePayersCategoriesRequest`
|
|
6474
|
+
|
|
6475
|
+
</dd>
|
|
6476
|
+
</dl>
|
|
6477
|
+
|
|
6478
|
+
<dl>
|
|
6479
|
+
<dd>
|
|
6480
|
+
|
|
6481
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6482
|
+
|
|
6483
|
+
</dd>
|
|
6484
|
+
</dl>
|
|
6485
|
+
</dd>
|
|
6486
|
+
</dl>
|
|
6487
|
+
|
|
6488
|
+
</dd>
|
|
6489
|
+
</dl>
|
|
6490
|
+
</details>
|
|
6491
|
+
|
|
6263
6492
|
<details><summary><code>client.nonInsurancePayers.v1.<a href="/src/api/resources/nonInsurancePayers/resources/v1/client/Client.ts">get</a>(nonInsurancePayerId) -> core.APIResponse<CandidApi.NonInsurancePayer, CandidApi.nonInsurancePayers.v1.get.Error></code></summary>
|
|
6264
6493
|
<dl>
|
|
6265
6494
|
<dd>
|
|
@@ -9216,7 +9445,7 @@ await client.preEncounter.appointments.v1.getHistory(CandidApi.AppointmentId("id
|
|
|
9216
9445
|
<dl>
|
|
9217
9446
|
<dd>
|
|
9218
9447
|
|
|
9219
|
-
Updates an appointment. The path must contain the
|
|
9448
|
+
Updates an appointment. The path must contain the next version number to prevent race conditions. For example, if the current version of the appointment is n, you will need to send a request to this endpoint with `/{id}/n+1` to update the appointment. Updating historic versions is not supported.
|
|
9220
9449
|
|
|
9221
9450
|
</dd>
|
|
9222
9451
|
</dl>
|
|
@@ -9520,7 +9749,7 @@ await client.preEncounter.coverages.v1.create({
|
|
|
9520
9749
|
<dl>
|
|
9521
9750
|
<dd>
|
|
9522
9751
|
|
|
9523
|
-
Updates a Coverage. The path must contain the
|
|
9752
|
+
Updates a Coverage. The path must contain the next version number to prevent race conditions. For example, if the current version of the coverage is n, you will need to send a request to this endpoint with `/{id}/n+1` to update the coverage. Updating historic versions is not supported.
|
|
9524
9753
|
|
|
9525
9754
|
</dd>
|
|
9526
9755
|
</dl>
|
|
@@ -10166,7 +10395,6 @@ await client.preEncounter.coverages.v1.getEligibility(
|
|
|
10166
10395
|
<dd>
|
|
10167
10396
|
|
|
10168
10397
|
Sends real-time eligibility checks to payers through Stedi.
|
|
10169
|
-
<Warning>Please only send one concurrent request to this endpoint. Batch requests must be made in succession, otherwise, it will cause this service to fail. A batch endpoint is in development - please reach out to the Candid team for more information.</Warning>
|
|
10170
10398
|
|
|
10171
10399
|
</dd>
|
|
10172
10400
|
</dl>
|
|
@@ -10323,8 +10551,6 @@ await client.preEncounter.eligibilityChecks.v1.batch([
|
|
|
10323
10551
|
<dd>
|
|
10324
10552
|
|
|
10325
10553
|
Polls the status of a batch eligibility check.
|
|
10326
|
-
<Note>Batch eligibility checks are not yet available. Please reach out to the Candid team for more information.</Note>
|
|
10327
|
-
path-parameters:
|
|
10328
10554
|
|
|
10329
10555
|
</dd>
|
|
10330
10556
|
</dl>
|
|
@@ -10542,10 +10768,7 @@ await client.preEncounter.eligibilityChecks.v1.createRecommendation({
|
|
|
10542
10768
|
patient: {},
|
|
10543
10769
|
recommendation: {
|
|
10544
10770
|
type: "MEDICARE_ADVANTAGE",
|
|
10545
|
-
payload: {
|
|
10546
|
-
payerId: "payer_id",
|
|
10547
|
-
payerName: "payer_name",
|
|
10548
|
-
},
|
|
10771
|
+
payload: {},
|
|
10549
10772
|
},
|
|
10550
10773
|
});
|
|
10551
10774
|
```
|
|
@@ -12094,7 +12317,7 @@ await client.preEncounter.patients.v1.getHistory(CandidApi.PatientId("id"));
|
|
|
12094
12317
|
<dl>
|
|
12095
12318
|
<dd>
|
|
12096
12319
|
|
|
12097
|
-
Updates a patient. The path must contain the
|
|
12320
|
+
Updates a patient. The path must contain the next version number to prevent race conditions. For example, if the current version of the patient is n, you will need to send a request to this endpoint with `/{id}/n+1` to update the patient. Updating historic versions is not supported.
|
|
12098
12321
|
|
|
12099
12322
|
</dd>
|
|
12100
12323
|
</dl>
|
package/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
9
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
10
|
+
import { SchemaInstanceValidationFailure } from "../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure";
|
|
11
|
+
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
12
|
+
import { ChargeExternalIdConflictErrorMessage } from "../types/ChargeExternalIdConflictErrorMessage";
|
|
13
|
+
export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.createFromPreEncounterPatient.Error.Raw, CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error>;
|
|
14
|
+
export declare namespace Error {
|
|
15
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError | Error.ChargeExternalIdConflictError;
|
|
16
|
+
interface EntityNotFoundError {
|
|
17
|
+
errorName: "EntityNotFoundError";
|
|
18
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
19
|
+
}
|
|
20
|
+
interface UnauthorizedError {
|
|
21
|
+
errorName: "UnauthorizedError";
|
|
22
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
23
|
+
}
|
|
24
|
+
interface HttpRequestValidationsError {
|
|
25
|
+
errorName: "HttpRequestValidationsError";
|
|
26
|
+
content: RequestValidationError.Raw[];
|
|
27
|
+
}
|
|
28
|
+
interface SchemaInstanceValidationHttpFailure {
|
|
29
|
+
errorName: "SchemaInstanceValidationHttpFailure";
|
|
30
|
+
content: SchemaInstanceValidationFailure.Raw;
|
|
31
|
+
}
|
|
32
|
+
interface UnprocessableEntityError {
|
|
33
|
+
errorName: "UnprocessableEntityError";
|
|
34
|
+
content: UnprocessableEntityErrorMessage.Raw;
|
|
35
|
+
}
|
|
36
|
+
interface ChargeExternalIdConflictError {
|
|
37
|
+
errorName: "ChargeExternalIdConflictError";
|
|
38
|
+
content: ChargeExternalIdConflictErrorMessage.Raw;
|
|
39
|
+
}
|
|
40
|
+
}
|
package/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
52
|
+
const core = __importStar(require("../../../../../../core"));
|
|
53
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
54
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
55
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
56
|
+
const SchemaInstanceValidationFailure_1 = require("../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure");
|
|
57
|
+
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
58
|
+
const ChargeExternalIdConflictErrorMessage_1 = require("../types/ChargeExternalIdConflictErrorMessage");
|
|
59
|
+
exports.Error = core.serialization
|
|
60
|
+
.union("errorName", {
|
|
61
|
+
EntityNotFoundError: core.serialization.object({
|
|
62
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
63
|
+
}),
|
|
64
|
+
UnauthorizedError: core.serialization.object({
|
|
65
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
66
|
+
}),
|
|
67
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
68
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
69
|
+
}),
|
|
70
|
+
SchemaInstanceValidationHttpFailure: core.serialization.object({
|
|
71
|
+
content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
|
|
72
|
+
}),
|
|
73
|
+
UnprocessableEntityError: core.serialization.object({
|
|
74
|
+
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
75
|
+
}),
|
|
76
|
+
ChargeExternalIdConflictError: core.serialization.object({
|
|
77
|
+
content: ChargeExternalIdConflictErrorMessage_1.ChargeExternalIdConflictErrorMessage,
|
|
78
|
+
}),
|
|
79
|
+
})
|
|
80
|
+
.transform({
|
|
81
|
+
transform: (value) => {
|
|
82
|
+
switch (value.errorName) {
|
|
83
|
+
case "EntityNotFoundError":
|
|
84
|
+
return CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error.entityNotFoundError(value.content);
|
|
85
|
+
case "UnauthorizedError":
|
|
86
|
+
return CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error.unauthorizedError(value.content);
|
|
87
|
+
case "HttpRequestValidationsError":
|
|
88
|
+
return CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error.httpRequestValidationsError(value.content);
|
|
89
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
90
|
+
return CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error.schemaInstanceValidationHttpFailure(value.content);
|
|
91
|
+
case "UnprocessableEntityError":
|
|
92
|
+
return CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error.unprocessableEntityError(value.content);
|
|
93
|
+
case "ChargeExternalIdConflictError":
|
|
94
|
+
return CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error.chargeExternalIdConflictError(value.content);
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
untransform: (_a) => {
|
|
98
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
99
|
+
return value;
|
|
100
|
+
},
|
|
101
|
+
});
|
|
@@ -36,8 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.updatePostBilledChanges = exports.update = exports.create = void 0;
|
|
39
|
+
exports.updatePostBilledChanges = exports.update = exports.createFromPreEncounterPatient = exports.create = void 0;
|
|
40
40
|
exports.create = __importStar(require("./create"));
|
|
41
|
+
exports.createFromPreEncounterPatient = __importStar(require("./createFromPreEncounterPatient"));
|
|
41
42
|
exports.update = __importStar(require("./update"));
|
|
42
43
|
exports.updatePostBilledChanges = __importStar(require("./updatePostBilledChanges"));
|
|
43
44
|
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../core";
|
|
7
|
+
import { ChargeCaptureData } from "../../types/ChargeCaptureData";
|
|
8
|
+
import { PreEncounterPatientId } from "../../../../../commons/types/PreEncounterPatientId";
|
|
9
|
+
import { PreEncounterAppointmentId } from "../../../../../commons/types/PreEncounterAppointmentId";
|
|
10
|
+
import { ChargeCaptureStatus } from "../../types/ChargeCaptureStatus";
|
|
11
|
+
export declare const CreateChargeCaptureFromPreEncounterRequest: core.serialization.Schema<serializers.chargeCapture.v1.CreateChargeCaptureFromPreEncounterRequest.Raw, CandidApi.chargeCapture.v1.CreateChargeCaptureFromPreEncounterRequest>;
|
|
12
|
+
export declare namespace CreateChargeCaptureFromPreEncounterRequest {
|
|
13
|
+
interface Raw {
|
|
14
|
+
data: ChargeCaptureData.Raw;
|
|
15
|
+
charge_external_id: string;
|
|
16
|
+
pre_encounter_patient_id: PreEncounterPatientId.Raw;
|
|
17
|
+
pre_encounter_appointment_ids: PreEncounterAppointmentId.Raw[];
|
|
18
|
+
originating_system?: string | null;
|
|
19
|
+
claim_creation_category?: string | null;
|
|
20
|
+
ehr_source_url?: string | null;
|
|
21
|
+
status: ChargeCaptureStatus.Raw;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreateChargeCaptureFromPreEncounterRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
41
|
+
const ChargeCaptureData_1 = require("../../types/ChargeCaptureData");
|
|
42
|
+
const PreEncounterPatientId_1 = require("../../../../../commons/types/PreEncounterPatientId");
|
|
43
|
+
const PreEncounterAppointmentId_1 = require("../../../../../commons/types/PreEncounterAppointmentId");
|
|
44
|
+
const ChargeCaptureStatus_1 = require("../../types/ChargeCaptureStatus");
|
|
45
|
+
exports.CreateChargeCaptureFromPreEncounterRequest = core.serialization.object({
|
|
46
|
+
data: ChargeCaptureData_1.ChargeCaptureData,
|
|
47
|
+
chargeExternalId: core.serialization.property("charge_external_id", core.serialization.string()),
|
|
48
|
+
preEncounterPatientId: core.serialization.property("pre_encounter_patient_id", PreEncounterPatientId_1.PreEncounterPatientId),
|
|
49
|
+
preEncounterAppointmentIds: core.serialization.property("pre_encounter_appointment_ids", core.serialization.list(PreEncounterAppointmentId_1.PreEncounterAppointmentId)),
|
|
50
|
+
originatingSystem: core.serialization.property("originating_system", core.serialization.string().optional()),
|
|
51
|
+
claimCreationCategory: core.serialization.property("claim_creation_category", core.serialization.string().optional()),
|
|
52
|
+
ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
|
|
53
|
+
status: ChargeCaptureStatus_1.ChargeCaptureStatus,
|
|
54
|
+
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { CreateChargeCaptureRequest } from "./CreateChargeCaptureRequest";
|
|
2
|
+
export { CreateChargeCaptureFromPreEncounterRequest } from "./CreateChargeCaptureFromPreEncounterRequest";
|
|
2
3
|
export { ChargeCaptureUpdate } from "./ChargeCaptureUpdate";
|
|
3
4
|
export { ChargeCapturePostBilledChangeUpdate } from "./ChargeCapturePostBilledChangeUpdate";
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ChargeCapturePostBilledChangeUpdate = exports.ChargeCaptureUpdate = exports.CreateChargeCaptureRequest = void 0;
|
|
3
|
+
exports.ChargeCapturePostBilledChangeUpdate = exports.ChargeCaptureUpdate = exports.CreateChargeCaptureFromPreEncounterRequest = exports.CreateChargeCaptureRequest = void 0;
|
|
4
4
|
var CreateChargeCaptureRequest_1 = require("./CreateChargeCaptureRequest");
|
|
5
5
|
Object.defineProperty(exports, "CreateChargeCaptureRequest", { enumerable: true, get: function () { return CreateChargeCaptureRequest_1.CreateChargeCaptureRequest; } });
|
|
6
|
+
var CreateChargeCaptureFromPreEncounterRequest_1 = require("./CreateChargeCaptureFromPreEncounterRequest");
|
|
7
|
+
Object.defineProperty(exports, "CreateChargeCaptureFromPreEncounterRequest", { enumerable: true, get: function () { return CreateChargeCaptureFromPreEncounterRequest_1.CreateChargeCaptureFromPreEncounterRequest; } });
|
|
6
8
|
var ChargeCaptureUpdate_1 = require("./ChargeCaptureUpdate");
|
|
7
9
|
Object.defineProperty(exports, "ChargeCaptureUpdate", { enumerable: true, get: function () { return ChargeCaptureUpdate_1.ChargeCaptureUpdate; } });
|
|
8
10
|
var ChargeCapturePostBilledChangeUpdate_1 = require("./ChargeCapturePostBilledChangeUpdate");
|
|
@@ -5,11 +5,16 @@ import * as serializers from "../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { DiagnosisNotFoundError } from "../types/DiagnosisNotFoundError";
|
|
8
|
+
import { DisallowMultiplePrimaryDiagnosisError } from "../types/DisallowMultiplePrimaryDiagnosisError";
|
|
8
9
|
export declare const Error: core.serialization.Schema<serializers.diagnoses.update.Error.Raw, CandidApi.diagnoses.update.Error>;
|
|
9
10
|
export declare namespace Error {
|
|
10
|
-
type Raw = Error.DiagnosisNotFoundHttpError;
|
|
11
|
+
type Raw = Error.DiagnosisNotFoundHttpError | Error.DisallowMultiplePrimaryDiagnosisHttpError;
|
|
11
12
|
interface DiagnosisNotFoundHttpError {
|
|
12
13
|
errorName: "DiagnosisNotFoundHTTPError";
|
|
13
14
|
content: DiagnosisNotFoundError.Raw;
|
|
14
15
|
}
|
|
16
|
+
interface DisallowMultiplePrimaryDiagnosisHttpError {
|
|
17
|
+
errorName: "DisallowMultiplePrimaryDiagnosisHTTPError";
|
|
18
|
+
content: DisallowMultiplePrimaryDiagnosisError.Raw;
|
|
19
|
+
}
|
|
15
20
|
}
|
|
@@ -51,17 +51,23 @@ exports.Error = void 0;
|
|
|
51
51
|
const CandidApi = __importStar(require("../../../../api/index"));
|
|
52
52
|
const core = __importStar(require("../../../../core"));
|
|
53
53
|
const DiagnosisNotFoundError_1 = require("../types/DiagnosisNotFoundError");
|
|
54
|
+
const DisallowMultiplePrimaryDiagnosisError_1 = require("../types/DisallowMultiplePrimaryDiagnosisError");
|
|
54
55
|
exports.Error = core.serialization
|
|
55
56
|
.union("errorName", {
|
|
56
57
|
DiagnosisNotFoundHTTPError: core.serialization.object({
|
|
57
58
|
content: DiagnosisNotFoundError_1.DiagnosisNotFoundError,
|
|
58
59
|
}),
|
|
60
|
+
DisallowMultiplePrimaryDiagnosisHTTPError: core.serialization.object({
|
|
61
|
+
content: DisallowMultiplePrimaryDiagnosisError_1.DisallowMultiplePrimaryDiagnosisError,
|
|
62
|
+
}),
|
|
59
63
|
})
|
|
60
64
|
.transform({
|
|
61
65
|
transform: (value) => {
|
|
62
66
|
switch (value.errorName) {
|
|
63
67
|
case "DiagnosisNotFoundHTTPError":
|
|
64
68
|
return CandidApi.diagnoses.update.Error.diagnosisNotFoundHttpError(value.content);
|
|
69
|
+
case "DisallowMultiplePrimaryDiagnosisHTTPError":
|
|
70
|
+
return CandidApi.diagnoses.update.Error.disallowMultiplePrimaryDiagnosisHttpError(value.content);
|
|
65
71
|
}
|
|
66
72
|
},
|
|
67
73
|
untransform: (_a) => {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { DiagnosisId } from "./DiagnosisId";
|
|
8
|
+
export declare const DisallowMultiplePrimaryDiagnosisError: core.serialization.ObjectSchema<serializers.DisallowMultiplePrimaryDiagnosisError.Raw, CandidApi.DisallowMultiplePrimaryDiagnosisError>;
|
|
9
|
+
export declare namespace DisallowMultiplePrimaryDiagnosisError {
|
|
10
|
+
interface Raw {
|
|
11
|
+
existing_primary_diagnosis_id: DiagnosisId.Raw;
|
|
12
|
+
new_primary_diagnosis_id: DiagnosisId.Raw;
|
|
13
|
+
message: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DisallowMultiplePrimaryDiagnosisError = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const DiagnosisId_1 = require("./DiagnosisId");
|
|
42
|
+
exports.DisallowMultiplePrimaryDiagnosisError = core.serialization.object({
|
|
43
|
+
existingPrimaryDiagnosisId: core.serialization.property("existing_primary_diagnosis_id", DiagnosisId_1.DiagnosisId),
|
|
44
|
+
newPrimaryDiagnosisId: core.serialization.property("new_primary_diagnosis_id", DiagnosisId_1.DiagnosisId),
|
|
45
|
+
message: core.serialization.string(),
|
|
46
|
+
});
|