PHP Class OEModule\PatientTicketing\controllers\DefaultController

Inheritance: extends BaseModuleController
Afficher le fichier Open project: openeyes/openeyes

Méthodes publiques

Свойство Type Description
$QUEUESETCATEGORY_SERVICE
$QUEUESET_SERVICE
$TICKET_SERVICE
$layout
$renderPatientPanel

Protected Properties

Свойство Type Description
$page_size

Méthodes publiques

Méthode Description
accessRules ( ) : array Access rules for ticket actions.
actionCollapseTicket ( $ticket_id ) Set user to session to keep ticket collapsed.
actionExpandTicket ( $ticket_id ) Set user to session to keep ticket expanded.
actionGetFirmsForSubspecialty ( )
actionGetPatientAlert ( $patient_id ) Load the Patient Alert widget for the given patient.
actionGetQueueAssignmentForm ( $id ) Generates the form for assigning a Ticket to the given Queue.
actionGetTicketTableRow ( $id ) Generate individual row for the given Ticket id.
actionGetTicketTableRowHistory ( $id ) Generate history rows for the given Ticket id.
actionIndex ( ) Generate a list of current tickets.
actionMoveTicket ( $id ) Handles the moving of a ticket to a new Queue.
actionNavigateToEvent ( $id ) Handles the moving of a ticket to a new Queue.
actionReleaseTicket ( $id ) Release a ticket from assignment.
actionStartTicketProcess ( $ticket_id ) Action to mark the given ticket as being processed by the current user Redirects to the appropriate page for the user to process the patient.
actionTakeTicket ( $id ) Method to take ownership of a ticket for the current user.
actionUndoLastStep ( $id )
checkQueueSetProcessAccess ( $queueset ) : mixed Check the current user is permissioned on the given queueset.
printActions ( ) : array: List of print actions.
setTicketState ( $ticket, $expand, boolean $unique = false ) Abstraction of managing session tracking of expanded tickets.
validateForm ( $ticket_id )

Méthodes protégées

Méthode Description
beforeAction ( CAction $action ) : boolean Ensures firm is set on the controller.
buildTicketFilterCriteria ( $filter_options, PatientTicketing_QueueSet $queueset )

Private Methods

Méthode Description
autoSaveTicket ( $data )

Method Details

accessRules() public méthode

Access rules for ticket actions.
public accessRules ( ) : array
Résultat array

actionCollapseTicket() public méthode

Set user to session to keep ticket collapsed.
public actionCollapseTicket ( $ticket_id )
$ticket_id

actionExpandTicket() public méthode

Set user to session to keep ticket expanded.
public actionExpandTicket ( $ticket_id )
$ticket_id

actionGetFirmsForSubspecialty() public méthode

actionGetPatientAlert() public méthode

Load the Patient Alert widget for the given patient.
public actionGetPatientAlert ( $patient_id )
$patient_id

actionGetQueueAssignmentForm() public méthode

Generates the form for assigning a Ticket to the given Queue.
public actionGetQueueAssignmentForm ( $id )
$id

actionGetTicketTableRow() public méthode

Generate individual row for the given Ticket id.
public actionGetTicketTableRow ( $id )
$id

actionGetTicketTableRowHistory() public méthode

Generate history rows for the given Ticket id.
public actionGetTicketTableRowHistory ( $id )
$id

actionIndex() public méthode

Generate a list of current tickets.
public actionIndex ( )

actionMoveTicket() public méthode

Handles the moving of a ticket to a new Queue.
public actionMoveTicket ( $id )
$id

actionNavigateToEvent() public méthode

Handles the moving of a ticket to a new Queue.
public actionNavigateToEvent ( $id )
$id

actionReleaseTicket() public méthode

Release a ticket from assignment.
public actionReleaseTicket ( $id )
$id

actionStartTicketProcess() public méthode

Action to mark the given ticket as being processed by the current user Redirects to the appropriate page for the user to process the patient.
public actionStartTicketProcess ( $ticket_id )
$ticket_id

actionTakeTicket() public méthode

Method to take ownership of a ticket for the current user.
public actionTakeTicket ( $id )
$id

actionUndoLastStep() public méthode

public actionUndoLastStep ( $id )

beforeAction() protected méthode

Ensures firm is set on the controller.
protected beforeAction ( CAction $action ) : boolean
$action CAction
Résultat boolean

buildTicketFilterCriteria() protected méthode

protected buildTicketFilterCriteria ( $filter_options, PatientTicketing_QueueSet $queueset )
$queueset OEModule\PatientTicketing\services\PatientTicketing_QueueSet

checkQueueSetProcessAccess() public méthode

Check the current user is permissioned on the given queueset.
public checkQueueSetProcessAccess ( $queueset ) : mixed
$queueset
Résultat mixed

printActions() public méthode

List of print actions.
public printActions ( ) : array:
Résultat array:

setTicketState() public méthode

Abstraction of managing session tracking of expanded tickets.
public setTicketState ( $ticket, $expand, boolean $unique = false )
$ticket
$expand
$unique boolean

validateForm() public méthode

public validateForm ( $ticket_id )

Property Details

$QUEUESETCATEGORY_SERVICE public_oe static_oe property

public static $QUEUESETCATEGORY_SERVICE

$QUEUESET_SERVICE public_oe static_oe property

public static $QUEUESET_SERVICE

$TICKET_SERVICE public_oe static_oe property

public static $TICKET_SERVICE

$layout public_oe property

public $layout

$page_size protected_oe property

protected $page_size

$renderPatientPanel public_oe property

public $renderPatientPanel