SPABO62000_항암프로토콜이력조회.xrw 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <prtlhislist>
  11. <item>
  12. <drugstage/>
  13. <drugcycle/>
  14. <prtlnm/>
  15. <appdd/>
  16. <appterm/>
  17. <acptno/>
  18. <ioflag/>
  19. <todd/>
  20. <cpgappno/>
  21. <orddeptcd/>
  22. <sickclscd/>
  23. <prtlcd/>
  24. <antimetprtlcd/>
  25. <fromday/>
  26. <prtlterm/>
  27. <ht/>
  28. <wtflag/>
  29. <wt/>
  30. <ibw/>
  31. <bsa/>
  32. <gfrflag/>
  33. <gfr/>
  34. <age/>
  35. <sexrate/>
  36. <sc/>
  37. <urvol/>
  38. <urcr/>
  39. <auc/>
  40. <carbovol/>
  41. <appstat/>
  42. </item>
  43. </prtlhislist>
  44. <patinfo>
  45. <patinfolist/>
  46. </patinfo>
  47. <popupendflag/>
  48. </main>
  49. <send>
  50. <pid/>
  51. <hngnm/>
  52. <sex/>
  53. <age/>
  54. </send>
  55. <init>
  56. <cmbinfo>
  57. <sex>
  58. <P0313>
  59. <cdid/>
  60. <cdnm/>
  61. </P0313>
  62. </sex>
  63. </cmbinfo>
  64. </init>
  65. <temp>
  66. <patinfo>
  67. <pid/>
  68. </patinfo>
  69. </temp>
  70. <hidden/>
  71. <paminfo/>
  72. </root>
  73. </instance>
  74. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  76. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  78. <script type="javascript" ev:event="xforms-ready">
  79. <![CDATA[
  80. zbcfGetCodeList( new Array("P0313"), new Array("/root/init/cmbinfo/sex") );
  81. // common.js
  82. if (checkOpener()) { //opener 검사
  83. var param = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
  84. if(param != "") { // opener parameter value가 있는 경우
  85. //parameter value를 이용하여 프로그램 수행
  86. condarray = param.split("▦");
  87. model.setValue("/root/send/pid" , condarray[0]);
  88. model.setValue("/root/send/hngnm", condarray[1]);
  89. model.setValue("/root/send/sex" , condarray[2]);
  90. model.setValue("/root/send/age" , condarray[3]);
  91. } else {
  92. var paminfo = getGlobalVariable("paminfo"); //프로그램에 따라 원무정보(paminfo), 환자기본정보(patflag) get
  93. //원무 정보(기본 정보)가 있는 경우
  94. if(paminfo != "") {
  95. model.removeNodeset("/root/paminfo"); //여러개의 instance발생을 막기 위해 removeNodeset을 해줘야 함.
  96. model.makeNode("/root/paminfo");
  97. setCSVToNode("/root/paminfo", paminfo);
  98. //상단 정보를 이용하여 프로그램 수행
  99. var pid = model.getValue("/root/paminfo" + "/list/pid");
  100. model.setValue( "/root/send/pid", pid);
  101. }
  102. else //원무 정보(기본 정보)가 없는 경우
  103. {
  104. if (model.getValue("/root/temp/patinfo/pid")!=""){
  105. model.setValue( "/root/send/pid",model.getValue( "/root/temp/patinfo/pid"));
  106. }
  107. }
  108. }
  109. } else {
  110. if (model.getValue("/root/temp/patinfo/pid")!=""){
  111. model.setValue( "/root/send/pid",model.getValue( "/root/temp/patinfo/pid"));
  112. }
  113. }
  114. model.refresh();
  115. submit("TRABO62000");
  116. ]]>
  117. </script>
  118. <submission id="TRABO62000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/prtlhislist"/>
  119. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  120. </model>
  121. </xhtml:head>
  122. <xhtml:body pagewidth="670" pageheight="430" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  123. <group id="grp_tle" style="left:0px; top:0px; width:645px; height:13px; ">
  124. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">항암프로토콜이력조회</caption>
  125. </group>
  126. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:645px; height:380px; ">
  127. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:200px; height:14px; ">항암프로토콜이력</caption>
  128. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:642px; y2:70px; "/>
  129. <group id="grp_sea" style="left:0px; top:10px; width:643px; height:35px; vertical-align:top; ">
  130. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:642px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  131. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  132. <line id="line13" class="line_4" style="x1:555px; y1:7px; x2:555px; y2:29px; "/>
  133. <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:575px; top:7px; width:56px; height:22px; ">
  134. <caption>조회</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. submit("TRABO62000");
  138. ]]>
  139. </script>
  140. </button>
  141. <input id="input1" ref="/root/send/pid" class="input_search" style="left:104px; top:9px; width:100px; height:19px; ">
  142. <script type="javascript" ev:event="onkeyup">
  143. <![CDATA[
  144. inputEnterKey("btn_sea", "DOMActivate");
  145. ]]>
  146. </script>
  147. </input>
  148. <output id="output1" ref="/root/send/hngnm" class="output_fix" style="left:207px; top:9px; width:80px; height:19px; text-align:center; "/>
  149. <output id="output3" ref="/root/send/age" class="output_fix" style="left:353px; top:9px; width:50px; height:19px; text-align:center; "/>
  150. <select1 id="combo1" ref="/root/send/sex" class="combo_default" disabled="true" appearance="minimal" style="left:290px; top:9px; width:60px; height:19px; text-align:center; ">
  151. <choices>
  152. <itemset nodeset="/root/init/cmbinfo/sex/P0313">
  153. <label ref="cdnm"/>
  154. <value ref="cdid"/>
  155. </itemset>
  156. </choices>
  157. </select1>
  158. </group>
  159. <datagrid id="grd_list" nodeset="/root/main/prtlhislist/item" caption="항암차수^항암차수^프로토콜^시작일자^적용기간^진행상황^I/O구분^종료일자" colsep="^" colwidth="42, 45, 175, 73, 73, 85, 50, 73" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" navindex="5" style="left:0px; top:75px; width:640px; height:300px; text-align:center; ">
  160. <col ref="drugstage"/>
  161. <col ref="drugcycle"/>
  162. <col ref="prtlnm"/>
  163. <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
  164. <col disabled="true" ref="appterm"/>
  165. <col disabled="true" ref="acptno"/>
  166. <col ref="ioflag" type="combo">
  167. <choices>
  168. <item>
  169. <label>입원</label>
  170. <value>I</value>
  171. </item>
  172. <item>
  173. <label>외래</label>
  174. <value>O</value>
  175. </item>
  176. </choices>
  177. </col>
  178. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  179. <script type="javascript" ev:event="onaftersort">
  180. <![CDATA[
  181. grd_list.gridToInstance();
  182. ]]>
  183. </script>
  184. </datagrid>
  185. <button id="btn_excsave" class="btn2_letter4" style="left:578px; top:50px; width:64px; height:19px; ">
  186. <caption>엑셀저장</caption>
  187. <script type="javascript" ev:event="DOMActivate">
  188. <![CDATA[
  189. var fileName = window.fileDialog("save", ",", false, "항암프로토콜이력", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  190. if (fileName != "")
  191. {
  192. grd_list.saveExcel(fileName);
  193. }
  194. ]]>
  195. </script>
  196. </button>
  197. </group>
  198. </xhtml:body>
  199. </xhtml:html>