OphCoTherapyapplication_Processor::getTemplateData PHP Method

getTemplateData() private method

private getTemplateData ( ) : array
return array
    private function getTemplateData()
    {
        // at the moment we are using a fixed type of commissioning body, but it's possible that in the future this
        // might need to be determined in a more complex fashion, so we pass the type through to the templates
        $cbody_type = CommissioningBodyType::model()->findByPk(1);
        return array('event' => $this->event, 'patient' => $this->event->episode->patient, 'cbody_type' => $cbody_type, 'diagnosis' => $this->getElement('Element_OphCoTherapyapplication_Therapydiagnosis'), 'suitability' => $this->getElement('Element_OphCoTherapyapplication_PatientSuitability'), 'service_info' => $this->getElement('Element_OphCoTherapyapplication_MrServiceInformation'), 'exceptional' => $this->getElement('Element_OphCoTherapyapplication_ExceptionalCircumstances'));
    }