SPMMB00100_진료대상자.xrw 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <main>
  10. <info>
  11. <concslippatlist>
  12. <orddept/>
  13. <pid/>
  14. <hngnm/>
  15. <sa/>
  16. </concslippatlist>
  17. </info>
  18. <cond>
  19. <fromdd/>
  20. <todd/>
  21. <kindflag>P</kindflag>
  22. <srchkind>1</srchkind>
  23. <concsliplist/>
  24. </cond>
  25. </main>
  26. <send>
  27. <reqdata/>
  28. </send>
  29. <init>
  30. <initdate>
  31. <today/>
  32. </initdate>
  33. <msrght>
  34. <mouserght>
  35. </mouserght>
  36. </msrght>
  37. <srchcond1>1</srchcond1>
  38. <concsliplist/>
  39. </init>
  40. </root>
  41. </instance>
  42. <submission id="TRMMB00101" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/concsliplist"/>
  43. <script type="javascript" ev:event="xforms-ready">
  44. <![CDATA[
  45. fInitialize();
  46. model.removeNodeset("/root/main/info/concpatlist");
  47. model.refresh();
  48. ]]>
  49. </script>
  50. <submission id="TRMMB00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/info"/>
  51. </model>
  52. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  55. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  56. <script type="javascript">
  57. <![CDATA[
  58. function fInitialize() {
  59. //관심슬립콤보 아이템추가
  60. submit("TRMMB00101");
  61. addComboItem("cmb_concslip","","","above");
  62. var today = getCurrentDate();
  63. var idate = new Date();
  64. var peveDate = idate.getAddDate(-1, "M");
  65. model.setValue("/root/init/initdate/today", today);
  66. model.makeValue("/root/send/cond/trgtmancnt", "I");
  67. model.makeValue("/root/send/cond/fromdd", peveDate.getDateFormat());
  68. model.makeValue("/root/send/cond/todd", today);
  69. model.setValue("/root/main/cond/fromdd", peveDate.getDateFormat());
  70. model.setValue("/root/main/cond/todd", today);
  71. }
  72. /*===============================================================================
  73. @desc : 관심슬립대상자 조회
  74. ===============================================================================*/
  75. function fGetConcSlipPatList(){
  76. model.makeNode("/root/send/cond");
  77. model.copyNode("/root/send/reqdata", "/root/main/cond");
  78. submit("TRMMB00102");
  79. model.refresh();
  80. }
  81. ]]>
  82. </script>
  83. </xhtml:head>
  84. <xhtml:body overflow="hidden" pagewidth="315" pageheight="650" guideline="1,392;1,334;">
  85. <shape id="roundrect5" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:7px; top:5px; width:303px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
  86. <button id="button1" class="btn1_letter2" style="left:250px; top:49px; width:56px; height:22px; ">
  87. <caption>조회</caption>
  88. <script type="javascript" ev:event="DOMActivate">
  89. <![CDATA[
  90. fGetConcSlipPatList();
  91. ]]>
  92. </script>
  93. </button>
  94. <datagrid id="grd_bfprcplist" nodeset="/root/main/info/concslippatlist" caption="^등록번호^이름^S/A" colsep="^" colwidth="68, 76, 100, 55" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" tooltip="true" style="left:6px; top:85px; width:304px; height:535px; ">
  95. <col ref="orddept"/>
  96. <col ref="pid" style="text-align:center; "/>
  97. <col ref="hngnm"/>
  98. <col ref="sa" style="text-align:center; "/>
  99. </datagrid>
  100. <line id="line1" class="line_1" style="x1:6px; y1:80px; x2:310px; y2:80px; "/>
  101. <caption id="caption3" class="search_name" style="left:12px; top:51px; width:80px; height:17px; ">검색구분</caption>
  102. <button id="button27" class="btn3_letter6" style="left:194px; top:626px; width:104px; height:22px; ">
  103. <caption>관심슬립관리</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. var xpt = window.screenleft;
  107. var ypt = window.screentop;
  108. modal ("SPMMO08600", 20, xpt + 15, ypt+33);
  109. ]]>
  110. </script>
  111. </button>
  112. <caption id="caption1" class="search_name" style="left:12px; top:11px; width:92px; height:17px; ">조회기간 :</caption>
  113. <caption id="caption2" class="search_name" style="left:12px; top:31px; width:92px; height:17px; ">분류구분 :</caption>
  114. <input id="input1" ref="/root/main/cond/fromdd" inputtype="date" style="left:100px; top:10px; width:85px; height:19px; "/>
  115. <input id="input2" ref="/root/main/cond/todd" inputtype="date" style="left:215px; top:10px; width:85px; height:19px; "/>
  116. <caption id="caption4" style="left:194px; top:10px; width:15px; height:20px; ">~</caption>
  117. <select1 id="cmb_concslip" ref="/root/main/cond/concsliplist" class="combo_search" visibility="hidden" appearance="minimal" style="left:175px; top:50px; width:70px; height:19px; ">
  118. <choices>
  119. <itemset nodeset="/root/init/concsliplist/concsliplist">
  120. <label ref="slipnm"/>
  121. <value ref="slipno"/>
  122. </itemset>
  123. </choices>
  124. </select1>
  125. <select1 id="cmb_kind" ref="/root/main/cond/srchkind" class="combo_search" appearance="minimal" style="left:91px; top:50px; width:80px; height:19px; ">
  126. <choices>
  127. <item>
  128. <label>입원</label>
  129. <value>1</value>
  130. </item>
  131. <item>
  132. <label>외래</label>
  133. <value>2</value>
  134. </item>
  135. <item>
  136. <label>관심슬립</label>
  137. <value>3</value>
  138. </item>
  139. <item>
  140. <label>프로토콜</label>
  141. <value>4</value>
  142. </item>
  143. </choices>
  144. <script type="javascript" ev:event="xforms-value-changed">
  145. <![CDATA[
  146. if(cmb_kind.value == "1"){
  147. grd_bfprcplist.textMatrix(0,0) = "병실"
  148. } else if(cmb_kind.value == "2"){
  149. grd_bfprcplist.textMatrix(0,0) = "내원"
  150. }
  151. if(cmb_kind.value == "3"){
  152. cmb_concslip.visible = "true"
  153. } else {
  154. cmb_concslip.visible = "false"
  155. }
  156. model.refresh();
  157. ]]>
  158. </script>
  159. </select1>
  160. <select1 id="rdo_kind" ref="/root/main/cond/kindflag" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:105px; top:30px; width:105px; height:20px; font-weight:bold; border-style:none; ">
  161. <choices>
  162. <item>
  163. <label>개인</label>
  164. <value>P</value>
  165. </item>
  166. <item>
  167. <label>과</label>
  168. <value>D</value>
  169. </item>
  170. </choices>
  171. </select1>
  172. </xhtml:body>
  173. </xhtml:html>