PHP Class OEModule\OphCiExamination\models\Element_OphCiExamination_ClinicOutcome

The followings are the available columns in table:
Inheritance: extends BaseEventTypeElement
Show file Open project: openeyes/openeyes Class Usage Examples

Public Methods

Method Description
afterSave ( )
attributeLabels ( ) : array
getFollowUp ( )
getFollowUpQuantityOptions ( )
getLetter_fup ( ) : string Returns the follow up period information.
getPatientTicket ( ) : mixed If the PatientTicketing module is installed, will use API to get Patient Ticket for this element event (if one exists).
getPatientTicketQueues ( $firm, $patient ) : array Will determine the queue options for the given firm.
model ( $className = __CLASS__ ) : Element_OphCiExamination_ClinicOutcome Returns the static model of the specified AR class.
relations ( ) : array
roleDependencyValidation ( $attribute ) Role comments are only required if role flags it.
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
statusDependencyValidation ( $attribute ) Follow up data is only required for status that are flagged for follow up.
tableName ( ) : string

Method Details

afterSave() public method

public afterSave ( )

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)

getFollowUp() public method

public getFollowUp ( )

getFollowUpQuantityOptions() public method

getLetter_fup() public method

Returns the follow up period information.
public getLetter_fup ( ) : string
return string

getPatientTicket() public method

If the PatientTicketing module is installed, will use API to get Patient Ticket for this element event (if one exists).
public getPatientTicket ( ) : mixed
return mixed

getPatientTicketQueues() public method

Will determine the queue options for the given firm.
public getPatientTicketQueues ( $firm, $patient ) : array
$firm
return array

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : Element_OphCiExamination_ClinicOutcome
return Element_OphCiExamination_ClinicOutcome the static model class

relations() public method

public relations ( ) : array
return array relational rules.

roleDependencyValidation() public method

Role comments are only required if role flags it.
public roleDependencyValidation ( $attribute )

rules() public method

public rules ( ) : array
return array validation rules for model attributes.

statusDependencyValidation() public method

Follow up data is only required for status that are flagged for follow up.
public statusDependencyValidation ( $attribute )

tableName() public method

public tableName ( ) : string
return string the associated database table name