To measure the effect of medical marijuana programs, the researchers examined prescriptions filled in the Medicare Part D program in the 17 states plus the District of Columbia that had legalized medicinal cannabis through 2013, compared with those that had not. They analyzed prescriptions for hundreds of drugs that can be used to treat nine conditions for which there is some evidence of benefit from marijuana. More than one condition may be present in some diseases, such as HIV.