SMMNW15300_정맥염발생보고.xrw 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>정맥염 발생보고</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <wardcd/>
  12. <fromdd/>
  13. <todd/>
  14. </cond>
  15. <veingrupinfo/>
  16. </main>
  17. <send>
  18. <savedata/>
  19. </send>
  20. <tmp/>
  21. </root>
  22. </instance>
  23. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  24. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  25. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  26. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  27. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  28. <script type="javascript" src="../../../emr/carerecweb/js/CareRec.js"/>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. //finit();
  32. var instcd = getUserInfo("dutplceinstcd");
  33. var standard_yn = "orduseyn";
  34. var ord_deptflag = 'W';
  35. var rslt_ref = "/root/init/dept";
  36. var sort_field = "depthngnm";
  37. var sort_method = "asc";
  38. var dt = getCurrentDate();
  39. zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method, dt);
  40. addComboItem( "cmb_ward", "전 체", "", "above" );
  41. submit("TRMNW11001"); //발생장소(원내) 부서 코드 조회
  42. model.makeValue("/root/main/cond/fromdd" , dt);
  43. model.makeValue("/root/main/cond/todd" , dt);
  44. model.refresh();
  45. ]]>
  46. </script>
  47. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
  48. <submission id="TRMNW11001" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/tmp/deptinfo"/>
  49. <submission id="TRMNW15300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/veingrupinfo"/>
  50. </model>
  51. </xhtml:head>
  52. <xhtml:body overflow="visible" scroll="autovscroll" style="font-family:굴림; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  53. <group id="group5" scroll="auto" style="left:0px; top:0px; width:1200px; height:745px; font-family:굴림; ">
  54. <group id="grp_sea" style="left:0px; top:20px; width:1195px; height:40px; font-family:굴림; vertical-align:top; ">
  55. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  56. <caption id="caption11" class="search_name" style="left:10px; top:10px; width:85px; height:17px; font-family:굴림; ">병 동 :</caption>
  57. <caption id="caption17" class="search_name" style="left:260px; top:10px; width:91px; height:17px; font-family:굴림; ">보고일자 :</caption>
  58. <select1 id="cmb_ward" ref="/root/main/cond/wardcd" class="combo_search" appearance="minimal" editmode="search" itemcount="40" style="left:95px; top:10px; width:125px; height:19px; font-family:굴림; ">
  59. <choices>
  60. <itemset nodeset="/root/init/dept/dept">
  61. <label ref="depthngnm"/>
  62. <value ref="deptcd"/>
  63. </itemset>
  64. </choices>
  65. <script type="javascript" ev:event="xforms-value-changed">
  66. <![CDATA[
  67. //fSearch() ;
  68. ]]>
  69. </script>
  70. </select1>
  71. <input id="ipt_genrdd" ref="/root/main/cond/fromdd" class="input_search" inputtype="date" style="left:355px; top:10px; width:105px; height:19px; font-family:굴림; "/>
  72. <button id="button1" class="btn1_letter2" style="left:1005px; top:10px; width:56px; height:22px; font-family:굴림; ">
  73. <caption>조회</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. model.makeNode("/root/send/reqdata");
  77. model.copyNode("/root/send/reqdata", "/root/main/cond");
  78. submit("TRMNW15300");
  79. ]]>
  80. </script>
  81. </button>
  82. <line id="line1" class="line_4" style="x1:995px; y1:10px; x2:995px; y2:30px; font-family:굴림; "/>
  83. <caption id="caption4" style="left:465px; top:10px; width:15px; height:20px; font-weight:bold; ">~</caption>
  84. <input id="input1" ref="/root/main/cond/todd" class="input_search" inputtype="date" style="left:480px; top:10px; width:105px; height:19px; font-family:굴림; "/>
  85. <button id="button2" class="btn1_letter2" navindex="9" style="left:1121px; top:10px; width:56px; height:22px; ">
  86. <caption>출력</caption>
  87. <script type="javascript" ev:event="DOMActivate">
  88. <![CDATA[
  89. model.removenode("/root/send");
  90. model.makeNode ("/root/send/printdata/veingrupinfo");
  91. model.copynode ("/root/send/printdata/veingrupinfo", "/root/main/veingrupinfo"); // 리스트copy
  92. for(var i=1 ; i<=getNodesetCount("/root/send/printdata/veingrupinfo/veingruplist");i++){
  93. // 병동 value -> label값으로 변경
  94. var wardnm = grd_veingruplist.labelMatrix(i, grd_veingruplist.colRef("wardcd"));
  95. model.makeValue("/root/send/printdata/veingrupinfo/veingruplist["+i+"]/wardnm ", wardnm );
  96. // 발생장소(원내) value -> label값으로 변경
  97. var genrplcewardnm = grd_veingruplist.labelMatrix(i, grd_veingruplist.colRef("genrplcewardcd"));
  98. model.makeValue("/root/send/printdata/veingrupinfo/veingruplist["+i+"]/genrplcewardnm ", genrplcewardnm );
  99. }
  100. exeReportPreview("RPMNW15300", "XMLSTR", "/root/send/printdata");
  101. ]]>
  102. </script>
  103. </button>
  104. <button id="button3" class="btn1_letter2" navindex="8" style="left:1063px; top:10px; width:56px; height:22px; ">
  105. <caption>엑셀</caption>
  106. <script type="javascript" ev:event="DOMActivate">
  107. <![CDATA[
  108. var fileName = window.fileDialog("save", ",", false, "정맥염발생보고_" + getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  109. if (fileName != ""){
  110. grd_veingruplist.saveExcel(fileName, "SheetName", true, false, "", "", false);
  111. }
  112. ]]>
  113. </script>
  114. </button>
  115. </group>
  116. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; font-family:굴림; ">정맥염 발생보고</caption>
  117. <datagrid id="grd_veingruplist" nodeset="/root/main/veingrupinfo/veingruplist" autoresize="true" caption="병동^등록번호^이름^성별^나이^정맥염발생부위^발생일자^시간^발생장소^발생장소(원내)^발생원인^단계^중재^등록자^recrid^genrplceid^causeid^stageid^interventionid^grupcd^instcd^indd^cretno^veifrecseq^signno" colsep="^" colwidth="100, 60, 70, 35, 35, 145, 90, 50, 75, 100, 130, 50, 150, 60, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:95px; width:1195px; height:650px; ">
  118. <col disabled="true" ref="wardcd" type="combo">
  119. <choices>
  120. <itemset nodeset="/root/init/dept/dept">
  121. <label ref="depthngnm"/>
  122. <value ref="deptcd"/>
  123. </itemset>
  124. </choices>
  125. </col>
  126. <col ref="pid" style="text-align:center; "/>
  127. <col ref="patnm"/>
  128. <col ref="sex" style="text-align:center; "/>
  129. <col ref="age" style="text-align:right; "/>
  130. <col ref="veifpartnm" type="output" maxlength="1" style="left:50px; top:43px; width:118px; height:23px; text-align:left; "/>
  131. <col ref="genrdd" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
  132. <col ref="genrtm" type="output" format="hh:nn" style="text-align:center; "/>
  133. <col ref="genrplce" type="output"/>
  134. <col disabled="true" ref="genrplcewardcd" type="combo">
  135. <choices>
  136. <itemset nodeset="/root/tmp/deptinfo/deptlist">
  137. <label ref="depthngnm"/>
  138. <value ref="deptcd"/>
  139. </itemset>
  140. </choices>
  141. </col>
  142. <col ref="cause" type="output" style="text-align:left; "/>
  143. <col ref="stage" style="text-align:center; "/>
  144. <col ref="intervention" style="text-align:left; "/>
  145. <col ref="recrnm"/>
  146. <col ref="recrid" visibility="hidden"/>
  147. <col ref="genrplceid" visibility="hidden"/>
  148. <col ref="causeid" visibility="hidden"/>
  149. <col ref="stageid" visibility="hidden"/>
  150. <col ref="interventionid" visibility="hidden"/>
  151. <col ref="grupcd" visibility="hidden"/>
  152. <col ref="instcd" visibility="hidden"/>
  153. <col ref="indd" visibility="hidden"/>
  154. <col ref="cretno" visibility="hidden"/>
  155. <col ref="veifrecseq" visibility="hidden"/>
  156. <col ref="signno" visibility="hidden"/>
  157. </datagrid>
  158. <line id="line4" class="line_1" style="x1:0px; y1:90px; x2:1195px; y2:90px; "/>
  159. <caption id="caption1" class="tit_2" style="left:0px; top:75px; width:144px; height:14px; font-family:굴림; vertical-align:middle; ">정맥염 발생보고</caption>
  160. </group>
  161. <caption id="caption2" style="left:0px; top:745px; width:1000px; height:30px; "/>
  162. <group id="grp_btn" style="left:0px; top:752px; width:1200px; height:27px; ">
  163. <caption id="caption3" style="left:1160px; top:0px; width:30px; height:20px; ">[표]</caption>
  164. </group>
  165. </xhtml:body>
  166. </xhtml:html>