Index: NVDataMgmt.c =================================================================== diff -u -r3900359f02629a57444f9393fc8533452d9b2543 -r83f19e4f9d82e6de13c838b48f217e0a77d2d522 --- NVDataMgmt.c (.../NVDataMgmt.c) (revision 3900359f02629a57444f9393fc8533452d9b2543) +++ NVDataMgmt.c (.../NVDataMgmt.c) (revision 83f19e4f9d82e6de13c838b48f217e0a77d2d522) @@ -131,7 +131,7 @@ #define DEFAULT_BLOOD_LEAK_SET_POINT 20 ///< Blood leak default set point. #define DEFAULT_HEPARIN_PUMP_VOLTAGE 0.15F ///< Heparin pump default voltage. #define DEFAULT_ENABLE_CHEM_DISINFECT 0 ///< Disable chemical disinfect in institutional record. -#define DEFAULT_RO_REJECTION_RATIO 0.1F ///< RO rejection ratio. +#define DEFAULT_MAX_RO_REJECTION_RATIO 0.1F ///< Max RO rejection ratio. #endif // DG specific defines @@ -1547,17 +1547,17 @@ /*********************************************************************//** * @brief - * The getRORejectionRatioInInstitRecord returns the value of the RO rejection - * ratio in institutional record + * The getMaxRORejectionRatioInInstitRecord returns the value of the max RO + * rejection ratio in institutional record * @details Inputs: hdInstitutionalGroup * Output: none - * @return the RO rejection ratio in institutional record + * @return the max RO rejection ratio in institutional record *************************************************************************/ -F32 getRORejectionRatioInInstitRecord( void ) +F32 getMaxRORejectionRatioInInstitRecord( void ) { - F32 roRejectionRatio = hdInstitutionalGroup.hdInstitutionalRecord.roRejectionRatio; + F32 maxRORejectionRatio = hdInstitutionalGroup.hdInstitutionalRecord.maxRORejectionRatio; - return roRejectionRatio; + return maxRORejectionRatio; } #endif #ifdef _DG_ @@ -3957,7 +3957,7 @@ hdInstitutionalGroup.hdInstitutionalRecord.minHeparinBolusVolumeML = getF32DefaultTreatmentParamEdge( TREATMENT_PARAM_HEPARIN_BOLUS_VOLUME, TRUE ); hdInstitutionalGroup.hdInstitutionalRecord.maxHeparinBolusVolumeML = getF32DefaultTreatmentParamEdge( TREATMENT_PARAM_HEPARIN_BOLUS_VOLUME, FALSE ); hdInstitutionalGroup.hdInstitutionalRecord.enableChemicalDisinfect = DEFAULT_ENABLE_CHEM_DISINFECT; - hdInstitutionalGroup.hdInstitutionalRecord.roRejectionRatio = DEFAULT_RO_REJECTION_RATIO; + hdInstitutionalGroup.hdInstitutionalRecord.maxRORejectionRatio = DEFAULT_MAX_RO_REJECTION_RATIO; hdInstitutionalGroup.hdInstitutionalRecord.calibrationTime = getRTCTimestamp(); hdInstitutionalGroup.hdInstitutionalRecord.crc = crc16 ( (U08*)&hdInstitutionalGroup.hdInstitutionalRecord, sizeof( HD_INSTITUTIONAL_RECORD_T ) - sizeof( U16 ) ); Index: NVDataMgmt.h =================================================================== diff -u -rb830d2d16006e08759ca5c67ed4e923d0edde3b8 -r83f19e4f9d82e6de13c838b48f217e0a77d2d522 --- NVDataMgmt.h (.../NVDataMgmt.h) (revision b830d2d16006e08759ca5c67ed4e923d0edde3b8) +++ NVDataMgmt.h (.../NVDataMgmt.h) (revision 83f19e4f9d82e6de13c838b48f217e0a77d2d522) @@ -148,7 +148,7 @@ BOOL setTxTimeHours( F32 hours ); BOOL setTxLastStartTimeEpoch( U32 epoch ); BOOL isChemDisinfectEnabledInInstitRecord( void ); -F32 getRORejectionRatioInInstitRecord( void ); +F32 getMaxRORejectionRatioInInstitRecord( void ); #endif BOOL setServiceTime( void ); Index: NVDataMgmtHDRecords.h =================================================================== diff -u -rb830d2d16006e08759ca5c67ed4e923d0edde3b8 -r83f19e4f9d82e6de13c838b48f217e0a77d2d522 --- NVDataMgmtHDRecords.h (.../NVDataMgmtHDRecords.h) (revision b830d2d16006e08759ca5c67ed4e923d0edde3b8) +++ NVDataMgmtHDRecords.h (.../NVDataMgmtHDRecords.h) (revision 83f19e4f9d82e6de13c838b48f217e0a77d2d522) @@ -294,7 +294,7 @@ F32 minHeparinBolusVolumeML; ///< Min heparin bolus volume in mL. F32 maxHeparinBolusVolumeML; ///< Max heparin bolus volume in mL. U32 enableChemicalDisinfect; ///< Enable/disable chemical disinfect. - F32 roRejectionRatio; ///< RO rejection ratio. + F32 maxRORejectionRatio; ///< Max RO rejection ratio. U32 calibrationTime; ///< Calibration time in epoch. U16 crc; ///< CRC of the institutional record. } HD_INSTITUTIONAL_RECORD_T;