PHP Класс PatientController

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

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

Свойство Тип Описание
$current_episode
$editable
$editing
$episode
$episodes
$event
$event_actions
$event_tabs
$event_type
$event_type_id
$firm
$layout
$patient
$renderPatientPanel
$title

Открытые методы

Метод Описание
accessRules ( )
actionAddAllergy ( ) Add patient/allergy assignment.
actionAddContact ( )
actionAddFamilyHistory ( )
actionAddNewEpisode ( )
actionAddPreviousOperation ( )
actionAddRisk ( ) Add patient/allergy assignment.
actionAdddiagnosis ( )
actionAjaxSearch ( ) Ajax search.
actionAssociatecontact ( )
actionEditContact ( )
actionEditOphInfo ( )
actionEditSocialHistory ( )
actionEpisode ( $id )
actionEpisodes ( )
actionGenerateAllergySelect ( ) Generate the select to the frontend for the allergy selection.
actionGetContactLocation ( )
actionGetPreviousOperation ( )
actionHideepisode ( )
actionInstitutionSites ( )
actionPossiblecontacts ( )
actionRemoveAllergy ( ) Remove patient/allergy assignment.
actionRemoveFamilyHistory ( )
actionRemovePreviousOperation ( )
actionRemoveRisk ( ) Remove patient/allergy assignment.
actionRemovediagnosis ( )
actionSearch ( )
actionSendSiteMessage ( )
actionShowepisode ( )
actionUnassociatecontact ( )
actionUpdateepisode ( $id )
actionValidateAddDiagnosis ( )
actionValidateEditContact ( )
actionValidateSaveContact ( )
actionVerifyAddNewEpisode ( )
actionView ( integer $id ) Displays a particular model.
allergyList ( ) List of allergies - changed to a wrap function to be able to use a common function from the model.
behaviors ( )
checkCreateAccess ( Episode $episode, EventType $event_type ) : boolean Check create access for the specified event type.
getDefaultElements ( $action, $event_type_id = false, $event = false ) : array Get all the elements for a the current module's event type.
getEpisodes ( )
getOptionalElements ( $action, $event = false ) : array Get the optional elements for the current module's event type This will be overriden by the module.
getSearch ( array $data ) : CDataProvider Perform a search on a model and return the results (separate function for unit testing).
getTemplateName ( $action, $eventTypeId )
loadModel ( integer $id ) Returns the data model based on the primary key given in the GET variable.
processJsVars ( )
reportDiagnoses ( $params )
reportEarliestDate ( $row )
riskList ( ) List of risks.

Защищенные методы

Метод Описание
beforeAction ( $action )
getEventTypeGrouping ( )
performAjaxValidation ( CModel $model ) Performs the AJAX validation.

Приватные методы

Метод Описание
checkImportedBiometryEvent ( ) Check for new imported biometry event.
processFuzzyDate ( )

Описание методов

accessRules() публичный Метод

public accessRules ( )

actionAddAllergy() публичный Метод

Add patient/allergy assignment.
public actionAddAllergy ( )

actionAddContact() публичный Метод

public actionAddContact ( )

actionAddFamilyHistory() публичный Метод

actionAddNewEpisode() публичный Метод

public actionAddNewEpisode ( )

actionAddPreviousOperation() публичный Метод

actionAddRisk() публичный Метод

Add patient/allergy assignment.
public actionAddRisk ( )

actionAdddiagnosis() публичный Метод

public actionAdddiagnosis ( )

actionAjaxSearch() публичный Метод

Ajax search.
public actionAjaxSearch ( )

actionAssociatecontact() публичный Метод

actionEditContact() публичный Метод

public actionEditContact ( )

actionEditOphInfo() публичный Метод

public actionEditOphInfo ( )

actionEditSocialHistory() публичный Метод

actionEpisode() публичный Метод

public actionEpisode ( $id )

actionEpisodes() публичный Метод

