Modernisation bill would require GPs and hospitals in England to share data, reducing errors and duplication