Index: sources/view/VTreatmentBegin.cpp =================================================================== diff -u -r3a238930f8d939800512c9a786e96f15b35a2001 -r5384b4f5833568db90b988b11bbd502386d2f9b2 --- sources/view/VTreatmentBegin.cpp (.../VTreatmentBegin.cpp) (revision 3a238930f8d939800512c9a786e96f15b35a2001) +++ sources/view/VTreatmentBegin.cpp (.../VTreatmentBegin.cpp) (revision 5384b4f5833568db90b988b11bbd502386d2f9b2) @@ -46,13 +46,14 @@ * Implements SRSUI 253, 695, PRS 50 */ void VTreatmentBegin::doStartTreatment() { - qDebug() << "Requesting to start a treatment..."; + LOG_DEBUG("Requesting to start a treatment..."); GuiAlertRequestData request; + request.id = GuiAlertID::ID_Alert_BLE_Connection; if (!_bleConnected) { request.title = tr("The Blood Pressure Cuff is Not Connected"); - request.description = tr("Press 'Confirm' to continue treatment without taking vitals."); + request.description = tr("Press 'Confirm' to proceed with treatment using a non-Bluetooth connected Blood Pressure Cuff."); emit didRequestShowAlert(request); return; } @@ -93,13 +94,17 @@ /*! * \brief VTreatmentBegin::onAdjustment - * Called when the user has responded to the blood pressure prompt - * \param messageData - (AlertUserRequestData) the message data + * Called when the user has responded to the blood pressure conection alert + * \param messageData - (GuiAlertResponseData) the message data */ void VTreatmentBegin::onAdjustment(const GuiAlertResponseData &messageData) { - qDebug() << "Blood Pressure Prompt response: " << messageData.confirmed; + qDebug() << __FUNCTION__ << messageData.id; + if (messageData.id != GuiAlertID::ID_Alert_BLE_Connection) + return; + LOG_DEBUG(QString("Blood Pressure Prompt response: %1").arg(messageData.confirmed)); + if (messageData.confirmed) { startTreatmentRequest.request = TreatmentStartRequestData::eStartTreatment;