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
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* A Note object with immutable server-owned properties.
|
|
7
|
+
*/
|
|
8
|
+
export interface Note extends CandidApi.preEncounter.BaseModel, CandidApi.preEncounter.notes.v1.MutableNote {
|
|
9
|
+
id: CandidApi.preEncounter.NoteId;
|
|
10
|
+
createdAt: Date;
|
|
11
|
+
}
|
|
@@ -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);
|
|
@@ -188,13 +188,15 @@ export declare class V1 {
|
|
|
188
188
|
* referralNumber: "string"
|
|
189
189
|
* }],
|
|
190
190
|
* primaryServiceFacilityId: "string",
|
|
191
|
-
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy
|
|
191
|
+
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy,
|
|
192
|
+
* noteIds: [CandidApi.preEncounter.NoteId("string")],
|
|
193
|
+
* tagIds: [CandidApi.preEncounter.TagId("string")]
|
|
192
194
|
* }
|
|
193
195
|
* })
|
|
194
196
|
*/
|
|
195
197
|
create(request: CandidApi.preEncounter.patients.v1.CreatePatientRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.create.Error>>;
|
|
196
198
|
/**
|
|
197
|
-
* Adds a patient and hydrates their MRN with a pre-existing MRN. Once this patient is created their MRN will not be editable.
|
|
199
|
+
* Adds a patient and hydrates their MRN with a pre-existing MRN. Once this patient is created their MRN will not be editable. BadRequestError is returned when the MRN is greater than 20 characters. VersionConflictError is returned when the patient's external ID is already in use.
|
|
198
200
|
*
|
|
199
201
|
* @param {CandidApi.preEncounter.patients.v1.CreatePatientWithMrnRequest} request
|
|
200
202
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -361,7 +363,9 @@ export declare class V1 {
|
|
|
361
363
|
* referralNumber: "string"
|
|
362
364
|
* }],
|
|
363
365
|
* primaryServiceFacilityId: "string",
|
|
364
|
-
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy
|
|
366
|
+
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy,
|
|
367
|
+
* noteIds: [CandidApi.preEncounter.NoteId("string")],
|
|
368
|
+
* tagIds: [CandidApi.preEncounter.TagId("string")]
|
|
365
369
|
* }
|
|
366
370
|
* })
|
|
367
371
|
*/
|
|
@@ -569,7 +573,9 @@ export declare class V1 {
|
|
|
569
573
|
* referralNumber: "string"
|
|
570
574
|
* }],
|
|
571
575
|
* primaryServiceFacilityId: "string",
|
|
572
|
-
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy
|
|
576
|
+
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy,
|
|
577
|
+
* noteIds: [CandidApi.preEncounter.NoteId("string")],
|
|
578
|
+
* tagIds: [CandidApi.preEncounter.TagId("string")]
|
|
573
579
|
* })
|
|
574
580
|
*/
|
|
575
581
|
update(id: CandidApi.preEncounter.PatientId, version: string, request: CandidApi.preEncounter.patients.v1.MutablePatient, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.update.Error>>;
|
|
@@ -215,7 +215,9 @@ class V1 {
|
|
|
215
215
|
* referralNumber: "string"
|
|
216
216
|
* }],
|
|
217
217
|
* primaryServiceFacilityId: "string",
|
|
218
|
-
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy
|
|
218
|
+
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy,
|
|
219
|
+
* noteIds: [CandidApi.preEncounter.NoteId("string")],
|
|
220
|
+
* tagIds: [CandidApi.preEncounter.TagId("string")]
|
|
219
221
|
* }
|
|
220
222
|
* })
|
|
221
223
|
*/
|
|
@@ -235,7 +237,7 @@ class V1 {
|
|
|
235
237
|
Authorization: yield this._getAuthorizationHeader(),
|
|
236
238
|
"X-Fern-Language": "JavaScript",
|
|
237
239
|
"X-Fern-SDK-Name": "candidhealth",
|
|
238
|
-
"X-Fern-SDK-Version": "0.35.
|
|
240
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
239
241
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
240
242
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
241
243
|
},
|
|
@@ -263,7 +265,6 @@ class V1 {
|
|
|
263
265
|
if (_response.error.reason === "status-code") {
|
|
264
266
|
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
265
267
|
case "VersionConflictError":
|
|
266
|
-
case "PotentialDuplicatePatients":
|
|
267
268
|
return {
|
|
268
269
|
ok: false,
|
|
269
270
|
error: serializers.preEncounter.patients.v1.create.Error.parseOrThrow(_response.error.body, {
|
|
@@ -282,7 +283,7 @@ class V1 {
|
|
|
282
283
|
});
|
|
283
284
|
}
|
|
284
285
|
/**
|
|
285
|
-
* Adds a patient and hydrates their MRN with a pre-existing MRN. Once this patient is created their MRN will not be editable.
|
|
286
|
+
* Adds a patient and hydrates their MRN with a pre-existing MRN. Once this patient is created their MRN will not be editable. BadRequestError is returned when the MRN is greater than 20 characters. VersionConflictError is returned when the patient's external ID is already in use.
|
|
286
287
|
*
|
|
287
288
|
* @param {CandidApi.preEncounter.patients.v1.CreatePatientWithMrnRequest} request
|
|
288
289
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -449,7 +450,9 @@ class V1 {
|
|
|
449
450
|
* referralNumber: "string"
|
|
450
451
|
* }],
|
|
451
452
|
* primaryServiceFacilityId: "string",
|
|
452
|
-
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy
|
|
453
|
+
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy,
|
|
454
|
+
* noteIds: [CandidApi.preEncounter.NoteId("string")],
|
|
455
|
+
* tagIds: [CandidApi.preEncounter.TagId("string")]
|
|
453
456
|
* }
|
|
454
457
|
* })
|
|
455
458
|
*/
|
|
@@ -469,7 +472,7 @@ class V1 {
|
|
|
469
472
|
Authorization: yield this._getAuthorizationHeader(),
|
|
470
473
|
"X-Fern-Language": "JavaScript",
|
|
471
474
|
"X-Fern-SDK-Name": "candidhealth",
|
|
472
|
-
"X-Fern-SDK-Version": "0.35.
|
|
475
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
473
476
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
474
477
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
475
478
|
},
|
|
@@ -497,8 +500,7 @@ class V1 {
|
|
|
497
500
|
if (_response.error.reason === "status-code") {
|
|
498
501
|
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
499
502
|
case "VersionConflictError":
|
|
500
|
-
case "
|
|
501
|
-
case "InvalidMRNError":
|
|
503
|
+
case "BadRequestError":
|
|
502
504
|
return {
|
|
503
505
|
ok: false,
|
|
504
506
|
error: serializers.preEncounter.patients.v1.createWithMrn.Error.parseOrThrow(_response.error.body, {
|
|
@@ -559,7 +561,7 @@ class V1 {
|
|
|
559
561
|
Authorization: yield this._getAuthorizationHeader(),
|
|
560
562
|
"X-Fern-Language": "JavaScript",
|
|
561
563
|
"X-Fern-SDK-Name": "candidhealth",
|
|
562
|
-
"X-Fern-SDK-Version": "0.35.
|
|
564
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
563
565
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
564
566
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
565
567
|
},
|
|
@@ -607,7 +609,7 @@ class V1 {
|
|
|
607
609
|
Authorization: yield this._getAuthorizationHeader(),
|
|
608
610
|
"X-Fern-Language": "JavaScript",
|
|
609
611
|
"X-Fern-SDK-Name": "candidhealth",
|
|
610
|
-
"X-Fern-SDK-Version": "0.35.
|
|
612
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
611
613
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
612
614
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
613
615
|
},
|
|
@@ -668,7 +670,7 @@ class V1 {
|
|
|
668
670
|
Authorization: yield this._getAuthorizationHeader(),
|
|
669
671
|
"X-Fern-Language": "JavaScript",
|
|
670
672
|
"X-Fern-SDK-Name": "candidhealth",
|
|
671
|
-
"X-Fern-SDK-Version": "0.35.
|
|
673
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
672
674
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
673
675
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
674
676
|
},
|
|
@@ -876,7 +878,9 @@ class V1 {
|
|
|
876
878
|
* referralNumber: "string"
|
|
877
879
|
* }],
|
|
878
880
|
* primaryServiceFacilityId: "string",
|
|
879
|
-
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy
|
|
881
|
+
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy,
|
|
882
|
+
* noteIds: [CandidApi.preEncounter.NoteId("string")],
|
|
883
|
+
* tagIds: [CandidApi.preEncounter.TagId("string")]
|
|
880
884
|
* })
|
|
881
885
|
*/
|
|
882
886
|
update(id, version, request, requestOptions) {
|
|
@@ -890,7 +894,7 @@ class V1 {
|
|
|
890
894
|
Authorization: yield this._getAuthorizationHeader(),
|
|
891
895
|
"X-Fern-Language": "JavaScript",
|
|
892
896
|
"X-Fern-SDK-Name": "candidhealth",
|
|
893
|
-
"X-Fern-SDK-Version": "0.35.
|
|
897
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
894
898
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
895
899
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
896
900
|
},
|
|
@@ -956,7 +960,7 @@ class V1 {
|
|
|
956
960
|
Authorization: yield this._getAuthorizationHeader(),
|
|
957
961
|
"X-Fern-Language": "JavaScript",
|
|
958
962
|
"X-Fern-SDK-Name": "candidhealth",
|
|
959
|
-
"X-Fern-SDK-Version": "0.35.
|
|
963
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
960
964
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
961
965
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
962
966
|
},
|
|
@@ -1024,7 +1028,7 @@ class V1 {
|
|
|
1024
1028
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1025
1029
|
"X-Fern-Language": "JavaScript",
|
|
1026
1030
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1027
|
-
"X-Fern-SDK-Version": "0.35.
|
|
1031
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
1028
1032
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1029
1033
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1030
1034
|
},
|
|
@@ -1077,7 +1081,7 @@ class V1 {
|
|
|
1077
1081
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1078
1082
|
"X-Fern-Language": "JavaScript",
|
|
1079
1083
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1080
|
-
"X-Fern-SDK-Version": "0.35.
|
|
1084
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
1081
1085
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1082
1086
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1083
1087
|
},
|
|
@@ -3,16 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.preEncounter.patients.v1.create.Error.VersionConflictError | CandidApi.preEncounter.patients.v1.create.Error.
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.patients.v1.create.Error.VersionConflictError | CandidApi.preEncounter.patients.v1.create.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface VersionConflictError extends _Utils {
|
|
9
9
|
errorName: "VersionConflictError";
|
|
10
10
|
content: CandidApi.preEncounter.VersionConflictErrorBody;
|
|
11
11
|
}
|
|
12
|
-
interface PotentialDuplicatePatients extends _Utils {
|
|
13
|
-
errorName: "PotentialDuplicatePatients";
|
|
14
|
-
content: CandidApi.preEncounter.patients.v1.PotentialDuplicatePatientsErrorBody;
|
|
15
|
-
}
|
|
16
12
|
interface _Unknown extends _Utils {
|
|
17
13
|
errorName: void;
|
|
18
14
|
content: core.Fetcher.Error;
|
|
@@ -22,13 +18,11 @@ export declare namespace Error {
|
|
|
22
18
|
}
|
|
23
19
|
interface _Visitor<_Result> {
|
|
24
20
|
versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => _Result;
|
|
25
|
-
potentialDuplicatePatients: (value: CandidApi.preEncounter.patients.v1.PotentialDuplicatePatientsErrorBody) => _Result;
|
|
26
21
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
22
|
}
|
|
28
23
|
}
|
|
29
24
|
export declare const Error: {
|
|
30
25
|
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.patients.v1.create.Error.VersionConflictError;
|
|
31
|
-
readonly potentialDuplicatePatients: (value: CandidApi.preEncounter.patients.v1.PotentialDuplicatePatientsErrorBody) => CandidApi.preEncounter.patients.v1.create.Error.PotentialDuplicatePatients;
|
|
32
26
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.create.Error._Unknown;
|
|
33
27
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.create.Error, visitor: CandidApi.preEncounter.patients.v1.create.Error._Visitor<_Result>) => _Result;
|
|
34
28
|
};
|
|
@@ -38,15 +38,6 @@ exports.Error = {
|
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
41
|
-
potentialDuplicatePatients: (value) => {
|
|
42
|
-
return {
|
|
43
|
-
content: value,
|
|
44
|
-
errorName: "PotentialDuplicatePatients",
|
|
45
|
-
_visit: function (visitor) {
|
|
46
|
-
return CandidApi.preEncounter.patients.v1.create.Error._visit(this, visitor);
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
},
|
|
50
41
|
_unknown: (fetcherError) => {
|
|
51
42
|
return {
|
|
52
43
|
errorName: undefined,
|
|
@@ -60,8 +51,6 @@ exports.Error = {
|
|
|
60
51
|
switch (value.errorName) {
|
|
61
52
|
case "VersionConflictError":
|
|
62
53
|
return visitor.versionConflictError(value.content);
|
|
63
|
-
case "PotentialDuplicatePatients":
|
|
64
|
-
return visitor.potentialDuplicatePatients(value.content);
|
|
65
54
|
default:
|
|
66
55
|
return visitor._other(value);
|
|
67
56
|
}
|
package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts
CHANGED
|
@@ -3,19 +3,15 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.preEncounter.patients.v1.createWithMrn.Error.VersionConflictError | CandidApi.preEncounter.patients.v1.createWithMrn.Error.
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.patients.v1.createWithMrn.Error.VersionConflictError | CandidApi.preEncounter.patients.v1.createWithMrn.Error.BadRequestError | CandidApi.preEncounter.patients.v1.createWithMrn.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface VersionConflictError extends _Utils {
|
|
9
9
|
errorName: "VersionConflictError";
|
|
10
10
|
content: CandidApi.preEncounter.VersionConflictErrorBody;
|
|
11
11
|
}
|
|
12
|
-
interface
|
|
13
|
-
errorName: "
|
|
14
|
-
content: CandidApi.preEncounter.
|
|
15
|
-
}
|
|
16
|
-
interface InvalidMrnError extends _Utils {
|
|
17
|
-
errorName: "InvalidMRNError";
|
|
18
|
-
content: CandidApi.preEncounter.patients.v1.InvalidMrnErrorBody;
|
|
12
|
+
interface BadRequestError extends _Utils {
|
|
13
|
+
errorName: "BadRequestError";
|
|
14
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
19
15
|
}
|
|
20
16
|
interface _Unknown extends _Utils {
|
|
21
17
|
errorName: void;
|
|
@@ -26,15 +22,13 @@ export declare namespace Error {
|
|
|
26
22
|
}
|
|
27
23
|
interface _Visitor<_Result> {
|
|
28
24
|
versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => _Result;
|
|
29
|
-
|
|
30
|
-
invalidMrnError: (value: CandidApi.preEncounter.patients.v1.InvalidMrnErrorBody) => _Result;
|
|
25
|
+
badRequestError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
31
26
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
32
27
|
}
|
|
33
28
|
}
|
|
34
29
|
export declare const Error: {
|
|
35
30
|
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.patients.v1.createWithMrn.Error.VersionConflictError;
|
|
36
|
-
readonly
|
|
37
|
-
readonly invalidMrnError: (value: CandidApi.preEncounter.patients.v1.InvalidMrnErrorBody) => CandidApi.preEncounter.patients.v1.createWithMrn.Error.InvalidMrnError;
|
|
31
|
+
readonly badRequestError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.patients.v1.createWithMrn.Error.BadRequestError;
|
|
38
32
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.createWithMrn.Error._Unknown;
|
|
39
33
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.createWithMrn.Error, visitor: CandidApi.preEncounter.patients.v1.createWithMrn.Error._Visitor<_Result>) => _Result;
|
|
40
34
|
};
|
|
@@ -38,19 +38,10 @@ exports.Error = {
|
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
41
|
-
|
|
41
|
+
badRequestError: (value) => {
|
|
42
42
|
return {
|
|
43
43
|
content: value,
|
|
44
|
-
errorName: "
|
|
45
|
-
_visit: function (visitor) {
|
|
46
|
-
return CandidApi.preEncounter.patients.v1.createWithMrn.Error._visit(this, visitor);
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
},
|
|
50
|
-
invalidMrnError: (value) => {
|
|
51
|
-
return {
|
|
52
|
-
content: value,
|
|
53
|
-
errorName: "InvalidMRNError",
|
|
44
|
+
errorName: "BadRequestError",
|
|
54
45
|
_visit: function (visitor) {
|
|
55
46
|
return CandidApi.preEncounter.patients.v1.createWithMrn.Error._visit(this, visitor);
|
|
56
47
|
},
|
|
@@ -69,10 +60,8 @@ exports.Error = {
|
|
|
69
60
|
switch (value.errorName) {
|
|
70
61
|
case "VersionConflictError":
|
|
71
62
|
return visitor.versionConflictError(value.content);
|
|
72
|
-
case "
|
|
73
|
-
return visitor.
|
|
74
|
-
case "InvalidMRNError":
|
|
75
|
-
return visitor.invalidMrnError(value.content);
|
|
63
|
+
case "BadRequestError":
|
|
64
|
+
return visitor.badRequestError(value.content);
|
|
76
65
|
default:
|
|
77
66
|
return visitor._other(value);
|
|
78
67
|
}
|
|
@@ -7,7 +7,7 @@ export declare type Error = CandidApi.preEncounter.patients.v1.deactivate.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.patients.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.patients.v1.deactivate.Error.NotFoundError;
|
|
31
31
|
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.patients.v1.deactivate.Error.VersionConflictError;
|
|
32
32
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.deactivate.Error._Unknown;
|
|
33
33
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.deactivate.Error, visitor: CandidApi.preEncounter.patients.v1.deactivate.Error._Visitor<_Result>) => _Result;
|
|
@@ -7,7 +7,7 @@ export declare type Error = CandidApi.preEncounter.patients.v1.get.Error.NotFoun
|
|
|
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.patients.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.patients.v1.get.Error.NotFoundError;
|
|
26
26
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.get.Error._Unknown;
|
|
27
27
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.get.Error, visitor: CandidApi.preEncounter.patients.v1.get.Error._Visitor<_Result>) => _Result;
|
|
28
28
|
};
|
|
@@ -7,7 +7,7 @@ export declare type Error = CandidApi.preEncounter.patients.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.patients.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.patients.v1.getHistory.Error.NotFoundError;
|
|
26
26
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.getHistory.Error._Unknown;
|
|
27
27
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.getHistory.Error, visitor: CandidApi.preEncounter.patients.v1.getHistory.Error._Visitor<_Result>) => _Result;
|
|
28
28
|
};
|
|
@@ -164,7 +164,9 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
164
164
|
* referralNumber: "string"
|
|
165
165
|
* }],
|
|
166
166
|
* primaryServiceFacilityId: "string",
|
|
167
|
-
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy
|
|
167
|
+
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy,
|
|
168
|
+
* noteIds: [CandidApi.preEncounter.NoteId("string")],
|
|
169
|
+
* tagIds: [CandidApi.preEncounter.TagId("string")]
|
|
168
170
|
* }
|
|
169
171
|
* }
|
|
170
172
|
*/
|
|
@@ -165,7 +165,9 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
165
165
|
* referralNumber: "string"
|
|
166
166
|
* }],
|
|
167
167
|
* primaryServiceFacilityId: "string",
|
|
168
|
-
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy
|
|
168
|
+
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy,
|
|
169
|
+
* noteIds: [CandidApi.preEncounter.NoteId("string")],
|
|
170
|
+
* tagIds: [CandidApi.preEncounter.TagId("string")]
|
|
169
171
|
* }
|
|
170
172
|
* }
|
|
171
173
|
*/
|
|
@@ -7,7 +7,7 @@ export declare type Error = CandidApi.preEncounter.patients.v1.update.Error.NotF
|
|
|
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.patients.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.patients.v1.update.Error.NotFoundError;
|
|
31
31
|
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.patients.v1.update.Error.VersionConflictError;
|
|
32
32
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.update.Error._Unknown;
|
|
33
33
|
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.update.Error, visitor: CandidApi.preEncounter.patients.v1.update.Error._Visitor<_Result>) => _Result;
|
package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts
CHANGED
|
@@ -51,4 +51,6 @@ export interface MutablePatient {
|
|
|
51
51
|
primaryServiceFacilityId?: string;
|
|
52
52
|
/** If this value is defined, the customer will not be invoiced. */
|
|
53
53
|
doNotInvoiceReason?: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason;
|
|
54
|
+
noteIds?: CandidApi.preEncounter.NoteId[];
|
|
55
|
+
tagIds?: CandidApi.preEncounter.TagId[];
|
|
54
56
|
}
|
|
@@ -5,18 +5,9 @@ import * as CandidApi from "../../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* A patient object with immutable server-owned properties.
|
|
7
7
|
*/
|
|
8
|
-
export interface Patient extends CandidApi.preEncounter.patients.v1.MutablePatient {
|
|
8
|
+
export interface Patient extends CandidApi.preEncounter.BaseModel, CandidApi.preEncounter.patients.v1.MutablePatient {
|
|
9
9
|
/** The unique UUID identifier for a Patient. Patient ID is used in machine contexts. */
|
|
10
10
|
id: CandidApi.preEncounter.PatientId;
|
|
11
11
|
/** The medical record number for the patient. Human-friendly Candid generated MRNs are of the form "YYMMDDXXXX", where "YYYYMMDD" is the date of patient creation and "XXXX" is a zero-padded incrementing integer. */
|
|
12
12
|
mrn: string;
|
|
13
|
-
/** The organization that owns this patient. */
|
|
14
|
-
organizationId: CandidApi.preEncounter.OrganizationId;
|
|
15
|
-
/** True if the patient is deactivated. Deactivated patients are not returned in search results but are returned in all other endpoints including scan. */
|
|
16
|
-
deactivated: boolean;
|
|
17
|
-
/** The version of the patient. Any update to any property of a patient object will create a new version. */
|
|
18
|
-
version: number;
|
|
19
|
-
updatedAt: Date;
|
|
20
|
-
/** The user ID of the user who last updated the patient. */
|
|
21
|
-
updatingUserId: CandidApi.preEncounter.UserId;
|
|
22
13
|
}
|
|
@@ -8,9 +8,6 @@ export * from "./MutablePatient";
|
|
|
8
8
|
export * from "./MutablePatientWithMrn";
|
|
9
9
|
export * from "./Patient";
|
|
10
10
|
export * from "./PatientPage";
|
|
11
|
-
export * from "./PotentialDuplicatePatient";
|
|
12
|
-
export * from "./PotentialDuplicatePatientsErrorBody";
|
|
13
|
-
export * from "./InvalidMrnErrorBody";
|
|
14
11
|
export * from "./AuthorizationUnit";
|
|
15
12
|
export * from "./Authorization";
|
|
16
13
|
export * from "./Referral";
|
|
@@ -24,9 +24,6 @@ __exportStar(require("./MutablePatient"), exports);
|
|
|
24
24
|
__exportStar(require("./MutablePatientWithMrn"), exports);
|
|
25
25
|
__exportStar(require("./Patient"), exports);
|
|
26
26
|
__exportStar(require("./PatientPage"), exports);
|
|
27
|
-
__exportStar(require("./PotentialDuplicatePatient"), exports);
|
|
28
|
-
__exportStar(require("./PotentialDuplicatePatientsErrorBody"), exports);
|
|
29
|
-
__exportStar(require("./InvalidMrnErrorBody"), exports);
|
|
30
27
|
__exportStar(require("./AuthorizationUnit"), exports);
|
|
31
28
|
__exportStar(require("./Authorization"), exports);
|
|
32
29
|
__exportStar(require("./Referral"), exports);
|
|
@@ -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 Tags {
|
|
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 Tags {
|
|
22
|
+
protected readonly _options: Tags.Options;
|
|
23
|
+
constructor(_options?: Tags.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.Tags = void 0;
|
|
7
|
+
const Client_1 = require("../resources/v1/client/Client");
|
|
8
|
+
class Tags {
|
|
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.Tags = Tags;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|