Patents allow drug makers to have a legal monopoly on new medications for 20 years.