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=5.5;
var bottommargin=2.0;
var top;
var left;
var width;
var height;
var top2;
var left2;
var heightpy=parseInt(5.3975)-parseInt(topmargin);
LODOP.SET_PRINT_STYLEA(0, "LastHeaderHeight", "10mm");
LODOP.SET_PRINT_STYLEA(0, "FirstFooterHeight", "5mm");
top = parseFloat(1.29063)-parseFloat(heightpy)+"cm";
left = parseFloat(1.8)+parseFloat(14.411667)+"cm";
LODOP.ADD_PRINT_HTM(top, left, 80, 25,
"
川渝 HR
");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(0.59063)-parseFloat(heightpy)+"cm";
left = parseFloat(1.8)+parseFloat(0.411667)+"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.29063)-parseFloat(heightpy)+"cm";
left = parseFloat(0)+parseFloat(0)+"cm";
width = 21+"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(2.01313)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm";
width = 1.48125+"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(2.01313)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(1.211667)+"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(2.01313)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(6.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(2.01313)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(12.8013)+"cm";
width = 4.98979+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"病区:$bq@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.69521)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm";
width = 1.48125+"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(2.69521)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(1.211667)+"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(2.69521)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(6.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(2.69521)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(12.8013)+"cm";
width = 7.88979+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"床号:$ch@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.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.40375)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(6.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.40375)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(12.8013)+"cm";
width = 4.98979+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"标本:$yblx@num@@allsysuser$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
var gridcontent1 ="
|
序号 |
项目名称 |
缩写 |
结果 |
单位 |
参考范围 |
(提示) |
检测方法 |
$data@num@
^0^ |
^1^ |
^2^ |
^3^ |
^4^ |
^5^ |
^6^ |
^7^ |
$data@num@
|
|
|
";
top = parseFloat(3.8)+"cm";
left = parseFloat(leftmargin)+"cm";
width = parseFloat(21)-parseFloat(leftmargin)-parseFloat(leftmargin)+"cm";
height = parseFloat(pageheight)-parseFloat(4)-parseFloat(bottommargin)-parseFloat(topmargin)+"cm";
LODOP.ADD_PRINT_TABLE(top,left,width,height,gridcontent1);
LODOP.SET_PRINT_STYLEA(0,"TableHeightScope",1);
rfooterHeightpy=parseFloat(30)-(5.5);
leftmargin=parseFloat(leftmargin)+(2.5);
top = parseFloat(rfooterHeightpy)- parseFloat(2.5)+"cm";
left = parseFloat(leftmargin)-parseFloat(2.788333)+"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(rfooterHeightpy)- parseFloat(2.5)+"cm";
left = parseFloat(leftmargin)+parseFloat(1.588333)+"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(rfooterHeightpy)- parseFloat(2.5)+"cm";
left = parseFloat(leftmargin)+parseFloat(6.588333)+"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(rfooterHeightpy)- parseFloat(2.5)+"cm";
left = parseFloat(leftmargin)+parseFloat(11.088333)+"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(rfooterHeightpy)+ parseFloat(0.5)+"cm";
left = parseFloat(leftmargin)-parseFloat(2.711667)+"cm";
width = 15.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(rfooterHeightpy)+ parseFloat(1)+"cm";
left = parseFloat(leftmargin)-parseFloat(2.711667)+"cm";
left2 = parseFloat(leftmargin)+parseFloat(1.211667)+parseFloat(13.54)+"cm";
top2 = parseFloat(rfooterHeightpy)+parseFloat(1)+"cm";
width = 15.584+"cm";
height = 0+"cm";
LODOP.ADD_PRINT_LINE(top,left,top2,left2,0,1);
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(2.5)+"cm";
left = parseFloat(leftmargin)-parseFloat(2.711667)+"cm";
left2 = parseFloat(leftmargin)+parseFloat(1.211667)+parseFloat(13.54)+"cm";
top2 = parseFloat(rfooterHeightpy)+parseFloat(2.5)+"cm";
width = 15.584+"cm";
height = 0+"cm";
LODOP.ADD_PRINT_LINE(top,left,top2,left2,0,1);
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.2)+"cm";
left = parseFloat(leftmargin)-parseFloat(2.788333)+"cm";
width = 10.99917+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"报告审核时间1:");
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(1.2)+"cm";
left = parseFloat(leftmargin)-parseFloat(0.388333)+"cm";
width = 10.69604+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.2)+"cm";
left = parseFloat(leftmargin)+parseFloat(2.6208)+"cm";
width = 2.99917+"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(1.2)+"cm";
left = parseFloat(leftmargin)+parseFloat(5.09125)+"cm";
width = 3.69604+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$cysj@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(1.2)+"cm";
left = parseFloat(leftmargin)+parseFloat(8.6208)+"cm";
width = 2.99917+"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(1.2)+"cm";
left = parseFloat(leftmargin)+parseFloat(10.99125)+"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(1.9)+"cm";
left = parseFloat(leftmargin)-parseFloat(2.788333)+"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(1.9)+"cm";
left = parseFloat(leftmargin)-parseFloat(1.088333)+"cm";
width = 3.69604+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$sjys@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(1.9)+"cm";
left = parseFloat(leftmargin)+parseFloat(2.6208)+"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(1.9)+"cm";
left = parseFloat(leftmargin)+parseFloat(4.39125)+"cm";
width = 3.69604+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_IMAGE(top,left,width,height,"$jyys@num@$");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.9)+"cm";
left = parseFloat(leftmargin)+parseFloat(8.6208)+"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(1.9)+"cm";
left = parseFloat(leftmargin)+parseFloat(10.39125)+"cm";
width = 3.69604+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_IMAGE(top,left,width,height,"$shys@num@$");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(0.211667)+"cm";
left = parseFloat(leftmargin)+parseFloat(-0.30396)+"cm";
width = 2.80458+"cm";
height = 0.582083+"cm";
rfooterHeightpy=parseFloat(pageheight)-parseFloat(bottommargin);