SMPMC06506_선택진료신청누락조회.xrw 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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. <![CDATA[]]>
  6. <xhtml:title>선택진료신청누락조회</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <patinfolist/>
  12. </main>
  13. <send>
  14. <cond>
  15. <ordtype>I</ordtype>
  16. <fromdd/>
  17. <todd/>
  18. <orddeptcd/>
  19. <returnyn>N</returnyn>
  20. <specamtyn>Y</specamtyn>
  21. </cond>
  22. </send>
  23. <hidden>
  24. <orddrid/>
  25. <specdrid/>
  26. </hidden>
  27. <init>
  28. <orddeptcd/>
  29. <orddrid/>
  30. <wardcd/>
  31. </init>
  32. <temp/>
  33. </root>
  34. </instance>
  35. <submission id="TRPMC06550" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" resultref="/root/init"/>
  36. <submission id="TRPMC06516" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/patinfolist"/>
  37. </model>
  38. <script type="javascript" src="../../pamcomnweb/js/PAM.js"/>
  39. <script type="javascript" src="../../pamcomnweb/js/PAM001.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  44. <script type="javascript" ev:event="xforms-ready">
  45. <![CDATA[
  46. fInit();
  47. ]]>
  48. </script>
  49. <script type="javascript">
  50. <![CDATA[
  51. function fSearch() {
  52. // 일자기간 조건 체크
  53. if (getDateInterval(model.getValue("/root/send/cond/fromdd"), model.getValue("/root/send/cond/todd")) > 7) {
  54. messageBox("시스템부하방지를 위하여 검색기간은 최대 7일 이내로 설정 해주십시요. ", "C000");
  55. return;
  56. }
  57. submit("TRPMC06516");
  58. }
  59. function fInit() {
  60. submit("TRPMC06550");
  61. addComboItem("cmb_specdeptcd", "전체","", "above");
  62. var sDate = getNewDate().getAddDate(-7, "D")
  63. var rtnDate = sDate.getFullYear();
  64. rtnDate = rtnDate.toString() + (( sDate.getMonth() + 1 > 9 ) ? sDate.getMonth() + 1 : "0" + (sDate.getMonth() + 1));
  65. rtnDate = rtnDate.toString() + (( sDate.getDate() > 9 ) ? sDate.getDate() : "0" + sDate.getDate()) ;
  66. model.setValue("/root/send/cond/fromdd", rtnDate);
  67. model.setValue("/root/send/cond/todd", getCurrentDate())
  68. model.setValue("/root/send/cond/ordtype", "I");
  69. model.setValue("/root/send/cond/orddeptcd", "");
  70. model.setValue("/root/send/cond/returnyn", "N");
  71. model.setValue("/root/send/cond/specamtyn", "Y");
  72. model.resetInstanceNode("/root/main/patinfolist");
  73. model.refresh();
  74. }
  75. ]]>
  76. </script>
  77. </xhtml:head>
  78. <xhtml:body pagewidth="960" pageheight="780" style="margin-left:8; margin-top:0; margin-right:0; margin-bottom:0; ">
  79. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:300px; height:14px; ">선택진료신청 누락조회</caption>
  80. <line id="line48" class="line_1" style="x1:0px; y1:120px; x2:940px; y2:120px; "/>
  81. <caption id="caption38" class="tit_2" style="left:5px; top:103px; width:209px; height:14px; ">선택진료신청서 누락환자 리스트</caption>
  82. <!-- 선택진료의사 정보 입력, 수정방법을 변경하기 위해 존재, 사용인스턴스 : /root/main/patappinfolist, /root/hidden/patappinfolist -->
  83. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:940px; height:70px; "/>
  84. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:870px; top:45px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  85. <caption>조회</caption>
  86. <script type="javascript" ev:event="DOMActivate">
  87. <![CDATA[
  88. fSearch();
  89. ]]>
  90. </script>
  91. </button>
  92. <caption id="caption1" class="search_name" style="left:12px; top:30px; width:90px; height:17px; ">진료구분</caption>
  93. <select1 id="radio1" ref="/root/send/cond/ordtype" navindex="1" appearance="full" cols="2" overflow="visible" style="left:125px; top:30px; width:90px; height:20px; border-style:none; ">
  94. <choices>
  95. <item>
  96. <label>입원</label>
  97. <value>I</value>
  98. </item>
  99. <item>
  100. <label>외래</label>
  101. <value>O</value>
  102. </item>
  103. </choices>
  104. </select1>
  105. <caption id="caption3" class="search_name" style="left:605px; top:30px; width:102px; height:17px; ">선택진료과</caption>
  106. <input id="ipt_ordddfrom" ref="/root/send/cond/fromdd" class="input_s_essential" navindex="2" inputtype="date" style="left:375px; top:30px; width:95px; height:19px; text-align:center; "/>
  107. <caption id="caption7" class="search_name" style="left:242px; top:30px; width:114px; height:17px; ">진료(입원)일자</caption>
  108. <input id="ipt_ordddto" ref="/root/send/cond/todd" class="input_s_essential" navindex="3" inputtype="date" style="left:495px; top:30px; width:95px; height:19px; text-align:center; "/>
  109. <caption id="caption10" style="left:475px; top:30px; width:15px; height:20px; text-align:center; ">~</caption>
  110. <select1 id="cmb_specdeptcd" ref="/root/send/cond/orddeptcd" navindex="4" appearance="minimal" style="left:705px; top:30px; width:140px; height:19px; text-align:left; ">
  111. <choices>
  112. <itemset nodeset="/root/init/orddeptcd">
  113. <label ref="nm"/>
  114. <value ref="cd"/>
  115. </itemset>
  116. </choices>
  117. <script type="javascript" ev:event="xforms-value-changed">
  118. <![CDATA[
  119. ]]>
  120. </script>
  121. </select1>
  122. <datagrid id="grd_spif" nodeset="/root/main/patinfolist" class="grd_sasm" caption="환자번호^환자성명^구분^진료(입원)일자^시작일자^종료일자^진료과^진료의^선택의" colsep="^" colwidth="77, 90, 79, 100, 100, 100, 200, 91, 61" ellipsis="true" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:125px; width:940px; height:610px; font-weight:normal; ">
  123. <col ref="pid" style="text-align:center; "/>
  124. <col ref="hngnm" style="text-align:center; "/>
  125. <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
  126. <choices>
  127. <item>
  128. <label>입원</label>
  129. <value>I</value>
  130. </item>
  131. <item>
  132. <label>외래</label>
  133. <value>O</value>
  134. </item>
  135. <item>
  136. <label>DSC</label>
  137. <value>D</value>
  138. </item>
  139. <item>
  140. <label>CHEMO</label>
  141. <value>C</value>
  142. </item>
  143. <item>
  144. <label>응급실</label>
  145. <value>E</value>
  146. </item>
  147. </choices>
  148. </col>
  149. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  150. <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  151. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  152. <col ref="orddeptnm" style="text-align:center; "/>
  153. <col ref="orddrnm" style="text-align:center; "/>
  154. <col ref="specordyn" style="text-align:center; "/>
  155. <script type="javascript" ev:event="ondblclick">
  156. <![CDATA[
  157. var curRow = grd_spif.row;
  158. if ( curRow > 0 ) {
  159. var sPid = model.getValue("/root/main/patinfolist["+curRow+"]/pid");
  160. // 오프너 체크
  161. if (checkOpener()) {
  162. var sOrdType = "";
  163. // 진료구분 DSC / CHEMO는 입원으로 변경해준다.
  164. if (model.getValue("/root/main/patinfolist["+curRow+"]/ordtype") == "O") {
  165. sOrdType = "O";
  166. } else {
  167. sOrdType = "I";
  168. }
  169. opener.model.setValue("/root/send/cond/pid", sPid); // 차트번호
  170. opener.model.setValue("/root/send/cond/ioflag", sOrdType); // 진료구분
  171. opener.model.setValue("/root/send/cond/scanyn", "A"); // 스캔여부 : 전체
  172. opener.model.setValue("/root/send/cond/ordddfrom", ""); // 진료기간 : none
  173. opener.model.setValue("/root/send/cond/ordddto", "");
  174. opener.javascript.fSearch();
  175. } else {
  176. messageBox("선택진료신청관리창이 닫히거나 변경되었습니다. 확인하시기 바랍니다.", "C000");
  177. }
  178. } else {
  179. messageBox("환자가 선택되지 않았습니다.", "");
  180. }
  181. ]]>
  182. </script>
  183. <script type="javascript" ev:event="onbeforesort">
  184. <![CDATA[
  185. grd_spif.gridToInstance();
  186. ]]>
  187. </script>
  188. </datagrid>
  189. <button id="button17" class="btn4_letter3" navindex="8" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:870px; top:740px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  190. <caption>초기화</caption>
  191. <script type="javascript" ev:event="DOMActivate">
  192. <![CDATA[
  193. fInit();
  194. ]]>
  195. </script>
  196. </button>
  197. <caption id="caption2" class="search_name" style="left:10px; top:60px; width:102px; height:17px; ">제출확인여부</caption>
  198. <select1 id="radio2" ref="/root/send/cond/returnyn" navindex="5" appearance="full" cols="2" overflow="visible" style="left:125px; top:60px; width:100px; height:20px; border-style:none; ">
  199. <choices>
  200. <item>
  201. <label>확인</label>
  202. <value>Y</value>
  203. </item>
  204. <item>
  205. <label>미확인</label>
  206. <value>N</value>
  207. </item>
  208. </choices>
  209. </select1>
  210. <caption id="caption4" class="search_name" style="left:240px; top:60px; width:141px; height:17px; ">선택진료비발생여부</caption>
  211. <select1 id="radio3" ref="/root/send/cond/specamtyn" navindex="6" appearance="full" cols="2" overflow="visible" style="left:390px; top:60px; width:100px; height:20px; border-style:none; ">
  212. <choices>
  213. <item>
  214. <label>발생</label>
  215. <value>Y</value>
  216. </item>
  217. <item>
  218. <label>미발생</label>
  219. <value>N</value>
  220. </item>
  221. </choices>
  222. </select1>
  223. <caption id="caption8" style="left:25px; top:740px; width:710px; height:20px; color:#ff0000; ">* 환자정보 더블클릭하면 선택진료신청조회화면과 연동됩니다. (선택진료신청조회화면이 다른 화면으로 변경된 경우에는 연동불가)</caption>
  224. </xhtml:body>
  225. </xhtml:html>