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:
상속: extends SplitEventTypeElement
파일 보기 프로젝트 열기: openeyes/openeyes

공개 프로퍼티들

프로퍼티 타입 설명
$secondarydiagnosis_disorder_required
$service

공개 메소드들

메소드 설명
attributeLabels ( ) : array
beforeSave ( ) if a secondary diagnosis disorder id has been set, we need to ensure its created on the patient.
canCopy ( )
delete ( ) : boolean
flagRequired ( $attribute, $params ) validator that requires the attribute only if the flag attribute on the element is true.
getDiabetesTypes ( )
model ( string $className = __CLASS__ ) : the Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
sidedFields ( ) : array
softDelete ( ) (non-phpdoc).
tableName ( ) : string

보호된 메소드들

메소드 설명
_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.
protected _getSecondaryDiagnosis ( ) : SecondaryDiagnosis | null
리턴 SecondaryDiagnosis | null

attributeLabels() 공개 메소드

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

beforeSave() 공개 메소드

if a secondary diagnosis disorder id has been set, we need to ensure its created on the patient.
또한 보기: parent::beforeSave()
public beforeSave ( )

canCopy() 공개 메소드

public canCopy ( )

cleanUpSecondaryDiagnosis() 보호된 메소드

if this element is linked to a secondary diagnosis that still exists, it will be removed.

delete() 공개 메소드

또한 보기: cleanUpSecondaryDiagnosis()
또한 보기: parent::delete()
public delete ( ) : boolean
리턴 boolean

flagRequired() 공개 메소드

validator that requires the attribute only if the flag attribute on the element is true.
public flagRequired ( $attribute, $params )
$attribute
$params

getDiabetesTypes() 공개 메소드

public 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 relations ( ) : array
리턴 array relational rules.

rules() 공개 메소드

public rules ( ) : array
리턴 array validation rules for model attributes.

sidedFields() 공개 메소드

또한 보기: parent::sidedFields()
public sidedFields ( ) : array
리턴 array (non-phpdoc)

softDelete() 공개 메소드

(non-phpdoc).
또한 보기: cleanUpSecondaryDiagnosis()
또한 보기: parent::softDelete()
public softDelete ( )

tableName() 공개 메소드

public tableName ( ) : string
리턴 string the associated database table name

프로퍼티 상세

$secondarydiagnosis_disorder_required 공개적으로 프로퍼티

public $secondarydiagnosis_disorder_required

$service 공개적으로 프로퍼티

public $service