SMMNH00700_사별가족관리.xrw 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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. <main>
  10. <agonal>
  11. <agonallist>
  12. <pid/>
  13. <hngnm/>
  14. <sexage/>
  15. <agonaldd/>
  16. <optiondd/>
  17. <agonalday/>
  18. <diagcd/>
  19. <famynm/>
  20. <famyrel/>
  21. <zipcode/>
  22. <detladdr/>
  23. <cntctel/>
  24. <maincare/>
  25. <status/>
  26. </agonallist>
  27. </agonal>
  28. <cond>
  29. <fromdd/>
  30. <todd/>
  31. <option>1</option>
  32. </cond>
  33. </main>
  34. <send/>
  35. <hidden/>
  36. </root>
  37. </instance>
  38. <submission id="TRMNH00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/agonallist"/>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. ipt_agnalldd.value = getAddDay(getCurrentDate(),5);
  42. ipt_agnalfdd.value = getAddDay(getCurrentDate(),-15);
  43. model.removenodeset("/root/main/agonal/agonallist");
  44. fSearch();
  45. ]]>
  46. </script>
  47. </model>
  48. <script type="javascript" src="../../../emr/agonalcareweb/js/SMMNH007.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  52. </xhtml:head>
  53. <xhtml:body guideline="1,1195;1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  54. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  55. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  56. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  57. <caption id="caption2" class="search_name" style="left:21px; top:9px; width:86px; height:17px; ">조회일자 :</caption>
  58. <caption id="caption4" class="search_name" style="left:365px; top:10px; width:86px; height:17px; ">구 분 :</caption>
  59. <button id="button1" class="btn1_letter2" navindex="4" style="left:1123px; top:7px; width:56px; height:22px; ">
  60. <caption>조회</caption>
  61. <script type="javascript" ev:event="DOMActivate">
  62. <![CDATA[
  63. fSearch();
  64. ]]>
  65. </script>
  66. </button>
  67. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  68. <input id="ipt_agnalfdd" ref="/root/main/cond/fromdd" class="input_search" navindex="1" inputtype="date" style="left:110px; top:8px; width:100px; height:19px; ">
  69. <script type="javascript" ev:event="xforms-value-changed">
  70. <![CDATA[
  71. fSearch();
  72. ]]>
  73. </script>
  74. </input>
  75. <caption id="caption9" style="left:215px; top:11px; width:15px; height:15px; font-weight:bold; ">~</caption>
  76. <input id="ipt_agnalldd" ref="/root/main/cond/todd" class="input_search" navindex="2" inputtype="date" style="left:231px; top:8px; width:100px; height:19px; ">
  77. <script type="javascript" ev:event="xforms-value-changed">
  78. <![CDATA[
  79. fSearch();
  80. ]]>
  81. </script>
  82. </input>
  83. <select1 id="cmb_option" ref="/root/main/cond/option" class="combo_search" navindex="3" appearance="minimal" style="left:440px; top:8px; width:100px; height:19px; ">
  84. <choices>
  85. <item>
  86. <label>삼오제</label>
  87. <value>1</value>
  88. </item>
  89. <item>
  90. <label>49제</label>
  91. <value>2</value>
  92. </item>
  93. <item>
  94. <label>100일</label>
  95. <value>3</value>
  96. </item>
  97. <item>
  98. <label>1주기</label>
  99. <value>4</value>
  100. </item>
  101. </choices>
  102. <script type="javascript" ev:event="xforms-value-changed">
  103. <![CDATA[
  104. fSearch() ;
  105. ]]>
  106. </script>
  107. </select1>
  108. </group>
  109. <line id="line1" class="line_1" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
  110. <datagrid id="grd_agonallist" nodeset="/root/main/agonal/agonallist" autoresize="true" caption="등록번호^환자명^S/A^임종일^구분일자^일수^진단명^보호자명^관계^우편번호^주 소^연락처^주보호자^선택" colsep="^" colwidth="70, 75, 42, 80, 80, 40, 100, 94, 70, 70, 261, 85, 70, 35" defaultrows="1" mergecells="byrestriccol" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:80px; width:1194px; height:660px; ">
  111. <col ref="pid"/>
  112. <col ref="hngnm"/>
  113. <col ref="sexage" style="text-align:center; "/>
  114. <col ref="agonaldd" format="yyyy-mm-dd" style="left:207px; top:23px; width:80px; height:23px; text-align:center; "/>
  115. <col ref="optiondd" format="yyyy-mm-dd" style="text-align:center; "/>
  116. <col ref="agonalday" style="text-align:right; "/>
  117. <col ref="diagcd"/>
  118. <col ref="famynm"/>
  119. <col ref="famyrel"/>
  120. <col ref="zipcode" style="text-align:center; "/>
  121. <col ref="detladdr" style="left:770px; top:23px; width:275px; height:23px; "/>
  122. <col ref="cntctel"/>
  123. <col ref="maincare" style="text-align:center; "/>
  124. <col checkvalue="Y,N" ref="status" type="checkbox"/>
  125. </datagrid>
  126. <button id="btn_excel" class="btn2_letter3" style="left:1141px; top:55px; width:53px; height:19px; ">
  127. <caption>Excel</caption>
  128. <script type="javascript" ev:event="onclick">
  129. <![CDATA[
  130. //grd_agonallist.colhidden(1) =true;
  131. file = window.fileDialog("save","","true","","xls","All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  132. if(file != "") {
  133. grd_agonallist.saveExcel(file);
  134. }
  135. //grd_agonallist.colhidden(1) =false;
  136. model.refresh();
  137. ]]>
  138. </script>
  139. </button>
  140. <button id="btn_cancel" class="btn2_letter4" style="left:995px; top:55px; width:64px; height:19px; ">
  141. <caption>전체해제</caption>
  142. <script type="javascript" ev:event="onclick">
  143. <![CDATA[
  144. for(var i=1 ;i < grd_agonallist.rows ; i++){
  145. model.setValue("/root/main/agonal/agonallist"+"["+i+"]/status","N");
  146. }
  147. model.refresh();
  148. ]]>
  149. </script>
  150. </button>
  151. <button id="btn_laPrt" class="btn2_letter5" style="left:1063px; top:55px; width:75px; height:19px; ">
  152. <caption>Label 출력</caption>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. fPrintLabel();
  156. ]]>
  157. </script>
  158. </button>
  159. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:78px; height:13px; ">사별가족</caption>
  160. <button id="btn_clear" class="btn2_letter3" style="left:872px; top:55px; width:53px; height:19px; ">
  161. <caption>초기화</caption>
  162. <script type="javascript" ev:event="onclick">
  163. <![CDATA[
  164. model1.reset();
  165. ]]>
  166. </script>
  167. </button>
  168. <button id="btn_select" class="btn2_letter4" style="left:928px; top:55px; width:64px; height:19px; ">
  169. <caption>전체선택</caption>
  170. <script type="javascript" ev:event="onclick">
  171. <![CDATA[
  172. for(var i=1 ;i < grd_agonallist.rows ; i++){
  173. model.setValue("/root/main/agonal/agonallist"+"["+i+"]/status", "Y");
  174. }
  175. model.refresh();
  176. ]]>
  177. </script>
  178. </button>
  179. </group>
  180. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">사별가족관리</caption>
  181. </xhtml:body>
  182. </xhtml:html>