candidhealth 0.35.2 → 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.js +5 -5
- 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/types/Appointment.d.ts +1 -10
- package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +15 -0
- package/api/resources/preEncounter/resources/common/types/BaseModel.js +5 -0
- package/api/resources/preEncounter/resources/common/types/NoteId.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/NoteId.js +10 -0
- package/api/resources/preEncounter/resources/common/types/TagId.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/TagId.js +10 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/common/types/index.js +3 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +1 -10
- package/api/resources/preEncounter/resources/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/index.js +3 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/api/resources/preEncounter/resources/notes/client/Client.d.ts +26 -0
- package/api/resources/preEncounter/resources/notes/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/notes/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/notes/client/index.js +2 -0
- package/api/resources/preEncounter/resources/notes/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/notes/index.js +18 -0
- package/api/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/notes/resources/index.js +27 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +76 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +261 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/create.d.ts +22 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/create.js +47 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.d.ts +22 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.js +47 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/get.d.ts +22 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/get.js +47 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/index.d.ts +4 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/index.js +30 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/update.d.ts +22 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/update.js +47 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +11 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js +5 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +11 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/Note.js +5 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +18 -12
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +3 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +3 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -10
- package/api/resources/preEncounter/resources/tags/client/Client.d.ts +26 -0
- package/api/resources/preEncounter/resources/tags/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/tags/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/tags/client/index.js +2 -0
- package/api/resources/preEncounter/resources/tags/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/tags/index.js +18 -0
- package/api/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/tags/resources/index.js +27 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +85 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +312 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/create.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/create.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/get.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/get.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +6 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +35 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +15 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.js +5 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.js +2 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/update.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/update.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +9 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +5 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +10 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +5 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +7 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js +5 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.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/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.js +5 -5
- 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/types/Appointment.d.ts +1 -10
- package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/common/types/BaseModel.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/NoteId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/NoteId.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/TagId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/TagId.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +3 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +1 -10
- package/dist/api/resources/preEncounter/resources/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/index.js +3 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/notes/client/Client.d.ts +26 -0
- package/dist/api/resources/preEncounter/resources/notes/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/notes/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/notes/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/notes/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/notes/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/index.js +27 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +76 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +261 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/create.js +47 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.js +47 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/get.js +47 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/index.js +30 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/update.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/update.js +47 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js +5 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/Note.js +5 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +18 -12
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +3 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +3 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -10
- package/dist/api/resources/preEncounter/resources/tags/client/Client.d.ts +26 -0
- package/dist/api/resources/preEncounter/resources/tags/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/tags/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/tags/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/tags/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/index.js +27 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +85 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +312 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/create.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/get.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +6 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +35 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/update.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/update.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +5 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +5 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js +5 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.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/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +2 -8
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +2 -7
- package/dist/serialization/resources/preEncounter/resources/common/types/BaseModel.d.ts +18 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/BaseModel.js +39 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/NoteId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/NoteId.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/TagId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/TagId.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +3 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +2 -8
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js +2 -7
- package/dist/serialization/resources/preEncounter/resources/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/index.js +3 -1
- package/dist/serialization/resources/preEncounter/resources/notes/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/notes/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/index.js +27 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.js +40 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -8
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +2 -7
- package/dist/serialization/resources/preEncounter/resources/tags/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/tags/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/index.js +27 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +12 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +33 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +39 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js +37 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
- package/package.json +1 -1
- package/reference.md +1225 -585
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +2 -8
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +2 -7
- package/serialization/resources/preEncounter/resources/common/types/BaseModel.d.ts +18 -0
- package/serialization/resources/preEncounter/resources/common/types/BaseModel.js +39 -0
- package/serialization/resources/preEncounter/resources/common/types/NoteId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/NoteId.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/TagId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/TagId.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +3 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +2 -8
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js +2 -7
- package/serialization/resources/preEncounter/resources/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/index.js +3 -1
- package/serialization/resources/preEncounter/resources/notes/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/notes/index.js +17 -0
- package/serialization/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/notes/resources/index.js +27 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js +35 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.js +40 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +4 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -8
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +2 -7
- package/serialization/resources/preEncounter/resources/tags/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/tags/index.js +17 -0
- package/serialization/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/tags/resources/index.js +27 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +12 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +33 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +39 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js +37 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.preEncounter.notes.v1.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -0,0 +1,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,7 +188,9 @@ 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
|
*/
|
|
@@ -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
|
},
|
|
@@ -448,7 +450,9 @@ class V1 {
|
|
|
448
450
|
* referralNumber: "string"
|
|
449
451
|
* }],
|
|
450
452
|
* primaryServiceFacilityId: "string",
|
|
451
|
-
* 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")]
|
|
452
456
|
* }
|
|
453
457
|
* })
|
|
454
458
|
*/
|
|
@@ -468,7 +472,7 @@ class V1 {
|
|
|
468
472
|
Authorization: yield this._getAuthorizationHeader(),
|
|
469
473
|
"X-Fern-Language": "JavaScript",
|
|
470
474
|
"X-Fern-SDK-Name": "candidhealth",
|
|
471
|
-
"X-Fern-SDK-Version": "0.35.
|
|
475
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
472
476
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
473
477
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
474
478
|
},
|
|
@@ -557,7 +561,7 @@ class V1 {
|
|
|
557
561
|
Authorization: yield this._getAuthorizationHeader(),
|
|
558
562
|
"X-Fern-Language": "JavaScript",
|
|
559
563
|
"X-Fern-SDK-Name": "candidhealth",
|
|
560
|
-
"X-Fern-SDK-Version": "0.35.
|
|
564
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
561
565
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
562
566
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
563
567
|
},
|
|
@@ -605,7 +609,7 @@ class V1 {
|
|
|
605
609
|
Authorization: yield this._getAuthorizationHeader(),
|
|
606
610
|
"X-Fern-Language": "JavaScript",
|
|
607
611
|
"X-Fern-SDK-Name": "candidhealth",
|
|
608
|
-
"X-Fern-SDK-Version": "0.35.
|
|
612
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
609
613
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
610
614
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
611
615
|
},
|
|
@@ -666,7 +670,7 @@ class V1 {
|
|
|
666
670
|
Authorization: yield this._getAuthorizationHeader(),
|
|
667
671
|
"X-Fern-Language": "JavaScript",
|
|
668
672
|
"X-Fern-SDK-Name": "candidhealth",
|
|
669
|
-
"X-Fern-SDK-Version": "0.35.
|
|
673
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
670
674
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
671
675
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
672
676
|
},
|
|
@@ -874,7 +878,9 @@ class V1 {
|
|
|
874
878
|
* referralNumber: "string"
|
|
875
879
|
* }],
|
|
876
880
|
* primaryServiceFacilityId: "string",
|
|
877
|
-
* 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")]
|
|
878
884
|
* })
|
|
879
885
|
*/
|
|
880
886
|
update(id, version, request, requestOptions) {
|
|
@@ -888,7 +894,7 @@ class V1 {
|
|
|
888
894
|
Authorization: yield this._getAuthorizationHeader(),
|
|
889
895
|
"X-Fern-Language": "JavaScript",
|
|
890
896
|
"X-Fern-SDK-Name": "candidhealth",
|
|
891
|
-
"X-Fern-SDK-Version": "0.35.
|
|
897
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
892
898
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
893
899
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
894
900
|
},
|
|
@@ -954,7 +960,7 @@ class V1 {
|
|
|
954
960
|
Authorization: yield this._getAuthorizationHeader(),
|
|
955
961
|
"X-Fern-Language": "JavaScript",
|
|
956
962
|
"X-Fern-SDK-Name": "candidhealth",
|
|
957
|
-
"X-Fern-SDK-Version": "0.35.
|
|
963
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
958
964
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
959
965
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
960
966
|
},
|
|
@@ -1022,7 +1028,7 @@ class V1 {
|
|
|
1022
1028
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1023
1029
|
"X-Fern-Language": "JavaScript",
|
|
1024
1030
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1025
|
-
"X-Fern-SDK-Version": "0.35.
|
|
1031
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
1026
1032
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1027
1033
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1028
1034
|
},
|
|
@@ -1075,7 +1081,7 @@ class V1 {
|
|
|
1075
1081
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1076
1082
|
"X-Fern-Language": "JavaScript",
|
|
1077
1083
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1078
|
-
"X-Fern-SDK-Version": "0.35.
|
|
1084
|
+
"X-Fern-SDK-Version": "0.35.3",
|
|
1079
1085
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1080
1086
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1081
1087
|
},
|
|
@@ -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
|
*/
|
package/dist/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
|
}
|
|
@@ -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 {};
|
|
@@ -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"));
|
|
@@ -0,0 +1,85 @@
|
|
|
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 * as CandidApi from "../../../../../../../index";
|
|
7
|
+
export declare namespace V1 {
|
|
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 V1 {
|
|
22
|
+
protected readonly _options: V1.Options;
|
|
23
|
+
constructor(_options?: V1.Options);
|
|
24
|
+
/**
|
|
25
|
+
* Gets a tag by TagId.
|
|
26
|
+
*
|
|
27
|
+
* @param {CandidApi.preEncounter.TagId} id
|
|
28
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* await client.preEncounter.tags.v1.get(CandidApi.preEncounter.TagId("string"))
|
|
32
|
+
*/
|
|
33
|
+
get(id: CandidApi.preEncounter.TagId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.tags.v1.Tag, CandidApi.preEncounter.tags.v1.get.Error>>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets all tags. Defaults to page size of 1000.
|
|
36
|
+
*
|
|
37
|
+
* @param {CandidApi.preEncounter.tags.v1.GetAllTagsRequest} request
|
|
38
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* await client.preEncounter.tags.v1.getAll({
|
|
42
|
+
* limit: 1,
|
|
43
|
+
* pageToken: CandidApi.preEncounter.PageToken("string")
|
|
44
|
+
* })
|
|
45
|
+
*/
|
|
46
|
+
getAll(request?: CandidApi.preEncounter.tags.v1.GetAllTagsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.tags.v1.TagPage, CandidApi.preEncounter.tags.v1.getAll.Error>>;
|
|
47
|
+
/**
|
|
48
|
+
* Adds a new tag if it does not already exist, otherwise, returns the existing tag.
|
|
49
|
+
*
|
|
50
|
+
* @param {CandidApi.preEncounter.tags.v1.MutableTag} request
|
|
51
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* await client.preEncounter.tags.v1.create({
|
|
55
|
+
* value: "string"
|
|
56
|
+
* })
|
|
57
|
+
*/
|
|
58
|
+
create(request: CandidApi.preEncounter.tags.v1.MutableTag, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.tags.v1.Tag, CandidApi.preEncounter.tags.v1.create.Error>>;
|
|
59
|
+
/**
|
|
60
|
+
* Updates a tag. The path must contain the most recent version to prevent races.
|
|
61
|
+
*
|
|
62
|
+
* @param {CandidApi.preEncounter.TagId} id
|
|
63
|
+
* @param {string} version
|
|
64
|
+
* @param {CandidApi.preEncounter.tags.v1.MutableTag} request
|
|
65
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.preEncounter.tags.v1.update(CandidApi.preEncounter.TagId("string"), "string", {
|
|
69
|
+
* value: "string"
|
|
70
|
+
* })
|
|
71
|
+
*/
|
|
72
|
+
update(id: CandidApi.preEncounter.TagId, version: string, request: CandidApi.preEncounter.tags.v1.MutableTag, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.tags.v1.Tag, CandidApi.preEncounter.tags.v1.update.Error>>;
|
|
73
|
+
/**
|
|
74
|
+
* Sets a tag as deactivated. The path must contain the most recent version to prevent races.
|
|
75
|
+
*
|
|
76
|
+
* @param {CandidApi.preEncounter.TagId} id
|
|
77
|
+
* @param {string} version
|
|
78
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* await client.preEncounter.tags.v1.deactivate(CandidApi.preEncounter.TagId("string"), "string")
|
|
82
|
+
*/
|
|
83
|
+
deactivate(id: CandidApi.preEncounter.TagId, version: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.preEncounter.tags.v1.deactivate.Error>>;
|
|
84
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
85
|
+
}
|