Hi Laurent, Please post this that http://bugsie.care2x.org so we can make it a BUG REPORT for the future.
Thanks for your help. Lopo Em Quinta, 6 de Janeiro de 2005 04:04, o [EMAIL PROTECTED] escreveu: | Send Care2002-developers mailing list submissions to | [email protected] | | To subscribe or unsubscribe via the World Wide Web, visit | https://lists.sourceforge.net/lists/listinfo/care2002-developers | or, via email, send a message with subject or body 'help' to | [EMAIL PROTECTED] | | You can reach the person managing the list at | [EMAIL PROTECTED] | | When replying, please edit your Subject line so it is more specific | than "Re: Contents of Care2002-developers digest..." | | | Today's Topics: | | 1. Laboratory: display results problem (Laurentiu Drob) | | --__--__-- | | Message: 1 | Date: Wed, 5 Jan 2005 04:51:12 -0800 (PST) | From: Laurentiu Drob <[EMAIL PROTECTED]> | To: [email protected] | Subject: [Care2002-developers] Laboratory: display results problem | Reply-To: [email protected] | | Hi all, | | System: | -Linux RH 9 | -Care2x-HIS 2nd Generation Deployment 2.1 | -PostgreSQL database | -PHP 4.3.4 | -Apache 2.0.51 | | Problem: | At Laboratories -> Display data -> (choose a patient) | The displayed value of the first test (amylase, in | this case) is not highlighted although the value is | out of range. Putting the following line in the code | shows that $tp array hasn't any value at the first | pass (is initialized later) | | ---------- code from | .../modules/laboratory/labor_datalist_noedit.php | -------- | | while(list($param,$pname)=each($param_group)){ | $cache.='param='.$param.',pname='.$pname.'; '; <<--- | added for debug | $flag=false; | $txt=''; | # Reset the array | reset($tdate); | while(list($jid,$xval)=each($tdate)){ | $txt.=' | <td class="j"> '; | $txt.='param='.$param.',pname='.$pname.',group_id='.$group_id.'; | tp[param][hi_bound]='.$tp[$param]['hi_bound'].', | records[jid][group_id][param]='.$records[$jid][$group_id][$param].'|| | '; <<--- added for debug | | if(!empty($records[$jid][$group_id][$param])) { | | | if($tp[$param]['hi_bound']&&$records[$jid][$group_id][$param]>$tp[$param][' |hi_bound']){ txt.='<img | '.createComIcon($root_path,'arrow_red_up_sm.gif','0','',TRUE).'> | <font | | color="red">'.htmlspecialchars($records[$jid][$group_id][$param]).'</font>' |; | | ------------------------------ | Any suggestions/ideas ? (Even " same configuration | works for me" is welcomed) | | And another thing. I made on horrible hack to print | the lab results: | I added a print button in | .../modules/laboratory/labor_datalist_noedit.php, than | I copied it in | .../modules/laboratory/labor_datalist_print.php and | modified in awfully way to adjust my needs. If anyone | interested I can send a patch to give this a better | approach. | | Many thanks for reading this. | | Best regards, | lwd. | | | | | | __________________________________ | Do you Yahoo!? | Yahoo! Mail - You care about security. So do we. | http://promotions.yahoo.com/new_mail | | | | --__--__-- | | _______________________________________________ | Care2002-developers mailing list | [email protected] | https://lists.sourceforge.net/lists/listinfo/care2002-developers | | | End of Care2002-developers Digest -- Care2x - Integrated Healthcare Environment http://www.care2x.org mailto:[EMAIL PROTECTED] Project Team Member Humaneasy Consulting Rua Jo�o Domingos Bomtempo, 17 Bloco 3, Edif�cio 2 - 3 D Qta Fonte da Prata (Norte) 2680-128 ALHOS VEDROS Portugal - EU M. (+351) 933 177 386 T. (+351) 212 801 250 http://www.humaneasy.com mailto:[EMAIL PROTECTED] ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Care2002-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/care2002-developers

