The European Parliament approved new EU rules to prevent medicine shortages and speed up access to treatments. The update replaces pharmaceutical laws that are over 20 years old.