@startuml BloodSetAutoLoadAndEject participant TD as TD participant SW as SW participant UI as UI actor USER as US 'Possible actions and interaction tuypes ' TD -> SW: MSG: Message ' SW -> TD: MSG: Message ' SW -> UI: CMD: command ' UI -> SW: ACT: Action ' US -> UI: User actions are: ' ENT: User enters a value or string ' TCH: User touches a button (RadioButton, CheckBox, ...) ' SET: User sets/slides a slider ' SCL: User scrolls a flipable area ' 'Messages conventions: '[x \n ,] '[x \n ,# certain amount of parameters according to the content] '[x \n ,X The rest of the parameters do not matter.] == Pretreatment - Auto Load (Standard User) == TD -> UI: [x12] OpMode - PreTreatment UI -> US: ACT: Show Concentrates PreTreatment page US -> UI: TCH: Any instruction steps UI -> UI: ACT: Highlight instruction step \ \n\tShow image for instruction step alt #CEFAD0 Next US -> UI: TCH: Next Button UI -> UI: ACT: Go to Installation Pre-Treatment Page else #D0D9CD Back US -> UI: TCH: Back Button UI -> SW: ACT: Back SW -> TD: MSG: [x45: 0] Req \n Initiate Treatment Cancel TD -> SW: MSG: [x12: 3,1] Dat \n OpMode - Standby SW -> UI: CMD: MainHome Screen end UI -> US: ACT: Show Installation PreTreatment page US -> UI: TCH: Any instruction steps UI -> UI: ACT: Highlight instruction step \ \n\tShow image for instruction step alt #CEFAD0 Auto-Load US -> UI: TCH: Auto-Load Button UI -> SW: ACT: Auto-Load Request SW -> TD: MSG: [x92: 0] Request TD -> SW: MSG: [x93: #2] \n\tResponse: \ \n\t(U32) mAccepted\ \n\t(U32) mReason SW -> UI: CMD: Rejection Reason alt #CAE9F5 Accepted: AutoLoad UI -> UI: ACT: Go to Self-Tests Pre-Treatment Page else #Pink Rejected UI -> UI: ACT: Stay on page UI -> US: ACT: Display rejection reason end else #D0D9CD Back UI -> UI: ACT: Go to Concentrates Pre-Treatment Page end == Pretreatment - Auto Load (Advanced User) == TD -> UI: [x12] OpMode - PreTreatment UI -> US: ACT: Show Installation PreTreatment page US -> UI: TCH: Any instruction steps UI -> UI: ACT: Highlight instruction step \ \n\tShow image for instruction step alt #CEFAD0 Auto-Load US -> UI: TCH: Auto-Load Button UI -> SW: ACT: Auto-Load Request SW -> TD: MSG: [x92: 0] Request TD -> SW: MSG: [x93: #2] \n\tResponse: \ \n\t(U32) mAccepted\ \n\t(U32) mReason SW -> UI: CMD: Rejection Reason alt #CAE9F5 Accepted: AutoLoad UI -> UI: ACT: Go to Self-Tests Pre-Treatment Page else #Pink Rejected UI -> UI: ACT: Stay on page UI -> US: ACT: Display rejection reason end else #D0D9CD Back US -> UI: TCH: Back Button UI -> SW: ACT: Back SW -> TD: MSG: [x45: 0] Req \n Initiate Treatment Cancel TD -> SW: MSG: [x12: 3,1] Dat \n OpMode - Standby SW -> UI: CMD: MainHome Screen end == PostTreatment - Auto Eject == TD -> UI: [x12] OpMode - PostTreatment UI -> US: ACT: Show Installation PostTreatment page US -> UI: TCH: Any instruction steps UI -> UI: ACT: Highlight instruction step \ \n\tShow image for instruction step alt #CEFAD0 Auto-Eject US -> UI: TCH: Auto-Eject Button UI -> SW: ACT: Auto-Eject Request SW -> TD: MSG: [x94: 0] Request TD -> SW: MSG: [x95: #2] \n\tResponse: \ \n\t(U32) mAccepted\ \n\t(U32) mReason SW -> UI: CMD: Rejection Reason alt #CAE9F5 Accepted: AutoEject UI -> UI: ACT: Go to Review Post-Treatment Page else #Pink Rejected UI -> UI: ACT: Stay on page UI -> US: ACT: Display rejection reason end end @enduml