OEModule\PatientTicketing\widgets\TicketAssignOutcome::extractFormData PHP Method

extractFormData() public method

Extract form data for storing in assignment table.
public extractFormData ( $form_data ) : array | void
$form_data
return array | void
    public function extractFormData($form_data)
    {
        $res = array();
        foreach (array('outcome', 'followup_quantity', 'followup_period', 'clinic_location') as $k) {
            $res[$k] = @$form_data[$k];
        }
        return $res;
    }