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
-------------------------------------------------------
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