Method |
Description |
|
attributeLabels ( ) : array |
|
|
getDeviationReasonsForSide ( stringh $side ) : OphCoTherapyapplication_ExceptionalCircumstances_DeviationReason[] |
get the possible deviation reasons for the side (encapsulated to ensure we get any reasons that may
no longer be enabled). |
|
getFileCollectionValuesForSide ( $side ) |
Get ids of the file collections in use by the element for a given side. |
|
getStandardInterventionsForSide ( string $side ) : OphCoTherapyapplication_ExceptionalCircumstances_StandardIntervention[] |
get list of valid standard interventions for this element on the given side. |
|
getStartPeriodsForSide ( type $side ) : type |
get the valid stat periods for the given side. |
|
isRequiredInUI ( ) : boolean |
Is this a required element to be displayed in the UI?
This element is not required by default, but we still want to prevent
users from removing it in the UI. |
|
model ( $className = __CLASS__ ) : the |
Returns the static model of the specified AR class. |
|
needDeviationReasonForSide ( string $side ) : boolean |
Returns whether we need to the deviation reason to be populated for the given side. |
|
relations ( ) : array |
|
|
requiredIfPatientFactors ( string $attribute, array $params ) |
|
|
requiredIfStandardInterventionDoesNotExists ( $attribute, $params ) |
*
requirement validation if a standard intervention does not exist |
|
requiredIfStandardInterventionExists ( string $attribute, array $params ) |
check that the standard intervention description is given if the element is flagged appropriately. |
|
requiredIfStandardInterventionNotUsed ( string $attribute, array $params ) |
validates attribute if there is standard intervention and it is not being used. |
|
requiredIfUrgent ( string $attribute, array $params ) |
validation of an attribute if the $side start_period is flagged as urgent. |
|
rules ( ) : array |
|
|
search ( ) : CActiveDataProvider |
Retrieves a list of models based on the current search/filter conditions. |
|
sidedFields ( ) |
|
|
tableName ( ) : string |
|
|