How Do You Afford Out Patient Rehab?

Close friend of mine is a drug addict, he can’t afford to take time off work and the money he makes goes towards bills. How can out patient rehab become affordable? Do they have payment plans? Sliding scale?
San Diego, California