SMMRI07000_통합기록조회.xrw 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>통합기록조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <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. <addr/>
  31. <zipcdseq/>
  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. <patmedidept>
  63. <selected>
  64. <deptcd>ALL</deptcd>
  65. <text>전체</text>
  66. <list>
  67. <deptcd>ALL</deptcd>
  68. <deptnm>전체</deptnm>
  69. </list>
  70. </selected>
  71. <list>
  72. </list>
  73. </patmedidept>
  74. <patmedihist>
  75. </patmedihist>
  76. <pathist>
  77. <patordhist/>
  78. </pathist>
  79. <midindx>
  80. <midindxlist/>
  81. </midindx>
  82. <chartmidindx>
  83. <chartmidindxlist/>
  84. </chartmidindx>
  85. <favorite>
  86. <list>
  87. <levl>1</levl>
  88. <imge>
  89. <![CDATA[../../../com/commonweb/images/icon_folder_close.gif]]>
  90. </imge>
  91. <labl>
  92. <![CDATA[즐겨찾기 그룹명 #1]]>
  93. </labl>
  94. <seqcd/>
  95. </list>
  96. <list>
  97. <levl>2</levl>
  98. <imge>
  99. <![CDATA[../../../com/commonweb/images/icon_list.gif]]>
  100. </imge>
  101. <labl>
  102. <![CDATA[입원초진기록]]>
  103. </labl>
  104. <seqcd/>
  105. </list>
  106. </favorite>
  107. <bookmark>
  108. <list>
  109. <levl>1</levl>
  110. <imge>
  111. <![CDATA[../../../com/commonweb/images/icon_folder_close.gif]]>
  112. </imge>
  113. <labl>
  114. <![CDATA[북마크 그룹명 #1]]>
  115. </labl>
  116. <seqcd/>
  117. </list>
  118. <list>
  119. <levl>2</levl>
  120. <imge>
  121. <![CDATA[../../../com/commonweb/images/icon_list.gif]]>
  122. </imge>
  123. <labl>
  124. <![CDATA[입원초진기록 2009-10-01]]>
  125. </labl>
  126. <seqcd/>
  127. </list>
  128. <list>
  129. <levl>2</levl>
  130. <imge>
  131. <![CDATA[../../../com/commonweb/images/icon_list.gif]]>
  132. </imge>
  133. <labl>
  134. <![CDATA[경과기록 2009-10-01]]>
  135. </labl>
  136. <seqcd/>
  137. </list>
  138. </bookmark>
  139. <chartpathist>
  140. <chartpatordhist/>
  141. </chartpathist>
  142. </main>
  143. <hidden/>
  144. <send>
  145. <interqestcd/>
  146. </send>
  147. <temp>
  148. <options>
  149. <in_acpt_cncl>N</in_acpt_cncl>
  150. </options>
  151. </temp>
  152. <source>
  153. <srchcond/>
  154. <pid/>
  155. <hngnm/>
  156. <rrgstno1/>
  157. <rrgstno2/>
  158. <autoflag/>
  159. </source>
  160. <init>
  161. <orddept/>
  162. <tabflag/>
  163. <pathist/>
  164. <ioflag/>
  165. <itemindxseq/>
  166. <reccurpos/>
  167. <recall>N</recall>
  168. <totcnt/>
  169. <emrflag/>
  170. <accresn/>
  171. <endcnt/>
  172. <prtresn/>
  173. <midreccnt/>
  174. <pidynhcd/>
  175. <bmkuseyn/>
  176. <bmkrght>
  177. <mouserght>
  178. <label>폴더관리</label>
  179. <func>fModiFolder</func>
  180. </mouserght>
  181. </bmkrght>
  182. <bfopentest/>
  183. <linkcd/>
  184. <fromdt/>
  185. <todt/>
  186. <pageindex>1</pageindex>
  187. <pagepercnt>2</pagepercnt>
  188. </init>
  189. <imgrec>
  190. <iemr>
  191. <treatno/>
  192. <pid/>
  193. <orddeptcd/>
  194. <indd/>
  195. <docucd/>
  196. <ioflag/>
  197. <cmc_cretno/>
  198. <cmc_spcid/>
  199. <cmc_orddate/>
  200. <cmc_orderseqno/>
  201. </iemr>
  202. </imgrec>
  203. <initinfo>
  204. <dplist/>
  205. <lrgIndx/>
  206. </initinfo>
  207. <tmp>
  208. <recinfos/>
  209. <imgrec>
  210. <iemr>
  211. <treatno/>
  212. <pid/>
  213. <orddeptcd/>
  214. <indd/>
  215. <docucd/>
  216. <ioflag/>
  217. <cmc_cretno/>
  218. <cmc_spcid/>
  219. <cmc_orddate/>
  220. <cmc_orderseqno/>
  221. </iemr>
  222. </imgrec>
  223. <chkitem>
  224. <itemno/>
  225. </chkitem>
  226. <wheelmsg/>
  227. </tmp>
  228. </root>
  229. </instance>
  230. <script type="javascript" ev:event="xforms-ready">
  231. <![CDATA[
  232. makeReportPreview("100", "100", "500", "500", "grp_report");
  233. fInitalize();
  234. fInitalize_Local();
  235. ]]>
  236. </script>
  237. <submission id="TRMRC00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
  238. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
  239. <submission id="TRMRI07407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/copysend" resultref="/root/tmpcopyinfo"/>
  240. <submission id="TRMMO14901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patprcpinfo"/>
  241. <submission id="TRMMO14904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prcpsrchprnt"/>
  242. <submission id="TRMRI07001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/initinfo"/>
  243. <submission id="TRMRI07002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/pathist/patordhist"/>
  244. <submission id="TRMRI07003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/midindx/midindxlist"/>
  245. <submission id="TRMRI07102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/chartmidindx/chartmidindxlist"/>
  246. <submission id="TRMRI07103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/chartpathist/chartpatordhist"/>
  247. <submission id="TRMRI07004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmpinicert"/>
  248. <submission id="TRMRI07005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/endrec/pid" resultref="/root/endcnt"/>
  249. <submission id="TXMRI03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/prtcnt"/>
  250. <submission id="TRMRI07006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hardcd"/>
  251. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  252. <submission id="TRMRI07500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bmkpara" resultref="/root/main/treeview/item"/>
  253. <submission id="TRMRI07408" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bookmark" resultref="/root/tmp/recinfos/recinfo"/>
  254. <submission id="TRMRI07409" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/selpid" resultref="/root/tmp/chkitem/itemno"/>
  255. <submission id="TRMMB01104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/interface"/>
  256. </model>
  257. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  258. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  259. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  260. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  261. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  262. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  263. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  264. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMB01100.js"/>
  265. <script type="javascript" src="../../../emr/recmngtweb/js/SMMRI07000.js"/>
  266. </xhtml:head>
  267. <xhtml:body pagewidth="1280" pageheight="943" style="margin-left:8; margin-right:8; ">
  268. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">
  269. <![CDATA[통합기록조회]]>
  270. <script type="javascript" ev:event="ondblclick">
  271. <![CDATA[
  272. //교육테스트를 위한 임시로 사용-kys-20091214
  273. modal("SMMRI04000");
  274. ]]>
  275. </script>
  276. </caption>
  277. <line id="line17" class="line_1" style="x1:0px; y1:20px; x2:1252px; y2:20px; "/>
  278. <group id="grup_left" style="left:0px; top:24px; width:342px; height:912px; ">
  279. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:4px; width:340px; height:120px; background-color:#fffbf2; border-color:#ffd799; "/>
  280. <button id="button3" class="btn1_letter2" navindex="9" style="left:281px; top:27px; width:56px; height:22px; ">
  281. <caption>조회</caption>
  282. <script type="javascript" ev:event="DOMActivate">
  283. <![CDATA[
  284. fGetPatOrddept();
  285. fGetPatOrdHist(null);
  286. ]]>
  287. </script>
  288. </button>
  289. <input id="ipt_rrgstno1" ref="/root/main/patinfo/patinfolist/rrgstno1" class="input_s_essential" navindex="4" autonext="false" format="999999" style="left:75px; top:28px; width:43px; height:19px; ">
  290. <script type="javascript" ev:event="onkeypress">
  291. <![CDATA[
  292. //fRgstnoKeyPress();
  293. ]]>
  294. </script>
  295. </input>
  296. <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" class="input_s_essential" navindex="1" autonext="false" maxlength="10" style="left:75px; top:7px; width:78px; height:19px; ">
  297. <script type="javascript" ev:event="onkeypress">
  298. <![CDATA[
  299. if(event.keyCode == "13") {
  300. var chkPidRtn = fPidKeyPress();
  301. if (chkPidRtn)
  302. {
  303. fGetPatOrddept();
  304. fGetPatOrdHist(null);
  305. }
  306. }
  307. ]]>
  308. </script>
  309. </input>
  310. <caption id="caption21" class="search_name" style="left:3px; top:8px; width:77px; height:17px; text-align:left; padding-left:17px; ">등록번호</caption>
  311. <caption id="caption23" class="search_name" style="left:163px; top:8px; width:60px; height:17px; text-align:left; padding-left:17px; ">성명</caption>
  312. <caption id="caption57" style="left:165px; top:29px; width:64px; height:17px; font-weight:bold; text-align:left; ">성별/나이</caption>
  313. <input id="ipt_hngnm" ref="/root/main/patinfo/patinfolist/hngnm" class="input_s_essential" navindex="2" autonext="false" imemode="hangul" style="left:209px; top:7px; width:105px; height:19px; ">
  314. <script type="javascript" ev:event="onkeypress">
  315. <![CDATA[
  316. fPnmKeyPress();
  317. ]]>
  318. </script>
  319. </input>
  320. <caption id="caption35" class="search_name" style="left:3px; top:29px; width:77px; height:17px; text-align:left; padding-left:17px; ">주민번호</caption>
  321. <output id="opt_age" ref="/root/main/patinfo/agesex" class="output_fix" style="left:227px; top:28px; width:51px; height:19px; padding-left:5px; "/>
  322. <button id="btn_search" class="icon_search" navindex="3" style="left:318px; top:9px; width:16px; height:16px; ">
  323. <caption/>
  324. <script type="javascript" ev:event="DOMActivate">
  325. <![CDATA[
  326. fPopPtinfo();
  327. ]]>
  328. </script>
  329. </button>
  330. <secret id="ipt_rrgstno2" ref="/root/main/patinfo/patinfolist/rrgstno2" class="input_s_essential" navindex="5" format="9999999" autonext="false" style="left:119px; top:28px; width:34px; height:19px; ">
  331. <script type="javascript" ev:event="onkeypress">
  332. <![CDATA[
  333. //fRgstno2KeyPress();
  334. ]]>
  335. </script>
  336. <script type="javascript" ev:event="DOMFocusIn">
  337. <![CDATA[
  338. fInitControl_Local("ipt_rrgstno2");
  339. ipt_rrgstno2.attribute("width") = 70;
  340. ]]>
  341. </script>
  342. <script type="javascript" ev:event="DOMFocusOut">
  343. <![CDATA[
  344. ipt_rrgstno2.attribute("width") = ipt_rrgstno2.attribute("orgwidth");
  345. ]]>
  346. </script>
  347. </secret>
  348. <caption id="caption4" class="search_name" style="left:3px; top:50px; width:77px; height:17px; text-align:left; padding-left:17px; ">진료과</caption>
  349. <datagrid id="grd_tool_dept" nodeset="/root/main/patmedidept/list" scroll="autohscroll" colsep="^" colwidth="40" dataheight="15" defaultrows="0" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" orgheight="48" style="left:5px; top:67px; width:330px; height:33px; ">
  350. <col ref="deptcd0" visibility="hidden" style="text-align:center; "/>
  351. <script type="javascript" ev:event="onclick">
  352. <![CDATA[
  353. if(grd_tool_dept.isCell(event.target)) {
  354. var select_deptnm = grd_tool_dept.valueMatrix(grd_tool_dept.row, grd_tool_dept.col);
  355. var select_deptcd = grd_tool_dept.valueMatrix(grd_tool_dept.row, (grd_tool_dept.col-1));
  356. fAddPatMediDept_Local(select_deptnm,select_deptcd);
  357. }
  358. ]]>
  359. </script>
  360. <script type="javascript" ev:event="onmouseout">
  361. <![CDATA[
  362. // alert(event.currentTarget );
  363. // if (event.currentTarget == "grd_tool_dept" && event.target == "grd_tool_dept") {
  364. // grd_tool_dept.attribute("height") = 0;
  365. // grup_tool_dept.attribute("height") = grup_tool_dept_top.attribute("height");
  366. // }
  367. ]]>
  368. </script>
  369. </datagrid>
  370. <bool id="bool1" checkvalue="Y,N" ref="/root/temp/options/in_acpt_cncl" style="left:72px; top:50px; width:20px; height:20px; "/>
  371. <caption id="caption3" style="left:71px; top:52px; width:115px; height:14px; vertical-align:top; ">
  372. <![CDATA[ 취소된 접수 포함]]>
  373. <script type="javascript" ev:event="onclick">
  374. <![CDATA[
  375. if (model.getValue("/root/temp/options/in_acpt_cncl") == "Y")
  376. model.makeValue("/root/temp/options/in_acpt_cncl", "N");
  377. else
  378. model.makeValue("/root/temp/options/in_acpt_cncl", "Y");
  379. bool1.refresh();
  380. fInitControl_Local("grd_pathist");
  381. ]]>
  382. </script>
  383. </caption>
  384. <caption id="caption7" style="left:216px; top:52px; width:45px; height:13px; vertical-align:top; ">
  385. <![CDATA[선택>>]]>
  386. </caption>
  387. <output id="output1" ref="/root/main/patmedidept/selected/text" style="left:263px; top:52px; width:73px; height:19px; vertical-align:top; "/>
  388. <line id="line5" class="line_4" style="x1:5px; y1:49px; x2:330px; y2:49px; "/>
  389. <select1 id="cmb_index" ref="/root/init/tabflag" class="combo_default" appearance="minimal" style="left:75px; top:102px; width:260px; height:19px; ">
  390. <choices>
  391. <itemset nodeset="/root/initinfo/lrgIndx">
  392. <label ref="indxnm"/>
  393. <value ref="itemindxseq"/>
  394. </itemset>
  395. </choices>
  396. <script type="javascript" ev:event="xforms-value-changed">
  397. <![CDATA[
  398. fGetRecMidIndx();
  399. ]]>
  400. </script>
  401. </select1>
  402. <caption id="caption2" class="search_name" style="left:3px; top:102px; width:77px; height:17px; text-align:left; padding-left:17px; ">대분류</caption>
  403. <switch id="switch1" style="left:0px; top:150px; width:340px; height:740px; ">
  404. <case id="case1" selected="true" style="left:0px; top:0px; width:340px; height:740px; ">
  405. <group id="grup_chos" orgheight="73" style="left:0px; top:0px; width:340px; height:228px; ">
  406. <datagrid id="grd_pathist" nodeset="/root/main/pathist/patordhist" scroll="autovscroll" caption="구분^퇴(내)원일^입원일^진료과^센터^주치의^orddd^cretno^orddeptcd^ordtype^emrflag^bfopentest" colsep="^" colwidth="40, 70, 70, 45, 35, 62, 10, 10, 10, 10, 10, 10" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:32px; width:340px; height:196px; ">
  407. <col ref="ioflag" style="text-align:center; "/>
  408. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  409. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  410. <col ref="orddeptnm" style="text-align:center; "/>
  411. <col ref="centcd" style="text-align:center; "/>
  412. <col ref="orddrnm" style="text-align:center; "/>
  413. <col ref="orddd" visibility="hidden"/>
  414. <col ref="cretno" visibility="hidden"/>
  415. <col ref="orddeptcd" visibility="hidden"/>
  416. <col ref="ordtype" visibility="hidden"/>
  417. <col ref="emrflag" visibility="hidden"/>
  418. <col ref="bfopentest" visibility="hidden"/>
  419. <col ref="acpthiststat" visibility="hidden"/>
  420. <script type="javascript" ev:event="ondblclick">
  421. <![CDATA[
  422. fGetRecMidIndx();
  423. var ctrl = document.controls("grd_midindx");
  424. if (ctrl != null)
  425. {
  426. model.setFocus(ctrl.attribute("id"));
  427. ctrl.dispatch("onkeyup");
  428. }
  429. ]]>
  430. </script>
  431. <script type="javascript" ev:event="onkeydown">
  432. <![CDATA[
  433. event.preventDefault();
  434. ]]>
  435. </script>
  436. <script type="javascript" ev:event="onaftersort">
  437. <![CDATA[
  438. grd_pathist.gridToInstance();
  439. ]]>
  440. </script>
  441. </datagrid>
  442. <button id="btn_tab_chos_in" class="btn_sw" navindex="10" group="tab_chos" style="left:247px; top:6px; width:46px; height:22px; ">
  443. <caption>입원</caption>
  444. <toggle case="case1" ev:event="onclick"/>
  445. <script type="javascript" ev:event="DOMActivate">
  446. <![CDATA[
  447. fGetPatOrdHist("I");
  448. ]]>
  449. </script>
  450. </button>
  451. <button id="btn_tab_chos_out" class="btn_sw" navindex="10" group="tab_chos" style="left:201px; top:6px; width:46px; height:22px; ">
  452. <caption>외래</caption>
  453. <toggle case="case1" ev:event="onclick"/>
  454. <script type="javascript" ev:event="DOMActivate">
  455. <![CDATA[
  456. fGetPatOrdHist("O");
  457. ]]>
  458. </script>
  459. </button>
  460. <button id="btn_tab_chos_all" class="btn_sw" navindex="10" group="tab_chos" selected="true" style="left:155px; top:6px; width:46px; height:22px; ">
  461. <caption>전체</caption>
  462. <toggle case="case1" ev:event="onclick"/>
  463. <script type="javascript" ev:event="DOMActivate">
  464. <![CDATA[
  465. fGetPatOrdHist("ALL");
  466. ]]>
  467. </script>
  468. </button>
  469. <button id="btn_tab_chos_er" class="btn_sw" navindex="10" group="tab_chos" style="left:293px; top:6px; width:46px; height:22px; ">
  470. <caption>응급</caption>
  471. <toggle case="case1" ev:event="onclick"/>
  472. <script type="javascript" ev:event="DOMActivate">
  473. <![CDATA[
  474. fGetPatOrdHist("E");
  475. ]]>
  476. </script>
  477. </button>
  478. <caption id="caption5" class="tit_2" style="left:5px; top:12px; width:80px; height:13px; ">수진이력</caption>
  479. <line id="line6" class="line_1" style="x1:0px; y1:27px; x2:340px; y2:27px; "/>
  480. </group>
  481. <group id="grup_form" orgheight="73" style="left:0px; top:230px; width:340px; height:491px; ">
  482. <datagrid id="grd_midindx" nodeset="/root/main/midindx/midindxlist" scroll="autovscroll" autoresize="true" caption="lisflag^reckind^emrflag^정렬순번^상위아이템코드^아이템코드^중분류^서식" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 140, 200, 0" extendlastcol="scroll" mergecells="byrestriccol" rowsep="|" selectionmode="free" style="left:0px; top:32px; width:340px; height:457px; ">
  483. <col ref="lisflag" visibility="hidden"/>
  484. <col ref="reckind" visibility="hidden"/>
  485. <col ref="emrflag" visibility="hidden"/>
  486. <col ref="sortno" visibility="hidden"/>
  487. <col ref="supitemindxseq" visibility="hidden"/>
  488. <col ref="itemindxseq" visibility="hidden"/>
  489. <col ref="indxnm"/>
  490. <col ref="formnm"/>
  491. <col ref="cnt" visibility="hidden" style="text-align:center; "/>
  492. <script type="javascript" ev:event="ondblclick">
  493. <![CDATA[
  494. fDbClickMidIndx(grd_midindx.col);
  495. ]]>
  496. </script>
  497. <script type="javascript" ev:event="onmousedown">
  498. <![CDATA[
  499. //fMidindxMouseRight();
  500. ]]>
  501. </script>
  502. <script type="javascript" ev:event="onkeydown">
  503. <![CDATA[
  504. //event.preventDefault();
  505. ]]>
  506. </script>
  507. <script type="javascript" ev:event="DOMFocusOut">
  508. <![CDATA[
  509. //window.setPopupMenu(false);
  510. ]]>
  511. </script>
  512. </datagrid>
  513. <button id="btn_tab_catagory" class="btn_sw" navindex="10" group="tab_form" selected="true" style="left:0px; top:6px; width:77px; height:22px; ">
  514. <caption>서식분류</caption>
  515. <toggle case="case1" ev:event="onclick"/>
  516. <script type="javascript" ev:event="DOMActivate">
  517. <![CDATA[
  518. fOnClickTab_Local();
  519. ]]>
  520. </script>
  521. </button>
  522. <button id="btn_tab_favorite" class="btn_sw" navindex="10" group="tab_form" style="left:77px; top:6px; width:77px; height:22px; ">
  523. <caption>즐겨찾기</caption>
  524. <toggle case="case1" ev:event="onclick"/>
  525. <script type="javascript" ev:event="DOMActivate">
  526. <![CDATA[
  527. fOnClickTab_Local();
  528. ]]>
  529. </script>
  530. </button>
  531. <line id="line7" class="line_1" style="x1:0px; y1:27px; x2:340px; y2:27px; "/>
  532. <treeview id="trv_favorite" visibility="hidden" expanddepth="0" itemsettype="depth" style="left:210px; top:100px; width:105px; height:195px; ">
  533. <itemset nodeset="/root/main/favorite/list">
  534. <label ref="labl"/>
  535. <value ref="seqcd"/>
  536. <image ref="imge"/>
  537. <depth ref="levl"/>
  538. </itemset>
  539. </treeview>
  540. </group>
  541. </case>
  542. <case id="case2" style="left:0px; top:0px; width:340px; height:740px; ">
  543. <line id="line2" class="line_1" style="x1:0px; y1:27px; x2:340px; y2:27px; "/>
  544. <datagrid id="grd_chart_midindx" nodeset="/root/main/chartmidindx/chartmidindxlist" scroll="autovscroll" autoresize="true" caption="lisflag^reckind^emrflag^정렬순번^상위아이템코드^아이템코드^중분류^서식" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 140, 200, 0" extendlastcol="scroll" mergecells="byrestriccol" rowsep="|" selectionmode="free" style="left:0px; top:32px; width:340px; height:459px; ">
  545. <col ref="lisflag" visibility="hidden"/>
  546. <col ref="reckind" visibility="hidden"/>
  547. <col ref="emrflag" visibility="hidden"/>
  548. <col ref="sortno" visibility="hidden"/>
  549. <col ref="supitemindxseq" visibility="hidden"/>
  550. <col ref="itemindxseq" visibility="hidden"/>
  551. <col ref="indxnm"/>
  552. <col ref="formnm"/>
  553. <script type="javascript" ev:event="ondblclick">
  554. <![CDATA[
  555. fGetChartPatOrdHist(null);
  556. ]]>
  557. </script>
  558. <script type="javascript" ev:event="onmousedown">
  559. <![CDATA[
  560. //fMidindxMouseRight();
  561. ]]>
  562. </script>
  563. <script type="javascript" ev:event="onkeydown">
  564. <![CDATA[
  565. //event.preventDefault();
  566. ]]>
  567. </script>
  568. <script type="javascript" ev:event="DOMFocusOut">
  569. <![CDATA[
  570. //window.setPopupMenu(false);
  571. ]]>
  572. </script>
  573. </datagrid>
  574. <group id="group3" orgheight="73" style="left:0px; top:492px; width:340px; height:228px; ">
  575. <datagrid id="grd_chart_pathist" nodeset="/root/main/chartpathist/chartpatordhist" scroll="autovscroll" caption="구분^퇴(내)원일^입원일^진료과^센터^주치의^orddd^cretno^orddeptcd^ordtype^emrflag^bfopentest" colsep="^" colwidth="40, 70, 70, 45, 35, 62, 10, 10, 10, 10, 10, 10" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:32px; width:340px; height:195px; ">
  576. <col ref="ioflag" style="text-align:center; "/>
  577. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  578. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  579. <col ref="orddeptnm" style="text-align:center; "/>
  580. <col ref="centcd" style="text-align:center; "/>
  581. <col ref="orddrnm" style="text-align:center; "/>
  582. <col ref="orddd" visibility="hidden"/>
  583. <col ref="cretno" visibility="hidden"/>
  584. <col ref="orddeptcd" visibility="hidden"/>
  585. <col ref="ordtype" visibility="hidden"/>
  586. <col ref="emrflag" visibility="hidden"/>
  587. <col ref="bfopentest" visibility="hidden"/>
  588. <col ref="acpthiststat" visibility="hidden"/>
  589. <script type="javascript" ev:event="ondblclick">
  590. <![CDATA[
  591. fGetChartRecPatIndx();
  592. /*
  593. var ctrl = document.controls("grd_midindx");
  594. if (ctrl != null)
  595. {
  596. model.setFocus(ctrl.attribute("id"));
  597. ctrl.dispatch("onkeyup");
  598. }
  599. */
  600. ]]>
  601. </script>
  602. <script type="javascript" ev:event="onkeydown">
  603. <![CDATA[
  604. event.preventDefault();
  605. ]]>
  606. </script>
  607. <script type="javascript" ev:event="onaftersort">
  608. <![CDATA[
  609. grd_pathist.gridToInstance();
  610. ]]>
  611. </script>
  612. </datagrid>
  613. <button id="btn_tab2_chos_in" class="btn_sw" navindex="10" group="tab_chos" style="left:247px; top:6px; width:46px; height:22px; ">
  614. <caption>입원</caption>
  615. <toggle case="case2" ev:event="onclick"/>
  616. <script type="javascript" ev:event="DOMActivate">
  617. <![CDATA[
  618. fGetChartPatOrdHist("I");
  619. ]]>
  620. </script>
  621. </button>
  622. <button id="btn_tab2_chos_out" class="btn_sw" navindex="10" group="tab_chos" style="left:201px; top:6px; width:46px; height:22px; ">
  623. <caption>외래</caption>
  624. <toggle case="case2" ev:event="onclick"/>
  625. <script type="javascript" ev:event="DOMActivate">
  626. <![CDATA[
  627. fGetChartPatOrdHist("O");
  628. ]]>
  629. </script>
  630. </button>
  631. <button id="btn_tab2_chos_all" class="btn_sw" navindex="10" group="tab_chos" selected="true" style="left:155px; top:6px; width:46px; height:22px; ">
  632. <caption>전체</caption>
  633. <toggle case="case2" ev:event="onclick"/>
  634. <script type="javascript" ev:event="DOMActivate">
  635. <![CDATA[
  636. fGetChartPatOrdHist("ALL");
  637. ]]>
  638. </script>
  639. </button>
  640. <button id="btn_tab2_chos_er" class="btn_sw" navindex="10" group="tab_chos" style="left:293px; top:6px; width:46px; height:22px; ">
  641. <caption>응급</caption>
  642. <toggle case="case2" ev:event="onclick"/>
  643. <script type="javascript" ev:event="DOMActivate">
  644. <![CDATA[
  645. fGetChartPatOrdHist("E");
  646. ]]>
  647. </script>
  648. </button>
  649. <caption id="caption10" class="tit_2" style="left:5px; top:12px; width:80px; height:13px; ">수진이력</caption>
  650. <line id="line9" class="line_1" style="x1:0px; y1:27px; x2:340px; y2:27px; "/>
  651. </group>
  652. <caption id="caption11" class="tit_2" style="left:5px; top:12px; width:80px; height:14px; ">서식분류</caption>
  653. </case>
  654. <case id="case3" style="left:0px; top:0px; width:340px; height:740px; ">
  655. <treeview id="trv_bookmark" expanddepth="0" itemsettype="depth" style="left:0px; top:0px; width:340px; height:719px; ">
  656. <itemset nodeset="/root/main/bookmark/list">
  657. <label ref="labl"/>
  658. <value ref="seqcd"/>
  659. <image ref="imge"/>
  660. <depth ref="levl"/>
  661. </itemset>
  662. </treeview>
  663. </case>
  664. <case id="case4" style="left:0px; top:0px; width:340px; height:740px; ">
  665. <group id="grup_refdate" style="left:0px; top:5px; width:330px; height:35px; border-color:#c0c0c0; border-style:solid; ">
  666. <caption id="caption12" class="search_name" style="left:3px; top:6px; width:77px; height:17px; text-align:left; padding-left:17px; ">조회기간</caption>
  667. <input id="input4" ref="/root/main/cond/indd" class="input" inputtype="date" style="left:79px; top:5px; width:90px; height:19px; "/>
  668. <input id="input5" ref="/root/main/cond/indd" class="input" inputtype="date" style="left:174px; top:5px; width:90px; height:19px; "/>
  669. <button id="button5" class="btn1_letter2" navindex="9" style="left:269px; top:4px; width:56px; height:22px; ">
  670. <caption>조회</caption>
  671. <script type="javascript" ev:event="DOMActivate">
  672. <![CDATA[
  673. fGetPatOrddept();
  674. fGetPatOrdHist(null);
  675. ]]>
  676. </script>
  677. </button>
  678. </group>
  679. <caption id="caption1" class="tit_2" style="left:5px; top:47px; width:80px; height:13px; ">서식분류</caption>
  680. <line id="line1" class="line_1" style="x1:0px; y1:62px; x2:340px; y2:62px; "/>
  681. <datagrid id="datagrid1" nodeset="/root/main/midindx/midindxlist" scroll="autovscroll" autoresize="true" caption="lisflag^reckind^emrflag^정렬순번^상위아이템코드^아이템코드^중분류^서식" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 140, 200, 0" extendlastcol="scroll" mergecells="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:67px; width:340px; height:652px; ">
  682. <col ref="lisflag" visibility="hidden"/>
  683. <col ref="reckind" visibility="hidden"/>
  684. <col ref="emrflag" visibility="hidden"/>
  685. <col ref="sortno" visibility="hidden"/>
  686. <col ref="supitemindxseq" visibility="hidden"/>
  687. <col ref="itemindxseq" visibility="hidden"/>
  688. <col ref="indxnm"/>
  689. <col ref="formnm"/>
  690. <col ref="cnt" visibility="hidden" style="text-align:center; "/>
  691. <script type="javascript" ev:event="ondblclick">
  692. <![CDATA[
  693. //fDbClickMidIndx();
  694. ]]>
  695. </script>
  696. <script type="javascript" ev:event="onmousedown">
  697. <![CDATA[
  698. //fMidindxMouseRight();
  699. ]]>
  700. </script>
  701. <script type="javascript" ev:event="onkeydown">
  702. <![CDATA[
  703. //event.preventDefault();
  704. ]]>
  705. </script>
  706. <script type="javascript" ev:event="DOMFocusOut">
  707. <![CDATA[
  708. //window.setPopupMenu(false);
  709. ]]>
  710. </script>
  711. </datagrid>
  712. </case>
  713. </switch>
  714. <button id="btn_tab_formview" class="btn_sw" navindex="10" group="tab" style="left:87px; top:127px; width:87px; height:22px; ">
  715. <caption>서식별 보기</caption>
  716. <toggle case="case2" ev:event="onclick"/>
  717. <script type="javascript" ev:event="DOMActivate">
  718. <![CDATA[
  719. fGetChartRecMidIndx(null); // 서식별 보기 중분류 조회
  720. ]]>
  721. </script>
  722. </button>
  723. <button id="btn_tab_chosview" class="btn_sw" navindex="10" group="tab" selected="true" style="left:0px; top:127px; width:87px; height:22px; ">
  724. <caption>수진별 보기</caption>
  725. <toggle case="case1" ev:event="onclick"/>
  726. <script type="javascript" ev:event="DOMActivate">
  727. <![CDATA[
  728. fGetPatOrdHist(null);
  729. ]]>
  730. </script>
  731. </button>
  732. <button id="btn_tab_refdate" class="btn_sw" navindex="10" group="tab" style="left:235px; top:127px; width:76px; height:22px; ">
  733. <caption>일자 지정</caption>
  734. <toggle case="case4" ev:event="onclick"/>
  735. </button>
  736. <button id="btn_tab_bookmark" class="btn_sw" navindex="10" group="tab" style="left:174px; top:127px; width:61px; height:22px; ">
  737. <caption>북마크</caption>
  738. <toggle case="case3" ev:event="onclick"/>
  739. </button>
  740. <line id="line8" class="line_2" style="x1:0px; y1:150px; x2:340px; y2:150px; "/>
  741. <caption id="caption13" ref="/root/tmpinicert/iniinfo/totpage" visibility="visible" style="left:70px; top:890px; width:28px; height:15px; text-align:left; "/>
  742. <caption id="caption14" visibility="visible" style="left:55px; top:890px; width:15px; height:15px; font-weight:bold; text-align:center; ">/</caption>
  743. <caption id="caption15" style="left:160px; top:889px; width:55px; height:20px; ">page/cnt</caption>
  744. <input id="input3" ref="/root/init/pagepercnt" style="left:230px; top:889px; width:40px; height:19px; "/>
  745. <caption id="caption9" ref="/root/init/pageindex" visibility="visible" style="left:30px; top:890px; width:28px; height:15px; "/>
  746. <button id="button13" class="icon_next_month" visibility="visible" style="left:135px; top:890px; width:16px; height:16px; ">
  747. <caption/>
  748. <script type="javascript" ev:event="DOMActivate">
  749. <![CDATA[
  750. goNext("next");
  751. ]]>
  752. </script>
  753. </button>
  754. </group>
  755. <group id="grup_right" style="left:345px; top:24px; width:906px; height:912px; ">
  756. <iviewer id="iviewerIemr" visibility="visible" src="../../../emr/imgemrweb/xrw/SSMRC03150.xrw" style="left:2px; top:2px; width:902px; height:908px; border-style:none; "/>
  757. </group>
  758. <button id="btn_prnt" class="btn2_letter2" style="left:1140px; top:0px; width:42px; height:19px; ">
  759. <caption>출력</caption>
  760. <script type="javascript" ev:event="DOMActivate">
  761. <![CDATA[
  762. fClickPrint();
  763. ]]>
  764. </script>
  765. </button>
  766. <button id="btn_setbmk" class="btn2_letter9" style="left:884px; top:0px; width:119px; height:19px; ">
  767. <caption>환자정보변경 알림</caption>
  768. <script type="javascript" ev:event="DOMActivate">
  769. <![CDATA[
  770. ]]>
  771. </script>
  772. </button>
  773. <button id="btn_copyprt" class="btn2_letter4" style="left:1006px; top:0px; width:64px; height:19px; ">
  774. <caption>사본신청</caption>
  775. <script type="javascript" ev:event="DOMActivate">
  776. <![CDATA[
  777. fAppcopy();
  778. ]]>
  779. </script>
  780. </button>
  781. <button id="btn_unprep" class="btn2_letter4" disabled="true" style="left:1185px; top:0px; width:64px; height:19px; ">
  782. <caption>미비확인</caption>
  783. <script type="javascript" ev:event="DOMActivate">
  784. <![CDATA[
  785. fOpenUnprep();
  786. ]]>
  787. </script>
  788. </button>
  789. <button id="button14" class="btn2_letter4" style="left:1073px; top:0px; width:64px; height:19px; ">
  790. <caption>조회이력</caption>
  791. <script type="javascript" ev:event="DOMActivate">
  792. <![CDATA[
  793. var parampid = ipt_pid.value;
  794. if(parampid == "")
  795. {
  796. messageBox("환자번호는", "I003");
  797. }
  798. else
  799. {
  800. setParameter("SMMRI00900_param",parampid);
  801. open("SMMRI00900");
  802. }
  803. ]]>
  804. </script>
  805. </button>
  806. <iviewer id="iviewerIemrprt" visibility="hidden" src="../../../emr/imgemrweb/xrw/SSMRC03150.xrw" style="left:405px; top:40px; width:790px; height:850px; font-size:12pxpt; border-style:none; "/>
  807. </xhtml:body>
  808. </xhtml:html>