SMASB01000_감시배양등록.xrw 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <reqList>
  11. <chck/>
  12. <code>Ic301</code>
  13. <nmyn>정기</nmyn>
  14. <reqdt>20070202</reqdt>
  15. <dept>감염관리실</dept>
  16. <testRsn>정기적실시</testRsn>
  17. <prcpNM>SWAB CURTURE</prcpNM>
  18. <spcNM>위내시경 B</spcNM>
  19. <times>1</times>
  20. <state/>
  21. <remark/>
  22. </reqList>
  23. <rstList>
  24. <chck/>
  25. <workNO/>
  26. <testdt/>
  27. <spcNO/>
  28. <testCD/>
  29. <times/>
  30. <testRst/>
  31. <unit/>
  32. <tester/>
  33. </rstList>
  34. <etc>
  35. <growth/>
  36. <testrstin/>
  37. </etc>
  38. </main>
  39. <send/>
  40. <init/>
  41. <hidden>
  42. <condition>
  43. <prcpfrdt/>
  44. <prcptodt/>
  45. <prcpdept1/>
  46. <prcpdept2/>
  47. </condition>
  48. </hidden>
  49. </root>
  50. </instance>
  51. <submission id="reqGetTestList" action="http://localhost:8080/LPP00500A.jsp" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testrslt/testrsltlist"/>
  52. <submission id="reqGetTestRslt" action="http://localhost:8080/LPP00500B.jsp" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patinfo/pattestrslt"/>
  53. <submission id="reqGetDetlTestList" action="http://localhost:8080/LPP00500C.jsp" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testrslt/testrsltlist"/>
  54. <!--- END-->
  55. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  56. <script type="javascript" ev:event="xforms-ready">
  57. <![CDATA[
  58. finitialize();
  59. ]]>
  60. </script>
  61. <script type="javascript">
  62. <![CDATA[
  63. function finitialize(){
  64. var sDate = new Date();
  65. var vNowDD = getDate();
  66. var vPrevDD = "";
  67. /* if(vNowDD.substr(4,2) = "01"){
  68. vPrevDD = (vNowDD.substr(0,5)-1)+"12"+vNowDD.substr(6,2);
  69. }else if(vNowDD.substr(4,2) = "10"){
  70. vPrevDD = vNowDD.substr(0,5)+"09"+vNowDD.substr(6,2);
  71. }else{
  72. */ vPrevDD = vNowDD.substr(0,5)+(vNowDD.substr(5,1)-1)+vNowDD.substr(6,2);
  73. // }
  74. model.setValue("/root/hidden/condition/prcpfrdt", vPrevDD);
  75. model.setValue("/root/hidden/condition/prcptodt", vNowDD);
  76. model.refresh();
  77. }
  78. ]]>
  79. </script>
  80. </model>
  81. </xhtml:head>
  82. <xhtml:body guideline="1,1194;1,16;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  83. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  84. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">감시배양등록</caption>
  85. </group>
  86. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  87. <group id="group2" style="left:0px; top:5px; width:1195px; height:40px; ">
  88. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  89. <button id="button37" class="btn1_letter2" style="left:1129px; top:9px; width:56px; height:22px; ">
  90. <caption>조회</caption>
  91. </button>
  92. <caption id="caption1" class="search_name" style="left:515px; top:10px; width:86px; height:17px; ">의뢰부서 :</caption>
  93. <line id="line13" style="x1:1115px; y1:10px; x2:1115px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  94. <select1 id="combo2" ref="/root/hidden/condition/prcpdept1" class="combo_s_essential" appearance="minimal" style="left:610px; top:10px; width:145px; height:19px; ">
  95. <choices>
  96. <item>
  97. <label>combo1</label>
  98. <value>combo1</value>
  99. </item>
  100. </choices>
  101. </select1>
  102. <caption id="caption6" class="search_name" style="left:16px; top:10px; width:86px; height:17px; ">의뢰일자 :</caption>
  103. <input id="input5" ref="/root/hidden/condition/prcpfrdt" class="input_search" inputtype="date" style="left:111px; top:10px; width:120px; height:19px; "/>
  104. <input id="input1" ref="/root/hidden/condition/prcptodt" class="input_search" inputtype="date" style="left:260px; top:10px; width:120px; height:19px; "/>
  105. <caption id="caption2" style="left:240px; top:10px; width:20px; height:20px; vertical-align:middle; ">~</caption>
  106. <select1 id="combo1" ref="/root/hidden/condition/prcpdept2" class="combo_s_essential" appearance="minimal" style="left:760px; top:10px; width:145px; height:19px; ">
  107. <choices>
  108. <item>
  109. <label>combo1</label>
  110. <value>combo1</value>
  111. </item>
  112. </choices>
  113. </select1>
  114. </group>
  115. <caption id="caption22" class="tit_2" style="left:5px; top:55px; width:216px; height:14px; ">감시배양 의뢰내역</caption>
  116. <line id="line1" class="line_1" style="x1:0px; y1:73px; x2:1193px; y2:73px; "/>
  117. <caption id="caption15" class="tit_2" style="left:5px; top:400px; width:216px; height:13px; ">결과</caption>
  118. <line id="line2" class="line_1" style="x1:1px; y1:420px; x2:1194px; y2:420px; "/>
  119. <datagrid id="datagrid1" nodeset="/root/main/reqList" caption="*^코드^정기/비정기^검사의뢰일^배양검사 실시부서^검사 시행사유^처방명^검체종류^횟수^상태^비고" colsep="^" colwidth="23, 100, 79, 92, 118, 143, 257, 212, 50, 56, 147" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:78px; width:1194px; height:307px; ">
  120. <col ref="chck" type="checkbox"/>
  121. <col ref="code"/>
  122. <col ref="nmyn"/>
  123. <col ref="reqdt" format="yyyy-mm-dd"/>
  124. <col ref="dept"/>
  125. <col ref="testRsn" type="inputbutton"/>
  126. <col ref="prcpNM"/>
  127. <col ref="spcNM" type="inputbutton"/>
  128. <col ref="times" type="inputbutton"/>
  129. <col ref="state"/>
  130. <col ref="remark"/>
  131. <col/>
  132. <script type="javascript" ev:event="onclick">
  133. <![CDATA[
  134. model.setValue("/root/main/rstList/chck", "");
  135. model.setValue("/root/main/rstList/workNO", "20070210-L400I-1-2");
  136. model.setValue("/root/main/rstList/testdt", "20070210");
  137. model.setValue("/root/main/rstList/spcNO", "04-2703409-1");
  138. model.setValue("/root/main/rstList/testCD", "Infection control");
  139. model.setValue("/root/main/rstList/times", "1");
  140. model.setValue("/root/main/rstList/testRst", "-rod:>300colony");
  141. model.setValue("/root/main/rstList/unit", "");
  142. model.setValue("/root/main/rstList/tester", "이순신");
  143. model.setValue("/root/main/rstList/testdt", "20070210");
  144. model.setValue("/root/main/etc/growth", "G");
  145. model.setValue("/root/main/etc/testrstin", "G(+) cocci 1col");
  146. ]]>
  147. </script>
  148. </datagrid>
  149. <line id="line3" class="line_3" style="x1:1px; y1:386px; x2:1194px; y2:386px; "/>
  150. <datagrid id="datagrid2" nodeset="/root/main/rstList" caption="*^작업번호^검사일^검체번호^검사코드^횟수^검사결과^단위^검사자" colsep="^" colwidth="23, 132, 92, 115, 179, 44, 198, 69, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:425px; width:875px; height:312px; ">
  151. <col ref="chck" type="checkbox"/>
  152. <col ref="workNO"/>
  153. <col ref="testdt"/>
  154. <col ref="spcNO" format="yyyy-mm-dd"/>
  155. <col ref="testCD"/>
  156. <col ref="times"/>
  157. <col ref="testRst"/>
  158. <col ref="unit"/>
  159. <col ref="tester"/>
  160. </datagrid>
  161. <line id="line4" class="line_3" style="x1:0px; y1:738px; x2:1193px; y2:738px; "/>
  162. <select1 id="radio1" ref="/root/main/etc/growth" overflow="visible" appearance="full" cellspacing="20" cols="3" style="left:885px; top:430px; width:299px; height:20px; border-style:none; ">
  163. <choices>
  164. <item>
  165. <label>growth</label>
  166. <value>G</value>
  167. </item>
  168. <item>
  169. <label>no growth</label>
  170. <value>N</value>
  171. </item>
  172. <item>
  173. <label>etc</label>
  174. <value>E</value>
  175. </item>
  176. </choices>
  177. </select1>
  178. <textarea id="textarea1" ref="/root/main/etc/testrstin" scroll="auto" style="left:885px; top:450px; width:309px; height:287; "/>
  179. </group>
  180. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  181. <button id="button42" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  182. <caption>저장</caption>
  183. </button>
  184. </group>
  185. <button id="button12" class="btn2_letter3" style="left:1141px; top:65px; width:53px; height:19px; letter-spacing:1; ">
  186. <caption>행삭제</caption>
  187. <script type="javascript" ev:event="onclick">
  188. <![CDATA[
  189. datagrid1.removeItem();
  190. ]]>
  191. </script>
  192. </button>
  193. <button id="button13" class="btn2_letter3" style="left:1031px; top:65px; width:53px; height:19px; ">
  194. <caption>행추가</caption>
  195. <script type="javascript" ev:event="onclick">
  196. <![CDATA[
  197. datagrid1.addItem();
  198. ]]>
  199. </script>
  200. </button>
  201. <button id="button14" class="btn2_letter3" style="left:1086px; top:65px; width:53px; height:19px; ">
  202. <caption>행복사</caption>
  203. <script type="javascript" ev:event="onclick">
  204. <![CDATA[
  205. datagrid1.insertItem(datagrid1.row);
  206. ]]>
  207. </script>
  208. </button>
  209. </xhtml:body>
  210. </xhtml:html>