Mathematical analysis of agent swarm behavior in an agent-based electronic health record system | IEEE Conference Publication | IEEE Xplore