PatientService

interface PatientService

Functions

deletePatientAccount
Link copied to clipboard
abstract fun deletePatientAccount(): DataObserver<Unit>
This api will sends a request to delete the Patient Account at DexCareThis does not delete any epic or other accounts.
findOrCreateDependentPatient
Link copied to clipboard
abstract fun findOrCreateDependentPatient(ehrSystem: String, dependentPatientDemographics: PatientDemographics): DataObserver<DexCarePatient>
This api will find or create a DexCare patient record for the patient, without linking it to the current auth account.
findOrCreatePatient
Link copied to clipboard
abstract fun findOrCreatePatient(ehrSystem: String, patientDemographics: PatientDemographics): DataObserver<DexCarePatient>
This api will find or create a DexCare Patient and links to the EHR patient in the specified ehrSystem and also links it to the current auth account.
getCatchmentArea
Link copied to clipboard
abstract fun getCatchmentArea(visitState: String, residenceState: String, residenceZipCode: String, brand: String): DataObserver<CatchmentArea>
Determines the EHR system and department that should be used for a given visit state and patient address state/zip code.
getPatient
Link copied to clipboard
abstract fun getPatient(): DataObserver<DexCarePatient>
This api will retrieve the DexCare Patient object which has all information about the patient like PatientGuid, demographics links, etc.
getSuffixes
Link copied to clipboard
abstract fun getSuffixes(): DataObserver<List<String>>
This api will get a list of pre-defined suffixes to be used in a name.