SMAEA04301_PACS기준자료.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  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. <prcpinfolist>
  11. <prcplist>
  12. <check/>
  13. <pid/>
  14. <patname/>
  15. <flag/>
  16. <examroom/>
  17. <eventtype/>
  18. <hisorderid/>
  19. <prcpcd/>
  20. <prcpnm/>
  21. <prcpstatcd/>
  22. <recptdate/>
  23. <examdate/>
  24. <ioflag/>
  25. <queueid/>
  26. </prcplist>
  27. </prcpinfolist>
  28. <pacslist>
  29. <pacsroom>
  30. <nupacsnm/>
  31. <pacsroomnm/>
  32. <basesuppdeptcd/>
  33. <basecd/>
  34. <check/>
  35. </pacsroom>
  36. </pacslist>
  37. <excucdinfolist>
  38. <excucdlist>
  39. <prcpcd/>
  40. <prcpnm/>
  41. <excuroomcd/>
  42. <prcpexecdeptcd/>
  43. <pacs/>
  44. </excucdlist>
  45. </excucdinfolist>
  46. </main>
  47. <send>
  48. <globalinstance>
  49. <instance1/>
  50. </globalinstance>
  51. <suppdeptcd/>
  52. <excuroomcd/>
  53. <pid/>
  54. <prcpdd/>
  55. <orddeptcd/>
  56. <prcplist/>
  57. <cdislist/>
  58. <gb/>
  59. <pacsname/>
  60. </send>
  61. <init>
  62. <cmb_info>
  63. <suppdept>
  64. <suppdeptcd/>
  65. <depthngnm/>
  66. </suppdept>
  67. </cmb_info>
  68. <dept_info>
  69. <initprcpexecdeptcd>
  70. <prcpexecdeptcdid/>
  71. <prcpexecdeptcdnm/>
  72. </initprcpexecdeptcd>
  73. </dept_info>
  74. <deptlist>
  75. <dept>
  76. <deptcd/>
  77. <depthngnm/>
  78. </dept>
  79. </deptlist>
  80. <baseinfo>
  81. <initexecprcpstatcd/>
  82. <initpacsnocretyn/>
  83. </baseinfo>
  84. <excuroom_info>
  85. <initexecroom>
  86. <excuroomcdid/>
  87. <excuroomcdnm/>
  88. </initexecroom>
  89. </excuroom_info>
  90. </init>
  91. <hidden>
  92. </hidden>
  93. </root>
  94. </instance>
  95. <bind id="bind_prcpstatcd" ref="/root/main/prcphist/prcplist/execprcpstatcd" readonly="../execprcpstatcd!=''"/>
  96. <script type="javascript" ev:event="xforms-ready">
  97. <![CDATA[
  98. aezfSetSuppDeptcd();
  99. ipt_date1.value = getCurrentDate();
  100. //처방상태 공통코드 갖고오기
  101. zbcfGetCodeList( new Array("M0011","A0501"), new Array("/root/init/baseinfo/initexecprcpstatcd"
  102. ,"/root/init/baseinfo/initpacsnocretyn") );
  103. submit("TRZBC00101", false);
  104. // 수행부서 코드 가져오기
  105. submit("TRAEB00205", false);
  106. // 지원부서 가져오기
  107. submit("TRAEA01301");
  108. sortNodeList("/root/init/cmb_info/suppdept", "depthngnm", "asc");
  109. cmb_deptcd.refresh();
  110. // 기능검사에서 호출한지 확인하여 조회기준 제한두기
  111. //사용할때는 common.js 파일이 필요
  112. if (checkOpener()) { //opener 검사
  113. var param = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
  114. // alert("넘어온 파라미터:" + param);
  115. if(param == "OldOrder") { // opener parameter value가 있는 경우
  116. button87.disabled = true;
  117. but_oldOrder.visible = true;
  118. // CDIS 선택박스 보여주기, update 컬럼은 숨김
  119. grd_cdislist.colHidden(1) = false;
  120. grd_cdislist.colHidden(2) = true;
  121. model.setValue("/root/send/gb",param);
  122. // alert("구분자 입력됐니?!" + model.getValue("/root/send/gb"));
  123. }
  124. }
  125. ]]>
  126. </script>
  127. <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
  128. <submission id="TRAEB00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/dept_info"/>
  129. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  130. <submission id="TRAEA04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/excucdinfolist"/>
  131. <submission id="TRAEA04307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/prcpinfolist"/>
  132. <submission id="TRAEA04303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/precureinfolist"/>
  133. <submission id="TRAEA04304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/excuroom_info"/>
  134. <submission id="TRAEA04305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cdisinfolist"/>
  135. <submission id="TRAEA04306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/pacslist"/>
  136. <submission id="TXAEA04305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
  137. <submission id="TXAEA04302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
  138. <submission id="TXAEA04304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
  139. <submission id="TRZBC00101"/>
  140. </model>
  141. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  142. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  143. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  144. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  145. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  146. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  147. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  148. </xhtml:head>
  149. <xhtml:body pagewidth="1150" pageheight="800" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  150. <group id="group1" style="left:0px; top:0px; width:1080px; height:13px; ">
  151. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">PACS 정보관리</caption>
  152. </group>
  153. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1080px; height:722px; ">
  154. <switch id="switch1" style="left:0px; top:26px; width:1065px; height:685px; ">
  155. <case id="case1">
  156. <datagrid id="datagrid3" nodeset="/root/main/excucdinfolist/excucdlist" scroll="vertical" caption="코드^코드명^검사실^PACS연동유무^수가수행부서" colsep="^" colwidth="85, 263, 110, 100, 100" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:10px; top:71px; width:700px; height:600px; ">
  157. <col ref="prcpcd"/>
  158. <col ref="prcpnm"/>
  159. <col disabled="true" editmode="input" ref="excuroomcd" type="combo">
  160. <choices>
  161. <itemset nodeset="/root/init/cmb_info/initexecroom">
  162. <label ref="excuroomcdnm"/>
  163. <value ref="excuroomcdid"/>
  164. </itemset>
  165. </choices>
  166. </col>
  167. <col ref="pacs" type="combo">
  168. <choices>
  169. <itemset nodeset="/root/init/baseinfo/initpacsnocretyn/A0501">
  170. <label ref="cdnm"/>
  171. <value ref="cdid"/>
  172. </itemset>
  173. </choices>
  174. </col>
  175. <col disabled="true" ref="prcpexecdeptcd" type="combo">
  176. <choices>
  177. <itemset nodeset="/root/init/dept_info/initprcpexecdeptcd">
  178. <label ref="prcpexecdeptcdnm"/>
  179. <value ref="prcpexecdeptcdid"/>
  180. </itemset>
  181. </choices>
  182. </col>
  183. <script type="javascript" ev:event="onaftersort">
  184. <![CDATA[
  185. datagrid3.gridToInstance();
  186. ]]>
  187. </script>
  188. </datagrid>
  189. <caption id="caption4" class="cell_1" style="left:10px; top:5px; width:700px; height:23px; font-size:12pt; font-weight:bold; text-align:center; vertical-align:middle; ">검사실 기준자료 마스터</caption>
  190. <group id="group5" style="left:10px; top:30px; width:700px; height:35px; vertical-align:top; ">
  191. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:700px; height:35px; "/>
  192. <caption id="caption3" class="search_name" style="left:15px; top:9px; width:117px; height:17px; ">지원부서 :</caption>
  193. <caption id="caption5" class="search_name" style="left:335px; top:9px; width:117px; height:17px; ">검사실 :</caption>
  194. <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" class="combo_s_essential" appearance="minimal" style="left:415px; top:8px; width:235px; height:19px; ">
  195. <choices>
  196. <itemset nodeset="/root/init/excuroom_info/initexecroom">
  197. <label ref="excuroomcdnm"/>
  198. <value ref="excuroomcdid"/>
  199. </itemset>
  200. </choices>
  201. <script type="javascript" ev:event="xforms-value-changed">
  202. <![CDATA[
  203. submit("TRAEA04301");
  204. ]]>
  205. </script>
  206. </select1>
  207. <select1 id="cmb_deptcd" ref="/root/send/suppdeptcd" class="combo_s_essential" appearance="minimal" style="left:107px; top:8px; width:145px; height:19px; ">
  208. <choices>
  209. <itemset nodeset="/root/init/cmb_info/suppdept">
  210. <label ref="depthngnm"/>
  211. <value ref="suppdeptcd"/>
  212. </itemset>
  213. </choices>
  214. <script type="javascript" ev:event="xforms-value-changed">
  215. <![CDATA[
  216. model.setValue("/root/send/globalinstance/instance1", model.getValue("/root/send/suppdeptcd"));
  217. submit("TRAEA04304");
  218. model.setValue("/root/send/excuroomcd", "");
  219. submit("TRAEA04301");
  220. submit("TRAEA04306");
  221. ]]>
  222. </script>
  223. </select1>
  224. </group>
  225. <button id="button3" class="btn4_letter5" style="left:957px; top:41px; width:92px; height:22px; ">
  226. <caption>검사실저장</caption>
  227. <script type="javascript" ev:event="DOMActivate">
  228. <![CDATA[
  229. model.makeValue("/root/send/req/data", datagrid2.getUpdateData());
  230. model.refresh();
  231. submit("TXAEA04304");
  232. submit("TRAEA04306");
  233. model.refresh();
  234. ]]>
  235. </script>
  236. </button>
  237. <datagrid id="datagrid2" nodeset="/root/main/pacslist/pacsroom" scroll="vertical" caption="^현업검사실^PACS검사실^지원부서^검사실" colsep="^" colwidth="20, 147, 137, 0, 0" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:714px; top:71px; width:340px; height:595px; ">
  238. <col checkvalue="true,false" ref="check" type="checkbox"/>
  239. <col ref="nupacsnm"/>
  240. <col ref="pacsroomnm" type="input" max="20"/>
  241. <col ref="basesuppdeptcd"/>
  242. <col ref="basecd"/>
  243. </datagrid>
  244. <caption id="caption1" class="cell_1" style="left:712px; top:5px; width:345px; height:23px; font-size:12pt; font-weight:bold; text-align:center; vertical-align:middle; ">PACS 기준자료</caption>
  245. </case>
  246. <case id="case2" selected="true">
  247. <group id="group6" style="left:5px; top:9px; width:1050px; height:35px; vertical-align:top; ">
  248. <shape id="roundrect4" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1050px; height:35px; "/>
  249. <caption id="caption8" class="search_name" style="left:15px; top:9px; width:117px; height:17px; ">등록번호 :</caption>
  250. <line id="line4" class="line_4" style="x1:934px; y1:7px; x2:934px; y2:29px; "/>
  251. <caption id="caption9" class="search_name" style="left:290px; top:9px; width:117px; height:17px; ">처방일자 :</caption>
  252. <input id="input1" ref="/root/send/pid" class="input_s_essential" style="left:110px; top:8px; width:130px; height:19px; ">
  253. <script type="javascript" ev:event="onkeydown">
  254. <![CDATA[
  255. inputEnterKey("btn_sea","DOMActivate")
  256. ]]>
  257. </script>
  258. </input>
  259. <input id="ipt_date1" ref="/root/send/prcpdd" class="input_s_essential" inputtype="date" style="left:384px; top:8px; width:102px; height:19px; "/>
  260. <button id="btn_sea" class="btn1_letter2" style="left:965px; top:7px; width:56px; height:22px; ">
  261. <caption>조회</caption>
  262. <script type="javascript" ev:event="DOMActivate">
  263. <![CDATA[
  264. if(model.getValue("/root/send/pid") == "" ) {
  265. messageBox("등록번호를 ", "C001");
  266. return;
  267. }else {
  268. submit("TRAEA04307");
  269. }
  270. ]]>
  271. </script>
  272. </button>
  273. </group>
  274. <line id="line3" class="line_1" style="x1:5px; y1:49px; x2:1055px; y2:49px; "/>
  275. <datagrid id="datagrid1" nodeset="/root/main/prcpinfolist/prcplist" scroll="vertical" caption="선택^등록번호^환자명^구분^검사실^상태^처방정보^처방코드^처방명^접수일자^실시일자^처방상태" colsep="^" colwidth="31, 78, 83, 37, 83, 40, 119, 84, 203, 80, 80, 97, 100" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:54px; width:1050px; height:596px; ">
  276. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  277. <col ref="pid"/>
  278. <col ref="patname"/>
  279. <col ref="flag"/>
  280. <col ref="examroom" type="input"/>
  281. <col ref="eventtype"/>
  282. <col ref="hisorderid"/>
  283. <col ref="prcpcd"/>
  284. <col ref="prcpnm"/>
  285. <col ref="recptdate" format="yyyy-mm-dd" style="text-align:center; "/>
  286. <col ref="examdate" format="yyyy-mm-dd" style="text-align:center; "/>
  287. <col ref="prcpstatcd" type="combo" style="text-align:left; ">
  288. <choices>
  289. <itemset nodeset="/root/init/baseinfo/initexecprcpstatcd/M0011">
  290. <label ref="cdnm"/>
  291. <value ref="cdid"/>
  292. </itemset>
  293. </choices>
  294. </col>
  295. <script type="javascript" ev:event="onaftersort">
  296. <![CDATA[
  297. datagrid1.gridToInstance();
  298. ]]>
  299. </script>
  300. <col ref="ioflag"/>
  301. <col ref="queueid"/>
  302. </datagrid>
  303. <button id="btn_save" class="btn4_letter2" style="left:995px; top:655px; width:56px; height:22px; ">
  304. <caption>저장</caption>
  305. <script type="javascript" ev:event="DOMActivate">
  306. <![CDATA[
  307. var nodeList = instance1.selectNodes("/root/main/prcpinfolist/prcplist[check='Y']");
  308. var rCSV = getNodeListCSV(nodeList);
  309. if ( rCSV == null ) {
  310. messageBox("처방내역을 ","C002");
  311. return "0";
  312. }
  313. model.setValue("/root/send/prcplist", rCSV);
  314. if (submit("TXAEA04305")){
  315. submit("TRAEA04307");
  316. }
  317. ]]>
  318. </script>
  319. </button>
  320. </case>
  321. </switch>
  322. <button id="btn_patprcplist" class="btn_sw" group="tab" style="left:132px; top:5px; width:132px; height:22px; ">
  323. <caption>환자별 처방정보조회</caption>
  324. <toggle case="case2" ev:event="onclick"/>
  325. </button>
  326. <button id="button1" class="btn_sw" group="tab" style="left:0px; top:5px; width:132px; height:22px; ">
  327. <caption>검사실기준자료</caption>
  328. <toggle case="case1" ev:event="onclick"/>
  329. </button>
  330. </group>
  331. </xhtml:body>
  332. </xhtml:html>