Index: sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp =================================================================== diff -u -rec7f919fdb70ff29a8de627937e4ad7008e59c1c -ra5fe0c9504558ddafc2af2ccd852b8f311a00616 --- sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp (.../VCommonAdjustmentVitals.cpp) (revision ec7f919fdb70ff29a8de627937e4ad7008e59c1c) +++ sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp (.../VCommonAdjustmentVitals.cpp) (revision a5fe0c9504558ddafc2af2ccd852b8f311a00616) @@ -48,6 +48,7 @@ // adjustment_Accepted ( vData.mAccepted ); // adjustment_Reason ( vData.mReason ); + update_rt (vData.mSystolic, vData.mDiastolic, vData.mPulseRate); emit didTrigger(vData.mSystolic, vData.mDiastolic, vData.mPulseRate); // if the vitals is disabled it means Gui is probably in an incorrect state and is unable to handle the vital information. LOG_EVENT_UI(tr("Vital received,%1,%2,%3") @@ -135,6 +136,21 @@ } /*! + * \brief View::VTreatmentVitals::update_rt + * \details The vital properties will only be updated if the user confirms the read values. + * But this ones are for debugging purposes and will be updated all the time in Real Time when the vitals received. + * \param vSystolic - Blood Pressure Systolic + * \param vDiastolic - Blood Pressure Diastolic + * \param vHeartRate - Heart Rate + */ +void View::VTreatmentVitals::update_rt(quint16 vSystolic, quint16 vDiastolic, quint16 vHeartRate) +{ + systolic__rt ( vSystolic ); + diastolic_rt ( vDiastolic ); + heartRate_rt ( vHeartRate ); +} + +/*! * \brief View::VTreatmentVitals::treatmentLog * \details Appends the vitals values to the treatment log list (for later store in the TxLog at the end of Tx) * \note the method update has to be called before calling this method to update the property values used in this method.