Пример #1
0
 function __construct($oContext)
 {
     $this->m_aResultCache = array();
     $this->m_oContext = $oContext;
     $this->m_oRuntimeResultCache = \raptor\RuntimeResultCache::getInstance($this->m_oContext, 'ProtocolSupportingData');
     $wl = new WorklistData($this->m_oContext);
     $this->m_aDashboardMap = $wl->getDashboardMap();
     // getWorklistForProtocolSupport();
     $this->m_aPatientInfo = $wl->getPatient($this->m_aDashboardMap["PatientID"]);
     if ($this->m_aPatientInfo == NULL) {
         $msg = 'Did NOT get patient data in constructor of ProtocolSupport for context=' . $oContext . '<br>orders=' . print_r($this->m_aDashboardMap, TRUE) . '<br>Stack trace...<br>' . Context::debugGetCallerInfo(5);
         error_log($msg);
         throw new \Exception($msg);
     }
 }
Пример #2
0
 function __construct($oContext)
 {
     $this->m_oContext = $oContext;
     $this->m_oRuntimeResultCache = \raptor\RuntimeResultCache::getInstance($this->m_oContext, 'WorklistData');
 }