The only free and comprehensive online etymological dictionary of the Spanish language
legrar (Verb) (med.) "to scrape the fibrous membrane of a bone;" "to scrape the lining of a uterus"
16th cent. From legra.