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 ) );