SPLLJ00600_수탁검사접수.xrw 62 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLPJ02300_수탁검사접수
  4. * 설 명 : 수탁검사접수
  5. * 설 계 자 : 설계자가 별도로 존재시 작성
  6. * 작 성 자 : 유동철(ACK)
  7. * 작 성 일 : 2007.09.20
  8. * 수정이력 : 최종작성일 기준으로 변경사항 이력관리
  9. * 기 타 : 주석문에 반영되어야 할 사항 표기
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>수탁검사접수</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <trusttest>
  20. <trusttestlist>
  21. <choi/>
  22. <instcd/>
  23. <reqinstcd/>
  24. <reqinstnm/>
  25. <reqdd/>
  26. <reqtm/>
  27. <bcno/>
  28. <workno/>
  29. <reqpid/>
  30. <patnm/>
  31. <sexage/>
  32. <rrgstno/>
  33. <rrgstno1/>
  34. <rrgstno2/>
  35. <psptno/>
  36. <testcd/>
  37. <testnm/>
  38. <spccd/>
  39. <spcnm/>
  40. <reqfrmno/>
  41. <reqfrmflagcd/>
  42. <reqcnts/>
  43. <reqnm/>
  44. <cnfmdd/>
  45. <cnfmtm/>
  46. <cnfmnm/>
  47. <acptstatcd/>
  48. <bizflagcd/>
  49. <orddrid/>
  50. <orddeptcd/>
  51. <grostestplgyid/>
  52. <newreqcnts/>
  53. </trusttestlist>
  54. </trusttest>
  55. <patinfo>
  56. <patinfocnts>
  57. <exlabcd/>
  58. <pid/>
  59. <patnm/>
  60. <rrgstno1/>
  61. <rrgstno2/>
  62. <rrgstno/>
  63. <psptno/>
  64. <age/>
  65. <sex/>
  66. <bigo/>
  67. <suppkind/>
  68. <uncocd/>
  69. <trusthosppid/>
  70. </patinfocnts>
  71. </patinfo>
  72. <choiprcp>
  73. <choiprcplist>
  74. <instcd/>
  75. <testcd/>
  76. <testhngnm/>
  77. <testengnm/>
  78. <spccd/>
  79. <spcnm/>
  80. <acptdept/>
  81. <prcpdelivefact/>
  82. </choiprcplist>
  83. </choiprcp>
  84. <acptinfo>
  85. <acptlist>
  86. <instcd/>
  87. <pid/>
  88. <sexage/>
  89. <rrgstno/>
  90. <addr/>
  91. <testcd/>
  92. <testnm/>
  93. <prcpdd/>
  94. <orddd/>
  95. <spccd/>
  96. <spcnm/>
  97. <suppkind/>
  98. <uncocd/>
  99. </acptlist>
  100. </acptinfo>
  101. <acptpat>
  102. <acptpatlist>
  103. <instcd/>
  104. <exlabcd/>
  105. <exlabnm/>
  106. <pid/>
  107. <patnm/>
  108. <sex/>
  109. <age/>
  110. <sexage/>
  111. <rrgstno1/>
  112. <rrgstno2/>
  113. <rrgstno/>
  114. <psptno/>
  115. <trusthosppid/>
  116. <bigo/>
  117. <bizflagcd/>
  118. <orddrid/>
  119. <orddeptcd/>
  120. <grostestplgyid/>
  121. </acptpatlist>
  122. </acptpat>
  123. <trustpat>
  124. <trustpatlist>
  125. <exlabcd/>
  126. <patnm/>
  127. <sex/>
  128. <age/>
  129. <rrgstno1/>
  130. <rrgstno2/>
  131. <psptno/>
  132. <bigo/>
  133. <suppkind/>
  134. </trustpatlist>
  135. </trustpat>
  136. </main>
  137. <send>
  138. <codeflag/>
  139. </send>
  140. <init>
  141. <con/>
  142. <prcpdrid/>
  143. <reqfromdd/>
  144. <reqtodd/>
  145. <reqpid/>
  146. <reqinstcd/>
  147. <popupmenu>
  148. <item>
  149. <nm>지우기</nm>
  150. <func>fExePrcpDel</func>
  151. </item>
  152. </popupmenu>
  153. <popupmenu2>
  154. <item>
  155. <nm>지우기</nm>
  156. <func>fExePatDel</func>
  157. </item>
  158. </popupmenu2>
  159. <sysdt>
  160. <sysdtinfo>
  161. <sysdd/>
  162. <systm/>
  163. </sysdtinfo>
  164. </sysdt>
  165. <hospenv>
  166. <hospenvinfo>
  167. <instcd/>
  168. <lendrtnterm/>
  169. <recvqualmthdcd/>
  170. <plgydeptcd/>
  171. <plgyteamcd/>
  172. <doctjobgradcd/>
  173. <teamjobgradcd/>
  174. </hospenvinfo>
  175. </hospenv>
  176. <userinfo>
  177. <userinfolist>
  178. <userid/>
  179. <usernm/>
  180. <jobkindcd/>
  181. </userinfolist>
  182. </userinfo>
  183. <instcdlist>
  184. <Z0007>
  185. <cdid/>
  186. <cdnm/>
  187. </Z0007>
  188. </instcdlist>
  189. <prcpcd>
  190. <prcpcdlist>
  191. <instcd/>
  192. <testcd/>
  193. <testengnm/>
  194. <testengabbr/>
  195. <testhngnm/>
  196. <testhngabbr/>
  197. <acptdept/>
  198. <ptnocd/>
  199. <stdyptnocd/>
  200. <trustptnocd/>
  201. <workflagcd/>
  202. <slidflagcd/>
  203. <slidisscnt/>
  204. <blocflagcd/>
  205. <initblocno/>
  206. <autokeepflagcd/>
  207. <stdy_workflagcd/>
  208. <stdy_slidflagcd/>
  209. <stdy_slidisscnt/>
  210. <stdy_blocflagcd/>
  211. <stdy_initblocno/>
  212. <stdy_autokeepflagcd/>
  213. <grupsnglflag/>
  214. </prcpcdlist>
  215. </prcpcd>
  216. <prcpkind>
  217. <prcpkindlist>
  218. <instcd/>
  219. <lvl/>
  220. <earnclsnm/>
  221. <earncls1/>
  222. <earncls2/>
  223. <earncls3/>
  224. <earnclskey/>
  225. </prcpkindlist>
  226. </prcpkind>
  227. <testinfo>
  228. <testinfolist>
  229. <instcd/>
  230. <testcd/>
  231. <testhngnm/>
  232. <spccd/>
  233. <spcnm/>
  234. </testinfolist>
  235. </testinfo>
  236. <init>
  237. <LB0110>
  238. <cd/>
  239. <nm/>
  240. </LB0110>
  241. </init>
  242. <coophosp>
  243. <coophosplist>
  244. <instcd/>
  245. <coophospcd/>
  246. <coophospnm/>
  247. <uncocd/>
  248. </coophosplist>
  249. </coophosp>
  250. </init>
  251. <hidden>
  252. <popupmenu/>
  253. <patprint/>
  254. <data1>
  255. <prcpno/>
  256. <prcpdd/>
  257. <prcphistno/>
  258. </data1>
  259. </hidden>
  260. </root>
  261. </instance>
  262. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  263. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  264. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  265. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  266. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  267. <script type="javascript" ev:event="xforms-ready">
  268. <![CDATA[
  269. makeReportPreview(0, 0, 0, 0, "grp_prnt");
  270. fExeInitialize();
  271. ]]>
  272. </script>
  273. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/LB0110"/>
  274. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  275. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  276. <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
  277. <submission id="TRLPJ01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/prcpkind/prcpkindlist"/>
  278. <submission id="TRLPJ01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/prcpcd/prcpcdlist"/>
  279. <!--<submission id="TRLPC00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/testinfo/testinfolist"/>-->
  280. <submission id="TRLPJ02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/trusttest/trusttestlist"/>
  281. <submission id="TRLPJ02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/coophosp/coophosplist"/>
  282. <submission id="TXLPJ02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/acptlist"/>
  283. <submission id="TRLLJ00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/prcpkind/prcpkindlist"/>
  284. <submission id="TRLLJ00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/prcpcd/prcpcdlist"/>
  285. <submission id="TRLLJ00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/testinfo/testinfolist"/>
  286. <submission id="TXLLJ00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/acptlist"/>
  287. <submission id="TRLLJ00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/trusttest/trusttestlist"/>
  288. <submission id="TRLLJ00605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
  289. <submission id="TRLZZ00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
  290. <submission id="TXLZZ00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/data1" replace="instance"/>
  291. </model>
  292. <script type="javascript">
  293. <![CDATA[
  294. /* @group : 의뢰지 검체정보
  295. * @ver : 2007.07.03 (CMCDEV-0001)
  296. * @by : 유동철(ACK)
  297. * @-----------------------------------
  298. * @type : function
  299. * @access : public
  300. * @desc : 화면종료 처리 Function
  301. */
  302. function fExeInitialize() {
  303. //------------------------
  304. model.toggle("case_list");
  305. btn_trustlist.selected = true;
  306. model.removeNodeset("/root/main/trusttest/trusttestlist");
  307. model.removeNodeset("/root/init/prcpcd/prcpcdlist");
  308. model.removeNodeset("/root/init/testinfo/testinfolist");
  309. model.removeNodeset("/root/main/choiprcp/choiprcplist");
  310. model.removeNodeset("/root/main/acptpat/acptpatlist");
  311. // 초기정보 조회
  312. model.makeValue("/root/send/codeflag", "0124|"); // 0124= 병원명칭
  313. submit("TRLZZ00101");
  314. //----------------
  315. // 시스템일자 조회
  316. model.removeNodeset("/root/send");
  317. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  318. model.makeValue("/root/send/deptflagcd", "0"); // 0:진단검사, 1:병리과
  319. submit("TRLZZ00108", false);
  320. submit("TRLPZ00102", false);
  321. //submit("TRLPJ01001", false); // 병리처방분류
  322. submit("TRLLJ00601", false); // 진검처방분류
  323. submit("TRLPJ02302", false);
  324. lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/init/userinfo");
  325. model.makeValue("/root/send/userdeptcd", model.getValue("/root/init/userinfo/userdeptcd"));
  326. model.makeValue("/root/send/doctjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
  327. model.makeValue("/root/send/teamjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
  328. //submit("TRLPZ00105", false); // 병리
  329. submit("TRLLJ00605", false); // 진검
  330. //model.makeValue("/root/send/codeflag", "0110|"); // 0110 외부기관
  331. //submit("TRLZZ00101");
  332. //-----------------------------------------------------------------------------------------------
  333. zbcfGetCodeList(new Array("Z0007"), new Array("/root/init/instcdlist", "/root/init/instcdlist"));
  334. //------------
  335. // 초기값 설정
  336. model.makeValue("/root/init/reqfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 요청일자(From)
  337. model.makeValue("/root/init/reqtodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 요청일자(To)
  338. model.makeValue("/root/init/reqpid", ""); // 요청등록번호
  339. model.makeValue("/root/init/reqinstcd", ""); // 요청기관
  340. model.makeValue("/root/init/prcpdrid", ""); // 병리과 처방의사
  341. model.makeValue("/root/main/patinfo/patinfocnts/suppkind", "13"); // 30% 가산안함
  342. model.makeValue("/root/main/patinfo/patinfocnts/uncocd", ""); // 미수코드
  343. //------------------------------------------
  344. grd_trustlist.fixedcellcheckbox(0,0) = true;
  345. //--------------------
  346. cmb_exlabcd.refresh();
  347. model.refresh();
  348. }
  349. /* @group : 의뢰지 검체정보
  350. * @ver : 2007.07.03 (CMCDEV-0001)
  351. * @by : 유동철(ACK)
  352. * @-----------------------------------
  353. * @type : function
  354. * @access : public
  355. * @desc : 화면종료 처리 Function
  356. */
  357. function fExeWindowClose() {
  358. model.close();
  359. }
  360. /* @group : 의뢰지 검체정보
  361. * @ver : 2007.07.03 (CMCDEV-0001)
  362. * @by : 유동철(ACK)
  363. * @-----------------------------------
  364. * @type : function
  365. * @access : public
  366. * @desc : 위탁검사 목록 조회 처리 Function
  367. */
  368. function fGetTrustTestList() {
  369. //--------------------------------
  370. model.removeNodeset("/root/send");
  371. model.removeNodeset("/root/main/trusttest/trusttestlist");
  372. //-----------------------------------------------------------------
  373. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  374. model.makeValue("/root/send/deptflagcd", "N"); // 병리 P 핵의학 N
  375. model.makeValue("/root/send/reqfromdd", model.getValue("/root/init/reqfromdd")); // 요청일자(From)
  376. model.makeValue("/root/send/reqtodd", model.getValue("/root/init/reqtodd")); // 요청일자(To)
  377. model.makeValue("/root/send/reqpid", model.getValue("/root/init/reqpid")); // 요청등록번호
  378. model.makeValue("/root/send/reqinstcd", model.getValue("/root/init/reqinstcd")); // 요청기관
  379. model.makeValue("/root/send/con", model.getValue("/root/init/con")); //최종상태
  380. //-------------------
  381. //submit("TRLPJ02301"); //병리
  382. submit("TRLLJ00604"); //진검
  383. }
  384. /* @group : 수탁검사접수
  385. * @ver : 2007.07.18 (CMCDEV-0001)
  386. * @by : 유동철(ACK)
  387. * @-----------------------------------
  388. * @type : function
  389. * @access : public
  390. * @desc : 처방분류 TreeView 클릭 처리 Function
  391. */
  392. function fExePrcpKindClick() {
  393. var sEarnCls1 = "";
  394. var sEarnCls2 = "";
  395. var sEarnCls3 = "";
  396. var item = trv_prcpkind.item(trv_prcpkind.selectedIndex);
  397. //-------------------------------
  398. // 최하위 노드를 선택할 경우 처리
  399. if (item.depth == 2) {
  400. sEarnCls1 = trv_prcpkind.item(trv_prcpkind.selectedIndex).value;
  401. //--------------
  402. // 처방분류 분리
  403. sEarnCls3 = sEarnCls1.substr(5,2);
  404. sEarnCls2 = sEarnCls1.substr(3,2);
  405. sEarnCls1 = sEarnCls1.substr(1,2);
  406. //--------------------------------
  407. model.removeNodeset("/root/send");
  408. model.removeNodeset("/root/init/prcpcd/prcpcdlist");
  409. model.removeNodeset("/root/init/testinfo/testinfolist");
  410. //----------------------------------------------------------------------
  411. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  412. model.makeValue("/root/send/earncls1", sEarnCls1);
  413. model.makeValue("/root/send/earncls2", sEarnCls2);
  414. model.makeValue("/root/send/earncls3", sEarnCls3);
  415. model.makeValue("/root/send/trustflagcd", "N");
  416. //-------------------
  417. ////submit("TRLPJ01003"); // 병리 처방명 목록
  418. submit("TRLLJ00602"); // 진검 처방명 목록
  419. }
  420. }
  421. /* @group : 수탁검사접수
  422. * @ver : 2007.09.20 (CMCDEV-0001)
  423. * @by : 유동철(ACK)
  424. * @-----------------------------------
  425. * @type : function
  426. * @access : public
  427. * @desc : 검체 표시 및 처방 등록 처리 Function
  428. */
  429. function fExePrcpChoi() {
  430. var iFindRow = 0;
  431. var sSpcCd = "";
  432. var sPrcpNode = "/root/init/prcpcd/prcpcdlist";
  433. var sSpcNode = "/root/init/testinfo/testinfolist";
  434. //------------------------------------------------------------------------------------------
  435. if (grd_testcdlist.isCell(event.target) && grd_testcdlist.row >= grd_testcdlist.fixedRows) {
  436. //---------------------
  437. // 선택된 검체코드 저장
  438. if (getNodesetCount(sSpcNode) > 0) {
  439. if (grd_spclist.row > 0) {
  440. sSpcCd = model.getValue(sSpcNode+"["+grd_spclist.row+"]/spccd");
  441. }
  442. }
  443. //--------------------------------
  444. model.removeNodeset("/root/send");
  445. model.resetInstanceNode("/root/init/testinfo/testinfolist");
  446. //-------------------------------------------
  447. model.makeValue("/root/send/delflagcd", "0"); // 조회조건 사용여부구분
  448. model.makeValue("/root/send/refflagcd", "1"); // 조회구분
  449. model.makeValue("/root/send/refval", model.getValue(sPrcpNode+"["+grd_testcdlist.row+"]/testcd")); // 조회값
  450. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
  451. model.makeValue("/root/send/itemlimit", "5000"); // 최대건수
  452. model.makeValue("/root/send/page", "1"); // 페이지번호
  453. //-------------------
  454. ////submit("TRLPC00701"); // 병리
  455. submit("TRLLJ00603"); // 진검
  456. //--------------------------------------------
  457. // 저장된 검체와 같은 검체를 검색하여 자동선택
  458. /* if (getNodesetCount(sSpcNode) > 0) {
  459. //-----------------
  460. if (sSpcCd != "") {
  461. //---------------------------------------------------------
  462. iFindRow = grd_spclist.findRow(sSpcCd, 1, 3, false, false);
  463. //-----------------
  464. if (iFindRow > 0) {
  465. grd_spclist.select(iFindRow, 0) = true;
  466. grd_spclist.row = iFindRow;
  467. //------------
  468. fExePrcpAdd();
  469. }
  470. }
  471. }*/
  472. }
  473. }
  474. /* @group : 수탁검사접수
  475. * @ver : 2007.09.20 (CMCDEV-0001)
  476. * @by : 유동철(ACK)
  477. * @-----------------------------------
  478. * @type : function
  479. * @access : public
  480. * @desc : 선택된 처방 삭제 처리 Function
  481. */
  482. function fExePrcpDel() {
  483. //--------------------------
  484. if (grd_choiprcp.row <= 0) {
  485. messageBox("삭제 처방을 ", "C002");
  486. return false;
  487. }
  488. //---------------------------------------
  489. grd_choiprcp.deleteRow(grd_choiprcp.row);
  490. }
  491. /* @group : 수탁검사접수
  492. * @ver : 2007.09.20 (CMCDEV-0001)
  493. * @by : 유동철(ACK)
  494. * @-----------------------------------
  495. * @type : function
  496. * @access : public
  497. * @desc : 선택된 처방 추가 처리 Function
  498. */
  499. function fExePrcpAdd() {
  500. var iMaxRowNo = 0;
  501. var sSrcNode = "/root/main/choiprcp/choiprcplist";
  502. //--------------------
  503. grd_choiprcp.addRow();
  504. iMaxRowNo = getNodesetCount(sSrcNode);
  505. //----------------------------------------------------------------------------------
  506. model.makeValue(sSrcNode+"["+iMaxRowNo+"]/instcd", getUserInfo("dutplceinstcd"));
  507. model.makeValue(sSrcNode+"["+iMaxRowNo+"]/testcd", model.getValue("/root/init/prcpcd/prcpcdlist["+grd_testcdlist.row+"]/testcd"));
  508. model.makeValue(sSrcNode+"["+iMaxRowNo+"]/testhngnm", model.getValue("/root/init/prcpcd/prcpcdlist["+grd_testcdlist.row+"]/testhngnm"));
  509. model.makeValue(sSrcNode+"["+iMaxRowNo+"]/testengnm", model.getValue("/root/init/prcpcd/prcpcdlist["+grd_testcdlist.row+"]/testengnm"));
  510. model.makeValue(sSrcNode+"["+iMaxRowNo+"]/spccd", model.getValue("/root/init/testinfo/testinfolist["+grd_spclist.row+"]/spccd"));
  511. model.makeValue(sSrcNode+"["+iMaxRowNo+"]/spcnm", model.getValue("/root/init/testinfo/testinfolist["+grd_spclist.row+"]/spcnm"));
  512. model.makeValue(sSrcNode+"["+iMaxRowNo+"]/conttestintvlflagcd", "N");
  513. model.makeValue(sSrcNode+"["+iMaxRowNo+"]/conttestorgtims", "");
  514. model.makeValue(sSrcNode+"["+iMaxRowNo+"]/conttestbasetm", "");
  515. model.makeValue(sSrcNode+"["+iMaxRowNo+"]/prcpdelivefact", "-");
  516. }
  517. /* @group : 수탁검사접수
  518. * @ver : 2007.09.20 (CMCDEV-0001)
  519. * @by : 유동철(ACK)
  520. * @-----------------------------------
  521. * @type : function
  522. * @access : public
  523. * @desc : 수탁검사 선택 처리 Function
  524. */
  525. function fExeTrustChange(pBizFlagCd) {
  526. if (pBizFlagCd == "1") {
  527. btn_acpt.visible = true;
  528. btn_prcp.visible = false;
  529. btn_patlistread.visible = false;
  530. button1.visible = true;
  531. } else {
  532. btn_acpt.visible = false;
  533. btn_prcp.visible = true;
  534. btn_patlistread.visible = true;
  535. button1.visible = false;
  536. }
  537. }
  538. /* @group : 수탁검사접수
  539. * @ver : 2007.09.20 (CMCDEV-0001)
  540. * @by : 유동철(ACK)
  541. * @-----------------------------------
  542. * @type : function
  543. * @access : public
  544. * @desc : 대표검체 선택 처리 Function
  545. */
  546. function fExeSpcChoi() {
  547. //---------------------------------------------------------------------------------
  548. if (grd_spclist.isCell(event.target) && grd_spclist.row >= grd_spclist.fixedRows) {
  549. fExePrcpAdd();
  550. }
  551. }
  552. /* @group : 수탁검사접수
  553. * @ver : 2007.09.20 (CMCDEV-0001)
  554. * @by : 유동철(ACK)
  555. * @-----------------------------------
  556. * @type : function
  557. * @access : public
  558. * @desc : 개별 수탁검사 저장 처리 Function
  559. */
  560. function fExePrcpSave(pBizFlagCd) {
  561. var sTemp = "";
  562. var bState = false;
  563. var sPtNo = "";
  564. var sSrcNode1 = "/root/main/trusttest/trusttestlist";
  565. //--------------------------------
  566. // 수탁검사목록을 접수할 경우 처리
  567. if (pBizFlagCd == "1") {
  568. //---------------------------------------
  569. if (!isRequiredControls("cmb_orddrid")) {
  570. return false;
  571. }
  572. //--------------------------
  573. grd_trustlist.clearStatus();
  574. model.resetInstanceNode("/root/main/patinfo/patinfocnts");
  575. model.removeNodeset("/root/main/choiprcp/choiprcplist");
  576. //---------------------------------------------------------
  577. for (var iNo=1; iNo <= getNodesetCount(sSrcNode1); iNo++) {
  578. if (model.getValue(sSrcNode1+"["+iNo+"]/choi") == "true") {
  579. //-------------------------------------------------------------------------------
  580. var sNode = instance1.selectSingleNode(sSrcNode1+"["+iNo+"]/reqcnts/reqfrminfo");
  581. //---------------------------------------------------------
  582. model.makeValue(sSrcNode1+"["+iNo+"]/bizflagcd", "1");
  583. model.makeValue(sSrcNode1+"["+iNo+"]/orddrid", model.getValue("/root/init/prcpdrid"));
  584. model.makeValue(sSrcNode1+"["+iNo+"]/orddeptcd", model.getValue("/root/init/hospenv/hospenvinfo/plgydeptcd"));
  585. model.makeValue(sSrcNode1+"["+iNo+"]/grotestsplgyid", getUserInfo("userid"));
  586. model.makeValue(sSrcNode1+"["+iNo+"]/newreqcnts", sNode.xml);
  587. grd_trustlist.addStatus(iNo, "insert");
  588. bState = true;
  589. }
  590. //-------------
  591. if (!bState) {
  592. messageBox("접수할 수탁검사를 ", "C002");
  593. return false;
  594. }
  595. }
  596. } else {
  597. //--------------------------------------
  598. if (!isRequiredControls("cmb_orddrid")) {
  599. return false;
  600. }
  601. if (getNodesetCount("/root/main/acptpat/acptpatlist") <= 0) {
  602. messageBox("접수할 환자를 ", "C001");
  603. return false;
  604. }
  605. //--------------------------
  606. grd_trustlist.clearStatus();
  607. //-------------------------------------------------------------
  608. if (getNodesetCount("/root/main/choiprcp/choiprcplist") <= 0) {
  609. messageBox("처방등록할 수탁검사를 ", "C002");
  610. return false;
  611. }
  612. }
  613. //--------------------------------------------------------------------------------------
  614. model.makeValue("/root/main/patinfo/patinfocnts/instcd", getUserInfo("dutplceinstcd"));
  615. model.makeValue("/root/main/patinfo/patinfocnts/pid", "");
  616. //--------------------------------
  617. model.removeNodeset("/root/send");
  618. model.makeNode("/root/send/patinfo");
  619. copyNodesetType("/root/send/patinfo", "/root/main/patinfo/patinfocnts");
  620. model.makeValue("/root/send/choiprcplist", grd_choiprcp.getUpdateDataAll("i"));
  621. model.makeValue("/root/send/patlist", grd_acptpatlist.getUpdateDataAll("i"));
  622. model.makeValue("/root/send/trusttestlist", grd_trustlist.getUpdateData());
  623. model.makeValue("/root/send/bizflagcd", pBizFlagCd);
  624. model.makeValue("/root/send/orddrid", model.getValue("/root/init/prcpdrid"));
  625. model.makeValue("/root/send/orddeptcd", model.getValue("/root/init/hospenv/hospenvinfo/plgydeptcd"));
  626. model.makeValue("/root/send/grotestsplgyid", getUserInfo("userid"));
  627. //----------
  628. setAlertOn();
  629. ////if (submit("TXLPJ02301")) { // 병리
  630. if (submit("TXLLJ00601")) { // 진검
  631. //----------------------------------------------------
  632. model.removeNodeset("/root/main/acptpat/acptpatlist");
  633. model.removeNodeset("/root/main/choiprcp/choiprcplist");
  634. model.resetInstanceNode("/root/main/patinfo/patinfocnts");
  635. //-----------------------
  636. if (pBizFlagCd == "2") {
  637. //makeReportPreview(0, 50, 1179, 678);
  638. //// exeReportPreview("RPLPJ02300", "XMLSTR", "", "", "true", "", "", "", "", "false", "", "grp_prnt"); // 정은 잠시막음
  639. }
  640. //----------------------
  641. if (pBizFlagCd == "1") {
  642. //-------------
  643. // 의뢰지 출력
  644. model.makeNode("/root/init/prntinfo");
  645. model.makeValue("/root/init/prntinfo/reptflagcd", "0"); // 의뢰지(0), 보고서(1)
  646. model.makeValue("/root/init/prntinfo/prntflagcd", "0"); // 출력(0), 미리보기(1)
  647. //-------------------------------------------------------------------------------------------
  648. for (var iRowNo=1; iRowNo <= getNodesetCount("/root/main/acptinfo/acptrsltlist"); iRowNo++) {
  649. if (sPtNo != model.getValue("/root/main/acptinfo/acptrsltlist["+iRowNo+"]/ptno")) {
  650. lpzfExeFrmPrnt("/root/main/acptinfo/acptrsltlist["+iRowNo+"]");
  651. sPtNo = model.getValue("/root/main/acptinfo/acptrsltlist["+iRowNo+"]/ptno");
  652. }
  653. }
  654. //------------------------------------------------------------------------------------
  655. for (var iNo=getNodesetCount("/root/main/trusttest/trusttestlist"); iNo >= 1; iNo--) {
  656. if (model.getValue(sSrcNode1+"["+iNo+"]/choi") == "true") {
  657. grd_trustlist.deleteRow(iNo);
  658. }
  659. }
  660. }
  661. }
  662. //--------------
  663. model.refresh();
  664. }
  665. /* @group : 수탁검사접수
  666. * @ver : 2007.09.20 (CMCDEV-0001)
  667. * @by : 유동철(ACK)
  668. * @-----------------------------------
  669. * @type : function
  670. * @access : public
  671. * @desc : 환자정보 검색 팝업창 호출 Function
  672. */
  673. function fExePatPopupCall(pBizFlagCd) {
  674. model.makeNode("/root/source");
  675. model.makeValue("/root/source/srchcond", pBizFlagCd);
  676. if (pBizFlagCd == "1") {
  677. model.makeValue("/root/source/pid", model.getValue("/root/main/patinfo/patinfocnts/pid"));
  678. model.makeValue("/root/source/hngnm", "");
  679. model.makeValue("/root/source/rrgstno1", "");
  680. model.makeValue("/root/source/rrgstno2", "");
  681. } else if (pBizFlagCd == "2") {
  682. model.makeValue("/root/source/pid", "");
  683. model.makeValue("/root/source/hngnm", model.getValue("/root/main/patinfo/patinfocnts/patnm"));
  684. model.makeValue("/root/source/rrgstno1", "");
  685. model.makeValue("/root/source/rrgstno2", "");
  686. } else {
  687. model.makeValue("/root/source/pid", "");
  688. model.makeValue("/root/source/hngnm", "");
  689. model.makeValue("/root/source/rrgstno1", model.getValue("/root/main/patinfo/patinfocnts/rrgstno1"));
  690. model.makeValue("/root/source/rrgstno2", model.getValue("/root/main/patinfo/patinfocnts/rrgstno2"));
  691. }
  692. //--------------------------------------------------------------------------------
  693. modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
  694. //----------------------------------------------------------
  695. if (getNodesetCount("/root/main/patinfo/patinfolist") > 0) {
  696. model.makeValue("/root/init/refval", model.getValue("/root/main/patinfo/patinfolist/pid"));
  697. }
  698. //--------------
  699. model.refresh();
  700. }
  701. /* @group : 수탁검사접수
  702. * @ver : 2007.09.24 (CMCDEV-0001)
  703. * @by : 유동철(ACK)
  704. * @-----------------------------------
  705. * @type : function
  706. * @access : public
  707. * @desc : 환자정보 삭제처리 Function
  708. */
  709. function fExePatDel() {
  710. grd_acptpatlist.deleteRow(grd_acptpatlist.row);
  711. }
  712. /* @group : 수탁검사접수
  713. * @ver : 2007.09.24 (CMCDEV-0001)
  714. * @by : 유동철(ACK)
  715. * @-----------------------------------
  716. * @type : function
  717. * @access : public
  718. * @desc : 환자정보 임시저장 처리 Function
  719. */
  720. function fExePatTempSave() {
  721. var sSrcNode = "/root/main/patinfo/patinfocnts";
  722. var sDescNode = "/root/main/acptpat/acptpatlist";
  723. var iRowNo = 0;
  724. var rrgstno1 = model.getValue(sSrcNode+"/rrgstno1");
  725. var rrgstno2 = model.getValue(sSrcNode+"/rrgstno2");
  726. var age = model.getValue(sSrcNode+"/age");
  727. if(rrgstno1.length < 6){
  728. alert("주민등록번호 앞자리의 갯수가 맞지 않습니다.");
  729. return;
  730. }
  731. if(rrgstno1.substring(2,4) > 12 || rrgstno1.substring(4,6) > 31){
  732. alert("생년월일을 확인해 주십시오.");
  733. return;
  734. }
  735. if(rrgstno2.length < 7){
  736. alert("주민등록번호 뒷자리의 갯수가 맞지 않습니다.");
  737. return;
  738. }
  739. if(age > 99){
  740. var retval = window.alert( "환자의 나이가 " + age + "세 입니다. \n계속 하시겠습니까?", "결과관리", "35" );
  741. if (retval != "6") return; // yes = 6, no = 7
  742. }
  743. //------------------------------------------------------------
  744. if (!isRequiredControls("cmb_orddrid", "ipt_trusthosppid")) {
  745. return false;
  746. }
  747. //-----------------------
  748. grd_acptpatlist.addRow();
  749. iRowNo = Number(getNodesetCount(sDescNode));
  750. //-------------------------------------------------------------------------------------
  751. model.makeValue(sDescNode+"["+iRowNo+"]/instcd", getUserInfo("dutplceinstcd"));
  752. model.makeValue(sDescNode+"["+iRowNo+"]/exlabcd", model.getValue(sSrcNode+"/exlabcd"));
  753. model.makeValue(sDescNode+"["+iRowNo+"]/exlabnm", model.getValue("/root/init/coophosp/coophosplist[coophospcd='"+model.getValue(sSrcNode+"/exlabcd")+"']/coophospnm"));
  754. model.makeValue(sDescNode+"["+iRowNo+"]/pid", model.getValue(sSrcNode+"/pid"));
  755. model.makeValue(sDescNode+"["+iRowNo+"]/patnm", model.getValue(sSrcNode+"/patnm"));
  756. model.makeValue(sDescNode+"["+iRowNo+"]/sex", model.getValue(sSrcNode+"/sex"));
  757. model.makeValue(sDescNode+"["+iRowNo+"]/age", model.getValue(sSrcNode+"/age"));
  758. model.makeValue(sDescNode+"["+iRowNo+"]/sexage", model.getValue(sSrcNode+"/sex")+"/"+model.getValue(sSrcNode+"/age"));
  759. model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno1", model.getValue(sSrcNode+"/rrgstno1"));
  760. model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno2", model.getValue(sSrcNode+"/rrgstno2"));
  761. model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno", model.getValue(sSrcNode+"/rrgstno1")+"-"+model.getValue(sSrcNode+"/rrgstno2"));
  762. model.makeValue(sDescNode+"["+iRowNo+"]/psptno", model.getValue(sSrcNode+"/psptno"));
  763. model.makeValue(sDescNode+"["+iRowNo+"]/bigo", model.getValue(sSrcNode+"/bigo"));
  764. model.makeValue(sDescNode+"["+iRowNo+"]/bizflagcd", "2");
  765. model.makeValue(sDescNode+"["+iRowNo+"]/orddrid", model.getValue("/root/init/prcpdrid"));
  766. model.makeValue(sDescNode+"["+iRowNo+"]/orddeptcd", model.getValue("/root/init/hospenv/hospenvinfo/plgydeptcd"));
  767. model.makeValue(sDescNode+"["+iRowNo+"]/grotestsplgyid", getUserInfo("userid"));
  768. model.makeValue(sDescNode+"["+iRowNo+"]/suppkind", model.getValue(sSrcNode+"/suppkind"));
  769. model.makeValue(sDescNode+"["+iRowNo+"]/uncocd", model.getValue(sSrcNode+"/uncocd"));
  770. model.makeValue(sDescNode+"["+iRowNo+"]/trusthosppid", model.getValue(sSrcNode+"/trusthosppid"));
  771. //--------------
  772. model.refresh();
  773. }
  774. /* @group : 수탁검사접수
  775. * @ver : 2007.11.03 (CMCDEV-0001)
  776. * @by : 유동철(ACK)
  777. * @-----------------------------------
  778. * @type : function
  779. * @access : public
  780. * @desc : 수탁환자목록 Excel파일 읽기 처리 Function
  781. */
  782. function fExeReadTrustPatList() {
  783. var iRowNo = 1;
  784. var sExLabNm = "";
  785. var sSexAge = "";
  786. var sRRgstNo = "";
  787. var sSrcNode = "/root/main/trustpat/trustpatlist";
  788. var sDescNode = "/root/main/acptpat/acptpatlist";
  789. var sOrgNode = "/root/main/patinfo/patinfocnts";
  790. //------------------------------------------------------------------------------------------------
  791. if (model.getValue("/root/init/prcpdrid") == "" || model.getValue("/root/init/prcpdrid") == "-") {
  792. messageBox("처방의사를 ", "C002");
  793. return false;
  794. }
  795. //----------------------------
  796. model.removeNodeset(sSrcNode);
  797. model.removeNodeset(sDescNode);
  798. //---------------------------------------------------------------------------------------------------------------
  799. var sFileName = window.fileDialog("open", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  800. //-----------------------------------------
  801. if (sFileName == "" || sFileName == null) {
  802. messageBox("입고할 파일을 선택하세요", "E", "");
  803. return;
  804. }
  805. //------------------------
  806. // 파일의 확장자 종류 검사
  807. var sStr = sFileName.substring(sFileName.length - 3);
  808. //-------------------------------
  809. if(sStr.toLowerCase() == "xls") {
  810. grd_trustpatlist.loadExcel(sFileName);
  811. } else {
  812. messageBox("Excel파일을 선택하세요", "E", "");
  813. return;
  814. }
  815. //--------------------------------------------------------
  816. for (var iNo=2; iNo <= getNodesetCount(sSrcNode); iNo++) {
  817. //--------------------------------------------
  818. // 위탁기관, 환자명, 주민번호, 여권번호는 필수
  819. if (model.getValue(sSrcNode+"["+iNo+"]/exlabcd") == "") {
  820. messageBox("위탁기관은 ", "I003");
  821. return false;
  822. }
  823. if (model.getValue(sSrcNode+"["+iNo+"]/patnm") == "") {
  824. messageBox("환자명은 ", "I003");
  825. return false;
  826. }
  827. if (model.getValue(sSrcNode+"["+iNo+"]/trusthosppid") == "") {
  828. messageBox("위탁병원 환자번호는 ", "I003");
  829. return false;
  830. }
  831. if (model.getValue(sSrcNode+"["+iNo+"]/psptno") == "") {
  832. if (model.getValue(sSrcNode+"["+iNo+"]/rrgstno1") == "" && model.getValue(sSrcNode+"["+iNo+"]/rrgstno2") == "") {
  833. messageBox("주민번호 또는 여권번호(외국인)은 ", "I003");
  834. return false;
  835. }
  836. }
  837. //-------------------------------------------------------------------------------------------------------------
  838. sExLabNm = model.getValue("/root/init/coophosp/coophosplist[coophospcd='"+model.getValue(sSrcNode+"["+iNo+"]/exlabcd")+"']/coophospnm");
  839. sUnCoCd = model.getValue("/root/init/coophosp/coophosplist[coophospcd='"+model.getValue(sSrcNode+"["+iNo+"]/exlabcd")+"']/uncocd");
  840. sSexAge = model.getValue(sSrcNode+"["+iNo+"]/sex")+"/"+model.getValue(sSrcNode+"["+iNo+"]/age");
  841. sRRgstNo = model.getValue(sSrcNode+"["+iNo+"]/rrgstno1")+"-"+model.getValue(sSrcNode+"["+iNo+"]/rrgstno2");
  842. //--------------------------------------
  843. model.makeNode(sDescNode+"["+iRowNo+"]");
  844. model.makeValue(sDescNode+"["+iRowNo+"]/instcd", getUserInfo("dutplceinstcd"));
  845. model.makeValue(sDescNode+"["+iRowNo+"]/exlabcd", model.getValue(sSrcNode+"["+iNo+"]/exlabcd"));
  846. model.makeValue(sDescNode+"["+iRowNo+"]/exlabnm", sExLabNm);
  847. model.makeValue(sDescNode+"["+iRowNo+"]/pid", "");
  848. model.makeValue(sDescNode+"["+iRowNo+"]/patnm", model.getValue(sSrcNode+"["+iNo+"]/patnm"));
  849. model.makeValue(sDescNode+"["+iRowNo+"]/sex", model.getValue(sSrcNode+"["+iNo+"]/sex"));
  850. model.makeValue(sDescNode+"["+iRowNo+"]/age", model.getValue(sSrcNode+"["+iNo+"]/age"));
  851. model.makeValue(sDescNode+"["+iRowNo+"]/sexage", sSexAge);
  852. model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno1", model.getValue(sSrcNode+"["+iNo+"]/rrgstno1"));
  853. model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno2", model.getValue(sSrcNode+"["+iNo+"]/rrgstno2"));
  854. model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno", sRRgstNo);
  855. model.makeValue(sDescNode+"["+iRowNo+"]/psptno", model.getValue(sSrcNode+"["+iNo+"]/psptno"));
  856. model.makeValue(sDescNode+"["+iRowNo+"]/bigo", model.getValue(sSrcNode+"["+iNo+"]/bigo"));
  857. model.makeValue(sDescNode+"["+iRowNo+"]/bizflagcd", "2");
  858. model.makeValue(sDescNode+"["+iRowNo+"]/orddrid", model.getValue("/root/init/prcpdrid"));
  859. model.makeValue(sDescNode+"["+iRowNo+"]/orddeptcd", model.getValue("/root/init/hospenv/hospenvinfo/plgydeptcd"));
  860. model.makeValue(sDescNode+"["+iRowNo+"]/grotestsplgyid", getUserInfo("userid"));
  861. model.makeValue(sDescNode+"["+iRowNo+"]/suppkind", model.getValue(sSrcNode+"["+iNo+"]/suppkind"));
  862. model.makeValue(sDescNode+"["+iRowNo+"]/uncocd", sUnCoCd);
  863. //-------
  864. iRowNo++;
  865. }
  866. //------------------------
  867. grd_acptpatlist.refresh();
  868. }
  869. function fExeTrustChoi() {
  870. var sNode = "/root/init/coophosp/coophosplist";
  871. var sTrustCd = model.getValue("/root/main/patinfo/patinfocnts/exlabcd");
  872. model.makeValue("/root/main/patinfo/patinfocnts/uncocd", model.getValue(sNode+"[coophospcd='"+sTrustCd+"']/uncocd"));
  873. }
  874. function fExePrint(){
  875. exeReportPreview("RPLLJ00600", "XMLSTR");
  876. }
  877. function fpopupmenu() {
  878. model.removeNodeset("/root/hidden/popupmenu");
  879. if(event.button == 3){ // 라이트클릭 메뉴만들기...
  880. model.makeNode("/root/hidden/popupmenu/grid");
  881. model.makeNode("/root/hidden/popupmenu/grid/item");
  882. model.makeValue("/root/hidden/popupmenu/grid/item["+1+"]/name" , "▶ 개인별출력");
  883. model.makeValue("/root/hidden/popupmenu/grid/item["+1+"]/func" , "fPatPrint");
  884. if(grd_trustlist.isCell(event.target) && grd_trustlist.mouseRow >= grd_trustlist.fixedrows){
  885. setPopupMenu("grd_trustlist", false, "/root/hidden/popupmenu/grid/item", "name", "func");
  886. }else{
  887. window.setPopupMenu(false);
  888. }
  889. }
  890. }
  891. function fPatPrint(){
  892. //model.copyNode("/root/main/trusttest/trusttestlist["+grd_trustlist.row+"]", "/root/hidden/patprint");
  893. model.copyNode("/root/hidden/patprint", "/root/main/trusttest/trusttestlist["+grd_trustlist.row+"]");
  894. model.makeValue("/root/hidden/patprint/hospnm", model.getvalue("/root/init/init/LB0124/nm"));
  895. exeReportPreview("RPLLJ00601", "XMLSTR");
  896. }
  897. function fExeDCprcp(){
  898. for(i = 1 ; i < grd_trustlist.rows ; i ++){
  899. if(model.getValue("/root/main/trusttest/trusttestlist["+i+"]/choi") == "true"){
  900. if(model.getValue("/root/main/trusttest/trusttestlist["+i+"]/bcno") == ""){
  901. model.setValue("/root/hidden/data1/prcpno", model.getValue("/root/main/trusttest/trusttestlist["+i+"]/prcpno"));
  902. model.setValue("/root/hidden/data1/prcpdd", model.getValue("/root/main/trusttest/trusttestlist["+i+"]/prcpdd"));
  903. model.setValue("/root/hidden/data1/prcphistno", model.getValue("/root/main/trusttest/trusttestlist["+i+"]/prcphistno"));
  904. submit("TXLZZ00601");
  905. }else{
  906. alert("진행된 항목은 처방 취소 할 수 없습니다.");
  907. }
  908. }else{
  909. }
  910. }
  911. fGetTrustTestList();
  912. }
  913. ]]>
  914. </script>
  915. </xhtml:head>
  916. <xhtml:body pagewidth="1000" pageheight="716" guideline="1,482;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  917. <group id="grp_btn" scroll="auto" style="left:0px; top:673; width:984px; height:27px; ">
  918. <button id="btn_cls" class="btn4_letter2" navindex="31" style="left:928; top:5px; width:56px; height:22px; ">
  919. <caption>닫기</caption>
  920. <script type="javascript" ev:event="DOMActivate">
  921. <![CDATA[
  922. fExeWindowClose();
  923. ]]>
  924. </script>
  925. </button>
  926. <line id="line17" class="line_6" style="x1:0px; y1:0px; x2:984; y2:0px; "/>
  927. <button id="btn_prcp" class="btn4_letter4" navindex="30" visibility="hidden" style="left:845; top:5px; width:80px; height:22px; ">
  928. <caption>처방등록</caption>
  929. <script type="javascript" ev:event="DOMActivate">
  930. <![CDATA[
  931. fExePrcpSave("2");
  932. model.setValue("/root/main/patinfo/patinfocnts/suppkind", "13"); // 30% 가산안함
  933. model.refresh();
  934. ]]>
  935. </script>
  936. </button>
  937. <button id="btn_acpt" class="btn4_letter2" disabled="true" navindex="29" style="left:786; top:5px; width:56px; height:22px; ">
  938. <caption>접수</caption>
  939. <script type="javascript" ev:event="DOMActivate">
  940. <![CDATA[
  941. fExePrcpSave("1");
  942. ]]>
  943. </script>
  944. </button>
  945. <button id="btn_patlistread" class="btn3_letter9" navindex="28" visibility="hidden" style="left:0; top:5px; width:136px; height:22px; ">
  946. <caption>수탁환자 Excel읽기</caption>
  947. <script type="javascript" ev:event="DOMActivate">
  948. <![CDATA[
  949. fExeReadTrustPatList();
  950. ]]>
  951. </script>
  952. </button>
  953. <button id="button1" class="btn4_letter2" navindex="29" style="left:727px; top:5px; width:56px; height:22px; ">
  954. <caption>출력</caption>
  955. <script type="javascript" ev:event="DOMActivate">
  956. <![CDATA[
  957. fExePrint();
  958. ]]>
  959. </script>
  960. </button>
  961. <button id="button2" class="btn4_letter2" navindex="29" style="left:668px; top:5px; width:56px; height:22px; ">
  962. <caption>취소</caption>
  963. <script type="javascript" ev:event="DOMActivate">
  964. <![CDATA[
  965. fExeDCprcp();
  966. ]]>
  967. </script>
  968. </button>
  969. </group>
  970. <group id="grp_biz" style="left:0px; top:0px; width:984; height:673; ">
  971. <button id="btn_trustlist" class="btn_sw" navindex="26" group="tab" selected="true" style="left:0px; top:0px; width:90px; height:22px; ">
  972. <caption>수탁검사목록</caption>
  973. <toggle case="case_list" ev:event="DOMActivate"/>
  974. <script type="javascript" ev:event="DOMActivate">
  975. <![CDATA[
  976. fExeTrustChange("1");
  977. ]]>
  978. </script>
  979. </button>
  980. <button id="btn_trustsingle" class="btn_sw" navindex="27" group="tab" selected="true" style="left:92px; top:0px; width:90px; height:22px; ">
  981. <caption>개별수탁검사</caption>
  982. <toggle case="case_single" ev:event="DOMActivate"/>
  983. <script type="javascript" ev:event="DOMActivate">
  984. <![CDATA[
  985. fExeTrustChange("2");
  986. ]]>
  987. </script>
  988. </button>
  989. <switch id="swt_trust" style="left:0px; top:23px; width:984px; height:647px; ">
  990. <case id="case_single">
  991. <caption id="caption6" class="tit_2" autoresize="true" style="left:10px; top:5px; width:161px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">환자정보</caption>
  992. <line id="line2" class="line_1" style="x1:5px; y1:20px; x2:979px; y2:20px; "/>
  993. <select1 id="cmb_exlabcd" ref="/root/main/patinfo/patinfocnts/exlabcd" class="combo_default" navindex="7" appearance="minimal" style="left:74px; top:26px; width:116px; height:19px; ">
  994. <choices>
  995. <itemset nodeset="/root/init/coophosp/coophosplist">
  996. <label ref="coophospnm"/>
  997. <value ref="coophospcd"/>
  998. </itemset>
  999. </choices>
  1000. <script type="javascript" ev:event="xforms-value-changed">
  1001. <![CDATA[
  1002. fExeTrustChoi();
  1003. ]]>
  1004. </script>
  1005. </select1>
  1006. <caption id="caption11" class="text_center" style="left:626px; top:26px; width:20px; height:20px; ">-</caption>
  1007. <caption id="caption13" class="cell_1" style="left:514px; top:49px; width:60px; height:23px; font-family:돋움; vertical-align:middle; ">비 고</caption>
  1008. <line id="line4" class="line_1" style="x1:5px; y1:96px; x2:210px; y2:96px; "/>
  1009. <caption id="caption14" class="tit_2" autoresize="true" style="left:10px; top:81px; width:161px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">처방분류</caption>
  1010. <treeview id="trv_prcpkind" navindex="21" itemsettype="depth" style="left:5px; top:101px; width:205px; height:368px; ">
  1011. <itemset nodeset="/root/init/prcpkind/prcpkindlist">
  1012. <label ref="earnclsnm"/>
  1013. <value ref="earnclskey"/>
  1014. <depth ref="lvl"/>
  1015. </itemset>
  1016. <script type="javascript" ev:event="xforms-select">
  1017. <![CDATA[
  1018. fExePrcpKindClick();
  1019. ]]>
  1020. </script>
  1021. </treeview>
  1022. <caption id="caption15" class="tit_2" autoresize="true" style="left:213px; top:81px; width:161px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">처방명 목록</caption>
  1023. <line id="line5" class="line_1" style="x1:213px; y1:96px; x2:380px; y2:96px; "/>
  1024. <datagrid id="grd_testcdlist" nodeset="/root/init/prcpcd/prcpcdlist" caption="기관코드^처방코드^처방명^처방명^처방명^처방명^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16" colsep="^" colwidth="0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="22" style="left:213px; top:101px; width:167px; height:368px; ">
  1025. <col ref="instcd"/>
  1026. <col ref="testcd"/>
  1027. <col ref="testengnm"/>
  1028. <col ref="testengabbr"/>
  1029. <col ref="testhngnm"/>
  1030. <col ref="testhngabbr"/>
  1031. <col ref="acptdept"/>
  1032. <col ref="ptnocd"/>
  1033. <col ref="stdyptnocd"/>
  1034. <col ref="trustptnocd"/>
  1035. <col ref="workflagcd"/>
  1036. <col ref="slidflagcd"/>
  1037. <col ref="slidisscnt"/>
  1038. <col ref="blocflagcd"/>
  1039. <col ref="initblocno"/>
  1040. <col ref="autokeepflagcd"/>
  1041. <col ref="stdy_workflagcd"/>
  1042. <col ref="stdy_slidflagcd"/>
  1043. <col ref="stdy_slidisscnt"/>
  1044. <col ref="stdy_blocflagcd"/>
  1045. <col ref="stdy_initblocno"/>
  1046. <col ref="stdy_autokeepflagcd"/>
  1047. <script type="javascript" ev:event="ondblclick">
  1048. <![CDATA[
  1049. fExePrcpChoi();
  1050. ]]>
  1051. </script>
  1052. </datagrid>
  1053. <caption id="caption16" class="tit_2" autoresize="true" style="left:386px; top:81px; width:161px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">대표검체 목록</caption>
  1054. <line id="line7" class="line_1" style="x1:386px; y1:96px; x2:550px; y2:96px; "/>
  1055. <datagrid id="grd_spclist" nodeset="/root/init/testinfo/testinfolist" caption="기관코드^처방코드^처방명^검체코드^검체명" colsep="^" colwidth="0, 0, 0, 0, 160" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="23" style="left:386px; top:101px; width:164px; height:368px; ">
  1056. <col ref="instcd"/>
  1057. <col ref="testcd"/>
  1058. <col ref="testhngnm"/>
  1059. <col ref="spccd"/>
  1060. <col ref="spcnm"/>
  1061. <script type="javascript" ev:event="ondblclick">
  1062. <![CDATA[
  1063. fExeSpcChoi();
  1064. ]]>
  1065. </script>
  1066. </datagrid>
  1067. <datagrid id="grd_choiprcp" nodeset="/root/main/choiprcp/choiprcplist" caption="기관코드^처방코드^처방명^처방명^검체코드^검체명^연속검사간격^연속검사횟수^연속검사기본시간^비고" colsep="^" colwidth="0, 0, 0, 125, 0, 100, 87, 87, 105, 160" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="24" style="left:554px; top:101px; width:425px; height:368px; ">
  1068. <col ref="instcd"/>
  1069. <col ref="testcd"/>
  1070. <col ref="testhngnm"/>
  1071. <col ref="testengnm"/>
  1072. <col ref="spccd"/>
  1073. <col ref="spcnm"/>
  1074. <col ref="conttestintvlflagcd" type="combo">
  1075. <choices>
  1076. <item>
  1077. <label>-</label>
  1078. <value>N</value>
  1079. </item>
  1080. <item>
  1081. <label>분</label>
  1082. <value>1</value>
  1083. </item>
  1084. <item>
  1085. <label>시간</label>
  1086. <value>2</value>
  1087. </item>
  1088. <item>
  1089. <label>횟수</label>
  1090. <value>3</value>
  1091. </item>
  1092. <item>
  1093. <label>일수</label>
  1094. <value>4</value>
  1095. </item>
  1096. <item>
  1097. <label>식전/후</label>
  1098. <value>5</value>
  1099. </item>
  1100. </choices>
  1101. </col>
  1102. <col ref="conttestorgtims" type="input"/>
  1103. <col ref="conttestbasetm" type="input"/>
  1104. <col ref="prcpdelivefact" type="input"/>
  1105. <script type="javascript" ev:event="ondblclick">
  1106. <![CDATA[
  1107. ]]>
  1108. </script>
  1109. <script type="javascript" ev:event="onmousedown">
  1110. <![CDATA[
  1111. setPopupMenu("grd_choiprcp", false, "/root/init/popupmenu/item", "nm", "func");
  1112. ]]>
  1113. </script>
  1114. <script type="javascript" ev:event="DOMFocusOut">
  1115. <![CDATA[
  1116. initPopupMenu();
  1117. ]]>
  1118. </script>
  1119. </datagrid>
  1120. <caption id="caption17" class="tit_2" autoresize="true" style="left:554px; top:81px; width:161px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">선택 처방 및 검체</caption>
  1121. <line id="line8" class="line_1" style="x1:554px; y1:96px; x2:979px; y2:96px; "/>
  1122. <caption id="cap_exlabcd" class="cell_1" style="left:5px; top:25px; width:66px; height:23px; font-family:돋움; vertical-align:middle; ">위탁기관</caption>
  1123. <input id="ipt_patnm" ref="/root/main/patinfo/patinfocnts/patnm" navindex="10" imemode="hangul" maxlength="30" style="left:411px; top:26px; width:79px; height:19px; "/>
  1124. <caption id="cap_patnm" class="cell_1" style="left:348px; top:25px; width:60px; height:23px; font-family:돋움; vertical-align:middle; ">환자명</caption>
  1125. <input id="ipt_rrgstno1" ref="/root/main/patinfo/patinfocnts/rrgstno1" navindex="12" maxlength="6" format="999999" mask="exclude" showmask="false" style="left:577px; top:26px; width:45px; height:19px; "/>
  1126. <input id="ipt_rrgstno2" ref="/root/main/patinfo/patinfocnts/rrgstno2" navindex="13" maxlength="7" format="9999999" mask="exclude" showmask="false" style="left:639px; top:26px; width:50px; height:19px; "/>
  1127. <input id="ipt_psptno" ref="/root/main/patinfo/patinfocnts/psptno" navindex="15" maxlength="20" style="left:778px; top:26px; width:200; height:19px; "/>
  1128. <caption id="cap_psptno" class="cell_1" style="left:711px; top:24px; width:64px; height:23px; font-family:돋움; vertical-align:middle; ">여권번호</caption>
  1129. <input id="ipt_age" ref="/root/main/patinfo/patinfocnts/age" navindex="16" maxlength="3" format="####" mask="exclude" showmask="false" style="left:74px; top:50px; width:33px; height:19px; "/>
  1130. <caption id="cap_sexage" class="cell_1" style="left:5px; top:49px; width:66px; height:23px; font-family:돋움; vertical-align:middle; ">나이/성별</caption>
  1131. <select1 id="cmb_sex" ref="/root/main/patinfo/patinfocnts/sex" navindex="17" appearance="minimal" style="left:110px; top:50px; width:60px; height:19px; ">
  1132. <choices>
  1133. <item>
  1134. <label>남성</label>
  1135. <value>M</value>
  1136. </item>
  1137. <item>
  1138. <label>여성</label>
  1139. <value>F</value>
  1140. </item>
  1141. </choices>
  1142. </select1>
  1143. <caption id="cap_rrgstno1" class="cell_1" style="left:514px; top:25px; width:60px; height:23px; font-family:돋움; vertical-align:middle; ">주민번호</caption>
  1144. <caption id="caption7" class="cell_1" style="left:193px; top:25px; width:60px; height:23px; font-family:돋움; vertical-align:middle; ">등록번호</caption>
  1145. <button id="btn_pidsea" class="icon_search" navindex="9" style="left:329; top:26px; width:16px; height:16px; ">
  1146. <caption/>
  1147. <script type="javascript" ev:event="DOMActivate">
  1148. <![CDATA[
  1149. fExePatPopupCall("1");
  1150. ]]>
  1151. </script>
  1152. </button>
  1153. <button id="btn_patnmsea" class="icon_search" navindex="11" style="left:493; top:26px; width:16px; height:16px; ">
  1154. <caption/>
  1155. <script type="javascript" ev:event="DOMActivate">
  1156. <![CDATA[
  1157. fExePatPopupCall("2");
  1158. ]]>
  1159. </script>
  1160. </button>
  1161. <button id="btn_rrgstnosea" class="icon_search" navindex="14" style="left:692; top:26px; width:16px; height:16px; ">
  1162. <caption/>
  1163. <script type="javascript" ev:event="DOMActivate">
  1164. <![CDATA[
  1165. fExePatPopupCall("3");
  1166. ]]>
  1167. </script>
  1168. </button>
  1169. <caption id="caption8" class="tit_2" autoresize="true" style="left:10px; top:476px; width:161px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">접수대상 환자목록</caption>
  1170. <line id="line9" class="line_1" style="x1:5px; y1:491px; x2:979px; y2:491px; "/>
  1171. <datagrid id="grd_acptpatlist" nodeset="/root/main/acptpat/acptpatlist" caption="기관코드^요청기관코드^요청기관^등록번호^환자명^sex^age^성별/나이^적용율^rrgstno1^rrgstno2^주민번호^여권번호^위탁환자번호^비 고^caption1^caption2^caption3^caption4^미수코드" colsep="^" colwidth="0, 0, 144, 80, 80, 0, 0, 70, 110, 0, 0, 121, 130, 100, 200, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="25" style="left:5px; top:496px; width:974px; height:147px; ">
  1172. <col ref="instcd"/>
  1173. <col ref="exlabcd"/>
  1174. <col ref="exlabnm"/>
  1175. <col ref="pid"/>
  1176. <col ref="patnm"/>
  1177. <col ref="sex"/>
  1178. <col ref="age"/>
  1179. <col ref="sexage"/>
  1180. <col ref="suppkind" type="combo">
  1181. <choices>
  1182. <item>
  1183. <label>수탁</label>
  1184. <value>12</value>
  1185. </item>
  1186. <item>
  1187. <label>30%가산안함</label>
  1188. <value>13</value>
  1189. </item>
  1190. </choices>
  1191. </col>
  1192. <col ref="rrgstno1"/>
  1193. <col ref="rrgstno2"/>
  1194. <col ref="rrgstno"/>
  1195. <col ref="psptno"/>
  1196. <col ref="trusthosppid"/>
  1197. <col ref="bigo"/>
  1198. <col ref="bizflagcd"/>
  1199. <col ref="orddrid"/>
  1200. <col ref="orddeptcd"/>
  1201. <col ref="grostestplgyid"/>
  1202. <col ref="uncocd"/>
  1203. <script type="javascript" ev:event="onmousedown">
  1204. <![CDATA[
  1205. setPopupMenu("grd_acptpatlist", false, "/root/init/popupmenu2/item", "nm", "func");
  1206. ]]>
  1207. </script>
  1208. <script type="javascript" ev:event="DOMFocusOut">
  1209. <![CDATA[
  1210. initPopupMenu();
  1211. ]]>
  1212. </script>
  1213. </datagrid>
  1214. <button id="btn_cffm" class="btn2_letter4" navindex="20" style="left:915px; top:0px; width:64px; height:19px; ">
  1215. <caption>임시저장</caption>
  1216. <script type="javascript" ev:event="DOMActivate">
  1217. <![CDATA[
  1218. fExePatTempSave();
  1219. ]]>
  1220. </script>
  1221. </button>
  1222. <datagrid id="grd_trustpatlist" nodeset="/root/main/trustpat/trustpatlist" visibility="hidden" caption="exlabcd^patnm^sex^age^rrgstno1^rrgstno2^psptno^bigo^suppkind" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:845px; top:435px; width:120px; height:50px; ">
  1223. <col ref="exlabcd"/>
  1224. <col ref="patnm"/>
  1225. <col ref="sex"/>
  1226. <col ref="age"/>
  1227. <col ref="rrgstno1"/>
  1228. <col ref="rrgstno2"/>
  1229. <col ref="psptno"/>
  1230. <col ref="bigo"/>
  1231. <col ref="suppkind"/>
  1232. </datagrid>
  1233. <input id="ipt_bigo" ref="/root/main/patinfo/patinfocnts/bigo" navindex="20" style="left:577px; top:50px; width:402px; height:19px; "/>
  1234. <caption id="caption9" class="cell_1" style="left:173px; top:49px; width:60px; height:23px; font-family:돋움; vertical-align:middle; ">적용율</caption>
  1235. <line id="line6" class="line_3" style="x1:5px; y1:71px; x2:979px; y2:71px; "/>
  1236. <select1 id="cmb_suppkind" ref="/root/main/patinfo/patinfocnts/suppkind" navindex="18" appearance="minimal" style="left:236px; top:50px; width:109px; height:19px; ">
  1237. <choices>
  1238. <item>
  1239. <label>수탁</label>
  1240. <value>12</value>
  1241. </item>
  1242. <item>
  1243. <label>30%가산안함</label>
  1244. <value>13</value>
  1245. </item>
  1246. </choices>
  1247. <script type="javascript" ev:event="xforms-value-changed">
  1248. <![CDATA[
  1249. alert("적용률이 변경되었습니다.");
  1250. ]]>
  1251. </script>
  1252. </select1>
  1253. <input id="ipt_pid" ref="/root/main/patinfo/patinfocnts/pid" disabled="true" navindex="8" style="left:256px; top:26px; width:70px; height:19px; "/>
  1254. <line id="line3" class="line_2" style="x1:5px; y1:47px; x2:979px; y2:47px; "/>
  1255. <caption id="caption10" class="cell_1" style="left:348px; top:49px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">위탁환자번호</caption>
  1256. <input id="ipt_trusthosppid" ref="/root/main/patinfo/patinfocnts/trusthosppid" navindex="19" imemode="hangul" maxlength="10" style="left:430px; top:51px; width:79px; height:19px; "/>
  1257. </case>
  1258. <case id="case_list" selected="true">
  1259. <button id="btn_exls" class="btn2_letter2" style="left:933px; top:44px; width:42px; height:19px; ">
  1260. <caption>엑셀</caption>
  1261. <script type="javascript" ev:event="DOMActivate">
  1262. <![CDATA[
  1263. var fileName = window.fileDialog("save", ",", false, "수탁검사목록", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  1264. if (fileName != ""){
  1265. grd_trustlist.saveExcel(fileName);
  1266. }
  1267. ]]>
  1268. </script>
  1269. </button>
  1270. <datagrid id="grd_trustlist" nodeset="/root/main/trusttest/trusttestlist" class="datagrid2" autoresize="true" caption="선택^instcd^요청기관코드^요청기관^요청일자^요청시간^등록번호^바코드번호^작업번호^요청&#xA;등록번호^환자명^성별/&#xA;나이^주민번호^rrgstno1^rrgstno2^여권번호^검사코드^검사명^결과값^결과상태^검체코드^검체명^의뢰지번호^의뢰지구분코드^의뢰지내용^요청자명^확인일자^확인시간^확인자명^acptstatcd^bizflagcd^orddrid^orddeptcd^grostestplgyid^newreqcnts^비고" colsep="^" colwidth="50, 10, 10, 80, 70, 10, 70,85, 11, 70, 65, 45, 90, 18, 21, 90, 54, 123, 65, 55, 34, 80, 40, 70, 20, 70, 10, 10, 10, 10, 10, 10, 10, 100, 100" dataheight="25" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="6" style="left:5px; top:70px; width:974px; height:573px; border-color:#c0c0c0; border-style:solid; ">
  1271. <col ref="choi" type="checkbox"/>
  1272. <col ref="instcd" visibility="hidden"/>
  1273. <col ref="reqinstcd" visibility="hidden"/>
  1274. <col ref="reqinstnm"/>
  1275. <col ref="reqdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  1276. <col class="text_center" ref="reqtm" visibility="hidden"/>
  1277. <col class="text_center" ref="pid"/>
  1278. <col class="text_center" ref="bcno"/>
  1279. <col class="text_center" ref="workno" visibility="hidden"/>
  1280. <col class="text_center" ref="reqpid"/>
  1281. <col ref="patnm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  1282. <col ref="sexage"/>
  1283. <col ref="rrgstno"/>
  1284. <col ref="rrgstno1" visibility="hidden"/>
  1285. <col ref="rrgstno2" visibility="hidden"/>
  1286. <col ref="psptno"/>
  1287. <col ref="testcd" visibility="hidden"/>
  1288. <col ref="testnm"/>
  1289. <col ref="reptrslt"/>
  1290. <col ref="reptgbn"/>
  1291. <col ref="spccd" visibility="hidden"/>
  1292. <col ref="spcnm"/>
  1293. <col ref="reqfrmno" visibility="hidden"/>
  1294. <col ref="reqfrmflagcd" visibility="hidden"/>
  1295. <col ref="reqcnts" visibility="hidden"/>
  1296. <col ref="reqnm"/>
  1297. <col ref="cnfmdd" visibility="hidden"/>
  1298. <col ref="cnfmtm" visibility="hidden"/>
  1299. <col ref="cnfmnm" visibility="hidden"/>
  1300. <col ref="acptstatcd" visibility="hidden"/>
  1301. <col ref="bizflagcd" visibility="hidden"/>
  1302. <col ref="orddrid" visibility="hidden"/>
  1303. <col ref="orddeptcd" visibility="hidden"/>
  1304. <col ref="grostestplgyid" visibility="hidden"/>
  1305. <col ref="newreqcnts" visibility="hidden"/>
  1306. <col ref="prcpdelivefact"/>
  1307. <script type="javascript" ev:event="onmouseout">
  1308. <![CDATA[
  1309. window.setPopupMenu(false);
  1310. ]]>
  1311. </script>
  1312. <script type="javascript" ev:event="onmousedown">
  1313. <![CDATA[
  1314. fpopupmenu();
  1315. ]]>
  1316. </script>
  1317. </datagrid>
  1318. <group id="grp_sea" style="left:5px; top:5px; width:974px; height:35px; vertical-align:top; ">
  1319. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:974; height:35px; "/>
  1320. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">요청일자 :</caption>
  1321. <button id="btn_search" class="btn1_letter2" navindex="5" style="left:904px; top:7px; width:56px; height:22px; ">
  1322. <caption>조회</caption>
  1323. <script type="javascript" ev:event="DOMActivate">
  1324. <![CDATA[
  1325. fGetTrustTestList();
  1326. ]]>
  1327. </script>
  1328. </button>
  1329. <line id="line13" class="line_4" style="x1:888px; y1:7px; x2:888px; y2:29px; "/>
  1330. <caption id="caption3" class="search_no_b" style="left:197; top:8px; width:12px; height:17px; text-align:center; vertical-align:middle; ">~</caption>
  1331. <input id="ipt_prcptodd" ref="/root/init/reqtodd" class="input_search" navindex="2" inputtype="date" style="left:212; top:8px; width:90px; height:19px; "/>
  1332. <input id="ipt_prcpfromdd" ref="/root/init/reqfromdd" class="input_search" navindex="1" inputtype="date" style="left:104; top:8px; width:90; height:19px; "/>
  1333. <caption id="caption4" class="search_name" style="left:596px; top:8px; width:86px; height:17px; ">등록번호 :</caption>
  1334. <caption id="caption5" class="search_name" style="left:324px; top:8px; width:86px; height:17px; ">요청기관 :</caption>
  1335. <select1 id="combo1" ref="/root/init/reqinstcd" navindex="3" appearance="minimal" itemcount="20" style="left:414px; top:8px; width:155px; height:19px; ">
  1336. <choices>
  1337. <itemset nodeset="/root/init/coophosp/coophosplist">
  1338. <label ref="coophospnm"/>
  1339. <value ref="coophospcd"/>
  1340. </itemset>
  1341. </choices>
  1342. </select1>
  1343. <input id="input1" ref="/root/init/reqpid" navindex="4" style="left:688px; top:8px; width:100px; height:19px; "/>
  1344. <select id="checkbox1" ref="/root/init/con" overflow="visible" appearance="full" style="left:805px; top:8px; width:70px; height:20px; font-weight:bold; border-style:none; ">
  1345. <choices>
  1346. <item>
  1347. <label>완료</label>
  1348. <value>1</value>
  1349. </item>
  1350. </choices>
  1351. </select>
  1352. </group>
  1353. <caption id="caption1" class="tit_2" autoresize="true" style="left:10px; top:50px; width:161px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">수탁검사목록</caption>
  1354. <line id="line1" class="line_1" style="x1:5px; y1:65px; x2:979px; y2:65px; "/>
  1355. </case>
  1356. </switch>
  1357. <select1 id="cmb_orddrid" ref="/root/init/prcpdrid" appearance="minimal" style="left:892px; top:2px; width:90px; height:19px; ">
  1358. <choices>
  1359. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  1360. <label ref="usernm"/>
  1361. <value ref="userid"/>
  1362. </itemset>
  1363. </choices>
  1364. </select1>
  1365. <caption id="cap_orddrid" class="cell_1" style="left:825px; top:0px; width:64px; height:23px; font-family:돋움; vertical-align:middle; ">처방의사</caption>
  1366. <group id="grp_prnt" visibility="hidden" style="left:610px; top:175px; width:285px; height:260px; "/>
  1367. </group>
  1368. </xhtml:body>
  1369. </xhtml:html>