http://dre.pt/pdf1sdip/2012/07/12600/0334003364.pdf