Bill to give the terminally ill rights to range of quality care