LODOP.SET_PRINT_PAGESIZE(1,"","","A4");
var rheaderHeightpy;
var rfooterHeightpy;
var pagewidth=21;
var pageheight=29.7;
var leftmargin=2.0;
var rightmargin=2.0;
var topmargin=4.5;
var bottommargin=2.5;
var top;
var left;
var width;
var height;
var top2;
var left2;
var heightpy=parseInt(5.3975)-parseInt(topmargin);
top = parseFloat(1.29063)-parseFloat(heightpy)+"cm";
left = parseFloat(1.8)+parseFloat(0.211667)+"cm";
width = 15.584+"cm";
height = 0.79375+"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.79063)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.211667)-(1.5)+"cm";
width = 19.584+"cm";
height = 0.79375+"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","14.250000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(2.19604)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(4.39208)+"cm";
width = 6.19125+"cm";
height = 0.582083+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(3.21313)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm";
width = 1.58125+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"姓名:");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(3.21313)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(1.111667)+"cm";
width = 3.08125+"cm";
height = 0.396875+"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(3.21313)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(4.60375)+"cm";
width = 5.18583+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"试验号:$tmh@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(3.21313)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(9.8013)+"cm";
width = 4.98979+"cm";
height = 0.396875+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(3.79521)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm";
width = 1.38125+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"性别:");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(3.79521)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(1.111667)+"cm";
width = 3.38125+"cm";
height = 0.396875+"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(4.40375)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm";
width = 3.38125+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"年龄:$brnl@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(3.79521)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(4.60375)+"cm";
width = 5.18583+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"样品号:$ybh@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(4.40375)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(4.60375)+"cm";
width = 5.18583+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"病历号:$blh@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(3.79521)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(9.8013)+"cm";
width = 7.68979+"cm";
height = 0.386875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"临床诊断:$lczd@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(4.40375)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(9.8013)+"cm";
width = 4.98979+"cm";
height = 0.396875+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(4.90375)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm";
width = 3.38125+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"备注:$remark@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(2.85146)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm";
left2 = parseFloat(leftmargin)+parseFloat(1.211667)+parseFloat(15.504)+"cm";
top2 = parseFloat(2.85146)-parseFloat(heightpy)+"cm";
width = 15.584+"cm";
height = 0+"cm";
LODOP.ADD_PRINT_LINE(top,left,top2,left2,0,1);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
var gridcontent1 ="
|
序号 |
代号 |
检验项目名称 |
检验结果 |
参考范围 |
单位 |
$data@num@
^0^ |
^1^ |
^2^ |
^3^ |
^4^ |
^5^ |
$data@num@
|
|
|
";
top = parseFloat(4.67)+"cm";
left = parseFloat(leftmargin)+"cm";
width = parseFloat(21)-parseFloat(leftmargin)-parseFloat(leftmargin)+"cm";
height = parseFloat(pageheight)-parseFloat(4.7)-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)-(5.7);
rheaderHeightpy=parseFloat(leftmargin)-(2);
top = parseFloat(1.0366875)+parseFloat(rfooterHeightpy)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(0.79917)+"cm";
LODOP.ADD_PRINT_IMAGE(top,left,185,113,"$tx0@num@$");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
top = parseFloat(1.0366875)+parseFloat(rfooterHeightpy)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(5.59979)+"cm";
LODOP.ADD_PRINT_IMAGE(top,left,180,115,"$tx1@num@$");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
top = parseFloat(1.0366875)+parseFloat(rfooterHeightpy)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(11.1973)+"cm";
LODOP.ADD_PRINT_IMAGE(top,left,180,115,"$tx2@num@$");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
top = parseFloat(1.0366875)+parseFloat(rfooterHeightpy)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(16.1973)+"cm";
LODOP.ADD_PRINT_IMAGE(top,left,180,115,"$tx3@num@$");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
top = parseFloat(26.65146)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm";
left2 = parseFloat(leftmargin)+parseFloat(1.211667)+parseFloat(15.504)+"cm";
top2 = parseFloat(26.65146)-parseFloat(heightpy)+"cm";
width = 15.584+"cm";
height = 0+"cm";
LODOP.ADD_PRINT_LINE(top,left,top2,left2,0,1);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
rfooterHeightpy=parseFloat(rfooterHeightpy)-(3.5);
rheaderHeightpy=parseFloat(leftmargin)+(2.5);
top = parseFloat(rfooterHeightpy)+ parseFloat(8.08896)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(-2.288333)+"cm";
width = 2.19917+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(8.08896)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(-0.48917)+"cm";
width = 3.69604+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(8.08896)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(3.0208)+"cm";
width = 2.19917+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(8.08896)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(4.79125)+"cm";
width = 3.69604+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$bgfbsj$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(8.08896)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(8.8208)+"cm";
width = 2.19917+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(8.08896)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(10.59125)+"cm";
width = 3.69604+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$bgdqsj$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(0.211667)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(-0.30396)+"cm";
width = 2.80458+"cm";
height = 0.582083+"cm";
top = parseFloat(rfooterHeightpy)+ parseFloat(8.711667)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(-2.288333)+"cm";
width = 8.42396+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"仪器名称: $sbh@num@@lissb$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(8.711667)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(3.0208)+"cm";
width = 1.80229+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(8.711667)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(4.3208)+"cm";
width = 2.19604+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(8.711667)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(6.1208)+"cm";
width = 1.80229+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(8.711667)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(7.4208)+"cm";
width = 2.19604+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(8.811667)+"cm";
left = parseFloat(rheaderHeightpy)+parseFloat(9.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,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
LODOP.SET_PRINT_STYLEA(0,"FontSize","8.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
rfooterHeightpy=parseFloat(pageheight)-parseFloat(bottommargin);