SMPPI01000_사전신청요법등록.xrw 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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. <pid/>
  23. <instcd>031</instcd>
  24. <execdd/>
  25. <ioflag/>
  26. </send>
  27. <init>
  28. <genrflagcd/>
  29. </init>
  30. </root>
  31. </instance>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. // 화면을 초기화한다.
  35. fInitialize();
  36. ]]>
  37. </script>
  38. <submission id="TRPPI01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  39. <submission id="TXPPI01002" 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.setValue("/root/send/orddd", getCurrentDate());
  62. model.refresh();
  63. btn_select.dispatch("DOMActivate");
  64. }
  65. // ----------------------------------------------------------------------
  66. // ▶ 동일진료일 명세서조회
  67. // ----------------------------------------------------------------------
  68. function fGetDocuList() {
  69. submit("TRPPI01102");
  70. }
  71. // 화면을 초기화한다.
  72. function fSpclGridInsertRow(){
  73. grd_dpcdlist.AddRow();
  74. grd_dpcdlist.bottomRow = grd_dpcdlist.rows;
  75. }
  76. function fSpclGridDeleteRow(){
  77. for (var i = 0; i < grd_dpcdlist.selectedRows; i++) {
  78. var sel = grd_dpcdlist.selectedRow(i);
  79. grd_dpcdlist.rowstatus(sel) = "4";
  80. }
  81. }
  82. ]]>
  83. </script>
  84. </xhtml:head>
  85. <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; ">
  86. <group id="grp_tle" style="left:0px; top:0px; width:865px; height:13px; ">
  87. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:216px; height:15px; ">사전신청요법등록 화면</caption>
  88. </group>
  89. <group id="grp_biz" scroll="auto" style="left:0px; top:28px; width:1160px; height:698px; ">
  90. <datagrid id="grd_dpcdlist" nodeset="/root/main/dpcdlist/dpcd" class="datagrid3" allowuserresize="true" autoresize="true" caption="신청&#xA;여부^요법코드^암종^세부암종^항암화학요법^투여대상^투여단계^투여요법^급여상세사항^기타사항^시작일자^종료일자^등록자^등록일자^수정자^수정일자^flag^pid^execdd^ioflag" colsep="^" colwidth="45, 66, 110, 82, 205, 387, 100, 107, 100, 100, 92, 91, 68, 100, 69, 100, 100, 100, 100, 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; ">
  91. <col checkvalue="1,0" ref="useyn" type="checkbox"/>
  92. <col disabled="true" ref="regmcd" type="output" maxlength="16" style="left:332px; top:32px; width:53px; height:23px; text-align:center; "/>
  93. <col ref="cncrkind" type="output"/>
  94. <col disabled="false" ref="cncrdetl" type="output" maxlength="3" style="text-align:left; "/>
  95. <col ref="antichem" type="output"/>
  96. <col ref="drugtrgt" type="output"/>
  97. <col ref="drugstage" type="output"/>
  98. <col ref="drugregm" type="output"/>
  99. <col ref="paydetl" type="output"/>
  100. <col ref="etcdetl" type="output"/>
  101. <col ref="fromdd" type="output" format="yyyy-mm-dd" maxlength="8"/>
  102. <col ref="todd" type="output" format="yyyy-mm-dd" maxlength="8"/>
  103. <col ref="fstrgstrid" type="output" style="text-align:center; "/>
  104. <col ref="fstrgstdt" type="output" format="yyyy-mm-dd hh:nn"/>
  105. <col ref="lastupdtrid" style="text-align:center; "/>
  106. <col ref="lastupdtdt" visibility="visible" format="yyyy-mm-dd hh:nn"/>
  107. <col ref="flag"/>
  108. <col ref="pid" visibility="hidden"/>
  109. <col ref="execdd" visibility="hidden"/>
  110. <col ref="ioflag" visibility="hidden"/>
  111. <script type="javascript" ev:event="xforms-value-changed">
  112. <![CDATA[
  113. var rowno = grd_dpcdlist.row;
  114. if (grd_dpcdlist.valueMatrix(rowno, grd_dpcdlist.colRef("flag")) == "I" && grd_dpcdlist.rowStatus(rowno) == 2) {
  115. grd_dpcdlist.rowStatus(rowno) = 1
  116. } else if (grd_dpcdlist.valueMatrix(rowno, grd_dpcdlist.colRef("flag")) == "U" && grd_dpcdlist.rowStatus(rowno) == 2){
  117. grd_dpcdlist.rowStatus(rowno) = 4
  118. } else {
  119. grd_dpcdlist.rowStatus(rowno) = 0
  120. }
  121. ]]>
  122. </script>
  123. </datagrid>
  124. <caption id="cap_judgtrgtman" class="tit_2" style="left:4px; top:56px; width:234px; height:15px; ">사전신청요법기준 리스트</caption>
  125. <line id="line1" class="line_1" style="x1:0px; y1:72px; x2:1160px; y2:72px; "/>
  126. <group id="group1" style="left:0px; top:5px; width:1160px; height:40px; vertical-align:top; ">
  127. <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:1160px; height:40px; "/>
  128. <button id="btn_select" class="btn1_letter2" navindex="32" visibility="hidden" style="left:1095px; top:10px; width:56px; height:22px; ">
  129. <caption>조회</caption>
  130. <script type="javascript" ev:event="DOMActivate">
  131. <![CDATA[
  132. fGetDocuList();
  133. ]]>
  134. </script>
  135. </button>
  136. <caption id="caption30" class="search_name" style="left:8px; top:11px; width:87px; height:17px; ">환자번호:</caption>
  137. <input id="ipt_diagcd" ref="/root/send/pid" disabled="true" style="left:100px; top:10px; width:100px; height:19px; "/>
  138. <caption id="caption1" class="search_name" style="left:223px; top:11px; width:87px; height:17px; ">내원구분:</caption>
  139. <caption id="caption2" class="search_name" style="left:413px; top:11px; width:112px; height:17px; ">시행일 :</caption>
  140. <input id="input2" ref="/root/send/execdd" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:490px; top:10px; width:115px; height:19px; "/>
  141. <select1 id="combo1" ref="/root/send/ioflag" disabled="true" appearance="minimal" style="left:310px; top:10px; width:75px; height:19px; ">
  142. <choices>
  143. <itemset nodeset="/root/init/genrflagcd/M0010">
  144. <label ref="cdnm"/>
  145. <value ref="cdid"/>
  146. </itemset>
  147. </choices>
  148. </select1>
  149. </group>
  150. <button id="button1" class="btn5_letter2" _auth="P" style="left:1115px; top:53px; width:42px; height:19px; ">
  151. <caption>저장</caption>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. var updtdata = getGridUpdateData(grd_dpcdlist);
  155. if (updtdata == "") {
  156. messageBox("변경된 데이터가","I004");
  157. return;
  158. }
  159. if (messageBox("저장", "S001") == 6) {
  160. model.setValue("/root/send/dpcdlist",grd_dpcdlist.getUpdateData());
  161. if ( submit("TXPPI01002") ) {
  162. messageBox("저장이","I002");
  163. }
  164. }
  165. window.close();
  166. ]]>
  167. </script>
  168. </button>
  169. </group>
  170. </xhtml:body>
  171. </xhtml:html>