candidhealth 0.35.2 → 0.37.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/Client.d.ts +3 -0
- package/Client.js +65 -60
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +19 -0
- package/api/resources/billingNotes/resources/v2/client/Client.js +125 -1
- package/api/resources/billingNotes/resources/v2/client/delete.d.ts +40 -0
- package/api/resources/billingNotes/resources/v2/client/delete.js +80 -0
- package/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
- package/api/resources/billingNotes/resources/v2/client/index.js +3 -1
- package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +13 -0
- package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +5 -0
- package/api/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
- package/api/resources/billingNotes/resources/v2/client/update.d.ts +46 -0
- package/api/resources/billingNotes/resources/v2/client/update.js +91 -0
- package/api/resources/chargeCapture/client/Client.d.ts +26 -0
- package/api/resources/chargeCapture/client/Client.js +17 -0
- package/api/resources/chargeCapture/client/index.d.ts +1 -0
- package/api/resources/chargeCapture/client/index.js +2 -0
- package/api/resources/chargeCapture/index.d.ts +2 -0
- package/api/resources/chargeCapture/index.js +18 -0
- package/api/resources/chargeCapture/resources/index.d.ts +1 -0
- package/api/resources/chargeCapture/resources/index.js +27 -0
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +288 -0
- package/api/resources/chargeCapture/resources/v1/client/Client.js +594 -0
- package/api/resources/chargeCapture/resources/v1/client/create.d.ts +52 -0
- package/api/resources/chargeCapture/resources/v1/client/create.js +102 -0
- package/api/resources/chargeCapture/resources/v1/client/delete.d.ts +40 -0
- package/api/resources/chargeCapture/resources/v1/client/delete.js +80 -0
- package/api/resources/chargeCapture/resources/v1/client/get.d.ts +22 -0
- package/api/resources/chargeCapture/resources/v1/client/get.js +47 -0
- package/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +28 -0
- package/api/resources/chargeCapture/resources/v1/client/getAll.js +58 -0
- package/api/resources/chargeCapture/resources/v1/client/index.d.ts +6 -0
- package/api/resources/chargeCapture/resources/v1/client/index.js +35 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +136 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +5 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +137 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +5 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +35 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.js +5 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +3 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/index.js +2 -0
- package/api/resources/chargeCapture/resources/v1/client/update.d.ts +52 -0
- package/api/resources/chargeCapture/resources/v1/client/update.js +102 -0
- package/api/resources/chargeCapture/resources/v1/index.d.ts +2 -0
- package/api/resources/chargeCapture/resources/v1/index.js +18 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +12 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.js +5 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +31 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +5 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +7 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +5 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +13 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +15 -0
- package/api/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
- package/api/resources/chargeCapture/resources/v1/types/index.js +20 -0
- package/api/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +16 -0
- package/api/resources/commons/types/BillingProviderCommercialLicenseType.js +18 -0
- package/api/resources/commons/types/ChargeCaptureId.d.ts +8 -0
- package/api/resources/commons/types/ChargeCaptureId.js +10 -0
- package/api/resources/commons/types/NotImplementedErrorMessage.d.ts +6 -0
- package/api/resources/commons/types/NotImplementedErrorMessage.js +5 -0
- package/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
- package/api/resources/commons/types/ProcedureModifier.js +1 -0
- package/api/resources/commons/types/index.d.ts +3 -0
- package/api/resources/commons/types/index.js +3 -0
- package/api/resources/contracts/resources/v2/client/Client.js +6 -5
- package/api/resources/contracts/resources/v2/client/update.d.ts +7 -1
- package/api/resources/contracts/resources/v2/client/update.js +11 -0
- package/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +6 -0
- package/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +5 -0
- package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/api/resources/credentialing/resources/v2/client/Client.js +6 -6
- 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/encounterProviders/resources/v2/client/Client.d.ts +8 -66
- package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
- package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +5 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +5 -0
- package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +5 -0
- package/api/resources/encounters/resources/v4/client/Client.d.ts +29 -273
- package/api/resources/encounters/resources/v4/client/Client.js +34 -278
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -62
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -20
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -391
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +146 -0
- package/api/resources/encounters/resources/v4/types/EncounterOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -0
- 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 +1 -21
- package/api/resources/guarantor/resources/v1/client/Client.js +4 -24
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- 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.d.ts +1 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +6 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
- 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/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/client/Client.d.ts +6 -0
- package/api/resources/preEncounter/client/Client.js +12 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +1 -10
- package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +15 -0
- package/api/resources/preEncounter/resources/common/types/BaseModel.js +5 -0
- package/api/resources/preEncounter/resources/common/types/NoteId.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/NoteId.js +10 -0
- package/api/resources/preEncounter/resources/common/types/TagId.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/TagId.js +10 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/common/types/index.js +3 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +1 -10
- package/api/resources/preEncounter/resources/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/index.js +3 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/api/resources/preEncounter/resources/notes/client/Client.d.ts +26 -0
- package/api/resources/preEncounter/resources/notes/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/notes/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/notes/client/index.js +2 -0
- package/api/resources/preEncounter/resources/notes/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/notes/index.js +18 -0
- package/api/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/notes/resources/index.js +27 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +76 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +261 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/create.d.ts +22 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/create.js +47 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.d.ts +22 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.js +47 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/get.d.ts +22 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/get.js +47 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/index.d.ts +4 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/index.js +30 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/update.d.ts +22 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/update.js +47 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +11 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js +5 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +11 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/Note.js +5 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +18 -12
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +3 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +3 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -10
- package/api/resources/preEncounter/resources/tags/client/Client.d.ts +26 -0
- package/api/resources/preEncounter/resources/tags/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/tags/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/tags/client/index.js +2 -0
- package/api/resources/preEncounter/resources/tags/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/tags/index.js +18 -0
- package/api/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/tags/resources/index.js +27 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +85 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +312 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/create.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/create.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/get.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/get.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +6 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +35 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +15 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.js +5 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.js +2 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/update.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/update.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +9 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +5 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +10 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +5 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +7 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js +5 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
- package/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +65 -60
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +19 -0
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +125 -1
- package/dist/api/resources/billingNotes/resources/v2/client/delete.d.ts +40 -0
- package/dist/api/resources/billingNotes/resources/v2/client/delete.js +80 -0
- package/dist/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
- package/dist/api/resources/billingNotes/resources/v2/client/index.js +3 -1
- package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +13 -0
- package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +5 -0
- package/dist/api/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
- package/dist/api/resources/billingNotes/resources/v2/client/update.d.ts +46 -0
- package/dist/api/resources/billingNotes/resources/v2/client/update.js +91 -0
- package/dist/api/resources/chargeCapture/client/Client.d.ts +26 -0
- package/dist/api/resources/chargeCapture/client/Client.js +17 -0
- package/dist/api/resources/chargeCapture/client/index.d.ts +1 -0
- package/dist/api/resources/chargeCapture/client/index.js +2 -0
- package/dist/api/resources/chargeCapture/index.d.ts +2 -0
- package/dist/api/resources/chargeCapture/index.js +18 -0
- package/dist/api/resources/chargeCapture/resources/index.d.ts +1 -0
- package/dist/api/resources/chargeCapture/resources/index.js +27 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +288 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +594 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +52 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/create.js +102 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/delete.d.ts +40 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/delete.js +80 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/get.js +47 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +28 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/getAll.js +58 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +6 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.js +35 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +136 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +137 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +35 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +3 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/update.d.ts +52 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/update.js +102 -0
- package/dist/api/resources/chargeCapture/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/chargeCapture/resources/v1/index.js +18 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +12 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +31 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +7 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +13 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +15 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.js +20 -0
- package/dist/api/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +16 -0
- package/dist/api/resources/commons/types/BillingProviderCommercialLicenseType.js +18 -0
- package/dist/api/resources/commons/types/ChargeCaptureId.d.ts +8 -0
- package/dist/api/resources/commons/types/ChargeCaptureId.js +10 -0
- package/dist/api/resources/commons/types/NotImplementedErrorMessage.d.ts +6 -0
- package/dist/api/resources/commons/types/NotImplementedErrorMessage.js +5 -0
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
- package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/api/resources/commons/types/index.d.ts +3 -0
- package/dist/api/resources/commons/types/index.js +3 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +6 -5
- package/dist/api/resources/contracts/resources/v2/client/update.d.ts +7 -1
- package/dist/api/resources/contracts/resources/v2/client/update.js +11 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +6 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +6 -6
- 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/encounterProviders/resources/v2/client/Client.d.ts +8 -66
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +5 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +29 -273
- package/dist/api/resources/encounters/resources/v4/client/Client.js +34 -278
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -62
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -20
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -391
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +146 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
- 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 +1 -21
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -24
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- 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.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +6 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
- 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/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/client/Client.d.ts +6 -0
- package/dist/api/resources/preEncounter/client/Client.js +12 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +1 -10
- package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/common/types/BaseModel.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/NoteId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/NoteId.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/TagId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/TagId.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +3 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +1 -10
- package/dist/api/resources/preEncounter/resources/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/index.js +3 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/notes/client/Client.d.ts +26 -0
- package/dist/api/resources/preEncounter/resources/notes/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/notes/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/notes/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/notes/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/notes/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/index.js +27 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +76 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +261 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/create.js +47 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.js +47 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/get.js +47 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/index.js +30 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/update.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/update.js +47 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js +5 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/Note.js +5 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +18 -12
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +3 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +3 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -10
- package/dist/api/resources/preEncounter/resources/tags/client/Client.d.ts +26 -0
- package/dist/api/resources/preEncounter/resources/tags/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/tags/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/tags/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/tags/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/index.js +27 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +85 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +312 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/create.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/get.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +6 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +35 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/update.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/update.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +5 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +5 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js +5 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/billingNotes/resources/v2/client/delete.d.ts +25 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/delete.js +73 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/index.js +15 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +12 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +33 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/requests/index.js +3 -1
- package/dist/serialization/resources/billingNotes/resources/v2/client/update.d.ts +30 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/update.js +79 -0
- package/dist/serialization/resources/chargeCapture/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/index.js +17 -0
- package/dist/serialization/resources/chargeCapture/resources/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/resources/index.js +27 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +35 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +85 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +25 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.js +73 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/getAll.d.ts +15 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/getAll.js +61 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +5 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +34 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +19 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +40 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +19 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +40 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +7 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/update.d.ts +35 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/update.js +85 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/index.js +18 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +22 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +43 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +24 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +47 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +14 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +37 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +10 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +39 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +20 -0
- package/dist/serialization/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +10 -0
- package/dist/serialization/resources/commons/types/BillingProviderCommercialLicenseType.js +31 -0
- package/dist/serialization/resources/commons/types/ChargeCaptureId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/ChargeCaptureId.js +35 -0
- package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +12 -0
- package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.js +33 -0
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/serialization/resources/commons/types/index.d.ts +3 -0
- package/dist/serialization/resources/commons/types/index.js +3 -0
- package/dist/serialization/resources/contracts/resources/v2/client/update.d.ts +6 -1
- package/dist/serialization/resources/contracts/resources/v2/client/update.js +6 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +12 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +33 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -59
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +5 -60
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +70 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +91 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +1 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +2 -8
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +2 -7
- package/dist/serialization/resources/preEncounter/resources/common/types/BaseModel.d.ts +18 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/BaseModel.js +39 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/NoteId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/NoteId.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/TagId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/TagId.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +3 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +2 -8
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js +2 -7
- package/dist/serialization/resources/preEncounter/resources/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/index.js +3 -1
- package/dist/serialization/resources/preEncounter/resources/notes/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/notes/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/index.js +27 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.js +40 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -8
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +2 -7
- package/dist/serialization/resources/preEncounter/resources/tags/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/tags/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/index.js +27 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +12 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +33 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +39 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js +37 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
- package/package.json +1 -1
- package/reference.md +2340 -1456
- package/serialization/resources/billingNotes/resources/v2/client/delete.d.ts +25 -0
- package/serialization/resources/billingNotes/resources/v2/client/delete.js +73 -0
- package/serialization/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
- package/serialization/resources/billingNotes/resources/v2/client/index.js +15 -0
- package/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +12 -0
- package/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +33 -0
- package/serialization/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
- package/serialization/resources/billingNotes/resources/v2/client/requests/index.js +3 -1
- package/serialization/resources/billingNotes/resources/v2/client/update.d.ts +30 -0
- package/serialization/resources/billingNotes/resources/v2/client/update.js +79 -0
- package/serialization/resources/chargeCapture/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/index.js +17 -0
- package/serialization/resources/chargeCapture/resources/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/resources/index.js +27 -0
- package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +35 -0
- package/serialization/resources/chargeCapture/resources/v1/client/create.js +85 -0
- package/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +25 -0
- package/serialization/resources/chargeCapture/resources/v1/client/delete.js +73 -0
- package/serialization/resources/chargeCapture/resources/v1/client/getAll.d.ts +15 -0
- package/serialization/resources/chargeCapture/resources/v1/client/getAll.js +61 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +5 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.js +34 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +19 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +40 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +19 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +40 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +7 -0
- package/serialization/resources/chargeCapture/resources/v1/client/update.d.ts +35 -0
- package/serialization/resources/chargeCapture/resources/v1/client/update.js +85 -0
- package/serialization/resources/chargeCapture/resources/v1/index.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/index.js +18 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +22 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +43 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +24 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +47 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +14 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +37 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +10 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +39 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.js +20 -0
- package/serialization/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +10 -0
- package/serialization/resources/commons/types/BillingProviderCommercialLicenseType.js +31 -0
- package/serialization/resources/commons/types/ChargeCaptureId.d.ts +10 -0
- package/serialization/resources/commons/types/ChargeCaptureId.js +35 -0
- package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +12 -0
- package/serialization/resources/commons/types/NotImplementedErrorMessage.js +33 -0
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/serialization/resources/commons/types/index.d.ts +3 -0
- package/serialization/resources/commons/types/index.js +3 -0
- package/serialization/resources/contracts/resources/v2/client/update.d.ts +6 -1
- package/serialization/resources/contracts/resources/v2/client/update.js +6 -0
- package/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +12 -0
- package/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +33 -0
- package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -59
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +5 -60
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +70 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +91 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +1 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +2 -8
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +2 -7
- package/serialization/resources/preEncounter/resources/common/types/BaseModel.d.ts +18 -0
- package/serialization/resources/preEncounter/resources/common/types/BaseModel.js +39 -0
- package/serialization/resources/preEncounter/resources/common/types/NoteId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/NoteId.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/TagId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/TagId.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +3 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +2 -8
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js +2 -7
- package/serialization/resources/preEncounter/resources/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/index.js +3 -1
- package/serialization/resources/preEncounter/resources/notes/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/notes/index.js +17 -0
- package/serialization/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/notes/resources/index.js +27 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js +35 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.js +40 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +4 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -8
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +2 -7
- package/serialization/resources/preEncounter/resources/tags/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/tags/index.js +17 -0
- package/serialization/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/tags/resources/index.js +27 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +12 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +33 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +39 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js +37 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
|
@@ -0,0 +1,102 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.chargeCapture.v1.create.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unauthorizedError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnauthorizedError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.chargeCapture.v1.create.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
httpRequestValidationsError: (value) => {
|
|
51
|
+
return {
|
|
52
|
+
content: value,
|
|
53
|
+
errorName: "HttpRequestValidationsError",
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.chargeCapture.v1.create.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
schemaInstanceValidationHttpFailure: (value) => {
|
|
60
|
+
return {
|
|
61
|
+
content: value,
|
|
62
|
+
errorName: "SchemaInstanceValidationHttpFailure",
|
|
63
|
+
_visit: function (visitor) {
|
|
64
|
+
return CandidApi.chargeCapture.v1.create.Error._visit(this, visitor);
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
unprocessableEntityError: (value) => {
|
|
69
|
+
return {
|
|
70
|
+
content: value,
|
|
71
|
+
errorName: "UnprocessableEntityError",
|
|
72
|
+
_visit: function (visitor) {
|
|
73
|
+
return CandidApi.chargeCapture.v1.create.Error._visit(this, visitor);
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
},
|
|
77
|
+
_unknown: (fetcherError) => {
|
|
78
|
+
return {
|
|
79
|
+
errorName: undefined,
|
|
80
|
+
content: fetcherError,
|
|
81
|
+
_visit: function (visitor) {
|
|
82
|
+
return CandidApi.chargeCapture.v1.create.Error._visit(this, visitor);
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
_visit: (value, visitor) => {
|
|
87
|
+
switch (value.errorName) {
|
|
88
|
+
case "EntityNotFoundError":
|
|
89
|
+
return visitor.entityNotFoundError(value.content);
|
|
90
|
+
case "UnauthorizedError":
|
|
91
|
+
return visitor.unauthorizedError(value.content);
|
|
92
|
+
case "HttpRequestValidationsError":
|
|
93
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
94
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
95
|
+
return visitor.schemaInstanceValidationHttpFailure(value.content);
|
|
96
|
+
case "UnprocessableEntityError":
|
|
97
|
+
return visitor.unprocessableEntityError(value.content);
|
|
98
|
+
default:
|
|
99
|
+
return visitor._other(value);
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.chargeCapture.v1.delete.Error.EntityNotFoundError | CandidApi.chargeCapture.v1.delete.Error.UnauthorizedError | CandidApi.chargeCapture.v1.delete.Error.NotImplementedError | CandidApi.chargeCapture.v1.delete.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnauthorizedError extends _Utils {
|
|
13
|
+
errorName: "UnauthorizedError";
|
|
14
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface NotImplementedError extends _Utils {
|
|
17
|
+
errorName: "NotImplementedError";
|
|
18
|
+
content: CandidApi.NotImplementedErrorMessage;
|
|
19
|
+
}
|
|
20
|
+
interface _Unknown extends _Utils {
|
|
21
|
+
errorName: void;
|
|
22
|
+
content: core.Fetcher.Error;
|
|
23
|
+
}
|
|
24
|
+
interface _Utils {
|
|
25
|
+
_visit: <_Result>(visitor: CandidApi.chargeCapture.v1.delete.Error._Visitor<_Result>) => _Result;
|
|
26
|
+
}
|
|
27
|
+
interface _Visitor<_Result> {
|
|
28
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
29
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
30
|
+
notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => _Result;
|
|
31
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export declare const Error: {
|
|
35
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.chargeCapture.v1.delete.Error.EntityNotFoundError;
|
|
36
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.chargeCapture.v1.delete.Error.UnauthorizedError;
|
|
37
|
+
readonly notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => CandidApi.chargeCapture.v1.delete.Error.NotImplementedError;
|
|
38
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCapture.v1.delete.Error._Unknown;
|
|
39
|
+
readonly _visit: <_Result>(value: CandidApi.chargeCapture.v1.delete.Error, visitor: CandidApi.chargeCapture.v1.delete.Error._Visitor<_Result>) => _Result;
|
|
40
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.chargeCapture.v1.delete.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unauthorizedError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnauthorizedError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.chargeCapture.v1.delete.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
notImplementedError: (value) => {
|
|
51
|
+
return {
|
|
52
|
+
content: value,
|
|
53
|
+
errorName: "NotImplementedError",
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.chargeCapture.v1.delete.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_unknown: (fetcherError) => {
|
|
60
|
+
return {
|
|
61
|
+
errorName: undefined,
|
|
62
|
+
content: fetcherError,
|
|
63
|
+
_visit: function (visitor) {
|
|
64
|
+
return CandidApi.chargeCapture.v1.delete.Error._visit(this, visitor);
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
_visit: (value, visitor) => {
|
|
69
|
+
switch (value.errorName) {
|
|
70
|
+
case "EntityNotFoundError":
|
|
71
|
+
return visitor.entityNotFoundError(value.content);
|
|
72
|
+
case "UnauthorizedError":
|
|
73
|
+
return visitor.unauthorizedError(value.content);
|
|
74
|
+
case "NotImplementedError":
|
|
75
|
+
return visitor.notImplementedError(value.content);
|
|
76
|
+
default:
|
|
77
|
+
return visitor._other(value);
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.chargeCapture.v1.get.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.chargeCapture.v1.get.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCapture.v1.get.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.chargeCapture.v1.get.Error, visitor: CandidApi.chargeCapture.v1.get.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.chargeCapture.v1.get.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.chargeCapture.v1.getAll.Error.NotImplementedError | CandidApi.chargeCapture.v1.getAll.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface NotImplementedError extends _Utils {
|
|
9
|
+
errorName: "NotImplementedError";
|
|
10
|
+
content: CandidApi.NotImplementedErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.chargeCapture.v1.getAll.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => CandidApi.chargeCapture.v1.getAll.Error.NotImplementedError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCapture.v1.getAll.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.chargeCapture.v1.getAll.Error, visitor: CandidApi.chargeCapture.v1.getAll.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
notImplementedError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "NotImplementedError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.chargeCapture.v1.getAll.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_unknown: (fetcherError) => {
|
|
42
|
+
return {
|
|
43
|
+
errorName: undefined,
|
|
44
|
+
content: fetcherError,
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.chargeCapture.v1.getAll.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_visit: (value, visitor) => {
|
|
51
|
+
switch (value.errorName) {
|
|
52
|
+
case "NotImplementedError":
|
|
53
|
+
return visitor.notImplementedError(value.content);
|
|
54
|
+
default:
|
|
55
|
+
return visitor._other(value);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.getAll = exports.get = exports.update = exports.delete = exports.create = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.create = __importStar(require("./create"));
|
|
32
|
+
exports.delete = __importStar(require("./delete"));
|
|
33
|
+
exports.update = __importStar(require("./update"));
|
|
34
|
+
exports.get = __importStar(require("./get"));
|
|
35
|
+
exports.getAll = __importStar(require("./getAll"));
|
package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* data: {
|
|
9
|
+
* diagnoses: [],
|
|
10
|
+
* interventions: [],
|
|
11
|
+
* externalClaimSubmission: {
|
|
12
|
+
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
13
|
+
* patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
14
|
+
* submissionRecords: [{
|
|
15
|
+
* submittedAt: new Date("2023-01-01T13:00:00.000Z"),
|
|
16
|
+
* claimFrequencyCode: CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode.Original,
|
|
17
|
+
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
18
|
+
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Electronic
|
|
19
|
+
* }, {
|
|
20
|
+
* submittedAt: new Date("2023-01-04T12:00:00.000Z"),
|
|
21
|
+
* claimFrequencyCode: CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode.Replacement,
|
|
22
|
+
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
23
|
+
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Paper
|
|
24
|
+
* }]
|
|
25
|
+
* },
|
|
26
|
+
* serviceLines: [],
|
|
27
|
+
* patientHistories: [],
|
|
28
|
+
* billingNotes: [],
|
|
29
|
+
* benefitsAssignedToProvider: true,
|
|
30
|
+
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
31
|
+
* externalId: CandidApi.EncounterExternalId("string"),
|
|
32
|
+
* dateOfService: "2023-01-15",
|
|
33
|
+
* tagIds: [],
|
|
34
|
+
* clinicalNotes: [],
|
|
35
|
+
* payToAddress: {
|
|
36
|
+
* address1: "123 Main St",
|
|
37
|
+
* address2: "Apt 1",
|
|
38
|
+
* city: "New York",
|
|
39
|
+
* state: CandidApi.State.Ny,
|
|
40
|
+
* zipCode: "10001",
|
|
41
|
+
* zipPlusFourCode: "1234"
|
|
42
|
+
* },
|
|
43
|
+
* billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
|
|
44
|
+
* responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay,
|
|
45
|
+
* providerAcceptsAssignment: true,
|
|
46
|
+
* synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
|
|
47
|
+
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
48
|
+
* appointmentType: "string",
|
|
49
|
+
* endDateOfService: "2023-01-15",
|
|
50
|
+
* subscriberPrimary: {
|
|
51
|
+
* insuranceCard: {
|
|
52
|
+
* memberId: "string",
|
|
53
|
+
* payerName: "string",
|
|
54
|
+
* payerId: "string"
|
|
55
|
+
* },
|
|
56
|
+
* patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
|
|
57
|
+
* firstName: "string",
|
|
58
|
+
* lastName: "string",
|
|
59
|
+
* gender: CandidApi.Gender.Male
|
|
60
|
+
* },
|
|
61
|
+
* subscriberSecondary: {
|
|
62
|
+
* insuranceCard: {
|
|
63
|
+
* memberId: "string",
|
|
64
|
+
* payerName: "string",
|
|
65
|
+
* payerId: "string"
|
|
66
|
+
* },
|
|
67
|
+
* patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
|
|
68
|
+
* firstName: "string",
|
|
69
|
+
* lastName: "string",
|
|
70
|
+
* gender: CandidApi.Gender.Male
|
|
71
|
+
* },
|
|
72
|
+
* additionalInformation: "string",
|
|
73
|
+
* serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
|
|
74
|
+
* admissionDate: "2023-01-15",
|
|
75
|
+
* dischargeDate: "2023-01-15",
|
|
76
|
+
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
77
|
+
* lastMenstrualPeriodDate: "2023-01-15",
|
|
78
|
+
* delayReasonCode: CandidApi.DelayReasonCode.C1,
|
|
79
|
+
* patient: {},
|
|
80
|
+
* patientAuthorizedRelease: true,
|
|
81
|
+
* schemaInstances: [],
|
|
82
|
+
* vitals: {
|
|
83
|
+
* heightIn: 70,
|
|
84
|
+
* weightLbs: 165,
|
|
85
|
+
* bloodPressureSystolicMmhg: 115,
|
|
86
|
+
* bloodPressureDiastolicMmhg: 85,
|
|
87
|
+
* bodyTemperatureF: 98,
|
|
88
|
+
* hemoglobinGdl: 15.1,
|
|
89
|
+
* hematocritPct: 51.2
|
|
90
|
+
* },
|
|
91
|
+
* existingMedications: [],
|
|
92
|
+
* renderingProvider: {},
|
|
93
|
+
* serviceFacility: {
|
|
94
|
+
* organizationName: "Test Organization",
|
|
95
|
+
* address: {
|
|
96
|
+
* address1: "123 Main St",
|
|
97
|
+
* address2: "Apt 1",
|
|
98
|
+
* city: "New York",
|
|
99
|
+
* state: CandidApi.State.Ny,
|
|
100
|
+
* zipCode: "10001",
|
|
101
|
+
* zipPlusFourCode: "1234"
|
|
102
|
+
* }
|
|
103
|
+
* },
|
|
104
|
+
* guarantor: {},
|
|
105
|
+
* billingProvider: {},
|
|
106
|
+
* supervisingProvider: {},
|
|
107
|
+
* referringProvider: {},
|
|
108
|
+
* initialReferringProvider: {},
|
|
109
|
+
* referralNumber: "string"
|
|
110
|
+
* },
|
|
111
|
+
* encounterExternalId: CandidApi.EncounterExternalId("string"),
|
|
112
|
+
* ehrSourceUrl: "string",
|
|
113
|
+
* patientExternalId: "string",
|
|
114
|
+
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned
|
|
115
|
+
* }
|
|
116
|
+
*/
|
|
117
|
+
export interface ChargeCaptureUpdate {
|
|
118
|
+
data?: CandidApi.chargeCapture.v1.ChargeCaptureData;
|
|
119
|
+
/**
|
|
120
|
+
* A client-specified unique ID to associate with this encounter;
|
|
121
|
+
* for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
|
122
|
+
* This field should not contain PHI.
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
125
|
+
encounterExternalId?: CandidApi.EncounterExternalId;
|
|
126
|
+
/**
|
|
127
|
+
* External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page).
|
|
128
|
+
* Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123).
|
|
129
|
+
*
|
|
130
|
+
*/
|
|
131
|
+
ehrSourceUrl?: string;
|
|
132
|
+
/** The patient ID from the external EMR platform for the patient */
|
|
133
|
+
patientExternalId?: string;
|
|
134
|
+
/** the status of the charge capture */
|
|
135
|
+
status?: CandidApi.chargeCapture.v1.ChargeCaptureStatus;
|
|
136
|
+
}
|