predetermined length of treatment