SMAEA02300_IV입력관리.xrw 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <subordlist>
  11. <subordlist1>
  12. <pid/>
  13. <patnm/>
  14. <prcpdd/>
  15. <prcpnm/>
  16. <execprcpstatcd/>
  17. <payflagcd/>
  18. <prcphopedd/>
  19. <rsrvdd/>
  20. <orddepthngnm/>
  21. <orddrnm/>
  22. <ivinputyn/>
  23. <excupartcd/>
  24. <cntctel/>
  25. <arvtm/>
  26. <prcpkindcd/>
  27. <excuroomnm/>
  28. <rgstdepthngnm/>
  29. <rgstridnm/>
  30. <prcpgenrflag/>
  31. <basecd/>
  32. <rsrvdt/>
  33. <prcphopedt/>
  34. <execprcpuniqno/>
  35. <calcscorcd/>
  36. <prcpexecdeptcd/>
  37. <excuroomcd/>
  38. <rgstdeptcd/>
  39. <rgstrid/>
  40. <portprcpflag/>
  41. <inflag/>
  42. <rcptacptyn/>
  43. <execbaseflag/>
  44. <lrgcd/>
  45. <mdlcd/>
  46. <modality/>
  47. <rcptno/>
  48. <acptseqno/>
  49. <acptrem/>
  50. <execrem/>
  51. <prcpdelivefact/>
  52. <execrid1/>
  53. <execrid2/>
  54. <execrid3/>
  55. <execrid4/>
  56. <acptid/>
  57. <nuclcd/>
  58. <compdcd/>
  59. <drugqty/>
  60. <drugmthdcd/>
  61. <cstqty/>
  62. <injpartcd/>
  63. <suplcustcd/>
  64. <execrid/>
  65. <basesuppdeptcd/>
  66. </subordlist1>
  67. </subordlist>
  68. <mainordlist2>
  69. <subordlist>
  70. <pid/>
  71. <nuclcd/>
  72. <drugdd/>
  73. <drugtm/>
  74. <compdcd/>
  75. <drugqty/>
  76. <drugmthdcd/>
  77. <cstqty/>
  78. <injpartcd/>
  79. <suplcustcd/>
  80. <ht/>
  81. <bdwt/>
  82. <bsugarqty/>
  83. <execrid/>
  84. <nuclrem/>
  85. </subordlist>
  86. </mainordlist2>
  87. <patinfo>
  88. <patinfolist/>
  89. </patinfo>
  90. <matrcstcodelist>
  91. <item>
  92. <!-- 검사 코드(영문+숫자 조합) -->
  93. <excucd/>
  94. <!-- 검사 코드명 -->
  95. <excucdnm/>
  96. <!-- 핵종 코드 -->
  97. <nuclcd/>
  98. <!-- 화합물 코드 -->
  99. <compdcd/>
  100. <!-- 약물 투여량 -->
  101. <drugqty/>
  102. <!-- 약물 투여방법 -->
  103. <drugmthdcd/>
  104. <!-- 소모량 -->
  105. <cstqty/>
  106. <!-- IV.SITE -->
  107. <injpartcd/>
  108. <!-- 공급처 -->
  109. <suplcustcd/>
  110. <!-- 검사자 -->
  111. <execrid/>
  112. <!-- 지원부서코드 -->
  113. <basesuppdeptcd/>
  114. </item>
  115. </matrcstcodelist>
  116. </main>
  117. <send>
  118. <data>
  119. <srchpid/>
  120. <srchdate1/>
  121. <srchdate2/>
  122. <cmb_info>
  123. <initcompdcd>
  124. <compdcdid/>
  125. </initcompdcd>
  126. <initdrugmthdcd>
  127. <drugmthdcdid/>
  128. </initdrugmthdcd>
  129. <initinjpartcd>
  130. <injpartcdid/>
  131. </initinjpartcd>
  132. <initsuplcustcd>
  133. <suplcustcdid/>
  134. </initsuplcustcd>
  135. </cmb_info>
  136. <nuclcd/>
  137. <drugdd/>
  138. <drugtm/>
  139. <drugqty/>
  140. <cstqty/>
  141. <ht/>
  142. <bdwt/>
  143. <bsugarqty/>
  144. <nuclrem/>
  145. <execrid/>
  146. <grid_info>
  147. <grid_data>
  148. </grid_data>
  149. </grid_info>
  150. <cmb_info2>
  151. <initexecroom>
  152. <excuroomcdid/>
  153. </initexecroom>
  154. </cmb_info2>
  155. <acptlistflag/>
  156. </data>
  157. <globalinstance>
  158. <instance1/>
  159. </globalinstance>
  160. <windowloadinstance>SMAEA02300</windowloadinstance>
  161. </send>
  162. <init>
  163. <baseinfo>
  164. <initexecprcpstatcd/>
  165. <initpayflagcd/>
  166. </baseinfo>
  167. <cmb_info>
  168. <initcompdcd>
  169. <compdcdid/>
  170. <compdcdnm/>
  171. </initcompdcd>
  172. <initdrugmthdcd>
  173. <drugmthdcdid/>
  174. <drugmthdcdnm/>
  175. </initdrugmthdcd>
  176. <initinjpartcd>
  177. <injpartcdid/>
  178. <injpartcdnm/>
  179. </initinjpartcd>
  180. <initsuplcustcd>
  181. <suplcustcdid/>
  182. <suplcustcdnm/>
  183. </initsuplcustcd>
  184. </cmb_info>
  185. <cmb_info2>
  186. <initexecroom>
  187. <excuroomcdid/>
  188. <excuroomcdnm/>
  189. </initexecroom>
  190. </cmb_info2>
  191. <windowloadinstance>
  192. </windowloadinstance>
  193. </init>
  194. <hidden/>
  195. </root>
  196. </instance>
  197. <script type="javascript" ev:event="xforms-ready">
  198. <![CDATA[
  199. aezfSetSuppDeptcd();
  200. model.removenode("/root/main/subordlist");
  201. model.removenode("/root/main/mainordlist2");
  202. //submit("TRAEA02302", false);
  203. submit("TRAEA02301", false);
  204. zbcfGetCodeList( new Array("M0011","M0029"), new Array("/root/init/baseinfo/initexecprcpstatcd", "/root/init/baseinfo/initpayflagcd") );
  205. submit("TRZBC00101", false);
  206. ipt_date1.value = getCurrentDate();
  207. ipt_date2.value = getCurrentDate();
  208. ipt_date3.value = getCurrentDate();
  209. ipt_date4.value = getCurrentTime();
  210. submit("TRAEA01401", false);
  211. model.refresh();
  212. /*alert(model.getValue("/root/init/windowloadinstance/excuroom")+'-'+
  213. model.getValue("/root/init/windowloadinstance/srchdate2")+'-'+
  214. model.getValue("/root/init/windowloadinstance/srchdate1")+'-'+
  215. model.getValue("/root/init/windowloadinstance/srchpid")+'-'+
  216. model.getValue("/root/init/windowloadinstance/windowid"));
  217. */
  218. if ( model.getValue("/root/init/windowloadinstance/windowid") == "SMAER00300" ||
  219. model.getValue("/root/init/windowloadinstance/windowid") == "SMAEA01400" ) { // 핵체내실시관리 화면이면... 자동조회되게함.
  220. model.setValue("/root/send/data/srchdate1", model.getValue("/root/init/windowloadinstance/srchdate1"));
  221. model.setValue("/root/send/data/srchdate2", model.getValue("/root/init/windowloadinstance/srchdate2"));
  222. model.setValue("/root/send/data/cmb_info2/initexecroom/excuroomcdid", model.getValue("/root/init/windowloadinstance/excuroom"));
  223. model.setValue("/root/send/data/srchpid", model.getValue("/root/init/windowloadinstance/srchpid"));
  224. fGetExamCurePrcpList(grd_mainordlist1);
  225. //model.setValue("/root/send/data/srchpid",""); // <-- 요놈이 Setting 안됨????
  226. model.refresh();
  227. }
  228. ]]>
  229. </script>
  230. <bind id="bind_execprcpstatcd" ref="/root/main/subordlist/subordlist1/execprcpstatcd" readonly="../execprcpstatcd!=''"/>
  231. <bind id="bind_payflagcd" ref="/root/main/subordlist/subordlist1/payflagcd" readonly="../payflagcd!=''"/>
  232. <submission id="TRZBC00101"/>
  233. <submission id="TRAEA02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
  234. <submission id="TRAEA01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info2"/>
  235. <submission id="TRAEA02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info2"/>
  236. <submission id="TRAEA02303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/mainordlist2"/>
  237. <submission id="TXAEA02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
  238. <submission id="TRAEA02311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/subordlist"/>
  239. <submission id="TXAEA02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
  240. <submission id="TRAEB02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/matrcstcodelist"/>
  241. </model>
  242. <script type="javascript">
  243. <![CDATA[
  244. /* @group : IV입력관리(핵의학체내)
  245. * @ver : 2007.03.21
  246. * @by : 장준원
  247. * @-----------------------------------
  248. * @type : function
  249. * @access : public
  250. * @desc : Grid 초기화를 위한 Function
  251. */
  252. function fInitGrid() {
  253. model.resetInstanceNode("/root/main/subordlist/subordlist1");
  254. model.resetInstanceNode("/root/main/mainordlist2/subordlist");
  255. model.resetInstanceNode("/root/send/data/grd_info/grid_data/grpcalcscorcd");
  256. model.refresh();
  257. }
  258. /* @group : IV입력관리(핵의학체내)
  259. * @ver : 2007.03.21
  260. * @by : 장준원
  261. * @-----------------------------------
  262. * @type : function
  263. * @access : public
  264. * @desc : Grid 초기화를 위한 Function
  265. */
  266. function fInitGrid2() {
  267. model.resetInstanceNode("/root/main/mainordlist2/subordlist");
  268. model.setValue("/root/send/data/nuclcd", "");
  269. model.setValue("/root/send/data/drugdd", "");
  270. model.setValue("/root/send/data/drugtm", "");
  271. model.setValue("/root/send/data/cmb_info/initcompdcd/compdcdid", "");
  272. model.setValue("/root/send/data/drugqty", "");
  273. model.setValue("/root/send/data/cmb_info/initdrugmthdcd/drugmthdcdid", "");
  274. model.setValue("/root/send/data/cstqty", "");
  275. model.setValue("/root/send/data/cmb_info/initinjpartcd/injpartcdid", "");
  276. model.setValue("/root/send/data/cmb_info/initsuplcustcd/suplcustcdid", "");
  277. model.setValue("/root/send/data/ht", "");
  278. model.setValue("/root/send/data/bdwt", "");
  279. model.setValue("/root/send/data/bsugarqty", "");
  280. model.setValue("/root/send/data/nuclrem", "");
  281. model.refresh();
  282. }
  283. /* @group : IV입력관리(핵의학체내)
  284. * @ver : 2007.03.21
  285. * @by : 장준원
  286. * @-----------------------------------
  287. * @type : function
  288. * @access : public
  289. * @desc : 처방내역 조회를 위한 선택 Function
  290. */
  291. function fGetExamCurePrcpList(maingridlistid) {
  292. //if ( model.getValue("/root/send/data/cmb_info2/initexecroom/excuroomcdid") == "" ) {
  293. // messageBox("[조회필수항목] 검사실 정보를 선택하십시오.","I999");
  294. // return true;
  295. //}
  296. if ( maingridlistid.row == 0 ) return;
  297. fInitGrid();
  298. var acptlistflag = "E";
  299. model.makeValue("/root/send/data/acptlistflag", acptlistflag);
  300. // if ( btn_first.selected == true ) model.makeValue("/root/send/data/grd_info/grid_data/grpcalcscorcd", "%");
  301. // if ( btn_second.selected == true ) model.makeValue("/root/send/data/grd_info/grid_data/grpcalcscorcd", "GH%");
  302. // if ( btn_third.selected == true ) model.makeValue("/root/send/data/grd_info/grid_data/grpcalcscorcd", "%");
  303. // if ( btn_fouth.selected == true ) model.makeValue("/root/send/data/grd_info/grid_data/grpcalcscorcd", "%");
  304. if ( btn_first.selected == true ) model.makeValue("/root/send/data/grd_info/grid_data/initexcuroom", "");
  305. if ( btn_second.selected == true ) model.makeValue("/root/send/data/grd_info/grid_data/initexcuroom", "NM01");
  306. if ( btn_third.selected == true ) model.makeValue("/root/send/data/grd_info/grid_data/initexcuroom", "NMPT01");
  307. if ( btn_fouth.selected == true ) model.makeValue("/root/send/data/grd_info/grid_data/initexcuroom", "NM02");
  308. submit("TRAEA02311");
  309. model.makeValue("/root/hidden/updtflag","Y");
  310. //submit("TRAEA01411");
  311. //model.setValue("/root/send/data/srchpid","");
  312. model.refresh();
  313. }
  314. /* @group : IV입력관리(핵의학체내)
  315. * @ver : 2007.03.21
  316. * @by : 장준원
  317. * @-----------------------------------
  318. * @type : function
  319. * @access : public
  320. * @desc : IV입력내역 조회을 위한 Function
  321. */
  322. function fGetNuclInptList() {
  323. if ( grd_mainordlist1.row == 0 ) return;
  324. if ( grd_mainordlist1.isCell(event.target) && grd_mainordlist1.row >= grd_mainordlist1.fixedRows ) {
  325. var i = grd_mainordlist1.row;
  326. if ( model.getValue("/root/main/subordlist/subordlist1["+i+"]/ivinputyn") == "Y" ) {
  327. model.resetInstanceNode("/root/send/data/grd_info/grid_data/prcpdd");
  328. model.resetInstanceNode("/root/send/data/grd_info/grid_data/execprcpuniqno");
  329. model.resetInstanceNode("/root/send/data/grd_info/grid_data/pid");
  330. model.resetInstanceNode("/root/send/data/grd_info/grid_data/ordcd");
  331. model.resetInstanceNode("/root/send/data/grd_info/grid_data/ivinputyn");
  332. model.resetInstanceNode("/root/send/data/grd_info/grid_data/execrid");
  333. model.makeValue("/root/send/data/grd_info/grid_data/prcpdd", model.getValue("/root/main/subordlist/subordlist1["+i+"]/prcpdd") );
  334. model.makeValue("/root/send/data/grd_info/grid_data/execprcpuniqno", model.getValue("/root/main/subordlist/subordlist1["+i+"]/execprcpuniqno") );
  335. model.makeValue("/root/send/data/grd_info/grid_data/pid", model.getValue("/root/main/subordlist/subordlist1["+i+"]/pid") );
  336. model.makeValue("/root/send/data/grd_info/grid_data/ordcd", model.getValue("/root/main/subordlist/subordlist1["+i+"]/calcscorcd") );
  337. model.makeValue("/root/send/data/grd_info/grid_data/ivinputyn", model.getValue("/root/main/subordlist/subordlist1["+i+"]/ivinputyn") );
  338. // submit
  339. submit("TRAEA02303");
  340. model.refresh();
  341. // 재료소모입력
  342. model.makeValue("/root/send/data/prcpdd", model.getValue("/root/main/subordlist/subordlist1["+i+"]/prcpdd"));
  343. model.makeValue("/root/send/data/nuclcd", model.getValue("/root/main/mainordlist2/subordlist/nuclcd"));
  344. model.makeValue("/root/send/data/drugdd", model.getValue("/root/main/mainordlist2/subordlist/drugdd"));
  345. model.makeValue("/root/send/data/drugtm", model.getValue("/root/main/mainordlist2/subordlist/drugtm"));
  346. model.makeValue("/root/send/data/cmb_info/initcompdcd/compdcdid", model.getValue("/root/main/mainordlist2/subordlist/compdcd"));
  347. model.makeValue("/root/send/data/drugqty", model.getValue("/root/main/mainordlist2/subordlist/drugqty"));
  348. model.makeValue("/root/send/data/cmb_info/initdrugmthdcd/drugmthdcdid", model.getValue("/root/main/mainordlist2/subordlist/drugmthdcd"));
  349. model.makeValue("/root/send/data/cstqty", model.getValue("/root/main/mainordlist2/subordlist/cstqty"));
  350. model.makeValue("/root/send/data/cmb_info/initinjpartcd/injpartcdid", model.getValue("/root/main/mainordlist2/subordlist/injpartcd"));
  351. model.makeValue("/root/send/data/cmb_info/initsuplcustcd/suplcustcdid", model.getValue("/root/main/mainordlist2/subordlist/suplcustcd"));
  352. model.makeValue("/root/send/data/ht", model.getValue("/root/main/mainordlist2/subordlist/ht"));
  353. model.makeValue("/root/send/data/bdwt", model.getValue("/root/main/mainordlist2/subordlist/bdwt"));
  354. model.makeValue("/root/send/data/bsugarqty", model.getValue("/root/main/mainordlist2/subordlist/bsugarqty"));
  355. model.makeValue("/root/send/data/nuclrem", model.getValue("/root/main/mainordlist2/subordlist/nuclrem"));
  356. model.makeValue("/root/send/data/execrid", model.getValue("/root/main/mainordlist2/subordlist/execrid"));
  357. }else {
  358. ipt_date3.value = getCurrentDate();
  359. ipt_date4.value = getCurrentTime();
  360. model.resetInstanceNode("/root/send/data/grd_info/grid_data/prcpdd");
  361. model.resetInstanceNode("/root/send/data/grd_info/grid_data/execprcpuniqno");
  362. model.resetInstanceNode("/root/send/data/grd_info/grid_data/pid");
  363. model.resetInstanceNode("/root/send/data/grd_info/grid_data/ordcd");
  364. model.resetInstanceNode("/root/send/data/grd_info/grid_data/ivinputyn");
  365. model.resetInstanceNode("/root/send/data/grd_info/grid_data/execrid");
  366. model.makeValue("/root/send/data/grd_info/grid_data/prcpdd", model.getValue("/root/main/subordlist/subordlist1["+i+"]/prcpdd") );
  367. model.makeValue("/root/send/data/grd_info/grid_data/execprcpuniqno", model.getValue("/root/main/subordlist/subordlist1["+i+"]/execprcpuniqno") );
  368. model.makeValue("/root/send/data/grd_info/grid_data/pid", model.getValue("/root/main/subordlist/subordlist1["+i+"]/pid") );
  369. model.makeValue("/root/send/data/grd_info/grid_data/ordcd", model.getValue("/root/main/subordlist/subordlist1["+i+"]/calcscorcd") );
  370. model.makeValue("/root/send/data/grd_info/grid_data/ivinputyn", model.getValue("/root/main/subordlist/subordlist1["+i+"]/ivinputyn") );
  371. model.makeValue("/root/send/data/grd_info/grid_data/execrid", model.getValue("/root/main/subordlist/subordlist1["+i+"]/execrid"));
  372. // 재료소모코드관리의 TRAEB02001을 호출하기 위해 calcscorcd를 srchexcucd로 대체함.
  373. model.makeValue("/root/send/data/grd_info/grid_data/srchexcucd", model.getValue("/root/main/subordlist/subordlist1["+i+"]/calcscorcd") );
  374. submit("TRAEB02001");
  375. model.makeValue("/root/send/data/prcpdd", model.getValue("/root/main/subordlist/subordlist1["+i+"]/prcpdd"));
  376. model.makeValue("/root/send/data/nuclcd", model.getValue("/root/main/matrcstcodelist/item/nuclcd"));
  377. model.makeValue("/root/send/data/cmb_info/initcompdcd/compdcdid", model.getValue("/root/main/matrcstcodelist/item/compdcd"));
  378. model.makeValue("/root/send/data/drugqty", model.getValue("/root/main/matrcstcodelist/item/drugqty"));
  379. model.makeValue("/root/send/data/cmb_info/initdrugmthdcd/drugmthdcdid", model.getValue("/root/main/matrcstcodelist/item/drugmthdcd"));
  380. model.makeValue("/root/send/data/cstqty", model.getValue("/root/main/matrcstcodelist/item/cstqty"));
  381. model.makeValue("/root/send/data/cmb_info/initinjpartcd/injpartcdid", model.getValue("/root/main/matrcstcodelist/item/injpartcd"));
  382. model.makeValue("/root/send/data/cmb_info/initsuplcustcd/suplcustcdid", model.getValue("/root/main/matrcstcodelist/item/suplcustcd"));
  383. model.makeValue("/root/send/data/execrid", model.getValue("/root/main/matrcstcodelist/item/execrid"));
  384. }
  385. model.refresh();
  386. }
  387. }
  388. /* @group : IV입력관리(핵의학체내)
  389. * @ver : 2007.03.21
  390. * @by : 장준원
  391. * @-----------------------------------
  392. * @type : function
  393. * @access : public
  394. * @desc : IV입력을 위한 Function
  395. */
  396. function fExeNuclInpt() {
  397. /* alert(model.getValue("/root/send/data/nuclcd")+'-'+
  398. model.getValue("/root/send/data/drugdd")+'-'+
  399. model.getValue("/root/send/data/drugtm")+'-'+
  400. model.getValue("/root/send/data/cmb_info/initcompdcd/compdcdid")+'-'+
  401. model.getValue("/root/send/data/drugqty")+'-'+
  402. model.getValue("/root/send/data/cmb_info/initdrugmthdcd/drugmthdcdid")+'-'+
  403. model.getValue("/root/send/data/cstqty")+'-'+
  404. model.getValue("/root/send/data/cmb_info/initinjpartcd/injpartcdid")+'-'+
  405. model.getValue("/root/send/data/cmb_info/initsuplcustcd/suplcustcdid")+'-'+
  406. model.getValue("/root/send/data/ht")+'-'+
  407. model.getValue("/root/send/data/bdwt")+'-'+
  408. model.getValue("/root/send/data/bsugarqty")+'-'+
  409. model.getValue("/root/send/data/nuclrem")+'-'+
  410. model.getValue("/root/send/data/grd_info/grid_data/execprcpuniqno")+'-'+
  411. model.getValue("/root/send/data/grd_info/grid_data/ivinputyn")+'-'+
  412. model.getValue("/root/send/data/grd_info/grid_data/ordcd")
  413. );
  414. */
  415. /*
  416. if ( model.getValue("/root/send/data/nuclcd") == "" ) {
  417. messageBox("핵종코드를 선택하세요.","I999");
  418. return "0";
  419. }
  420. */
  421. if ( messageBox("동위원소투여 입력을 ","Q002")==6 ) {
  422. if ( model.getValue("/root/send/data/grd_info/grid_data/ivinputyn") == "Y" ) {
  423. if ( messageBox("동위원소투여 입력여부가 완료된 검사입니다. 재료소모 내역 수정을 진행합니다.", "Q002")==6 ) {
  424. submit("TXAEA02301");
  425. model.makeValue("/root/hidden/updtflag","Y");
  426. }else {
  427. return "0";
  428. }
  429. }else {
  430. submit("TXAEA02301");
  431. model.makeValue("/root/hidden/updtflag","Y");
  432. }
  433. }else {
  434. return "0";
  435. }
  436. }
  437. /* @group : IV입력관리(핵의학체내)
  438. * @ver : 2007.03.21
  439. * @by : 장준원
  440. * @-----------------------------------
  441. * @type : function
  442. * @access : public
  443. * @desc : IV입력 취소를 위한 Function
  444. */
  445. function fExeNuclCnclList() {
  446. /*
  447. alert(model.getValue("/root/send/data/nuclcd")+'-'+
  448. model.getValue("/root/send/data/drugdd")+'-'+
  449. model.getValue("/root/send/data/drugtm")+'-'+
  450. model.getValue("/root/send/data/cmb_info/initcompdcd/compdcdid")+'-'+
  451. model.getValue("/root/send/data/drugqty")+'-'+
  452. model.getValue("/root/send/data/cmb_info/initdrugmthdcd/drugmthdcdid")+'-'+
  453. model.getValue("/root/send/data/cstqty")+'-'+
  454. model.getValue("/root/send/data/cmb_info/initinjpartcd/injpartcdid")+'-'+
  455. model.getValue("/root/send/data/cmb_info/initsuplcustcd/suplcustcdid")+'-'+
  456. model.getValue("/root/send/data/ht")+'-'+
  457. model.getValue("/root/send/data/bdwt")+'-'+
  458. model.getValue("/root/send/data/bsugarqty")+'-'+
  459. model.getValue("/root/send/data/nuclrem")+'-'+
  460. model.getValue("/root/send/data/grd_info/grid_data/execprcpuniqno")+'-'+
  461. model.getValue("/root/send/data/grd_info/grid_data/ivinputyn")+'-'+
  462. model.getValue("/root/send/data/grd_info/grid_data/ordcd")
  463. );
  464. */ //return;
  465. if ( model.getValue("/root/send/data/grd_info/grid_data/ivinputyn") == "N" ) {
  466. messageBox("동위원소투여 입력여부가 [N]입니다. 취소상태로 변경할 수 없습니다.","I999");
  467. return "0";
  468. }
  469. //return;
  470. if ( messageBox("동위원소투여 입력 취소를 ","Q002")==6 ) {
  471. submit("TXAEA02302");
  472. }else {
  473. return "0";
  474. }
  475. }
  476. ]]>
  477. </script>
  478. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  479. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  480. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  481. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  482. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  483. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  484. </xhtml:head>
  485. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  486. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:137px; height:14px; ">동위원소 투여관리</caption>
  487. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  488. <caption id="caption1" style="left:205px; top:30px; width:15px; height:20px; vertical-align:middle; ">~</caption>
  489. <caption id="caption3" class="search_name" style="left:15px; top:30px; width:86px; height:17px; ">접수일자</caption>
  490. <button id="btn_first" class="btn_sw" group="tab" selected="true" style="left:6px; top:65px; width:46px; height:22px; ">
  491. <caption>전체</caption>
  492. <toggle case="case1" ev:event="onclick"/>
  493. <script type="javascript" ev:event="DOMActivate">
  494. <![CDATA[
  495. fGetExamCurePrcpList(grd_mainordlist1);
  496. ]]>
  497. </script>
  498. </button>
  499. <button id="btn_second" class="btn_sw" group="tab" style="left:53px; top:65px; width:60px; height:22px; ">
  500. <caption>영상검사</caption>
  501. <toggle case="case1" ev:event="onclick"/>
  502. <script type="javascript" ev:event="DOMActivate">
  503. <![CDATA[
  504. fGetExamCurePrcpList(grd_mainordlist1);
  505. ]]>
  506. </script>
  507. </button>
  508. <button id="btn_third" class="btn_sw" group="tab" style="left:114px; top:65px; width:72px; height:22px; ">
  509. <caption>PET-CT</caption>
  510. <toggle case="case1" ev:event="onclick"/>
  511. <script type="javascript" ev:event="DOMActivate">
  512. <![CDATA[
  513. fGetExamCurePrcpList(grd_mainordlist1);
  514. ]]>
  515. </script>
  516. </button>
  517. <button id="btn_fouth" class="btn_sw" group="tab" style="left:187px; top:65px; width:46px; height:22px; ">
  518. <caption>치료</caption>
  519. <toggle case="case1" ev:event="onclick"/>
  520. <script type="javascript" ev:event="DOMActivate">
  521. <![CDATA[
  522. fGetExamCurePrcpList(grd_mainordlist1);
  523. ]]>
  524. </script>
  525. </button>
  526. <switch id="switch1" style="left:0px; top:85px; width:1195px; height:500px; ">
  527. <case id="case1" selected="true">
  528. <datagrid id="grd_mainordlist1" nodeset="/root/main/subordlist/subordlist1" caption="등록번호 ^성명^처방일자^검사명^상태^급여/비급여^희망일자^예약일자^진료과^진료의^IV입력^부위코드^Tel^도착^prcpkindcd^excuroomnm^rgstdepthngnm^rgstridnm^prcpgenrflag^basecd^rsrvdt^prcphopedt^execprcpuniqno^calcscorcd^prcpexecdeptcd^excuroomcd^rgstdeptcd^rgstrid^portprcpflag^inflag^rcptacptyn^execbaseflag^lrgcd^mdlcd^modality^rcptno^acptseqno^acptrem^execrem^prcpdelivefact^execrid1^execrid2^execrid3^execrid4^acptid^nuclcd^compdcd^drugqty^drugmthdcd^cstqty^injpartcd^suplcustcd^execrid^basesuppdeptcd" colsep="^" colwidth="93, 81, 90, 255, 77, 86, 99, 93, 98, 102, 47, 100, 38, 50, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:3px; top:5px; width:1187px; height:485px; ">
  529. <col ref="pid"/>
  530. <col ref="patnm"/>
  531. <col ref="prcpdd" format="yyyy-mm-dd"/>
  532. <col ref="prcpnm"/>
  533. <col ref="execprcpstatcd" type="combo">
  534. <choices>
  535. <itemset nodeset="/root/init/baseinfo/initexecprcpstatcd/M0011">
  536. <label ref="cdnm"/>
  537. <value ref="cdid"/>
  538. </itemset>
  539. </choices>
  540. </col>
  541. <col ref="payflagcd" type="combo">
  542. <choices>
  543. <itemset nodeset="/root/init/baseinfo/initpayflagcd/M0029">
  544. <label ref="cdnm"/>
  545. <value ref="cdid"/>
  546. </itemset>
  547. </choices>
  548. </col>
  549. <col ref="prcphopedd" format="yyyy-mm-dd"/>
  550. <col ref="rsrvdd" format="yyyy-mm-dd"/>
  551. <col ref="orddepthngnm"/>
  552. <col ref="orddrnm"/>
  553. <col ref="ivinputyn"/>
  554. <col ref="excupartcd"/>
  555. <col ref="cntctel"/>
  556. <col ref="arvtm"/>
  557. <col ref="prcpkindcd" visibility="hidden"/>
  558. <col ref="excuroomnm" visibility="hidden"/>
  559. <col ref="rgstdepthngnm" visibility="hidden"/>
  560. <col ref="rgstridnm" visibility="hidden"/>
  561. <col ref="prcpgenrflag" visibility="hidden"/>
  562. <col ref="basecd" visibility="hidden"/>
  563. <col ref="rsrvdt" visibility="hidden"/>
  564. <col ref="prcphopedt" visibility="hidden"/>
  565. <col ref="execprcpuniqno" visibility="hidden"/>
  566. <col ref="calcscorcd" visibility="hidden"/>
  567. <col ref="prcpexecdeptcd" visibility="hidden"/>
  568. <col ref="excuroomcd" visibility="hidden"/>
  569. <col ref="rgstdeptcd" visibility="hidden"/>
  570. <col ref="rgstrid" visibility="hidden"/>
  571. <col ref="portprcpflag" visibility="hidden"/>
  572. <col ref="inflag" visibility="hidden"/>
  573. <col ref="rcptacptyn" visibility="hidden"/>
  574. <col ref="execbaseflag" visibility="hidden"/>
  575. <col ref="lrgcd" visibility="hidden"/>
  576. <col ref="mdlcd" visibility="hidden"/>
  577. <col ref="modality" visibility="hidden"/>
  578. <col ref="rcptno" visibility="hidden"/>
  579. <col ref="acptseqno" visibility="hidden"/>
  580. <col ref="acptrem" visibility="hidden"/>
  581. <col ref="execrem" visibility="hidden"/>
  582. <col ref="prcpdelivefact" visibility="hidden"/>
  583. <col ref="execrid1" visibility="hidden"/>
  584. <col ref="execrid2" visibility="hidden"/>
  585. <col ref="execrid3" visibility="hidden"/>
  586. <col ref="execrid4" visibility="hidden"/>
  587. <col ref="acptid" visibility="hidden"/>
  588. <col ref="nuclcd" visibility="hidden"/>
  589. <col ref="compdcd" visibility="hidden"/>
  590. <col ref="drugqty" visibility="hidden"/>
  591. <col ref="drugmthdcd" visibility="hidden"/>
  592. <col ref="cstqty" visibility="hidden"/>
  593. <col ref="injpartcd" visibility="hidden"/>
  594. <col ref="suplcustcd" visibility="hidden"/>
  595. <col ref="execrid" visibility="hidden"/>
  596. <col ref="basesuppdeptcd" visibility="hidden"/>
  597. <script type="javascript" ev:event="ondblclick">
  598. <![CDATA[
  599. fInitGrid2();
  600. fGetNuclInptList();
  601. ]]>
  602. </script>
  603. <script type="javascript" ev:event="onclick">
  604. <![CDATA[
  605. fInitGrid2();
  606. fGetNuclInptList();
  607. ]]>
  608. </script>
  609. </datagrid>
  610. </case>
  611. <case id="case2"/>
  612. <case id="case3"/>
  613. <case id="case4"/>
  614. </switch>
  615. <line id="line2" class="line_1" style="x1:2px; y1:85px; x2:1192px; y2:85px; "/>
  616. <caption id="caption2" class="cell_1" style="left:400px; top:709px; width:55px; height:23px; text-align:right; vertical-align:middle; ">화합물</caption>
  617. <caption id="caption4" class="cell_1" style="left:805px; top:709px; width:55px; height:23px; text-align:right; vertical-align:middle; ">투여방법</caption>
  618. <select1 id="cmb_compdcd" ref="/root/send/data/cmb_info/initcompdcd/compdcdid" class="combo_search" appearance="minimal" style="left:457px; top:711px; width:100px; height:19px; ">
  619. <choices>
  620. <itemset nodeset="/root/init/cmb_info/initcompdcd">
  621. <label ref="compdcdnm"/>
  622. <value ref="compdcdid"/>
  623. </itemset>
  624. </choices>
  625. </select1>
  626. <caption id="caption5" class="cell_1" style="left:5px; top:733px; width:55px; height:23px; text-align:right; vertical-align:middle; ">IV.site</caption>
  627. <caption id="caption12" class="cell_1" style="left:5px; top:709px; width:55px; height:23px; text-align:right; vertical-align:middle; ">핵종</caption>
  628. <button id="button61" class="icon_search" style="left:141px; top:712px; width:16px; height:16px; ">
  629. <caption/>
  630. <script type="javascript" ev:event="DOMActivate">
  631. <![CDATA[
  632. window.load( "SPAEA02301_코드조회.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
  633. ]]>
  634. </script>
  635. </button>
  636. <input id="ipt_nuclcd" ref="/root/send/data/nuclcd" class="input_search" style="left:62px; top:711px; width:75px; height:19px; "/>
  637. <select1 id="cmb_drugmthdcd" ref="/root/send/data/cmb_info/initdrugmthdcd/drugmthdcdid" class="combo_search" appearance="minimal" style="left:862px; top:711px; width:100px; height:19px; ">
  638. <choices>
  639. <itemset nodeset="/root/init/cmb_info/initdrugmthdcd">
  640. <label ref="drugmthdcdnm"/>
  641. <value ref="drugmthdcdid"/>
  642. </itemset>
  643. </choices>
  644. </select1>
  645. <caption id="caption6" class="cell_1" style="left:167px; top:709px; width:55px; height:23px; text-align:right; vertical-align:middle; ">투여시간</caption>
  646. <caption id="caption7" class="cell_1" style="left:564px; top:709px; width:55px; height:23px; text-align:right; vertical-align:middle; ">투여량</caption>
  647. <select1 id="cmb_injpartcd" ref="/root/send/data/cmb_info/initinjpartcd/injpartcdid" class="combo_search" appearance="minimal" style="left:62px; top:735px; width:100px; height:19px; ">
  648. <choices>
  649. <itemset nodeset="/root/init/cmb_info/initinjpartcd">
  650. <label ref="injpartcdnm"/>
  651. <value ref="injpartcdid"/>
  652. </itemset>
  653. </choices>
  654. </select1>
  655. <caption id="caption8" class="cell_1" style="left:965px; top:709px; width:55px; height:23px; text-align:right; vertical-align:middle; ">소모량</caption>
  656. <input id="ipt_drugqty" ref="/root/send/data/drugqty" class="input_search" format="#,###.000" style="left:621px; top:711px; width:140px; height:19px; text-align:right; "/>
  657. <caption id="caption9" class="cell_1" style="left:702px; top:733px; width:55px; height:23px; text-align:right; vertical-align:middle; ">비고</caption>
  658. <caption id="caption10" style="left:765px; top:711px; width:30px; height:20px; vertical-align:middle; ">mCi</caption>
  659. <input id="ipt_cstqty" ref="/root/send/data/cstqty" class="input_search" format="#,###.000" style="left:1022px; top:711px; width:140px; height:19px; text-align:right; "/>
  660. <caption id="caption11" style="left:1165px; top:711px; width:30px; height:20px; vertical-align:middle; ">vial</caption>
  661. <input id="ipt_nuclrem" ref="/root/send/data/nuclrem" class="input_search" style="left:760px; top:735px; width:435px; height:19px; "/>
  662. <line id="line1" class="line_1" style="x1:5px; y1:704px; x2:1195px; y2:704px; "/>
  663. <caption id="caption22" class="tit_2" style="left:5px; top:685px; width:82px; height:14px; ">재료소모</caption>
  664. <caption id="caption13" class="cell_1" style="left:167px; top:733px; width:55px; height:23px; text-align:right; vertical-align:middle; ">공급처</caption>
  665. <select1 id="cmb_suplcustcd" ref="/root/send/data/cmb_info/initsuplcustcd/suplcustcdid" class="combo_search" appearance="minimal" style="left:224px; top:735px; width:100px; height:19px; ">
  666. <choices>
  667. <itemset nodeset="/root/init/cmb_info/initsuplcustcd">
  668. <label ref="suplcustcdnm"/>
  669. <value ref="suplcustcdid"/>
  670. </itemset>
  671. </choices>
  672. </select1>
  673. <caption id="caption14" class="cell_1" style="left:327px; top:733px; width:55px; height:23px; text-align:right; vertical-align:middle; ">키</caption>
  674. <input id="ipt_ht" ref="/root/send/data/ht" class="input_search" style="left:385px; top:735px; width:65px; height:19px; text-align:right; "/>
  675. <input id="ipt_bdwt" ref="/root/send/data/bdwt" class="input_search" style="left:510px; top:735px; width:65px; height:19px; text-align:right; "/>
  676. <caption id="caption15" class="cell_1" style="left:452px; top:733px; width:55px; height:23px; text-align:right; vertical-align:middle; ">몸무게</caption>
  677. <input id="ipt_bsugarqty" ref="/root/send/data/bsugarqty" class="input_search" style="left:635px; top:735px; width:65px; height:19px; text-align:right; "/>
  678. <caption id="caption16" class="cell_1" style="left:577px; top:733px; width:55px; height:23px; text-align:right; vertical-align:middle; ">혈당</caption>
  679. <button id="btn_sea" class="btn1_letter2" style="left:1125px; top:29px; width:56px; height:22px; ">
  680. <caption>조회</caption>
  681. <script type="javascript" ev:event="DOMActivate">
  682. <![CDATA[
  683. fGetExamCurePrcpList(grd_mainordlist1);
  684. ]]>
  685. </script>
  686. </button>
  687. <button id="btn_prt" class="btn4_letter2" style="left:1071px; top:761px; width:56px; height:22px; ">
  688. <caption>출력</caption>
  689. </button>
  690. <input id="ipt_date1" ref="/root/send/data/srchdate1" class="input_default" inputtype="date" style="left:108px; top:28px; width:90px; height:19px; "/>
  691. <input id="ipt_date2" ref="/root/send/data/srchdate2" class="input_default" inputtype="date" style="left:223px; top:28px; width:90px; height:19px; "/>
  692. <input id="ipt_date3" ref="/root/send/data/drugdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:224px; top:711px; width:86px; height:19px; "/>
  693. <input id="ipt_date4" ref="/root/send/data/drugtm" class="input_default" inputtype="date" format="hh:nn:ss" style="left:315px; top:711px; width:80px; height:19px; "/>
  694. <caption id="caption17" class="search_name" style="left:360px; top:30px; width:86px; height:17px; ">검사실</caption>
  695. <select1 id="cmb_excuroom" ref="/root/send/data/cmb_info2/initexecroom/excuroomcdid" class="combo_default" appearance="minimal" style="left:440px; top:28px; width:110px; height:19px; ">
  696. <choices>
  697. <itemset nodeset="/root/init/cmb_info/initexecroom">
  698. <label ref="excuroomcdnm"/>
  699. <value ref="excuroomcdid"/>
  700. </itemset>
  701. </choices>
  702. </select1>
  703. <caption id="caption18" class="tit_2" style="left:5px; top:598px; width:170px; height:13px; ">동위원소투여 상세내용</caption>
  704. <line id="line3" class="line_1" style="x1:5px; y1:617px; x2:1195px; y2:617px; "/>
  705. <datagrid id="grd_mainordlist2" nodeset="/root/main/mainordlist2/subordlist" caption="등록번호^핵종^투여일자^투여시간^화합물^투여량^투여방법^소모량^IVSite코드^공급처^키^몸무게^혈당치^검사자^비고" colsep="^" colwidth="90, 142, 74, 65, 70, 77, 83, 80, 83, 77, 49, 61, 61, 72, 100" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:3px; top:623px; width:1190px; height:50px; ">
  706. <col ref="pid"/>
  707. <col ref="nuclcd"/>
  708. <col ref="drugdd" format="yyyy-mm-dd"/>
  709. <col ref="drugtm" format="hh:nn:ss"/>
  710. <col ref="compdcd" style="text-align:center; "/>
  711. <col ref="drugqty" type="output" format="#,###.000" style="text-align:right; "/>
  712. <col ref="drugmthdcd" style="text-align:center; "/>
  713. <col ref="cstqty" type="output" format="#,###.000" style="text-align:right; "/>
  714. <col ref="injpartcd" style="text-align:center; "/>
  715. <col ref="suplcustcd"/>
  716. <col ref="ht" style="text-align:right; "/>
  717. <col ref="bdwt" style="text-align:right; "/>
  718. <col ref="bsugarqty" style="text-align:right; "/>
  719. <col ref="execrid"/>
  720. <col ref="nuclrem"/>
  721. </datagrid>
  722. <input id="ipt_pid" ref="/root/send/data/srchpid" class="input_search" maxlength="10" style="left:695px; top:28px; width:80px; height:19px; "/>
  723. <caption id="caption20" class="search_name" style="left:601px; top:28px; width:91px; height:17px; ">등록번호 :</caption>
  724. <button id="button1" class="icon_search" style="left:777px; top:29px; width:16px; height:16px; ">
  725. <caption/>
  726. <script type="javascript" ev:event="onclick">
  727. <![CDATA[
  728. modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data/srchpid","/root/main/send");
  729. model.setValue("/root/send/data/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid") );
  730. model.refresh();
  731. ]]>
  732. </script>
  733. </button>
  734. <output id="ipt_patnm" ref="/root/main/patinfo/patinfolist/hngnm" class="output_fix" style="left:794px; top:28px; width:92px; height:19px; "/>
  735. <button id="button161" class="btn4_letter5" disabled="false" style="left:978px; top:761px; width:92px; height:22px; ">
  736. <caption>투여 취소</caption>
  737. <script type="javascript" ev:event="DOMActivate">
  738. <![CDATA[
  739. var rtn = fExeNuclCnclList();
  740. if ( rtn != "0" ) {
  741. fInitGrid2();
  742. fGetExamCurePrcpList(grd_mainordlist1);
  743. }
  744. ]]>
  745. </script>
  746. </button>
  747. <button id="btn_cls" class="btn4_letter2" style="left:1128px; top:761px; width:56px; height:22px; ">
  748. <caption>닫기</caption>
  749. <script type="javascript" ev:event="DOMActivate">
  750. <![CDATA[
  751. if (checkOpener()) {
  752. var updtflag = model.getValue("/root/hidden/updtflag");
  753. if (updtflag == "Y") {
  754. opener.javascript.fGetExamCurePrcpPopList();
  755. }
  756. }
  757. window.close();
  758. ]]>
  759. </script>
  760. </button>
  761. <button id="button2" class="btn4_letter5" disabled="false" style="left:885px; top:761px; width:92px; height:22px; ">
  762. <caption>투여 입력</caption>
  763. <script type="javascript" ev:event="DOMActivate">
  764. <![CDATA[
  765. if(grd_mainordlist1.row >= grd_mainordlist1.fixedRows) {
  766. var rtn = fExeNuclInpt();
  767. if ( rtn != "0" ) {
  768. fGetExamCurePrcpList(grd_mainordlist1);
  769. }
  770. }
  771. ]]>
  772. </script>
  773. </button>
  774. </xhtml:body>
  775. </xhtml:html>