By integrating elements of the working environment in the structures and processes of medical rehabilitation , vocational problems can be identified early in order to take appropriate countermeasures .