SMMRI03000_통합기록조회2.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>통합기록조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <patinfo>
  11. <patinfolist>
  12. <pid/>
  13. <hngnm/>
  14. <engnm/>
  15. <chinm/>
  16. <rrgstno1/>
  17. <rrgstno2/>
  18. <brthdd/>
  19. <sex/>
  20. <age/>
  21. <bindpid/>
  22. <hometel/>
  23. <mpphontel/>
  24. <etctel1/>
  25. <etctel2/>
  26. <smsaprvyn/>
  27. <email/>
  28. <zipcd1/>
  29. <zipcd2/>
  30. <zipcdseq/>
  31. <addr/>
  32. <detladdr/>
  33. <btype/>
  34. <rh/>
  35. <forgeryn/>
  36. <nati/>
  37. <psptno/>
  38. <recmyn/>
  39. <recmerid/>
  40. <recmerrela/>
  41. <vipyn/>
  42. <viprem/>
  43. <religncd/>
  44. <baptnm/>
  45. <chchnm/>
  46. <dethyn/>
  47. <dethdt/>
  48. <chosresn/>
  49. <animyn/>
  50. <exptresncd/>
  51. <inhospyn/>
  52. <remfact/>
  53. <outuncoamt/>
  54. <dschuncoamt/>
  55. <fstrgstrid/>
  56. <fstrgstdt/>
  57. <lastupdtrid/>
  58. <lastupdtdt/>
  59. </patinfolist>
  60. <agesex/>
  61. </patinfo>
  62. <popupendflag/>
  63. <result>
  64. <patinfo>
  65. <list/>
  66. </patinfo>
  67. <paminfo>
  68. <list/>
  69. </paminfo>
  70. </result>
  71. <recsrch>
  72. <reclist/>
  73. </recsrch>
  74. <subordlist1>
  75. <subresultdetail1>
  76. <check/>
  77. <reptrslt/>
  78. <judgmark/>
  79. <judgmark2/>
  80. </subresultdetail1>
  81. </subordlist1>
  82. <patprcpinfo>
  83. <patprcplist/>
  84. </patprcpinfo>
  85. </main>
  86. <send>
  87. <depth/>
  88. <label/>
  89. <val/>
  90. <pid/>
  91. <orddd/>
  92. <cretno/>
  93. <chosflag>A</chosflag>
  94. <tabflag/>
  95. <viewflag/>
  96. <condflag/>
  97. <fromdd/>
  98. <todd/>
  99. <imgtfno/>
  100. <maindata/>
  101. <orddeptcd/>
  102. <reqdata>
  103. <fromdd/>
  104. <todd/>
  105. <pid/>
  106. <prcpclsflag/>
  107. <onlydcflag/>
  108. <ordtype/>
  109. <indd/>
  110. <cretno/>
  111. </reqdata>
  112. </send>
  113. <hidden>
  114. <addresult>
  115. <pid/>
  116. <startdd/>
  117. <enddd/>
  118. <tclscdlist>
  119. <tclscdlist/>
  120. <tclsnmlist/>
  121. <tclscdlist2/>
  122. <tclsnmlist2/>
  123. </tclscdlist>
  124. <refgbn/>
  125. </addresult>
  126. </hidden>
  127. <source>
  128. <srchcond/>
  129. <pid/>
  130. <hngnm/>
  131. <rrgstno1/>
  132. <rrgstno2/>
  133. </source>
  134. <init>
  135. <reqmedireclist>
  136. <recfromdt/>
  137. <rectodt/>
  138. <diffdt>12</diffdt>
  139. </reqmedireclist>
  140. <chosflag>A</chosflag>
  141. <tabflag/>
  142. <viewflag/>
  143. <listflag>P</listflag>
  144. <maindata/>
  145. <lrgIndx/>
  146. </init>
  147. <tmp>
  148. <reclist/>
  149. </tmp>
  150. <imgrec>
  151. <iemr>
  152. <treatno/>
  153. <pid/>
  154. <orddeptcd/>
  155. <indd/>
  156. <docucd/>
  157. <ioflag/>
  158. <cmc_cretno/>
  159. <cmc_spcid/>
  160. <cmc_orddate/>
  161. <cmc_orderseqno/>
  162. </iemr>
  163. </imgrec>
  164. <temp/>
  165. <tmpinicert/>
  166. <inisend/>
  167. <copysend/>
  168. <tmpcopyinfo/>
  169. </root>
  170. </instance>
  171. <script type="javascript" ev:event="xforms-ready">
  172. <![CDATA[
  173. makeReportPreview("100", "100", "500", "500", "grp_report");
  174. //alert("[공지] 8/22 통합테스트에는 '통합기록조회'를 사용하실 수 없습니다. \n 현재 '통합기록조회' 신버전이 System에 반영 된 상태입니다.\n 그러나 신버전 개발이 완료되지 않아 다소 오류가 발생할 수 있으니 단순 참고용으로만 사용해 주시기 바랍니다. \n 8월29일 테스트에는 완성도 높은 새로운 버전의 '통합기록조회'를 사용하실 수 있도록 하겠습니다. 감사합니다.");
  175. fInitalize();
  176. zepfpacsInit();
  177. ]]>
  178. </script>
  179. <script type="javascript" ev:event="xforms-model-destruct">
  180. <![CDATA[
  181. /*
  182. var wndobj = getOpenWindow(oprnerId);
  183. if (wndobj != null){
  184. oprnerId = opener.window.javascript.getScreenID();
  185. if(oprnerId == "SPMRC03200")
  186. {
  187. var wndobj = getOpenWindow("SPMRC03200");
  188. wndobj.window.javascript.fCopyInfoClose();
  189. }else if(oprnerId == "SMMRC01100"){//2008-09-21 이창록 수정
  190. var wndobj_MRC = getOpenWindow("SPMRC03200");
  191. if(wndobj_MRC!=null){
  192. wndobj_MRC.window.close();
  193. }
  194. }
  195. }
  196. */
  197. fExistFolder("C:/Certrec");
  198. ]]>
  199. </script>
  200. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
  201. <submission id="TRAER00850" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/maindata" resultref="/root/main/subresultdetail1"/>
  202. <submission id="TRMRI00411" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/lrgIndx"/>
  203. <submission id="TRMRI00412" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/recsrch"/>
  204. <submission id="TRMRI00413" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmp/reclist"/>
  205. <submission id="TRMRI00414" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmpinicert"/>
  206. <submission id="TRMRI00415" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmpinicert"/>
  207. <submission id="TRMRI00407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/copysend" resultref="/root/tmpcopyinfo"/>
  208. <submission id="TRMMO14901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patprcpinfo"/>
  209. <submission id="TRMMO14904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prcpsrchprnt"/>
  210. </model>
  211. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  212. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  213. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  214. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  215. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  216. <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
  217. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  218. <script type="javascript" src="../../../emr/medirecweb/js/MMRCommon.js"/>
  219. <script type="javascript" src="../../../emr/recmngtweb/js/SMMRI00400.js"/>
  220. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  221. <script type="javascript" src="../../../com/pacsweb/js/ZEP001.js"/>
  222. </xhtml:head>
  223. <xhtml:body pagewidth="1271" pageheight="950" guideline="1,1271;2,980;1,300;1,304;">
  224. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">통합기록조회</caption>
  225. <line id="line17" class="line_1" style="x1:0px; y1:20px; x2:1270px; y2:20px; "/>
  226. <group id="grup_left" style="left:0px; top:24px; width:300px; height:922px; ">
  227. <line id="line1" class="line_2" style="x1:300px; y1:0px; x2:300px; y2:755px; "/>
  228. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:300px; height:103px; background-color:#fffbf2; border-color:#ffd799; "/>
  229. <button id="button1" class="icon_pre_month" style="left:65px; top:57px; width:16px; height:16px; ">
  230. <caption/>
  231. <script type="javascript" ev:event="DOMActivate">
  232. <![CDATA[
  233. fAddDateReq("back");
  234. ]]>
  235. </script>
  236. </button>
  237. <button id="button2" class="icon_next_month" style="left:279px; top:57px; width:16px; height:16px; ">
  238. <caption/>
  239. <script type="javascript" ev:event="DOMActivate">
  240. <![CDATA[
  241. fAddDateReq("next");
  242. ]]>
  243. </script>
  244. </button>
  245. <button id="button3" class="btn1_letter2" navindex="9" style="left:230px; top:80px; width:56px; height:22px; ">
  246. <caption>조회</caption>
  247. <script type="javascript" ev:event="DOMActivate">
  248. <![CDATA[
  249. fSelect();
  250. ]]>
  251. </script>
  252. </button>
  253. <input id="ipt_rrgstno1" ref="/root/main/patinfo/patinfolist/rrgstno1" class="input_s_essential" navindex="4" autonext="false" format="999999" style="left:65px; top:31px; width:55px; height:19px; ">
  254. <script type="javascript" ev:event="onkeypress">
  255. <![CDATA[
  256. fRgstnoKeyPress();
  257. ]]>
  258. </script>
  259. </input>
  260. <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" class="input_s_essential" navindex="1" autonext="false" format="9999999999" style="left:65px; top:7px; width:70px; height:19px; ">
  261. <script type="javascript" ev:event="onkeypress">
  262. <![CDATA[
  263. if(event.keyCode == "13") {
  264. fPidKeyPress();
  265. fSelect();
  266. }
  267. ]]>
  268. </script>
  269. </input>
  270. <secret id="ipt_rrgstno2" ref="/root/main/patinfo/patinfolist/rrgstno2" class="input_s_essential" navindex="5" format="9999999" autonext="false" style="left:125px; top:31px; width:55px; height:19px; ">
  271. <script type="javascript" ev:event="onkeypress">
  272. <![CDATA[
  273. fRgstnoKeyPress();
  274. ]]>
  275. </script>
  276. </secret>
  277. <button id="button6" style="left:170px; top:56px; width:20px; height:20px; background-image:../../../com/commonweb/images/icon_n.gif; background-position:center; ">
  278. <caption/>
  279. <script type="javascript" ev:event="onclick">
  280. <![CDATA[
  281. fAddDateReq("today");
  282. ]]>
  283. </script>
  284. </button>
  285. <caption id="caption21" class="cell_1" style="left:3px; top:5px; width:60px; height:23px; text-align:center; ">등록번호</caption>
  286. <caption id="caption2" class="cell_1" style="left:3px; top:55px; width:60px; height:23px; text-align:center; ">조회기간</caption>
  287. <caption id="caption23" class="cell_1" style="left:140px; top:5px; width:60px; height:23px; text-align:center; ">성명</caption>
  288. <caption id="caption57" class="cell_1" style="left:183px; top:30px; width:61px; height:23px; text-align:center; ">성별/나이</caption>
  289. <input id="ipt_hngnm" ref="/root/main/patinfo/patinfolist/hngnm" class="input_s_essential" navindex="2" autonext="false" imemode="hangul" style="left:202px; top:8px; width:70px; height:19px; ">
  290. <script type="javascript" ev:event="onkeypress">
  291. <![CDATA[
  292. fPnmKeyPress();
  293. ]]>
  294. </script>
  295. </input>
  296. <caption id="caption35" class="cell_1" style="left:3px; top:30px; width:60px; height:23px; text-align:center; ">주민번호</caption>
  297. <output id="opt_age" ref="/root/main/patinfo/agesex" class="output_fix" style="left:246px; top:30px; width:48px; height:19px; "/>
  298. <input id="ipt_formrecdtfr" ref="/root/init/reqmedireclist/recfromdt" class="input_s_essential" navindex="6" inputtype="date" style="left:83px; top:56px; width:90px; height:19px; "/>
  299. <input id="ipt_formrecdtto" ref="/root/init/reqmedireclist/rectodt" class="input_s_essential" navindex="7" inputtype="date" style="left:187px; top:56px; width:90px; height:19px; "/>
  300. <button id="btn_search" class="icon_search" navindex="3" style="left:275px; top:7px; width:16px; height:16px; ">
  301. <caption/>
  302. <script type="javascript" ev:event="DOMActivate">
  303. <![CDATA[
  304. fPopPtinfo();
  305. ]]>
  306. </script>
  307. </button>
  308. <caption id="caption5" class="cell_1" style="left:3px; top:80px; width:60px; height:23px; text-align:center; ">내원구분</caption>
  309. <switch id="switch1" style="left:0px; top:135px; width:300px; height:685px; ">
  310. <case id="case2" selected="true">
  311. <button id="btn_nurc" navindex="16" indxnm="간호기록" style="left:1px; top:356px; width:28px; height:70px; font-family:돋움, Arial; text-align:center; background-color:#cce8ff; border-width:1px; ">
  312. <caption>
  313. <![CDATA[간
  314. 록]]>
  315. </caption>
  316. <script type="javascript" ev:event="DOMActivate">
  317. <![CDATA[
  318. button5.visible = true;
  319. btn_prtprcp.visible = false;
  320. fSelectBtn("btn_nurc");
  321. ]]>
  322. </script>
  323. </button>
  324. <button id="btn_all" navindex="11" indxnm="전체" style="left:1px; top:1px; width:28px; height:70px; font-family:돋움, Arial; text-align:center; background-color:#cce8ff; border-width:1px; ">
  325. <caption>
  326. <![CDATA[전
  327. 체]]>
  328. </caption>
  329. <script type="javascript" ev:event="DOMActivate">
  330. <![CDATA[
  331. button5.visible = true;
  332. btn_prtprcp.visible = false;
  333. fSelectBtn("btn_all");
  334. ]]>
  335. </script>
  336. </button>
  337. <button id="btn_prog" navindex="12" indxnm="경과기록" style="left:1px; top:72px; width:28px; height:70px; font-family:돋움, Arial; text-align:center; background-color:#cce8ff; border-width:1px; ">
  338. <caption>
  339. <![CDATA[경
  340. 록]]>
  341. </caption>
  342. <script type="javascript" ev:event="DOMActivate">
  343. <![CDATA[
  344. button5.visible = true;
  345. btn_prtprcp.visible = false;
  346. fSelectBtn("btn_prog");
  347. ]]>
  348. </script>
  349. </button>
  350. <button id="btn_test" navindex="14" indxnm="검사기록" style="left:1px; top:214px; width:28px; height:70px; font-family:돋움, Arial; text-align:center; background-color:#cce8ff; border-width:1px; ">
  351. <caption>
  352. <![CDATA[검
  353. 록]]>
  354. </caption>
  355. <script type="javascript" ev:event="DOMActivate">
  356. <![CDATA[
  357. button5.visible = true;
  358. btn_prtprcp.visible = false;
  359. fSelectBtn("btn_test");
  360. ]]>
  361. </script>
  362. </button>
  363. <button id="btn_prcp" navindex="15" indxnm="처방기록" style="left:1px; top:285px; width:28px; height:70px; font-family:돋움, Arial; text-align:center; background-color:#cce8ff; border-width:1px; ">
  364. <caption>
  365. <![CDATA[처
  366. 록]]>
  367. </caption>
  368. <script type="javascript" ev:event="DOMActivate">
  369. <![CDATA[
  370. button5.visible = false;
  371. btn_prtprcp.visible = true;
  372. fSelectPrcpBtn();
  373. //fSelectBtn("btn_prcp");
  374. ]]>
  375. </script>
  376. </button>
  377. <button id="btn_op" navindex="13" indxnm="수술기록" style="left:1px; top:143px; width:28px; height:70px; font-family:돋움, Arial; text-align:center; background-color:#cce8ff; border-width:1px; ">
  378. <caption>
  379. <![CDATA[수
  380. 록]]>
  381. </caption>
  382. <script type="javascript" ev:event="DOMActivate">
  383. <![CDATA[
  384. button5.visible = true;
  385. btn_prtprcp.visible = false;
  386. fSelectBtn("btn_op");
  387. ]]>
  388. </script>
  389. </button>
  390. <button id="btn_etc" navindex="17" indxnm="기타기록" style="left:1px; top:427px; width:28px; height:70px; font-family:돋움, Arial; text-align:center; background-color:#cce8ff; border-width:1px; ">
  391. <caption>
  392. <![CDATA[기
  393. 록]]>
  394. </caption>
  395. <script type="javascript" ev:event="DOMActivate">
  396. <![CDATA[
  397. button5.visible = true;
  398. btn_prtprcp.visible = false;
  399. fSelectBtn("btn_etc");
  400. ]]>
  401. </script>
  402. </button>
  403. <button id="btn_img" navindex="17" indxnm="기타기록" style="left:1px; top:498px; width:28px; height:70px; font-family:돋움, Arial; text-align:center; background-color:#cce8ff; border-width:1px; ">
  404. <caption>
  405. <![CDATA[구
  406. 상]]>
  407. </caption>
  408. <script type="javascript" ev:event="DOMActivate">
  409. <![CDATA[
  410. button5.visible = true;
  411. btn_prtprcp.visible = false;
  412. fSelectImgBtn();
  413. ]]>
  414. </script>
  415. </button>
  416. <treeview id="trv_reclist" expanddepth="5" itemsettype="depth" style="left:31px; top:0px; width:265px; height:683px; ">
  417. <itemset nodeset="/root/main/recsrch/reclist">
  418. <label ref="label"/>
  419. <value ref="val"/>
  420. <image ref="imge"/>
  421. <depth ref="depth"/>
  422. </itemset>
  423. <script type="javascript" ev:event="ondelayclick">
  424. <![CDATA[
  425. fClickDepth("one");
  426. ]]>
  427. </script>
  428. <script type="javascript" ev:event="ondblclick">
  429. <![CDATA[
  430. fClickDepth("two");
  431. fClickDepth("one");
  432. ]]>
  433. </script>
  434. </treeview>
  435. </case>
  436. </switch>
  437. <select1 id="cmb_chosflag" ref="/root/init/chosflag" class="combo_default" disabled="false" navindex="8" appearance="minimal" style="left:65px; top:82px; width:155px; height:19px; ">
  438. <choices>
  439. <item>
  440. <label>전체</label>
  441. <value>A</value>
  442. </item>
  443. <item>
  444. <label>외래</label>
  445. <value>O</value>
  446. </item>
  447. <item>
  448. <label>입원</label>
  449. <value>I</value>
  450. </item>
  451. <item>
  452. <label>응급</label>
  453. <value>E</value>
  454. </item>
  455. <item>
  456. <label>건진</label>
  457. <value>S</value>
  458. </item>
  459. <item>
  460. <label>DSC</label>
  461. <value>D</value>
  462. </item>
  463. </choices>
  464. </select1>
  465. <button id="btn_dept" class="btn_sw" navindex="10" group="tab" style="left:32px; top:113px; width:77px; height:22px; ">
  466. <caption>과별</caption>
  467. <toggle case="case1" ev:event="onclick"/>
  468. <script type="javascript" ev:event="DOMActivate">
  469. <![CDATA[
  470. fSelectTopBtn("btn_dept");
  471. ]]>
  472. </script>
  473. </button>
  474. <button id="btn_orddd" class="btn_sw6" group="tab" style="left:110px; top:113px; width:77px; height:22px; ">
  475. <caption>퇴[내]원일별</caption>
  476. <toggle case="case1" ev:event="onclick"/>
  477. <script type="javascript" ev:event="DOMActivate">
  478. <![CDATA[
  479. fSelectTopBtn("btn_orddd");
  480. ]]>
  481. </script>
  482. </button>
  483. <caption id="caption1" style="left:1px; top:821px; width:298px; height:100px; font-weight:bold; color:#0000ff; text-align:left; background-color:#ffcc99; ">
  484. <![CDATA[★ 최근 1년간의 진료기록이 우선 조회됨
  485. (기간 설정하여 조회 하십시오)
  486. ★ 2008/10/02 이전 퇴원차트 기록은 구영상에서
  487. 조회(SmartChart내용)]]>
  488. </caption>
  489. </group>
  490. <group id="group1" style="left:305px; top:24px; width:966px; height:922px; ">
  491. <line id="line13" class="line_2" style="x1:0px; y1:px; x2:0px; y2:755px; "/>
  492. <switch id="swt_right" style="left:0px; top:1px; width:965px; height:921px; ">
  493. <case id="bit" selected="true">
  494. <iviewer id="iviewerIemr" src="../../../emr/imgemrweb/xrw/SSMRC03100.xrw" style="left:1px; top:0px; width:962px; height:918px; border-style:none; "/>
  495. </case>
  496. <case id="ord">
  497. <group id="grp_report" visibility="hidden" style="left:50px; top:40px; width:345px; height:295px; "/>
  498. <datagrid id="grd_prcplist" nodeset="/root/main/patprcpinfo/patprcplist" class="datagrid_noborder" autoresize="true" caption="^^^^^" colsep="^" colwidth="90, 100, 500, 200, 0, 0" defaultrows="0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:962px; height:918px; ">
  499. <col ref="header"/>
  500. <col ref="prcpcd"/>
  501. <col ref="prcpnm"/>
  502. <col ref="prcpspec"/>
  503. <col ref="headinfo"/>
  504. <col ref="drugspec"/>
  505. </datagrid>
  506. </case>
  507. <case id="text">
  508. <object id="objChartView" clsid="{1981ade6-203f-43c2-963b-ad154c145dca}" visible="true" style="left:1px; top:0px; width:962px; height:920px; "/>
  509. </case>
  510. <case id="test">
  511. <datagrid id="grd_subresultdetail1" nodeset="/root/main/subordlist1/subresultdetail1" autoresize="true" caption="^결과내역^judgmark^judgmark2^prcpcd^prcpnm" colsep="^" colwidth="19, 863, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:22px; width:962px; height:886px; text-align:center; ">
  512. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  513. <col ref="reptrslt" style="font-family:굴림체; text-align:left; "/>
  514. <col ref="judgmark"/>
  515. <col ref="judgmark2"/>
  516. <col ref="prcpcd"/>
  517. <col ref="prcpnm"/>
  518. <script type="javascript" ev:event="onkeydown">
  519. <![CDATA[
  520. if (event.ctrlKey == true && event.keyCode == 67)
  521. {
  522. aezfSendMarkBuf(grd_subresultdetail1, "reptrslt", "/root/main/subordlist1/subresultdetail1");
  523. }
  524. ]]>
  525. </script>
  526. <script type="javascript" ev:event="onmouseup">
  527. <![CDATA[
  528. if ( (grd_subresultdetail1.row >= grd_subresultdetail1.fixedRows) && (grd_subresultdetail1.isCell(event.target))) {
  529. if ( grd_subresultdetail1.row >0){
  530. //for ( var i = 1; i < grd_subresultdetail1.rows; i++) {
  531. // model.setValue("/root/main/subordlist1/subresultdetail1[" + i + "]/check", "N");
  532. //}
  533. // alert(grd_subresultdetail1.selectedRows);
  534. for ( var i =0 ; i< grd_subresultdetail1.selectedRows;i++){
  535. //alert(grd_subresultdetail1.isReadOnly(i, 0, i, 1));
  536. // grd_subresultdetail1.row=i;
  537. // grd_subresultdetail1.col=0;
  538. // if ( grd_subresultdetail1.attribute("disabled") == false ) {
  539. if (model.getValue("/root/main/subordlist1/subresultdetail1[" + grd_subresultdetail1.selectedRow(i) + "]/check")== "N"){
  540. model.setValue("/root/main/subordlist1/subresultdetail1[" + grd_subresultdetail1.selectedRow(i) + "]/check", "Y");
  541. } else {
  542. model.setValue("/root/main/subordlist1/subresultdetail1[" + grd_subresultdetail1.selectedRow(i) + "]/check", "N");
  543. }
  544. // }
  545. }
  546. model.refresh();
  547. }
  548. }
  549. ]]>
  550. </script>
  551. </datagrid>
  552. <button id="button7" class="btn2_letter4" style="left:701px; top:2px; width:64px; height:19px; ">
  553. <caption>연속보기</caption>
  554. <script type="javascript" ev:event="DOMActivate">
  555. <![CDATA[
  556. if ( grd_test.row == 0 ) return;
  557. fClickResultContinueList();
  558. ]]>
  559. </script>
  560. <hint>
  561. <![CDATA[결과내역에 대한 연속보기 기능입니다]]>
  562. </hint>
  563. </button>
  564. <button id="button9" class="btn2_letter4" style="left:620px; top:2px; width:64px; height:19px; ">
  565. <caption>CDIS연동</caption>
  566. <script type="javascript" ev:event="DOMActivate">
  567. <![CDATA[
  568. if ( grd_test.row == 0 ) return;
  569. if ( model.getValue("/root/main/patinfo/patinfolist/pid") == "" ) {
  570. messageBox("등록번호를 입력하세요.","I999");
  571. return true;
  572. }
  573. fClickCDISResultList(grd_test);
  574. ]]>
  575. </script>
  576. </button>
  577. <button id="button10" class="btn2_letter5" style="left:544px; top:2px; width:75px; height:19px; ">
  578. <caption>PACS연동</caption>
  579. <script type="javascript" ev:event="DOMActivate">
  580. <![CDATA[
  581. if ( grd_test.row == 0 ) return;
  582. if ( model.getValue("/root/main/patinfo/patinfolist/pid") == "" ) {
  583. messageBox("등록번호를 입력하세요.","I999");
  584. return true;
  585. }
  586. fClickPACSOrdPatResultList(grd_test);
  587. ]]>
  588. </script>
  589. </button>
  590. <button id="button11" class="btn2_letter3" style="left:831px; top:2px; width:53px; height:19px; ">
  591. <caption>그래프</caption>
  592. <hint>
  593. <![CDATA[진검,미생물,핵의학체외에 대한 그래프결과조회입니다]]>
  594. </hint>
  595. <script type="javascript" ev:event="DOMActivate">
  596. <![CDATA[
  597. fSetAddResult("2");
  598. ]]>
  599. </script>
  600. </button>
  601. <button id="button12" class="btn2_letter4" style="left:766px; top:2px; width:64px; height:19px; ">
  602. <caption>누적조회</caption>
  603. <script type="javascript" ev:event="DOMActivate">
  604. <![CDATA[
  605. //modal("SMLLP01000");
  606. // 1 일경우에는 누적조회 버튼을 클릭했다는 의미, 2는 그래프버튼을 클릭했다는 의미
  607. fSetAddResult("1");
  608. ]]>
  609. </script>
  610. <hint>
  611. <![CDATA[진검,미생물,핵의학체외에 대한 누적결과조회입니다]]>
  612. </hint>
  613. </button>
  614. </case>
  615. </switch>
  616. </group>
  617. <button id="btn_prtprcp" class="btn2_letter7" style="left:304px; top:0px; width:97px; height:19px; ">
  618. <caption>처방내역 출력</caption>
  619. <script type="javascript" ev:event="DOMActivate">
  620. <![CDATA[
  621. //exeReportPreview("RPMRI00400", "XMLSTR", "", "", "true", "", "", "", "", "", "", "grp_report");
  622. exeReportPreview("RPMMO14900", "XMLSTR", "/root/main/patprcpinfo/patprcplist", "", "true", "", "", "", "", "", "", "grp_report");
  623. //exeReportPreview("RPMMO14900", "XMLSTR", "/root/main/patprcpinfo/patprcplist");
  624. ]]>
  625. </script>
  626. </button>
  627. <button id="btn_copyprt" class="btn2_letter4" visibility="hidden" style="left:1136px; top:0px; width:64px; height:19px; ">
  628. <caption>사본신청</caption>
  629. <script type="javascript" ev:event="DOMActivate">
  630. <![CDATA[
  631. fAppcopy();
  632. ]]>
  633. </script>
  634. </button>
  635. <button id="button13" class="btn2_letter4" visibility="hidden" style="left:160px; top:0px; width:64px; height:19px; ">
  636. <caption>XSLT</caption>
  637. <script type="javascript" ev:event="DOMActivate">
  638. <![CDATA[
  639. model.toggle("xslt");
  640. model.removeNodeset("/root/send");
  641. model.makeValue("/root/send/val", "7");
  642. model.makeValue("/root/send/formcd", "0000002496");
  643. if(submit("TRMRI00405"))
  644. {
  645. browser1.Navigate("about:blank");
  646. browser1.Document.write(model.getValue("/root/main/xslt/translist/trans"));
  647. }
  648. ]]>
  649. </script>
  650. </button>
  651. <button id="button14" class="btn2_letter4" visibility="visible" style="left:236px; top:0px; width:64px; height:19px; ">
  652. <caption>조회이력</caption>
  653. <script type="javascript" ev:event="DOMActivate">
  654. <![CDATA[
  655. var parampid = ipt_pid.value;
  656. if(parampid == "")
  657. {
  658. messageBox("환자번호는", "I003");
  659. }
  660. else
  661. {
  662. setParameter("SMMRI00900_param",parampid);
  663. open("SMMRI00900");
  664. }
  665. ]]>
  666. </script>
  667. </button>
  668. <button id="button15" class="btn2_letter8" visibility="visible" style="left:122px; top:0px; width:108px; height:19px; ">
  669. <caption>질병 및 수술분류</caption>
  670. <script type="javascript" ev:event="DOMActivate">
  671. <![CDATA[
  672. fDiagOprIndxLnk();
  673. ]]>
  674. </script>
  675. </button>
  676. <!--object id="obj_cvrt" clsid="{341619d2-2ef9-4cac-a40e-b330c4c5f004}" style="left:580px; top:5px; width:15px; height:10px; "/-->
  677. <button id="btn_unprep" class="btn2_letter4" visibility="visible" style="left:1205px; top:0px; width:64px; height:19px; ">
  678. <caption>미비확인</caption>
  679. <script type="javascript" ev:event="DOMActivate">
  680. <![CDATA[
  681. setParameter("unprepdeptcd", getUserInfo("dutplcecd"));
  682. setParameter("unprepdtuserid", getUserId());
  683. modal("SMMRI00100");
  684. ]]>
  685. </script>
  686. </button>
  687. <button id="button8" class="btn2_letter5" visibility="hidden" style="left:730px; top:0px; width:42px; height:19px; ">
  688. <caption>최소화출력</caption>
  689. <script type="javascript" ev:event="DOMActivate">
  690. <![CDATA[
  691. //setParameter("SPMRI02400_autoprtYn", "Y");
  692. //modal("SPMRI02400", 1, "", "", "", "", "", "left:-800; right:0; width:0; height:0;");
  693. setParameter("SPMRI02400_prtrecinfo", "E▦800000000126508▦0000000680▩E▦800000000126390▦0800000762▩");
  694. modal("SPMRI02400");
  695. ]]>
  696. </script>
  697. </button>
  698. <button id="button5" class="btn2_letter2" visibility="visible" style="left:304px; top:0px; width:42px; height:19px; ">
  699. <caption>출력</caption>
  700. <script type="javascript" ev:event="DOMActivate">
  701. <![CDATA[
  702. if(iviewerIemr.window.javaScript.printChart("1"))
  703. {
  704. messageBox("출력", "I001");
  705. }
  706. else
  707. {
  708. messageBox("출력에", "E009");
  709. }
  710. ]]>
  711. </script>
  712. </button>
  713. <button id="button4" class="btn2_letter5" visibility="hidden" style="left:840px; top:0px; width:75px; height:19px; ">
  714. <caption>수술기록</caption>
  715. <script type="javascript" ev:event="DOMActivate">
  716. <![CDATA[
  717. //setParameter("SPMRI02400_autoprtYn", "Y");
  718. //modal("SPMRI02400", 1, "", "", "", "", "", "left:-800; right:0; width:0; height:0;");
  719. modal("SMMRI09000");
  720. ]]>
  721. </script>
  722. </button>
  723. </xhtml:body>
  724. </xhtml:html>