public function getDependentQueues(PatientTicketing_Queue $qr, $include_closing = true)
{
$queue = $this->readModel($qr->getId());
$res = array();
$d_ids = $queue->getDependentQueueIds();
$dependents = $include_closing ? $this->model->active()->findAllByPk($d_ids) : $this->model->active()->notClosing()->findAllByPk($d_ids);
return $dependents;
/*
foreach ($dependents as $dq) {
$res[] = $this->modelToResource($dq);
}
return $res;
*/
}