Index: sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustParametersValidationResponse.h =================================================================== diff -u -ra58f91b077c8131bea3dbde0fc338adb113fc9f3 -rf2e4eba6e85c5d36537be782926f23cc9dc01037 --- sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustParametersValidationResponse.h (.../MPreTreatmentAdjustParametersValidationResponse.h) (revision a58f91b077c8131bea3dbde0fc338adb113fc9f3) +++ sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustParametersValidationResponse.h (.../MPreTreatmentAdjustParametersValidationResponse.h) (revision f2e4eba6e85c5d36537be782926f23cc9dc01037) @@ -29,30 +29,32 @@ * \brief The MAdjustParametersValidationResponse class * \details The treatment parameters response model * - * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | - * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:------------------------------: | - * |0x3600| 0x020 | 6 | Rsp | Y | HD | UI | Treatment Parameters Response | + * | MSG | CAN ID | Type | Ack | Src | Dst | Description | + * |:----:|:------:|:------:|:---:|:---:|:---:|:------------------------------: | + * |0x4000| 0x040 | Rsp | Y | TD | UI | Treatment Parameters Response | * * | Payload || * | || - * | #01:(U32) | \ref Data::mAccepted | - * | #02:(U32) | \ref Data::mBloodFlowRate | - * | #03:(U32) | \ref Data::mDialysateFlowRate | - * | #04:(U32) | \ref Data::mDuration | - * | #05:(U32) | \ref Data::mHeparinStopTime | - * | #06:(U32) | \ref Data::mSalineBolus | - * | #07:(U32) | \ref Data::mAcidConcentrate | - * | #08:(U32) | \ref Data::mBicarbonateConcentrate | - * | #09:(U32) | \ref Data::mDialyzerType | - * | #10:(U32) | \ref Data::mHeparinType | - * | #11:(U32) | \ref Data::mBloodPressureMeasureInterval | - * | #12:(U32) | \ref Data::mRinsebackFlowRate | - * | #13:(U32) | \ref Data::mArterialPressureLimitWindow | - * | #14:(U32) | \ref Data::mVenousPressureLimitWindow | - * | #15:(U32) | \ref Data::mVenousPressureLimitAsymtrc | - * | #16:(U32) | \ref Data::mHeparinDispensingRate | - * | #17:(U32) | \ref Data::mHeparinBolusVolume | - * | #18:(U32) | \ref Data::mDialysateTemp | + * | #01:(U32) | \ref Data::mAccepted | + * | #02:(U32) | \ref Data::mBloodFlowRateRejectReason | + * | #03:(U32) | \ref Data::mDialysateFlowRateRejectReason | + * | #04:(U32) | \ref Data::mTreatmentDurationRejectReason | + * | #05:(U32) | \ref Data::mSalineBolusVolumeRejectReason | + * | #06:(U32) | \ref Data::mHeparinStopTimeRejectReason | + * | #07:(U32) | \ref Data::mHeparinTypeRejectReason | + * | #08:(U32) | \ref Data::mAcidConcentrateRejectReason | + * | #09:(U32) | \ref Data::mBicarbonateConcentrateRejectReason | + * | #10:(U32) | \ref Data::mDialyzerTypeRejectReason | + * | #11:(U32) | \ref Data::mBloodPressureMeasureIntervalRejectReason | + * | #12:(U32) | \ref Data::mRinsebackFlowRateRejectReason | + * | #13:(U32) | \ref Data::mRinsebackVolumeRejectReason | + * | #14:(U32) | \ref Data::mArterialPressureLimitWindowRejectReason | + * | #15:(U32) | \ref Data::mVenousPressureLimitWindowRejectReason | + * | #16:(U32) | \ref Data::mVenousPressureLimitAsymtrcRejectReason | + * | #17:(U32) | \ref Data::mTrancembrncPressureLimitWindowRejectReason | + * | #18:(U32) | \ref Data::mDialysateTempRejectReason | + * | #19:(U32) | \ref Data::mHeparinDispensingRateRejectReason | + * | #20:(U32) | \ref Data::mHeparinBolusVolumeRejectReason | * * \sa Data * @@ -71,24 +73,26 @@ QVariantList parameters() const override; struct { - Types::U32 mAccepted ; - Types::U32 mBloodFlowRate ; ///< User set blood flow rate (in mL/min) - Types::U32 mDialysateFlowRate ; ///< User set dialysate flow rate (in mL/min) - Types::U32 mDuration ; ///< User set treatment duration (in min) - Types::U32 mHeparinStopTime ; ///< User set heparin pre-stop time (in min) - Types::U32 mSalineBolus ; ///< User set saline bolus volume (in mL) - Types::U32 mAcidConcentrate ; ///< User set acid concentrate option - Types::U32 mBicarbonateConcentrate ; ///< User set bicarbonate concentrate option - Types::U32 mDialyzerType ; ///< User set dialyzer type option - Types::U32 mHeparinType ; ///< User set heparin type option - Types::U32 mBloodPressureMeasureInterval ; ///< User set blood pressure measurement interval (in min) - Types::U32 mRinsebackFlowRate ; ///< User set rinseback flow rate (in mL/min) - Types::U32 mArterialPressureLimitWindow ; ///< User set window alarm limit for arterial pressure (in mmHg) - Types::U32 mVenousPressureLimitWindow ; ///< User set window alarm limit for venous pressure (in mmHg) - Types::U32 mVenousPressureLimitAsymtrc ; ///< User set asymtrc alarm limit for venous pressure (in mmHg) - Types::U32 mHeparinDispensingRate ; ///< User set heparin dispense rate (in mL/hr) - Types::U32 mHeparinBolusVolume ; ///< User set heparin bolus volume (in mL) - Types::U32 mDialysateTemp ; ///< User set dialysate temperature (in deg C) + Types::U32 mAccepted ; + Types::U32 mBloodFlowRateRejectReason ; + Types::U32 mDialysateFlowRateRejectReason ; + Types::U32 mTreatmentDurationRejectReason ; + Types::U32 mSalineBolusVolumeRejectReason ; + Types::U32 mHeparinStopTimeRejectReason ; + Types::U32 mHeparinTypeRejectReason ; + Types::U32 mAcidConcentrateRejectReason ; + Types::U32 mBicarbonateConcentrateRejectReason ; + Types::U32 mDialyzerTypeRejectReason ; + Types::U32 mBloodPressureMeasureIntervalRejectReason ; + Types::U32 mRinsebackFlowRateRejectReason ; + Types::U32 mRinsebackVolumeRejectReason ; + Types::U32 mArterialPressureLimitWindowRejectReason ; + Types::U32 mVenousPressureLimitWindowRejectReason ; + Types::U32 mVenousPressureLimitAsymtrcRejectReason ; + Types::U32 mTrancembrncPressureLimitWindowRejectReason ; + Types::U32 mDialysateTempRejectReason ; + Types::U32 mHeparinDispensingRateRejectReason ; + Types::U32 mHeparinBolusVolumeRejectReason ; } _data; public: @@ -98,24 +102,26 @@ QString infoText () const override { return QString("ParametersValidation"); } struct Data { - quint32 mAccepted = 0; - quint32 mBloodFlowRate = 0; - quint32 mDialysateFlowRate = 0; - quint32 mDuration = 0; - quint32 mHeparinStopTime = 0; - quint32 mSalineBolus = 0; - quint32 mAcidConcentrate = 0; - quint32 mBicarbonateConcentrate = 0; - quint32 mDialyzerType = 0; - quint32 mHeparinType = 0; - quint32 mBloodPressureMeasureInterval = 0; - quint32 mRinsebackFlowRate = 0; - quint32 mArterialPressureLimitWindow = 0; - quint32 mVenousPressureLimitWindow = 0; - quint32 mVenousPressureLimitAsymtrc = 0; - quint32 mHeparinDispensingRate = 0; - quint32 mHeparinBolusVolume = 0; - quint32 mDialysateTemp = 0; + quint32 mAccepted = 0; + quint32 mBloodFlowRateRejectReason = 0; + quint32 mDialysateFlowRateRejectReason = 0; + quint32 mTreatmentDurationRejectReason = 0; + quint32 mSalineBolusVolumeRejectReason = 0; + quint32 mHeparinStopTimeRejectReason = 0; + quint32 mHeparinTypeRejectReason = 0; + quint32 mAcidConcentrateRejectReason = 0; + quint32 mBicarbonateConcentrateRejectReason = 0; + quint32 mDialyzerTypeRejectReason = 0; + quint32 mBloodPressureMeasureIntervalRejectReason = 0; + quint32 mRinsebackFlowRateRejectReason = 0; + quint32 mRinsebackVolumeRejectReason = 0; + quint32 mArterialPressureLimitWindowRejectReason = 0; + quint32 mVenousPressureLimitWindowRejectReason = 0; + quint32 mVenousPressureLimitAsymtrcRejectReason = 0; + quint32 mTrancembrncPressureLimitWindowRejectReason = 0; + quint32 mDialysateTempRejectReason = 0; + quint32 mHeparinDispensingRateRejectReason = 0; + quint32 mHeparinBolusVolumeRejectReason = 0; }; MAdjustParametersValidationResponse () {}