Exemplo n.º 1
0
        public void SubscribeToPatientAlerts(string locationId)
        {
            ICallbackNurseMonitoringService callbackChannel =
                OperationContext.Current.GetCallbackChannel <ICallbackNurseMonitoringService>();
            AlertMonitorList list = AlertMonitorList.Instance;

            list.Subscribe(locationId, callbackChannel.ReceiveAlerts);
        }
Exemplo n.º 2
0
        public void SubscribeToVitals(string patientId, string locationId)
        {
            ICallbackNurseMonitoringService callbackChannel =
                OperationContext.Current.GetCallbackChannel <ICallbackNurseMonitoringService>();
            VitalsMonitorList list = VitalsMonitorList.Instance;

            list.Subscribe(patientId, locationId, callbackChannel.ReceiveVitals);
        }