SPAEA00000_자동실배정.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
  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. <patinfo>
  11. <patinfolist/>
  12. </patinfo>
  13. <inhospinfo>
  14. <inhosplist>
  15. <roomcd/>
  16. <pid/>
  17. <hngnm/>
  18. <age/>
  19. </inhosplist>
  20. <autotestlist>
  21. <roomcd/>
  22. <pid/>
  23. <hngnm/>
  24. <fstrgstdt/>
  25. <excucdnm/>
  26. <calcscorcd/>
  27. <execprcpstatcd/>
  28. <excuroomcd/>
  29. </autotestlist>
  30. </inhospinfo>
  31. <prcpinfo>
  32. <prcplist>
  33. <chk/>
  34. <excucdnm/>
  35. <prcphopedd/>
  36. <fstrgstdt/>
  37. <acptdt/>
  38. <execdt/>
  39. <calcscorcd/>
  40. <pid/>
  41. <prcpdd/>
  42. <execprcpuniqno/>
  43. <dayflag/>
  44. </prcplist>
  45. </prcpinfo>
  46. <popupendflag/>
  47. <result>
  48. <patinfo/>
  49. </result>
  50. <assgresult>
  51. <assgroomlist>
  52. <excuroomcd/>
  53. <excuroomnm/>
  54. </assgroomlist>
  55. </assgresult>
  56. <resultmsg>
  57. <resultmsglist>
  58. <status/>
  59. <prcpdd/>
  60. <execprcpuniqno/>
  61. <excuroomcd/>
  62. </resultmsglist>
  63. </resultmsg>
  64. </main>
  65. <send>
  66. <reqdata>
  67. <wardcd/>
  68. <roomcd/>
  69. <sdate/>
  70. <tdate/>
  71. <sgb/>
  72. <pid/>
  73. </reqdata>
  74. <aeahdyeslist2/>
  75. <globalinstance>
  76. <instance1/>
  77. </globalinstance>
  78. <execdata>
  79. <prcplist/>
  80. </execdata>
  81. <movedata>
  82. <sesnflag/>
  83. <frameflag/>
  84. <keeppos/>
  85. </movedata>
  86. </send>
  87. <init>
  88. <cmbinfo>
  89. <wardcdlist>
  90. <dept>
  91. <deptcd/>
  92. <depthngnm/>
  93. </dept>
  94. </wardcdlist>
  95. <roomlist>
  96. <dept>
  97. <deptcd/>
  98. <depthngnm/>
  99. </dept>
  100. </roomlist>
  101. <settingrn>
  102. <settingrnid/>
  103. <settingrnnm/>
  104. </settingrn>
  105. <execprcpstatcd>
  106. <M0011>
  107. <cdid/>
  108. <cdnm/>
  109. </M0011>
  110. </execprcpstatcd>
  111. </cmbinfo>
  112. <baseinfo>
  113. <ward/>
  114. </baseinfo>
  115. </init>
  116. <source>
  117. <srchcond/>
  118. <pid/>
  119. <hngnm/>
  120. <rrgstno1/>
  121. <rrgstno2/>
  122. </source>
  123. <hidden>
  124. <count/>
  125. </hidden>
  126. <auto>
  127. <prcplist>
  128. <pid>16554215</pid>
  129. <prcpdd>20071112</prcpdd>
  130. <ioflag>O</ioflag>
  131. </prcplist>
  132. </auto>
  133. </root>
  134. </instance>
  135. <script type="javascript" ev:event="xforms-ready">
  136. <![CDATA[
  137. // submit("TRMNR00601");
  138. var instcd = getUserInfo("posinstcd");
  139. var standard_yn = "orduseyn";
  140. var ord_deptflag = "W"; //일반병동
  141. var rslt_ref = "/root/init/cmbinfo/wardcdlist";
  142. zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), standard_yn, ord_deptflag, rslt_ref);
  143. zbcfGetCodeList( new Array("M0011"), new Array("/root/init/cmbinfo/execprcpstatcd"));
  144. model.removeNodeset("/root/main/inhospinfo/inhosplist");
  145. model.removeNodeset("/root/main/inhospinfo/autotestlist");
  146. model.removeNodeset("/root/main/prcpinfo/prcplist");
  147. model.setValue("/root/send/reqdata/sdate", getCurrentDate());
  148. model.setValue("/root/send/reqdata/tdate", getCurrentDate());
  149. model.setValue("/root/send/reqdata/sgb", "1");
  150. model.refresh();
  151. if(checkOpener()) {
  152. var paminfo = getGlobalVariable("paminfo"); //프로그램에 따라 원무정보(paminfo), 환자기본정보(patflag) get
  153. if(paminfo != "") { //원무 정보(기본 정보)가 있는 경우
  154. model.removeNodeset("/root/paminfo"); //여러개의 instance발생을 막기 위해 removeNodeset을 해줘야 함.
  155. model.makeNode("/root/paminfo");
  156. setCSVToNode("/root/paminfo", paminfo);
  157. var wardcd = model.getValue("/root/paminfo" + "/list/wardcd");
  158. model.setValue("/root/send/reqdata/wardcd", wardcd);
  159. model.refresh();
  160. readfunc();
  161. var irow = grd_mainordlist4.findRow(model.getValue("/root/paminfo/list/pid"), 1, grd_mainordlist4.colRef("pid"), false, false);
  162. if (irow > 0){
  163. grd_mainordlist4.row = irow;
  164. grd_mainordlist4.topRow = irow;
  165. grd_mainordlist4.refresh();
  166. readfunc1();
  167. }
  168. }
  169. }else {
  170. }
  171. model.setFocus("cmb_term");
  172. model.refresh();
  173. ]]>
  174. </script>
  175. <submission id="TRZBC00101"/>
  176. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
  177. <submission id="TRAEA00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/inhospinfo"/>
  178. <submission id="TRAEA00002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prcpinfo"/>
  179. <submission id="TXAEA00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/execdata" resultref="/root/main/resultmsg"/>
  180. <submission id="TRMNR00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init"/>
  181. <submission id="TRMNR00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/room"/>
  182. <submission id="TXAEA00002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/execdata" resultref="/root/hidden"/>
  183. <submission id="TRZSD00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  184. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  185. <submission id="TXAEA00003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/auto" replace="instance" resultref="/root/hidden"/>
  186. <bind id="bind_execprcpstatcd" ref="/root/main/inhospinfo/autotestlist/execprcpstatcd" readonly="../execprcpstatcd!=''"/>
  187. <submission id="TRAEA00004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata/wardcd" replace="instance" resultref="/root/init/cmbinfo/roomlist"/>
  188. </model>
  189. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  190. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  191. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  192. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  193. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  194. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  195. <script type="javascript">
  196. <![CDATA[
  197. function readfunc(){ // 해당 조건에 대한 검사내역을 조회한다.
  198. if (model.getValue("/root/send/reqdata/wardcd") == ""){
  199. messageBox("병동은 필수 선택 항목", "E008");
  200. model.setFocus("cmb_term");
  201. return;
  202. }
  203. if (model.getValue("/root/send/reqdata/sdate") == ""){
  204. messageBox("적용시작일자는 필수 입력항목입니다.", "E999", "");
  205. return;
  206. }
  207. if (isDate(model.getValue("/root/send/reqdata/sdate")) == false){
  208. messageBox("적용시작일자의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
  209. return;
  210. }
  211. if (model.getValue("/root/send/reqdata/tdate") == ""){
  212. messageBox("적용종료일자는 필수 입력항목입니다.", "E999", "");
  213. return;
  214. }
  215. if (isDate(model.getValue("/root/send/reqdata/tdate")) == false){
  216. messageBox("적용종료일자의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
  217. return;
  218. }
  219. if (model.getValue("/root/send/reqdata/sdate") > model.getValue("/root/send/reqdata/tdate")){
  220. messageBox("적용시작일이 종료일보다 큽니다.", "E999", "");
  221. return;
  222. }
  223. model.removeNodeset("/root/main/inhospinfo/inhosplist");
  224. model.removeNodeset("/root/main/inhospinfo/autotestlist");
  225. model.removeNodeset("/root/main/prcpinfo/prcplist");
  226. submit("TRAEA00001");
  227. if (model.getValue("/root/main/inhospinfo/inhosplist[" + 1 + "]/pid") == ""){
  228. model.removeNodeset("/root/main/inhospinfo/inhosplist");
  229. }
  230. if (model.getValue("/root/main/inhospinfo/autotestlist[" + 1 + "]/pid") == ""){
  231. model.removeNodeset("/root/main/inhospinfo/autotestlist");
  232. }
  233. model.refresh();
  234. }
  235. function readfunc1(){ // 해당 조건에 대한 검사내역을 조회한다.
  236. model.removeNodeset("/root/main/prcpinfo/prcplist");
  237. model.setValue("/root/send/reqdata/pid", model.getValue("/root/main/inhospinfo/inhosplist[" + grd_mainordlist4.row + "]/pid"));
  238. submit("TRAEA00002");
  239. if (model.getValue("/root/main/prcpinfo/prcplist[" + 1 + "]/pid") == ""){
  240. model.removeNodeset("/root/main/prcpinfo/prcplist");
  241. }
  242. model.refresh();
  243. }
  244. function execsave(){
  245. var updateData = datagrid3.getUpdateData();
  246. model.setValue("/root/send/execdata/prcplist",updateData);
  247. if(submit("TXAEA00001")) {
  248. //alert(model.getValue("/root/main/resultmsg/resultmsglist/status"));
  249. var srchLength1 = model.instances(0).selectNodes( "/root/main/resultmsg/resultmsglist" ).length;
  250. if ( srchLength1 > 0 ) {
  251. for ( var i = 1; i <= srchLength1; i++ ) {
  252. //messageBox(model.getValue("/root/main/resultmsg/resultmsglist[" + i + "]/status"), "E999", "");
  253. alert( model.getValue("/root/main/resultmsg/resultmsglist[" + i + "]/status") );
  254. }
  255. }
  256. }else {
  257. messageBox("자동실 배정 실패입니다.", "E999", "");
  258. return;
  259. }
  260. //if (model.getValue("root/properties/error/description") == ""){
  261. // messageBox(model.getValue("root/properties/error/msg"), "E999", "");
  262. //}
  263. }
  264. function cnclsave(){
  265. var updateData = datagrid3.getUpdateData();
  266. model.setValue("/root/send/execdata/prcplist",updateData);
  267. submit("TXAEA00002");
  268. if (model.getValue("root/properties/error/description") == ""){
  269. messageBox(model.getValue("root/properties/error/msg"), "E999", "");
  270. }
  271. }
  272. function isDate(str) { // 날짜 형식에 대한 적합여부 체크
  273. if (str == "") return true; // 빈건 체크안함
  274. if (trim(str) == "") return true; // 빈건 체크안함
  275. if (isNaN(parseInt(str))) return false; // 숫자가 아니면 false
  276. if (str.length != 8) return false; // 8자리(yyyymmdd)가 아니면 false
  277. var yy = new Number(str.substring(0, 4));
  278. var mm = new Number(str.substring(4, 6)) - 1;
  279. var dd = new Number(str.substring(6, 8));
  280. var date = new Date(yy, mm, dd);
  281. //alert(date.getFullYear() +"-" + (date.getMonth()+1) + "-" + date.getDate());
  282. if (yy != date.getFullYear() ||
  283. mm != date.getMonth() ||
  284. dd != date.getDate()) {
  285. return false; // 존재하지 않는 날짜
  286. }
  287. return true; // 존재하는 날짜
  288. }
  289. function trim(data){ // 문자에 대한 TRIM 작업
  290. return data.replace(/(^\s*)|(\s*$)/g, "");
  291. }
  292. ]]>
  293. </script>
  294. </xhtml:head>
  295. <xhtml:body guideline="1,1195;1,0;1,0;1,0;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  296. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  297. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">단순방사선 검사 자동 실배정</caption>
  298. </group>
  299. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  300. <line id="line1" class="line_1" style="x1:1px; y1:70px; x2:289px; y2:70px; "/>
  301. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  302. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  303. <button id="btn_sea" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; ">
  304. <caption>조회</caption>
  305. <script type="javascript" ev:event="onclick">
  306. <![CDATA[
  307. if (model.getValue("/root/send/reqdata/sgb") == "1"){
  308. btn_execcncl.disabled = false;
  309. button14.disabled = false;
  310. button1.disabled = true;
  311. }else{
  312. btn_execcncl.disabled = true;
  313. button14.disabled = true;
  314. button1.disabled = false;
  315. }
  316. readfunc();
  317. //model.setValue("/root/auto/prcplist/pid", "16554215");
  318. //model.setValue("/root/auto/prcplist/prcpdd", "20071112");
  319. //model.setValue("/root/auto/prcplist/ioflag", "O");
  320. //submit("TXAEA00003");
  321. // readfunc();
  322. ]]>
  323. </script>
  324. </button>
  325. <caption id="caption3" class="search_name" visibility="hidden" style="left:930px; top:11px; width:96px; height:17px; ">내환자 :</caption>
  326. <select1 id="cmb_term" ref="/root/send/reqdata/wardcd" class="combo_default" appearance="minimal" style="left:80px; top:8px; width:95px; height:19px; ">
  327. <choices>
  328. <itemset nodeset="/root/init/cmbinfo/wardcdlist/dept">
  329. <label ref="depthngnm"/>
  330. <value ref="deptcd"/>
  331. </itemset>
  332. </choices>
  333. <script type="javascript" ev:event="xforms-value-changed">
  334. <![CDATA[
  335. model.resetInstanceNode("/root/init/cmbinfo/roomlist/dept");
  336. model.resetInstanceNode("/root/send/reqdata/roomcd");
  337. // submit("TRMNR00602");
  338. var instcd = getUserInfo("posinstcd");
  339. var standard_yn = "orduseyn";
  340. var ord_deptflag = "W"; //일반병동
  341. var rslt_ref = "/root/init/cmbinfo/wardcdlist";
  342. zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), standard_yn, ord_deptflag, rslt_ref);
  343. submit("TRAEA00004");
  344. readfunc();
  345. ]]>
  346. </script>
  347. </select1>
  348. <caption id="caption4" class="search_name" style="left:195px; top:9px; width:100px; height:17px; ">병실 :</caption>
  349. <select1 id="combo1" ref="/root/send/reqdata/roomcd" class="combo_default" appearance="minimal" style="left:262px; top:8px; width:90px; height:19px; ">
  350. <choices>
  351. <itemset nodeset="/root/init/cmbinfo/roomlist/dept">
  352. <label ref="depthngnm"/>
  353. <value ref="deptcd"/>
  354. </itemset>
  355. </choices>
  356. <script type="javascript" ev:event="xforms-value-changed">
  357. <![CDATA[
  358. readfunc();
  359. ]]>
  360. </script>
  361. </select1>
  362. <select1 id="combo2" ref="/root/send/data/term" class="combo_default" visibility="hidden" appearance="minimal" style="left:1005px; top:10px; width:80px; height:19px; ">
  363. <choices>
  364. <itemset nodeset="/root/init/settingrn">
  365. <label ref="settingrnid"/>
  366. <value ref="settingrnnm"/>
  367. </itemset>
  368. </choices>
  369. </select1>
  370. <caption id="caption5" class="search_name" style="left:610px; top:9px; width:91px; height:17px; ">적용일자 :</caption>
  371. <caption id="caption14" style="left:795px; top:11px; width:15px; height:15px; ">~</caption>
  372. <input id="ipt_date1" ref="/root/send/reqdata/sdate" class="input_default" inputtype="date" style="left:701px; top:8px; width:90px; height:19px; "/>
  373. <input id="ipt_date2" ref="/root/send/reqdata/tdate" class="input_default" inputtype="date" style="left:812px; top:8px; width:90px; height:19px; "/>
  374. <caption id="caption6" class="search_name" style="left:380px; top:9px; width:100px; height:17px; ">구분 :</caption>
  375. <select1 id="radio3" ref="/root/send/reqdata/sgb" class="radio_search" appearance="full" cellspacing="5" cols="3" rows="1" overflow="visible" style="left:445px; top:10px; width:150px; height:19px; border-style:none; ">
  376. <choices>
  377. <item>
  378. <label>배정 전</label>
  379. <value>1</value>
  380. </item>
  381. <item>
  382. <label>배정 후</label>
  383. <value>2</value>
  384. </item>
  385. </choices>
  386. <script type="javascript" ev:event="xforms-value-changed">
  387. <![CDATA[
  388. if (model.getValue("/root/send/reqdata/sgb") == "1"){
  389. btn_execcncl.disabled = false;
  390. button14.disabled = false;
  391. button1.disabled = true;
  392. }else{
  393. btn_execcncl.disabled = true;
  394. button14.disabled = true;
  395. button1.disabled = false;
  396. }
  397. readfunc();
  398. ]]>
  399. </script>
  400. </select1>
  401. <line id="line13" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:29px; "/>
  402. </group>
  403. <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:120px; height:13px; ">재원환자리스트</caption>
  404. <caption id="caption7" class="tit_2" style="left:299px; top:56px; width:120px; height:13px; ">방사선 처방내역</caption>
  405. <line id="line2" class="line_1" style="x1:295px; y1:70px; x2:1195px; y2:70px; "/>
  406. <line id="line3" class="line_1" style="x1:295px; y1:368px; x2:1195px; y2:368px; "/>
  407. <caption id="caption8" class="tit_2" style="left:299px; top:354px; width:188px; height:13px; ">자동 실배정된 검사현황</caption>
  408. <button id="btn_execcncl" class="btn2_letter4" style="left:1025px; top:49px; width:64px; height:19px; ">
  409. <caption>당일배정</caption>
  410. <script type="javascript" ev:event="onclick">
  411. <![CDATA[
  412. var kk = "0";
  413. for (var i = 1; i < datagrid3.rows; i++){
  414. if (model.getValue("/root/main/prcpinfo/prcplist[" + i + "]/chk") == "Y"){
  415. //alert(model.getValue("/root/main/prcpinfo/prcplist[" + i + "]/dayflag"));
  416. model.setValue("/root/main/prcpinfo/prcplist[" + i + "]/dayflag", "T");
  417. kk = parseInt(kk) + 1;
  418. }
  419. }
  420. if (kk == 0){
  421. messageBox("당일배정 처리할 자료를 선택하시기 바랍니다.", "E999", "");
  422. return;
  423. }
  424. execsave();
  425. readfunc();
  426. ]]>
  427. </script>
  428. </button>
  429. <button id="button1" class="btn2_letter4" disabled="true" visibility="hidden" style="left:1130px; top:49px; width:64px; height:19px; ">
  430. <caption>배정취소</caption>
  431. <script type="javascript" ev:event="onclick">
  432. <![CDATA[
  433. var kk = "0";
  434. for (var i = 1; i < datagrid3.rows; i++){
  435. if (model.getValue("/root/main/prcpinfo/prcplist[" + i + "]/chk") == "Y"){
  436. kk = parseInt(kk) + 1;
  437. }
  438. }
  439. if (kk == 0){
  440. messageBox("배정취소할 자료를 선택하시기 바랍니다.", "E999", "");
  441. return;
  442. }
  443. cnclsave();
  444. readfunc1();
  445. ]]>
  446. </script>
  447. </button>
  448. <button id="button14" class="btn2_letter6" style="left:1093px; top:49px; width:86px; height:19px; ">
  449. <caption>익일아침배정</caption>
  450. <script type="javascript" ev:event="onclick">
  451. <![CDATA[
  452. var kk = "0";
  453. for (var i = 1; i < datagrid3.rows; i++){
  454. if (model.getValue("/root/main/prcpinfo/prcplist[" + i + "]/chk") == "Y"){
  455. model.setValue("/root/main/prcpinfo/prcplist[" + i + "]/dayflag", "N");
  456. kk = parseInt(kk) + 1;
  457. }
  458. }
  459. if (kk == 0){
  460. messageBox("익일배정 처리할 자료를 선택하시기 바랍니다.", "E999", "");
  461. return;
  462. }
  463. execsave();
  464. readfunc();
  465. ]]>
  466. </script>
  467. </button>
  468. <select id="listbox1" class="listbox" visibility="hidden" overflow="scroll" appearance="compact" style="left:971px; top:70px; width:224px; height:136px; ">
  469. <choices>
  470. <item>
  471. <label>listbox1</label>
  472. <value>listbox1</value>
  473. </item>
  474. </choices>
  475. </select>
  476. <select id="listbox2" class="listbox" visibility="hidden" overflow="scroll" appearance="compact" style="left:971px; top:211px; width:224px; height:136px; ">
  477. <choices>
  478. <item>
  479. <label>listbox1</label>
  480. <value>listbox1</value>
  481. </item>
  482. </choices>
  483. </select>
  484. <datagrid id="grd_mainordlist4" nodeset="/root/main/inhospinfo/inhosplist" caption="병실^등록번호^환자명^S/A" colsep="^" colwidth="69, 76, 72, 53" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:75px; width:288px; height:668px; ">
  485. <col ref="roomcd"/>
  486. <col ref="pid"/>
  487. <col ref="hngnm"/>
  488. <col ref="age"/>
  489. <script type="javascript" ev:event="onaftersort">
  490. <![CDATA[
  491. grd_mainordlist4.gridToInstance();
  492. ]]>
  493. </script>
  494. <script type="javascript" ev:event="onclick">
  495. <![CDATA[
  496. //if ( (grd_mainordlist4.row >= grd_mainordlist4.fixedRows) && (grd_mainordlist4.isCell(event.target))) {
  497. if( isDataCell() ){
  498. readfunc1();
  499. }
  500. ]]>
  501. </script>
  502. </datagrid>
  503. <datagrid id="datagrid3" nodeset="/root/main/prcpinfo/prcplist" autoresize="true" caption="실배정^검사명^검사희망일자^처방일시^접수일시^촬영일시^처방코드^pid^prcpdd^execprcpuniqno^dayflag" colsep="^" colwidth="65, 359, 100, 125, 125, 123, 117, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" frozencols="2" mergecellsfixedrows="bycolrec" rowsep="|" style="left:295px; top:75px; width:900px; height:272px; ">
  504. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  505. <col ref="excucdnm"/>
  506. <col ref="prcphopedd" format="yyyy-mm-dd" style="text-align:center; "/>
  507. <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  508. <col ref="acptdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  509. <col ref="execdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  510. <col ref="calcscorcd" style="text-align:center; "/>
  511. <col ref="pid" visibility="hidden"/>
  512. <col ref="prcpdd" visibility="hidden"/>
  513. <col ref="execprcpuniqno" visibility="hidden"/>
  514. <col ref="dayflag" visibility="hidden"/>
  515. </datagrid>
  516. <datagrid id="datagrid1" nodeset="/root/main/inhospinfo/autotestlist" autoresize="true" caption="병실^등록번호^성명^접수일시^검사명^처방코드^진행상태^촬영실" colsep="^" colwidth="65, 89, 97, 120, 177, 122, 100, 112" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:295px; top:373px; width:900px; height:370px; ">
  517. <col ref="roomcd" style="font-weight:bold; "/>
  518. <col ref="pid"/>
  519. <col ref="hngnm" style="font-weight:bold; "/>
  520. <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss"/>
  521. <col ref="excucdnm"/>
  522. <col ref="calcscorcd"/>
  523. <col ref="execprcpstatcd" type="combo" style="font-weight:bold; ">
  524. <choices>
  525. <itemset nodeset="/root/init/cmbinfo/execprcpstatcd/M0011">
  526. <label ref="cdnm"/>
  527. <value ref="cdid"/>
  528. </itemset>
  529. </choices>
  530. </col>
  531. <col ref="excuroomcd" style="font-weight:bold; "/>
  532. </datagrid>
  533. </group>
  534. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  535. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  536. </group>
  537. <caption id="caption2" class="search_name" style="left:15px; top:31px; width:61px; height:17px; ">병동 :</caption>
  538. </xhtml:body>
  539. </xhtml:html>