app/helpers/hcvs_helper.rb
#if monitoring is needed but not get it, return alert
if monitoring is needed but not get it, return alert
if monitoring is needed but not get it return alert
def determine_hcv_monitoring_alert(hcv, test_status)
    if(hcv.eqtests == nil || hcv.eqtests.length == 0)  
      if(test_status == TEST_STATUS_INFECTED )  
         return "You should start regular monitoring for liver cancer and liver damage!"
      end
    end
  end
def determine_hcv_monitoring_alert ( hcv , test_status ) if ( hcv . eqtests == nil || hcv . eqtests . length == 0 ) if ( test_status == TEST_STATUS_INFECTED ) return "You should start regular monitoring for liver cancer and liver damage!" end end end
if monitoring is needed but not get it, return alert
if monitoring is needed but not get it return alert
#no test done #need monitoring
hcv
<not_specific>
test_status
<not_specific>