Formal specification of wireless and pervasive healthcare applications | Synapse