@startuml Ultrafiltration Adjustment participant TD as TD participant SW as SW participant UI as UI actor USER as US 'Possible actions and interaction types ' 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.] == Ultrafiltration - Pause == US -> UI: TCH: Ultrafiltration Edit Button UI -> UI: ACT: Open Adjust Ultrafiltration Start US -> UI: TCH: Pause Ultrafiltration Button UI -> SW: ACT: Pause Ultrafiltration SW -> TD: MSG: [x47: Req UF_CMD_PAUSE]\nUltrafiltration Pause/Resume Request TD -> SW: MSG: [x48: Rsp accepted, X]\nUltrafiltration Pause/Resume Response SW -> UI: CMD: Ultrafiltration Pause/Resume Adjustment Triggered alt accepted UI -> UI: CMD: Hide Pause Ultrafiltration Button\n\tShow Resume Ultratiltration, Edit UF, and Isolated UF Buttons else rejected UI -> UI: ACT: Display Rejection Reason end == Ultrafiltration - Adjust Volume Goal == US -> UI: ACT: Successfully Perform Ultrafiltration Pause\n\t(see Ultrafiltration - Pause) US -> UI: TCH: Edit UF Button UI -> UI: ACT: Open Adjust Ultrafiltration Edit US -> UI: SET: Change Ultrafiltration Volume Goal US -> UI: TCH: Continue Button UI -> SW: ACT: Adjust Ultrafiltration Volume Goal SW -> TD: MSG: [x41: Req ufVolumeMl]\nUltrafiltration Volume to Validate Request TD -> SW: MSG: [x42: Rsp accepted, rejectionReason, ufVolume, durationMin, timeDiff, ufRate, rateDiff, oldUFRate]\nUltrafiltration Volume to Validate Response SW -> UI: CMD: Ultrafiltration Edit Adjustment Triggered alt accepted UI -> UI: CMD: Open Adjust Ultrafiltration Confirm US -> UI: TCH: Confirm Button UI -> SW: ACT: User Confirm Ultrafiltration Volume Goal Adjustment SW -> TD: MSG: [x66: Req volumeMl]\nUltrafiltration User Confirm Settings Change Request TD -> SW: MSG: [x67: Rsp accepted, rejectionReason, volume, duration, rate]\nUltrafiltration User Confirm Settings Change Request SW -> UI: CMD: Confirmed Ultrafiltration Settings alt accepted UI -> UI: ACT: Open Ultrafiltration Adjust Start\n\tShow Resume Ultratiltration, Edit UF, and Isolated UF Buttons else rejected UI -> UI: ACT: Display Rejection Reason end else rejected UI -> UI: ACT: Display Rejection Reason end == Ultrafiltration - Resume == opt US -> UI: TCH: Ultrafiltration Edit Button UI -> UI: ACT: Open Ultrafiltration Adjust Start end US -> UI: TCH: Resume Ultrafiltration Button UI -> SW: ACT: Resume Ultrafiltration SW -> TD: MSG: [x47: Req UF_CMD_RESUME]\nUltrafiltration Pause/Resume Request TD -> SW: MSG: [x48: Rsp accepted, rejectionReason]\nUltrafiltration Pause/Resume Response SW -> UI: CMD: Ultrafiltration Pause/Resume Adjustment Triggered alt accepted UI -> UI: CMD: Hide Resume Ultratiltration, Edit UF, and Isolated UF Buttons\n\tShow Pause Ultrafiltration Button else rejected UI -> UI: ACT: Display Rejection Reason end @enduml