REQUIREMENTS AND APPLICATIONS OF AUTOMATION IN HOSPITAL FUNCTIONS.