Index: sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustRequests.h =================================================================== diff -u -r5e03d3f26ea0c88562e430c4b8192dd745fa1011 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustRequests.h (.../MPreTreatmentAdjustRequests.h) (revision 5e03d3f26ea0c88562e430c4b8192dd745fa1011) +++ sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustRequests.h (.../MPreTreatmentAdjustRequests.h) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,13 +1,13 @@ /*! * - * Copyright (c) 2021-2022 Diality Inc. - All Rights Reserved. + * Copyright (c) 2021-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file MPreTreatmentAdjustRequests.h * \author (last) Behrouz NematiPour - * \date (last) 18-Apr-2022 + * \date (last) 31-May-2023 * \author (original) Behrouz NematiPour * \date (original) 11-Apr-2021 * @@ -75,70 +75,67 @@ * * | Payload || * | || - * | #01:(U32) | \ref bloodFlowRate | - * | #02:(U32) | \ref dialysateFlowRate | - * | #03:(U32) | \ref treatmentDuration | - * | #04:(U32) | \ref heparinStopTime | - * | #05:(U32) | \ref salineBolus | - * | #06:(U32) | \ref acidConcentrate | - * | #07:(U32) | \ref bicarbonateConcentrate | - * | #08:(U32) | \ref dialyzerType | - * | #09:(U32) | \ref heparinType | - * | #10:(U32) | \ref bloodPressureMeasureInterval | - * | #11:(U32) | \ref rinsebackFlowRate | - * | #12:(S32) | \ref arterialPressureLimitLow | - * | #13:(S32) | \ref arterialPressureLimitHigh | - * | #14:(S32) | \ref venousPressureLimitLow | - * | #15:(S32) | \ref venousPressureLimitHigh | - * | #16:(F32) | \ref heparinDispensingRate | - * | #17:(F32) | \ref heparinBolusVolume | - * | #18:(F32) | \ref dialysateTemp | + * | #01:(U32) | \ref mBloodFlowRate | + * | #02:(U32) | \ref mDialysateFlowRate | + * | #03:(U32) | \ref mTreatmentDuration | + * | #04:(U32) | \ref mHeparinStopTime | + * | #05:(U32) | \ref mSalineBolus | + * | #06:(U32) | \ref mAcidConcentrate | + * | #07:(U32) | \ref mBicarbonateConcentrate | + * | #08:(U32) | \ref mDialyzerType | + * | #09:(U32) | \ref mHeparinType | + * | #10:(U32) | \ref mBloodPressureMeasureInterval | + * | #11:(U32) | \ref mRinsebackFlowRate | + * | #12:(S32) | \ref mArterialPressureLimitWindow | + * | #13:(S32) | \ref mVenousPressureLimitWindow | + * | #14:(S32) | \ref mVenousPressureLimitAsymtrc | + * | #15:(F32) | \ref mHeparinDispensingRate | + * | #16:(F32) | \ref mHeparinBolusVolume | + * | #17:(F32) | \ref mDialysateTemp | * */ class MAdjustParametersValidationReq : public MModel { public: - quint32 bloodFlowRate = 0; // mL/min - quint32 dialysateFlowRate = 0; // mL/min - quint32 treatmentDuration = 0; // minutes - quint32 heparinStopTime = 0; // min - quint32 salineBolus = 0; // mL - quint32 acidConcentrate = 0; // - quint32 bicarbonateConcentrate = 0; // - quint32 dialyzerType = 0; // - quint32 heparinType = 0; // - quint32 bloodPressureMeasureInterval = 0; // minutes - quint32 rinsebackFlowRate = 0; // mL/min - qint32 arterialPressureLimitLow = 0; // mmHg - qint32 arterialPressureLimitHigh = 0; // mmHg - qint32 venousPressureLimitLow = 0; // mmHg - qint32 venousPressureLimitHigh = 0; // mmHg - float heparinDispensingRate = 0; // mL/hr - float heparinBolusVolume = 0; // mL - float dialysateTemp = 0; // Celsius + quint32 mBloodFlowRate = 0; // mL/min + quint32 mDialysateFlowRate = 0; // mL/min + quint32 mTreatmentDuration = 0; // minutes + quint32 mHeparinStopTime = 0; // min + quint32 mSalineBolus = 0; // mL + quint32 mAcidConcentrate = 0; // + quint32 mBicarbonateConcentrate = 0; // + quint32 mDialyzerType = 0; // + quint32 mHeparinType = 0; // + quint32 mBloodPressureMeasureInterval = 0; // minutes + quint32 mRinsebackFlowRate = 0; // mL/min + qint32 mArterialPressureLimitWindow = 0; // mmHg + qint32 mVenousPressureLimitWindow = 0; // mmHg + qint32 mVenousPressureLimitAsymtrc = 0; // mmHg + float mHeparinDispensingRate = 0; // mL/hr + float mHeparinBolusVolume = 0; // mL + float mDialysateTemp = 0; // Celsius // disabled coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({ - bloodFlowRate , - dialysateFlowRate , - treatmentDuration , - heparinStopTime , - salineBolus , - acidConcentrate , - bicarbonateConcentrate , - dialyzerType , - heparinType , - bloodPressureMeasureInterval , - rinsebackFlowRate , - arterialPressureLimitLow , - arterialPressureLimitHigh , - venousPressureLimitLow , - venousPressureLimitHigh , - heparinDispensingRate , - heparinBolusVolume , - dialysateTemp , + mBloodFlowRate , + mDialysateFlowRate , + mTreatmentDuration , + mHeparinStopTime , + mSalineBolus , + mAcidConcentrate , + mBicarbonateConcentrate , + mDialyzerType , + mHeparinType , //FIXME: DEN-15377: to set the heparintype to not selected (-1) is used which is incorrect, since the type is unsigned. (No issue for now but is not correct.) + mBloodPressureMeasureInterval , + mRinsebackFlowRate , + mArterialPressureLimitWindow , + mVenousPressureLimitWindow , + mVenousPressureLimitAsymtrc , + mHeparinDispensingRate , + mHeparinBolusVolume , + mDialysateTemp , }); } // disabled coco end