SMAHA04150_건진자이력조회.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHB01400.xrw
  4. * 설 명 : 기관및판정의관리
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 : 2007.08.01
  8. * 수정이력 : 2007.10.04 김다영 화면권한추가
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>Untitle</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <send>
  19. <srchassoflag>01</srchassoflag>
  20. <srchinstcd/>
  21. <save>
  22. <loglist/>
  23. </save>
  24. <srchpnm2/>
  25. <healexamdetlflag>G02</healexamdetlflag>
  26. <srchpid/>
  27. <srchfromdd/>
  28. <srchtodd/>
  29. <srchvisano/>
  30. </send>
  31. <main>
  32. <userlog>
  33. <item>
  34. <healexamdetlflag/>
  35. <pid/>
  36. <hngnm/>
  37. <pkgnm/>
  38. <fstrgstdt/>
  39. <actcnts/>
  40. <reexamflag/>
  41. <fstrgstrid/>
  42. <actremfact/>
  43. <lastupdtrid/>
  44. <lastupdtdt/>
  45. <instcd/>
  46. <logseq/>
  47. <rsrvdd/>
  48. <rsrvno/>
  49. </item>
  50. </userlog>
  51. </main>
  52. <init>
  53. <baseinfo>
  54. <assocd/>
  55. <healexamflaglst/>
  56. <ghealexamdetlflaglst/>
  57. <chealexamdetlflaglst/>
  58. <healexamdetlflaglst>
  59. <item/>
  60. </healexamdetlflaglst>
  61. <comcode/>
  62. </baseinfo>
  63. </init>
  64. <hidden/>
  65. <case_mode/>
  66. <temp>
  67. <addr>
  68. <zipcd1/>
  69. <zipcd2/>
  70. <addr/>
  71. <zipcdseq/>
  72. </addr>
  73. </temp>
  74. </root>
  75. </instance>
  76. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  78. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  79. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  80. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  81. <script type="javascript" src="../../../ast/healexamweb/js/healexam.js"/>
  82. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  83. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  84. <!-- <submission id="TRAHB00201" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/inqrlst"/>
  85. <submission id="TRZBC00101"/> -->
  86. <script type="javascript" ev:event="xforms-ready">
  87. <![CDATA[
  88. fGetBaseInfo();
  89. model.removeNodeset("/root/main/userlog");
  90. model.refresh();
  91. model.setValue("/root/send/healexamdetlflag", getScreenMenuParameter());
  92. model.setValue("/root/send/srchfromdd", getCurrentDate());
  93. model.setValue("/root/send/srchtodd", getCurrentDate());
  94. model.refresh();
  95. ]]>
  96. </script>
  97. <submission id="TRAHA04151" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/assolist"/>
  98. <submission id="TXAHA04151" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  99. <submission id="TRZBC00101"/>
  100. </model>
  101. <script type="javascript">
  102. <![CDATA[
  103. function fGetBaseInfo(){
  104. // 건진기관구분
  105. zbcfGetCodeList( new Array("A0068","A0069","A0070"),
  106. new Array("/root/init/baseinfo/healexamflaglst"
  107. ,"/root/init/baseinfo/chealexamdetlflaglst"
  108. ,"/root/init/baseinfo/ghealexamdetlflaglst") );
  109. submit("TRZBC00101");
  110. model.makeNode("/root/init/baseinfo/healexamdetlflaglst/item[0]");
  111. model.makeNode("/root/init/baseinfo/healexamdetlflaglst/item/cdnm");
  112. model.makeNode("/root/init/baseinfo/healexamdetlflaglst/item/cdid");
  113. model.setValue("/root/init/baseinfo/healexamdetlflaglst/item/cdnm", "전체");
  114. copyNodesetType("/root/init/baseinfo/healexamdetlflaglst/item","/root/init/baseinfo/chealexamdetlflaglst/A0069", "after");
  115. copyNodesetType("/root/init/baseinfo/healexamdetlflaglst/item","/root/init/baseinfo/ghealexamdetlflaglst/A0070", "after");
  116. }
  117. function fGetStdVal(){
  118. if(model.getValue("/root/send/srchpid") == "" && (model.getValue("/root/send/srchfromdd") == "" || model.getValue("/root/send/srchtodd") == ""))
  119. {
  120. messageBox("시행일자 혹은 환자를 선택하셔야 합니다.", "E");
  121. return;
  122. }
  123. model.removeNodeset("/root/main/userlog");
  124. submit("TRAHA04151");
  125. }
  126. function fSaveVal() {
  127. if( messageBox("이력정보를 ","Q002") == 6){
  128. model.setValue("/root/send/save/loglist" , grd_userlog.getUpdateData());
  129. if (submit("TXAHA04151")){
  130. }
  131. }
  132. }
  133. ]]>
  134. </script>
  135. </xhtml:head>
  136. <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  137. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  138. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:134px; height:14px; ">건진자 상세정보</caption>
  139. </group>
  140. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  141. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  142. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  143. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  144. <caption>조회</caption>
  145. <script type="javascript" ev:event="DOMActivate">
  146. <![CDATA[
  147. grd_userlog.clearStatus();
  148. fGetStdVal();
  149. ]]>
  150. </script>
  151. </button>
  152. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  153. <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/healexamdetlflag" class="combo_search" appearance="minimal" style="left:90px; top:8px; width:110px; height:19px; ">
  154. <choices>
  155. <itemset nodeset="/root/init/baseinfo/healexamdetlflaglst/item">
  156. <label ref="cdnm"/>
  157. <value ref="cdid"/>
  158. </itemset>
  159. </choices>
  160. </select1>
  161. <input id="ipt_srchpid" ref="/root/send/srchpid" class="input_search" imemode="hangul" style="left:640px; top:7px; width:105px; height:19px; ">
  162. <script type="javascript" ev:event="onkeyup">
  163. <![CDATA[
  164. inputEnterKey("btn_srchpat", "DOMActivate");
  165. ]]>
  166. </script>
  167. </input>
  168. <button id="btn_srchpat" class="icon_search" style="left:755px; top:7px; width:16px; height:16px; ">
  169. <caption/>
  170. <script type="javascript" ev:event="DOMActivate">
  171. <![CDATA[
  172. fSearchPatInfo("SMAHA00100", "pid", ipt_srchpid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
  173. ]]>
  174. </script>
  175. </button>
  176. <caption id="caption2" class="search_name" style="left:5px; top:8px; width:86px; height:17px; ">건진구분 :</caption>
  177. <output id="opt_srchpnm" ref="/root/send/srchpnm2" class="output_fix" style="left:775px; top:7px; width:120px; height:19px; "/>
  178. <caption id="caption47" class="search_name" style="left:211px; top:8px; width:99px; height:17px; ">시행일자 :</caption>
  179. <caption id="caption49" class="search_name" style="left:551px; top:7px; width:89px; height:17px; ">환자검색 :</caption>
  180. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:302px; top:8px; width:100px; height:19px; ">
  181. <script type="javascript" ev:event="onkeyup">
  182. <![CDATA[
  183. fMoveFocus("ipt_todd");
  184. ]]>
  185. </script>
  186. </input>
  187. <input id="input1" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:433px; top:8px; width:100px; height:19px; ">
  188. <script type="javascript" ev:event="onkeyup">
  189. <![CDATA[
  190. fMoveFocus("ipt_todd");
  191. ]]>
  192. </script>
  193. </input>
  194. <caption id="caption1" style="left:405px; top:10px; width:25px; height:20px; text-align:center; ">~</caption>
  195. <input id="input2" ref="/root/send/srchvisano" class="input_search" imemode="hangul" style="left:992px; top:7px; width:105px; height:19px; ">
  196. <script type="javascript" ev:event="onkeyup">
  197. <![CDATA[
  198. inputEnterKey("btn_srchpat", "DOMActivate");
  199. ]]>
  200. </script>
  201. </input>
  202. <caption id="caption3" class="search_name" style="left:903px; top:7px; width:89px; height:17px; ">비자연번 :</caption>
  203. </group>
  204. <datagrid id="grd_userlog" nodeset="/root/main/userlog/item" autoresize="true" caption="입력일시^건진구분^등록번호^성명^비자연번^패키지^재검여부^내역^시행자^비고" colsep="^" colwidth="130, 60, 70, 100, 110, 180, 60, 190, 100, 100, 100, 100, 100, 100, 100, 100" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:55px; width:1194px; height:675px; ">
  205. <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; vertical-align:middle; "/>
  206. <col ref="healexamdetlflag" style="text-align:center; vertical-align:middle; "/>
  207. <col ref="pid" style="text-align:center; vertical-align:middle; "/>
  208. <col ref="hngnm" style="text-align:center; vertical-align:middle; "/>
  209. <col ref="visano" style="text-align:center; vertical-align:middle; "/>
  210. <col ref="pkgnm" style="text-align:center; vertical-align:middle; "/>
  211. <col ref="reexamflag"/>
  212. <col ref="actcnts"/>
  213. <col ref="fstrgstrid"/>
  214. <col ref="actremfact" type="input"/>
  215. <col ref="lastupdtrid" visibility="hidden"/>
  216. <col ref="lastupdtdt" visibility="hidden"/>
  217. <col ref="instcd" visibility="hidden"/>
  218. <col ref="logseq" visibility="hidden"/>
  219. <col ref="rsrvdd" visibility="hidden"/>
  220. <col ref="rsrvno" visibility="hidden"/>
  221. <script type="javascript" ev:event="xforms-value-changed">
  222. <![CDATA[
  223. ]]>
  224. </script>
  225. <script type="javascript" ev:event="ondblclick">
  226. <![CDATA[
  227. if(grd_userlog.row < 1)
  228. {
  229. return;
  230. }
  231. model.setValue("/root/send/srchpid", model.getValue("/root/main/userlog/item[" + grd_userlog.row + "]/pid"));
  232. grd_userlog.clearStatus();
  233. fGetStdVal();
  234. ]]>
  235. </script>
  236. </datagrid>
  237. <line id="line3" class="line_1" style="x1:0px; y1:50px; x2:1194px; y2:50px; "/>
  238. </group>
  239. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  240. <button id="btn_print" class="btn6_letter4" style="left:0px; top:5px; width:72px; height:22px; ">
  241. <caption>엑셀출력</caption>
  242. <script type="javascript" ev:event="onclick">
  243. <![CDATA[
  244. var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
  245. if(file != "") grd_userlog.saveExcel(file);
  246. ]]>
  247. </script>
  248. </button>
  249. <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  250. <caption>저장</caption>
  251. <script type="javascript" ev:event="DOMActivate">
  252. <![CDATA[
  253. fSaveVal();
  254. messageBox("저장 ", "I002");
  255. ]]>
  256. </script>
  257. </button>
  258. </group>
  259. </xhtml:body>
  260. </xhtml:html>