app/models/user.rb
def va_treatment_facility_ids
    facilities = vha_facility_ids
    facilities.select do |f|
      Settings.mhv.facility_range.any? { |range| f.to_i.between?(*range) } ||
        Settings.mhv.facility_specific.include?(f)
    end
  end
# User's profile contains a list of VHA facility-specific identifiers.
# Facilities in the defined range are treating facilities
User's profile contains a list of VHA facility-specific identifiers.
Facilities in the defined range are treating facilities
User ' s profile contains a list of VHA facility - specific identifiers . Facilities in the defined range are treating facilities
def va_treatment_facility_ids
    facilities = vha_facility_ids
    facilities.select do |f|
      Settings.mhv.facility_range.any? { |range| f.to_i.between?(*range) } ||
        Settings.mhv.facility_specific.include?(f)
    end
  end
def va_treatment_facility_ids facilities = vha_facility_ids facilities . select do | f | Settings . mhv . facility_range . any? { | range | f . to_i . between? ( * range ) } || Settings . mhv . facility_specific . include? ( f ) end end
User's profile contains a list of VHA facility-specific identifiers.
User ' s profile contains a list of VHA facility - specific identifiers .