European Union inks a groundbreaking deal to prevent medicine shortages and enhance local production capabilities.