@SuppressWarnings("static-access") @Override protected void deselected(Patient pat) { ElexisEventDispatcher eed = ElexisEventDispatcher.getInstance(); Konsultation kons = (Konsultation) eed.getSelected(Konsultation.class); if (kons != null) { eed.fire(new ElexisEvent(null, Konsultation.class, ElexisEvent.EVENT_DESELECTED)); } }