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:
파일 보기
프로젝트 열기: openeyes/openeyes
공개 프로퍼티들
공개 메소드들
보호된 메소드들
메소드 |
설명 |
|
_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.
if a secondary diagnosis disorder id has been set, we need to ensure its created on the patient.
cleanUpSecondaryDiagnosis()
보호된 메소드
if this element is linked to a secondary diagnosis that still exists, it will be removed.
validator that requires the attribute only if the flag attribute on the element is true.
public flagRequired ( $attribute, $params ) |
$attribute |
|
|
$params |
|
|
getDiabetesTypes()
공개 메소드
Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : the |
$className |
string |
|
리턴 |
the |
static model class |
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. |
프로퍼티 상세
$secondarydiagnosis_disorder_required 공개적으로 프로퍼티
public $secondarydiagnosis_disorder_required |