The factors that prevent prescription substitution are:
The prescription states DAW.
The brand name drug is available.
There are no appropriate "A" code drugs.
The drug company prefers to sell the brand-name drug.
The patient wanting to save money is not a factor that prevents prescription substitution, as it is actually a reason for wanting substitution to occur.