private function getServiceInfo() { if (!($service_info = $this->getElement('Element_OphCoTherapyapplication_MrServiceInformation'))) { throw new Exception('MrServiceInformation element is missing'); } return $service_info; }