SMPPI01100_사전신청요법현황.xrw 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SMPID33000_사전신청요법현황.xrw
  4. * 수정이력
  5. * - 2013.01.19 / 최초작성 / 이경민
  6. -->
  7. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  8. <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">
  9. <xhtml:head>
  10. <xhtml:title>사전신청요법현황</xhtml:title>
  11. <model id="model1">
  12. <instance id="instance1">
  13. <root xmlns="">
  14. <main>
  15. <dpcdlist>
  16. <dpcd/>
  17. </dpcdlist>
  18. </main>
  19. <send>
  20. <dpcdlist>
  21. </dpcdlist>
  22. <regmcd/>
  23. <instcd>031</instcd>
  24. <execdd/>
  25. <ioflag/>
  26. <pid/>
  27. </send>
  28. <init>
  29. <genrflagcd/>
  30. </init>
  31. </root>
  32. </instance>
  33. <script type="javascript" ev:event="xforms-ready">
  34. <![CDATA[
  35. // 화면을 초기화한다.
  36. fInitialize();
  37. ]]>
  38. </script>
  39. <submission id="TRPPI01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  40. </model>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  46. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  47. <script type="javascript">
  48. <![CDATA[
  49. var gToday = new Date();
  50. var gBaseyear = gToday.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
  51. var gBasemonth = gToday.getDateFormat("MM");
  52. var gBaseday = gToday.getDateFormat("DD");
  53. var gCurrentdd = gBaseyear + gBasemonth + gBaseday;
  54. var gCurrentym = gBaseyear + gBasemonth;
  55. // -----------------------
  56. // ▶ 화면초기화
  57. // -----------------------
  58. function fInitialize() {
  59. zbcfGetCodeList(new Array( "M0010"),
  60. new Array("/root/init/genrflagcd"));
  61. model.refresh();
  62. btn_select.dispatch("DOMActivate");
  63. }
  64. // ----------------------------------------------------------------------
  65. // ▶ 동일진료일 명세서조회
  66. // ----------------------------------------------------------------------
  67. function fGetDocuList() {
  68. var chk = true;
  69. // if (model.getValue("/root/send/orddd") == "") {
  70. // chk = false;
  71. // messageBox("기준년월은", "I003"); //I003=필수입력입니다.
  72. // model.setFocus("ipt_orddd");
  73. // }
  74. if (chk == true) {
  75. submit("TRPPI01103");
  76. }
  77. }
  78. // 화면을 초기화한다.
  79. function fSpclGridInsertRow(){
  80. grd_dpcdlist.AddRow();
  81. grd_dpcdlist.bottomRow = grd_dpcdlist.rows;
  82. }
  83. function fSpclGridDeleteRow(){
  84. for (var i = 0; i < grd_dpcdlist.selectedRows; i++) {
  85. var sel = grd_dpcdlist.selectedRow(i);
  86. grd_dpcdlist.rowstatus(sel) = "4";
  87. }
  88. }
  89. ]]>
  90. </script>
  91. </xhtml:head>
  92. <xhtml:body pagewidth="1200" pageheight="780" guideline="1,1160;2,726;2,739;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  93. <group id="grp_tle" style="left:0px; top:0px; width:865px; height:13px; ">
  94. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:216px; height:15px; ">사전신청요법현황</caption>
  95. </group>
  96. <group id="grp_biz" scroll="auto" style="left:0px; top:28px; width:1160px; height:698px; ">
  97. <datagrid id="grd_dpcdlist" nodeset="/root/main/dpcdlist/dpcd" class="datagrid3" allowuserresize="true" autoresize="true" caption="이름^주민번호^환자번호^성별^요법코드^암종^세부암종^항암화학요법^투여대상^투여단계^투여요법^급여상세사항^기타사항^시작일자^종료일자^사용&#xA;여부^등록자^등록일자^수정자^수정일자" colsep="^" colwidth="63, 68, 74, 35, 66, 110, 82, 205, 387, 100, 107, 100, 100, 66, 66, 41, 68, 100, 69, 100" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:77px; width:1160px; height:621px; ">
  98. <col ref="hngnm" style="text-align:center; "/>
  99. <col ref="rrgstno1" style="text-align:center; "/>
  100. <col ref="pid" style="text-align:center; "/>
  101. <col ref="sex" style="text-align:center; "/>
  102. <col disabled="true" ref="regmcd" type="output" maxlength="16" style="left:332px; top:32px; width:53px; height:23px; text-align:center; "/>
  103. <col ref="cncrkind" type="output"/>
  104. <col disabled="false" ref="cncrdetl" type="output" maxlength="3" style="text-align:left; "/>
  105. <col ref="antichem" type="output"/>
  106. <col ref="drugtrgt" type="output"/>
  107. <col ref="drugstage" type="output"/>
  108. <col ref="drugregm" type="output"/>
  109. <col ref="paydetl" type="output"/>
  110. <col ref="etcdetl" type="output"/>
  111. <col ref="fromdd" type="output" format="yyyy-mm-dd" maxlength="8"/>
  112. <col ref="todd" type="output" format="yyyy-mm-dd" maxlength="8"/>
  113. <col checkvalue="1,0" ref="useyn" type="output"/>
  114. <col ref="fstrgstrid" type="output" style="text-align:center; "/>
  115. <col ref="fstrgstdt" type="output" format="yyyy-mm-dd hh:nn"/>
  116. <col ref="lastupdtrid" style="text-align:center; "/>
  117. <col ref="lastupdtdt" visibility="visible" format="yyyy-mm-dd hh:nn"/>
  118. </datagrid>
  119. <caption id="cap_judgtrgtman" class="tit_2" style="left:4px; top:56px; width:234px; height:15px; ">사전신청요법현황 리스트</caption>
  120. <line id="line1" class="line_1" style="x1:0px; y1:72px; x2:1160px; y2:72px; "/>
  121. <group id="group1" style="left:0px; top:5px; width:1160px; height:40px; vertical-align:top; ">
  122. <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:1160px; height:40px; "/>
  123. <button id="btn_select" class="btn1_letter2" navindex="32" style="left:1095px; top:10px; width:56px; height:22px; ">
  124. <caption>조회</caption>
  125. <script type="javascript" ev:event="DOMActivate">
  126. <![CDATA[
  127. fGetDocuList();
  128. ]]>
  129. </script>
  130. </button>
  131. <line id="line3" class="line_4" style="x1:1080px; y1:5px; x2:1080px; y2:38px; "/>
  132. <caption id="caption30" class="search_name" style="left:8px; top:11px; width:87px; height:17px; ">환자번호 :</caption>
  133. <input id="ipt_diagcd" ref="/root/send/pid" style="left:100px; top:10px; width:100px; height:19px; ">
  134. <script type="javascript" ev:event="onkeypress">
  135. <![CDATA[
  136. if (event.keyCode == 13) {
  137. setInputNodeCurText(",");
  138. fGetDocuList();
  139. }
  140. ]]>
  141. </script>
  142. </input>
  143. <caption id="caption1" class="search_name" style="left:433px; top:11px; width:87px; height:17px; ">내원구분:</caption>
  144. <caption id="caption2" class="search_name" style="left:623px; top:11px; width:112px; height:17px; ">시행일 :</caption>
  145. <select1 id="combo1" ref="/root/send/ioflag" disabled="false" appearance="minimal" style="left:520px; top:10px; width:75px; height:19px; ">
  146. <choices>
  147. <itemset nodeset="/root/init/genrflagcd/M0010">
  148. <label ref="cdnm"/>
  149. <value ref="cdid"/>
  150. </itemset>
  151. </choices>
  152. <script type="javascript" ev:event="xforms-value-changed">
  153. <![CDATA[
  154. fGetDocuList();
  155. ]]>
  156. </script>
  157. </select1>
  158. <input id="input2" ref="/root/send/execdd" disabled="false" inputtype="date" format="yyyy-mm-dd" style="left:700px; top:10px; width:115px; height:19px; ">
  159. <script type="javascript" ev:event="onkeypress">
  160. <![CDATA[
  161. if (event.keyCode == 13) {
  162. setInputNodeCurText(",");
  163. fGetDocuList();
  164. }
  165. ]]>
  166. </script>
  167. </input>
  168. <input id="input1" ref="/root/send/regmcd" style="left:310px; top:10px; width:100px; height:19px; ">
  169. <script type="javascript" ev:event="onkeypress">
  170. <![CDATA[
  171. if (event.keyCode == 13) {
  172. setInputNodeCurText(",");
  173. fGetDocuList();
  174. }
  175. ]]>
  176. </script>
  177. </input>
  178. <caption id="caption3" class="search_name" style="left:218px; top:11px; width:87px; height:17px; ">요법코드 :</caption>
  179. </group>
  180. <button id="btn_excelsave" class="btn2_letter4" _auth="P" style="left:1094px; top:52px; width:64px; height:19px; ">
  181. <caption>엑셀저장</caption>
  182. <script type="javascript" ev:event="DOMActivate">
  183. <![CDATA[
  184. grd_dpcdlist.gridToInstance();
  185. if (grd_dpcdlist.rows > 1) {
  186. var fileName = window.fileDialog("save", "", false, cap_title.value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  187. if (fileName != "") {
  188. grd_dpcdlist.saveExcel(fileName, "sheetname:;colhiddenextend:true;rowhiddenextend:false;col_3:label;col_4:label;col_5:label;col_6:label;", true, true, "", "", true);
  189. }
  190. } else {
  191. messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  192. }
  193. ]]>
  194. </script>
  195. </button>
  196. </group>
  197. </xhtml:body>
  198. </xhtml:html>