An important feature of the intelligent environments is that they monitor user activities and help them in making decisions based on their progress in activities. Many such environments have been designed previously for healthcare management. However, more than often users are reluctant to consider the feedback from the environment alone. So we consider expert's recommendations and social network of the user as additional entities that form part of the intelligent environment. However, unlike traditional approaches, they influence the user indirectly through various persuasion techniques. The main idea is to change the behavior of the user for improving healthcare management. In this article we identify salient features of our framework for healthcare self-management in intelligent environments that combines ubiquitous and social computing as persuasion media. The framework enables social interactions between the patients, doctors, and other users in their online social community through a web portal as well as through their smart phones. Both user's behavior and preferences are taken into account to help them in adopting healthy behavior. This is done by using different persuasion strategies created on the basis of the user's behavior model. As a case study we consider diabetes self-management in this article.