Index: SDDs/MainTreatmentScreen.png =================================================================== diff -u -r3c07dc803109f716937b692cb4a67a5324bb9ca3 -r6968b108ec495593667d2986c4af938737bd5211 Binary files differ Index: SDDs/MainTreatmentScreen.puml =================================================================== diff -u -r77ba0083b790f7c1c851c60ecaeaa4f2e7eff7a8 -r6968b108ec495593667d2986c4af938737bd5211 --- SDDs/MainTreatmentScreen.puml (.../MainTreatmentScreen.puml) (revision 77ba0083b790f7c1c851c60ecaeaa4f2e7eff7a8) +++ SDDs/MainTreatmentScreen.puml (.../MainTreatmentScreen.puml) (revision 6968b108ec495593667d2986c4af938737bd5211) @@ -29,6 +29,7 @@ == Saline == TD -> SW: MSG: [x3D: #4] \nTD Saline Bolus Status Data\n(U32) ntgtVolMl\n(F32) cumVolMl\n(F32) bolVolMl\n(U32) sbState SW -> UI: CMD: Update Saline Bolus Data\n(U32) ntgtVolMl\n(F32) cumVolMl\n(F32) bolVolMl\n(U32) sbState + !include common_puml/Vitals_Data.puml == Ultrafiltration == TD -> SW: MSG: [x3E: #4] \nTD Ultrafiltration Status Data\n(F32) setVolL\n(F32) tgtRateLHr\n(F32) volDelL\n(U32) ufState SW -> UI: CMD: Update UF Status\n(F32) setVolL\n(F32) tgtRateLHr\n(F32) volDelL\n(U32) ufState Index: SDDs/Vitals.png =================================================================== diff -u Binary files differ Index: SDDs/Vitals.puml =================================================================== diff -u --- SDDs/Vitals.puml (revision 0) +++ SDDs/Vitals.puml (revision 6968b108ec495593667d2986c4af938737bd5211) @@ -0,0 +1,67 @@ +@startuml Vitals + participant TD as TD + participant SW as SW + participant UI as UI + actor USER as US + + 'Possible actions and interaction types + ' External on CANBus + ' TD -> SW: MSG: Message + ' SW -> TD: MSG: Message + + ' Internal to the application + ' XX -> YY: CMD: Command + ' XX -> XX: ACT: Action + + ' External on OS/FS + ' SW -> Script: ACT: Command + ' Script -> OS: CMD: Command + ' Script -> SW: MSG: Message + ' OS -> Script: MSG: Message + + ' US -> UI: User actions are: + ' ASK: Display a + ' ENT: User enters a value or string + ' TCH: User touches a button (RadioButton, CheckBox, ...) + ' SCL: User scrolls a flip-able area + + == Vitals (Automatic) == + loop QTimerEvent + SW ->o SW: ⟲: ACT: Blood Pressure Measurement Interval expiration + end + SW -> UI: ACT: Notify UI timer interval expiration + UI -> SW: ACT: Request Vitals + SW -> TD: MSG: [x63: #0] Request Vitals + TD -> SW: MSG: [x64: #2] \ + \n\tResponse: \ + \n\t(U32) mAccepted\ + \n\t(U32) mReason + SW -> UI: ACT: Vitals Response + + alt Accepted + group Vitals_Data + UI --> UI: ... + end + UI -> UI: ACT: Populate all UI fields with Vitals Data + else #Pink Rejected + UI -> UI: ACT: Notify User displaying rejection reason + group Vitals (Manual) + UI --> UI: ... + end + end + UI -> SW: ACT: Confirm Vitals from integrated blood pressure cuff + SW -> SW: ACT: Log Vitals \ + \n\tRestart Timer + + == Vitals (Manual) == + US -> UI: TCH: Press Vitals Edit button in Main Treatment or \ + \n\t Press Vitals Headerbar icon button or \ + \n\t Failed check for integreated blood pressure cuff + US -> UI: ENT: Enter Vitals data \ + \n\t-Systolic \ + \n\t-Diastolic \ + \n\t-HeartRate + US -> UI: TCH: Press Confirm + + !include common_puml/Vitals_Data.puml +@enduml Index: SDDs/common_puml/Vitals_Data.puml =================================================================== diff -u --- SDDs/common_puml/Vitals_Data.puml (revision 0) +++ SDDs/common_puml/Vitals_Data.puml (revision 6968b108ec495593667d2986c4af938737bd5211) @@ -0,0 +1,34 @@ +@startuml Vitals_Data(id=Vitals_Data) + + participant TD as TD + participant SW as SW + participant UI as UI + actor USER as US + + 'Possible actions and interaction types + ' External on CANBus + ' TD -> SW: MSG: Message + ' SW -> TD: MSG: Message + + ' Internal to the application + ' XX -> YY: CMD: Command + ' XX -> XX: ACT: Action + + ' External on OS/FS + ' SW -> Script: ACT: Command + ' Script -> OS: CMD: Command + ' Script -> SW: MSG: Message + ' OS -> Script: MSG: Message + + ' US -> UI: User actions are: + ' ASK: Display a + ' ENT: User enters a value or string + ' TCH: User touches a button (RadioButton, CheckBox, ...) + ' SCL: User scrolls a flip-able area + + == Vitals Data == + TD -> SW: MSG: [x65: #3] \nTD Vitals Data\n(U32) mSystolic\n(U32) mDiastolic\n(U32) mHeartRate + SW -> UI: CMD: Update Vitals Data\n(U32) mSystolic\n(U32) mDiastolic\n(U32) mHeartRate + UI -> US: ACT: Display updated Values + +@enduml