SMAER00001_전환데이타검증.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  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. <mdv>
  11. <mdvlist>
  12. <dumpyn/>
  13. <pid/>
  14. <hngnm/>
  15. <suppdeptnm/>
  16. <excuroomnm/>
  17. <prcpdd/>
  18. <execprcpuniqno/>
  19. <prcpnm/>
  20. <calcscorcd/>
  21. <execprcpstatcd/>
  22. <acptdt/>
  23. <execdt/>
  24. <cnfmdt/>
  25. <ioflag/>
  26. <orddeptnm/>
  27. <rgstrnm/>
  28. <orddeptcd/>
  29. <rgstrid/>
  30. <rsltcomment/>
  31. <rsltrept/>
  32. <rsltrecm/>
  33. <cnfmmanid/>
  34. <readdrid1/>
  35. <readdrid2/>
  36. <readdrid3/>
  37. <cnfmmanidnm/>
  38. <readdrid1nm/>
  39. <readdrid2nm/>
  40. <readdrid3nm/>
  41. <acptidnm/>
  42. <execridnm/>
  43. <prcpdelivefact/>
  44. <execrem/>
  45. <suppdeptcd/>
  46. <excuroomcd/>
  47. <prcpexecdeptcd/>
  48. <prcpexecdeptnm/>
  49. <sna/>
  50. <wardcd/>
  51. <roomcd/>
  52. </mdvlist>
  53. </mdv>
  54. </main>
  55. <send>
  56. <globalinstance>
  57. <instance1/>
  58. </globalinstance>
  59. <suppdeptcd/>
  60. <excuroomcd/>
  61. <ddflag/>
  62. <fromdd/>
  63. <todd/>
  64. <pid/>
  65. <chkprcp/>
  66. <chktobe/>
  67. </send>
  68. <init>
  69. <cmb_info>
  70. <suppdeptlist>
  71. <suppdept>
  72. <suppdeptcd/>
  73. <depthngnm/>
  74. </suppdept>
  75. </suppdeptlist>
  76. <excuroomcdlist>
  77. <excuroom>
  78. <basecd/>
  79. <basecdflagdesc/>
  80. </excuroom>
  81. </excuroomcdlist>
  82. </cmb_info>
  83. </init>
  84. <init1>
  85. <cmb_info>
  86. <initexecroom>
  87. <excuroomcdid/>
  88. <excuroomcdnm/>
  89. </initexecroom>
  90. </cmb_info>
  91. </init1>
  92. <hidden>
  93. </hidden>
  94. <temp>
  95. </temp>
  96. </root>
  97. </instance>
  98. <submission id="TRAEB00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/examcurelist"/>
  99. <submission id="TXAEB00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
  100. <submission id="TRAEB00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
  101. <script type="javascript" ev:event="xforms-ready">
  102. <![CDATA[
  103. model.removenodeset("/root/main/mdv/mdvlist");
  104. aezfSetSuppDeptcd();
  105. zbcfGetCodeList( new Array("M0011","M0010"), new Array("/root/init2/cmb_info/initexecprcpstatcd","/root/init2/cmb_info/prcpgenrflag") );
  106. submit("TRZBC00101", false);
  107. submit("TRAEA00902", false); //검사실
  108. submit("TRAEA00904", false); //지원부서
  109. submit("TRAEA01301", false); //검사실
  110. //model.setValue("/root/send/suppdeptcd",model.getValue("/root/send/globalinstance/instance1"));
  111. model.setFocus("ipt_pid");
  112. model.refresh();
  113. ]]>
  114. </script>
  115. <submission id="TRZBC00101"/>
  116. <submission id="TRAER00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/mdvlist"/>
  117. <submission id="TRAEA00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info/excuroomcdlist"/>
  118. <submission id="TRAEA00904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info/suppdeptlist"/>
  119. <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init1/cmb_info"/>
  120. </model>
  121. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  122. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  123. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  124. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  125. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  126. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  127. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  128. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  129. </xhtml:head>
  130. <xhtml:body guideline="1,1195;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  131. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  132. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:55px; vertical-align:top; ">
  133. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
  134. <line id="line13" class="line_4" style="x1:1102px; y1:17px; x2:1102px; y2:39px; "/>
  135. <button id="btn_sea" class="btn1_letter2" style="left:1118px; top:17px; width:56px; height:22px; ">
  136. <caption>조회</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. model.removenodeset("/root/main/mdv/mdvlist");
  140. if ( model.getValue("/root/send/ddflag") == "" && model.getValue("/root/send/pid") == "" ) {
  141. alert("조회기간이 미입력되었으면 등록번호는 필수사항입니다");
  142. return;
  143. }
  144. model.refresh();
  145. //alert('/root/send/chkprcp->'+model.getValue("/root/send/chkprcp") );
  146. //alert('chk_prcp.value->'+chk_prcp.value);
  147. //alert('/root/send/chktobe->'+model.getValue("/root/send/chktobe") );
  148. //alert('chk_tobe.value->'+chk_tobe.value);
  149. //return;
  150. submit("TRAER00001");
  151. model.refresh();
  152. ]]>
  153. </script>
  154. </button>
  155. <caption id="caption1" class="search_name" style="left:248px; top:18px; width:86px; height:17px; text-align:left; background-image:../../../com/commonweb/images/search_bullet1.gif; ">지원부서 :</caption>
  156. <select1 id="combo1" ref="/root/send/suppdeptcd" class="combo_search" appearance="minimal" editmode="input" style="left:342px; top:17px; width:103px; height:19px; ">
  157. <choices>
  158. <itemset nodeset="/root/init/cmb_info/suppdeptlist/suppdept">
  159. <label ref="depthngnm"/>
  160. <value ref="suppdeptcd"/>
  161. </itemset>
  162. </choices>
  163. <script type="javascript" ev:event="xforms-value-changed">
  164. <![CDATA[
  165. model.setValue("/root/send/globalinstance/instance1", model.getValue("/root/send/suppdeptcd"));
  166. model.setValue("/root/send/excuroomcd", "");
  167. submit("TRAEA00902", false);
  168. ]]>
  169. </script>
  170. </select1>
  171. <caption id="caption5" class="search_name" style="left:480px; top:18px; width:106px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">검사/치료실 :</caption>
  172. <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" class="combo_search" appearance="minimal" editmode="input" style="left:593px; top:17px; width:137px; height:19px; ">
  173. <choices>
  174. <itemset nodeset="/root/init/cmb_info/excuroomcdlist/excuroom">
  175. <label ref="basecdflagdesc"/>
  176. <value ref="basecd"/>
  177. </itemset>
  178. </choices>
  179. <script type="javascript" ev:event="xforms-value-changed">
  180. <![CDATA[
  181. ]]>
  182. </script>
  183. </select1>
  184. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_default" inputtype="date" style="left:130px; top:7px; width:90px; height:19px; "/>
  185. <select1 id="cmb_ddflag" ref="/root/send/ddflag" class="combo_search" appearance="minimal" editmode="search" style="left:20px; top:19px; width:100px; height:19px; ">
  186. <choices>
  187. <item>
  188. <label>처방일자</label>
  189. <value>prcpdd</value>
  190. </item>
  191. <item>
  192. <label>접수일자</label>
  193. <value>acptdd</value>
  194. </item>
  195. <item>
  196. <label>실시일자</label>
  197. <value>execdd</value>
  198. </item>
  199. </choices>
  200. </select1>
  201. <input id="input1" ref="/root/send/todd" class="input_default" inputtype="date" style="left:130px; top:29px; width:90px; height:19px; "/>
  202. <input id="ipt_pid" ref="/root/send/pid" class="input_search" style="left:860px; top:17px; width:100px; height:19px; ">
  203. <script type="javascript" ev:event="onkeydown">
  204. <![CDATA[
  205. inputEnterKey("btn_sea","DOMActivate");
  206. ]]>
  207. </script>
  208. </input>
  209. <caption id="caption8" class="search_name" style="left:765px; top:18px; width:112px; height:17px; text-align:left; background-image:../../../com/commonweb/images/search_bullet1.gif; ">등록번호 :</caption>
  210. <select id="chk_prcp" ref="/root/send/chkprcp" overflow="visible" appearance="full" style="left:965px; top:8px; width:135px; height:20px; border-style:none; ">
  211. <choices>
  212. <item>
  213. <label>ASIS처방Sync조회</label>
  214. <value>Y</value>
  215. </item>
  216. </choices>
  217. </select>
  218. <select id="chk_tobe" ref="/root/send/chktobe" overflow="visible" appearance="full" style="left:965px; top:33px; width:135px; height:20px; border-style:none; ">
  219. <choices>
  220. <item>
  221. <label>TOBE처방Sync조회</label>
  222. <value>Y</value>
  223. </item>
  224. </choices>
  225. </select>
  226. </group>
  227. <line id="line1" class="line_1" style="x1:3px; y1:73px; x2:1194px; y2:74px; "/>
  228. <datagrid id="grd_mdvlist" nodeset="/root/main/mdv/mdvlist" class="datagrid2" caption="처방체크^등록번호^환자명^지원부서명^ 검사실명^처방일자^유일번호^처방명^처방코드^처방상태^접수일시^실시일시^판독일시^구분^처방과^처방의^처방과코드^처방의사번^소견^결론^권고^판독의1^판독의2^판독의3^판독의4^판독의1^판독의2^판독의3^판독의4^접수자^실시자^처방전달사항^실시코멘트^지원부서^검사실코드^시행부서^시행부서명^S/A^병동^병실" colsep="^" colwidth="58, 63, 59, 82, 59, 73, 69, 172, 71, 63, 100, 100, 100, 58, 66, 50, 69, 79, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 45, 45, 100, 100, 100, 100, 73, 86, 38, 78, 55" explorerbar="sortshowmove" frozencols="11" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:2px; top:65px; width:1193px; height:665px; ">
  229. <col ref="dumpyn"/>
  230. <col ref="pid" type="input"/>
  231. <col ref="hngnm" type="input"/>
  232. <col ref="suppdeptnm" type="input"/>
  233. <col ref="excuroomnm" type="input"/>
  234. <col ref="prcpdd" type="input" format="yyyy-mm-dd"/>
  235. <col ref="execprcpuniqno" type="input"/>
  236. <col ref="prcpnm" type="input"/>
  237. <col ref="calcscorcd" type="input"/>
  238. <col ref="execprcpstatcd"/>
  239. <col ref="acptdt" format="yyyy-mm-dd hh:nn:ss"/>
  240. <col ref="execdt" format="yyyy-mm-dd hh:nn:ss"/>
  241. <col ref="cnfmdt" format="yyyy-mm-dd hh:nn:ss"/>
  242. <col ref="ioflag"/>
  243. <col ref="orddeptnm" type="input"/>
  244. <col ref="rgstrnm" type="input"/>
  245. <col ref="orddeptcd" type="input"/>
  246. <col ref="rgstrid" type="input"/>
  247. <col ref="rsltcomment" type="input"/>
  248. <col ref="rsltrept" type="input"/>
  249. <col ref="rsltrecm" type="input"/>
  250. <col ref="cnfmmanid" visibility="hidden"/>
  251. <col ref="readdrid1" visibility="hidden"/>
  252. <col ref="readdrid2" visibility="hidden"/>
  253. <col ref="readdrid3" visibility="hidden"/>
  254. <col ref="cnfmmanidnm" type="input"/>
  255. <col ref="readdrid1nm" type="input"/>
  256. <col ref="readdrid2nm" type="input"/>
  257. <col ref="readdrid3nm" type="input"/>
  258. <col ref="acptidnm"/>
  259. <col ref="execridnm"/>
  260. <col ref="prcpdelivefact"/>
  261. <col ref="execrem"/>
  262. <col ref="suppdeptcd"/>
  263. <col ref="excuroomcd"/>
  264. <col ref="prcpexecdeptcd"/>
  265. <col ref="prcpexecdeptnm"/>
  266. <col ref="sna"/>
  267. <col ref="wardcd" visibility="hidden"/>
  268. <col ref="roomcd" visibility="hidden"/>
  269. <script type="javascript" ev:event="onbuttonclick">
  270. <![CDATA[
  271. ]]>
  272. </script>
  273. </datagrid>
  274. </group>
  275. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  276. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:144px; height:14px; ">데이타 검증</caption>
  277. </group>
  278. <button id="btn_excel" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1080px; top:755px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  279. <caption>엑셀저장</caption>
  280. <script type="javascript" ev:event="DOMActivate">
  281. <![CDATA[
  282. var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
  283. if(file == "") return;
  284. grd_mdvlist.saveExcel(file, "sheet1");
  285. ]]>
  286. </script>
  287. </button>
  288. </xhtml:body>
  289. </xhtml:html>