SPPAO00103_진찰료발생관리.xrw 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>진찰료 산정 여부 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <init>
  10. </init>
  11. <main>
  12. <otptlist>
  13. <otptinfo>
  14. <pid/>
  15. <hngnm/>
  16. <orddd/>
  17. <ordtm/>
  18. <cretno/>
  19. <orddeptcd/>
  20. <orddeptnm/>
  21. <orddrid/>
  22. <orddrnm/>
  23. <jobkindnm/>
  24. <diaginfo/>
  25. <fsexamflag/>
  26. <fsexamflagnm/>
  27. <medamtestmyn/>
  28. <medamtestmyn_org/>
  29. <specordyn/>
  30. <specordyn_org/>
  31. <specordyn_usrd/>
  32. </otptinfo>
  33. </otptlist>
  34. </main>
  35. <send>
  36. <srch>
  37. <pid/>
  38. </srch>
  39. <save/>
  40. </send>
  41. <temp>
  42. <rslt>
  43. <cnt/>
  44. </rslt>
  45. </temp>
  46. <paminfo/>
  47. </root>
  48. </instance>
  49. <submission id="TRPMO00141" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" resultref="/root/main/otptlist/otptinfo"/>
  50. <submission id="TXPMO00141" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/otptlist/otptinfo" resultref="/root/temp/rslt"/>
  51. </model>
  52. <script type="javascript">
  53. <![CDATA[
  54. ]]>
  55. </script>
  56. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  59. <script type="javascript" ev:event="xforms-ready">
  60. <![CDATA[
  61. var sPid = opener.javascript.getParameter("SPPAO00103_PID");
  62. if (!isNull(sPid)) {
  63. model.setValue("/root/send/srch/pid", sPid);
  64. ipt_pid.refresh();
  65. btn_search.dispatch("DOMActivate");
  66. opener.javascript.setParameter("SPPAO00103_PID", "");
  67. } else {
  68. var pamInfoCvs = getGlobalVariable("paminfo"); //상단정보가 있을 경우는 검색
  69. if(pamInfoCvs != null){ //cvs가 null이 아닌 경우에만 처리함.
  70. model.removeNodeSet ( "/root/paminfo/list" );
  71. setCSVToNode ( "/root/paminfo", pamInfoCvs );
  72. sPid = model.getValue ( "/root/paminfo/list/pid" );
  73. model.setValue("/root/send/srch/pid", sPid);
  74. ipt_pid.refresh();
  75. btn_search.dispatch("DOMActivate");
  76. }
  77. }
  78. ]]>
  79. </script>
  80. </xhtml:head>
  81. <xhtml:body pageheight="530" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  82. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:155px; height:13px; font-family:돋움; vertical-align:middle; ">진찰료 산정 여부 관리</caption>
  83. <caption id="caption7" class="tit_2" style="left:0px; top:70px; width:110px; height:13px; font-weight:bold; ">외래 접수 내역</caption>
  84. <button id="btn_rgst" class="btn4_letter6" style="left:1091px; top:495px; width:104px; height:22px; ">
  85. <caption>변경사항저장</caption>
  86. <script type="javascript" ev:event="DOMActivate">
  87. <![CDATA[
  88. submit("TXPMO00141");
  89. var cnt = parseInt(model.getValue("/root/temp/rslt/cnt"));
  90. if (cnt > 0) {
  91. messageBox("[ " + cnt + " ] 건이 변경되었습니다.", "I999");
  92. btn_search.dispatch("DOMActivate");
  93. } else {
  94. messageBox("변경된 내역이 없습니다.", "E999");
  95. }
  96. ]]>
  97. </script>
  98. </button>
  99. <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:1195px; y2:85px; "/>
  100. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1195px; height:41px; background-color:#fffbf2; border-color:#ffd799; "/>
  101. <caption id="caption35" class="search_name" style="left:5px; top:33px; width:86px; height:17px; ">등록번호 :</caption>
  102. <button id="btn_search" class="btn1_letter2" navindex="6" style="left:1130px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  103. <caption>조회</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. if (model.getValue("/root/send/srch/pid") == "") {
  107. messageBox("등록번호를 입력해 주십시오.", "C999");
  108. return;
  109. }
  110. submit("TRPMO00141");
  111. var cnt = instance1.selectNodes("/root/main/otptlist/otptinfo").length;
  112. for (var i = 1; i <= cnt; i++) {
  113. if (model.getValue("/root/main/otptlist/otptinfo[" + i + "]/specordyn_usrd") != "Y") {
  114. grd_otpt.cellAttribute("disabled", i, grd_otpt.colRef("specordyn")) = "true";
  115. grd_otpt.cellStyle("color", i, grd_otpt.colRef("specordyn")) = "gray";
  116. } else {
  117. grd_otpt.cellAttribute("disabled", i, grd_otpt.colRef("specordyn")) = "false";
  118. grd_otpt.cellStyle("color", i, grd_otpt.colRef("specordyn")) = "black";
  119. }
  120. }
  121. ]]>
  122. </script>
  123. </button>
  124. <line id="line13" style="x1:1115px; y1:30px; x2:1115px; y2:55px; border-color:#FFD799; border-left-style:solid; "/>
  125. <datagrid id="grd_otpt" nodeset="/root/main/otptlist/otptinfo" caption="등록번호^환자명^진료일시^진료일시^진료과^진료의^직종^진단명^초/재진여부^진찰료산정여부^선택진료여부" colsep="^" colwidth="55, 60, 75, 40, 100, 60, 120, 380, 75, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:90px; width:1195px; height:400px; text-align:center; ">
  126. <col ref="pid"/>
  127. <col ref="hngnm"/>
  128. <col ref="orddd" format="yyyy-mm-dd"/>
  129. <col ref="ordtm" format="hh:nn"/>
  130. <col ref="orddeptnm"/>
  131. <col ref="orddrnm"/>
  132. <col ref="jobkindnm"/>
  133. <col ref="diaginfo" style="text-align:left; padding-left:1; "/>
  134. <col ref="fsexamflagnm"/>
  135. <col checkvalue="Y,N" ref="medamtestmyn" type="checkbox"/>
  136. <col ref="specordyn" type="combo">
  137. <choices>
  138. <item>
  139. <label>산정</label>
  140. <value>Y</value>
  141. </item>
  142. <item>
  143. <label>미산정</label>
  144. <value>N</value>
  145. </item>
  146. <item>
  147. <label>진찰료미산정</label>
  148. <value>S</value>
  149. </item>
  150. </choices>
  151. </col>
  152. <script type="javascript" ev:event="xforms-value-changed">
  153. <![CDATA[
  154. if (grd_otpt.col != grd_otpt.colRef("medamtestmyn")) {
  155. return;
  156. }
  157. var path = "/root/main/otptlist/otptinfo[" + grd_otpt.row + "]/";
  158. // 진찰료 산정 여부가 체크되지 않으면 선택 진료도 체크 해제
  159. if (model.getValue(path + "medamtestmyn") != "Y") {
  160. model.setValue(path + "specordyn", "N");
  161. grd_otpt.refresh();
  162. }
  163. ]]>
  164. </script>
  165. </datagrid>
  166. <input id="ipt_pid" ref="/root/send/srch/pid" class="input_search" style="left:95px; top:32px; width:70px; height:19px; font-weight:bold; ">
  167. <script type="javascript" ev:event="onkeypress">
  168. <![CDATA[
  169. if(event.keyCode == "13") {
  170. inputEnterKey("btn_search", "DOMActivate");
  171. }
  172. ]]>
  173. </script>
  174. </input>
  175. <caption id="caption1" style="left:180px; top:32px; width:464px; height:20px; font-weight:bold; ">※ [진찰료산정여부] 변경 후, [선택진료여부] 항목도 함께 확인해 주십시오.</caption>
  176. <caption id="caption3" style="left:742px; top:65px; width:453px; height:19px; ">※ 해당 진료의가 선택 진료의가 아니면 [선택진료여부]가 회색 글자로 표시됩니다.</caption>
  177. <caption id="caption2" style="left:640px; top:32px; width:392px; height:20px; ">( 체크를 해제하면 선택 진료 여부는 자동으로 미산정으로 변경됩니다. )</caption>
  178. </xhtml:body>
  179. </xhtml:html>