Index: SDDs/MainTreatmentScreen.puml =================================================================== diff -u -r77ba0083b790f7c1c851c60ecaeaa4f2e7eff7a8 -r84b2b28f6ff10787a228a95cae89f487fbbbd165 --- SDDs/MainTreatmentScreen.puml (.../MainTreatmentScreen.puml) (revision 77ba0083b790f7c1c851c60ecaeaa4f2e7eff7a8) +++ SDDs/MainTreatmentScreen.puml (.../MainTreatmentScreen.puml) (revision 84b2b28f6ff10787a228a95cae89f487fbbbd165) @@ -23,6 +23,9 @@ == Tx Time == TD -> SW: MSG: [x3B: #3] \nTD Treatment Time Data:\n(U32) txDurSecs\n(U32) txElapsedSec\n(U32) txRemainingSecs SW -> UI: CMD: Update Treatment Time:\n(U32) txDurSecs\n(U32) txElapsedSec\n(U32) txRemainingSecs + == Parameter Ranges == + TD -> SW: MSG: [x43: #6] \nTD Treatment Param Ranges:\n(U32) minTreatmentTime\n(U32) maxTreatmentTime\n(F32) minUFVolume\n(F32) maxUFVolume\n(U32) minDialRate\n(U32) maxDialRate + SW -> UI: CMD: Update Param Ranges:\n(U32) minTreatmentTime\n(U32) maxTreatmentTime\n(F32) minUFVolume\n(F32) maxUFVolume\n(U32) minDialRate\n(U32) maxDialRate == Tx Parameter set points == TD -> SW: MSG: [x4F: #3] \nTD treatment Set Points Data\n(U32) bloodFlow\n(U32) dialFlow\n(F32) dialTemp SW -> UI: CMD: Update TX Set Points Data:\n(U32) bloodFlow\n(U32) dialFlow\n(F32) dialTemp Index: SDDs/TreatmentAdjustmentUltrafiltration.puml =================================================================== diff -u --- SDDs/TreatmentAdjustmentUltrafiltration.puml (revision 0) +++ SDDs/TreatmentAdjustmentUltrafiltration.puml (revision 84b2b28f6ff10787a228a95cae89f487fbbbd165) @@ -0,0 +1,79 @@ +@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