Index: SDDs/StopState.png =================================================================== diff -u -r8db70d62386ada352e3ab0b22f596446a9f12907 -re80bbb2ebe37e00365695d13ca1f7bba82dc9eb3 Binary files differ Index: SDDs/StopState.puml =================================================================== diff -u -r8db70d62386ada352e3ab0b22f596446a9f12907 -re80bbb2ebe37e00365695d13ca1f7bba82dc9eb3 --- SDDs/StopState.puml (.../StopState.puml) (revision 8db70d62386ada352e3ab0b22f596446a9f12907) +++ SDDs/StopState.puml (.../StopState.puml) (revision e80bbb2ebe37e00365695d13ca1f7bba82dc9eb3) @@ -70,7 +70,7 @@ \n\t - Temporary Break Button visible \ \n\t - Return Blood Button visible - alt #LightSalmon User Presses Resume + == User presses Resume Button == US -> UI: TCH: Resume Button UI -> SW: ACT: doUserActionResume ( \ \n\tALARM_USER_ACTION_RESUME \ @@ -81,132 +81,145 @@ SW -> UI: ACT: Resume Treatment UI -> US: ACT: Treatment resumed - else #LightBlue User Presses End Treatment - US -> UI: TCH: End Treatment Button - UI -> SW: ACT: doUserActionEnd ( \ - \n\tALARM_USER_ACTION_END_TREATMENT \ - \n) - SW -> TD: MSG: [x06: #1] AlarmUserAction \ - \n\t(U32) action + == User presses End Treatment Button == + US -> UI: TCH: End Treatment Button + UI -> SW: ACT: doUserActionEnd ( \ + \n\tALARM_USER_ACTION_END_TREATMENT \ + \n) + SW -> TD: MSG: [x06: #1] AlarmUserAction \ + \n\t(U32) action + TD -> SW: MSG: [xB5: #3] \nTD Confirmation : \ + \n\t(U32) mId =2 (END_TREATMENT) \ + \n\t(U32) mCommand =0 (GENERIC_CONFIRM_CMD_REQUEST_OPEN) \ + \n\t(U32) mReason + SW -> UI: ACT: Open Confirm Dialog + UI -> US: ACT: Display Confirm Dialog - TD -> SW: MSG: [xB5: #3] \nTD Confirmation : \ - \n\t(U32) mId =2 (END_TREATMENT) \ - \n\t(U32) mCommand =0 (GENERIC_CONFIRM_CMD_REQUEST_OPEN) \ - \n\t(U32) mReason - SW -> UI: ACT: Open Confirm Dialog - UI -> US: ACT: Display Confirm Dialog + alt #LightGray CONFIRM + US -> UI: ACT: Press confirm + UI -> SW: ACT: Confirm Response + SW -> TD: MSG: [xB6: #2] Response \ + \n\t(U32) mId =2 (END_TREATMENT) \ + \n\t(U32) mConfirm =1 (CONFIRM) + TD -> SW: MSG: [x3C: Dat #10] Treatment State\n\ + \t(U32) treatmentSubMode=4(TREATMENT_RINSEBACK_STATE)\n\ + \t(U32) bldPrimeState=X\n\ + \t(U32) dialysisState=X\n\ + \t(U32) isoUFState=X\n\ + \t(U32) txStopState=X\n\ + \t(U32) rinsebackState=X\n\ + \t(U32) txRecircState=X\n\ + \t(U32) txEndState=X\n\ + \t(U32) txSalBolusState=X\n\ + \t(U32) txHepState=X + SW -> UI: CMD: Treatment State - Rinsback + UI -> US: ACT: Rinseback Screen + else #LightPink CANCEL + US -> UI: ACT: Press cancel + UI -> SW: ACT: Cancel Response + SW -> TD: MSG: [xB6: #2] Response \ + \n\t(U32) mId =2 (END_TREATMENT) \ + \n\t(U32) mConfirm =0 (CANCEL) + end + TD -> SW: MSG: [xB5: #3] \nTD Confirmation : \ + \n\t(U32) mId =2 (END_TREATMENT) \ + \n\t(U32) mCommand =3 (GENERIC_CONFIRM_CMD_ACCEPT_CLOSE) \ + \n\t(U32) mReason + SW -> UI: Close Confirm Dialog + UI -> US: Dialog Closed - alt #LightGray CONFIRM - US -> UI: ACT: Press confirm - UI -> SW: ACT: Confirm Response - SW -> TD: MSG: [xB6: #2] Response \ - \n\t(U32) mId =2 (END_TREATMENT) \ - \n\t(U32) mConfirm =1 (CONFIRM) - TD -> TD: End Treatment - else #LightPink CANCEL - US -> UI: ACT: Press cancel - UI -> SW: ACT: Cancel Response - SW -> TD: MSG: [xB6: #2] Response \ - \n\t(U32) mId =2 (END_TREATMENT) \ - \n\t(U32) mConfirm =0 (CANCEL) - TD -> SW: MSG: [x01: #4] \nTD AlarmStatus : \ - \n\t(U32) mState \ - \n\t(U32) mTop = 0 \ - \n\t(U32) mMuteTimeout \ - \n\t(U16) mFlags - SW -> UI: ACT: Hide Alarm Dialog - UI -> US: ACT: Hide Alarm Dialog - end - TD -> SW: MSG: [xB5: #3] \nTD Confirmation : \ - \n\t(U32) mId =2 (END_TREATMENT) \ - \n\t(U32) mCommand =3 (GENERIC_CONFIRM_CMD_ACCEPT_CLOSE) \ - \n\t(U32) mReason - SW -> UI: Close Confirm Dialog - UI -> US: Dialog Closed + == User presses Return Blood Button == + US -> UI: TCH: Return Blood Button + UI -> SW: ACT: doUserActionRinseback ( \ + \n\tALARM_USER_ACTION_RINSEBACK \ + \n) + SW -> TD: MSG: [x06: #1] AlarmUserAction \ + \n\t(U32) action + TD -> SW: MSG: [xB5: #3] \nTD Confirmation : \ + \n\t(U32) mId =3 (RETURN_BLOOD) \ + \n\t(U32) mCommand =0 (GENERIC_CONFIRM_CMD_REQUEST_OPEN) \ + \n\t(U32) mReason + SW -> UI: ACT: Open Confirm Dialog + UI -> US: ACT: Display Confirm Dialog - else #LightGreen User Presses Return Blood - US -> UI: TCH: Return Blood Button - UI -> SW: ACT: doUserActionRinseback ( \ - \n\tALARM_USER_ACTION_RINSEBACK \ - \n) - SW -> TD: MSG: [x06: #1] AlarmUserAction \ - \n\t(U32) action - TD -> SW: MSG: [xB5: #3] \nTD Confirmation : \ - \n\t(U32) mId =3 (RETURN_BLOOD) \ - \n\t(U32) mCommand =0 (GENERIC_CONFIRM_CMD_REQUEST_OPEN) \ - \n\t(U32) mReason - SW -> UI: ACT: Open Confirm Dialog - UI -> US: ACT: Display Confirm Dialog + alt #LightGray CONFIRM + US -> UI: ACT: Press confirm + UI -> SW: ACT: Confirm Response + SW -> TD: MSG: [xB6: #2] Response \ + \n\t(U32) mId =3 (RETURN_BLOOD) \ + \n\t(U32) mConfirm =1 (CONFIRM) + TD -> SW: MSG: [x3C: Dat #10] Treatment State\n\ + \t(U32) treatmentSubMode=4(TREATMENT_RINSEBACK_STATE)\n\ + \t(U32) bldPrimeState=X\n\ + \t(U32) dialysisState=X\n\ + \t(U32) isoUFState=X\n\ + \t(U32) txStopState=X\n\ + \t(U32) rinsebackState=X\n\ + \t(U32) txRecircState=X\n\ + \t(U32) txEndState=X\n\ + \t(U32) txSalBolusState=X\n\ + \t(U32) txHepState=X + SW -> UI: CMD: Treatment State - Rinsback + UI -> US: ACT: Rinseback Screen + else #LightPink CANCEL + US -> UI: ACT: Press cancel + UI -> SW: ACT: Cancel Response + SW -> TD: MSG: [xB6: #2] Response \ + \n\t(U32) mId =3 (RETURN_BLOOD) \ + \n\t(U32) mConfirm =0 (CANCEL) + end + TD -> SW: MSG: [xB5: #3] \nTD Confirmation : \ + \n\t(U32) mId =2 (END_TREATMENT) \ + \n\t(U32) mCommand =3 (GENERIC_CONFIRM_CMD_ACCEPT_CLOSE) \ + \n\t(U32) mReason + SW -> UI: Close Confirm Dialog + UI -> US: Dialog Closed - alt #LightGray CONFIRM - US -> UI: ACT: Press confirm - UI -> SW: ACT: Confirm Response - SW -> TD: MSG: [xB6: #2] Response \ - \n\t(U32) mId =3 (RETURN_BLOOD) \ - \n\t(U32) mConfirm =1 (CONFIRM) - TD -> TD: Blood Return - else #LightPink CANCEL - US -> UI: ACT: Press cancel - UI -> SW: ACT: Cancel Response - SW -> TD: MSG: [xB6: #2] Response \ - \n\t(U32) mId =3 (RETURN_BLOOD) \ - \n\t(U32) mConfirm =0 (CANCEL) - TD -> SW: MSG: [x01: #4] \nTD AlarmStatus : \ - \n\t(U32) mState \ - \n\t(U32) mTop = 0 \ - \n\t(U32) mMuteTimeout \ - \n\t(U16) mFlags - SW -> UI: ACT: Hide Alarm Dialog - UI -> US: ACT: Hide Alarm Dialog - end - TD -> SW: MSG: [xB5: #3] \nTD Confirmation : \ - \n\t(U32) mId =2 (END_TREATMENT) \ - \n\t(U32) mCommand =3 (GENERIC_CONFIRM_CMD_ACCEPT_CLOSE) \ - \n\t(U32) mReason - SW -> UI: Close Confirm Dialog - UI -> US: Dialog Closed + == User presses Temporary Break Button == + US -> UI: TCH: Temporary Break Button + UI -> SW: ACT: doUserActionTemporaryBreak ( \ + \n\tALARM_USER_ACTION_TEMPOARY_BREAK \ + \n) + SW -> TD: MSG: [x06: #1] AlarmUserAction \ + \n\t(U32) action + TD -> SW: MSG: [xB5: #3] \nTD Confirmation : \ + \n\t(U32) mId =4 (TEMPORARY_BREAK) \ + \n\t(U32) mCommand =0 (GENERIC_CONFIRM_CMD_REQUEST_OPEN) \ + \n\t(U32) mReason + SW -> UI: ACT: Open Confirm Dialog + UI -> US: ACT: Display Confirm Dialog - else #LightCyan User Presses Temporary Break - US -> UI: TCH: Temporary Break Button - UI -> SW: ACT: doUserActionTemporaryBreak ( \ - \n\tALARM_USER_ACTION_TEMPOARY_BREAK \ - \n) - SW -> TD: MSG: [x06: #1] AlarmUserAction \ - \n\t(U32) action - TD -> SW: MSG: [xB5: #3] \nTD Confirmation : \ - \n\t(U32) mId =4 (TEMPORARY_BREAK) \ - \n\t(U32) mCommand =0 (GENERIC_CONFIRM_CMD_REQUEST_OPEN) \ - \n\t(U32) mReason - SW -> UI: ACT: Open Confirm Dialog - UI -> US: ACT: Display Confirm Dialog - - alt #LightGray CONFIRM - US -> UI: ACT: Press confirm - UI -> SW: ACT: Confirm Response - SW -> TD: MSG: [xB6: #2] Response \ - \n\t(U32) mId =4 (TEMPORARY_BREAK) \ - \n\t(U32) mConfirm =1 (CONFIRM) - TD -> TD: Go to Blood Return - else #LightPink CANCEL - US -> UI: ACT: Press cancel - UI -> SW: ACT: Cancel Response - SW -> TD: MSG: [xB6: #2] Response \ - \n\t(U32) mId =4 (TEMPORARY_BREAK) \ - \n\t(U32) mConfirm =0 (CANCEL) - TD -> SW: MSG: [x01: #4] \nTD AlarmStatus : \ - \n\t(U32) mState \ - \n\t(U32) mTop = 0 \ - \n\t(U32) mMuteTimeout \ - \n\t(U16) mFlags - SW -> UI: ACT: Hide Alarm Dialog - UI -> US: ACT: Hide Alarm Dialog - end - TD -> SW: MSG: [xB5: #3] \nTD Confirmation : \ - \n\t(U32) mId =2 (END_TREATMENT) \ - \n\t(U32) mCommand =3 (GENERIC_CONFIRM_CMD_ACCEPT_CLOSE) \ - \n\t(U32) mReason - SW -> UI: Close Confirm Dialog - UI -> US: Dialog Closed + alt #LightGray CONFIRM + US -> UI: ACT: Press confirm + UI -> SW: ACT: Confirm Response + SW -> TD: MSG: [xB6: #2] Response \ + \n\t(U32) mId =4 (TEMPORARY_BREAK) \ + \n\t(U32) mConfirm =1 (CONFIRM) + TD -> SW: MSG: [x3C: Dat #10] Treatment State\n\ + \t(U32) treatmentSubMode=4(TREATMENT_RINSEBACK_STATE)\n\ + \t(U32) bldPrimeState=X\n\ + \t(U32) dialysisState=X\n\ + \t(U32) isoUFState=X\n\ + \t(U32) txStopState=X\n\ + \t(U32) rinsebackState=X\n\ + \t(U32) txRecircState=X\n\ + \t(U32) txEndState=X\n\ + \t(U32) txSalBolusState=X\n\ + \t(U32) txHepState=X + SW -> UI: CMD: Treatment State - Rinsback + UI -> US: ACT: Rinseback Screen + else #LightPink CANCEL + US -> UI: ACT: Press cancel + UI -> SW: ACT: Cancel Response + SW -> TD: MSG: [xB6: #2] Response \ + \n\t(U32) mId =4 (TEMPORARY_BREAK) \ + \n\t(U32) mConfirm =0 (CANCEL) end + TD -> SW: MSG: [xB5: #3] \nTD Confirmation : \ + \n\t(U32) mId =2 (END_TREATMENT) \ + \n\t(U32) mCommand =3 (GENERIC_CONFIRM_CMD_ACCEPT_CLOSE) \ + \n\t(U32) mReason + SW -> UI: Close Confirm Dialog + UI -> US: Dialog Closed @enduml \ No newline at end of file