PHP 클래스 OEModule\PatientTicketing\services\PatientTicketing_QueueSetService

상속: extends Services\ModelService
파일 보기 프로젝트 열기: openeyes/openeyes

공개 프로퍼티들

프로퍼티 타입 설명
$QUEUESETCATEGORY_SERVICE
$QUEUE_SERVICE

보호된 프로퍼티들

프로퍼티 타입 설명
$operations
$primary_model

공개 메소드들

메소드 설명
canAddPatientToQueueSet ( Patient $patient, $queueset_id ) : boolean Returns true if current rules allow the patient to be added to the given queueset.
getQueueSetForQueue ( integer $queue_id ) : PatientTicketing_QueueSet
getQueueSetForTicket ( $ticket_id ) : PatientTicketing_QueueSet
getQueueSetQueues ( PatientTicketing_QueueSet $qsr, boolean $include_closing = true ) : Queue[]
getQueueSetRoles ( ) : array Returns the roles configured to allow processing of queue sets.
getQueueSetsForCategory ( PatientTicketing_QueueSetCategory $qscr ) : array Get all the queue set resources that are part of the given category.
getQueueSetsForFirm ( Firm $firm = null ) : array
isQueueSetPermissionedForUser ( PatientTicketing_QueueSet $qsr, $user_id ) : boolean
modelToResource ( OEModule\PatientTicketing\models\QueueSet $queueset ) : resource Pass through wrapper to generate QueueSet Resource.
search ( array $params )
setPermisssionedUsers ( integer $queueset_id, $user_ids, $role = null )

메소드 상세

canAddPatientToQueueSet() 공개 메소드

Returns true if current rules allow the patient to be added to the given queueset.
public canAddPatientToQueueSet ( Patient $patient, $queueset_id ) : boolean
$patient Patient
$queueset_id
리턴 boolean

getQueueSetForQueue() 공개 메소드

public getQueueSetForQueue ( integer $queue_id ) : PatientTicketing_QueueSet
$queue_id integer
리턴 PatientTicketing_QueueSet

getQueueSetForTicket() 공개 메소드

public getQueueSetForTicket ( $ticket_id ) : PatientTicketing_QueueSet
$ticket_id
리턴 PatientTicketing_QueueSet

getQueueSetQueues() 공개 메소드

public getQueueSetQueues ( PatientTicketing_QueueSet $qsr, boolean $include_closing = true ) : Queue[]
$qsr PatientTicketing_QueueSet
$include_closing boolean
리턴 OEModule\PatientTicketing\models\Queue[]

getQueueSetRoles() 공개 메소드

Returns the roles configured to allow processing of queue sets.
public getQueueSetRoles ( ) : array
리턴 array

getQueueSetsForCategory() 공개 메소드

Get all the queue set resources that are part of the given category.
public getQueueSetsForCategory ( PatientTicketing_QueueSetCategory $qscr ) : array
$qscr PatientTicketing_QueueSetCategory
리턴 array

getQueueSetsForFirm() 공개 메소드

public getQueueSetsForFirm ( Firm $firm = null ) : array
$firm Firm
리턴 array

isQueueSetPermissionedForUser() 공개 메소드

public isQueueSetPermissionedForUser ( PatientTicketing_QueueSet $qsr, $user_id ) : boolean
$qsr PatientTicketing_QueueSet
$user_id
리턴 boolean

modelToResource() 공개 메소드

Pass through wrapper to generate QueueSet Resource.
public modelToResource ( OEModule\PatientTicketing\models\QueueSet $queueset ) : resource
$queueset OEModule\PatientTicketing\models\QueueSet
리턴 resource

setPermisssionedUsers() 공개 메소드

public setPermisssionedUsers ( integer $queueset_id, $user_ids, $role = null )
$queueset_id integer

프로퍼티 상세

$QUEUESETCATEGORY_SERVICE 공개적으로 정적으로 프로퍼티

public static $QUEUESETCATEGORY_SERVICE

$QUEUE_SERVICE 공개적으로 정적으로 프로퍼티

public static $QUEUE_SERVICE

$operations 보호되어 있는 정적으로 프로퍼티

protected static $operations

$primary_model 보호되어 있는 정적으로 프로퍼티

protected static $primary_model