Observe_field

hi all,
i have used observe_field in my rhtml to select a hospital from a
dropdown.
how can i get the hospitals id in some other method with in a class.
if i use params(…) method it returns nil value.

guide me if anyone knows…