ehrs controller