Problem formulation and its relation to treatment planning