PHP Class OEModule\OphCoCvi\models\Element_OphCoCvi_ClinicalInfo

The followings are the available columns in table:
Inheritance: extends BaseEventTypeElement
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Méthodes publiques

Свойство Type Description
$BLIND_STATUS
$NOT_BLIND_STATUS
$NULL_BOOLEAN

Méthodes publiques

Méthode Description
afterValidate ( )
attributeLabels ( ) : array
generateFieldOfVision ( ) : array To generate the low vision status array for the pdf
generateLowVisionStatus ( ) : array To generate the low vision status array for the pdf
getDisorderSectionComment ( $section ) : Element_OphCoCvi_ClinicalInfo_Disorder_Section_Comments
getDisplayConsideredBlind ( ) : string
getDisplayLightLevels ( ) : string
getDisplayStatus ( ) : string
getStructuredDataForPrint ( ) Returns an associative array of the data values for printing
getStructuredDisordersForSection ( OphCoCvi_ClinicalInfo_Disorder_Section $disorder_section, integer $header_rows ) : array
hasAffectedCviDisorderInSection ( OphCoCvi_ClinicalInfo_Disorder_Section $cvi_disorder_section ) : boolean
hasCviDisorderForSide ( OphCoCvi_ClinicalInfo_Disorder $cvi_disorder, string $side ) : boolean
isCviDisorderMainCauseForSide ( OphCoCvi_ClinicalInfo_Disorder $cvi_disorder, $side ) : mixed
isSigned ( ) : boolean
model ( $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.
tableName ( ) : string
updateDisorderSectionComments ( $data ) Set the section comments on the element.
updateDisorders ( $side, $data ) Update the CVI Disorder status for this element.

Méthodes protégées

Méthode Description
generateStructuredBlind ( ) : array
generateStructuredDisorderTable ( ) : array
generateStructuredVA ( ) : array
generateStructuredVisionTable ( ) : array
getAllDisordersForSection ( OphCoCvi_ClinicalInfo_Disorder_Section $section ) : mixed
getDecryptedSignature ( ) : mixed
getStructuredTextForDisorderSide ( OphCoCvi_ClinicalInfo_Disorder $disorder, $side )

Private Methods

Méthode Description
getAllDisordersFromAssignments ( ) : mixed
updateDisorderAssignment ( Element_OphCoCvi_ClinicalInfo_Disorder_Assignment $assignment, $data )

Method Details

afterValidate() public méthode

public afterValidate ( )

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array customized attribute labels (name=>label)

generateFieldOfVision() public méthode

To generate the low vision status array for the pdf
public generateFieldOfVision ( ) : array
Résultat array

generateLowVisionStatus() public méthode

To generate the low vision status array for the pdf
public generateLowVisionStatus ( ) : array
Résultat array

generateStructuredBlind() protected méthode

protected generateStructuredBlind ( ) : array
Résultat array

generateStructuredDisorderTable() protected méthode

protected generateStructuredDisorderTable ( ) : array
Résultat array

generateStructuredVA() protected méthode

protected generateStructuredVA ( ) : array
Résultat array

generateStructuredVisionTable() protected méthode

protected generateStructuredVisionTable ( ) : array
Résultat array

getAllDisordersForSection() protected méthode

protected getAllDisordersForSection ( OphCoCvi_ClinicalInfo_Disorder_Section $section ) : mixed
$section OphCoCvi_ClinicalInfo_Disorder_Section
Résultat mixed

getDecryptedSignature() protected méthode

protected getDecryptedSignature ( ) : mixed
Résultat mixed

getDisorderSectionComment() public méthode

public getDisorderSectionComment ( $section ) : Element_OphCoCvi_ClinicalInfo_Disorder_Section_Comments
$section
Résultat Element_OphCoCvi_ClinicalInfo_Disorder_Section_Comments

getDisplayConsideredBlind() public méthode

public getDisplayConsideredBlind ( ) : string
Résultat string

getDisplayLightLevels() public méthode

public getDisplayLightLevels ( ) : string
Résultat string

getDisplayStatus() public méthode

public getDisplayStatus ( ) : string
Résultat string

getStructuredDataForPrint() public méthode

Returns an associative array of the data values for printing

getStructuredDisordersForSection() public méthode

public getStructuredDisordersForSection ( OphCoCvi_ClinicalInfo_Disorder_Section $disorder_section, integer $header_rows ) : array
$disorder_section OphCoCvi_ClinicalInfo_Disorder_Section
$header_rows integer - number of empty rows to prepend data with
Résultat array

getStructuredTextForDisorderSide() protected méthode

protected getStructuredTextForDisorderSide ( OphCoCvi_ClinicalInfo_Disorder $disorder, $side )
$disorder OphCoCvi_ClinicalInfo_Disorder

hasAffectedCviDisorderInSection() public méthode

public hasAffectedCviDisorderInSection ( OphCoCvi_ClinicalInfo_Disorder_Section $cvi_disorder_section ) : boolean
$cvi_disorder_section OphCoCvi_ClinicalInfo_Disorder_Section
Résultat boolean

hasCviDisorderForSide() public méthode

public hasCviDisorderForSide ( OphCoCvi_ClinicalInfo_Disorder $cvi_disorder, string $side ) : boolean
$cvi_disorder OphCoCvi_ClinicalInfo_Disorder
$side string left or right
Résultat boolean

isCviDisorderMainCauseForSide() public méthode

public isCviDisorderMainCauseForSide ( OphCoCvi_ClinicalInfo_Disorder $cvi_disorder, $side ) : mixed
$cvi_disorder OphCoCvi_ClinicalInfo_Disorder
$side
Résultat mixed

isSigned() public méthode

public isSigned ( ) : boolean
Résultat boolean

model() public static méthode

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : the
Résultat the static model class

relations() public méthode

public relations ( ) : array
Résultat array relational rules.

rules() public méthode

public rules ( ) : array
Résultat array validation rules for model attributes.

tableName() public méthode

public tableName ( ) : string
Résultat string the associated database table name

updateDisorderSectionComments() public méthode

Set the section comments on the element.
public updateDisorderSectionComments ( $data )
$data

updateDisorders() public méthode

Update the CVI Disorder status for this element.
public updateDisorders ( $side, $data )
$side
$data

Property Details

$BLIND_STATUS public_oe static_oe property

public static $BLIND_STATUS

$NOT_BLIND_STATUS public_oe static_oe property

public static $NOT_BLIND_STATUS

$NULL_BOOLEAN public_oe static_oe property

public static $NULL_BOOLEAN