You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
307 lines
13 KiB
307 lines
13 KiB
3 months ago
|
LODOP.SET_PRINT_PAGESIZE(1,"","","A4");
|
||
|
var rheaderHeightpy;
|
||
|
var rfooterHeightpy;
|
||
|
var pagewidth=21;
|
||
|
var pageheight=29.7;
|
||
|
var leftmargin=0.2;
|
||
|
var rightmargin=0.2;
|
||
|
var topmargin=0.25;
|
||
|
var bottommargin=12.35;
|
||
|
var top;
|
||
|
var left;
|
||
|
var width;
|
||
|
var height;
|
||
|
var top2;
|
||
|
var left2;
|
||
|
var heightpy=parseInt(4.39208)-parseInt(topmargin);
|
||
|
|
||
|
top = parseFloat(1.2)+"cm";
|
||
|
left = parseFloat(0.2)+"cm";
|
||
|
width = 6.0019+"cm";
|
||
|
height = 0.478958+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$hjxh@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","11.500000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
|
||
|
top = parseFloat(1.2)+"cm";
|
||
|
left = parseFloat(0)+parseFloat(0)+"cm";
|
||
|
width = 21+"cm";
|
||
|
height = 0.978958+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$bgbt@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
||
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",2);
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","15.750000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(1)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(17.409)+"cm";
|
||
|
width = 3.38667+"cm";
|
||
|
height = 0.79375+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","14.250000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(2.0)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(6.58542)+"cm";
|
||
|
width = 14.7902+"cm";
|
||
|
height = 0.00003+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(2.0)+"cm";
|
||
|
left = parseFloat(0.5)+"cm";
|
||
|
width = 1.78896+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"姓 名:");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
|
||
|
top = parseFloat(2.0)+"cm";
|
||
|
left = parseFloat(1.7)+"cm";
|
||
|
width = 4.78896+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$xm@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","11.500000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
|
||
|
top = parseFloat(2.479)+"cm";
|
||
|
left = parseFloat(0.5)+"cm";
|
||
|
width = 5.79438+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"病历号:$blh@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
|
||
|
|
||
|
top = parseFloat(2.89833)+"cm";
|
||
|
left = parseFloat(0.5)+"cm";
|
||
|
width = 5.79438+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"条码号:$tmh@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
|
||
|
|
||
|
top = parseFloat(2.0)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(7.01146)+"cm";
|
||
|
width = 1.85063+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"性 别:");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
|
||
|
top = parseFloat(2.0)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(8.51146)+"cm";
|
||
|
width = 3.00063+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$xb@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","11.500000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
|
||
|
top = parseFloat(2.479)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(7.01146)+"cm";
|
||
|
width = 5.00063+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"送检科室:$sjks@num@@jzks$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(2.89833)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(7.01146)+"cm";
|
||
|
width = 7.00063+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"床 号:$ch@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(2.0)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(13.0942)+"cm";
|
||
|
width = 5.3975+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"病人年龄:$brnl@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(2.479)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(13.0942)+"cm";
|
||
|
width = 5.3975+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"样 本 号:$ybh@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(2.89833)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(13.0942)+"cm";
|
||
|
width = 8.0975+"cm";
|
||
|
height = 0.408542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"临床诊断:$lczd@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
|
||
|
|
||
|
|
||
|
top = parseFloat(3.24833)+"cm";
|
||
|
left = parseFloat(0.5)+"cm";
|
||
|
width = 5.79438+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"备 注:$remark@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
|
||
|
var gridcontent1 = "<TABLE border=0 cellSpacing=0 cellPadding=0 width='100%' style='border-collapse:collapse;font-size:14px;bordercolor='#333333'>
|
||
|
<thead>
|
||
|
|
||
|
<TR height='2' style='border-top:1'>
|
||
|
<TD vAlign=top width='100%' colSpan=10 style='border-top:1 solid #000000;font-size:13px;font-weight:bold;' ></TD></TR>
|
||
|
<TR height='25' style='font-size:13px;font-weight:bold;'>
|
||
|
<TD colspan='5' style=';border-right:1px solid #000000; border-bottom:1px solid #000000;' align=center><b>尿沉渣结果</b></TD>
|
||
|
<TD colspan='5' style=';border-bottom:1px solid #000000;' align=center><b>尿干化学结果</b></TD>
|
||
|
</TR>
|
||
|
<TR height='25' style='font-size:13px;font-weight:bold;'><TD style=';solid #000000;' width='8%' align=left><b> 代号</b></TD>
|
||
|
<TD style='; solid #000000;' width='20%'><DIV align=lfte><b>检验项目名称</b></DIV></TD>
|
||
|
<TD style=';solid #000000;'width='6%'>
|
||
|
<DIV align=left><b>结果</b></DIV></TD><TD style=';solid #000000;' width='9%' align=left><b>参考范围</b></TD>
|
||
|
<TD style=';border-right:1 solid #000000;;' width='6%'><DIV align=left><b>单位</b></DIV></TD>
|
||
|
<TD style=';solid #000000;' width='8%' align=left><b> 代号</b></TD>
|
||
|
<TD style='; solid #000000;' width='20%'><DIV align=left><b>检验项目名称</b></DIV></TD>
|
||
|
<TD style=';solid #000000;'width='6%'>
|
||
|
<DIV align=left><b>结果</b></DIV></TD><TD style=';solid #000000;' width='9%' align=left><b>参考范围</b></TD>
|
||
|
<TD style='solid #000000;;' width='9%'><DIV align=left><b>单位</b></DIV></TD>
|
||
|
</TR></thead><TBODY>$data@num@<TR height='25' style='font-size:13px;'>
|
||
|
<TD style='; solid #000000;' align=left > ^0^</TD><TD style=';solid #000000;' align=left>^1^</TD>
|
||
|
<TD style='; solid #000000;'align=left>^2^</TD>
|
||
|
<TD style='solid #000000;' align=left>^3^</TD><TD style=';border-right:1 solid #000000;' align=left>^4^</TD>
|
||
|
<TD style=';solid #000000;' align=left> ^5^</TD>
|
||
|
<TD style=';solid #000000;' align=left>^6^</TD><TD style=';solid #000000;' align=left>^7^</TD>
|
||
|
<TD style=';solid #000000;' align=left>^8^</TD>
|
||
|
<TD style=';solid #000000;' align=left>^9^</TD></TR>$data@num@
|
||
|
<TR style='border-top:0 solid #000000;' height='1'><TD width='8%' colspan='1'
|
||
|
style='border-top:0 solid #000000;font-weight:bold;' valign='top'></TD><TD width='92%' colspan='9'
|
||
|
style='border-top:0 solid #000000;text-align:left;' valign='top'></TD>
|
||
|
</TR>
|
||
|
</TBODY><TFOOT>
|
||
|
<TR style='border-top:1 solid #000000;' height='25'>
|
||
|
<TD colspan='2' rowspan='2' style='; solid #000000;' width='25%'><DIV align=left><b>尿红细胞形态学指标</b></DIV></TD>
|
||
|
<TD colspan='3' style=';border-right:1 solid #000000;' width='25%'><DIV align=left><b>正常红细胞(%):$zchxb@num@$</b></DIV></TD>
|
||
|
<TD colspan='2' rowspan='2' style='; solid #000000;' width='25%'><DIV align=left><b>尿理学指标</b></DIV></TD>
|
||
|
<TD colspan='3' style='; solid #000000;' width='25%'><DIV align=left><b>颜色:$color@num@$</b></DIV></TD>
|
||
|
</TR><TR style='border-bottom:1 solid #000000;' height='25'>
|
||
|
<TD colspan='3' style=';border-right:1 solid #000000;' width='25%'><DIV align=left><b>异常常红细胞(%):$ychxb@num@$</b></DIV></TD>
|
||
|
<TD colspan='3' style='; solid #000000;' width='25%'><DIV align=left><b>浊度:$clarity@num@$</b></DIV></TD>
|
||
|
</TR></TFOOT></TABLE>";
|
||
|
top = parseFloat(3.65)+"cm";
|
||
|
left = parseFloat(0.0)+"cm";
|
||
|
width = parseFloat(21)+"cm";
|
||
|
height = parseFloat(pageheight)-parseFloat(2.511667)-parseFloat(1)-parseFloat(bottommargin)-parseFloat(topmargin)+"cm";
|
||
|
LODOP.ADD_PRINT_TABLE(top,left,width,height,gridcontent1);
|
||
|
LODOP.SET_PRINT_STYLEA(0,"TableHeightScope",1);
|
||
|
|
||
|
|
||
|
rfooterHeightpy=parseFloat(pageheight)-parseFloat(bottommargin);
|
||
|
top = parseFloat(rfooterHeightpy)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(0.9)+"cm";
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
LODOP.ADD_PRINT_IMAGE(top,left,220,220,"$tx0@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
|
||
|
|
||
|
top = parseFloat(rfooterHeightpy)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(7.0973)+"cm";
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
LODOP.ADD_PRINT_IMAGE(top,left,220,220,"$tx1@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
|
||
|
|
||
|
top = parseFloat(rfooterHeightpy)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(13.2973)+"cm";
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
LODOP.ADD_PRINT_IMAGE(top,left,220,220,"$tx2@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
|
||
|
|
||
|
top = parseFloat(parseFloat(rfooterHeightpy)+parseFloat(9.011667))+"cm";
|
||
|
left = parseFloat(0.4)+"cm";
|
||
|
left2 = parseFloat(20.5)+"cm";
|
||
|
top2 = parseFloat(parseFloat(rfooterHeightpy)+parseFloat(9.011667))+"cm";
|
||
|
width = 20.5+"cm";
|
||
|
height = 0+"cm";
|
||
|
LODOP.ADD_PRINT_LINE(top,left,top2,left2,0,1);
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(rfooterHeightpy)+parseFloat(9.396875)+"cm";
|
||
|
left = parseFloat(0.5)+"cm";
|
||
|
width = 5.58271+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"送检医生:$sjys@num@@allsysuser$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(rfooterHeightpy)+parseFloat(9.80542)+"cm";
|
||
|
left = parseFloat(0.5)+"cm";
|
||
|
width = 5.58271+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"检验时间:$jysj@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(rfooterHeightpy)+parseFloat(9.396875)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(6.58813)+"cm";
|
||
|
width = 5.42396+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"送检时间:$sjsj@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(rfooterHeightpy)+parseFloat(9.80542)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(6.58813)+"cm";
|
||
|
width = 5.42396+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"审核者:$shys@num@@allsysuser$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(rfooterHeightpy)+parseFloat(9.396875)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(13.8942)+"cm";
|
||
|
width = 5.42396+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"检验者:$jyys@num@@allsysuser$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(rfooterHeightpy)+parseFloat(9.80542)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(13.8942)+"cm";
|
||
|
width = 5.42396+"cm";
|
||
|
height = 0.608542+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"审核时间:$shsj@num@$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(rfooterHeightpy)+parseFloat(10.19917)+"cm";
|
||
|
left = parseFloat(leftmargin)+parseFloat(14.59271)+"cm";
|
||
|
width = 6.00604+"cm";
|
||
|
height = 0.396875+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"声明:本报告仅对所检标本负责");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","8.500000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
||
|
top = parseFloat(rfooterHeightpy)+parseFloat(10.19917)+"cm";
|
||
|
left = parseFloat(0.5)+"cm";
|
||
|
width = 10.00604+"cm";
|
||
|
height = 0.396875+"cm";
|
||
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"仪器名称:$sbh@num@@lissb$");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
||
|
|
||
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
||
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|