candidhealth 0.35.1 → 0.35.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +1 -0
- package/api/resources/credentialing/resources/v2/client/Client.js +11 -6
- package/api/resources/credentialing/resources/v2/client/getAll.d.ts +7 -1
- package/api/resources/credentialing/resources/v2/client/getAll.js +11 -0
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +7 -2
- 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.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/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.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/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/client/create.d.ts +3 -3
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +3 -3
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +3 -3
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +3 -3
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +3 -3
- 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/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +2 -1
- 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/VersionConflictErrorBody.d.ts +2 -3
- package/api/resources/preEncounter/resources/common/types/index.d.ts +4 -2
- package/api/resources/preEncounter/resources/common/types/index.js +4 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +3 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +3 -3
- 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/client/getPatientList.d.ts +3 -3
- 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/Note.d.ts +11 -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 +10 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +20 -16
- package/api/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -11
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +6 -12
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +4 -15
- package/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +3 -3
- 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/client/update.d.ts +3 -3
- 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/patients/resources/v1/types/index.d.ts +0 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -3
- 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/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/Tag.d.ts +10 -0
- package/api/resources/preEncounter/resources/{patients/resources/v1/types/InvalidMrnErrorBody.d.ts → tags/resources/v1/types/TagPage.d.ts} +2 -2
- 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.js +3 -3
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
- package/api/resources/x12/resources/v1/types/Rarc.js +1 -0
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +1 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +11 -6
- package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +7 -1
- package/dist/api/resources/credentialing/resources/v2/client/getAll.js +11 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +7 -2
- 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.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/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.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/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/client/create.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +3 -3
- 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/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +2 -1
- 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/VersionConflictErrorBody.d.ts +2 -3
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +4 -2
- package/dist/api/resources/preEncounter/resources/common/types/index.js +4 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +3 -3
- 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/client/getPatientList.d.ts +3 -3
- 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 +10 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +20 -16
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -11
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +6 -12
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +4 -15
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +3 -3
- 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/client/update.d.ts +3 -3
- 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/patients/resources/v1/types/index.d.ts +0 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -3
- 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/{patients/resources/v1/types/InvalidMrnErrorBody.d.ts → tags/resources/v1/types/TagPage.d.ts} +2 -2
- 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.js +3 -3
- 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/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +1 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +6 -1
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +6 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +2 -2
- 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/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +3 -2
- package/dist/serialization/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js} +3 -2
- 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/{NotFoundErrorBody.js → TagId.js} +6 -7
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +3 -4
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +3 -4
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +4 -2
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +4 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.js +2 -2
- 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/lists/resources/v1/client/getPatientList.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.js +2 -2
- 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/{serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js → dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js} +5 -5
- 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/client/create.d.ts +1 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +5 -10
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +5 -11
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.js +2 -2
- 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/patients/resources/v1/types/index.d.ts +0 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -3
- 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/{patients/resources/v1/types/InvalidMrnErrorBody.js → tags/resources/v1/types/TagPage.js} +6 -5
- 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/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
- package/package.json +1 -1
- package/reference.md +1227 -586
- package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +6 -1
- package/serialization/resources/credentialing/resources/v2/client/getAll.js +6 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +2 -2
- 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/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +3 -2
- package/serialization/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js} +3 -2
- 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/{NotFoundErrorBody.js → TagId.js} +6 -7
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +3 -4
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +3 -4
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +4 -2
- package/serialization/resources/preEncounter/resources/common/types/index.js +4 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.js +2 -2
- 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/lists/resources/v1/client/getPatientList.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.js +2 -2
- 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/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js → serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js} +5 -5
- 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/client/create.d.ts +1 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +5 -10
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +5 -11
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.js +2 -2
- 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/patients/resources/v1/types/index.d.ts +0 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -3
- 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/{patients/resources/v1/types/InvalidMrnErrorBody.js → tags/resources/v1/types/TagPage.js} +6 -5
- 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
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
- package/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -8
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -8
- package/dist/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -8
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -8
- package/dist/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -13
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +0 -13
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -14
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -38
- package/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -13
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +0 -13
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -14
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -38
- /package/api/resources/preEncounter/resources/common/types/{ErrorBase.js → BaseModel.js} +0 -0
- /package/api/resources/preEncounter/resources/common/types/{NotFoundErrorBody.js → ErrorBase4Xx.js} +0 -0
- /package/api/resources/preEncounter/resources/{patients/resources/v1/types/InvalidMrnErrorBody.js → notes/resources/v1/types/MutableNote.js} +0 -0
- /package/api/resources/preEncounter/resources/{patients/resources/v1/types/PotentialDuplicatePatient.js → notes/resources/v1/types/Note.js} +0 -0
- /package/api/resources/preEncounter/resources/{patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js → tags/resources/v1/client/requests/GetAllTagsRequest.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/common/types/ErrorBase.js → api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.js → api/resources/preEncounter/resources/tags/resources/v1/types/Tag.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js → api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js} +0 -0
- /package/dist/api/resources/preEncounter/resources/{patients/resources/v1/types/PotentialDuplicatePatient.js → common/types/BaseModel.js} +0 -0
- /package/dist/api/resources/preEncounter/resources/{patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js → common/types/ErrorBase4Xx.js} +0 -0
|
@@ -11,7 +11,7 @@ export declare namespace Error {
|
|
|
11
11
|
}
|
|
12
12
|
interface NotFoundError extends _Utils {
|
|
13
13
|
errorName: "NotFoundError";
|
|
14
|
-
content: CandidApi.preEncounter.
|
|
14
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
15
15
|
}
|
|
16
16
|
interface _Unknown extends _Utils {
|
|
17
17
|
errorName: void;
|
|
@@ -22,13 +22,13 @@ export declare namespace Error {
|
|
|
22
22
|
}
|
|
23
23
|
interface _Visitor<_Result> {
|
|
24
24
|
versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => _Result;
|
|
25
|
-
notFoundError: (value: CandidApi.preEncounter.
|
|
25
|
+
notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
26
26
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare const Error: {
|
|
30
30
|
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.appointments.v1.create.Error.VersionConflictError;
|
|
31
|
-
readonly notFoundError: (value: CandidApi.preEncounter.
|
|
31
|
+
readonly notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.appointments.v1.create.Error.NotFoundError;
|
|
32
32
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.appointments.v1.create.Error._Unknown;
|
|
33
33
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.appointments.v1.create.Error, visitor: CandidApi.preEncounter.appointments.v1.create.Error._Visitor<_Result>) => _Result;
|
|
34
34
|
};
|
package/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare type Error = CandidApi.preEncounter.appointments.v1.deactivate.Er
|
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface NotFoundError extends _Utils {
|
|
9
9
|
errorName: "NotFoundError";
|
|
10
|
-
content: CandidApi.preEncounter.
|
|
10
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
11
11
|
}
|
|
12
12
|
interface VersionConflictError extends _Utils {
|
|
13
13
|
errorName: "VersionConflictError";
|
|
@@ -21,13 +21,13 @@ export declare namespace Error {
|
|
|
21
21
|
_visit: <_Result>(visitor: CandidApi.preEncounter.appointments.v1.deactivate.Error._Visitor<_Result>) => _Result;
|
|
22
22
|
}
|
|
23
23
|
interface _Visitor<_Result> {
|
|
24
|
-
notFoundError: (value: CandidApi.preEncounter.
|
|
24
|
+
notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
25
25
|
versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => _Result;
|
|
26
26
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare const Error: {
|
|
30
|
-
readonly notFoundError: (value: CandidApi.preEncounter.
|
|
30
|
+
readonly notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.appointments.v1.deactivate.Error.NotFoundError;
|
|
31
31
|
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.appointments.v1.deactivate.Error.VersionConflictError;
|
|
32
32
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.appointments.v1.deactivate.Error._Unknown;
|
|
33
33
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.appointments.v1.deactivate.Error, visitor: CandidApi.preEncounter.appointments.v1.deactivate.Error._Visitor<_Result>) => _Result;
|
|
@@ -7,7 +7,7 @@ export declare type Error = CandidApi.preEncounter.appointments.v1.get.Error.Not
|
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface NotFoundError extends _Utils {
|
|
9
9
|
errorName: "NotFoundError";
|
|
10
|
-
content: CandidApi.preEncounter.
|
|
10
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
11
11
|
}
|
|
12
12
|
interface _Unknown extends _Utils {
|
|
13
13
|
errorName: void;
|
|
@@ -17,12 +17,12 @@ export declare namespace Error {
|
|
|
17
17
|
_visit: <_Result>(visitor: CandidApi.preEncounter.appointments.v1.get.Error._Visitor<_Result>) => _Result;
|
|
18
18
|
}
|
|
19
19
|
interface _Visitor<_Result> {
|
|
20
|
-
notFoundError: (value: CandidApi.preEncounter.
|
|
20
|
+
notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
21
21
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
export declare const Error: {
|
|
25
|
-
readonly notFoundError: (value: CandidApi.preEncounter.
|
|
25
|
+
readonly notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.appointments.v1.get.Error.NotFoundError;
|
|
26
26
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.appointments.v1.get.Error._Unknown;
|
|
27
27
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.appointments.v1.get.Error, visitor: CandidApi.preEncounter.appointments.v1.get.Error._Visitor<_Result>) => _Result;
|
|
28
28
|
};
|
package/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare type Error = CandidApi.preEncounter.appointments.v1.getHistory.Er
|
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface NotFoundError extends _Utils {
|
|
9
9
|
errorName: "NotFoundError";
|
|
10
|
-
content: CandidApi.preEncounter.
|
|
10
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
11
11
|
}
|
|
12
12
|
interface _Unknown extends _Utils {
|
|
13
13
|
errorName: void;
|
|
@@ -17,12 +17,12 @@ export declare namespace Error {
|
|
|
17
17
|
_visit: <_Result>(visitor: CandidApi.preEncounter.appointments.v1.getHistory.Error._Visitor<_Result>) => _Result;
|
|
18
18
|
}
|
|
19
19
|
interface _Visitor<_Result> {
|
|
20
|
-
notFoundError: (value: CandidApi.preEncounter.
|
|
20
|
+
notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
21
21
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
export declare const Error: {
|
|
25
|
-
readonly notFoundError: (value: CandidApi.preEncounter.
|
|
25
|
+
readonly notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.appointments.v1.getHistory.Error.NotFoundError;
|
|
26
26
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.appointments.v1.getHistory.Error._Unknown;
|
|
27
27
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.appointments.v1.getHistory.Error, visitor: CandidApi.preEncounter.appointments.v1.getHistory.Error._Visitor<_Result>) => _Result;
|
|
28
28
|
};
|
|
@@ -7,7 +7,7 @@ export declare type Error = CandidApi.preEncounter.appointments.v1.update.Error.
|
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface NotFoundError extends _Utils {
|
|
9
9
|
errorName: "NotFoundError";
|
|
10
|
-
content: CandidApi.preEncounter.
|
|
10
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
11
11
|
}
|
|
12
12
|
interface VersionConflictError extends _Utils {
|
|
13
13
|
errorName: "VersionConflictError";
|
|
@@ -21,13 +21,13 @@ export declare namespace Error {
|
|
|
21
21
|
_visit: <_Result>(visitor: CandidApi.preEncounter.appointments.v1.update.Error._Visitor<_Result>) => _Result;
|
|
22
22
|
}
|
|
23
23
|
interface _Visitor<_Result> {
|
|
24
|
-
notFoundError: (value: CandidApi.preEncounter.
|
|
24
|
+
notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
25
25
|
versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => _Result;
|
|
26
26
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare const Error: {
|
|
30
|
-
readonly notFoundError: (value: CandidApi.preEncounter.
|
|
30
|
+
readonly notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.appointments.v1.update.Error.NotFoundError;
|
|
31
31
|
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.appointments.v1.update.Error.VersionConflictError;
|
|
32
32
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.appointments.v1.update.Error._Unknown;
|
|
33
33
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.appointments.v1.update.Error, visitor: CandidApi.preEncounter.appointments.v1.update.Error._Visitor<_Result>) => _Result;
|
package/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts
CHANGED
|
@@ -5,15 +5,6 @@ import * as CandidApi from "../../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* An appointment object with immutable server-owned properties.
|
|
7
7
|
*/
|
|
8
|
-
export interface Appointment extends CandidApi.preEncounter.appointments.v1.MutableAppointment {
|
|
8
|
+
export interface Appointment extends CandidApi.preEncounter.BaseModel, CandidApi.preEncounter.appointments.v1.MutableAppointment {
|
|
9
9
|
id: CandidApi.preEncounter.AppointmentId;
|
|
10
|
-
/** The organization that owns this appointment. */
|
|
11
|
-
organizationId: CandidApi.preEncounter.OrganizationId;
|
|
12
|
-
/** True if the appointment is deactivated. Deactivated appointments are not returned in search results but are returned in all other endpoints including scan. */
|
|
13
|
-
deactivated: boolean;
|
|
14
|
-
/** The version of the appointment. Any update to any property of an appointment object will create a new version. */
|
|
15
|
-
version: number;
|
|
16
|
-
updatedAt: Date;
|
|
17
|
-
/** The user ID of the user who last updated the appointment. */
|
|
18
|
-
updatingUserId: CandidApi.preEncounter.UserId;
|
|
19
10
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface BaseModel {
|
|
6
|
+
/** The organization that owns this object. */
|
|
7
|
+
organizationId: CandidApi.preEncounter.OrganizationId;
|
|
8
|
+
/** True if the object is deactivated. Deactivated objects are not returned in search results but are returned in all other endpoints including scan. */
|
|
9
|
+
deactivated: boolean;
|
|
10
|
+
/** The version of the object. Any update to any property of an object object will create a new version. */
|
|
11
|
+
version: number;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
/** The user ID of the user who last updated the object. */
|
|
14
|
+
updatingUserId: CandidApi.preEncounter.UserId;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* The unique identifier for a Note.
|
|
7
|
+
*/
|
|
8
|
+
export declare type NoteId = string & {
|
|
9
|
+
preEncounter_NoteId: void;
|
|
10
|
+
};
|
|
11
|
+
export declare function NoteId(value: string): CandidApi.preEncounter.NoteId;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* The unique identifier for a Tag.
|
|
7
|
+
*/
|
|
8
|
+
export declare type TagId = string & {
|
|
9
|
+
preEncounter_TagId: void;
|
|
10
|
+
};
|
|
11
|
+
export declare function TagId(value: string): CandidApi.preEncounter.TagId;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
|
-
export interface VersionConflictErrorBody extends CandidApi.preEncounter.
|
|
6
|
-
|
|
7
|
-
latestVersion: number;
|
|
5
|
+
export interface VersionConflictErrorBody extends CandidApi.preEncounter.ErrorBase4Xx {
|
|
6
|
+
latestVersion?: number;
|
|
8
7
|
}
|
|
@@ -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";
|
|
@@ -23,8 +26,7 @@ export * from "./ContactPointUse";
|
|
|
23
26
|
export * from "./ContactPoint";
|
|
24
27
|
export * from "./PageToken";
|
|
25
28
|
export * from "./ResourcePage";
|
|
26
|
-
export * from "./
|
|
27
|
-
export * from "./NotFoundErrorBody";
|
|
29
|
+
export * from "./ErrorBase4Xx";
|
|
28
30
|
export * from "./VersionConflictErrorBody";
|
|
29
31
|
export * from "./AdditionalPayerInformation";
|
|
30
32
|
export * from "./ExternalProviderType";
|
|
@@ -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);
|
|
@@ -39,8 +42,7 @@ __exportStar(require("./ContactPointUse"), exports);
|
|
|
39
42
|
__exportStar(require("./ContactPoint"), exports);
|
|
40
43
|
__exportStar(require("./PageToken"), exports);
|
|
41
44
|
__exportStar(require("./ResourcePage"), exports);
|
|
42
|
-
__exportStar(require("./
|
|
43
|
-
__exportStar(require("./NotFoundErrorBody"), exports);
|
|
45
|
+
__exportStar(require("./ErrorBase4Xx"), exports);
|
|
44
46
|
__exportStar(require("./VersionConflictErrorBody"), exports);
|
|
45
47
|
__exportStar(require("./AdditionalPayerInformation"), exports);
|
|
46
48
|
__exportStar(require("./ExternalProviderType"), exports);
|
|
@@ -122,7 +122,7 @@ class V1 {
|
|
|
122
122
|
Authorization: yield this._getAuthorizationHeader(),
|
|
123
123
|
"X-Fern-Language": "JavaScript",
|
|
124
124
|
"X-Fern-SDK-Name": "candidhealth",
|
|
125
|
-
"X-Fern-SDK-Version": "0.35.
|
|
125
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
126
126
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
127
127
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
128
128
|
},
|
|
@@ -228,7 +228,7 @@ class V1 {
|
|
|
228
228
|
Authorization: yield this._getAuthorizationHeader(),
|
|
229
229
|
"X-Fern-Language": "JavaScript",
|
|
230
230
|
"X-Fern-SDK-Name": "candidhealth",
|
|
231
|
-
"X-Fern-SDK-Version": "0.35.
|
|
231
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
232
232
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
233
233
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
234
234
|
},
|
|
@@ -293,7 +293,7 @@ class V1 {
|
|
|
293
293
|
Authorization: yield this._getAuthorizationHeader(),
|
|
294
294
|
"X-Fern-Language": "JavaScript",
|
|
295
295
|
"X-Fern-SDK-Name": "candidhealth",
|
|
296
|
-
"X-Fern-SDK-Version": "0.35.
|
|
296
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
297
297
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
298
298
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
299
299
|
},
|
|
@@ -340,7 +340,7 @@ class V1 {
|
|
|
340
340
|
Authorization: yield this._getAuthorizationHeader(),
|
|
341
341
|
"X-Fern-Language": "JavaScript",
|
|
342
342
|
"X-Fern-SDK-Name": "candidhealth",
|
|
343
|
-
"X-Fern-SDK-Version": "0.35.
|
|
343
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
344
344
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
345
345
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
346
346
|
},
|
|
@@ -408,7 +408,7 @@ class V1 {
|
|
|
408
408
|
Authorization: yield this._getAuthorizationHeader(),
|
|
409
409
|
"X-Fern-Language": "JavaScript",
|
|
410
410
|
"X-Fern-SDK-Name": "candidhealth",
|
|
411
|
-
"X-Fern-SDK-Version": "0.35.
|
|
411
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
412
412
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
413
413
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
414
414
|
},
|
|
@@ -461,7 +461,7 @@ class V1 {
|
|
|
461
461
|
Authorization: yield this._getAuthorizationHeader(),
|
|
462
462
|
"X-Fern-Language": "JavaScript",
|
|
463
463
|
"X-Fern-SDK-Name": "candidhealth",
|
|
464
|
-
"X-Fern-SDK-Version": "0.35.
|
|
464
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
465
465
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
466
466
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
467
467
|
},
|
|
@@ -514,7 +514,7 @@ class V1 {
|
|
|
514
514
|
Authorization: yield this._getAuthorizationHeader(),
|
|
515
515
|
"X-Fern-Language": "JavaScript",
|
|
516
516
|
"X-Fern-SDK-Name": "candidhealth",
|
|
517
|
-
"X-Fern-SDK-Version": "0.35.
|
|
517
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
518
518
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
519
519
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
520
520
|
},
|
|
@@ -565,7 +565,7 @@ class V1 {
|
|
|
565
565
|
Authorization: yield this._getAuthorizationHeader(),
|
|
566
566
|
"X-Fern-Language": "JavaScript",
|
|
567
567
|
"X-Fern-SDK-Name": "candidhealth",
|
|
568
|
-
"X-Fern-SDK-Version": "0.35.
|
|
568
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
569
569
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
570
570
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
571
571
|
},
|
|
@@ -7,7 +7,7 @@ export declare type Error = CandidApi.preEncounter.coverages.v1.getHistory.Error
|
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface NotFoundError extends _Utils {
|
|
9
9
|
errorName: "NotFoundError";
|
|
10
|
-
content: CandidApi.preEncounter.
|
|
10
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
11
11
|
}
|
|
12
12
|
interface _Unknown extends _Utils {
|
|
13
13
|
errorName: void;
|
|
@@ -17,12 +17,12 @@ export declare namespace Error {
|
|
|
17
17
|
_visit: <_Result>(visitor: CandidApi.preEncounter.coverages.v1.getHistory.Error._Visitor<_Result>) => _Result;
|
|
18
18
|
}
|
|
19
19
|
interface _Visitor<_Result> {
|
|
20
|
-
notFoundError: (value: CandidApi.preEncounter.
|
|
20
|
+
notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
21
21
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
export declare const Error: {
|
|
25
|
-
readonly notFoundError: (value: CandidApi.preEncounter.
|
|
25
|
+
readonly notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.coverages.v1.getHistory.Error.NotFoundError;
|
|
26
26
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.coverages.v1.getHistory.Error._Unknown;
|
|
27
27
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.coverages.v1.getHistory.Error, visitor: CandidApi.preEncounter.coverages.v1.getHistory.Error._Visitor<_Result>) => _Result;
|
|
28
28
|
};
|
|
@@ -7,7 +7,7 @@ export declare type Error = CandidApi.preEncounter.coverages.v1.update.Error.Not
|
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface NotFoundError extends _Utils {
|
|
9
9
|
errorName: "NotFoundError";
|
|
10
|
-
content: CandidApi.preEncounter.
|
|
10
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
11
11
|
}
|
|
12
12
|
interface VersionConflictError extends _Utils {
|
|
13
13
|
errorName: "VersionConflictError";
|
|
@@ -21,13 +21,13 @@ export declare namespace Error {
|
|
|
21
21
|
_visit: <_Result>(visitor: CandidApi.preEncounter.coverages.v1.update.Error._Visitor<_Result>) => _Result;
|
|
22
22
|
}
|
|
23
23
|
interface _Visitor<_Result> {
|
|
24
|
-
notFoundError: (value: CandidApi.preEncounter.
|
|
24
|
+
notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
25
25
|
versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => _Result;
|
|
26
26
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare const Error: {
|
|
30
|
-
readonly notFoundError: (value: CandidApi.preEncounter.
|
|
30
|
+
readonly notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.coverages.v1.update.Error.NotFoundError;
|
|
31
31
|
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.coverages.v1.update.Error.VersionConflictError;
|
|
32
32
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.coverages.v1.update.Error._Unknown;
|
|
33
33
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.coverages.v1.update.Error, visitor: CandidApi.preEncounter.coverages.v1.update.Error._Visitor<_Result>) => _Result;
|
|
@@ -5,15 +5,6 @@ import * as CandidApi from "../../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* A coverage object with immutable server-owned properties.
|
|
7
7
|
*/
|
|
8
|
-
export interface Coverage extends CandidApi.preEncounter.coverages.v1.MutableCoverage {
|
|
8
|
+
export interface Coverage extends CandidApi.preEncounter.BaseModel, CandidApi.preEncounter.coverages.v1.MutableCoverage {
|
|
9
9
|
id: CandidApi.preEncounter.CoverageId;
|
|
10
|
-
/** The organization that owns this coverage. */
|
|
11
|
-
organizationId: CandidApi.preEncounter.OrganizationId;
|
|
12
|
-
/** True if the coverage is deactivated. Deactivated coverages are not returned in search results but are returned in all other endpoints including scan. */
|
|
13
|
-
deactivated: boolean;
|
|
14
|
-
/** The version of the coverage. Any update to any property of a coverage object will create a new version. */
|
|
15
|
-
version: number;
|
|
16
|
-
updatedAt: Date;
|
|
17
|
-
/** The user ID of the user who last updated the coverage. */
|
|
18
|
-
updatingUserId: CandidApi.preEncounter.UserId;
|
|
19
10
|
}
|
|
@@ -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);
|
|
@@ -91,7 +91,7 @@ class V1 {
|
|
|
91
91
|
Authorization: yield this._getAuthorizationHeader(),
|
|
92
92
|
"X-Fern-Language": "JavaScript",
|
|
93
93
|
"X-Fern-SDK-Name": "candidhealth",
|
|
94
|
-
"X-Fern-SDK-Version": "0.35.
|
|
94
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
95
95
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
96
96
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
97
97
|
},
|
|
@@ -176,7 +176,7 @@ class V1 {
|
|
|
176
176
|
Authorization: yield this._getAuthorizationHeader(),
|
|
177
177
|
"X-Fern-Language": "JavaScript",
|
|
178
178
|
"X-Fern-SDK-Name": "candidhealth",
|
|
179
|
-
"X-Fern-SDK-Version": "0.35.
|
|
179
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
180
180
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
181
181
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
182
182
|
},
|
|
@@ -7,7 +7,7 @@ export declare type Error = CandidApi.preEncounter.lists.v1.getPatientList.Error
|
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface BadRequestError extends _Utils {
|
|
9
9
|
errorName: "BadRequestError";
|
|
10
|
-
content: CandidApi.preEncounter.
|
|
10
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
11
11
|
}
|
|
12
12
|
interface _Unknown extends _Utils {
|
|
13
13
|
errorName: void;
|
|
@@ -17,12 +17,12 @@ export declare namespace Error {
|
|
|
17
17
|
_visit: <_Result>(visitor: CandidApi.preEncounter.lists.v1.getPatientList.Error._Visitor<_Result>) => _Result;
|
|
18
18
|
}
|
|
19
19
|
interface _Visitor<_Result> {
|
|
20
|
-
badRequestError: (value: CandidApi.preEncounter.
|
|
20
|
+
badRequestError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
21
21
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
export declare const Error: {
|
|
25
|
-
readonly badRequestError: (value: CandidApi.preEncounter.
|
|
25
|
+
readonly badRequestError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.lists.v1.getPatientList.Error.BadRequestError;
|
|
26
26
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.lists.v1.getPatientList.Error._Unknown;
|
|
27
27
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.lists.v1.getPatientList.Error, visitor: CandidApi.preEncounter.lists.v1.getPatientList.Error._Visitor<_Result>) => _Result;
|
|
28
28
|
};
|
package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../../../index";
|
|
5
5
|
/**
|
|
6
|
-
* A serialized list of filters separated by commas indicating filters to apply. Each filter is of the form 'path:operator:value'. Example: 'patient.mrn|eq|12345'. Filters are separated by commas. Example: 'patient.mrn|eq|12345,appointment.startDate|gt|67890'. All filters are ANDed together. Valid operators are 'eq', 'gt', 'lt'. Path values are camelCase.
|
|
6
|
+
* A serialized list of filters separated by commas indicating filters to apply. Each filter is of the form 'path:operator:value'. Example: 'patient.mrn|eq|12345'. Filters are separated by commas. Example: 'patient.mrn|eq|12345,appointment.startDate|gt|67890'. All filters are ANDed together. Valid operators are 'eq', 'gt', 'lt', 'contains'. Path values are camelCase.
|
|
7
7
|
*/
|
|
8
8
|
export declare type FilterQueryString = string & {
|
|
9
9
|
preEncounter_lists_v1_FilterQueryString: void;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import { V1 } from "../resources/v1/client/Client";
|
|
7
|
+
export declare namespace Notes {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
interface RequestOptions {
|
|
13
|
+
/** The maximum time to wait for a response in seconds. */
|
|
14
|
+
timeoutInSeconds?: number;
|
|
15
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
16
|
+
maxRetries?: number;
|
|
17
|
+
/** A hook to abort the request. */
|
|
18
|
+
abortSignal?: AbortSignal;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare class Notes {
|
|
22
|
+
protected readonly _options: Notes.Options;
|
|
23
|
+
constructor(_options?: Notes.Options);
|
|
24
|
+
protected _v1: V1 | undefined;
|
|
25
|
+
get v1(): V1;
|
|
26
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Notes = void 0;
|
|
7
|
+
const Client_1 = require("../resources/v1/client/Client");
|
|
8
|
+
class Notes {
|
|
9
|
+
constructor(_options = {}) {
|
|
10
|
+
this._options = _options;
|
|
11
|
+
}
|
|
12
|
+
get v1() {
|
|
13
|
+
var _a;
|
|
14
|
+
return ((_a = this._v1) !== null && _a !== void 0 ? _a : (this._v1 = new Client_1.V1(this._options)));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.Notes = Notes;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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("./resources"), exports);
|
|
18
|
+
__exportStar(require("./client"), 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"));
|