Esempio n. 1
0
 function getVitalsGraphValues()
 {
     // TODO - this data should probably be cached somewhere so a call to MDWS isn't made every time...
     $soapResult = $this->m_oContext->getMdwsClient()->makeQuery("getVitalSigns", NULL);
     $max_dates = 20;
     $result = MdwsUtils::convertSoapVitalsToGraph(array("Temperature", "Pulse"), $soapResult, $max_dates);
     if (!is_array($result)) {
         $result = array();
     }
     return $result;
 }