PHP Класс OEModule\OphCoCvi\components\OphCoCvi_API

Наследование: extends BaseAPI
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$createOprn
$createOprnArgs

Защищенные свойства (Protected)

Свойство Тип Описание
$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