Index: SDDs/Rinseback.puml =================================================================== diff -u -raf5b62a60696dadcd5429d1edcbd7a99d04d5233 -r00c9163719184ed49175687b5a4b443f17a062c5 --- SDDs/Rinseback.puml (.../Rinseback.puml) (revision af5b62a60696dadcd5429d1edcbd7a99d04d5233) +++ SDDs/Rinseback.puml (.../Rinseback.puml) (revision 00c9163719184ed49175687b5a4b443f17a062c5) @@ -22,26 +22,76 @@ '[x \n ,X The rest of the parameters do not matter.] == Rinseback Screen Open == - TD -> SW: MSG: [x3C: Dat 4, X, X, X, X, 1]\nTreatment State + TD -> SW: MSG: [x3C: Dat #10] Treatment State\n\ + \t(U32) treatmentSubMode=4\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 Run UI -> US: ACT: Rinseback Screen - == Rinseback Progess == - TD -> SW: MSG: [x8F: Dat targetVol, deliveredVol, flowRate, timeout, countdown, isCompleted]\nRinseback Progress + == Rinseback Progress == + TD -> SW: MSG: [x8F: Dat #6] Rinseback Progress\n\ + \t(F32) targetRinsebackVolumeMl\n\ + \t(F32) deliveredRinsebackVolumeMl\n\ + \t(U32) rinsebackFlowRateMlMin\n\ + \t(U32) timeout\n\ + \t(U32) countdown\n\ + \t(BOOL) isCompleted SW -> UI: CMD: Rinseback Progress Data UI -> US: ACT: Display Rinseback Progress == Rinseback Command Request/Response == US -> UI: TCH: Rinseback Screen Interation UI -> SW: ACT: Rinseback Command - SW -> TD: MSG: [x90: Req cmd]\nRinseback Command Request + SW -> TD: MSG: [x90: Req #1] Rinseback Command Request (Pause/Resume/Stop/etc)\n\ + \t(U32) cmd alt accepted - TD -> SW: MSG: [x91: Rsp 1, X]\nRinseback Command Response + TD -> SW: MSG: [x91: Rsp #2] Rinseback Command Response\n\ + \t(BOOL) accepted=1\n\ + \t(U32) rejReason=X SW -> UI: CMD: Rinseback Command Adjustment Triggered UI -> US: ACT: Update Rinseback Screen - else rejected - TD -> SW: MSG: [x91: Rsp 0, rejectionReason]\nRinseback Command Response + else #Pink rejected + TD -> SW: MSG: [x91: Rsp #2] Rinseback Command Response\n\ + \t(BOOL) accepted=0\n\ + \t(U32) rejReason SW -> UI: CMD: Rinseback Command Adjustment Triggered UI -> US: ACT: Display Rejection Reason end + + == Rinseback Command Request/Response == + US -> UI: TCH: Rinseback Screen Interation + UI -> SW: ACT: Rinseback Command + SW -> TD: MSG: [x90: Req #1] Rinseback Command Request\n\ + \t(U32) cmd=\n\ + \t\t[ CONFIRM_START |\n\ + \t\tINCREASE_RATE |\n\ + \t\tDECREASE_RATE |\n\ + \t\tPAUSE |\n\ + \t\tRESUME |\n\ + \t\tEND |\n\ + \t\tADDITIONAL |\n\ + \t\tCONFIRM_DISCONNECT |\n\ + \t\tEND_TREATMENT |\n\ + \t\tBACK_TO_TREATMENT ] + alt accepted + TD -> SW: MSG: [x91: Rsp #2] Rinseback Command Response\n\ + \t(BOOL) accepted=1\n\ + \t(U32) rejReason=X + SW -> UI: CMD: Rinseback Command Adjustment Triggered + UI -> US: ACT: Update Rinseback Screen + else #Pink rejected + TD -> SW: MSG: [x91: Rsp #2] Rinseback Command Response\n\ + \t(BOOL) accepted=0\n\ + \t(U32) rejReason + SW -> UI: CMD: Rinseback Command Adjustment Triggered + UI -> US: ACT: Display Rejection Reason + end @enduml