PHP Class OEModule\PatientTicketing\widgets\TicketAssignOutcome

Inheritance: extends BaseTicketAssignment
Datei anzeigen Open project: openeyes/openeyes

Public Properties

Property Type Description
$form_data
$hideFollowUp

Public Methods

Method Description
extractFormData ( $form_data ) : array | void Extract form data for storing in assignment table.
formatData ( $data ) : string Stringify the provided data structure for this widget.
getAutoSaveData ( )
getOutcomeOptions ( )
getReportString ( $data ) : string | void Generate string from the widget captured data.
processAssignmentData ( $ticket, $data ) Set episode status for relevant choices in the outcome field.
run ( )
validate ( $form_data ) : array Perform form data validation.

Method Details

extractFormData() public method

Extract form data for storing in assignment table.
public extractFormData ( $form_data ) : array | void
$form_data
return array | void

formatData() public method

Stringify the provided data structure for this widget.
public formatData ( $data ) : string
$data
return string

getAutoSaveData() public method

public getAutoSaveData ( )

getOutcomeOptions() public method

public getOutcomeOptions ( )

getReportString() public method

Generate string from the widget captured data.
public getReportString ( $data ) : string | void
$data
return string | void

processAssignmentData() public method

Set episode status for relevant choices in the outcome field.
public processAssignmentData ( $ticket, $data )
$ticket
$data

run() public method

public run ( )

validate() public method

Perform form data validation.
public validate ( $form_data ) : array
$form_data
return array

Property Details

$form_data public_oe property

public $form_data

$hideFollowUp public_oe property

public $hideFollowUp