A mattress apparatus is provided for use on a bed frame having at least one siderail movable from an up position to a down position. The apparatus includes a support surface, an electrical controller configured to control the support surface, and a siderail down sensor configured to be coupled to one...http://www.google.ca/patents/US6021533?utm_source=gb-gplus-sharePatent US6021533 - Mattress apparatus having a siderail down sensor