Maintaining security in an ontology driven multi-agent system for electronic health records | Synapse