A system for electronic patient care includes a network, a facility gateway, a device gateway application and a medical device. The facility gateway is configured to provide a publish-subscribe service for an application. The device gateway application is configured for execution by the facility gateway. The device gateway is configured to communicate via the network by providing a web service. The medical device is in operative communication with the network. The medical device is configured to communicate with the device gateway using the web service.