SMMQR02500_수혈 부작용.xrw 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. <patinfo>
  11. <patinfolist/>
  12. </patinfo>
  13. <cond>
  14. <tnslist>
  15. <pid/>
  16. <patnm/>
  17. <roomcd/>
  18. <orddeptcd/>
  19. <rgstrid/>
  20. <tnsstrddtm/>
  21. <tnsendddtm/>
  22. <tnsstrnursenm/>
  23. <tnsendnursenm/>
  24. <prcpnm/>
  25. <blod/>
  26. <reptrslt/>
  27. <tnssideeffect/>
  28. <discontinuyn/>
  29. </tnslist>
  30. </cond>
  31. </main>
  32. <send>
  33. <reqdata/>
  34. <cond>
  35. <fromdd/>
  36. <todd/>
  37. <pid/>
  38. <patnm/>
  39. </cond>
  40. </send>
  41. <tmp/>
  42. </root>
  43. </instance>
  44. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  48. <script type="javascript" ev:event="xforms-ready">
  49. <![CDATA[
  50. ipt_fromdd.value = getCurrentDate().substring(0,6).concat("01");
  51. ipt_todd.value = getCurrentDate();
  52. //test
  53. ]]>
  54. </script>
  55. <submission id="TRMQR02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/cond/tnslist"/>
  56. </model>
  57. </xhtml:head>
  58. <xhtml:body guideline="2,-3;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  59. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  60. <line id="line1" class="line_1" style="x1:1px; y1:68px; x2:1195px; y2:68px; "/>
  61. <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:40px; vertical-align:top; ">
  62. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
  63. <caption id="caption8" class="search_name" style="left:12px; top:7px; width:91px; height:17px; ">조회기간</caption>
  64. <caption id="caption7" class="search_no_b" style="left:188px; top:8px; width:12px; height:17px; ">~</caption>
  65. <input id="ipt_fromdd" ref="/root/send/cond/fromdd" class="input_search" inputtype="date" style="left:101px; top:7px; width:85px; height:19px; "/>
  66. <input id="ipt_todd" ref="/root/send/cond/todd" class="input_search" inputtype="date" style="left:201px; top:7px; width:85px; height:19px; "/>
  67. <line id="line2" style="x1:1122px; y1:5px; x2:1122px; y2:26px; border-color:#ffcc99; "/>
  68. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:5px; width:56px; height:22px; ">
  69. <caption>조회</caption>
  70. <script type="javascript" ev:event="DOMActivate">
  71. <![CDATA[
  72. submit("TRMQR02500");
  73. ]]>
  74. </script>
  75. </button>
  76. <button id="button7" class="icon_search" style="left:479px; top:7px; width:16px; height:16px; ">
  77. <caption/>
  78. <script type="javascript" ev:event="DOMActivate">
  79. <![CDATA[
  80. //팝업을 사용하여 환자 기본정보 검색
  81. modal("SPPMC02500", 1,10, 10, "SPPMC02500", "/root/temp", "/root/send");
  82. model.setValue("/root/send/cond/patnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  83. model.setValue("/root/send/cond/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  84. model.refresh();
  85. ]]>
  86. </script>
  87. </button>
  88. <caption id="caption2" class="search_name" style="left:305px; top:7px; width:81px; height:17px; ">환자ID :</caption>
  89. <input id="ipt_trgtid" ref="/root/send/cond/pid" class="input_default" format="99999999999999" appearance="input" style="left:385px; top:7px; width:90px; height:19px; ">
  90. <script type="javascript" ev:event="onkeypress">
  91. <![CDATA[
  92. if(event.keyCode == "13"){
  93. model.resetInstanceNode("/root/tmp");
  94. model.makeValue("/root/tmp/pid", ipt_trgtid.currentText );
  95. model.makeValue("/root/tmp/srchcond","1");
  96. model.makeValue("/root/tmp/autoflag","Y"); // 1건인경우 자동으로닫힘
  97. model.refresh();
  98. modal("SPPMC02500", 1,10, 10, "SPPMC02500", "/root/tmp", "/root/send");
  99. model.setValue("/root/send/cond/patnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  100. model.setValue("/root/send/cond/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  101. model.refresh();
  102. }
  103. ]]>
  104. </script>
  105. <script type="javascript" ev:event="DOMFocusOut">
  106. <![CDATA[
  107. var patid = ipt_trgtid.currentText;
  108. if(patid == ""){
  109. model.setValue("/root/send/cond/patnm", "");
  110. }
  111. model.refresh();
  112. ]]>
  113. </script>
  114. </input>
  115. <output id="output1" ref="/root/send/cond/patnm" class="output_fix" appearance="output" style="left:500px; top:7px; width:95px; height:19px; "/>
  116. </group>
  117. <button id="btn_excel" class="btn2_letter4" style="left:1127px; top:47px; width:64px; height:19px; ">
  118. <caption>엑셀저장</caption>
  119. <script type="javascript" ev:event="DOMActivate">
  120. <![CDATA[
  121. var fileName = window.fileDialog("save", ",", false, "수혈부작용_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  122. if (fileName != "")
  123. {
  124. grd_list.saveExcel(fileName, "SheetName", true, true, "", "", "false");
  125. }
  126. ]]>
  127. </script>
  128. </button>
  129. <caption id="caption4" class="tit_2" style="left:5px; top:50px; width:113px; height:14px; ">수혈부작용 목록</caption>
  130. </group>
  131. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">수혈부작용</caption>
  132. <datagrid id="grd_list" nodeset="/root/main/cond/tnslist" caption="등록번호^환자명^병실^진료과^처방의^수혈 시작일시^수혈 종료일시^수혈시작 간호사^수혈종료 간호사^혈액명^혈액형(ABORh)^AB screening 결과^수혈부작용^수혈중단 여부" colsep="^" colwidth="68, 53, 52, 128, 58, 121, 120, 100, 100, 149, 95, 129, 100, 119" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:86px; width:1193px; height:668px; ">
  133. <col ref="pid"/>
  134. <col ref="patnm"/>
  135. <col ref="roomcd"/>
  136. <col ref="orddeptcd"/>
  137. <col ref="rgstrid"/>
  138. <col ref="tnsstrddtm" format="yyyy-mm-dd hh:mm"/>
  139. <col ref="tnsendddtm" format="yyyy-mm-dd hh:mm"/>
  140. <col ref="tnsstrnursenm"/>
  141. <col ref="tnsendnursenm"/>
  142. <col ref="prcpnm"/>
  143. <col ref="blod"/>
  144. <col ref="reptrslt"/>
  145. <col ref="tnssideeffect"/>
  146. <col ref="discontinuyn"/>
  147. <script type="javascript" ev:event="onaftersort">
  148. <![CDATA[
  149. grd_list.gridToInstance();
  150. ]]>
  151. </script>
  152. </datagrid>
  153. </xhtml:body>
  154. </xhtml:html>