Currently, the use case choosepatient does three things:
Logout from ListOfPatientsView
ModifyPatient which should be in PatientsChatWithBotView since that modifies a patient instance, whereas ListOfPatientsView is a view that should only be seen by doctors
ChoosePatient from ListOfPatientsView
All three of these use cases need to have their own sequence, i.e. their own Controller, Presenter, Interactor, etc. as well as their own UseCaseFactories.
Currently, the use case
choosepatient
does three things:ListOfPatientsView
PatientsChatWithBotView
since that modifies a patient instance, whereasListOfPatientsView
is a view that should only be seen by doctorsListOfPatientsView
All three of these use cases need to have their own sequence, i.e. their own
Controller
,Presenter
,Interactor
, etc. as well as their ownUseCaseFactories
.Logout
use caseModifyPatient
use caseChoosePatient
use case