Profile of the elderly assisted in a Legal Medical Department from 2017 to 2022: cross-sectional, retrospective and descriptive study