Make improvements and corrections of anomalies on an existing system in the field of health Important to know
In this context, Clinics are users. Ideally, like I explained, Users should be separated from Clinics as it is inevitable that Clinics will need multiple users. This was a bad assumption by the creators of this project. To achieve your desired result, you need to separate all Users fields to a separate entity (separate db table). You need to write a migration which will create all users based on the existing Clinics and then setup a one to many relationship
for the attachment file associate to the preparation, we should be able to associate the file to the current language. So I can add an french attachment file for french and a english attachment file for English. Right now, there is no language associate to the attachment file