public void SubscribeToPatientAlerts(string locationId) { ICallbackNurseMonitoringService callbackChannel = OperationContext.Current.GetCallbackChannel <ICallbackNurseMonitoringService>(); AlertMonitorList list = AlertMonitorList.Instance; list.Subscribe(locationId, callbackChannel.ReceiveAlerts); }
public void SubscribeToVitals(string patientId, string locationId) { ICallbackNurseMonitoringService callbackChannel = OperationContext.Current.GetCallbackChannel <ICallbackNurseMonitoringService>(); VitalsMonitorList list = VitalsMonitorList.Instance; list.Subscribe(patientId, locationId, callbackChannel.ReceiveVitals); }