Initial implementation of the automatic liberation of a bed when a discharge is finished
Some fixes over the communication with the beds system