app/helpers/hcvs_helper.rb
#if treatment is needed but not get it, return alert
if treatment is needed but not get it, return alert
if treatment is needed but not get it return alert
def determine_hcv_treatment_alert(eqcondition, test_status)
    if(eqcondition.eqtreatments.length == 0)  
      if(test_status == TEST_STATUS_INFECTED )  
         return "You should check if early treatment is needed now!"
      end
    end
  end
def determine_hcv_treatment_alert ( eqcondition , test_status ) if ( eqcondition . eqtreatments . length == 0 ) if ( test_status == TEST_STATUS_INFECTED ) return "You should check if early treatment is needed now!" end end end
if treatment is needed but not get it, return alert
if treatment is needed but not get it return alert
#no test done #need monitoring
eqcondition
<not_specific>
test_status
<not_specific>