OEModule\OphCoCvi\models\Element_OphCoCvi_ConsentSignature::getStructuredDataForPrint PHP Method

getStructuredDataForPrint() public method

Returns an associative array of the data values for printing
    public function getStructuredDataForPrint()
    {
        $result = array();
        $result['patientOrRepresentative'] = array(array($this->is_patient ? 'X' : '', ''), array($this->is_patient ? '' : 'X', ''));
        $result['signatureDate'] = \Helper::convertMySQL2NHS($this->signature_date);
        $result['representativeName'] = $this->is_patient ? '' : $this->representative_name;
        return $result;
    }