scalia said medtronic did not infringe on eli lilly 's patent as long as the activities of the former firm were reasonably related to the development of information necessary to obtain federal approval for its device .