PHP Класс OEModule\PatientTicketing\controllers\DefaultController

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

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

Свойство Тип Описание
$QUEUESETCATEGORY_SERVICE
$QUEUESET_SERVICE
$TICKET_SERVICE
$layout
$renderPatientPanel

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

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

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

Метод Описание
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 )

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

Метод Описание
beforeAction ( CAction $action ) : boolean Ensures firm is set on the controller.
buildTicketFilterCriteria ( $filter_options, PatientTicketing_QueueSet $queueset )

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

Метод Описание
autoSaveTicket ( $data )

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

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

Access rules for ticket actions.
public accessRules ( ) : array
Результат array

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Generate a list of current tickets.
public actionIndex ( )

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

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

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

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

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

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

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

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() публичный Метод

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

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

public actionUndoLastStep ( $id )

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

Ensures firm is set on the controller.
protected beforeAction ( CAction $action ) : boolean
$action CAction
Результат boolean

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

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

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

Check the current user is permissioned on the given queueset.
public checkQueueSetProcessAccess ( $queueset ) : mixed
$queueset
Результат mixed

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

List of print actions.
public printActions ( ) : array:
Результат array:

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

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

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

public validateForm ( $ticket_id )

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

$QUEUESETCATEGORY_SERVICE публичное статическое свойство

public static $QUEUESETCATEGORY_SERVICE

$QUEUESET_SERVICE публичное статическое свойство

public static $QUEUESET_SERVICE

$TICKET_SERVICE публичное статическое свойство

public static $TICKET_SERVICE

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

public $layout

$page_size защищенное свойство

protected $page_size

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

public $renderPatientPanel