SMMND05300_재원환자리스트.xrw 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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>HD work list</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <workdd/>
  12. </cond>
  13. <hdworklistinfo>
  14. <hdworklist>
  15. <matnflag/>
  16. <dialflag/>
  17. <pid/>
  18. <hngnm/>
  19. <sexage/>
  20. <indd/>
  21. <wardcdnm/>
  22. <roomnm/>
  23. <orddeptnm/>
  24. <atdoctnm/>
  25. </hdworklist>
  26. </hdworklistinfo>
  27. <wardpatinfo>
  28. <settingrn>
  29. <settingrnnm/>
  30. <settingrnid/>
  31. </settingrn>
  32. </wardpatinfo>
  33. </main>
  34. <send>
  35. </send>
  36. <hidden>
  37. </hidden>
  38. <cmn>
  39. <M0083list>
  40. </M0083list>
  41. <M0345list>
  42. </M0345list>
  43. </cmn>
  44. <init/>
  45. </root>
  46. </instance>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. model.removenode('/root/main/cond');
  50. model.makeValue('/root/main/cond/workdd' , getCurrentDate()); //업무일자
  51. //그리드 노드 초기화
  52. model.removenode('/root/main/hdworklistinfo');
  53. model.makenode('/root/main/hdworklistinfo');
  54. btn_Query.dispatch("DOMActivate");
  55. model.refresh();
  56. ]]>
  57. </script>
  58. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  59. <submission id="TRMND01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/hdworklistinfo"/>
  60. </model>
  61. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  64. <script type="javascript" src="../../../com/departmentcodeweb/js/common.js"/>
  65. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  66. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  67. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  68. <script type="javascript" src="../../../emr/dialroomweb/js/SMMND03400.js"/>
  69. </xhtml:head>
  70. <xhtml:body pagewidth="615" pageheight="650" guideline="1,669;1,1157;1,661;2,784;1,602;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  71. <group id="group1" style="left:0px; top:0px; width:500px; height:15px; ">
  72. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:215px; height:15px; ">재원 중인 투석환자리스트</caption>
  73. </group>
  74. <group id="group3" scroll="auto" style="left:0px; top:15px; width:590px; height:610px; ">
  75. <group id="group2" style="left:0px; top:5px; width:590px; height:50px; vertical-align:top; ">
  76. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:585px; height:45px; background-color:#fffbf2; border-color:#ffd799; "/>
  77. <button id="btn_Query" class="btn1_letter2" style="left:505px; top:10px; width:56px; height:22px; ">
  78. <caption>조회</caption>
  79. <script type="javascript" ev:event="DOMActivate">
  80. <![CDATA[
  81. //조건변수
  82. var workdd = model.getValue('/root/main/cond/workdd'); //업무일자
  83. //null 처리
  84. if(workdd == null){
  85. workdd = '';
  86. }
  87. //send parameter 설정
  88. model.removenode('/root/send');
  89. model.makeValue('/root/send/workdd', workdd);
  90. var startdd = workdd.toDate().getAddDate(-4,"D").getDateFormat("YYYYMMDD");
  91. //alert("startdd = " + startdd);
  92. model.makeValue('/root/send/startdd', startdd );
  93. //submit 호출
  94. if(!submit('TRMND01501')){
  95. messageBox('조회를 실패하였습니다.', 'E999');
  96. return;
  97. }
  98. model.refresh();
  99. ]]>
  100. </script>
  101. </button>
  102. <caption id="caption12" class="search_name" style="left:11px; top:12px; width:90px; height:17px; ">업무일자:</caption>
  103. <input id="ipt_dd" ref="/root/main/cond/workdd" class="input_s_essential" inputtype="date" style="left:95px; top:12px; width:100px; height:19px; ">
  104. <script type="javascript" ev:event="xforms-value-changed">
  105. <![CDATA[
  106. btn_Query.dispatch("DOMActivate");
  107. ]]>
  108. </script>
  109. </input>
  110. </group>
  111. <line id="line2" class="line_1" style="x1:0px; y1:57px; x2:585px; y2:58px; "/>
  112. <datagrid id="datagrid1" nodeset="/root/main/hdworklistinfo/hdworklist" class="datagrid2" autoresize="false" caption="유지&#xA;구분^투석&#xA;구분^등록번호^환자명^성별&#xA;나이^진료과^담당의^입원일자^병동^병실" colsep="^" colwidth="40, 44, 65, 49, 36, 90, 96, 76, 85, 57" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:60px; width:585px; height:550px; ">
  113. <col ref="matnflag" type="combo" style="text-align:center; ">
  114. <choices>
  115. <item>
  116. <label>유지</label>
  117. <value>1</value>
  118. </item>
  119. <item>
  120. <label>전원</label>
  121. <value>2</value>
  122. </item>
  123. <item>
  124. <label>사망</label>
  125. <value>3</value>
  126. </item>
  127. <item>
  128. <label>신장이식</label>
  129. <value>4</value>
  130. </item>
  131. <item>
  132. <label>전환</label>
  133. <value>5</value>
  134. </item>
  135. <item>
  136. <label>중단</label>
  137. <value>6</value>
  138. </item>
  139. </choices>
  140. </col>
  141. <col ref="dialflag" type="combo" style="font-weight:bold; text-align:center; background-color:#ffffff; ">
  142. <choices>
  143. <item>
  144. <label>HD</label>
  145. <value>H</value>
  146. </item>
  147. <item>
  148. <label>PD</label>
  149. <value>P</value>
  150. </item>
  151. </choices>
  152. </col>
  153. <col ref="pid" type="input" style="text-align:center; "/>
  154. <col ref="hngnm" style="font-weight:bold; text-align:center; "/>
  155. <col ref="sexage" style="text-align:center; "/>
  156. <col ref="orddeptnm" style="text-align:center; "/>
  157. <col ref="atdoctnm" style="text-align:center; "/>
  158. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  159. <col ref="wardcdnm" style="text-align:center; "/>
  160. <col ref="roomnm" style="text-align:center; "/>
  161. </datagrid>
  162. </group>
  163. </xhtml:body>
  164. </xhtml:html>