Wiki source code of UC01.0: Going for a walk

Last modified by Rick Dekker on 2023/04/10 16:38

Hide last authors
Mohamed Elsayed 2.1 1 |**Objective**|(((
Mohamed Elsayed 3.1 2 OB01: Entertain and accompany a PwD
Mohamed Elsayed 2.1 3
Mohamed Elsayed 3.1 4 OB03: Maintain the autonomy of PwD
Mohamed Elsayed 2.1 5
Mohamed Elsayed 3.1 6 OB04: Reduce the workload of the nurses working at the nursing home
Mohamed Elsayed 2.1 7
Mohamed Elsayed 3.1 8 OB05: Reduce stress and offer a distraction for the PwD
Mohamed Elsayed 2.1 9 )))
10 |**TDP**|N/A
Mohamed Elsayed 4.1 11 |**Actors**|[[Person with Dementia>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/Person%20with%20dementia/]], [[Nurse/Caretaker>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/NurseCaretaker/]], [[Dogg0>>doc:0\. Introduction.WebHome]]
Rick  Dekker 6.1 12 |**Pre-condition**|Going for a walk is possible. That depends on whether conditions are suitable and if it fits in the schedule. [[Nurse/Caretaker>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/NurseCaretaker/]] can provide this schedule to Dogg0
13 |**Post-condition**|The walk has ended.
Mohamed Elsayed 2.1 14 |**Action sequence**|(((
Rick  Dekker 7.1 15 //1) Initiate 'Going for a walk'//
16
17 'Going for a walk' can be initiated in three ways: 1) A [[Person with Dementia>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/Person%20with%20dementia/]] gives cue to dog that he/she wants to go for a walk by giving the commando 'walk'. 2) [[Dogg0>>doc:0\. Introduction.WebHome]] displays its' "willingness to walk" behaviour and patient follows [[Dogg0. >>doc:0\. Introduction.WebHome]]3) [[Nurse/Caretaker>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/NurseCaretaker/]] takes the patient on a walk themselves.
18
19 //2 Assist Person with Dementia in going for a walk if necessary//
20
21 In case 1 and 2, the [[Nurse/Caretaker >>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/NurseCaretaker/]]gets notified that the [[Person with Dementia>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/Person%20with%20dementia/]] wants to for a walk. The [[Nurse/Caretaker>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/NurseCaretaker/]] proceeds to assist PwD if necessary.
22
23 //3 Dogg0 follows Person with Dementia//
24
25 [[Dogg0>>doc:0\. Introduction.WebHome]] follows the Person with Dementia while they go on a walk. [[Dogg0>>doc:0\. Introduction.WebHome]] should be autonomous enough to follow but the [[Nurse/Caretaker>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/NurseCaretaker/]] could intervene if something goes wrong.
Mohamed Elsayed 2.1 26 )))
Rick  Dekker 7.1 27 | |
Mohamed Elsayed 2.1 28
29 |**UC Step**|**Requirements**|**Claims**|**IDP**
Rick  Dekker 6.1 30 |1|(((
31 [[RQ01.0: Follow voice commands>>doc:2\. Specification.Requirements.RQ03\.2\: Fill voids with fun facts.WebHome]]
32 )))| |
33 |(((
Rick  Dekker 7.1 34 3
Rick  Dekker 6.1 35 )))|(((
Rick  Dekker 7.1 36 [[RQ03.0: Follow the patient>>RQ03.0: Follow the patient]], [[RQ04.0: Go for a walk>>doc:2\. Specification.Requirements.RQ03\.0\: Follow the patient.WebHome]]
Rick  Dekker 6.1 37 )))| |