PHP 클래스 PatientController

상속: extends Controller
파일 보기 프로젝트 열기: openeyes/openeyes 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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