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,61 @@
|
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../core"));
|
|
43
|
+
const NotImplementedErrorMessage_1 = require("../../../../commons/types/NotImplementedErrorMessage");
|
|
44
|
+
exports.Error = core.serialization
|
|
45
|
+
.union("errorName", {
|
|
46
|
+
NotImplementedError: core.serialization.object({
|
|
47
|
+
content: NotImplementedErrorMessage_1.NotImplementedErrorMessage,
|
|
48
|
+
}),
|
|
49
|
+
})
|
|
50
|
+
.transform({
|
|
51
|
+
transform: (value) => {
|
|
52
|
+
switch (value.errorName) {
|
|
53
|
+
case "NotImplementedError":
|
|
54
|
+
return CandidApi.chargeCapture.v1.getAll.Error.notImplementedError(value.content);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
untransform: (_a) => {
|
|
58
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
59
|
+
return value;
|
|
60
|
+
},
|
|
61
|
+
});
|
|
@@ -0,0 +1,34 @@
|
|
|
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 __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.getAll = exports.update = exports.delete = exports.create = void 0;
|
|
30
|
+
exports.create = __importStar(require("./create"));
|
|
31
|
+
exports.delete = __importStar(require("./delete"));
|
|
32
|
+
exports.update = __importStar(require("./update"));
|
|
33
|
+
exports.getAll = __importStar(require("./getAll"));
|
|
34
|
+
__exportStar(require("./requests"), exports);
|
package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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 { EncounterExternalId } from "../../../../../commons/types/EncounterExternalId";
|
|
9
|
+
import { ChargeCaptureStatus } from "../../types/ChargeCaptureStatus";
|
|
10
|
+
export declare const ChargeCaptureUpdate: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCaptureUpdate.Raw, CandidApi.chargeCapture.v1.ChargeCaptureUpdate>;
|
|
11
|
+
export declare namespace ChargeCaptureUpdate {
|
|
12
|
+
interface Raw {
|
|
13
|
+
data?: ChargeCaptureData.Raw | null;
|
|
14
|
+
encounter_external_id?: EncounterExternalId.Raw | null;
|
|
15
|
+
ehr_source_url?: string | null;
|
|
16
|
+
patient_external_id?: string | null;
|
|
17
|
+
status?: ChargeCaptureStatus.Raw | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
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.ChargeCaptureUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
31
|
+
const ChargeCaptureData_1 = require("../../types/ChargeCaptureData");
|
|
32
|
+
const EncounterExternalId_1 = require("../../../../../commons/types/EncounterExternalId");
|
|
33
|
+
const ChargeCaptureStatus_1 = require("../../types/ChargeCaptureStatus");
|
|
34
|
+
exports.ChargeCaptureUpdate = core.serialization.object({
|
|
35
|
+
data: ChargeCaptureData_1.ChargeCaptureData.optional(),
|
|
36
|
+
encounterExternalId: core.serialization.property("encounter_external_id", EncounterExternalId_1.EncounterExternalId.optional()),
|
|
37
|
+
ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
|
|
38
|
+
patientExternalId: core.serialization.property("patient_external_id", core.serialization.string().optional()),
|
|
39
|
+
status: ChargeCaptureStatus_1.ChargeCaptureStatus.optional(),
|
|
40
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { EncounterExternalId } from "../../../../../commons/types/EncounterExternalId";
|
|
9
|
+
import { ChargeCaptureStatus } from "../../types/ChargeCaptureStatus";
|
|
10
|
+
export declare const CreateChargeCaptureRequest: core.serialization.Schema<serializers.chargeCapture.v1.CreateChargeCaptureRequest.Raw, CandidApi.chargeCapture.v1.CreateChargeCaptureRequest>;
|
|
11
|
+
export declare namespace CreateChargeCaptureRequest {
|
|
12
|
+
interface Raw {
|
|
13
|
+
data: ChargeCaptureData.Raw;
|
|
14
|
+
encounter_external_id: EncounterExternalId.Raw;
|
|
15
|
+
ehr_source_url?: string | null;
|
|
16
|
+
patient_external_id: string;
|
|
17
|
+
status: ChargeCaptureStatus.Raw;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.CreateChargeCaptureRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
31
|
+
const ChargeCaptureData_1 = require("../../types/ChargeCaptureData");
|
|
32
|
+
const EncounterExternalId_1 = require("../../../../../commons/types/EncounterExternalId");
|
|
33
|
+
const ChargeCaptureStatus_1 = require("../../types/ChargeCaptureStatus");
|
|
34
|
+
exports.CreateChargeCaptureRequest = core.serialization.object({
|
|
35
|
+
data: ChargeCaptureData_1.ChargeCaptureData,
|
|
36
|
+
encounterExternalId: core.serialization.property("encounter_external_id", EncounterExternalId_1.EncounterExternalId),
|
|
37
|
+
ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
|
|
38
|
+
patientExternalId: core.serialization.property("patient_external_id", core.serialization.string()),
|
|
39
|
+
status: ChargeCaptureStatus_1.ChargeCaptureStatus,
|
|
40
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChargeCaptureUpdate = exports.CreateChargeCaptureRequest = void 0;
|
|
4
|
+
var CreateChargeCaptureRequest_1 = require("./CreateChargeCaptureRequest");
|
|
5
|
+
Object.defineProperty(exports, "CreateChargeCaptureRequest", { enumerable: true, get: function () { return CreateChargeCaptureRequest_1.CreateChargeCaptureRequest; } });
|
|
6
|
+
var ChargeCaptureUpdate_1 = require("./ChargeCaptureUpdate");
|
|
7
|
+
Object.defineProperty(exports, "ChargeCaptureUpdate", { enumerable: true, get: function () { return ChargeCaptureUpdate_1.ChargeCaptureUpdate; } });
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.update.Error.Raw, CandidApi.chargeCapture.v1.update.Error>;
|
|
13
|
+
export declare namespace Error {
|
|
14
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError;
|
|
15
|
+
interface EntityNotFoundError {
|
|
16
|
+
errorName: "EntityNotFoundError";
|
|
17
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
18
|
+
}
|
|
19
|
+
interface UnauthorizedError {
|
|
20
|
+
errorName: "UnauthorizedError";
|
|
21
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
22
|
+
}
|
|
23
|
+
interface HttpRequestValidationsError {
|
|
24
|
+
errorName: "HttpRequestValidationsError";
|
|
25
|
+
content: RequestValidationError.Raw[];
|
|
26
|
+
}
|
|
27
|
+
interface SchemaInstanceValidationHttpFailure {
|
|
28
|
+
errorName: "SchemaInstanceValidationHttpFailure";
|
|
29
|
+
content: SchemaInstanceValidationFailure.Raw;
|
|
30
|
+
}
|
|
31
|
+
interface UnprocessableEntityError {
|
|
32
|
+
errorName: "UnprocessableEntityError";
|
|
33
|
+
content: UnprocessableEntityErrorMessage.Raw;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../core"));
|
|
43
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
44
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
45
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
46
|
+
const SchemaInstanceValidationFailure_1 = require("../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure");
|
|
47
|
+
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
48
|
+
exports.Error = core.serialization
|
|
49
|
+
.union("errorName", {
|
|
50
|
+
EntityNotFoundError: core.serialization.object({
|
|
51
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
52
|
+
}),
|
|
53
|
+
UnauthorizedError: core.serialization.object({
|
|
54
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
55
|
+
}),
|
|
56
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
57
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
58
|
+
}),
|
|
59
|
+
SchemaInstanceValidationHttpFailure: core.serialization.object({
|
|
60
|
+
content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
|
|
61
|
+
}),
|
|
62
|
+
UnprocessableEntityError: core.serialization.object({
|
|
63
|
+
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
64
|
+
}),
|
|
65
|
+
})
|
|
66
|
+
.transform({
|
|
67
|
+
transform: (value) => {
|
|
68
|
+
switch (value.errorName) {
|
|
69
|
+
case "EntityNotFoundError":
|
|
70
|
+
return CandidApi.chargeCapture.v1.update.Error.entityNotFoundError(value.content);
|
|
71
|
+
case "UnauthorizedError":
|
|
72
|
+
return CandidApi.chargeCapture.v1.update.Error.unauthorizedError(value.content);
|
|
73
|
+
case "HttpRequestValidationsError":
|
|
74
|
+
return CandidApi.chargeCapture.v1.update.Error.httpRequestValidationsError(value.content);
|
|
75
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
76
|
+
return CandidApi.chargeCapture.v1.update.Error.schemaInstanceValidationHttpFailure(value.content);
|
|
77
|
+
case "UnprocessableEntityError":
|
|
78
|
+
return CandidApi.chargeCapture.v1.update.Error.unprocessableEntityError(value.content);
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
untransform: (_a) => {
|
|
82
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
83
|
+
return value;
|
|
84
|
+
},
|
|
85
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { ChargeCaptureId } from "../../../../commons/types/ChargeCaptureId";
|
|
8
|
+
import { ChargeCaptureStatus } from "./ChargeCaptureStatus";
|
|
9
|
+
import { ChargeCaptureData } from "./ChargeCaptureData";
|
|
10
|
+
import { PatientExternalId } from "../../../../commons/types/PatientExternalId";
|
|
11
|
+
import { EncounterExternalId } from "../../../../commons/types/EncounterExternalId";
|
|
12
|
+
export declare const ChargeCapture: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCapture.Raw, CandidApi.chargeCapture.v1.ChargeCapture>;
|
|
13
|
+
export declare namespace ChargeCapture {
|
|
14
|
+
interface Raw {
|
|
15
|
+
id: ChargeCaptureId.Raw;
|
|
16
|
+
status: ChargeCaptureStatus.Raw;
|
|
17
|
+
charge_capture_data: ChargeCaptureData.Raw;
|
|
18
|
+
patient_external_id: PatientExternalId.Raw;
|
|
19
|
+
encounter_external_id: EncounterExternalId.Raw;
|
|
20
|
+
ehr_source_url?: string | null;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.ChargeCapture = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const ChargeCaptureId_1 = require("../../../../commons/types/ChargeCaptureId");
|
|
32
|
+
const ChargeCaptureStatus_1 = require("./ChargeCaptureStatus");
|
|
33
|
+
const ChargeCaptureData_1 = require("./ChargeCaptureData");
|
|
34
|
+
const PatientExternalId_1 = require("../../../../commons/types/PatientExternalId");
|
|
35
|
+
const EncounterExternalId_1 = require("../../../../commons/types/EncounterExternalId");
|
|
36
|
+
exports.ChargeCapture = core.serialization.object({
|
|
37
|
+
id: ChargeCaptureId_1.ChargeCaptureId,
|
|
38
|
+
status: ChargeCaptureStatus_1.ChargeCaptureStatus,
|
|
39
|
+
chargeCaptureData: core.serialization.property("charge_capture_data", ChargeCaptureData_1.ChargeCaptureData),
|
|
40
|
+
patientExternalId: core.serialization.property("patient_external_id", PatientExternalId_1.PatientExternalId),
|
|
41
|
+
encounterExternalId: core.serialization.property("encounter_external_id", EncounterExternalId_1.EncounterExternalId),
|
|
42
|
+
ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
|
|
43
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { DiagnosisCreate } from "../../../../diagnoses/types/DiagnosisCreate";
|
|
8
|
+
import { Intervention } from "../../../../encounters/resources/v4/types/Intervention";
|
|
9
|
+
import { ExternalClaimSubmissionCreate } from "../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate";
|
|
10
|
+
import { ServiceLineCreate } from "../../../../serviceLines/resources/v2/types/ServiceLineCreate";
|
|
11
|
+
import { PatientHistoryCategory } from "../../../../encounters/resources/v4/types/PatientHistoryCategory";
|
|
12
|
+
import { BillingNote } from "../../../../billingNotes/resources/v2/types/BillingNote";
|
|
13
|
+
import { EncounterOptional } from "../../../../encounters/resources/v4/types/EncounterOptional";
|
|
14
|
+
export declare const ChargeCaptureData: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCaptureData.Raw, CandidApi.chargeCapture.v1.ChargeCaptureData>;
|
|
15
|
+
export declare namespace ChargeCaptureData {
|
|
16
|
+
interface Raw extends EncounterOptional.Raw {
|
|
17
|
+
diagnoses?: DiagnosisCreate.Raw[] | null;
|
|
18
|
+
interventions?: Intervention.Raw[] | null;
|
|
19
|
+
external_claim_submission?: ExternalClaimSubmissionCreate.Raw | null;
|
|
20
|
+
service_lines?: ServiceLineCreate.Raw[] | null;
|
|
21
|
+
patient_histories?: PatientHistoryCategory.Raw[] | null;
|
|
22
|
+
billing_notes?: BillingNote.Raw[] | null;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -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.ChargeCaptureData = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const DiagnosisCreate_1 = require("../../../../diagnoses/types/DiagnosisCreate");
|
|
32
|
+
const Intervention_1 = require("../../../../encounters/resources/v4/types/Intervention");
|
|
33
|
+
const ExternalClaimSubmissionCreate_1 = require("../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate");
|
|
34
|
+
const ServiceLineCreate_1 = require("../../../../serviceLines/resources/v2/types/ServiceLineCreate");
|
|
35
|
+
const PatientHistoryCategory_1 = require("../../../../encounters/resources/v4/types/PatientHistoryCategory");
|
|
36
|
+
const BillingNote_1 = require("../../../../billingNotes/resources/v2/types/BillingNote");
|
|
37
|
+
const EncounterOptional_1 = require("../../../../encounters/resources/v4/types/EncounterOptional");
|
|
38
|
+
exports.ChargeCaptureData = core.serialization
|
|
39
|
+
.object({
|
|
40
|
+
diagnoses: core.serialization.list(DiagnosisCreate_1.DiagnosisCreate).optional(),
|
|
41
|
+
interventions: core.serialization.list(Intervention_1.Intervention).optional(),
|
|
42
|
+
externalClaimSubmission: core.serialization.property("external_claim_submission", ExternalClaimSubmissionCreate_1.ExternalClaimSubmissionCreate.optional()),
|
|
43
|
+
serviceLines: core.serialization.property("service_lines", core.serialization.list(ServiceLineCreate_1.ServiceLineCreate).optional()),
|
|
44
|
+
patientHistories: core.serialization.property("patient_histories", core.serialization.list(PatientHistoryCategory_1.PatientHistoryCategory).optional()),
|
|
45
|
+
billingNotes: core.serialization.property("billing_notes", core.serialization.list(BillingNote_1.BillingNote).optional()),
|
|
46
|
+
})
|
|
47
|
+
.extend(EncounterOptional_1.EncounterOptional);
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { ChargeCapture } from "./ChargeCapture";
|
|
8
|
+
import { ResourcePage } from "../../../../commons/types/ResourcePage";
|
|
9
|
+
export declare const ChargeCapturePage: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCapturePage.Raw, CandidApi.chargeCapture.v1.ChargeCapturePage>;
|
|
10
|
+
export declare namespace ChargeCapturePage {
|
|
11
|
+
interface Raw extends ResourcePage.Raw {
|
|
12
|
+
items: ChargeCapture.Raw[];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.ChargeCapturePage = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const ChargeCapture_1 = require("./ChargeCapture");
|
|
32
|
+
const ResourcePage_1 = require("../../../../commons/types/ResourcePage");
|
|
33
|
+
exports.ChargeCapturePage = core.serialization
|
|
34
|
+
.object({
|
|
35
|
+
items: core.serialization.list(ChargeCapture_1.ChargeCapture),
|
|
36
|
+
})
|
|
37
|
+
.extend(ResourcePage_1.ResourcePage);
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
export declare const ChargeCaptureStatus: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCaptureStatus.Raw, CandidApi.chargeCapture.v1.ChargeCaptureStatus>;
|
|
8
|
+
export declare namespace ChargeCaptureStatus {
|
|
9
|
+
type Raw = "planned" | "not-billable" | "billable" | "aborted" | "billed" | "entered-in-error" | "unknown";
|
|
10
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.ChargeCaptureStatus = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.ChargeCaptureStatus = core.serialization.enum_([
|
|
32
|
+
"planned",
|
|
33
|
+
"not-billable",
|
|
34
|
+
"billable",
|
|
35
|
+
"aborted",
|
|
36
|
+
"billed",
|
|
37
|
+
"entered-in-error",
|
|
38
|
+
"unknown",
|
|
39
|
+
]);
|