SPMMO26100_입원결정대기자리스트.xrw 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. <decninfo>
  11. <decnlist/>
  12. </decninfo>
  13. </main>
  14. <send>
  15. <reqdata/>
  16. </send>
  17. <cond>
  18. <workdd/>
  19. <gbn>C</gbn>
  20. </cond>
  21. </root>
  22. </instance>
  23. <submission id="TRMMO26101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/decninfo"/>
  24. <submission id="TXMMO26101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
  25. <script type="javascript" ev:event="xforms-ready">
  26. <![CDATA[
  27. var workdd = getCurrentDate();
  28. model.setValue("/root/cond/workdd", workdd);
  29. model.refresh();
  30. ]]>
  31. </script>
  32. <script type="javascript">
  33. <![CDATA[
  34. function fSearch() {
  35. var workdd = model.getValue("/root/cond/workdd");
  36. var gbn = model.getValue("/root/cond/gbn");
  37. var gbnlist = gbn.split(" ");
  38. if (gbn.length>0) {
  39. for (var i=0; i<gbnlist.length;i++) {
  40. gbn = gbn.replace(" ","','");
  41. }
  42. gbn = "('" + gbn + "')";
  43. } else {
  44. messageBox("구분을 반드시 1개 이상 선택하십시오", "E999");
  45. return;
  46. }
  47. model.removeNodeset("/root/send/reqdata");
  48. model.makeValue("/root/send/reqdata/workdd", workdd);
  49. model.makeValue("/root/send/reqdata/gbn", gbn);
  50. submit("TRMMO26101");
  51. }
  52. function fSave() {
  53. var savedata = getGridUpdateData(grd_decnlist);
  54. model.makeValue("/root/send/savedata", savedata);
  55. submit("TXMMO26101");
  56. fSearch();
  57. }
  58. ]]>
  59. </script>
  60. </model>
  61. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  65. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  66. </xhtml:head>
  67. <xhtml:body pagewidth="1040" pageheight="700" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  68. <group id="grp_sea" style="left:0px; top:20px; width:1010px; height:40px; font-family:굴림; vertical-align:top; ">
  69. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1010px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  70. <caption id="caption2" class="search_name" visibility="hidden" style="left:635px; top:11px; width:90px; height:17px; ">조회일자:</caption>
  71. <button id="btn_sear" class="btn1_letter2" style="left:875px; top:9px; width:56px; height:22px; ">
  72. <caption>조회</caption>
  73. <script type="javascript" ev:event="DOMActivate">
  74. <![CDATA[
  75. fSearch();
  76. ]]>
  77. </script>
  78. </button>
  79. <line id="line16" style="x1:865px; y1:7px; x2:865px; y2:32px; border-color:#ffe4bb; border-left-style:solid; "/>
  80. <input id="ipt_workdd" ref="/root/cond/workdd" class="input_search" visibility="hidden" inputtype="date" style="left:725px; top:12px; width:110px; height:19px; text-align:center; "/>
  81. <select id="checkbox1" ref="/root/cond/gbn" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:105px; top:12px; width:340px; height:20px; border-style:none; ">
  82. <choices>
  83. <item>
  84. <label>병실입원(응급입원실)</label>
  85. <value>C</value>
  86. </item>
  87. <item>
  88. <label>병실입원(EICU)</label>
  89. <value>B</value>
  90. </item>
  91. <item>
  92. <label>병실입원</label>
  93. <value>A</value>
  94. </item>
  95. </choices>
  96. </select>
  97. <caption id="caption1" class="search_name" style="left:20px; top:11px; width:90px; height:17px; ">구 분:</caption>
  98. <button id="button1" class="btn1_letter2" style="left:932px; top:9px; width:56px; height:22px; ">
  99. <caption>저장</caption>
  100. <script type="javascript" ev:event="DOMActivate">
  101. <![CDATA[
  102. fSave();
  103. ]]>
  104. </script>
  105. </button>
  106. </group>
  107. <datagrid id="grd_decnlist" nodeset="/root/main/decninfo/decnlist" class="datagrid2" autoresize="true" caption="구분^순위^결정일시^환자번호^이름^성별/나이^위치^주진료과^주치의^담당의^응급진료의^내원일시^내원일시^orddd^cretno" colsep="^" colwidth="130, 50, 105, 65, 70, 60, 80, 105, 60, 60, 70, 73, 42, 0, 0" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:66px; width:1010px; height:595px; ">
  108. <col ref="adflag"/>
  109. <col ref="decnseq" type="input" style="text-align:center; "/>
  110. <col ref="decndt" format="yyyy-mm-dd hh:nn"/>
  111. <col ref="pid"/>
  112. <col ref="hngnm"/>
  113. <col ref="sa" style="text-align:center; "/>
  114. <col ref="bedposcnts"/>
  115. <col ref="deptnm"/>
  116. <col ref="drnm"/>
  117. <col ref="resnm"/>
  118. <col ref="erdrnm"/>
  119. <col ref="indd" format="yyyy-mm-dd"/>
  120. <col ref="intm" format="hh:nn"/>
  121. <col ref="orddd"/>
  122. <col ref="cretno"/>
  123. <script type="javascript" ev:event="onaftersort">
  124. <![CDATA[
  125. grd_decnlist.gridToInstance();
  126. ]]>
  127. </script>
  128. </datagrid>
  129. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:395px; height:15px; ">응급실 입원 결정 대상자 리스트</caption>
  130. <line id="line3" class="line_1" style="x1:0px; y1:61px; x2:1010px; y2:61px; "/>
  131. <caption id="caption3" style="left:910px; top:670px; width:100px; height:20px; text-align:right; ">[표]</caption>
  132. </xhtml:body>
  133. </xhtml:html>