PatientService

interface PatientService

Functions

deletePatientAccount
Link copied to clipboard
abstract fun deletePatientAccount(): DataObserver<Unit>
This api will send a request to delete the Patient Account at DexCare.
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.
getEMRPatient
Link copied to clipboard
abstract fun getEMRPatient(): DataObserver<DexCarePatient>
Retrieves DexCarePatient using non DexCare credentials e.g MyChart.
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.