Discrete simulation applied to the improvement of patient flows in hospital institutions | Synapse