SMPIS01400_진료확인번호.xrw 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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. <init>
  10. <clamdg/>
  11. <clamdglist>
  12. <clamdgnm/>
  13. <clamdgcd/>
  14. </clamdglist>
  15. </init>
  16. <send>
  17. <ioflag>I</ioflag>
  18. <clamym/>
  19. <clamdg/>
  20. </send>
  21. <main>
  22. <grdlist>
  23. <clamym/>
  24. <clamdg/>
  25. <pid/>
  26. <pidsn/>
  27. <ioflag/>
  28. <patnm/>
  29. </grdlist>
  30. </main>
  31. <tmp/>
  32. </root>
  33. </instance>
  34. <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/clamdg"/>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. // 화면 초기화
  38. //fInitialize();
  39. ipt_clamym.value = getCurrentDate().substring(0,6);
  40. model.setValue(ipt_clamym.attribute('ref'), getCurrentDate().substring(0,6));
  41. ipt_clamym.dispatch("xforms-value-changed");
  42. ]]>
  43. </script>
  44. <!-- submission -->
  45. <submission id="TRPIS01400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grdlist"/>
  46. <submission id="TXPIS01400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmp"/>
  47. </model>
  48. <!-- js import -->
  49. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  55. <script type="javascript">
  56. <![CDATA[
  57. // 청구년월 함수
  58. function pidfGetClamdg() {
  59. model.removeNodeset("/root/init/clamdg");
  60. model.makeNode("/root/init/clamdg");
  61. submit("TRPID20407");
  62. model.copyNode("/root/init/clamdgfrom","/root/init/clamdg");
  63. cmb_clamdgfrom.refresh();
  64. cmb_clamdgfrom.select(0);
  65. cmb_clamdgfrom.dispatch("xforms-value-changed");
  66. // model.setValue("/root/send/clamym",model.getValue("/root/send/clamymto"));
  67. // submit("TRPID20407");
  68. // model.copyNode("/root/init/clamdgto","/root/init/clamdg");
  69. }
  70. function fSearch() {
  71. if (rdo_ioflag.value == 'A' ) {
  72. messageBox("내원유형을 선택하세요", "I");
  73. return;
  74. }
  75. if (ipt_clamym.value == '' ) {
  76. messageBox("청구년월을 선택하세요", "I");
  77. return;
  78. }
  79. if (cmb_clamdgfrom.value == '' ) {
  80. messageBox("청구차수를 선택하세요", "I");
  81. return;
  82. }
  83. submit("TRPIS01400");
  84. }
  85. ]]>
  86. </script>
  87. </xhtml:head>
  88. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1214;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  89. <!-- TITLE -->
  90. <group id="group1" style="left:0px; top:0px; width:1190px; height:13px; ">
  91. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:176px; height:14px; ">진료확인번호 일괄주석입력</caption>
  92. </group>
  93. <!-- 전체 그룹 -->
  94. <group id="group2" scroll="no" style="left:0px; top:23px; width:1190px; height:732px; ">
  95. <!-- 조회조건 -->
  96. <group id="group3" style="left:0px; top:0px; width:1190px; height:45px; vertical-align:top; ">
  97. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1190px; height:35px; "/>
  98. <line id="line1" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:32px; "/>
  99. <button id="btn_search" class="btn1_letter2" navindex="2" style="left:1118px; top:7px; width:56px; height:22px; ">
  100. <caption>조회</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. fSearch();
  104. ]]>
  105. </script>
  106. </button>
  107. <caption id="caption3" class="search_name" style="left:5px; top:10px; width:76px; height:17px; ">내원유형</caption>
  108. <caption id="caption2" class="search_name" style="left:190px; top:10px; width:105px; height:17px; ">청구년월</caption>
  109. <caption id="caption4" class="search_name" style="left:475px; top:10px; width:105px; height:17px; ">청구차수</caption>
  110. <input id="ipt_clamym" ref="/root/send/clamym" class="input_default" inputtype="date" format="yyyy-mm" style="left:280px; top:10px; width:190px; height:19px; ">
  111. <script type="javascript" ev:event="xforms-value-changed">
  112. <![CDATA[
  113. pidfGetClamdg();
  114. ]]>
  115. </script>
  116. </input>
  117. <select1 id="cmb_clamdgfrom" ref="/root/send/clamdg" class="combo_default" appearance="minimal" style="left:565px; top:10px; width:190px; height:19px; ">
  118. <choices>
  119. <itemset nodeset="/root/init/clamdg/clamdglist">
  120. <label ref="clamdgnm"/>
  121. <value ref="clamdgcd"/>
  122. </itemset>
  123. </choices>
  124. <script type="javascript" ev:event="xforms-value-changed">
  125. <![CDATA[
  126. fSearch();
  127. ]]>
  128. </script>
  129. </select1>
  130. <select1 id="rdo_ioflag" ref="/root/send/ioflag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:90px; top:10px; width:100px; height:20px; border-style:none; ">
  131. <choices>
  132. <item>
  133. <label>입원</label>
  134. <value>I</value>
  135. </item>
  136. <item>
  137. <label>외래</label>
  138. <value>O</value>
  139. </item>
  140. </choices>
  141. <script type="javascript" ev:event="xforms-value-changed">
  142. <![CDATA[
  143. ipt_clamym.dispatch("xforms-value-changed");
  144. ]]>
  145. </script>
  146. </select1>
  147. </group>
  148. <caption id="caption8" class="tit_2" style="left:0px; top:45px; width:113px; height:13px; ">일괄주석 리스트</caption>
  149. <datagrid id="grd_outjudg" nodeset="/root/main/grdlist" class="datagrid2" caption="청구년월^청구차수^환자번호^순번^내원유형^환자명^진료확인번호" colsep="^" colwidth="113, 158, 118, 167, 186, 187, 209" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:65px; width:1190px; height:650px; ">
  150. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  151. <col ref="clamdg" style="text-align:center; "/>
  152. <col ref="pid" type="input" style="text-align:center; "/>
  153. <col ref="pidsn" format="yyyy-mm-dd" style="text-align:center; "/>
  154. <col disabled="true" ref="ioflag" type="combo" format="yyyy-mm-dd" style="text-align:center; ">
  155. <choices>
  156. <item>
  157. <label>입원</label>
  158. <value>I</value>
  159. </item>
  160. <item>
  161. <label>외래</label>
  162. <value>O</value>
  163. </item>
  164. </choices>
  165. </col>
  166. <col ref="patnm" style="text-align:center; "/>
  167. <col ref="ordcnfmno" type="input" style="text-align:center; "/>
  168. </datagrid>
  169. <button id="button3" class="btn5_letter2" style="left:1145px; top:45px; width:42px; height:19px; ">
  170. <caption>저장</caption>
  171. <script type="javascript" ev:event="DOMActivate">
  172. <![CDATA[
  173. if (rdo_ioflag.value == 'A' ) {
  174. messageBox("내원유형을 선택하세요", "I");
  175. return;
  176. }
  177. if (ipt_clamym.value == '' ) {
  178. messageBox("청구년월을 선택하세요", "I");
  179. return;
  180. }
  181. if (cmb_clamdgfrom.value == '' ) {
  182. messageBox("청구차수를 선택하세요", "I");
  183. return;
  184. }
  185. if ( messageBox("","Q002")==6 ) {
  186. submit("TXPIS01400");
  187. fSearch();
  188. }
  189. ]]>
  190. </script>
  191. </button>
  192. </group>
  193. </xhtml:body>
  194. </xhtml:html>