An example of adaptation of behavior implemented in our work is the decomposition of services: access to the presentation service alarms to a doctor may depend on the level of risk. In the case of highly risky (e.g. Tachycardia…), the search service of alarms return the corresponding type of alarm which identifies this level of risk. However, in the case of a normal situation, this service returns other types of alarm identifying these case (level) .Some relevant results are stored in the memory of Smartphone to manage well the disconnection network possible. For that, a test periodically of connectivity realized for the connetion devices between wireless sensors and actors medical in order to evaluate the state of connections networks.