Index: SDDs/PreTreatment.png =================================================================== diff -u Binary files differ Index: SDDs/PreTreatment.puml =================================================================== diff -u --- SDDs/PreTreatment.puml (revision 0) +++ SDDs/PreTreatment.puml (revision 516cfc11a0a54d5ef0e5be8c21324d61091944ef) @@ -0,0 +1,118 @@ +@startuml PreTreatment + + 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 == + TD -> UI: [x12] OpMode - PreTreatment + alt isStandardMode? + UI -> US: ACT: Show Concentrates page + US -> UI: TCH: Any instruction step + UI -> UI: ACT: Highlight instruction step \ + \n\tShow image for instruction step + US -> UI: Act: Press Next + alt #CEFAD0 Next + UI -> UI: ACT: Go to Installation Page + end + end + UI -> US: ACT: Show Installation page + US -> UI: TCH: Any instruction step + 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 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 + UI -> US: ACT: Show Self-Tests page + UI -> TD: ACT: TBD - Perform Self Tests + TD -> UI: ACT: TBD - Send Self Tests State + UI -> US: ACT: Show Self Tests Status + US -> UI: Act: Press Next + alt #CEFAD0 Next + UI -> UI: ACT: Go to Saline Page + end + UI -> US: ACT: Show Saline page + US -> UI: TCH: Any instruction step + UI -> UI: ACT: Highlight instruction step \ + \n\tShow image for instruction step + US -> UI: Act: Press Next + alt #CEFAD0 Next + UI -> UI: ACT: Go to Prime Page + end + UI -> US: ACT: Show Prime page + UI -> TD: ACT: TBD - Perform Prime + TD -> UI: ACT: TBD - Send Prime State + UI -> US: ACT: Show PrimeStatus + US -> UI: Act: Press Next + alt #CEFAD0 Next + alt #CAE9F5 Is Water Sample Featured + UI -> UI: ACT: Go to Water Sample + UI -> US: ACT: Show Water Sample + US -> UI: TCH: Select pass or fail + US -> UI: Act: Press Next + alt #CEFAD0 Next Button + UI -> UI: ACT: Go to Create Rx + end + else + UI -> UI: ACT: Go to Create Rx + end + end + + UI -> US: ACT: Show Create Rx + US -> UI: TCH: Select paramters + !include common_puml/CreateRxCommon.puml + UI -> UI: ACT: Go to UF/ Dialysate + UI -> US: ACT: Show UF/ Dialysate + US -> UI: Act: Press Next + alt #CEFAD0 Next + UI -> UI: ACT: Go to Connect Page + end + UI -> UI: ACT: Go to Connect + UI -> US: ACT: Show Connect + UI -> UI: ACT: Highlight instruction step \ + \n\tShow image for instruction step + US -> UI: Act: Press Start + + UI -> SW: ACT: PreTreatment Adjustment Start Treatment + SW -> TD: MSD: [xXX: ] Request \n PreTreatment Adjustment Start Treatment + alt #CEFAD0 Accepted + TD -> SW: MSG: [xXX: ] Response \n PreTreatment Adjustment Start Treatment + SW -> UI: CMD: Treatment Stack + UI -> US: Act: Show Main Treatment + end +@enduml