SPAEB00500_검사치료코드조회.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591
  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. <examcurecdlist>
  11. <item>
  12. <check/>
  13. <excucd/>
  14. <excucdnm/>
  15. <excuroomcd/>
  16. <excupartcd/>
  17. <execbaseflag/>
  18. <rcptacptyn/>
  19. <rcptrsrvyn/>
  20. <prcptdayaftrcptyn>N</prcptdayaftrcptyn>
  21. <excuclscd/>
  22. <lrgcd/>
  23. <mdlcd/>
  24. <ioexamflag/>
  25. <excucdrem/>
  26. <angioaltprcpcd/>
  27. <angiouseyn/>
  28. <autroomassgyn/>
  29. <autroomassgcd/>
  30. <section/>
  31. <rslttmplcd/>
  32. <ocrtmplcd/>
  33. <eqmtifyn/>
  34. <readdrid3/>
  35. <readdrid3nm/>
  36. <rsltclscd1/>
  37. <rsltclscd2/>
  38. <partcntstats/>
  39. <phocntstats/>
  40. <curetims/>
  41. <rsrvexcupossyn/>
  42. <rsrvexcuroomposscd/>
  43. <rsrvexcuroomposscd2/>
  44. <rsrvsono/>
  45. <rsrvplceflag/>
  46. <excutm/>
  47. <rsrvexmptmplcd/>
  48. <rsrvexmptmplexecrnm/>
  49. <rsrvexmpcnt/>
  50. <fastyn/>
  51. <enemayn/>
  52. <rsrvaprvtmplcd/>
  53. <slepyn/>
  54. <dcusrsrvyn/>
  55. <modality/>
  56. <pacsnocretyn/>
  57. <etceqmtifyn/>
  58. <prestddappyn/>
  59. <anotestyn>Y</anotestyn>
  60. <sytserdispyn/>
  61. <sytshealdispyn/>
  62. <glycostestyn/>
  63. <bonedentestyn/>
  64. <prcpexecdeptcd/>
  65. <nextexcuroomcd/>
  66. <excurem/>
  67. <basesuppdeptcd/>
  68. <excutodd/>
  69. </item>
  70. </examcurecdlist>
  71. <userpopupinfo>
  72. <param/>
  73. </userpopupinfo>
  74. <userinfolist/>
  75. </main>
  76. <send>
  77. <req>
  78. </req>
  79. <srchexamcurecd/>
  80. <srchexamcurenm/>
  81. <globalinstance>
  82. <instance1/>
  83. <basecd>%</basecd>
  84. </globalinstance>
  85. <windowloadinstance>SMAEB00200</windowloadinstance>
  86. <newoldyb>1</newoldyb>
  87. <excuroomcd/>
  88. <srchrsltclscd1/>
  89. <grupcdid/>
  90. </send>
  91. <init>
  92. <baseinfo>
  93. <initexecbaseflag/>
  94. <initioexamflag/>
  95. <initrsrvplceflag/>
  96. <excuclscd/>
  97. <rsltclscd1/>
  98. <initeqmtifyn/>
  99. <initpacsnocretyn/>
  100. </baseinfo>
  101. <baseinfo1>
  102. <rsltclscd2/>
  103. </baseinfo1>
  104. <cmb_info>
  105. <initexcuroomgrp>
  106. <excuroomgrpcdid/>
  107. <excuroomgrpcdnm/>
  108. </initexcuroomgrp>
  109. <initexecroom>
  110. <excuroomcdid/>
  111. <excuroomcdnm/>
  112. </initexecroom>
  113. <suppdept>
  114. <suppdeptcd/>
  115. <depthngnm/>
  116. </suppdept>
  117. <initsystgrd>
  118. <rsltclscd1/>
  119. <rsltclsnm1/>
  120. </initsystgrd>
  121. <initsystmdl>
  122. <rsltclscd2/>
  123. <rsltclsnm2/>
  124. <basecdcnts/>
  125. </initsystmdl>
  126. </cmb_info>
  127. <cmb_info2>
  128. <initsection>
  129. <cdid/>
  130. <cdnm/>
  131. <grupcdid/>
  132. </initsection>
  133. <initmodal>
  134. <cdid/>
  135. <cdnm/>
  136. <grupcdid/>
  137. </initmodal>
  138. </cmb_info2>
  139. <bodypartlist>
  140. <bodypart>
  141. <basecd/>
  142. <basecdflagdesc/>
  143. </bodypart>
  144. <bodypartgrp>
  145. <basecd/>
  146. <basecdflagdesc/>
  147. </bodypartgrp>
  148. </bodypartlist>
  149. <dept_info>
  150. <initprcpexecdeptcd>
  151. <prcpexecdeptcdid/>
  152. <prcpexecdeptcdnm/>
  153. </initprcpexecdeptcd>
  154. </dept_info>
  155. <comcd_info>
  156. <initcomgrupcd>
  157. <comgrupcdid/>
  158. <comgrupcdnm/>
  159. </initcomgrupcd>
  160. </comcd_info>
  161. <comcd_info2>
  162. <initcomcd>
  163. <comcdid/>
  164. <comcdnm/>
  165. </initcomcd>
  166. </comcd_info2>
  167. </init>
  168. <hidden>
  169. <count/>
  170. <parameters>
  171. <formcd/>
  172. </parameters>
  173. <checkseq/>
  174. <init>
  175. <comcd>
  176. </comcd>
  177. </init>
  178. <item>
  179. <excucd/>
  180. <excucdnm/>
  181. <excuroomcd/>
  182. <excupartcd/>
  183. <execbaseflag/>
  184. <rcptacptyn/>
  185. <rcptrsrvyn/>
  186. <prcptdayaftrcptyn>N</prcptdayaftrcptyn>
  187. <excuclscd/>
  188. <lrgcd/>
  189. <mdlcd/>
  190. <ioexamflag/>
  191. <excucdrem/>
  192. <angioaltprcpcd/>
  193. <angiouseyn/>
  194. <autroomassgyn/>
  195. <autroomassgcd/>
  196. <section/>
  197. <rslttmplcd/>
  198. <ocrtmplcd/>
  199. <eqmtifyn/>
  200. <readdrid3/>
  201. <readdrid3nm/>
  202. <rsltclscd1/>
  203. <rsltclscd2/>
  204. <partcntstats/>
  205. <phocntstats/>
  206. <curetims/>
  207. <rsrvexcupossyn/>
  208. <rsrvexcuroomposscd/>
  209. <rsrvexcuroomposscd2/>
  210. <rsrvsono/>
  211. <rsrvplceflag/>
  212. <excutm/>
  213. <rsrvexmptmplcd/>
  214. <rsrvexmptmplexecrnm/>
  215. <rsrvexmpcnt/>
  216. <fastyn/>
  217. <enemayn/>
  218. <rsrvaprvtmplcd/>
  219. <slepyn/>
  220. <dcusrsrvyn/>
  221. <modality/>
  222. <pacsnocretyn/>
  223. <etceqmtifyn/>
  224. <prestddappyn/>
  225. <anotestyn>Y</anotestyn>
  226. <sytserdispyn/>
  227. <sytshealdispyn/>
  228. <glycostestyn/>
  229. <bonedentestyn/>
  230. <prcpexecdeptcd/>
  231. <nextexcuroomcd/>
  232. <excurem/>
  233. <basesuppdeptcd/>
  234. <excutodd/>
  235. </item>
  236. </hidden>
  237. <temp>
  238. <templst/>
  239. <excutm>0</excutm>
  240. <sortno>1</sortno>
  241. </temp>
  242. <hidden1>
  243. <initsystmdl>
  244. <rsltclscd2/>
  245. <rsltclsnm2/>
  246. <basecdcnts/>
  247. </initsystmdl>
  248. </hidden1>
  249. </root>
  250. </instance>
  251. <script type="javascript" ev:event="xforms-ready">
  252. <![CDATA[
  253. zbcfGetCodeList( new Array("A0071", "A0072", "A0073", "A0463", "A0481", "A0502", "A0501"), new Array("/root/init/baseinfo/initexecbaseflag",
  254. "/root/init/baseinfo/initioexamflag",
  255. "/root/init/baseinfo/initrsrvplceflag",
  256. "/root/init/baseinfo/excuclscd",
  257. "/root/init/baseinfo/rsltclscd1",
  258. "/root/init/baseinfo/initeqmtifyn",
  259. "/root/init/baseinfo/initpacsnocretyn"
  260. ) );
  261. zbcfGetSubCodeList("A0481", "", "A0482", "cdnm", "asc", "true", "/root/init/baseinfo1/rsltclscd2");
  262. submit("TRZBC00101", false);
  263. submit("TRAEA01301", false); // 검사치료실 가져오기
  264. submit("TRAEB00601", false); // 부위코드 가져오기
  265. submit("TRAEB00205", false); // 수행부서 코드 가져오기
  266. submit("TRAEB00206", false); // 공통 그룹코드 가져오기
  267. model.setValue("/root/send/srchexamcurecd","%");
  268. model.setValue("/root/send/srchexamcurenm","%");
  269. submit("TRAEB04302");
  270. model.setValue("/root/send/srchexamcurecd","");
  271. model.setValue("/root/send/srchexamcurenm","");
  272. copyNodesetType("/root/hidden1/initsystmdl", "/root/init/cmb_info/initsystmdl");
  273. //model.removeNodeset("/root/main/examcurecdlist/item");
  274. grd_examcurecdlist.fixedcellcheckbox(0,1)=true;
  275. // Section, Modal 등의 공통정보를 가져온다. App단에서 그룹코드별 셋팅을 입력해 놓는다.
  276. model.setValue("/root/send/grupcdid","A");
  277. submit("TRAEA01313");
  278. model.refresh();
  279. ]]>
  280. </script>
  281. <submission id="TXAEB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
  282. <submission id="TRAEB04302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/examcurecdlist"/>
  283. <submission id="TRZBC00101"/>
  284. <submission id="TRZBC00122"/>
  285. <!-- <bind id="bind_prcpexecdeptcd" ref="/root/main/examcurecdlist/item/prcpexecdeptcd" readonly="../prcpexecdeptcd!=''"/> -->
  286. <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
  287. <submission id="TRAEB00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/bodypartlist"/>
  288. <submission id="TRAEB00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/dept_info"/>
  289. <submission id="TRAEB00206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/comcd_info"/>
  290. <submission id="TRAEB00207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchrsltclscd1" replace="instance" resultref="/root/init/comcd_info2"/>
  291. <!-- Section, Modal 등의 공통정보를 가져온다 -->
  292. <submission id="TRAEA01313" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info2"/>
  293. </model>
  294. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  295. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  296. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  297. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  298. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  299. <script type="javascript">
  300. <![CDATA[
  301. function fSrchDrInfo() {
  302. /* @group : 검사치료코드 제 3판독의 등록
  303. * @ver :
  304. * @by : 장준원
  305. * @-----------------------------------
  306. * @type : function
  307. * @access : public
  308. * @desc : 제 3판독의를 통한 PACS 오더 전달..
  309. */
  310. model.resetInstanceNode("/root/main/userpopupinfo"); // Instance 초기화
  311. model.removeNodeset("/root/main/userinfolist/list"); // Instance 초기화
  312. model.setValue("/root/main/userpopupinfo/param", "_OneS"); // 사용자 한 명만을 검색하기 위한 파라미터 설정
  313. modal("SPZSU10103", "", "200", "200", "SPZSU10103", "/root/main/userpopupinfo", "/root/main/temp");
  314. var iParam = getParameter("SPZSU10103_");
  315. setCSVToNode("/root/main/userinfolist", iParam);
  316. clearParameter("SPZSU10103_");
  317. }
  318. function fCheckExCuCd() {
  319. var srchLength1 = model.instances(0).selectNodes( "/root/main/examcurecdlist/item" ).length;
  320. for ( var i = 1 ; i <= srchLength1; i++ ) {
  321. if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/excucd") == "" ) {
  322. messageBox("검사코드[필수입력사항]를 입력 해야 합니다.","I999");
  323. return "1";
  324. }
  325. if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/excucdnm") == "" ) {
  326. messageBox("["+model.getValue("/root/main/examcurecdlist/item["+i+"]/excucd")+"]코드의 검사코드명칭[필수입력사항]를 입력 해야 합니다.","I999");
  327. return "1";
  328. }
  329. if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/prcpexecdeptcd") == "" ) {
  330. messageBox("["+model.getValue("/root/main/examcurecdlist/item["+i+"]/excucd")+"]코드의 시행부서코드[필수입력사항]를 선택 해야 합니다.","I999");
  331. return "1";
  332. }
  333. if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/excuclscd") == "" ) {
  334. model.setValue("/root/main/examcurecdlist/item["+i+"]/excuclscd", "-");
  335. }
  336. if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsltclscd1") == "" ) {
  337. model.setValue("/root/main/examcurecdlist/item["+i+"]/rsltclscd1", "-");
  338. }
  339. if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsltclscd2") == "" ) {
  340. model.setValue("/root/main/examcurecdlist/item["+i+"]/rsltclscd2", "-");
  341. }
  342. if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/pacsnocretyn") == "N" ) {
  343. model.setValue("/root/main/examcurecdlist/item[" + i + "]/etceqmtifyn", "-");
  344. }else{
  345. if (model.getValue("/root/main/examcurecdlist/item[" + i + "]/etceqmtifyn") == "-"){
  346. messageBox("Pacs연동시 장비구분은 필수 선택항목입니다.", "E999", "");
  347. return "1";
  348. }
  349. }
  350. /*
  351. if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd") == "" || model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd") == "-") {
  352. }else{
  353. if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvexmptmplcd") == "" || model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvexmptmplcd") == "-") {
  354. }else{
  355. messageBox("예약예문은 단독 또는 멀티 두가지를 선택할 수 없습니다.", "E999", "");
  356. return "1";
  357. }
  358. }
  359. if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvexmptmplcd") == "" || model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvexmptmplcd") == "-") {
  360. }else{
  361. if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd") == "" || model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd") == "-") {
  362. }else{
  363. messageBox("예약예문은 단독 또는 멀티 두가지를 선택할 수 없습니다.", "E999", "");
  364. return "1";
  365. }
  366. }
  367. */
  368. if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd") == "" ){
  369. model.setValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd", "-");
  370. }
  371. // if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/excuroomcd") == "" ) {
  372. // messageBox("["+model.getValue("/root/main/examcurecdlist/item["+i+"]/excucd")+"]코드의 검사,치료실코드[필수입력사항]를 선택 해야 합니다.","I999");
  373. // return "1";
  374. // }
  375. }
  376. }
  377. ]]>
  378. </script>
  379. </xhtml:head>
  380. <xhtml:body pagewidth="1017" pageheight="644" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  381. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1001px; height:577px; ">
  382. <group id="grp_sea" style="left:0px; top:10px; width:1000px; height:35px; vertical-align:top; ">
  383. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1000px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  384. <line id="line13" class="line_4" style="x1:927px; y1:7px; x2:927px; y2:29px; "/>
  385. <button id="btn_sea" class="btn1_letter2" style="left:938px; top:7px; width:56px; height:22px; ">
  386. <caption>조회</caption>
  387. <script type="javascript" ev:event="DOMActivate">
  388. <![CDATA[
  389. model.removeNodeset("/root/main/examcurecdlist/item");
  390. if ( model.getValue("/root/send/srchexamcurecd") == "" ) {
  391. model.setValue("/root/send/srchexamcurecd","%");
  392. }else {
  393. model.setValue("/root/send/srchexamcurecd",model.getValue("/root/send/srchexamcurecd").toUpperCase()+"%");
  394. }
  395. if ( model.getValue("/root/send/srchexamcurenm") == "" ) {
  396. model.setValue("/root/send/srchexamcurenm","%");
  397. }else {
  398. model.setValue("/root/send/srchexamcurenm",model.getValue("/root/send/srchexamcurenm")+"%");
  399. }
  400. submit("TRAEB04302");
  401. model.setValue("/root/send/srchexamcurecd","");
  402. model.setValue("/root/send/srchexamcurenm","");
  403. model.refresh();
  404. ]]>
  405. </script>
  406. </button>
  407. <caption id="caption2" class="search_name" style="left:5px; top:10px; width:86px; height:17px; ">검사코드 :</caption>
  408. <input id="ipt_srchexamcurecd" ref="/root/send/srchexamcurecd" class="input_search" imemode="alpha" style="left:95px; top:10px; width:115px; height:19px; ">
  409. <script type="javascript" ev:event="onkeyup">
  410. <![CDATA[
  411. inputEnterKey("btn_sea", "DOMActivate");
  412. ]]>
  413. </script>
  414. <hint>
  415. <![CDATA[검사코드12자리입력가능]]>
  416. </hint>
  417. </input>
  418. <input id="ipt_srchexamcurenm" ref="/root/send/srchexamcurenm" class="input_search" style="left:326px; top:10px; width:149px; height:19px; ">
  419. <script type="javascript" ev:event="onkeyup">
  420. <![CDATA[
  421. inputEnterKey("btn_sea", "DOMActivate");
  422. ]]>
  423. </script>
  424. <hint>
  425. <![CDATA[검사코드12자리입력가능]]>
  426. </hint>
  427. </input>
  428. <caption id="caption3" class="search_name" style="left:222px; top:10px; width:100px; height:17px; ">검사코드명 :</caption>
  429. <select1 id="cmb_deptcd" ref="/root/send/globalinstance/instance1" appearance="minimal" style="left:585px; top:10px; width:125px; height:19px; ">
  430. <choices>
  431. <itemset nodeset="/root/init/cmb_info/suppdept">
  432. <label ref="depthngnm"/>
  433. <value ref="suppdeptcd"/>
  434. </itemset>
  435. </choices>
  436. <script type="javascript" ev:event="xforms-value-changed">
  437. <![CDATA[
  438. model.setValue("/root/send/globalinstance/instance1", cmb_deptcd.value);
  439. submit("TRAEA01301", false);
  440. btn_sea.dispatch("DOMActivate");
  441. ]]>
  442. </script>
  443. </select1>
  444. <caption id="caption5" class="search_name" style="left:490px; top:10px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">지원부서 :</caption>
  445. <caption id="caption7" class="search_name" style="left:718px; top:10px; width:73px; height:17px; ">검사실 :</caption>
  446. <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" class="combo_default" navindex="1" appearance="minimal" editmode="input" style="left:795px; top:10px; width:120px; height:19px; ">
  447. <choices>
  448. <itemset nodeset="/root/init/cmb_info/initexecroom">
  449. <label ref="excuroomcdnm"/>
  450. <value ref="excuroomcdid"/>
  451. </itemset>
  452. </choices>
  453. <script type="javascript" ev:event="xforms-value-changed">
  454. <![CDATA[
  455. btn_sea.dispatch("DOMActivate");
  456. ]]>
  457. </script>
  458. </select1>
  459. </group>
  460. <line id="line1" class="line_1" style="x1:1px; y1:69px; x2:1000px; y2:69px; "/>
  461. <datagrid id="grd_examcurecdlist" nodeset="/root/main/examcurecdlist/item" caption="^코드^검사명^예약구분^시행부서^조영제^비고^부서코드" colsep="^" colwidth="30, 97, 331, 61, 100, 50, 292, 100" ellipsis="true" explorerbar="sortshow" frozencols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:72px; width:1000px; height:503px; text-align:center; ">
  462. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  463. <col ref="excucd" type="output" style="text-align:left; "/>
  464. <col ref="excucdnm" type="output" style="text-align:left; "/>
  465. <col disabled="true" ref="rsrvplceflag" type="combo" style="text-align:center; ">
  466. <choices>
  467. <itemset nodeset="/root/init/baseinfo/initrsrvplceflag/A0073">
  468. <label ref="cdnm"/>
  469. <value ref="cdid"/>
  470. </itemset>
  471. </choices>
  472. </col>
  473. <col disabled="true" editmode="search" ref="prcpexecdeptcd" type="combo">
  474. <choices>
  475. <itemset nodeset="/root/init/dept_info/initprcpexecdeptcd">
  476. <label ref="prcpexecdeptcdnm"/>
  477. <value ref="prcpexecdeptcdid"/>
  478. </itemset>
  479. </choices>
  480. </col>
  481. <col checkvalue="Y,N" ref="angiouseyn" type="checkbox"/>
  482. <col ref="excurem" type="output"/>
  483. <col ref="basesuppdeptcd" visibility="hidden"/>
  484. <script type="javascript" ev:event="onaftersort">
  485. <![CDATA[
  486. grd_examcurecdlist.gridToInstance();
  487. ]]>
  488. </script>
  489. </datagrid>
  490. <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:146px; height:14px; ">검사/치료 코드 현황</caption>
  491. </group>
  492. <group id="grp_btn" style="left:0px; top:592px; width:1001px; height:27px; ">
  493. <button id="btn_close" class="btn4_letter2" style="left:942px; top:3px; width:56px; height:22px; ">
  494. <caption>닫기</caption>
  495. <script type="javascript" ev:event="DOMActivate">
  496. <![CDATA[
  497. window.close();
  498. ]]>
  499. </script>
  500. </button>
  501. <button id="button1" class="btn4_letter2" style="left:884px; top:3px; width:56px; height:22px; ">
  502. <caption>확인</caption>
  503. <script type="javascript" ev:event="DOMActivate">
  504. <![CDATA[
  505. if (checkOpener()) {
  506. var check = "";
  507. var excucd = "";
  508. var excucdnm = "";
  509. var excurem = "";
  510. var loopcnt = 0;
  511. var loop = grd_examcurecdlist.rows - grd_examcurecdlist.fixedRows;
  512. var rowcnt = opener.grd_detlcdlist.rows;
  513. var grupcd = opener.grd_grupcdlist.valueMatrix(opener.grd_grupcdlist.selectedRow(0), opener.grd_grupcdlist.colRef("grupcd"));
  514. for( var i = 1 ; i <= loop ; i++ ) {
  515. check = model.getValue("/root/main/examcurecdlist/item[" + i + "]/check");
  516. if ( check == "Y" ) {
  517. excucd = model.getValue("/root/main/examcurecdlist/item[" + i + "]/excucd");
  518. excucdnm = model.getValue("/root/main/examcurecdlist/item[" + i + "]/excucdnm");
  519. excurem = model.getValue("/root/main/examcurecdlist/item[" + i + "]/excurem");
  520. opener.model.makeValue("/root/main/detlcdlist/item["+ rowcnt +"]/m", 1);
  521. opener.model.makeValue("/root/main/detlcdlist/item["+ rowcnt +"]/sortno", model.getValue("/root/temp/sortno"));
  522. opener.model.makeValue("/root/main/detlcdlist/item["+ rowcnt +"]/partgrupcd", grupcd);
  523. opener.model.makeValue("/root/main/detlcdlist/item["+ rowcnt +"]/partcd", excucd);
  524. opener.model.makeValue("/root/main/detlcdlist/item["+ rowcnt +"]/partdetlcd", "-");
  525. opener.model.makeValue("/root/main/detlcdlist/item["+ rowcnt +"]/basecdflagdesc", excucdnm);
  526. opener.model.makeValue("/root/main/detlcdlist/item["+ rowcnt +"]/excutm", model.getValue("/root/temp/excutm"));
  527. opener.model.makeValue("/root/main/detlcdlist/item["+ rowcnt +"]/basecdcnts", excurem);
  528. opener.model.makeValue("/root/main/detlcdlist/item["+ rowcnt +"]/suppdeptcd", "");
  529. rowcnt++;
  530. }
  531. loopcnt++;
  532. }
  533. opener.model.refresh();
  534. }
  535. window.close();
  536. ]]>
  537. </script>
  538. </button>
  539. <caption id="caption8" class="cell_1" style="left:720px; top:3px; width:72px; height:22px; text-align:center; vertical-align:middle; ">간격</caption>
  540. <caption id="caption4" class="cell_1" style="left:570px; top:3px; width:72px; height:22px; text-align:center; vertical-align:middle; ">우선순위</caption>
  541. <input id="input1" ref="/root/temp/sortno" style="left:644px; top:4px; width:70px; height:19px; text-align:right; "/>
  542. <input id="input2" ref="/root/temp/excutm" style="left:794px; top:5px; width:70px; height:19px; text-align:right; "/>
  543. </group>
  544. <group id="grp_tle" style="left:0px; top:0px; width:1001px; height:13px; ">
  545. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:126px; height:14px; ">검사/치료코드조회</caption>
  546. </group>
  547. <button id="button12" class="btn2_letter4" style="left:936px; top:62px; width:64px; height:19px; ">
  548. <caption>엑셀저장</caption>
  549. <script type="javascript" ev:event="DOMActivate">
  550. <![CDATA[
  551. var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
  552. grd_examcurecdlist.saveExcel(file);
  553. ]]>
  554. </script>
  555. </button>
  556. </xhtml:body>
  557. </xhtml:html>