New drug law will affect terminally-ill patients