The proposals would restrict assisted dying in Scotland to people with six months or less left to live.