PHP 클래스 OEModule\OphCoCvi\components\OphCoCvi_API

상속: extends BaseAPI
파일 보기 프로젝트 열기: openeyes/openeyes

공개 프로퍼티들

프로퍼티 타입 설명
$createOprn
$createOprnArgs

보호된 프로퍼티들

프로퍼티 타입 설명
$cvi_manager OphCoCvi_Manager
$yii

공개 메소드들

메소드 설명
__construct ( CApplication $yii = null )
canUpdate ( $event_id ) : boolean
getEvents ( Patient $patient ) : Event[] Get all events regardless of episode.
getManager ( ) : OphCoCvi_Manager
getUniqueCodeForCviEvent ( $event )
hasCVI ( Patient $patient ) : boolean Checking if the patient has CVI
isVaBelowThreshold ( integer | array $va_base_value ) : boolean Checks whether the VA value(s) is below the threshold
patientSummaryRender ( Patient $patient ) : string Render a patient summary widget to display CVI status based on the eCVI event and the core static model.
renderAlertForVA ( Patient $patient, $element, $show_create = false ) : mixed

보호된 메소드들

메소드 설명
renderPartial ( $view, array $parameters = [] ) : mixed Convenience wrapper to allow template rendering.

메소드 상세

__construct() 공개 메소드

public __construct ( CApplication $yii = null )
$yii CApplication

canUpdate() 공개 메소드

public canUpdate ( $event_id ) : boolean
$event_id
리턴 boolean

getEvents() 공개 메소드

Get all events regardless of episode.
public getEvents ( Patient $patient ) : Event[]
$patient Patient
리턴 Event[]

getManager() 공개 메소드

public getManager ( ) : OphCoCvi_Manager
리턴 OphCoCvi_Manager

getUniqueCodeForCviEvent() 공개 메소드

public getUniqueCodeForCviEvent ( $event )
$event

hasCVI() 공개 메소드

Checking if the patient has CVI
public hasCVI ( Patient $patient ) : boolean
$patient Patient
리턴 boolean

isVaBelowThreshold() 공개 메소드

Checks whether the VA value(s) is below the threshold
public isVaBelowThreshold ( integer | array $va_base_value ) : boolean
$va_base_value integer | array
리턴 boolean true if value below the threshold

patientSummaryRender() 공개 메소드

Render a patient summary widget to display CVI status based on the eCVI event and the core static model.
public patientSummaryRender ( Patient $patient ) : string
$patient Patient
리턴 string

renderAlertForVA() 공개 메소드

public renderAlertForVA ( Patient $patient, $element, $show_create = false ) : mixed
$patient Patient
$element
$show_create - flag to indicate whether the create button should be shown
리턴 mixed

renderPartial() 보호된 메소드

Convenience wrapper to allow template rendering.
protected renderPartial ( $view, array $parameters = [] ) : mixed
$view
$parameters array
리턴 mixed

프로퍼티 상세

$createOprn 공개적으로 프로퍼티

public $createOprn

$createOprnArgs 공개적으로 프로퍼티

public $createOprnArgs

$cvi_manager 보호되어 있는 프로퍼티

protected OphCoCvi_Manager,OEModule\OphCoCvi\components $cvi_manager
리턴 OphCoCvi_Manager

$yii 보호되어 있는 프로퍼티

protected $yii