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
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./EncounterBase"), exports);
|
|
18
|
+
__exportStar(require("./EncounterOptional"), exports);
|
|
18
19
|
__exportStar(require("./Encounter"), exports);
|
|
19
20
|
__exportStar(require("./EncounterSortOptions"), exports);
|
|
20
21
|
__exportStar(require("./Medication"), exports);
|
|
@@ -3,6 +3,7 @@ export * as commons from "./commons";
|
|
|
3
3
|
export * from "./commons/errors";
|
|
4
4
|
export * as auth from "./auth";
|
|
5
5
|
export * as billingNotes from "./billingNotes";
|
|
6
|
+
export * as chargeCapture from "./chargeCapture";
|
|
6
7
|
export * as claimSubmission from "./claimSubmission";
|
|
7
8
|
export * as contracts from "./contracts";
|
|
8
9
|
export * as credentialing from "./credentialing";
|
|
@@ -26,12 +26,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.eligibility = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
|
|
29
|
+
exports.eligibility = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.claimSubmission = exports.chargeCapture = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
|
|
30
30
|
exports.feeSchedules = __importStar(require("./feeSchedules"));
|
|
31
31
|
exports.commons = __importStar(require("./commons"));
|
|
32
32
|
__exportStar(require("./commons/errors"), exports);
|
|
33
33
|
exports.auth = __importStar(require("./auth"));
|
|
34
34
|
exports.billingNotes = __importStar(require("./billingNotes"));
|
|
35
|
+
exports.chargeCapture = __importStar(require("./chargeCapture"));
|
|
35
36
|
exports.claimSubmission = __importStar(require("./claimSubmission"));
|
|
36
37
|
exports.contracts = __importStar(require("./contracts"));
|
|
37
38
|
exports.credentialing = __importStar(require("./credentialing"));
|
|
@@ -17,6 +17,7 @@ export declare namespace NonInsurancePayerRefund {
|
|
|
17
17
|
amount_cents: number;
|
|
18
18
|
refund_timestamp?: string | null;
|
|
19
19
|
refund_note?: string | null;
|
|
20
|
+
check_number?: string | null;
|
|
20
21
|
allocations: Allocation.Raw[];
|
|
21
22
|
refund_reason?: RefundReason.Raw | null;
|
|
22
23
|
invoice_id?: InvoiceId.Raw | null;
|
|
@@ -39,6 +39,7 @@ exports.NonInsurancePayerRefund = core.serialization.object({
|
|
|
39
39
|
amountCents: core.serialization.property("amount_cents", core.serialization.number()),
|
|
40
40
|
refundTimestamp: core.serialization.property("refund_timestamp", core.serialization.date().optional()),
|
|
41
41
|
refundNote: core.serialization.property("refund_note", core.serialization.string().optional()),
|
|
42
|
+
checkNumber: core.serialization.property("check_number", core.serialization.string().optional()),
|
|
42
43
|
allocations: core.serialization.list(Allocation_1.Allocation),
|
|
43
44
|
refundReason: core.serialization.property("refund_reason", RefundReason_1.RefundReason.optional()),
|
|
44
45
|
invoiceId: core.serialization.property("invoice_id", InvoiceId_1.InvoiceId.optional()),
|
|
@@ -16,6 +16,7 @@ export declare namespace NonInsurancePayerRefundCreate {
|
|
|
16
16
|
amount_cents: number;
|
|
17
17
|
refund_timestamp?: string | null;
|
|
18
18
|
refund_note?: string | null;
|
|
19
|
+
check_number?: string | null;
|
|
19
20
|
allocations: AllocationCreate.Raw[];
|
|
20
21
|
refund_reason?: RefundReason.Raw | null;
|
|
21
22
|
}
|
|
@@ -38,6 +38,7 @@ exports.NonInsurancePayerRefundCreate = core.serialization.object({
|
|
|
38
38
|
amountCents: core.serialization.property("amount_cents", core.serialization.number()),
|
|
39
39
|
refundTimestamp: core.serialization.property("refund_timestamp", core.serialization.date().optional()),
|
|
40
40
|
refundNote: core.serialization.property("refund_note", core.serialization.string().optional()),
|
|
41
|
+
checkNumber: core.serialization.property("check_number", core.serialization.string().optional()),
|
|
41
42
|
allocations: core.serialization.list(AllocationCreate_1.AllocationCreate),
|
|
42
43
|
refundReason: core.serialization.property("refund_reason", RefundReason_1.RefundReason.optional()),
|
|
43
44
|
});
|
|
@@ -5,17 +5,11 @@ import * as serializers from "../../../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { AppointmentId } from "../../../../common/types/AppointmentId";
|
|
8
|
-
import {
|
|
9
|
-
import { UserId } from "../../../../common/types/UserId";
|
|
8
|
+
import { BaseModel } from "../../../../common/types/BaseModel";
|
|
10
9
|
import { MutableAppointment } from "./MutableAppointment";
|
|
11
10
|
export declare const Appointment: core.serialization.ObjectSchema<serializers.preEncounter.appointments.v1.Appointment.Raw, CandidApi.preEncounter.appointments.v1.Appointment>;
|
|
12
11
|
export declare namespace Appointment {
|
|
13
|
-
interface Raw extends MutableAppointment.Raw {
|
|
12
|
+
interface Raw extends BaseModel.Raw, MutableAppointment.Raw {
|
|
14
13
|
id: AppointmentId.Raw;
|
|
15
|
-
organization_id: OrganizationId.Raw;
|
|
16
|
-
deactivated: boolean;
|
|
17
|
-
version: number;
|
|
18
|
-
updated_at: string;
|
|
19
|
-
updating_user_id: UserId.Raw;
|
|
20
14
|
}
|
|
21
15
|
}
|
|
@@ -29,16 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Appointment = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
const AppointmentId_1 = require("../../../../common/types/AppointmentId");
|
|
32
|
-
const
|
|
33
|
-
const UserId_1 = require("../../../../common/types/UserId");
|
|
32
|
+
const BaseModel_1 = require("../../../../common/types/BaseModel");
|
|
34
33
|
const MutableAppointment_1 = require("./MutableAppointment");
|
|
35
34
|
exports.Appointment = core.serialization
|
|
36
35
|
.object({
|
|
37
36
|
id: AppointmentId_1.AppointmentId,
|
|
38
|
-
organizationId: core.serialization.property("organization_id", OrganizationId_1.OrganizationId),
|
|
39
|
-
deactivated: core.serialization.boolean(),
|
|
40
|
-
version: core.serialization.number(),
|
|
41
|
-
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
42
|
-
updatingUserId: core.serialization.property("updating_user_id", UserId_1.UserId),
|
|
43
37
|
})
|
|
38
|
+
.extend(BaseModel_1.BaseModel)
|
|
44
39
|
.extend(MutableAppointment_1.MutableAppointment);
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { OrganizationId } from "./OrganizationId";
|
|
8
|
+
import { UserId } from "./UserId";
|
|
9
|
+
export declare const BaseModel: core.serialization.ObjectSchema<serializers.preEncounter.BaseModel.Raw, CandidApi.preEncounter.BaseModel>;
|
|
10
|
+
export declare namespace BaseModel {
|
|
11
|
+
interface Raw {
|
|
12
|
+
organization_id: OrganizationId.Raw;
|
|
13
|
+
deactivated: boolean;
|
|
14
|
+
version: number;
|
|
15
|
+
updated_at: string;
|
|
16
|
+
updating_user_id: UserId.Raw;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -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.BaseModel = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const OrganizationId_1 = require("./OrganizationId");
|
|
32
|
+
const UserId_1 = require("./UserId");
|
|
33
|
+
exports.BaseModel = core.serialization.object({
|
|
34
|
+
organizationId: core.serialization.property("organization_id", OrganizationId_1.OrganizationId),
|
|
35
|
+
deactivated: core.serialization.boolean(),
|
|
36
|
+
version: core.serialization.number(),
|
|
37
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
38
|
+
updatingUserId: core.serialization.property("updating_user_id", UserId_1.UserId),
|
|
39
|
+
});
|
|
@@ -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 NoteId: core.serialization.Schema<serializers.preEncounter.NoteId.Raw, CandidApi.preEncounter.NoteId>;
|
|
8
|
+
export declare namespace NoteId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.NoteId = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.NoteId = core.serialization.string().transform({
|
|
33
|
+
transform: CandidApi.preEncounter.NoteId,
|
|
34
|
+
untransform: (value) => value,
|
|
35
|
+
});
|
|
@@ -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 TagId: core.serialization.Schema<serializers.preEncounter.TagId.Raw, CandidApi.preEncounter.TagId>;
|
|
8
|
+
export declare namespace TagId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.TagId = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.TagId = core.serialization.string().transform({
|
|
33
|
+
transform: CandidApi.preEncounter.TagId,
|
|
34
|
+
untransform: (value) => value,
|
|
35
|
+
});
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
export * from "./OrganizationId";
|
|
2
2
|
export * from "./UserId";
|
|
3
|
+
export * from "./BaseModel";
|
|
3
4
|
export * from "./PayerId";
|
|
4
5
|
export * from "./PatientId";
|
|
5
6
|
export * from "./CoverageId";
|
|
6
7
|
export * from "./AppointmentId";
|
|
8
|
+
export * from "./NoteId";
|
|
9
|
+
export * from "./TagId";
|
|
7
10
|
export * from "./CanonicalProviderId";
|
|
8
11
|
export * from "./CanonicalNonInsurancePayerAssociation";
|
|
9
12
|
export * from "./CanonicalNonInsurancePayerId";
|
|
@@ -16,10 +16,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./OrganizationId"), exports);
|
|
18
18
|
__exportStar(require("./UserId"), exports);
|
|
19
|
+
__exportStar(require("./BaseModel"), exports);
|
|
19
20
|
__exportStar(require("./PayerId"), exports);
|
|
20
21
|
__exportStar(require("./PatientId"), exports);
|
|
21
22
|
__exportStar(require("./CoverageId"), exports);
|
|
22
23
|
__exportStar(require("./AppointmentId"), exports);
|
|
24
|
+
__exportStar(require("./NoteId"), exports);
|
|
25
|
+
__exportStar(require("./TagId"), exports);
|
|
23
26
|
__exportStar(require("./CanonicalProviderId"), exports);
|
|
24
27
|
__exportStar(require("./CanonicalNonInsurancePayerAssociation"), exports);
|
|
25
28
|
__exportStar(require("./CanonicalNonInsurancePayerId"), exports);
|
|
@@ -5,17 +5,11 @@ import * as serializers from "../../../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { CoverageId } from "../../../../common/types/CoverageId";
|
|
8
|
-
import {
|
|
9
|
-
import { UserId } from "../../../../common/types/UserId";
|
|
8
|
+
import { BaseModel } from "../../../../common/types/BaseModel";
|
|
10
9
|
import { MutableCoverage } from "./MutableCoverage";
|
|
11
10
|
export declare const Coverage: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.Coverage.Raw, CandidApi.preEncounter.coverages.v1.Coverage>;
|
|
12
11
|
export declare namespace Coverage {
|
|
13
|
-
interface Raw extends MutableCoverage.Raw {
|
|
12
|
+
interface Raw extends BaseModel.Raw, MutableCoverage.Raw {
|
|
14
13
|
id: CoverageId.Raw;
|
|
15
|
-
organization_id: OrganizationId.Raw;
|
|
16
|
-
deactivated: boolean;
|
|
17
|
-
version: number;
|
|
18
|
-
updated_at: string;
|
|
19
|
-
updating_user_id: UserId.Raw;
|
|
20
14
|
}
|
|
21
15
|
}
|
package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js
CHANGED
|
@@ -29,16 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Coverage = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
const CoverageId_1 = require("../../../../common/types/CoverageId");
|
|
32
|
-
const
|
|
33
|
-
const UserId_1 = require("../../../../common/types/UserId");
|
|
32
|
+
const BaseModel_1 = require("../../../../common/types/BaseModel");
|
|
34
33
|
const MutableCoverage_1 = require("./MutableCoverage");
|
|
35
34
|
exports.Coverage = core.serialization
|
|
36
35
|
.object({
|
|
37
36
|
id: CoverageId_1.CoverageId,
|
|
38
|
-
organizationId: core.serialization.property("organization_id", OrganizationId_1.OrganizationId),
|
|
39
|
-
deactivated: core.serialization.boolean(),
|
|
40
|
-
version: core.serialization.number(),
|
|
41
|
-
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
42
|
-
updatingUserId: core.serialization.property("updating_user_id", UserId_1.UserId),
|
|
43
37
|
})
|
|
38
|
+
.extend(BaseModel_1.BaseModel)
|
|
44
39
|
.extend(MutableCoverage_1.MutableCoverage);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * as appointments from "./appointments";
|
|
2
2
|
export * as coverages from "./coverages";
|
|
3
3
|
export * as lists from "./lists";
|
|
4
|
+
export * as notes from "./notes";
|
|
4
5
|
export * as patients from "./patients";
|
|
6
|
+
export * as tags from "./tags";
|
|
5
7
|
export * as common from "./common";
|
|
6
8
|
export * from "./common/types";
|
|
@@ -26,10 +26,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.common = exports.patients = exports.lists = exports.coverages = exports.appointments = void 0;
|
|
29
|
+
exports.common = exports.tags = exports.patients = exports.notes = exports.lists = exports.coverages = exports.appointments = void 0;
|
|
30
30
|
exports.appointments = __importStar(require("./appointments"));
|
|
31
31
|
exports.coverages = __importStar(require("./coverages"));
|
|
32
32
|
exports.lists = __importStar(require("./lists"));
|
|
33
|
+
exports.notes = __importStar(require("./notes"));
|
|
33
34
|
exports.patients = __importStar(require("./patients"));
|
|
35
|
+
exports.tags = __importStar(require("./tags"));
|
|
34
36
|
exports.common = __importStar(require("./common"));
|
|
35
37
|
__exportStar(require("./common/types"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v1 from "./v1";
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.v1 = void 0;
|
|
27
|
+
exports.v1 = __importStar(require("./v1"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
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);
|
|
@@ -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
|
+
export declare const MutableNote: core.serialization.ObjectSchema<serializers.preEncounter.notes.v1.MutableNote.Raw, CandidApi.preEncounter.notes.v1.MutableNote>;
|
|
8
|
+
export declare namespace MutableNote {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value: string;
|
|
11
|
+
author_email?: string | null;
|
|
12
|
+
author_name?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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.MutableNote = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.MutableNote = core.serialization.object({
|
|
32
|
+
value: core.serialization.string(),
|
|
33
|
+
authorEmail: core.serialization.property("author_email", core.serialization.string().optional()),
|
|
34
|
+
authorName: core.serialization.property("author_name", core.serialization.string().optional()),
|
|
35
|
+
});
|
package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
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 { NoteId } from "../../../../common/types/NoteId";
|
|
8
|
+
import { BaseModel } from "../../../../common/types/BaseModel";
|
|
9
|
+
import { MutableNote } from "./MutableNote";
|
|
10
|
+
export declare const Note: core.serialization.ObjectSchema<serializers.preEncounter.notes.v1.Note.Raw, CandidApi.preEncounter.notes.v1.Note>;
|
|
11
|
+
export declare namespace Note {
|
|
12
|
+
interface Raw extends BaseModel.Raw, MutableNote.Raw {
|
|
13
|
+
id: NoteId.Raw;
|
|
14
|
+
created_at: string;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -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.Note = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
const NoteId_1 = require("../../../../common/types/NoteId");
|
|
32
|
+
const BaseModel_1 = require("../../../../common/types/BaseModel");
|
|
33
|
+
const MutableNote_1 = require("./MutableNote");
|
|
34
|
+
exports.Note = core.serialization
|
|
35
|
+
.object({
|
|
36
|
+
id: NoteId_1.NoteId,
|
|
37
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
38
|
+
})
|
|
39
|
+
.extend(BaseModel_1.BaseModel)
|
|
40
|
+
.extend(MutableNote_1.MutableNote);
|
|
@@ -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("./MutableNote"), exports);
|
|
18
|
+
__exportStar(require("./Note"), exports);
|
|
@@ -24,6 +24,8 @@ import { Guarantor } from "./Guarantor";
|
|
|
24
24
|
import { Authorization } from "./Authorization";
|
|
25
25
|
import { Referral } from "./Referral";
|
|
26
26
|
import { DoNotInvoiceReason } from "./DoNotInvoiceReason";
|
|
27
|
+
import { NoteId } from "../../../../common/types/NoteId";
|
|
28
|
+
import { TagId } from "../../../../common/types/TagId";
|
|
27
29
|
export declare const MutablePatient: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.MutablePatient.Raw, CandidApi.preEncounter.patients.v1.MutablePatient>;
|
|
28
30
|
export declare namespace MutablePatient {
|
|
29
31
|
interface Raw {
|
|
@@ -60,5 +62,7 @@ export declare namespace MutablePatient {
|
|
|
60
62
|
referrals?: Referral.Raw[] | null;
|
|
61
63
|
primary_service_facility_id?: string | null;
|
|
62
64
|
do_not_invoice_reason?: DoNotInvoiceReason.Raw | null;
|
|
65
|
+
note_ids?: NoteId.Raw[] | null;
|
|
66
|
+
tag_ids?: TagId.Raw[] | null;
|
|
63
67
|
}
|
|
64
68
|
}
|
|
@@ -48,6 +48,8 @@ const Guarantor_1 = require("./Guarantor");
|
|
|
48
48
|
const Authorization_1 = require("./Authorization");
|
|
49
49
|
const Referral_1 = require("./Referral");
|
|
50
50
|
const DoNotInvoiceReason_1 = require("./DoNotInvoiceReason");
|
|
51
|
+
const NoteId_1 = require("../../../../common/types/NoteId");
|
|
52
|
+
const TagId_1 = require("../../../../common/types/TagId");
|
|
51
53
|
exports.MutablePatient = core.serialization.object({
|
|
52
54
|
name: HumanName_1.HumanName,
|
|
53
55
|
otherNames: core.serialization.property("other_names", core.serialization.list(HumanName_1.HumanName)),
|
|
@@ -82,4 +84,6 @@ exports.MutablePatient = core.serialization.object({
|
|
|
82
84
|
referrals: core.serialization.list(Referral_1.Referral).optional(),
|
|
83
85
|
primaryServiceFacilityId: core.serialization.property("primary_service_facility_id", core.serialization.string().optional()),
|
|
84
86
|
doNotInvoiceReason: core.serialization.property("do_not_invoice_reason", DoNotInvoiceReason_1.DoNotInvoiceReason.optional()),
|
|
87
|
+
noteIds: core.serialization.property("note_ids", core.serialization.list(NoteId_1.NoteId).optional()),
|
|
88
|
+
tagIds: core.serialization.property("tag_ids", core.serialization.list(TagId_1.TagId).optional()),
|
|
85
89
|
});
|