a process is described for the preparation of compounds with the following formula where the groups are as defined below ; in particular , r 1 is a substituted amine ; said process includes essentially the reaction of pyrrolobenzothiazepin - 9 - one with amine r 1 h to give the corresponding enamine , which is subsequently transformed into the final compound .