PHP Класс OEModule\OphCiExamination\models\Element_OphCiExamination_DRGrading
NOTE that this element provides the facility to set a patient secondary diagnosis for the diabetic type. To enable
support for deleting it, we record the id of the SecondaryDiagnosis it creates, as well as the type. A foreign key
constraint is not enforced to allow the SecondaryDiagnosis to be deleted as normal through the Patient view.
The followings are the available columns in table:
Показать файл
Открыть проект
Открытые свойства
Открытые методы
Защищенные методы
Метод |
Описание |
|
_getSecondaryDiagnosis ( ) : SecondaryDiagnosis | null |
Because the secondary diagnosis may or may not exist we have a function to check for it. |
|
cleanUpSecondaryDiagnosis ( ) |
if this element is linked to a secondary diagnosis that still exists, it will be removed. |
|
Описание методов
_getSecondaryDiagnosis()
защищенный Метод
Because the secondary diagnosis may or may not exist we have a function to check for it.
attributeLabels()
публичный Метод
beforeSave()
публичный Метод
if a secondary diagnosis disorder id has been set, we need to ensure its created on the patient.
canCopy()
публичный Метод
cleanUpSecondaryDiagnosis()
защищенный Метод
if this element is linked to a secondary diagnosis that still exists, it will be removed.
flagRequired()
публичный Метод
validator that requires the attribute only if the flag attribute on the element is true.
public flagRequired ( $attribute, $params ) |
$attribute |
|
|
$params |
|
|
getDiabetesTypes()
публичный Метод
model()
публичный статический Метод
Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : the |
$className |
string |
|
Результат |
the |
static model class |
relations()
публичный Метод
public rules ( ) : array |
Результат |
array |
validation rules for model attributes. |
Retrieves a list of models based on the current search/filter conditions.
public search ( ) : CActiveDataProvider |
Результат |
CActiveDataProvider |
the data provider that can return the models based on the search/filter conditions. |
sidedFields()
публичный Метод
softDelete()
публичный Метод
tableName()
публичный Метод
Описание свойств
$secondarydiagnosis_disorder_required публичное свойство
public $secondarydiagnosis_disorder_required |
$service публичное свойство