Parliament opens the door to safer medical devices