@startuml MainTreatmentScreen participant TD as TD participant SW as SW participant UI as UI control Wait_Retry as Wait_Retry 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.] == Tx Time == TD -> SW: MSG: [x3B: #3] \nTD treatment time data SW -> UI: CMD: Update TX time == Tx Parameter set points == TD -> SW: MSG: [x4F: #3] \nTD treatment set points data SW -> UI: CMD: Update:\nBlood Flow\nDialysate Flow\nDialysate Temp == Saline == TD -> SW: MSG: [x3D: #4] \nTD saline bolus status data SW -> UI: CMD: Update Saline status == Ultrafiltration == TD -> SW: MSG: [x3E: #4] \nTD ultrafiltration status data SW -> UI: CMD: Update UF Status == Pressures == TD -> SW: MSG: [x24: #12] \nTD pressures data SW -> UI: CMD: Update TX Pressres == Dialysate Conductivity == TD -> SW: MSG: [x1F: #5] \nDD conductivity data SW -> UI: CMD: Update Dial Conductivity == Gen Dialysate Mode == TD -> SW: MSG: [x2F: #9] \nDD GenD mode data SW -> UI: CMD: Update Dial Bypass State @enduml