OEModule\OphCoCvi\models\Element_OphCoCvi_Demographics::getStructuredDataForPrint PHP Метод

getStructuredDataForPrint() публичный Метод

Return the element data
public getStructuredDataForPrint ( ) : array
Результат array
    public function getStructuredDataForPrint()
    {
        $data = array('patientName' => $this->title_surname, 'otherNames' => $this->other_names, 'patientDateOfBirth' => $this->date_of_birth, 'nhsNumber' => $this->nhs_number, 'gender' => $this->gender->name, 'patientAddress' => \Helper::lineLimit($this->address, 1), 'patientEmail' => $this->email, 'patientTel' => $this->telephone, 'gpName' => $this->gp_name, 'gpAddress' => \Helper::lineLimit($this->gp_address, 1), 'gpTel' => $this->gp_telephone, 'localAuthorityName' => $this->la_name, 'localAuthorityAddress' => \Helper::lineLimit($this->la_address, 1), 'localAuthorityTel' => $this->la_telephone);
        if ($group = $this->ethnic_group) {
            $data['ethnicGroup' . $group->code] = 'X';
        }
        $data['signatureName'] = $this->getCompleteName();
        $data['demographicSummaryTable'] = $this->generateStructuredSummaryTable();
        return $data;
    }