A collaborative healthcare framework for shared healthcare plan with ambient intelligence | Synapse