ER-42 - Java API for bed assignment