Index: SDDs/CreateRx.puml =================================================================== diff -u -rf2e4eba6e85c5d36537be782926f23cc9dc01037 -rfeb708952ab1311368560d025d1e241c68b5413c --- SDDs/CreateRx.puml (.../CreateRx.puml) (revision f2e4eba6e85c5d36537be782926f23cc9dc01037) +++ SDDs/CreateRx.puml (.../CreateRx.puml) (revision feb708952ab1311368560d025d1e241c68b5413c) @@ -27,6 +27,7 @@ TD -> SW: MSG: [x12: 3,1] \n OpMode - Standby Dat SW -> UI: CMD: MainHome Screen UI ->o Wait_Retry: ⟲: MainHome Screen + == Create Rx - Simplified == TD -> UI: [x12] OpMode - Standby UI -> TD: [x45] Create Treatment Req @@ -36,70 +37,60 @@ UI -> TD: [x44] Prameters Confirmation Req TD -> UI: [x12] OpMode - Pre-Tx - - == Create Rx - Detailed == US -> UI: TCH: Create Treatment Button UI -> SW: ACT: Create Treatment SW -> TD: MSG: [x45: 1] Req \n Initiate Treatment alt Accepted: Initiate Treatment TD -> SW: MSG: [x46: 1,X] Rsp \n Initiate Treatment TD -> SW: MSG: [x12: 4,1] Dat \n OpMode - Parameters - SW -> UI: CMD: Patient ID Screen - UI ->o Wait_Retry: ⟲: Patient ID Screen - alt Canceled: Initiate Treatment - 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 - UI ->o Wait_Retry: ⟲: MainHome Screen - end - US -> UI: ENT: Patinet ID Text - US -> UI: TCH: Confirm Button - UI -> SW: ACT: Patinet ID Confirm - SW -> SW: ACT: Patient ID Save - SW -> UI: CMD: Prescription Parameters Screen - UI ->o Wait_Retry: ⟲: Prescription Parameters Screen - group adjust - US -> UI: SET: Prescription Parameters - UI -> SW: ACT: Prescription Parameters: Save - end group - alt Confirm - US -> UI: TCH: Confirm Button + SW -> UI: CMD: Create Rx Screen + UI ->o Wait_Retry: ⟲: Create Rx Screen + US -> UI: ENT: Patient ID Text + US -> UI: TCH: Touch each parameter to set value + alt Validate + US -> UI: TCH: Validate Button UI -> SW: ACT: Prescription Parameters SW -> TD: MSG: [x3F: #(all the Rx Params)] Req \n Prescription Parameters: Validation - else Back - US -> UI: TCH: Back Button - UI ->o Wait_Retry: ⟲: Patient ID Screen - end - alt Accepted - TD -> SW: MSG: [x40: 1,X] Rsp \n Prescription Parameters: Validation - SW -> UI: CMD: Prescription Parameters Confimation Screen - UI ->o Wait_Retry: ⟲: Prescription Parameters Confimation Screen - alt Confirm - US -> UI: TCH: Confirm Button - UI -> SW: ACT: Prescription Parameters Confimation - SW -> TD: MSD: [x44: 1] Req \n Prescription Parameters Confimation - TD -> SW: MSG: [x12: 4,1] Dat \n OpMode - Pre-Treatment - SW -> UI: CMD: Pre-Treatment Stack - UI -[#Green]>o Pre_Tx - else Back - US -> UI: TCH: Back Button - UI -> SW: ACT: Prescription Parameters Confimation: Back - SW -> TD: MSD: [x44: 0] Req \n Prescription Parameters Confimation - SW -> UI: CMD: Prescription Parameters Screen + alt Accepted + TD -> SW: MSG: [x40: 1,X] Rsp \n Prescription Parameters: Validation + SW -> UI: ACT: Notify UI: Parameters validation \n\t(Generate QR Code) + UI -> UI: ACT: Lock all editable fields\n\tShow QR Code\n\tShow Confirm Button + alt Confirm + US -> UI: TCH: Confirm Button + UI -> SW: ACT: Prescription Parameters Confimation + SW -> TD: MSD: [x44: 1] Req \n Prescription Parameters Confimation + alt Accepted + TD -> SW: MSG: [x12: 4,1] Dat \n OpMode - Pre-Treatment + SW -> UI: CMD: Pre-Treatment Stack + UI -[#Green]>o Pre_Tx + end + end + else #Pink + TD -> SW: MSG: [x40: 0,#RR] Rsp \n Prescription Parameters: Validation + SW -> UI: CMD: Highlight Rejected Parameters UI ->o Wait_Retry: ⟲: Prescription Parameters Screen end - - else #Pink - TD -> SW: MSG: [x40: 0,#RR] Rsp \n Prescription Parameters: Validation - SW -> UI: CMD: Highlight Rejected Parameters - UI ->o Wait_Retry: ⟲: Prescription Parameters Screen end else #Pink Rejected x46: Initiate Treatment TD -> SW: MSG: [x46: 0,RR] SW -> UI: CMD: Rejection Reason (RR) Notification UI ->o Wait_Retry: ⟲: MainHome Screen end -@enduml \ No newline at end of file + alt Back + US -> UI: TCH: Back Button + UI -> SW: ACT: Back + alt Is Validated? + SW -> TD: MSG: [x44: 0] Req \n Prescription Parameters Confirmations: Back + SW -> UI: ACT: Set to not validated + UI -> UI: ACT: Enable Fields + UI ->o Wait_Retry: ⟲: Create Rx Screen + else + UI -> UI: ACT: Clear Create Rx Screen + 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 + UI ->o Wait_Retry: ⟲: MainHome Screen + end + end +@enduml