public actionEpisodes ( )

actionGenerateAllergySelect() публичный Метод

Generate the select to the frontend for the allergy selection.

actionGetContactLocation() публичный Метод

actionGetPreviousOperation() публичный Метод

actionHideepisode() публичный Метод

public actionHideepisode ( )

actionInstitutionSites() публичный Метод

actionPossiblecontacts() публичный Метод

actionRemoveAllergy() публичный Метод

Remove patient/allergy assignment.
public actionRemoveAllergy ( )

actionRemoveFamilyHistory() публичный Метод

actionRemovePreviousOperation() публичный Метод

actionRemoveRisk() публичный Метод

Remove patient/allergy assignment.
public actionRemoveRisk ( )

actionRemovediagnosis() публичный Метод

actionSearch() публичный Метод

public actionSearch ( )

actionSendSiteMessage() публичный Метод

actionShowepisode() публичный Метод

public actionShowepisode ( )

actionUnassociatecontact() публичный Метод

actionUpdateepisode() публичный Метод

public actionUpdateepisode ( $id )

actionValidateAddDiagnosis() публичный Метод

actionValidateEditContact() публичный Метод

actionValidateSaveContact() публичный Метод

actionVerifyAddNewEpisode() публичный Метод

actionView() публичный Метод

Displays a particular model.
public actionView ( integer $id )
$id integer the ID of the model to be displayed

allergyList() публичный Метод

List of allergies - changed to a wrap function to be able to use a common function from the model.
public allergyList ( )

beforeAction() защищенный Метод

protected beforeAction ( $action )

behaviors() публичный Метод

public behaviors ( )

checkCreateAccess() публичный Метод

Check create access for the specified event type.
public checkCreateAccess ( Episode $episode, EventType $event_type ) : boolean
$episode Episode
$event_type EventType
Результат boolean

getDefaultElements() публичный Метод

Get all the elements for a the current module's event type.
public getDefaultElements ( $action, $event_type_id = false, $event = false ) : array
$event_type_id
Результат array

getEpisodes() публичный Метод

public getEpisodes ( )

getEventTypeGrouping() защищенный Метод

protected getEventTypeGrouping ( )

getOptionalElements() публичный Метод

Get the optional elements for the current module's event type This will be overriden by the module.
public getOptionalElements ( $action, $event = false ) : array
Результат array

getSearch() публичный Метод

Perform a search on a model and return the results (separate function for unit testing).
public getSearch ( array $data ) : CDataProvider
$data array form data of search terms
Результат CDataProvider

getTemplateName() публичный Метод

public getTemplateName ( $action, $eventTypeId )

loadModel() публичный Метод

If the data model is not found, an HTTP exception will be raised.
public loadModel ( integer $id )
$id integer the ID of the model to be loaded

performAjaxValidation() защищенный Метод

Performs the AJAX validation.
protected performAjaxValidation ( CModel $model )
$model CModel the model to be validated

processJsVars() публичный Метод

public processJsVars ( )

reportDiagnoses() публичный Метод

public reportDiagnoses ( $params )

reportEarliestDate() публичный Метод

public reportEarliestDate ( $row )

riskList() публичный Метод

List of risks.
public riskList ( )

Описание свойств

$current_episode публичное свойство

public $current_episode

$editable публичное свойство

public $editable

$editing публичное свойство

public $editing

$episode публичное свойство

public $episode

$episodes публичное свойство

public $episodes

$event публичное свойство

public $event

$event_actions публичное свойство

public $event_actions

$event_tabs публичное свойство

public $event_tabs

$event_type публичное свойство

public $event_type

$event_type_id публичное свойство

public $event_type_id

$firm публичное свойство

public $firm

$layout публичное свойство

public $layout

$patient публичное свойство

public $patient

$renderPatientPanel публичное свойство

public $renderPatientPanel

$title публичное свойство

public $title