PHP Class PatientController

Inheritance: extends Controller
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Méthodes publiques

Свойство Type Description
$current_episode
$editable
$editing
$episode
$episodes
$event
$event_actions
$event_tabs
$event_type
$event_type_id
$firm
$layout
$patient
$renderPatientPanel
$title

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
beforeAction ( $action )
getEventTypeGrouping ( )
performAjaxValidation ( CModel $model ) Performs the AJAX validation.

Private Methods

Méthode Description
checkImportedBiometryEvent ( ) Check for new imported biometry event.
processFuzzyDate ( )

Method Details

accessRules() public méthode

public accessRules ( )

actionAddAllergy() public méthode

Add patient/allergy assignment.
public actionAddAllergy ( )

actionAddContact() public méthode

public actionAddContact ( )

actionAddFamilyHistory() public méthode

actionAddNewEpisode() public méthode

public actionAddNewEpisode ( )

actionAddPreviousOperation() public méthode

actionAddRisk() public méthode

Add patient/allergy assignment.
public actionAddRisk ( )

actionAdddiagnosis() public méthode

public actionAdddiagnosis ( )

actionAjaxSearch() public méthode

Ajax search.
public actionAjaxSearch ( )

actionAssociatecontact() public méthode

actionEditContact() public méthode

public actionEditContact ( )

actionEditOphInfo() public méthode

public actionEditOphInfo ( )

actionEditSocialHistory() public méthode

actionEpisode() public méthode

public actionEpisode ( $id )

actionEpisodes() public méthode

public actionEpisodes ( )

actionGenerateAllergySelect() public méthode

Generate the select to the frontend for the allergy selection.

actionGetContactLocation() public méthode

actionGetPreviousOperation() public méthode

actionHideepisode() public méthode

public actionHideepisode ( )

actionInstitutionSites() public méthode

actionPossiblecontacts() public méthode

actionRemoveAllergy() public méthode

Remove patient/allergy assignment.
public actionRemoveAllergy ( )

actionRemoveFamilyHistory() public méthode

actionRemovePreviousOperation() public méthode

actionRemoveRisk() public méthode

Remove patient/allergy assignment.
public actionRemoveRisk ( )

actionRemovediagnosis() public méthode

actionSearch() public méthode

public actionSearch ( )

actionSendSiteMessage() public méthode

actionShowepisode() public méthode

public actionShowepisode ( )

actionUnassociatecontact() public méthode

actionUpdateepisode() public méthode

public actionUpdateepisode ( $id )

actionValidateAddDiagnosis() public méthode

actionValidateEditContact() public méthode

actionValidateSaveContact() public méthode

actionVerifyAddNewEpisode() public méthode

actionView() public méthode

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

allergyList() public méthode

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

beforeAction() protected méthode

protected beforeAction ( $action )

behaviors() public méthode

public behaviors ( )

checkCreateAccess() public méthode

Check create access for the specified event type.
public checkCreateAccess ( Episode $episode, EventType $event_type ) : boolean
$episode Episode
$event_type EventType
Résultat boolean

getDefaultElements() public méthode

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
Résultat array

getEpisodes() public méthode

public getEpisodes ( )

getEventTypeGrouping() protected méthode

protected getEventTypeGrouping ( )

getOptionalElements() public méthode

Get the optional elements for the current module's event type This will be overriden by the module.
public getOptionalElements ( $action, $event = false ) : array
Résultat array

getSearch() public méthode

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
Résultat CDataProvider

getTemplateName() public méthode

public getTemplateName ( $action, $eventTypeId )

loadModel() public méthode

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() protected méthode

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

processJsVars() public méthode

public processJsVars ( )

reportDiagnoses() public méthode

public reportDiagnoses ( $params )

reportEarliestDate() public méthode

public reportEarliestDate ( $row )

riskList() public méthode

List of risks.
public riskList ( )

Property Details

$current_episode public_oe property

public $current_episode

$editable public_oe property

public $editable

$editing public_oe property

public $editing

$episode public_oe property

public $episode

$episodes public_oe property

public $episodes

$event public_oe property

public $event

$event_actions public_oe property

public $event_actions

$event_tabs public_oe property

public $event_tabs

$event_type public_oe property

public $event_type

$event_type_id public_oe property

public $event_type_id

$firm public_oe property

public $firm

$layout public_oe property

public $layout

$patient public_oe property

public $patient

$renderPatientPanel public_oe property

public $renderPatientPanel

$title public_oe property

public $title