Index: SDDs/Post-Treatment.png =================================================================== diff -u Binary files differ Index: SDDs/Post-Treatment.puml =================================================================== diff -u --- SDDs/Post-Treatment.puml (revision 0) +++ SDDs/Post-Treatment.puml (revision 3e80a908d1cde3735bc92859f0fec4b3bfaa99a2) @@ -0,0 +1,91 @@ +@startuml Post-Treatment + + 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 ,# certain amount of parameters according to the content] \n + '[x ,X The rest of the parameters do not matter.] \n + + == Post-Treatment == + TD -> SW: MSG: [x12: #4,1] Dat \n OpMode - Post-Treatment MOde + SW -> UI: CMD: Post-Treatment Screen + UI -> US: ACT: Show Disconnect Patient Bloodlines page + US -> UI: TCH: Any instruction step + UI -> UI: ACT: Highlight instruction step \ + \n\tShow image for instruction step + US -> UI: Act: Press Confirm + UI -> SW: ACT: Patient Disconnection Confirm Request + SW -> TD: MSG: [x55: #0] Req: Patient Disconnection Confirm Request + TD -> SW: MSG: [x56: #2] Rsp: \ + \n\t(U32) mAccepted\ + \n\t(U32) mReason + SW -> UI: CMD: Rejection Reason + alt #CEFAD0 Accepted + UI -> UI: ACT: Go to Drain Consumables Options Page + else #Pink Rejected + UI -> US: ACT: Display rejection reason + end + UI -> US: ACT: Show Drain Consumables Options page + TD -> US: ACT: Show Drain Dialyzer and Bicarcb Cartridge + US -> UI: TCH: Cancel Dialyzer Drain \ + \n\t Cancel Drain Bicarcb Cartridge \ + \n\t Depressurize Bicarcb Cartridge + UI -> TD: TODO: Messaging Cancel drain and depressurize + US -> UI: Act: Press Continue + UI -> US: ACT: Show Remove Consumables and Disposables page + US -> UI: TCH: Any instruction step + UI -> UI: ACT: Highlight instruction step \ + \n\tShow image for instruction step + US -> UI: Act: Press Auto Eject + alt #CEFAD0 Auto-Eject + UI -> SW: ACT: Auto-Eject Request + SW -> TD: MSG: [x94: 0] Request + TD -> SW: MSG: [x95: #2] \n\tResponse: \ + \n\t(U32) mAccepted\ + \n\t(U32) mReason + SW -> UI: CMD: Rejection Reason + alt #CAE9F5 Accepted: AutoEject + UI -> UI: ACT: Go to Treatment Review Page + else #Pink Rejected + UI -> UI: ACT: Stay on page + UI -> US: ACT: Display rejection reason + end + end + UI -> US: ACT: Show Treatment Review page + UI -> SW: ACT: Post Treatment logs Request + SW -> TD: MSG: [xA9: #0] Req: Post Treatment logs Request + TD -> SW: MSG: [xAA: #62] Rsp: \ + \n\t(U32) mAccepted\ + \n\t(U32) mReason \ + \n\t ... Tx review data + SW -> UI: CMD: Post Treatment logs data + alt #CAE9F5 Accepted + UI -> US: ACT: Display Post Treatment logs data + else #Pink Rejected + UI -> US: ACT: Display rejection reason + end + US -> UI: Act: Press Continue + UI -> US: ACT: Show Disinfect page + US -> UI: Act: Press any disinfect Option: \ + \n\t Rinseback \ + \n\t Heat Disinfect \ + \n\t Citric Acid Heatr Disinfect \ + \n\t Substituion Port Disinfect + UI -> TD: TODO: messaging and procedure for disinfection + +@enduml Index: sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustRequests.h =================================================================== diff -u -rbc3fd305cbcfa47b0f535b68a9b022906d9a3797 -r3e80a908d1cde3735bc92859f0fec4b3bfaa99a2 --- sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustRequests.h (.../MPostTreatmentAdjustRequests.h) (revision bc3fd305cbcfa47b0f535b68a9b022906d9a3797) +++ sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustRequests.h (.../MPostTreatmentAdjustRequests.h) (revision 3e80a908d1cde3735bc92859f0fec4b3bfaa99a2) @@ -59,7 +59,7 @@ * * | MSG | CAN ID | Type | Ack | Src | Dest | Description | * |:----:|:------:|:----:|:---:|:---:|:----:|:-----------:| - * |0x0600| 0x100 | Req | Y | UI | HD | Patient Disconnection Confirm Request | + * |0x5500| 0x100 | Req | Y | UI | TD | Patient Disconnection Confirm Request | * * | Payload || * | ||