Class: ODDB::State::Hospitals::HospitalList

Inherits:
Global show all
Includes:
Interval
Defined in:
src/state/hospitals/hospitallist.rb

Direct Known Subclasses

HospitalResult

Constant Summary

DIRECT_EVENT =
:hospitallist
VIEW =
View::Hospitals::Hospitals
LIMITED =
true
RANGE_PATTERNS =
{
  'a-d'     =>  'a-dÅÆÄÁÂÀÃĄǍĂĀȦḂÇĈČĆĊḐĐÐĎḊåæäáâàãąǎăāȧḃçĉčćċḑđðďḋ',
  'e-h'     =>  'e-hËÉÊÈȨĘĚĔẼĒĖÞḞĢǦĞǴĜḠĠȞĤḦḨḢëéêèȩęěĕẽēėþḟģǧğǵĝḡġȟĥḧḩḣ',
  'i-l'     =>  'i-lÏÍÎÌĮǏĬĨİĴǨḰĶŁĹĽĻïíîìįǐĭĩıĵǩḱķłĺľļ',
  'm-p'     =>  'm-pḾṀŇŃÑǸŅṄŒÖÓÔÒÕŌŎØǪǑȮṔṖḿṁňńñǹņṅœöóôòõōŏøǫǒȯṕṗ',
  'q-t'     =>  'q-tŘŔŖṘŚŜŠŞṠŤŢṪřŕŗṙśŝšşṡťţṫ',
  'u-z'     =>  'u-zÜÚÛÙŲǗǓǙǛŨŬŮǕṼẂŴẀẄẆẌẊŸẎỸỲŶÝȲŽŹẐŻüúûùųǘǔǚǜũŭůǖṽẃŵẁẅẇẍẋÿẏỹỳŷýȳžźẑż',
  'unknown'=> 'unknown',
}

Constants included from Interval

FILTER_THRESHOLD, PERSISTENT_RANGE, RANGE_PATTERNS

Constants inherited from Global

EVENT_MAP, HOME_STATE, ZONE, ZONE_NAVIGATION

Constants inherited from Global

DIRECT_EVENT, GLOBAL_MAP, HOME_STATE, LIMITED, PRINT_STATES, READONLY_STATES, RESOLVE_STATES, REVERSE_MAP, VIEW, ZONE_NAVIGATION

Constants included from UmlautSort

FILTER_PAIRS

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods included from Interval

#default_interval, #filter_interval, #get_intervals, #interval, #intervals, #range_patterns, #user_range

Methods inherited from Global

#limit_state

Methods inherited from Global

#_search_drugs, #_search_drugs_state, #_trigger, #add_to_interaction_basket, #allowed?, #atc_chooser, #checkout, #clear_interaction_basket, #creditable?, #direct_request_path, #doctorlist, #download, #export_csv, #extend, #fachinfo, #feedbacks, #help_navigation, #home_navigation, #home_state, #hospitallist, #interaction_basket, #limit_state, #limited?, #logout, #navigation, #notify, #password_reset, #paypal_return, #powerlink, #print, #proceed_download, #proceed_poweruser, #resolve, #resolve_state, #rss, #search, #show, #snapback_event, #sort, #sponsorlink, #suggest_address, #switch, #unique_email, #user_input, #user_navigation, #ywesee_contact, #zone_navigation, #zones

Methods included from Admin::LoginMethods

#autologin, #login

Methods included from UmlautSort

#sort_model, #umlaut_filter

Instance Attribute Details

- (Object) range (readonly)

Returns the value of attribute range



17
18
19
# File 'src/state/hospitals/hospitallist.rb', line 17

def range
  @range
end

Instance Method Details

- (Object) init

REVERSE_MAP = ResultList::REVERSE_MAP



31
32
33
34
35
36
# File 'src/state/hospitals/hospitallist.rb', line 31

def init
  if(!@model.is_a?(Array) || @model.empty?)
    @default_view = View::Companies::EmptyResult
  end
  filter_interval
end

- (Object) symbol



37
38
39
# File 'src/state/hospitals/hospitallist.rb', line 37

def symbol
  :name
end