Index: sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustTreatmentLog.cpp =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -r1d3e80dd50bfe08502c8e52de126a2b809370211 --- sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustTreatmentLog.cpp (.../VPostTreatmentAdjustTreatmentLog.cpp) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustTreatmentLog.cpp (.../VPostTreatmentAdjustTreatmentLog.cpp) (revision 1d3e80dd50bfe08502c8e52de126a2b809370211) @@ -74,11 +74,22 @@ adjustment_Accepted ( vData.mAccepted ); adjustment_Reason ( vData.mReason ); - _TreatmentLog.initModel ( vData, _patientID.trimmed() ); + // init the TreatmentLog model + bool isHeparinOff = heparinBolusVolumeOff() && heparinDispensingRateOff(); + _TreatmentLog.initModel ( vData, _patientID.trimmed(), isHeparinOff); if ( vData.mAccepted ) { - parametersText ( _TreatmentLog.values() ); + //TODO Commented out for now + // It is needed to display NONE for the heparin items if the heparin set to off on Create Treatment Prameters screen. + // The problem is the data comes from the _TreatmentLog model + // But if that model changes to have the NONE values, then the CloudSync or Cloud may reject the TxLog. + // When the Cloud is updated we can as well update the entire flow. + // For now it will only updates the display/Gui value. + // Look for the https://diality.atlassian.net/browse/DEN-15911 + // to know were to update for full model the view update. + // When the model updated the valueGui() can be removed and valuesLog() can be used. + parametersText ( _TreatmentLog.valuesGui() ); } else { - parametersText ( {} ); + parametersText ( {} ); } // raw values