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
package/reference.md
CHANGED
|
@@ -10525,9 +10525,798 @@ await client.preEncounter.lists.v1.getAppointmentList({
|
|
|
10525
10525
|
</dl>
|
|
10526
10526
|
</details>
|
|
10527
10527
|
|
|
10528
|
+
## PreEncounter Notes V1
|
|
10529
|
+
|
|
10530
|
+
<details><summary><code>client.preEncounter.notes.v1.<a href="/src/api/resources/preEncounter/resources/notes/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse<CandidApi.Note, CandidApi.preEncounter.notes.v1.get.Error></code></summary>
|
|
10531
|
+
<dl>
|
|
10532
|
+
<dd>
|
|
10533
|
+
|
|
10534
|
+
#### 📝 Description
|
|
10535
|
+
|
|
10536
|
+
<dl>
|
|
10537
|
+
<dd>
|
|
10538
|
+
|
|
10539
|
+
<dl>
|
|
10540
|
+
<dd>
|
|
10541
|
+
|
|
10542
|
+
Gets a note by NoteId.
|
|
10543
|
+
|
|
10544
|
+
</dd>
|
|
10545
|
+
</dl>
|
|
10546
|
+
</dd>
|
|
10547
|
+
</dl>
|
|
10548
|
+
|
|
10549
|
+
#### 🔌 Usage
|
|
10550
|
+
|
|
10551
|
+
<dl>
|
|
10552
|
+
<dd>
|
|
10553
|
+
|
|
10554
|
+
<dl>
|
|
10555
|
+
<dd>
|
|
10556
|
+
|
|
10557
|
+
```typescript
|
|
10558
|
+
await client.preEncounter.notes.v1.get(CandidApi.NoteId("string"));
|
|
10559
|
+
```
|
|
10560
|
+
|
|
10561
|
+
</dd>
|
|
10562
|
+
</dl>
|
|
10563
|
+
</dd>
|
|
10564
|
+
</dl>
|
|
10565
|
+
|
|
10566
|
+
#### ⚙️ Parameters
|
|
10567
|
+
|
|
10568
|
+
<dl>
|
|
10569
|
+
<dd>
|
|
10570
|
+
|
|
10571
|
+
<dl>
|
|
10572
|
+
<dd>
|
|
10573
|
+
|
|
10574
|
+
**id:** `CandidApi.NoteId`
|
|
10575
|
+
|
|
10576
|
+
</dd>
|
|
10577
|
+
</dl>
|
|
10578
|
+
|
|
10579
|
+
<dl>
|
|
10580
|
+
<dd>
|
|
10581
|
+
|
|
10582
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10583
|
+
|
|
10584
|
+
</dd>
|
|
10585
|
+
</dl>
|
|
10586
|
+
</dd>
|
|
10587
|
+
</dl>
|
|
10588
|
+
|
|
10589
|
+
</dd>
|
|
10590
|
+
</dl>
|
|
10591
|
+
</details>
|
|
10592
|
+
|
|
10593
|
+
<details><summary><code>client.preEncounter.notes.v1.<a href="/src/api/resources/preEncounter/resources/notes/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Note, CandidApi.preEncounter.notes.v1.create.Error></code></summary>
|
|
10594
|
+
<dl>
|
|
10595
|
+
<dd>
|
|
10596
|
+
|
|
10597
|
+
#### 📝 Description
|
|
10598
|
+
|
|
10599
|
+
<dl>
|
|
10600
|
+
<dd>
|
|
10601
|
+
|
|
10602
|
+
<dl>
|
|
10603
|
+
<dd>
|
|
10604
|
+
|
|
10605
|
+
Adds a new note.
|
|
10606
|
+
|
|
10607
|
+
</dd>
|
|
10608
|
+
</dl>
|
|
10609
|
+
</dd>
|
|
10610
|
+
</dl>
|
|
10611
|
+
|
|
10612
|
+
#### 🔌 Usage
|
|
10613
|
+
|
|
10614
|
+
<dl>
|
|
10615
|
+
<dd>
|
|
10616
|
+
|
|
10617
|
+
<dl>
|
|
10618
|
+
<dd>
|
|
10619
|
+
|
|
10620
|
+
```typescript
|
|
10621
|
+
await client.preEncounter.notes.v1.create({
|
|
10622
|
+
value: "string",
|
|
10623
|
+
authorEmail: "string",
|
|
10624
|
+
authorName: "string",
|
|
10625
|
+
});
|
|
10626
|
+
```
|
|
10627
|
+
|
|
10628
|
+
</dd>
|
|
10629
|
+
</dl>
|
|
10630
|
+
</dd>
|
|
10631
|
+
</dl>
|
|
10632
|
+
|
|
10633
|
+
#### ⚙️ Parameters
|
|
10634
|
+
|
|
10635
|
+
<dl>
|
|
10636
|
+
<dd>
|
|
10637
|
+
|
|
10638
|
+
<dl>
|
|
10639
|
+
<dd>
|
|
10640
|
+
|
|
10641
|
+
**request:** `CandidApi.MutableNote`
|
|
10642
|
+
|
|
10643
|
+
</dd>
|
|
10644
|
+
</dl>
|
|
10645
|
+
|
|
10646
|
+
<dl>
|
|
10647
|
+
<dd>
|
|
10648
|
+
|
|
10649
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10650
|
+
|
|
10651
|
+
</dd>
|
|
10652
|
+
</dl>
|
|
10653
|
+
</dd>
|
|
10654
|
+
</dl>
|
|
10655
|
+
|
|
10656
|
+
</dd>
|
|
10657
|
+
</dl>
|
|
10658
|
+
</details>
|
|
10659
|
+
|
|
10660
|
+
<details><summary><code>client.preEncounter.notes.v1.<a href="/src/api/resources/preEncounter/resources/notes/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse<CandidApi.Note, CandidApi.preEncounter.notes.v1.update.Error></code></summary>
|
|
10661
|
+
<dl>
|
|
10662
|
+
<dd>
|
|
10663
|
+
|
|
10664
|
+
#### 📝 Description
|
|
10665
|
+
|
|
10666
|
+
<dl>
|
|
10667
|
+
<dd>
|
|
10668
|
+
|
|
10669
|
+
<dl>
|
|
10670
|
+
<dd>
|
|
10671
|
+
|
|
10672
|
+
Updates a note. The path must contain the most recent version to prevent races.
|
|
10673
|
+
|
|
10674
|
+
</dd>
|
|
10675
|
+
</dl>
|
|
10676
|
+
</dd>
|
|
10677
|
+
</dl>
|
|
10678
|
+
|
|
10679
|
+
#### 🔌 Usage
|
|
10680
|
+
|
|
10681
|
+
<dl>
|
|
10682
|
+
<dd>
|
|
10683
|
+
|
|
10684
|
+
<dl>
|
|
10685
|
+
<dd>
|
|
10686
|
+
|
|
10687
|
+
```typescript
|
|
10688
|
+
await client.preEncounter.notes.v1.update(CandidApi.NoteId("string"), "string", {
|
|
10689
|
+
value: "string",
|
|
10690
|
+
authorEmail: "string",
|
|
10691
|
+
authorName: "string",
|
|
10692
|
+
});
|
|
10693
|
+
```
|
|
10694
|
+
|
|
10695
|
+
</dd>
|
|
10696
|
+
</dl>
|
|
10697
|
+
</dd>
|
|
10698
|
+
</dl>
|
|
10699
|
+
|
|
10700
|
+
#### ⚙️ Parameters
|
|
10701
|
+
|
|
10702
|
+
<dl>
|
|
10703
|
+
<dd>
|
|
10704
|
+
|
|
10705
|
+
<dl>
|
|
10706
|
+
<dd>
|
|
10707
|
+
|
|
10708
|
+
**id:** `CandidApi.NoteId`
|
|
10709
|
+
|
|
10710
|
+
</dd>
|
|
10711
|
+
</dl>
|
|
10712
|
+
|
|
10713
|
+
<dl>
|
|
10714
|
+
<dd>
|
|
10715
|
+
|
|
10716
|
+
**version:** `string`
|
|
10717
|
+
|
|
10718
|
+
</dd>
|
|
10719
|
+
</dl>
|
|
10720
|
+
|
|
10721
|
+
<dl>
|
|
10722
|
+
<dd>
|
|
10723
|
+
|
|
10724
|
+
**request:** `CandidApi.MutableNote`
|
|
10725
|
+
|
|
10726
|
+
</dd>
|
|
10727
|
+
</dl>
|
|
10728
|
+
|
|
10729
|
+
<dl>
|
|
10730
|
+
<dd>
|
|
10731
|
+
|
|
10732
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10733
|
+
|
|
10734
|
+
</dd>
|
|
10735
|
+
</dl>
|
|
10736
|
+
</dd>
|
|
10737
|
+
</dl>
|
|
10738
|
+
|
|
10739
|
+
</dd>
|
|
10740
|
+
</dl>
|
|
10741
|
+
</details>
|
|
10742
|
+
|
|
10743
|
+
<details><summary><code>client.preEncounter.notes.v1.<a href="/src/api/resources/preEncounter/resources/notes/resources/v1/client/Client.ts">deactivate</a>(id, version) -> core.APIResponse<void, CandidApi.preEncounter.notes.v1.deactivate.Error></code></summary>
|
|
10744
|
+
<dl>
|
|
10745
|
+
<dd>
|
|
10746
|
+
|
|
10747
|
+
#### 📝 Description
|
|
10748
|
+
|
|
10749
|
+
<dl>
|
|
10750
|
+
<dd>
|
|
10751
|
+
|
|
10752
|
+
<dl>
|
|
10753
|
+
<dd>
|
|
10754
|
+
|
|
10755
|
+
Sets a note as deactivated. The path must contain the most recent version to prevent races.
|
|
10756
|
+
|
|
10757
|
+
</dd>
|
|
10758
|
+
</dl>
|
|
10759
|
+
</dd>
|
|
10760
|
+
</dl>
|
|
10761
|
+
|
|
10762
|
+
#### 🔌 Usage
|
|
10763
|
+
|
|
10764
|
+
<dl>
|
|
10765
|
+
<dd>
|
|
10766
|
+
|
|
10767
|
+
<dl>
|
|
10768
|
+
<dd>
|
|
10769
|
+
|
|
10770
|
+
```typescript
|
|
10771
|
+
await client.preEncounter.notes.v1.deactivate(CandidApi.NoteId("string"), "string");
|
|
10772
|
+
```
|
|
10773
|
+
|
|
10774
|
+
</dd>
|
|
10775
|
+
</dl>
|
|
10776
|
+
</dd>
|
|
10777
|
+
</dl>
|
|
10778
|
+
|
|
10779
|
+
#### ⚙️ Parameters
|
|
10780
|
+
|
|
10781
|
+
<dl>
|
|
10782
|
+
<dd>
|
|
10783
|
+
|
|
10784
|
+
<dl>
|
|
10785
|
+
<dd>
|
|
10786
|
+
|
|
10787
|
+
**id:** `CandidApi.NoteId`
|
|
10788
|
+
|
|
10789
|
+
</dd>
|
|
10790
|
+
</dl>
|
|
10791
|
+
|
|
10792
|
+
<dl>
|
|
10793
|
+
<dd>
|
|
10794
|
+
|
|
10795
|
+
**version:** `string`
|
|
10796
|
+
|
|
10797
|
+
</dd>
|
|
10798
|
+
</dl>
|
|
10799
|
+
|
|
10800
|
+
<dl>
|
|
10801
|
+
<dd>
|
|
10802
|
+
|
|
10803
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10804
|
+
|
|
10805
|
+
</dd>
|
|
10806
|
+
</dl>
|
|
10807
|
+
</dd>
|
|
10808
|
+
</dl>
|
|
10809
|
+
|
|
10810
|
+
</dd>
|
|
10811
|
+
</dl>
|
|
10812
|
+
</details>
|
|
10813
|
+
|
|
10528
10814
|
## PreEncounter Patients V1
|
|
10529
10815
|
|
|
10530
|
-
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.create.Error></code></summary>
|
|
10816
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.create.Error></code></summary>
|
|
10817
|
+
<dl>
|
|
10818
|
+
<dd>
|
|
10819
|
+
|
|
10820
|
+
#### 📝 Description
|
|
10821
|
+
|
|
10822
|
+
<dl>
|
|
10823
|
+
<dd>
|
|
10824
|
+
|
|
10825
|
+
<dl>
|
|
10826
|
+
<dd>
|
|
10827
|
+
|
|
10828
|
+
Adds a patient. VersionConflictError is returned when the patient's external ID is already in use.
|
|
10829
|
+
|
|
10830
|
+
</dd>
|
|
10831
|
+
</dl>
|
|
10832
|
+
</dd>
|
|
10833
|
+
</dl>
|
|
10834
|
+
|
|
10835
|
+
#### 🔌 Usage
|
|
10836
|
+
|
|
10837
|
+
<dl>
|
|
10838
|
+
<dd>
|
|
10839
|
+
|
|
10840
|
+
<dl>
|
|
10841
|
+
<dd>
|
|
10842
|
+
|
|
10843
|
+
```typescript
|
|
10844
|
+
await client.preEncounter.patients.v1.create({
|
|
10845
|
+
skipDuplicateCheck: true,
|
|
10846
|
+
body: {
|
|
10847
|
+
name: {
|
|
10848
|
+
family: "string",
|
|
10849
|
+
given: ["string"],
|
|
10850
|
+
use: CandidApi.NameUse.Usual,
|
|
10851
|
+
period: {},
|
|
10852
|
+
},
|
|
10853
|
+
otherNames: [
|
|
10854
|
+
{
|
|
10855
|
+
family: "string",
|
|
10856
|
+
given: ["string"],
|
|
10857
|
+
use: CandidApi.NameUse.Usual,
|
|
10858
|
+
period: {},
|
|
10859
|
+
},
|
|
10860
|
+
],
|
|
10861
|
+
gender: CandidApi.Gender.Man,
|
|
10862
|
+
birthDate: "2023-01-15",
|
|
10863
|
+
socialSecurityNumber: "string",
|
|
10864
|
+
biologicalSex: CandidApi.Sex.Female,
|
|
10865
|
+
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
10866
|
+
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
10867
|
+
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
10868
|
+
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
10869
|
+
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
10870
|
+
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
10871
|
+
multipleBirth: 1,
|
|
10872
|
+
primaryAddress: {
|
|
10873
|
+
use: CandidApi.AddressUse.Home,
|
|
10874
|
+
line: ["string"],
|
|
10875
|
+
city: "string",
|
|
10876
|
+
state: "string",
|
|
10877
|
+
postalCode: "string",
|
|
10878
|
+
country: "string",
|
|
10879
|
+
period: {},
|
|
10880
|
+
},
|
|
10881
|
+
otherAddresses: [
|
|
10882
|
+
{
|
|
10883
|
+
use: CandidApi.AddressUse.Home,
|
|
10884
|
+
line: ["string"],
|
|
10885
|
+
city: "string",
|
|
10886
|
+
state: "string",
|
|
10887
|
+
postalCode: "string",
|
|
10888
|
+
country: "string",
|
|
10889
|
+
period: {},
|
|
10890
|
+
},
|
|
10891
|
+
],
|
|
10892
|
+
primaryTelecom: {
|
|
10893
|
+
value: "string",
|
|
10894
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10895
|
+
},
|
|
10896
|
+
otherTelecoms: [
|
|
10897
|
+
{
|
|
10898
|
+
value: "string",
|
|
10899
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10900
|
+
},
|
|
10901
|
+
],
|
|
10902
|
+
email: "string",
|
|
10903
|
+
electronicCommunicationOptIn: true,
|
|
10904
|
+
photo: "string",
|
|
10905
|
+
language: "string",
|
|
10906
|
+
externalProvenance: {
|
|
10907
|
+
externalId: "string",
|
|
10908
|
+
systemName: "string",
|
|
10909
|
+
},
|
|
10910
|
+
contacts: [
|
|
10911
|
+
{
|
|
10912
|
+
relationship: [CandidApi.Relationship.Self],
|
|
10913
|
+
name: {
|
|
10914
|
+
family: "string",
|
|
10915
|
+
given: ["string"],
|
|
10916
|
+
use: CandidApi.NameUse.Usual,
|
|
10917
|
+
period: {},
|
|
10918
|
+
},
|
|
10919
|
+
telecoms: [
|
|
10920
|
+
{
|
|
10921
|
+
value: "string",
|
|
10922
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10923
|
+
},
|
|
10924
|
+
],
|
|
10925
|
+
addresses: [
|
|
10926
|
+
{
|
|
10927
|
+
use: CandidApi.AddressUse.Home,
|
|
10928
|
+
line: ["string"],
|
|
10929
|
+
city: "string",
|
|
10930
|
+
state: "string",
|
|
10931
|
+
postalCode: "string",
|
|
10932
|
+
country: "string",
|
|
10933
|
+
period: {},
|
|
10934
|
+
},
|
|
10935
|
+
],
|
|
10936
|
+
period: {},
|
|
10937
|
+
hipaaAuthorization: true,
|
|
10938
|
+
},
|
|
10939
|
+
],
|
|
10940
|
+
generalPractitioners: [
|
|
10941
|
+
{
|
|
10942
|
+
name: {
|
|
10943
|
+
family: "string",
|
|
10944
|
+
given: ["string"],
|
|
10945
|
+
use: CandidApi.NameUse.Usual,
|
|
10946
|
+
period: {},
|
|
10947
|
+
},
|
|
10948
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
10949
|
+
npi: "string",
|
|
10950
|
+
telecoms: [
|
|
10951
|
+
{
|
|
10952
|
+
value: "string",
|
|
10953
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10954
|
+
},
|
|
10955
|
+
],
|
|
10956
|
+
addresses: [],
|
|
10957
|
+
period: {},
|
|
10958
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
10959
|
+
},
|
|
10960
|
+
],
|
|
10961
|
+
filingOrder: {
|
|
10962
|
+
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
10963
|
+
},
|
|
10964
|
+
nonInsurancePayers: [CandidApi.CanonicalNonInsurancePayerId("string")],
|
|
10965
|
+
nonInsurancePayerAssociations: [
|
|
10966
|
+
{
|
|
10967
|
+
id: CandidApi.CanonicalNonInsurancePayerId("string"),
|
|
10968
|
+
},
|
|
10969
|
+
],
|
|
10970
|
+
guarantor: {
|
|
10971
|
+
name: {
|
|
10972
|
+
family: "string",
|
|
10973
|
+
given: ["string"],
|
|
10974
|
+
use: CandidApi.NameUse.Usual,
|
|
10975
|
+
period: {},
|
|
10976
|
+
},
|
|
10977
|
+
telecom: {
|
|
10978
|
+
value: "string",
|
|
10979
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10980
|
+
},
|
|
10981
|
+
email: "string",
|
|
10982
|
+
birthDate: "2023-01-15",
|
|
10983
|
+
address: {
|
|
10984
|
+
use: CandidApi.AddressUse.Home,
|
|
10985
|
+
line: ["string"],
|
|
10986
|
+
city: "string",
|
|
10987
|
+
state: "string",
|
|
10988
|
+
postalCode: "string",
|
|
10989
|
+
country: "string",
|
|
10990
|
+
period: {},
|
|
10991
|
+
},
|
|
10992
|
+
},
|
|
10993
|
+
selfPay: true,
|
|
10994
|
+
authorizations: [
|
|
10995
|
+
{
|
|
10996
|
+
payerId: CandidApi.PayerId("string"),
|
|
10997
|
+
payerName: "string",
|
|
10998
|
+
authorizationNumber: "string",
|
|
10999
|
+
cptCode: "string",
|
|
11000
|
+
units: CandidApi.AuthorizationUnit.Visit,
|
|
11001
|
+
},
|
|
11002
|
+
],
|
|
11003
|
+
referrals: [
|
|
11004
|
+
{
|
|
11005
|
+
provider: {
|
|
11006
|
+
name: {
|
|
11007
|
+
family: "string",
|
|
11008
|
+
given: ["string"],
|
|
11009
|
+
use: CandidApi.NameUse.Usual,
|
|
11010
|
+
period: {},
|
|
11011
|
+
},
|
|
11012
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
11013
|
+
npi: "string",
|
|
11014
|
+
telecoms: [
|
|
11015
|
+
{
|
|
11016
|
+
value: "string",
|
|
11017
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11018
|
+
},
|
|
11019
|
+
],
|
|
11020
|
+
addresses: [],
|
|
11021
|
+
period: {},
|
|
11022
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
11023
|
+
},
|
|
11024
|
+
referralNumber: "string",
|
|
11025
|
+
},
|
|
11026
|
+
],
|
|
11027
|
+
primaryServiceFacilityId: "string",
|
|
11028
|
+
doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
|
|
11029
|
+
noteIds: [CandidApi.NoteId("string")],
|
|
11030
|
+
tagIds: [CandidApi.TagId("string")],
|
|
11031
|
+
},
|
|
11032
|
+
});
|
|
11033
|
+
```
|
|
11034
|
+
|
|
11035
|
+
</dd>
|
|
11036
|
+
</dl>
|
|
11037
|
+
</dd>
|
|
11038
|
+
</dl>
|
|
11039
|
+
|
|
11040
|
+
#### ⚙️ Parameters
|
|
11041
|
+
|
|
11042
|
+
<dl>
|
|
11043
|
+
<dd>
|
|
11044
|
+
|
|
11045
|
+
<dl>
|
|
11046
|
+
<dd>
|
|
11047
|
+
|
|
11048
|
+
**request:** `CandidApi.preEncounter.patients.v1.CreatePatientRequest`
|
|
11049
|
+
|
|
11050
|
+
</dd>
|
|
11051
|
+
</dl>
|
|
11052
|
+
|
|
11053
|
+
<dl>
|
|
11054
|
+
<dd>
|
|
11055
|
+
|
|
11056
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11057
|
+
|
|
11058
|
+
</dd>
|
|
11059
|
+
</dl>
|
|
11060
|
+
</dd>
|
|
11061
|
+
</dl>
|
|
11062
|
+
|
|
11063
|
+
</dd>
|
|
11064
|
+
</dl>
|
|
11065
|
+
</details>
|
|
11066
|
+
|
|
11067
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">createWithMrn</a>({ ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.createWithMrn.Error></code></summary>
|
|
11068
|
+
<dl>
|
|
11069
|
+
<dd>
|
|
11070
|
+
|
|
11071
|
+
#### 📝 Description
|
|
11072
|
+
|
|
11073
|
+
<dl>
|
|
11074
|
+
<dd>
|
|
11075
|
+
|
|
11076
|
+
<dl>
|
|
11077
|
+
<dd>
|
|
11078
|
+
|
|
11079
|
+
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.
|
|
11080
|
+
|
|
11081
|
+
</dd>
|
|
11082
|
+
</dl>
|
|
11083
|
+
</dd>
|
|
11084
|
+
</dl>
|
|
11085
|
+
|
|
11086
|
+
#### 🔌 Usage
|
|
11087
|
+
|
|
11088
|
+
<dl>
|
|
11089
|
+
<dd>
|
|
11090
|
+
|
|
11091
|
+
<dl>
|
|
11092
|
+
<dd>
|
|
11093
|
+
|
|
11094
|
+
```typescript
|
|
11095
|
+
await client.preEncounter.patients.v1.createWithMrn({
|
|
11096
|
+
skipDuplicateCheck: true,
|
|
11097
|
+
body: {
|
|
11098
|
+
mrn: "string",
|
|
11099
|
+
name: {
|
|
11100
|
+
family: "string",
|
|
11101
|
+
given: ["string"],
|
|
11102
|
+
use: CandidApi.NameUse.Usual,
|
|
11103
|
+
period: {},
|
|
11104
|
+
},
|
|
11105
|
+
otherNames: [
|
|
11106
|
+
{
|
|
11107
|
+
family: "string",
|
|
11108
|
+
given: ["string"],
|
|
11109
|
+
use: CandidApi.NameUse.Usual,
|
|
11110
|
+
period: {},
|
|
11111
|
+
},
|
|
11112
|
+
],
|
|
11113
|
+
gender: CandidApi.Gender.Man,
|
|
11114
|
+
birthDate: "2023-01-15",
|
|
11115
|
+
socialSecurityNumber: "string",
|
|
11116
|
+
biologicalSex: CandidApi.Sex.Female,
|
|
11117
|
+
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
11118
|
+
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
11119
|
+
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
11120
|
+
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
11121
|
+
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
11122
|
+
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
11123
|
+
multipleBirth: 1,
|
|
11124
|
+
primaryAddress: {
|
|
11125
|
+
use: CandidApi.AddressUse.Home,
|
|
11126
|
+
line: ["string"],
|
|
11127
|
+
city: "string",
|
|
11128
|
+
state: "string",
|
|
11129
|
+
postalCode: "string",
|
|
11130
|
+
country: "string",
|
|
11131
|
+
period: {},
|
|
11132
|
+
},
|
|
11133
|
+
otherAddresses: [
|
|
11134
|
+
{
|
|
11135
|
+
use: CandidApi.AddressUse.Home,
|
|
11136
|
+
line: ["string"],
|
|
11137
|
+
city: "string",
|
|
11138
|
+
state: "string",
|
|
11139
|
+
postalCode: "string",
|
|
11140
|
+
country: "string",
|
|
11141
|
+
period: {},
|
|
11142
|
+
},
|
|
11143
|
+
],
|
|
11144
|
+
primaryTelecom: {
|
|
11145
|
+
value: "string",
|
|
11146
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11147
|
+
},
|
|
11148
|
+
otherTelecoms: [
|
|
11149
|
+
{
|
|
11150
|
+
value: "string",
|
|
11151
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11152
|
+
},
|
|
11153
|
+
],
|
|
11154
|
+
email: "string",
|
|
11155
|
+
electronicCommunicationOptIn: true,
|
|
11156
|
+
photo: "string",
|
|
11157
|
+
language: "string",
|
|
11158
|
+
externalProvenance: {
|
|
11159
|
+
externalId: "string",
|
|
11160
|
+
systemName: "string",
|
|
11161
|
+
},
|
|
11162
|
+
contacts: [
|
|
11163
|
+
{
|
|
11164
|
+
relationship: [CandidApi.Relationship.Self],
|
|
11165
|
+
name: {
|
|
11166
|
+
family: "string",
|
|
11167
|
+
given: ["string"],
|
|
11168
|
+
use: CandidApi.NameUse.Usual,
|
|
11169
|
+
period: {},
|
|
11170
|
+
},
|
|
11171
|
+
telecoms: [
|
|
11172
|
+
{
|
|
11173
|
+
value: "string",
|
|
11174
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11175
|
+
},
|
|
11176
|
+
],
|
|
11177
|
+
addresses: [
|
|
11178
|
+
{
|
|
11179
|
+
use: CandidApi.AddressUse.Home,
|
|
11180
|
+
line: ["string"],
|
|
11181
|
+
city: "string",
|
|
11182
|
+
state: "string",
|
|
11183
|
+
postalCode: "string",
|
|
11184
|
+
country: "string",
|
|
11185
|
+
period: {},
|
|
11186
|
+
},
|
|
11187
|
+
],
|
|
11188
|
+
period: {},
|
|
11189
|
+
hipaaAuthorization: true,
|
|
11190
|
+
},
|
|
11191
|
+
],
|
|
11192
|
+
generalPractitioners: [
|
|
11193
|
+
{
|
|
11194
|
+
name: {
|
|
11195
|
+
family: "string",
|
|
11196
|
+
given: ["string"],
|
|
11197
|
+
use: CandidApi.NameUse.Usual,
|
|
11198
|
+
period: {},
|
|
11199
|
+
},
|
|
11200
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
11201
|
+
npi: "string",
|
|
11202
|
+
telecoms: [
|
|
11203
|
+
{
|
|
11204
|
+
value: "string",
|
|
11205
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11206
|
+
},
|
|
11207
|
+
],
|
|
11208
|
+
addresses: [],
|
|
11209
|
+
period: {},
|
|
11210
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
11211
|
+
},
|
|
11212
|
+
],
|
|
11213
|
+
filingOrder: {
|
|
11214
|
+
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
11215
|
+
},
|
|
11216
|
+
nonInsurancePayers: [CandidApi.CanonicalNonInsurancePayerId("string")],
|
|
11217
|
+
nonInsurancePayerAssociations: [
|
|
11218
|
+
{
|
|
11219
|
+
id: CandidApi.CanonicalNonInsurancePayerId("string"),
|
|
11220
|
+
},
|
|
11221
|
+
],
|
|
11222
|
+
guarantor: {
|
|
11223
|
+
name: {
|
|
11224
|
+
family: "string",
|
|
11225
|
+
given: ["string"],
|
|
11226
|
+
use: CandidApi.NameUse.Usual,
|
|
11227
|
+
period: {},
|
|
11228
|
+
},
|
|
11229
|
+
telecom: {
|
|
11230
|
+
value: "string",
|
|
11231
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11232
|
+
},
|
|
11233
|
+
email: "string",
|
|
11234
|
+
birthDate: "2023-01-15",
|
|
11235
|
+
address: {
|
|
11236
|
+
use: CandidApi.AddressUse.Home,
|
|
11237
|
+
line: ["string"],
|
|
11238
|
+
city: "string",
|
|
11239
|
+
state: "string",
|
|
11240
|
+
postalCode: "string",
|
|
11241
|
+
country: "string",
|
|
11242
|
+
period: {},
|
|
11243
|
+
},
|
|
11244
|
+
},
|
|
11245
|
+
selfPay: true,
|
|
11246
|
+
authorizations: [
|
|
11247
|
+
{
|
|
11248
|
+
payerId: CandidApi.PayerId("string"),
|
|
11249
|
+
payerName: "string",
|
|
11250
|
+
authorizationNumber: "string",
|
|
11251
|
+
cptCode: "string",
|
|
11252
|
+
units: CandidApi.AuthorizationUnit.Visit,
|
|
11253
|
+
},
|
|
11254
|
+
],
|
|
11255
|
+
referrals: [
|
|
11256
|
+
{
|
|
11257
|
+
provider: {
|
|
11258
|
+
name: {
|
|
11259
|
+
family: "string",
|
|
11260
|
+
given: ["string"],
|
|
11261
|
+
use: CandidApi.NameUse.Usual,
|
|
11262
|
+
period: {},
|
|
11263
|
+
},
|
|
11264
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
11265
|
+
npi: "string",
|
|
11266
|
+
telecoms: [
|
|
11267
|
+
{
|
|
11268
|
+
value: "string",
|
|
11269
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11270
|
+
},
|
|
11271
|
+
],
|
|
11272
|
+
addresses: [],
|
|
11273
|
+
period: {},
|
|
11274
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
11275
|
+
},
|
|
11276
|
+
referralNumber: "string",
|
|
11277
|
+
},
|
|
11278
|
+
],
|
|
11279
|
+
primaryServiceFacilityId: "string",
|
|
11280
|
+
doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
|
|
11281
|
+
noteIds: [CandidApi.NoteId("string")],
|
|
11282
|
+
tagIds: [CandidApi.TagId("string")],
|
|
11283
|
+
},
|
|
11284
|
+
});
|
|
11285
|
+
```
|
|
11286
|
+
|
|
11287
|
+
</dd>
|
|
11288
|
+
</dl>
|
|
11289
|
+
</dd>
|
|
11290
|
+
</dl>
|
|
11291
|
+
|
|
11292
|
+
#### ⚙️ Parameters
|
|
11293
|
+
|
|
11294
|
+
<dl>
|
|
11295
|
+
<dd>
|
|
11296
|
+
|
|
11297
|
+
<dl>
|
|
11298
|
+
<dd>
|
|
11299
|
+
|
|
11300
|
+
**request:** `CandidApi.preEncounter.patients.v1.CreatePatientWithMrnRequest`
|
|
11301
|
+
|
|
11302
|
+
</dd>
|
|
11303
|
+
</dl>
|
|
11304
|
+
|
|
11305
|
+
<dl>
|
|
11306
|
+
<dd>
|
|
11307
|
+
|
|
11308
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11309
|
+
|
|
11310
|
+
</dd>
|
|
11311
|
+
</dl>
|
|
11312
|
+
</dd>
|
|
11313
|
+
</dl>
|
|
11314
|
+
|
|
11315
|
+
</dd>
|
|
11316
|
+
</dl>
|
|
11317
|
+
</details>
|
|
11318
|
+
|
|
11319
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse<CandidApi.PatientPage, CandidApi.preEncounter.patients.v1.getMulti.Error></code></summary>
|
|
10531
11320
|
<dl>
|
|
10532
11321
|
<dd>
|
|
10533
11322
|
|
|
@@ -10539,7 +11328,7 @@ await client.preEncounter.lists.v1.getAppointmentList({
|
|
|
10539
11328
|
<dl>
|
|
10540
11329
|
<dd>
|
|
10541
11330
|
|
|
10542
|
-
|
|
11331
|
+
Searches for patients that match the query parameters.
|
|
10543
11332
|
|
|
10544
11333
|
</dd>
|
|
10545
11334
|
</dl>
|
|
@@ -10555,35 +11344,339 @@ Adds a patient. VersionConflictError is returned when the patient's external ID
|
|
|
10555
11344
|
<dd>
|
|
10556
11345
|
|
|
10557
11346
|
```typescript
|
|
10558
|
-
await client.preEncounter.patients.v1.
|
|
10559
|
-
|
|
10560
|
-
|
|
10561
|
-
|
|
11347
|
+
await client.preEncounter.patients.v1.getMulti({
|
|
11348
|
+
limit: 1,
|
|
11349
|
+
mrn: "string",
|
|
11350
|
+
pageToken: CandidApi.PageToken("string"),
|
|
11351
|
+
sortField: CandidApi.PatientSortField("string"),
|
|
11352
|
+
sortDirection: CandidApi.SortDirection.Asc,
|
|
11353
|
+
});
|
|
11354
|
+
```
|
|
11355
|
+
|
|
11356
|
+
</dd>
|
|
11357
|
+
</dl>
|
|
11358
|
+
</dd>
|
|
11359
|
+
</dl>
|
|
11360
|
+
|
|
11361
|
+
#### ⚙️ Parameters
|
|
11362
|
+
|
|
11363
|
+
<dl>
|
|
11364
|
+
<dd>
|
|
11365
|
+
|
|
11366
|
+
<dl>
|
|
11367
|
+
<dd>
|
|
11368
|
+
|
|
11369
|
+
**request:** `CandidApi.preEncounter.patients.v1.PatientsSearchRequestPaginated`
|
|
11370
|
+
|
|
11371
|
+
</dd>
|
|
11372
|
+
</dl>
|
|
11373
|
+
|
|
11374
|
+
<dl>
|
|
11375
|
+
<dd>
|
|
11376
|
+
|
|
11377
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11378
|
+
|
|
11379
|
+
</dd>
|
|
11380
|
+
</dl>
|
|
11381
|
+
</dd>
|
|
11382
|
+
</dl>
|
|
11383
|
+
|
|
11384
|
+
</dd>
|
|
11385
|
+
</dl>
|
|
11386
|
+
</details>
|
|
11387
|
+
|
|
11388
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.get.Error></code></summary>
|
|
11389
|
+
<dl>
|
|
11390
|
+
<dd>
|
|
11391
|
+
|
|
11392
|
+
#### 📝 Description
|
|
11393
|
+
|
|
11394
|
+
<dl>
|
|
11395
|
+
<dd>
|
|
11396
|
+
|
|
11397
|
+
<dl>
|
|
11398
|
+
<dd>
|
|
11399
|
+
|
|
11400
|
+
Gets a patient.
|
|
11401
|
+
|
|
11402
|
+
</dd>
|
|
11403
|
+
</dl>
|
|
11404
|
+
</dd>
|
|
11405
|
+
</dl>
|
|
11406
|
+
|
|
11407
|
+
#### 🔌 Usage
|
|
11408
|
+
|
|
11409
|
+
<dl>
|
|
11410
|
+
<dd>
|
|
11411
|
+
|
|
11412
|
+
<dl>
|
|
11413
|
+
<dd>
|
|
11414
|
+
|
|
11415
|
+
```typescript
|
|
11416
|
+
await client.preEncounter.patients.v1.get(CandidApi.PatientId("string"));
|
|
11417
|
+
```
|
|
11418
|
+
|
|
11419
|
+
</dd>
|
|
11420
|
+
</dl>
|
|
11421
|
+
</dd>
|
|
11422
|
+
</dl>
|
|
11423
|
+
|
|
11424
|
+
#### ⚙️ Parameters
|
|
11425
|
+
|
|
11426
|
+
<dl>
|
|
11427
|
+
<dd>
|
|
11428
|
+
|
|
11429
|
+
<dl>
|
|
11430
|
+
<dd>
|
|
11431
|
+
|
|
11432
|
+
**id:** `CandidApi.PatientId`
|
|
11433
|
+
|
|
11434
|
+
</dd>
|
|
11435
|
+
</dl>
|
|
11436
|
+
|
|
11437
|
+
<dl>
|
|
11438
|
+
<dd>
|
|
11439
|
+
|
|
11440
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11441
|
+
|
|
11442
|
+
</dd>
|
|
11443
|
+
</dl>
|
|
11444
|
+
</dd>
|
|
11445
|
+
</dl>
|
|
11446
|
+
|
|
11447
|
+
</dd>
|
|
11448
|
+
</dl>
|
|
11449
|
+
</details>
|
|
11450
|
+
|
|
11451
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getHistory</a>(id) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.getHistory.Error></code></summary>
|
|
11452
|
+
<dl>
|
|
11453
|
+
<dd>
|
|
11454
|
+
|
|
11455
|
+
#### 📝 Description
|
|
11456
|
+
|
|
11457
|
+
<dl>
|
|
11458
|
+
<dd>
|
|
11459
|
+
|
|
11460
|
+
<dl>
|
|
11461
|
+
<dd>
|
|
11462
|
+
|
|
11463
|
+
Gets a patient along with it's full history. The return list is ordered by version ascending.
|
|
11464
|
+
|
|
11465
|
+
</dd>
|
|
11466
|
+
</dl>
|
|
11467
|
+
</dd>
|
|
11468
|
+
</dl>
|
|
11469
|
+
|
|
11470
|
+
#### 🔌 Usage
|
|
11471
|
+
|
|
11472
|
+
<dl>
|
|
11473
|
+
<dd>
|
|
11474
|
+
|
|
11475
|
+
<dl>
|
|
11476
|
+
<dd>
|
|
11477
|
+
|
|
11478
|
+
```typescript
|
|
11479
|
+
await client.preEncounter.patients.v1.getHistory(CandidApi.PatientId("string"));
|
|
11480
|
+
```
|
|
11481
|
+
|
|
11482
|
+
</dd>
|
|
11483
|
+
</dl>
|
|
11484
|
+
</dd>
|
|
11485
|
+
</dl>
|
|
11486
|
+
|
|
11487
|
+
#### ⚙️ Parameters
|
|
11488
|
+
|
|
11489
|
+
<dl>
|
|
11490
|
+
<dd>
|
|
11491
|
+
|
|
11492
|
+
<dl>
|
|
11493
|
+
<dd>
|
|
11494
|
+
|
|
11495
|
+
**id:** `CandidApi.PatientId`
|
|
11496
|
+
|
|
11497
|
+
</dd>
|
|
11498
|
+
</dl>
|
|
11499
|
+
|
|
11500
|
+
<dl>
|
|
11501
|
+
<dd>
|
|
11502
|
+
|
|
11503
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11504
|
+
|
|
11505
|
+
</dd>
|
|
11506
|
+
</dl>
|
|
11507
|
+
</dd>
|
|
11508
|
+
</dl>
|
|
11509
|
+
|
|
11510
|
+
</dd>
|
|
11511
|
+
</dl>
|
|
11512
|
+
</details>
|
|
11513
|
+
|
|
11514
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.update.Error></code></summary>
|
|
11515
|
+
<dl>
|
|
11516
|
+
<dd>
|
|
11517
|
+
|
|
11518
|
+
#### 📝 Description
|
|
11519
|
+
|
|
11520
|
+
<dl>
|
|
11521
|
+
<dd>
|
|
11522
|
+
|
|
11523
|
+
<dl>
|
|
11524
|
+
<dd>
|
|
11525
|
+
|
|
11526
|
+
Updates a patient. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
|
|
11527
|
+
|
|
11528
|
+
</dd>
|
|
11529
|
+
</dl>
|
|
11530
|
+
</dd>
|
|
11531
|
+
</dl>
|
|
11532
|
+
|
|
11533
|
+
#### 🔌 Usage
|
|
11534
|
+
|
|
11535
|
+
<dl>
|
|
11536
|
+
<dd>
|
|
11537
|
+
|
|
11538
|
+
<dl>
|
|
11539
|
+
<dd>
|
|
11540
|
+
|
|
11541
|
+
```typescript
|
|
11542
|
+
await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "string", {
|
|
11543
|
+
name: {
|
|
11544
|
+
family: "string",
|
|
11545
|
+
given: ["string"],
|
|
11546
|
+
use: CandidApi.NameUse.Usual,
|
|
11547
|
+
period: {},
|
|
11548
|
+
},
|
|
11549
|
+
otherNames: [
|
|
11550
|
+
{
|
|
10562
11551
|
family: "string",
|
|
10563
11552
|
given: ["string"],
|
|
10564
11553
|
use: CandidApi.NameUse.Usual,
|
|
10565
11554
|
period: {},
|
|
10566
11555
|
},
|
|
10567
|
-
|
|
10568
|
-
|
|
11556
|
+
],
|
|
11557
|
+
gender: CandidApi.Gender.Man,
|
|
11558
|
+
birthDate: "2023-01-15",
|
|
11559
|
+
socialSecurityNumber: "string",
|
|
11560
|
+
biologicalSex: CandidApi.Sex.Female,
|
|
11561
|
+
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
11562
|
+
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
11563
|
+
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
11564
|
+
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
11565
|
+
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
11566
|
+
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
11567
|
+
multipleBirth: 1,
|
|
11568
|
+
primaryAddress: {
|
|
11569
|
+
use: CandidApi.AddressUse.Home,
|
|
11570
|
+
line: ["string"],
|
|
11571
|
+
city: "string",
|
|
11572
|
+
state: "string",
|
|
11573
|
+
postalCode: "string",
|
|
11574
|
+
country: "string",
|
|
11575
|
+
period: {},
|
|
11576
|
+
},
|
|
11577
|
+
otherAddresses: [
|
|
11578
|
+
{
|
|
11579
|
+
use: CandidApi.AddressUse.Home,
|
|
11580
|
+
line: ["string"],
|
|
11581
|
+
city: "string",
|
|
11582
|
+
state: "string",
|
|
11583
|
+
postalCode: "string",
|
|
11584
|
+
country: "string",
|
|
11585
|
+
period: {},
|
|
11586
|
+
},
|
|
11587
|
+
],
|
|
11588
|
+
primaryTelecom: {
|
|
11589
|
+
value: "string",
|
|
11590
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11591
|
+
},
|
|
11592
|
+
otherTelecoms: [
|
|
11593
|
+
{
|
|
11594
|
+
value: "string",
|
|
11595
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11596
|
+
},
|
|
11597
|
+
],
|
|
11598
|
+
email: "string",
|
|
11599
|
+
electronicCommunicationOptIn: true,
|
|
11600
|
+
photo: "string",
|
|
11601
|
+
language: "string",
|
|
11602
|
+
externalProvenance: {
|
|
11603
|
+
externalId: "string",
|
|
11604
|
+
systemName: "string",
|
|
11605
|
+
},
|
|
11606
|
+
contacts: [
|
|
11607
|
+
{
|
|
11608
|
+
relationship: [CandidApi.Relationship.Self],
|
|
11609
|
+
name: {
|
|
10569
11610
|
family: "string",
|
|
10570
11611
|
given: ["string"],
|
|
10571
11612
|
use: CandidApi.NameUse.Usual,
|
|
10572
11613
|
period: {},
|
|
10573
11614
|
},
|
|
10574
|
-
|
|
10575
|
-
|
|
11615
|
+
telecoms: [
|
|
11616
|
+
{
|
|
11617
|
+
value: "string",
|
|
11618
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11619
|
+
},
|
|
11620
|
+
],
|
|
11621
|
+
addresses: [
|
|
11622
|
+
{
|
|
11623
|
+
use: CandidApi.AddressUse.Home,
|
|
11624
|
+
line: ["string"],
|
|
11625
|
+
city: "string",
|
|
11626
|
+
state: "string",
|
|
11627
|
+
postalCode: "string",
|
|
11628
|
+
country: "string",
|
|
11629
|
+
period: {},
|
|
11630
|
+
},
|
|
11631
|
+
],
|
|
11632
|
+
period: {},
|
|
11633
|
+
hipaaAuthorization: true,
|
|
11634
|
+
},
|
|
11635
|
+
],
|
|
11636
|
+
generalPractitioners: [
|
|
11637
|
+
{
|
|
11638
|
+
name: {
|
|
11639
|
+
family: "string",
|
|
11640
|
+
given: ["string"],
|
|
11641
|
+
use: CandidApi.NameUse.Usual,
|
|
11642
|
+
period: {},
|
|
11643
|
+
},
|
|
11644
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
11645
|
+
npi: "string",
|
|
11646
|
+
telecoms: [
|
|
11647
|
+
{
|
|
11648
|
+
value: "string",
|
|
11649
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11650
|
+
},
|
|
11651
|
+
],
|
|
11652
|
+
addresses: [],
|
|
11653
|
+
period: {},
|
|
11654
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
11655
|
+
},
|
|
11656
|
+
],
|
|
11657
|
+
filingOrder: {
|
|
11658
|
+
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
11659
|
+
},
|
|
11660
|
+
nonInsurancePayers: [CandidApi.CanonicalNonInsurancePayerId("string")],
|
|
11661
|
+
nonInsurancePayerAssociations: [
|
|
11662
|
+
{
|
|
11663
|
+
id: CandidApi.CanonicalNonInsurancePayerId("string"),
|
|
11664
|
+
},
|
|
11665
|
+
],
|
|
11666
|
+
guarantor: {
|
|
11667
|
+
name: {
|
|
11668
|
+
family: "string",
|
|
11669
|
+
given: ["string"],
|
|
11670
|
+
use: CandidApi.NameUse.Usual,
|
|
11671
|
+
period: {},
|
|
11672
|
+
},
|
|
11673
|
+
telecom: {
|
|
11674
|
+
value: "string",
|
|
11675
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11676
|
+
},
|
|
11677
|
+
email: "string",
|
|
10576
11678
|
birthDate: "2023-01-15",
|
|
10577
|
-
|
|
10578
|
-
biologicalSex: CandidApi.Sex.Female,
|
|
10579
|
-
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
10580
|
-
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
10581
|
-
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
10582
|
-
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
10583
|
-
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
10584
|
-
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
10585
|
-
multipleBirth: 1,
|
|
10586
|
-
primaryAddress: {
|
|
11679
|
+
address: {
|
|
10587
11680
|
use: CandidApi.AddressUse.Home,
|
|
10588
11681
|
line: ["string"],
|
|
10589
11682
|
city: "string",
|
|
@@ -10592,67 +11685,20 @@ await client.preEncounter.patients.v1.create({
|
|
|
10592
11685
|
country: "string",
|
|
10593
11686
|
period: {},
|
|
10594
11687
|
},
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
},
|
|
10605
|
-
],
|
|
10606
|
-
primaryTelecom: {
|
|
10607
|
-
value: "string",
|
|
10608
|
-
use: CandidApi.ContactPointUse.Home,
|
|
10609
|
-
},
|
|
10610
|
-
otherTelecoms: [
|
|
10611
|
-
{
|
|
10612
|
-
value: "string",
|
|
10613
|
-
use: CandidApi.ContactPointUse.Home,
|
|
10614
|
-
},
|
|
10615
|
-
],
|
|
10616
|
-
email: "string",
|
|
10617
|
-
electronicCommunicationOptIn: true,
|
|
10618
|
-
photo: "string",
|
|
10619
|
-
language: "string",
|
|
10620
|
-
externalProvenance: {
|
|
10621
|
-
externalId: "string",
|
|
10622
|
-
systemName: "string",
|
|
11688
|
+
},
|
|
11689
|
+
selfPay: true,
|
|
11690
|
+
authorizations: [
|
|
11691
|
+
{
|
|
11692
|
+
payerId: CandidApi.PayerId("string"),
|
|
11693
|
+
payerName: "string",
|
|
11694
|
+
authorizationNumber: "string",
|
|
11695
|
+
cptCode: "string",
|
|
11696
|
+
units: CandidApi.AuthorizationUnit.Visit,
|
|
10623
11697
|
},
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
|
|
10627
|
-
|
|
10628
|
-
family: "string",
|
|
10629
|
-
given: ["string"],
|
|
10630
|
-
use: CandidApi.NameUse.Usual,
|
|
10631
|
-
period: {},
|
|
10632
|
-
},
|
|
10633
|
-
telecoms: [
|
|
10634
|
-
{
|
|
10635
|
-
value: "string",
|
|
10636
|
-
use: CandidApi.ContactPointUse.Home,
|
|
10637
|
-
},
|
|
10638
|
-
],
|
|
10639
|
-
addresses: [
|
|
10640
|
-
{
|
|
10641
|
-
use: CandidApi.AddressUse.Home,
|
|
10642
|
-
line: ["string"],
|
|
10643
|
-
city: "string",
|
|
10644
|
-
state: "string",
|
|
10645
|
-
postalCode: "string",
|
|
10646
|
-
country: "string",
|
|
10647
|
-
period: {},
|
|
10648
|
-
},
|
|
10649
|
-
],
|
|
10650
|
-
period: {},
|
|
10651
|
-
hipaaAuthorization: true,
|
|
10652
|
-
},
|
|
10653
|
-
],
|
|
10654
|
-
generalPractitioners: [
|
|
10655
|
-
{
|
|
11698
|
+
],
|
|
11699
|
+
referrals: [
|
|
11700
|
+
{
|
|
11701
|
+
provider: {
|
|
10656
11702
|
name: {
|
|
10657
11703
|
family: "string",
|
|
10658
11704
|
given: ["string"],
|
|
@@ -10669,78 +11715,15 @@ await client.preEncounter.patients.v1.create({
|
|
|
10669
11715
|
],
|
|
10670
11716
|
addresses: [],
|
|
10671
11717
|
period: {},
|
|
10672
|
-
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
10673
|
-
},
|
|
10674
|
-
],
|
|
10675
|
-
filingOrder: {
|
|
10676
|
-
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
10677
|
-
},
|
|
10678
|
-
nonInsurancePayers: [CandidApi.CanonicalNonInsurancePayerId("string")],
|
|
10679
|
-
nonInsurancePayerAssociations: [
|
|
10680
|
-
{
|
|
10681
|
-
id: CandidApi.CanonicalNonInsurancePayerId("string"),
|
|
10682
|
-
},
|
|
10683
|
-
],
|
|
10684
|
-
guarantor: {
|
|
10685
|
-
name: {
|
|
10686
|
-
family: "string",
|
|
10687
|
-
given: ["string"],
|
|
10688
|
-
use: CandidApi.NameUse.Usual,
|
|
10689
|
-
period: {},
|
|
10690
|
-
},
|
|
10691
|
-
telecom: {
|
|
10692
|
-
value: "string",
|
|
10693
|
-
use: CandidApi.ContactPointUse.Home,
|
|
10694
|
-
},
|
|
10695
|
-
email: "string",
|
|
10696
|
-
birthDate: "2023-01-15",
|
|
10697
|
-
address: {
|
|
10698
|
-
use: CandidApi.AddressUse.Home,
|
|
10699
|
-
line: ["string"],
|
|
10700
|
-
city: "string",
|
|
10701
|
-
state: "string",
|
|
10702
|
-
postalCode: "string",
|
|
10703
|
-
country: "string",
|
|
10704
|
-
period: {},
|
|
10705
|
-
},
|
|
10706
|
-
},
|
|
10707
|
-
selfPay: true,
|
|
10708
|
-
authorizations: [
|
|
10709
|
-
{
|
|
10710
|
-
payerId: CandidApi.PayerId("string"),
|
|
10711
|
-
payerName: "string",
|
|
10712
|
-
authorizationNumber: "string",
|
|
10713
|
-
cptCode: "string",
|
|
10714
|
-
units: CandidApi.AuthorizationUnit.Visit,
|
|
10715
|
-
},
|
|
10716
|
-
],
|
|
10717
|
-
referrals: [
|
|
10718
|
-
{
|
|
10719
|
-
provider: {
|
|
10720
|
-
name: {
|
|
10721
|
-
family: "string",
|
|
10722
|
-
given: ["string"],
|
|
10723
|
-
use: CandidApi.NameUse.Usual,
|
|
10724
|
-
period: {},
|
|
10725
|
-
},
|
|
10726
|
-
type: CandidApi.ExternalProviderType.Primary,
|
|
10727
|
-
npi: "string",
|
|
10728
|
-
telecoms: [
|
|
10729
|
-
{
|
|
10730
|
-
value: "string",
|
|
10731
|
-
use: CandidApi.ContactPointUse.Home,
|
|
10732
|
-
},
|
|
10733
|
-
],
|
|
10734
|
-
addresses: [],
|
|
10735
|
-
period: {},
|
|
10736
|
-
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
10737
|
-
},
|
|
10738
|
-
referralNumber: "string",
|
|
11718
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
10739
11719
|
},
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
|
|
11720
|
+
referralNumber: "string",
|
|
11721
|
+
},
|
|
11722
|
+
],
|
|
11723
|
+
primaryServiceFacilityId: "string",
|
|
11724
|
+
doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
|
|
11725
|
+
noteIds: [CandidApi.NoteId("string")],
|
|
11726
|
+
tagIds: [CandidApi.TagId("string")],
|
|
10744
11727
|
});
|
|
10745
11728
|
```
|
|
10746
11729
|
|
|
@@ -10757,7 +11740,23 @@ await client.preEncounter.patients.v1.create({
|
|
|
10757
11740
|
<dl>
|
|
10758
11741
|
<dd>
|
|
10759
11742
|
|
|
10760
|
-
**
|
|
11743
|
+
**id:** `CandidApi.PatientId`
|
|
11744
|
+
|
|
11745
|
+
</dd>
|
|
11746
|
+
</dl>
|
|
11747
|
+
|
|
11748
|
+
<dl>
|
|
11749
|
+
<dd>
|
|
11750
|
+
|
|
11751
|
+
**version:** `string`
|
|
11752
|
+
|
|
11753
|
+
</dd>
|
|
11754
|
+
</dl>
|
|
11755
|
+
|
|
11756
|
+
<dl>
|
|
11757
|
+
<dd>
|
|
11758
|
+
|
|
11759
|
+
**request:** `CandidApi.MutablePatient`
|
|
10761
11760
|
|
|
10762
11761
|
</dd>
|
|
10763
11762
|
</dl>
|
|
@@ -10776,7 +11775,7 @@ await client.preEncounter.patients.v1.create({
|
|
|
10776
11775
|
</dl>
|
|
10777
11776
|
</details>
|
|
10778
11777
|
|
|
10779
|
-
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">
|
|
11778
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">deactivate</a>(id, version) -> core.APIResponse<void, CandidApi.preEncounter.patients.v1.deactivate.Error></code></summary>
|
|
10780
11779
|
<dl>
|
|
10781
11780
|
<dd>
|
|
10782
11781
|
|
|
@@ -10788,7 +11787,7 @@ await client.preEncounter.patients.v1.create({
|
|
|
10788
11787
|
<dl>
|
|
10789
11788
|
<dd>
|
|
10790
11789
|
|
|
10791
|
-
|
|
11790
|
+
Sets a patient as deactivated. The path must contain the most recent version to prevent race conditions. Deactivating historic versions is not supported. Subsequent updates via PUT to the patient will "reactivate" the patient and set the deactivated flag to false.
|
|
10792
11791
|
|
|
10793
11792
|
</dd>
|
|
10794
11793
|
</dl>
|
|
@@ -10804,194 +11803,7 @@ Adds a patient and hydrates their MRN with a pre-existing MRN. Once this patient
|
|
|
10804
11803
|
<dd>
|
|
10805
11804
|
|
|
10806
11805
|
```typescript
|
|
10807
|
-
await client.preEncounter.patients.v1.
|
|
10808
|
-
skipDuplicateCheck: true,
|
|
10809
|
-
body: {
|
|
10810
|
-
mrn: "string",
|
|
10811
|
-
name: {
|
|
10812
|
-
family: "string",
|
|
10813
|
-
given: ["string"],
|
|
10814
|
-
use: CandidApi.NameUse.Usual,
|
|
10815
|
-
period: {},
|
|
10816
|
-
},
|
|
10817
|
-
otherNames: [
|
|
10818
|
-
{
|
|
10819
|
-
family: "string",
|
|
10820
|
-
given: ["string"],
|
|
10821
|
-
use: CandidApi.NameUse.Usual,
|
|
10822
|
-
period: {},
|
|
10823
|
-
},
|
|
10824
|
-
],
|
|
10825
|
-
gender: CandidApi.Gender.Man,
|
|
10826
|
-
birthDate: "2023-01-15",
|
|
10827
|
-
socialSecurityNumber: "string",
|
|
10828
|
-
biologicalSex: CandidApi.Sex.Female,
|
|
10829
|
-
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
10830
|
-
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
10831
|
-
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
10832
|
-
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
10833
|
-
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
10834
|
-
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
10835
|
-
multipleBirth: 1,
|
|
10836
|
-
primaryAddress: {
|
|
10837
|
-
use: CandidApi.AddressUse.Home,
|
|
10838
|
-
line: ["string"],
|
|
10839
|
-
city: "string",
|
|
10840
|
-
state: "string",
|
|
10841
|
-
postalCode: "string",
|
|
10842
|
-
country: "string",
|
|
10843
|
-
period: {},
|
|
10844
|
-
},
|
|
10845
|
-
otherAddresses: [
|
|
10846
|
-
{
|
|
10847
|
-
use: CandidApi.AddressUse.Home,
|
|
10848
|
-
line: ["string"],
|
|
10849
|
-
city: "string",
|
|
10850
|
-
state: "string",
|
|
10851
|
-
postalCode: "string",
|
|
10852
|
-
country: "string",
|
|
10853
|
-
period: {},
|
|
10854
|
-
},
|
|
10855
|
-
],
|
|
10856
|
-
primaryTelecom: {
|
|
10857
|
-
value: "string",
|
|
10858
|
-
use: CandidApi.ContactPointUse.Home,
|
|
10859
|
-
},
|
|
10860
|
-
otherTelecoms: [
|
|
10861
|
-
{
|
|
10862
|
-
value: "string",
|
|
10863
|
-
use: CandidApi.ContactPointUse.Home,
|
|
10864
|
-
},
|
|
10865
|
-
],
|
|
10866
|
-
email: "string",
|
|
10867
|
-
electronicCommunicationOptIn: true,
|
|
10868
|
-
photo: "string",
|
|
10869
|
-
language: "string",
|
|
10870
|
-
externalProvenance: {
|
|
10871
|
-
externalId: "string",
|
|
10872
|
-
systemName: "string",
|
|
10873
|
-
},
|
|
10874
|
-
contacts: [
|
|
10875
|
-
{
|
|
10876
|
-
relationship: [CandidApi.Relationship.Self],
|
|
10877
|
-
name: {
|
|
10878
|
-
family: "string",
|
|
10879
|
-
given: ["string"],
|
|
10880
|
-
use: CandidApi.NameUse.Usual,
|
|
10881
|
-
period: {},
|
|
10882
|
-
},
|
|
10883
|
-
telecoms: [
|
|
10884
|
-
{
|
|
10885
|
-
value: "string",
|
|
10886
|
-
use: CandidApi.ContactPointUse.Home,
|
|
10887
|
-
},
|
|
10888
|
-
],
|
|
10889
|
-
addresses: [
|
|
10890
|
-
{
|
|
10891
|
-
use: CandidApi.AddressUse.Home,
|
|
10892
|
-
line: ["string"],
|
|
10893
|
-
city: "string",
|
|
10894
|
-
state: "string",
|
|
10895
|
-
postalCode: "string",
|
|
10896
|
-
country: "string",
|
|
10897
|
-
period: {},
|
|
10898
|
-
},
|
|
10899
|
-
],
|
|
10900
|
-
period: {},
|
|
10901
|
-
hipaaAuthorization: true,
|
|
10902
|
-
},
|
|
10903
|
-
],
|
|
10904
|
-
generalPractitioners: [
|
|
10905
|
-
{
|
|
10906
|
-
name: {
|
|
10907
|
-
family: "string",
|
|
10908
|
-
given: ["string"],
|
|
10909
|
-
use: CandidApi.NameUse.Usual,
|
|
10910
|
-
period: {},
|
|
10911
|
-
},
|
|
10912
|
-
type: CandidApi.ExternalProviderType.Primary,
|
|
10913
|
-
npi: "string",
|
|
10914
|
-
telecoms: [
|
|
10915
|
-
{
|
|
10916
|
-
value: "string",
|
|
10917
|
-
use: CandidApi.ContactPointUse.Home,
|
|
10918
|
-
},
|
|
10919
|
-
],
|
|
10920
|
-
addresses: [],
|
|
10921
|
-
period: {},
|
|
10922
|
-
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
10923
|
-
},
|
|
10924
|
-
],
|
|
10925
|
-
filingOrder: {
|
|
10926
|
-
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
10927
|
-
},
|
|
10928
|
-
nonInsurancePayers: [CandidApi.CanonicalNonInsurancePayerId("string")],
|
|
10929
|
-
nonInsurancePayerAssociations: [
|
|
10930
|
-
{
|
|
10931
|
-
id: CandidApi.CanonicalNonInsurancePayerId("string"),
|
|
10932
|
-
},
|
|
10933
|
-
],
|
|
10934
|
-
guarantor: {
|
|
10935
|
-
name: {
|
|
10936
|
-
family: "string",
|
|
10937
|
-
given: ["string"],
|
|
10938
|
-
use: CandidApi.NameUse.Usual,
|
|
10939
|
-
period: {},
|
|
10940
|
-
},
|
|
10941
|
-
telecom: {
|
|
10942
|
-
value: "string",
|
|
10943
|
-
use: CandidApi.ContactPointUse.Home,
|
|
10944
|
-
},
|
|
10945
|
-
email: "string",
|
|
10946
|
-
birthDate: "2023-01-15",
|
|
10947
|
-
address: {
|
|
10948
|
-
use: CandidApi.AddressUse.Home,
|
|
10949
|
-
line: ["string"],
|
|
10950
|
-
city: "string",
|
|
10951
|
-
state: "string",
|
|
10952
|
-
postalCode: "string",
|
|
10953
|
-
country: "string",
|
|
10954
|
-
period: {},
|
|
10955
|
-
},
|
|
10956
|
-
},
|
|
10957
|
-
selfPay: true,
|
|
10958
|
-
authorizations: [
|
|
10959
|
-
{
|
|
10960
|
-
payerId: CandidApi.PayerId("string"),
|
|
10961
|
-
payerName: "string",
|
|
10962
|
-
authorizationNumber: "string",
|
|
10963
|
-
cptCode: "string",
|
|
10964
|
-
units: CandidApi.AuthorizationUnit.Visit,
|
|
10965
|
-
},
|
|
10966
|
-
],
|
|
10967
|
-
referrals: [
|
|
10968
|
-
{
|
|
10969
|
-
provider: {
|
|
10970
|
-
name: {
|
|
10971
|
-
family: "string",
|
|
10972
|
-
given: ["string"],
|
|
10973
|
-
use: CandidApi.NameUse.Usual,
|
|
10974
|
-
period: {},
|
|
10975
|
-
},
|
|
10976
|
-
type: CandidApi.ExternalProviderType.Primary,
|
|
10977
|
-
npi: "string",
|
|
10978
|
-
telecoms: [
|
|
10979
|
-
{
|
|
10980
|
-
value: "string",
|
|
10981
|
-
use: CandidApi.ContactPointUse.Home,
|
|
10982
|
-
},
|
|
10983
|
-
],
|
|
10984
|
-
addresses: [],
|
|
10985
|
-
period: {},
|
|
10986
|
-
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
10987
|
-
},
|
|
10988
|
-
referralNumber: "string",
|
|
10989
|
-
},
|
|
10990
|
-
],
|
|
10991
|
-
primaryServiceFacilityId: "string",
|
|
10992
|
-
doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
|
|
10993
|
-
},
|
|
10994
|
-
});
|
|
11806
|
+
await client.preEncounter.patients.v1.deactivate(CandidApi.PatientId("string"), "string");
|
|
10995
11807
|
```
|
|
10996
11808
|
|
|
10997
11809
|
</dd>
|
|
@@ -11007,7 +11819,15 @@ await client.preEncounter.patients.v1.createWithMrn({
|
|
|
11007
11819
|
<dl>
|
|
11008
11820
|
<dd>
|
|
11009
11821
|
|
|
11010
|
-
**
|
|
11822
|
+
**id:** `CandidApi.PatientId`
|
|
11823
|
+
|
|
11824
|
+
</dd>
|
|
11825
|
+
</dl>
|
|
11826
|
+
|
|
11827
|
+
<dl>
|
|
11828
|
+
<dd>
|
|
11829
|
+
|
|
11830
|
+
**version:** `string`
|
|
11011
11831
|
|
|
11012
11832
|
</dd>
|
|
11013
11833
|
</dl>
|
|
@@ -11026,7 +11846,7 @@ await client.preEncounter.patients.v1.createWithMrn({
|
|
|
11026
11846
|
</dl>
|
|
11027
11847
|
</details>
|
|
11028
11848
|
|
|
11029
|
-
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">
|
|
11849
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">search</a>({ ...params }) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.search.Error></code></summary>
|
|
11030
11850
|
<dl>
|
|
11031
11851
|
<dd>
|
|
11032
11852
|
|
|
@@ -11038,7 +11858,7 @@ await client.preEncounter.patients.v1.createWithMrn({
|
|
|
11038
11858
|
<dl>
|
|
11039
11859
|
<dd>
|
|
11040
11860
|
|
|
11041
|
-
|
|
11861
|
+
Returns a list of Patients based on the search criteria.
|
|
11042
11862
|
|
|
11043
11863
|
</dd>
|
|
11044
11864
|
</dl>
|
|
@@ -11054,12 +11874,9 @@ Searches for patients that match the query parameters.
|
|
|
11054
11874
|
<dd>
|
|
11055
11875
|
|
|
11056
11876
|
```typescript
|
|
11057
|
-
await client.preEncounter.patients.v1.
|
|
11058
|
-
limit: 1,
|
|
11877
|
+
await client.preEncounter.patients.v1.search({
|
|
11059
11878
|
mrn: "string",
|
|
11060
|
-
|
|
11061
|
-
sortField: CandidApi.PatientSortField("string"),
|
|
11062
|
-
sortDirection: CandidApi.SortDirection.Asc,
|
|
11879
|
+
similarNameOrdering: "string",
|
|
11063
11880
|
});
|
|
11064
11881
|
```
|
|
11065
11882
|
|
|
@@ -11076,7 +11893,7 @@ await client.preEncounter.patients.v1.getMulti({
|
|
|
11076
11893
|
<dl>
|
|
11077
11894
|
<dd>
|
|
11078
11895
|
|
|
11079
|
-
**request:** `CandidApi.preEncounter.patients.v1.
|
|
11896
|
+
**request:** `CandidApi.preEncounter.patients.v1.PatientGetMultiRequest`
|
|
11080
11897
|
|
|
11081
11898
|
</dd>
|
|
11082
11899
|
</dl>
|
|
@@ -11095,7 +11912,7 @@ await client.preEncounter.patients.v1.getMulti({
|
|
|
11095
11912
|
</dl>
|
|
11096
11913
|
</details>
|
|
11097
11914
|
|
|
11098
|
-
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">
|
|
11915
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.scan.Error></code></summary>
|
|
11099
11916
|
<dl>
|
|
11100
11917
|
<dd>
|
|
11101
11918
|
|
|
@@ -11107,7 +11924,7 @@ await client.preEncounter.patients.v1.getMulti({
|
|
|
11107
11924
|
<dl>
|
|
11108
11925
|
<dd>
|
|
11109
11926
|
|
|
11110
|
-
|
|
11927
|
+
Scans up to 100 patient updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
|
|
11111
11928
|
|
|
11112
11929
|
</dd>
|
|
11113
11930
|
</dl>
|
|
@@ -11123,7 +11940,9 @@ Gets a patient.
|
|
|
11123
11940
|
<dd>
|
|
11124
11941
|
|
|
11125
11942
|
```typescript
|
|
11126
|
-
await client.preEncounter.patients.v1.
|
|
11943
|
+
await client.preEncounter.patients.v1.scan({
|
|
11944
|
+
since: new Date("2024-01-15T09:30:00.000Z"),
|
|
11945
|
+
});
|
|
11127
11946
|
```
|
|
11128
11947
|
|
|
11129
11948
|
</dd>
|
|
@@ -11139,7 +11958,7 @@ await client.preEncounter.patients.v1.get(CandidApi.PatientId("string"));
|
|
|
11139
11958
|
<dl>
|
|
11140
11959
|
<dd>
|
|
11141
11960
|
|
|
11142
|
-
**
|
|
11961
|
+
**request:** `CandidApi.preEncounter.patients.v1.PatientScanRequest`
|
|
11143
11962
|
|
|
11144
11963
|
</dd>
|
|
11145
11964
|
</dl>
|
|
@@ -11158,7 +11977,9 @@ await client.preEncounter.patients.v1.get(CandidApi.PatientId("string"));
|
|
|
11158
11977
|
</dl>
|
|
11159
11978
|
</details>
|
|
11160
11979
|
|
|
11161
|
-
|
|
11980
|
+
## PreEncounter Tags V1
|
|
11981
|
+
|
|
11982
|
+
<details><summary><code>client.preEncounter.tags.v1.<a href="/src/api/resources/preEncounter/resources/tags/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse<CandidApi.Tag, CandidApi.preEncounter.tags.v1.get.Error></code></summary>
|
|
11162
11983
|
<dl>
|
|
11163
11984
|
<dd>
|
|
11164
11985
|
|
|
@@ -11170,7 +11991,7 @@ await client.preEncounter.patients.v1.get(CandidApi.PatientId("string"));
|
|
|
11170
11991
|
<dl>
|
|
11171
11992
|
<dd>
|
|
11172
11993
|
|
|
11173
|
-
Gets a
|
|
11994
|
+
Gets a tag by TagId.
|
|
11174
11995
|
|
|
11175
11996
|
</dd>
|
|
11176
11997
|
</dl>
|
|
@@ -11186,7 +12007,7 @@ Gets a patient along with it's full history. The return list is ordered by versi
|
|
|
11186
12007
|
<dd>
|
|
11187
12008
|
|
|
11188
12009
|
```typescript
|
|
11189
|
-
await client.preEncounter.
|
|
12010
|
+
await client.preEncounter.tags.v1.get(CandidApi.TagId("string"));
|
|
11190
12011
|
```
|
|
11191
12012
|
|
|
11192
12013
|
</dd>
|
|
@@ -11202,7 +12023,7 @@ await client.preEncounter.patients.v1.getHistory(CandidApi.PatientId("string"));
|
|
|
11202
12023
|
<dl>
|
|
11203
12024
|
<dd>
|
|
11204
12025
|
|
|
11205
|
-
**id:** `CandidApi.
|
|
12026
|
+
**id:** `CandidApi.TagId`
|
|
11206
12027
|
|
|
11207
12028
|
</dd>
|
|
11208
12029
|
</dl>
|
|
@@ -11221,7 +12042,7 @@ await client.preEncounter.patients.v1.getHistory(CandidApi.PatientId("string"));
|
|
|
11221
12042
|
</dl>
|
|
11222
12043
|
</details>
|
|
11223
12044
|
|
|
11224
|
-
<details><summary><code>client.preEncounter.
|
|
12045
|
+
<details><summary><code>client.preEncounter.tags.v1.<a href="/src/api/resources/preEncounter/resources/tags/resources/v1/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse<CandidApi.TagPage, CandidApi.preEncounter.tags.v1.getAll.Error></code></summary>
|
|
11225
12046
|
<dl>
|
|
11226
12047
|
<dd>
|
|
11227
12048
|
|
|
@@ -11233,7 +12054,7 @@ await client.preEncounter.patients.v1.getHistory(CandidApi.PatientId("string"));
|
|
|
11233
12054
|
<dl>
|
|
11234
12055
|
<dd>
|
|
11235
12056
|
|
|
11236
|
-
|
|
12057
|
+
Gets all tags. Defaults to page size of 1000.
|
|
11237
12058
|
|
|
11238
12059
|
</dd>
|
|
11239
12060
|
</dl>
|
|
@@ -11249,189 +12070,9 @@ Updates a patient. The path must contain the most recent version to prevent race
|
|
|
11249
12070
|
<dd>
|
|
11250
12071
|
|
|
11251
12072
|
```typescript
|
|
11252
|
-
await client.preEncounter.
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
given: ["string"],
|
|
11256
|
-
use: CandidApi.NameUse.Usual,
|
|
11257
|
-
period: {},
|
|
11258
|
-
},
|
|
11259
|
-
otherNames: [
|
|
11260
|
-
{
|
|
11261
|
-
family: "string",
|
|
11262
|
-
given: ["string"],
|
|
11263
|
-
use: CandidApi.NameUse.Usual,
|
|
11264
|
-
period: {},
|
|
11265
|
-
},
|
|
11266
|
-
],
|
|
11267
|
-
gender: CandidApi.Gender.Man,
|
|
11268
|
-
birthDate: "2023-01-15",
|
|
11269
|
-
socialSecurityNumber: "string",
|
|
11270
|
-
biologicalSex: CandidApi.Sex.Female,
|
|
11271
|
-
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
11272
|
-
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
11273
|
-
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
11274
|
-
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
11275
|
-
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
11276
|
-
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
11277
|
-
multipleBirth: 1,
|
|
11278
|
-
primaryAddress: {
|
|
11279
|
-
use: CandidApi.AddressUse.Home,
|
|
11280
|
-
line: ["string"],
|
|
11281
|
-
city: "string",
|
|
11282
|
-
state: "string",
|
|
11283
|
-
postalCode: "string",
|
|
11284
|
-
country: "string",
|
|
11285
|
-
period: {},
|
|
11286
|
-
},
|
|
11287
|
-
otherAddresses: [
|
|
11288
|
-
{
|
|
11289
|
-
use: CandidApi.AddressUse.Home,
|
|
11290
|
-
line: ["string"],
|
|
11291
|
-
city: "string",
|
|
11292
|
-
state: "string",
|
|
11293
|
-
postalCode: "string",
|
|
11294
|
-
country: "string",
|
|
11295
|
-
period: {},
|
|
11296
|
-
},
|
|
11297
|
-
],
|
|
11298
|
-
primaryTelecom: {
|
|
11299
|
-
value: "string",
|
|
11300
|
-
use: CandidApi.ContactPointUse.Home,
|
|
11301
|
-
},
|
|
11302
|
-
otherTelecoms: [
|
|
11303
|
-
{
|
|
11304
|
-
value: "string",
|
|
11305
|
-
use: CandidApi.ContactPointUse.Home,
|
|
11306
|
-
},
|
|
11307
|
-
],
|
|
11308
|
-
email: "string",
|
|
11309
|
-
electronicCommunicationOptIn: true,
|
|
11310
|
-
photo: "string",
|
|
11311
|
-
language: "string",
|
|
11312
|
-
externalProvenance: {
|
|
11313
|
-
externalId: "string",
|
|
11314
|
-
systemName: "string",
|
|
11315
|
-
},
|
|
11316
|
-
contacts: [
|
|
11317
|
-
{
|
|
11318
|
-
relationship: [CandidApi.Relationship.Self],
|
|
11319
|
-
name: {
|
|
11320
|
-
family: "string",
|
|
11321
|
-
given: ["string"],
|
|
11322
|
-
use: CandidApi.NameUse.Usual,
|
|
11323
|
-
period: {},
|
|
11324
|
-
},
|
|
11325
|
-
telecoms: [
|
|
11326
|
-
{
|
|
11327
|
-
value: "string",
|
|
11328
|
-
use: CandidApi.ContactPointUse.Home,
|
|
11329
|
-
},
|
|
11330
|
-
],
|
|
11331
|
-
addresses: [
|
|
11332
|
-
{
|
|
11333
|
-
use: CandidApi.AddressUse.Home,
|
|
11334
|
-
line: ["string"],
|
|
11335
|
-
city: "string",
|
|
11336
|
-
state: "string",
|
|
11337
|
-
postalCode: "string",
|
|
11338
|
-
country: "string",
|
|
11339
|
-
period: {},
|
|
11340
|
-
},
|
|
11341
|
-
],
|
|
11342
|
-
period: {},
|
|
11343
|
-
hipaaAuthorization: true,
|
|
11344
|
-
},
|
|
11345
|
-
],
|
|
11346
|
-
generalPractitioners: [
|
|
11347
|
-
{
|
|
11348
|
-
name: {
|
|
11349
|
-
family: "string",
|
|
11350
|
-
given: ["string"],
|
|
11351
|
-
use: CandidApi.NameUse.Usual,
|
|
11352
|
-
period: {},
|
|
11353
|
-
},
|
|
11354
|
-
type: CandidApi.ExternalProviderType.Primary,
|
|
11355
|
-
npi: "string",
|
|
11356
|
-
telecoms: [
|
|
11357
|
-
{
|
|
11358
|
-
value: "string",
|
|
11359
|
-
use: CandidApi.ContactPointUse.Home,
|
|
11360
|
-
},
|
|
11361
|
-
],
|
|
11362
|
-
addresses: [],
|
|
11363
|
-
period: {},
|
|
11364
|
-
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
11365
|
-
},
|
|
11366
|
-
],
|
|
11367
|
-
filingOrder: {
|
|
11368
|
-
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
11369
|
-
},
|
|
11370
|
-
nonInsurancePayers: [CandidApi.CanonicalNonInsurancePayerId("string")],
|
|
11371
|
-
nonInsurancePayerAssociations: [
|
|
11372
|
-
{
|
|
11373
|
-
id: CandidApi.CanonicalNonInsurancePayerId("string"),
|
|
11374
|
-
},
|
|
11375
|
-
],
|
|
11376
|
-
guarantor: {
|
|
11377
|
-
name: {
|
|
11378
|
-
family: "string",
|
|
11379
|
-
given: ["string"],
|
|
11380
|
-
use: CandidApi.NameUse.Usual,
|
|
11381
|
-
period: {},
|
|
11382
|
-
},
|
|
11383
|
-
telecom: {
|
|
11384
|
-
value: "string",
|
|
11385
|
-
use: CandidApi.ContactPointUse.Home,
|
|
11386
|
-
},
|
|
11387
|
-
email: "string",
|
|
11388
|
-
birthDate: "2023-01-15",
|
|
11389
|
-
address: {
|
|
11390
|
-
use: CandidApi.AddressUse.Home,
|
|
11391
|
-
line: ["string"],
|
|
11392
|
-
city: "string",
|
|
11393
|
-
state: "string",
|
|
11394
|
-
postalCode: "string",
|
|
11395
|
-
country: "string",
|
|
11396
|
-
period: {},
|
|
11397
|
-
},
|
|
11398
|
-
},
|
|
11399
|
-
selfPay: true,
|
|
11400
|
-
authorizations: [
|
|
11401
|
-
{
|
|
11402
|
-
payerId: CandidApi.PayerId("string"),
|
|
11403
|
-
payerName: "string",
|
|
11404
|
-
authorizationNumber: "string",
|
|
11405
|
-
cptCode: "string",
|
|
11406
|
-
units: CandidApi.AuthorizationUnit.Visit,
|
|
11407
|
-
},
|
|
11408
|
-
],
|
|
11409
|
-
referrals: [
|
|
11410
|
-
{
|
|
11411
|
-
provider: {
|
|
11412
|
-
name: {
|
|
11413
|
-
family: "string",
|
|
11414
|
-
given: ["string"],
|
|
11415
|
-
use: CandidApi.NameUse.Usual,
|
|
11416
|
-
period: {},
|
|
11417
|
-
},
|
|
11418
|
-
type: CandidApi.ExternalProviderType.Primary,
|
|
11419
|
-
npi: "string",
|
|
11420
|
-
telecoms: [
|
|
11421
|
-
{
|
|
11422
|
-
value: "string",
|
|
11423
|
-
use: CandidApi.ContactPointUse.Home,
|
|
11424
|
-
},
|
|
11425
|
-
],
|
|
11426
|
-
addresses: [],
|
|
11427
|
-
period: {},
|
|
11428
|
-
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
11429
|
-
},
|
|
11430
|
-
referralNumber: "string",
|
|
11431
|
-
},
|
|
11432
|
-
],
|
|
11433
|
-
primaryServiceFacilityId: "string",
|
|
11434
|
-
doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
|
|
12073
|
+
await client.preEncounter.tags.v1.getAll({
|
|
12074
|
+
limit: 1,
|
|
12075
|
+
pageToken: CandidApi.PageToken("string"),
|
|
11435
12076
|
});
|
|
11436
12077
|
```
|
|
11437
12078
|
|
|
@@ -11448,23 +12089,7 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
|
|
|
11448
12089
|
<dl>
|
|
11449
12090
|
<dd>
|
|
11450
12091
|
|
|
11451
|
-
**
|
|
11452
|
-
|
|
11453
|
-
</dd>
|
|
11454
|
-
</dl>
|
|
11455
|
-
|
|
11456
|
-
<dl>
|
|
11457
|
-
<dd>
|
|
11458
|
-
|
|
11459
|
-
**version:** `string`
|
|
11460
|
-
|
|
11461
|
-
</dd>
|
|
11462
|
-
</dl>
|
|
11463
|
-
|
|
11464
|
-
<dl>
|
|
11465
|
-
<dd>
|
|
11466
|
-
|
|
11467
|
-
**request:** `CandidApi.MutablePatient`
|
|
12092
|
+
**request:** `CandidApi.preEncounter.tags.v1.GetAllTagsRequest`
|
|
11468
12093
|
|
|
11469
12094
|
</dd>
|
|
11470
12095
|
</dl>
|
|
@@ -11483,7 +12108,7 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
|
|
|
11483
12108
|
</dl>
|
|
11484
12109
|
</details>
|
|
11485
12110
|
|
|
11486
|
-
<details><summary><code>client.preEncounter.
|
|
12111
|
+
<details><summary><code>client.preEncounter.tags.v1.<a href="/src/api/resources/preEncounter/resources/tags/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Tag, CandidApi.preEncounter.tags.v1.create.Error></code></summary>
|
|
11487
12112
|
<dl>
|
|
11488
12113
|
<dd>
|
|
11489
12114
|
|
|
@@ -11495,7 +12120,7 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
|
|
|
11495
12120
|
<dl>
|
|
11496
12121
|
<dd>
|
|
11497
12122
|
|
|
11498
|
-
|
|
12123
|
+
Adds a new tag if it does not already exist, otherwise, returns the existing tag.
|
|
11499
12124
|
|
|
11500
12125
|
</dd>
|
|
11501
12126
|
</dl>
|
|
@@ -11511,7 +12136,9 @@ Sets a patient as deactivated. The path must contain the most recent version to
|
|
|
11511
12136
|
<dd>
|
|
11512
12137
|
|
|
11513
12138
|
```typescript
|
|
11514
|
-
await client.preEncounter.
|
|
12139
|
+
await client.preEncounter.tags.v1.create({
|
|
12140
|
+
value: "string",
|
|
12141
|
+
});
|
|
11515
12142
|
```
|
|
11516
12143
|
|
|
11517
12144
|
</dd>
|
|
@@ -11527,15 +12154,7 @@ await client.preEncounter.patients.v1.deactivate(CandidApi.PatientId("string"),
|
|
|
11527
12154
|
<dl>
|
|
11528
12155
|
<dd>
|
|
11529
12156
|
|
|
11530
|
-
**
|
|
11531
|
-
|
|
11532
|
-
</dd>
|
|
11533
|
-
</dl>
|
|
11534
|
-
|
|
11535
|
-
<dl>
|
|
11536
|
-
<dd>
|
|
11537
|
-
|
|
11538
|
-
**version:** `string`
|
|
12157
|
+
**request:** `CandidApi.MutableTag`
|
|
11539
12158
|
|
|
11540
12159
|
</dd>
|
|
11541
12160
|
</dl>
|
|
@@ -11554,7 +12173,7 @@ await client.preEncounter.patients.v1.deactivate(CandidApi.PatientId("string"),
|
|
|
11554
12173
|
</dl>
|
|
11555
12174
|
</details>
|
|
11556
12175
|
|
|
11557
|
-
<details><summary><code>client.preEncounter.
|
|
12176
|
+
<details><summary><code>client.preEncounter.tags.v1.<a href="/src/api/resources/preEncounter/resources/tags/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse<CandidApi.Tag, CandidApi.preEncounter.tags.v1.update.Error></code></summary>
|
|
11558
12177
|
<dl>
|
|
11559
12178
|
<dd>
|
|
11560
12179
|
|
|
@@ -11566,7 +12185,7 @@ await client.preEncounter.patients.v1.deactivate(CandidApi.PatientId("string"),
|
|
|
11566
12185
|
<dl>
|
|
11567
12186
|
<dd>
|
|
11568
12187
|
|
|
11569
|
-
|
|
12188
|
+
Updates a tag. The path must contain the most recent version to prevent races.
|
|
11570
12189
|
|
|
11571
12190
|
</dd>
|
|
11572
12191
|
</dl>
|
|
@@ -11582,9 +12201,8 @@ Returns a list of Patients based on the search criteria.
|
|
|
11582
12201
|
<dd>
|
|
11583
12202
|
|
|
11584
12203
|
```typescript
|
|
11585
|
-
await client.preEncounter.
|
|
11586
|
-
|
|
11587
|
-
similarNameOrdering: "string",
|
|
12204
|
+
await client.preEncounter.tags.v1.update(CandidApi.TagId("string"), "string", {
|
|
12205
|
+
value: "string",
|
|
11588
12206
|
});
|
|
11589
12207
|
```
|
|
11590
12208
|
|
|
@@ -11601,7 +12219,23 @@ await client.preEncounter.patients.v1.search({
|
|
|
11601
12219
|
<dl>
|
|
11602
12220
|
<dd>
|
|
11603
12221
|
|
|
11604
|
-
**
|
|
12222
|
+
**id:** `CandidApi.TagId`
|
|
12223
|
+
|
|
12224
|
+
</dd>
|
|
12225
|
+
</dl>
|
|
12226
|
+
|
|
12227
|
+
<dl>
|
|
12228
|
+
<dd>
|
|
12229
|
+
|
|
12230
|
+
**version:** `string`
|
|
12231
|
+
|
|
12232
|
+
</dd>
|
|
12233
|
+
</dl>
|
|
12234
|
+
|
|
12235
|
+
<dl>
|
|
12236
|
+
<dd>
|
|
12237
|
+
|
|
12238
|
+
**request:** `CandidApi.MutableTag`
|
|
11605
12239
|
|
|
11606
12240
|
</dd>
|
|
11607
12241
|
</dl>
|
|
@@ -11620,7 +12254,7 @@ await client.preEncounter.patients.v1.search({
|
|
|
11620
12254
|
</dl>
|
|
11621
12255
|
</details>
|
|
11622
12256
|
|
|
11623
|
-
<details><summary><code>client.preEncounter.
|
|
12257
|
+
<details><summary><code>client.preEncounter.tags.v1.<a href="/src/api/resources/preEncounter/resources/tags/resources/v1/client/Client.ts">deactivate</a>(id, version) -> core.APIResponse<void, CandidApi.preEncounter.tags.v1.deactivate.Error></code></summary>
|
|
11624
12258
|
<dl>
|
|
11625
12259
|
<dd>
|
|
11626
12260
|
|
|
@@ -11632,7 +12266,7 @@ await client.preEncounter.patients.v1.search({
|
|
|
11632
12266
|
<dl>
|
|
11633
12267
|
<dd>
|
|
11634
12268
|
|
|
11635
|
-
|
|
12269
|
+
Sets a tag as deactivated. The path must contain the most recent version to prevent races.
|
|
11636
12270
|
|
|
11637
12271
|
</dd>
|
|
11638
12272
|
</dl>
|
|
@@ -11648,9 +12282,7 @@ Scans up to 100 patient updates. The since query parameter is inclusive, and the
|
|
|
11648
12282
|
<dd>
|
|
11649
12283
|
|
|
11650
12284
|
```typescript
|
|
11651
|
-
await client.preEncounter.
|
|
11652
|
-
since: new Date("2024-01-15T09:30:00.000Z"),
|
|
11653
|
-
});
|
|
12285
|
+
await client.preEncounter.tags.v1.deactivate(CandidApi.TagId("string"), "string");
|
|
11654
12286
|
```
|
|
11655
12287
|
|
|
11656
12288
|
</dd>
|
|
@@ -11666,7 +12298,15 @@ await client.preEncounter.patients.v1.scan({
|
|
|
11666
12298
|
<dl>
|
|
11667
12299
|
<dd>
|
|
11668
12300
|
|
|
11669
|
-
**
|
|
12301
|
+
**id:** `CandidApi.TagId`
|
|
12302
|
+
|
|
12303
|
+
</dd>
|
|
12304
|
+
</dl>
|
|
12305
|
+
|
|
12306
|
+
<dl>
|
|
12307
|
+
<dd>
|
|
12308
|
+
|
|
12309
|
+
**version:** `string`
|
|
11670
12310
|
|
|
11671
12311
|
</dd>
|
|
11672
12312
|
</dl>
|