Wiki source code of Use Cases

Version 94.1 by Sneha Lodha on 2022/04/02 20:00

Hide last authors
Sneha Lodha 88.1 1 (% style="text-align:center" %)
Sneha Lodha 84.1 2 ==UC01: Medication Reminder==
Sneha Lodha 68.1 3 (% style="text-align:center" %)
Sneha Lodha 87.1 4 [[image:UC_medication1.png]]
5 (% style="text-align:center" %)
Sneha Lodha 94.1 6 [[image:UC_medication2.png]][[image:UC_medication.png||width="300" height="600"]]
Sneha Lodha 91.1 7 Figure 1: Depcition of action sequence of medication reminder as a sequence diagram with interactions between Pepper and the PwD
Sneha Lodha 66.1 8
9
Sneha Lodha 65.1 10 {{html}}
Sneha Lodha 56.1 11 <h2>UC02: Meal Reminders</h2>
12 <table width="100%">
13 <tbody>
Pierre Bongrand 15.1 14 <tr>
Sneha Lodha 56.1 15 <td style="font-size: 16px;" width="30%">
16 <table border="1px" width="50%">
17 <tbody>
18 <tr>
19 <td bgcolor="gainsboro"><strong>Objective</strong></td>
20 <td width="70%">Increase the life span of patient with Dementia</td>
21 </tr>
22 <tr>
23 <td bgcolor="gainsboro"><strong>TDP</strong></td>
24 <td>TDP: Nutrition Reminder</td>
25 </tr>
26 <tr>
27 <td bgcolor="gainsboro"><strong>Actors</strong></td>
28 <td>Pepper robot, Patient with Dementia (PwD)</td>
29 </tr>
30 <tr>
31 <td bgcolor="gainsboro"><strong>Pre-condition</strong></td>
32 <td>
33 <ul>
34 <li>It is time for the patient to eat their meal</li>
35 <li>Robot is in proximity of PwD</li>
36 </ul>
37 </td>
38 </tr>
39 <tr>
40 <td bgcolor="gainsboro"><strong>Post-condition</strong></td>
41 <td>Patient has successfully eaten their meal</td>
42 </tr>
43 <tr>
44 <td bgcolor="gainsboro"><strong>Action sequence</strong></td>
Sneha Lodha 57.1 45 <td>UC steps:<br /> <strong>1.</strong> Play gentle music to gain the attention of PwD<br /> <strong>2.</strong> Understand if PwD already ate their meal <br /> <strong><em>IF</em></strong> the PwD did not eat their meal:<br /> <span style="padding-left: 40px; display: block;"> <strong>3.</strong> Remind them to eat their meal of the current time of the day<br /> <strong>4.</strong> Ask for confirmation of having eaten their meal <br /> <strong><em>UNTIL</em></strong> positive response of PwD, repeat Step 3 and 4<br /></span> <strong>5.</strong> Congratulate the PwD</td>
Sneha Lodha 56.1 46 </tr>
47 </tbody>
Pierre Bongrand 15.1 48 </table>
49 </td>
Sneha Lodha 56.1 50 <td style="font-size: 16px;" width="50%">
51 <table border="1px" width="50%">
52 <tbody>
53 <tr>
54 <td bgcolor="gainsboro"><strong>UC step </strong></td>
55 <td bgcolor="gainsboro"><strong>Requirements</strong></td>
56 <td bgcolor="gainsboro"><strong>Claims</strong></td>
57 <td bgcolor="gainsboro"><strong>IDP</strong></td>
58 </tr>
59 <tr>
60 <td>1</td>
Pierre Bongrand 51.9 61 <td>RQ002: Pepper knows the date and time.</td>
Sneha Lodha 56.1 62 <td>CL01:The PwD becomes aware of Pepper presence ,<br /> CL12: The PwD uses the music to create associations to certain tasks</td>
63 <td>IDP01</td>
64 </tr>
65 <tr>
66 <td>2</td>
67 <td>RQ001: Pepper knows the stage of dementia of PwD in order to ask question in appropriate format<br /> RQ003: Pepper understands the response from PwD</td>
Pierre Bongrand 53.4 68 <td>CL02: The PwD feels understood</td>
Sneha Lodha 56.1 69 <td>IDP02</td>
70 </tr>
71 <tr>
Sneha Lodha 57.1 72 <td>3</td>
Pierre Bongrand 51.11 73 <td>RQ002: Pepper knows the date and time</td>
Pierre Bongrand 53.4 74 <td>CL04: The PwD eats their meal</td>
Sneha Lodha 56.1 75 <td>IDP03</td>
76 </tr>
77 <tr>
Sneha Lodha 57.1 78 <td>4</td>
Haoran Wang 42.1 79 <td>RQ003: Pepper understands the response from PwD</td>
Pierre Bongrand 53.4 80 <td>CL02: The PwD feels understood</td>
Sneha Lodha 56.1 81 <td>IDP04</td>
82 </tr>
83 <tr>
Sneha Lodha 57.1 84 <td>5</td>
Haoran Wang 42.1 85 <td>-</td>
Pierre Bongrand 53.4 86 <td>CL08: The PwD feels accomplished</td>
Sneha Lodha 56.1 87 <td>IDP05</td>
88 </tr>
89 </tbody>
Pierre Bongrand 15.1 90 </table>
Sneha Lodha 56.1 91 </td>
92 </tr>
93 </tbody>
Pierre Bongrand 15.1 94 </table>
Sneha Lodha 68.1 95
96 {{/html}}
97
98 (% style="text-align:center" %)
99 [[image:UC_meal.png]]
100
101
102 {{html}}
103
Sneha Lodha 56.1 104 <h2>UC03: Calender Event Reminders</h2>
105 <table width="100%">
106 <tbody>
Pierre Bongrand 22.1 107 <tr>
Sneha Lodha 56.1 108 <td style="font-size: 16px;" width="30%">
109 <table border="1px" width="50%">
110 <tbody>
111 <tr>
112 <td bgcolor="gainsboro"><strong>Objective</strong></td>
113 <td width="70%">Improve the quality of life of the patient with dementia</td>
114 </tr>
115 <tr>
116 <td bgcolor="gainsboro"><strong>TDP</strong></td>
117 <td>TDP: Calendar Event Reminder</td>
118 </tr>
119 <tr>
120 <td bgcolor="gainsboro"><strong>Actors</strong></td>
121 <td>Pepper robot, Patient with Dementia (PwD)</td>
122 </tr>
123 <tr>
124 <td bgcolor="gainsboro"><strong>Pre-condition</strong></td>
125 <td>
126 <ul>
127 <li>It is time for the patient to prepare for an upcoming event</li>
128 <li>Robot is in proximity of PwD</li>
129 </ul>
130 </td>
131 </tr>
132 <tr>
133 <td bgcolor="gainsboro"><strong>Post-condition</strong></td>
134 <td>Patient has been successfully reminded of the upcoming event</td>
135 </tr>
136 <tr>
137 <td bgcolor="gainsboro"><strong>Action sequence</strong></td>
Sneha Lodha 57.1 138 <td>UC steps:<br /> <strong>1.</strong> Play gentle music to gain the attention of PwD<br /> <strong>2.</strong> Remind PwD about the upcoming event in calendar <br /> <strong>3.</strong> Ask how PwD feels about the upcoming event<br /><strong><em>UNTIL</em></strong> any response from PwD, repeat Step 3<br /> <strong>4.</strong> Wish good luck for the upcoming event</td>
Sneha Lodha 56.1 139 </tr>
140 </tbody>
Pierre Bongrand 22.1 141 </table>
142 </td>
Sneha Lodha 56.1 143 <td style="font-size: 16px;" width="50%">
144 <table border="1px" width="50%">
145 <tbody>
146 <tr>
147 <td bgcolor="gainsboro"><strong>UC step </strong></td>
148 <td bgcolor="gainsboro"><strong>Requirements</strong></td>
149 <td bgcolor="gainsboro"><strong>Claims</strong></td>
150 <td bgcolor="gainsboro"><strong>IDP</strong></td>
151 </tr>
152 <tr>
153 <td>1</td>
Pierre Bongrand 51.13 154 <td>RQ002: Pepper knows the date and time.</td>
Sneha Lodha 56.1 155 <td>CL01: The PwD becomes aware of Pepper presence,<br /> CL12: The PwD uses the music to create associations to certain tasks</td>
156 <td>IDP01</td>
157 </tr>
158 <tr>
159 <td>2</td>
Pierre Bongrand 51.13 160 <td>RQ008: Pepper has access to the PwD's calendar</td>
Pierre Bongrand 53.5 161 <td>CL09: The PwD attends their calendar event</td>
Sneha Lodha 56.1 162 <td>IDP03</td>
163 </tr>
164 <tr>
Sneha Lodha 57.1 165 <td>3</td>
Pierre Bongrand 51.13 166 <td>RQ003: Pepper understands the response from PwD.</td>
Sneha Lodha 56.1 167 <td>CL02: The PwD feels understood, <br /> CL07: The PwD feels less alone.</td>
168 <td>&nbsp;</td>
169 </tr>
170 <tr>
Sneha Lodha 57.1 171 <td>4</td>
Haoran Wang 42.1 172 <td>-</td>
Pierre Bongrand 53.5 173 <td>CL10: The PwD feels reassured</td>
Sneha Lodha 56.1 174 <td>IDP05</td>
175 </tr>
176 </tbody>
Pierre Bongrand 22.1 177 </table>
Sneha Lodha 56.1 178 </td>
179 </tr>
180 </tbody>
Pierre Bongrand 22.1 181 </table>
Sneha Lodha 56.1 182 <h2>UC04: Wake up Routine</h2>
183 <table width="100%">
184 <tbody>
Pierre Bongrand 23.1 185 <tr>
Sneha Lodha 56.1 186 <td style="font-size: 16px;" width="30%">
187 <table border="1px" width="50%">
188 <tbody>
189 <tr>
190 <td bgcolor="gainsboro"><strong>Objective</strong></td>
191 <td width="70%">Improve the quality of life of the patient with dementia</td>
192 </tr>
193 <tr>
194 <td bgcolor="gainsboro"><strong>TDP</strong></td>
195 <td>TDP: Wake up Routine</td>
196 </tr>
197 <tr>
198 <td bgcolor="gainsboro"><strong>Actors</strong></td>
199 <td>Pepper robot, Patient with Dementia (PwD)</td>
200 </tr>
201 <tr>
202 <td bgcolor="gainsboro"><strong>Pre-condition</strong></td>
203 <td>
204 <ul>
205 <li>It is time for the patient to wake up for the day</li>
206 <li>Robot is in proximity of PwD</li>
207 </ul>
208 </td>
209 </tr>
210 <tr>
211 <td bgcolor="gainsboro"><strong>Post-condition</strong></td>
212 <td>Patient has been successfully woken up along with some light social interaction</td>
213 </tr>
214 <tr>
215 <td bgcolor="gainsboro"><strong>Action sequence</strong></td>
Sneha Lodha 59.1 216 <td>UC steps:<br /> <strong>1.</strong> Play very gentle and peaceful music to slowly wake up the PwD<br /> <strong>2.</strong> Increase the volume of the music by 5%<br /> <strong>3.</strong> Understand if PwD is awake<br /> <strong><em>UNTIL</em></strong> PwD is awake, repeat step 2 and 3.<br /> <strong>4.</strong> Gradually decrease the volume until music stops (within a minute)<br /> <strong>5.</strong> Ask about how PwD slept<br /><strong><em>UNTIL</em></strong> any response from PwD, repeat Step 5 <br /> <strong>6.</strong> Reply appropriately to PwD<br /><strong>7.</strong> Ask about PwD dreams<br /><strong><em>UNTIL</em></strong> any response from PwD, repeat Step 7<br /> <strong>8.</strong> Reply appropriately to PwD<br /> <strong>9.</strong> Wish PwD to have a good day ahead</td>
Sneha Lodha 56.1 217 </tr>
218 </tbody>
Pierre Bongrand 23.1 219 </table>
220 </td>
Sneha Lodha 56.1 221 <td style="font-size: 16px;" width="50%">
222 <table border="1px" width="50%">
223 <tbody>
224 <tr>
225 <td bgcolor="gainsboro"><strong>UC step </strong></td>
226 <td bgcolor="gainsboro"><strong>Requirements</strong></td>
227 <td bgcolor="gainsboro"><strong>Claims</strong></td>
228 <td bgcolor="gainsboro"><strong>IDP</strong></td>
229 </tr>
230 <tr>
231 <td>1</td>
Pierre Bongrand 51.17 232 <td>RQ002: Pepper knows the date and time</td>
Pierre Bongrand 53.5 233 <td>CL06: The PwD is awake</td>
Sneha Lodha 56.1 234 <td>IDP01</td>
235 </tr>
236 <tr>
237 <td>2</td>
Haoran Wang 42.1 238 <td>-</td>
Sneha Lodha 56.1 239 <td>CL01: The PwD becomes aware of Pepper presence,<br /> CL12: The PwD uses the music to create associations to certain tasks</td>
240 <td>-</td>
241 </tr>
242 <tr>
243 <td>3</td>
Pierre Bongrand 51.17 244 <td>RQ005: Pepper understands if the PwD is awake</td>
Pierre Bongrand 53.5 245 <td>CL06: The PwD is awake</td>
Haoran Wang 41.1 246 <td>-</td>
Sneha Lodha 56.1 247 </tr>
248 <tr>
249 <td>4</td>
Pierre Bongrand 51.17 250 <td>-</td>
251 <td>-</td>
Haoran Wang 41.1 252 <td>-</td>
Sneha Lodha 56.1 253 </tr>
254 <tr>
255 <td>5</td>
256 <td>&nbsp;</td>
Pierre Bongrand 51.17 257 <td>-</td>
Sneha Lodha 56.1 258 <td>-</td>
259 </tr>
260 <tr>
261 <td>6</td>
Haoran Wang 42.1 262 <td>RQ003: Pepper understands the response from PwD</td>
Sneha Lodha 56.1 263 <td>CL02: The PwD feels understood,<br /> CL08: The PwD feels accomplished</td>
Haoran Wang 41.1 264 <td>-</td>
Sneha Lodha 56.1 265 </tr>
266 <tr>
Sneha Lodha 59.1 267 <td>7</td>
Pierre Bongrand 51.17 268 <td>-</td>
269 <td>-</td>
270 <td>-</td>
Sneha Lodha 56.1 271 </tr>
272 <tr>
Sneha Lodha 59.1 273 <td>8</td>
Haoran Wang 42.1 274 <td>RQ003: Pepper understands the response from PwD</td>
Sneha Lodha 56.1 275 <td>CL02: The PwD feels understood,<br /> CL08: The PwD feels accomplished</td>
Pierre Bongrand 51.17 276 <td>-</td>
Sneha Lodha 56.1 277 </tr>
278 <tr>
Sneha Lodha 59.1 279 <td>9</td>
Sneha Lodha 56.1 280 <td>-</td>
281 <td>CL07: The PwD feels less alone,<br /> CL11: The PwD feels content</td>
282 <td>IDP05</td>
283 </tr>
284 </tbody>
Pierre Bongrand 23.1 285 </table>
Sneha Lodha 56.1 286 </td>
287 </tr>
288 </tbody>
Pierre Bongrand 23.1 289 </table>
Manolo Xin 46.1 290 <h2>UC05: Activity Breakdown</h2>
Sneha Lodha 43.1 291 <table width="100%">
292 <tbody>
293 <tr>
294 <td style="font-size: 16px;" width="30%">
295 <table border="1px" width="50%">
296 <tbody>
297 <tr>
298 <td bgcolor="gainsboro"><strong>Objective</strong></td>
Sneha Lodha 37.1 299 <td width="70%">Help the PwD perform complex tasks they enjoy</td>
300 </tr>
301 <tr>
302 <td bgcolor="gainsboro"><strong>TDP</strong></td>
303 <td>TDP: Activity Breakdown</td>
304 </tr>
305 <tr>
306 <td bgcolor="gainsboro"><strong>Actors</strong></td>
Sneha Lodha 44.1 307 <td>Pepper robot, Patient with Dementia (PwD), Health Care Professional (HPC)</td>
Sneha Lodha 37.1 308 </tr>
309 <tr>
310 <td bgcolor="gainsboro"><strong>Pre-condition</strong></td>
311 <td>
312 <ul>
313 <li>Patient would like to perform a slightly complex activity but needs assistance</li>
Sneha Lodha 56.1 314 <li>HPC has already entered the particular activity breakdown in pepper's system (IDP06)</li>
Sneha Lodha 37.1 315 <li>Robot is in proximity of PwD</li>
316 </ul>
317 </td>
318 </tr>
319 <tr>
320 <td bgcolor="gainsboro"><strong>Post-condition</strong></td>
321 <td>Patient has successfully performed the activity in question</td>
322 </tr>
323 <tr>
324 <td bgcolor="gainsboro"><strong>Action sequence</strong></td>
325 <td>
Sneha Lodha 56.1 326 <p>Figure<br /><br /> UC steps:<br /> <strong>1.</strong> Play gentle music to gain the attention of PwD<br /> <strong>2.</strong> Pepper asks PwD if they want to perform a certain activity<br /> <strong><em>IF</em></strong> PwD says yes to step 2. <br /> <span style="padding-left: 40px; display: block;"> <strong>3. </strong>Pepper recognizes the request and starts the activity breakdown<br /> <strong>4.</strong> Pepper presents PwD with an instruction from the activity breakdown<br /> <strong>5.</strong> Pepper checks if the instruction from step 4. was successfully performed<br /> <strong><em>UNTIL</em></strong> Instructions from activity breakdown have been performed by PwD repeat step 4. and 5.<br /> <strong>6.</strong> Ask if PwD would like to go over all the steps again<br /> <strong>7.</strong> Congratulate PwD for finishing activity</span></p>
327 <strong>8.</strong> Wish PwD a good day ahead!</td>
Sneha Lodha 37.1 328 </tr>
329 </tbody>
330 </table>
331 </td>
332 <td style="font-size: 16px;" width="50%">
333 <table border="1px" width="50%">
334 <tbody>
335 <tr>
336 <td bgcolor="gainsboro"><strong>UC step </strong></td>
337 <td bgcolor="gainsboro"><strong>Requirements</strong></td>
338 <td bgcolor="gainsboro"><strong>Claims</strong></td>
339 <td bgcolor="gainsboro"><strong>IDP</strong></td>
340 </tr>
341 <tr>
Sneha Lodha 56.1 342 <td>1</td>
Pierre Bongrand 51.22 343 <td>RQ002: Pepper knows the date and time</td>
Sneha Lodha 56.1 344 <td>CL01: The PwD becomes aware of Pepper presence,<br /> CL12: The PwD uses the music to create associations to certain tasks</td>
345 <td>IDP01</td>
346 </tr>
Sneha Lodha 37.1 347 <tr>
348 <td>2</td>
Pierre Bongrand 51.22 349 <td>RQ006: Pepper knows the activity breakdown of the requested activity</td>
350 <td>-</td>
Sneha Lodha 56.1 351 <td>-</td>
Sneha Lodha 37.1 352 </tr>
353 <tr>
354 <td>3</td>
Pierre Bongrand 51.22 355 <td>RQ003: Pepper understands the response from PwD</td>
Pierre Bongrand 53.7 356 <td>CL02: The PwD feels understood</td>
Sneha Lodha 37.1 357 <td>-</td>
358 </tr>
359 <tr>
360 <td>4</td>
Pierre Bongrand 51.25 361 <td>RQ006: Pepper knows the activity breakdown of the requested activity</td>
Pierre Bongrand 53.8 362 <td>CL03: The PwD performs an activity step</td>
Sneha Lodha 56.1 363 <td>IDP07</td>
Sneha Lodha 37.1 364 </tr>
365 <tr>
366 <td>5</td>
367 <td>RQ003: Pepper understands the response from PwD</td>
Pierre Bongrand 51.25 368 <td>CL02</td>
Sneha Lodha 56.1 369 <td>IDP04</td>
Sneha Lodha 37.1 370 </tr>
371 <tr>
372 <td>6</td>
373 <td>RQ003: Pepper understands the response from PwD</td>
Pierre Bongrand 53.8 374 <td>CL02: The PwD feels understood</td>
Sneha Lodha 56.1 375 <td>-</td>
Sneha Lodha 37.1 376 </tr>
377 <tr>
378 <td>7</td>
379 <td>-</td>
Sneha Lodha 56.1 380 <td>CL08: The PwD feels accomplished</td>
381 <td>IDP05</td>
Sneha Lodha 37.1 382 </tr>
Pierre Bongrand 51.21 383 <tr>
384 <td>8</td>
385 <td>-</td>
Pierre Bongrand 53.8 386 <td>CL11: The PwD feels content</td>
Pierre Bongrand 51.21 387 <td>-</td>
388 </tr>
Sneha Lodha 37.1 389 </tbody>
390 </table>
391 </td>
392 </tr>
393 </tbody>
394 </table>
Sneha Lodha 65.1 395 {{/html}}
Bart Vastenhouw 1.1 396