Implementing Intellectual Property of Pharmaceuticals in Middle-Income Countries: A Case Study of Patent Regulation in Brazil.