SMMRI04000_통합기록조회.xrw 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891
  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. <result>
  63. <patinfo>
  64. <list/>
  65. </patinfo>
  66. <paminfo>
  67. <list/>
  68. </paminfo>
  69. </result>
  70. <popupendflag/>
  71. <pathist>
  72. <patordhist/>
  73. </pathist>
  74. <midindx>
  75. <midindxlist/>
  76. </midindx>
  77. <treeview>
  78. <item>
  79. <level/>
  80. <itemno/>
  81. <supitemno/>
  82. <itemnm/>
  83. <linkflag/>
  84. <pid/>
  85. <recpath/>
  86. <image/>
  87. </item>
  88. </treeview>
  89. <cond>
  90. <bmkall/>
  91. </cond>
  92. <interface/>
  93. </main>
  94. <send>
  95. <interqestcd/>
  96. </send>
  97. <source>
  98. <srchcond/>
  99. <pid/>
  100. <hngnm/>
  101. <rrgstno1/>
  102. <rrgstno2/>
  103. <autoflag/>
  104. </source>
  105. <init>
  106. <orddept/>
  107. <tabflag/>
  108. <pathist/>
  109. <ioflag/>
  110. <itemindxseq/>
  111. <reccurpos/>
  112. <recall>N</recall>
  113. <totcnt/>
  114. <emrflag/>
  115. <accresn/>
  116. <endcnt/>
  117. <prtresn/>
  118. <midreccnt/>
  119. <pidynhcd/>
  120. <bmkuseyn/>
  121. <bmkrght>
  122. <mouserght>
  123. <label>폴더관리</label>
  124. <func>fModiFolder</func>
  125. </mouserght>
  126. </bmkrght>
  127. <bfopentest/>
  128. </init>
  129. <imgrec>
  130. <iemr>
  131. <treatno/>
  132. <pid/>
  133. <orddeptcd/>
  134. <indd/>
  135. <docucd/>
  136. <ioflag/>
  137. <cmc_cretno/>
  138. <cmc_spcid/>
  139. <cmc_orddate/>
  140. <cmc_orderseqno/>
  141. </iemr>
  142. </imgrec>
  143. <tmpinicert/>
  144. <inisend/>
  145. <copysend/>
  146. <tmpcopyinfo/>
  147. <initinfo>
  148. <dplist/>
  149. <lrgIndx/>
  150. </initinfo>
  151. <prtcnt/>
  152. <midmsrght>
  153. <mouserght>
  154. <!--label>회신처리</label>
  155. <func>fSetRepl</func-->
  156. </mouserght>
  157. <mouserght>
  158. <label>분류출력</label>
  159. <func>fMidPrint</func>
  160. </mouserght>
  161. </midmsrght>
  162. <hardcd/>
  163. <tmp>
  164. <recinfos/>
  165. <imgrec>
  166. <iemr>
  167. <treatno/>
  168. <pid/>
  169. <orddeptcd/>
  170. <indd/>
  171. <docucd/>
  172. <ioflag/>
  173. <cmc_cretno/>
  174. <cmc_spcid/>
  175. <cmc_orddate/>
  176. <cmc_orderseqno/>
  177. </iemr>
  178. </imgrec>
  179. <chkitem>
  180. <itemno/>
  181. </chkitem>
  182. <wheelmsg/>
  183. <prcprec>
  184. <srchInterval/>
  185. <srchFromdd/>
  186. <srchTodd/>
  187. <srchYn/>
  188. <srchchoice/>
  189. <srchkind/>
  190. </prcprec>
  191. <littleindx>
  192. <littleindxlist>
  193. <formnm/>
  194. <srcformcd/>
  195. <sortno/>
  196. </littleindxlist>
  197. </littleindx>
  198. <chklittleindx/>
  199. <sndprcprec>
  200. <srchprcpinterval/>
  201. <srchprcpfromdd/>
  202. <srchprcptodd/>
  203. <srchprcpchoice/>
  204. </sndprcprec>
  205. </tmp>
  206. </root>
  207. </instance>
  208. <script type="javascript" ev:event="xforms-ready">
  209. <![CDATA[
  210. makeReportPreview("100", "100", "500", "500", "grp_report");
  211. fInitalize();
  212. ]]>
  213. </script>
  214. <script type="javascript" ev:event="xforms-model-destruct">
  215. <![CDATA[
  216. /*
  217. var wndobj = getOpenWindow(oprnerId);
  218. if (wndobj != null){
  219. oprnerId = opener.window.javascript.getScreenID();
  220. if(oprnerId == "SPMRC03200")
  221. {
  222. var wndobj = getOpenWindow("SPMRC03200");
  223. wndobj.window.javascript.fCopyInfoClose();
  224. }else if(oprnerId == "SMMRC01100"){//2008-09-21 이창록 수정
  225. var wndobj_MRC = getOpenWindow("SPMRC03200");
  226. if(wndobj_MRC!=null){
  227. wndobj_MRC.window.close();
  228. }
  229. }
  230. }
  231. */
  232. //model.makeValue("/root/send/endrec/pid", "0");
  233. //submit("TRMRI03005");
  234. //fExistFolder("C:/Certrec");
  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="TRMRI00407" 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="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  243. <submission id="TRMRI01500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bmkpara" resultref="/root/main/treeview/item"/>
  244. <submission id="TRMRI00408" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bookmark" resultref="/root/tmp/recinfos/recinfo"/>
  245. <submission id="TRMRI00409" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/selpid" resultref="/root/tmp/chkitem/itemno"/>
  246. <submission id="TRMMB01104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/interface"/>
  247. <submission id="TRMRI04004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmpinicert"/>
  248. <submission id="TRMRI04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/initinfo"/>
  249. <submission id="TRMRI04002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/pathist/patordhist"/>
  250. <submission id="TRMRI04003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/midindx/midindxlist"/>
  251. <submission id="TRMRI04005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/endrec/pid" resultref="/root/endcnt"/>
  252. <submission id="TXMRI04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/prtcnt"/>
  253. <submission id="TRMRI04006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hardcd"/>
  254. <submission id="TRMRI04007" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" resultref="root/tmp/littleindx"/>
  255. </model>
  256. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  257. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  258. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  259. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  260. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  261. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  262. <script type="javascript" src="../../../emr/recmngtweb/js/SMMRI04000.js"/>
  263. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  264. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMB01100.js"/>
  265. </xhtml:head>
  266. <xhtml:body pagewidth="1280" pageheight="943" guideline="2,980;2,101;" style="margin-left:8; margin-right:8; ">
  267. <select1 id="rdo_lindx" ref="/root/init/tabflag" appearance="full" cellspacing="7" cols="10" overflow="visible" style="left:245px; top:0px; width:690px; height:19px; text-align:center; border-style:none; ">
  268. <choices>
  269. <itemset nodeset="/root/initinfo/lrgIndx">
  270. <label ref="indxnm"/>
  271. <value ref="itemindxseq"/>
  272. </itemset>
  273. </choices>
  274. <script type="javascript" ev:event="xforms-value-changed">
  275. <![CDATA[
  276. fGetRecMidIndx();
  277. ]]>
  278. </script>
  279. </select1>
  280. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">통합기록조회</caption>
  281. <line id="line17" class="line_1" style="x1:0px; y1:20px; x2:1240px; y2:20px; "/>
  282. <group id="grup_left" style="left:0px; top:24px; width:340px; height:912px; ">
  283. <line id="line1" class="line_2" style="x1:340px; y1:0px; x2:340px; y2:755px; "/>
  284. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:340px; height:79px; background-color:#fffbf2; border-color:#ffd799; "/>
  285. <button id="button3" class="btn1_letter2" navindex="9" style="left:280px; top:55px; width:56px; height:22px; ">
  286. <caption>조회</caption>
  287. <script type="javascript" ev:event="DOMActivate">
  288. <![CDATA[
  289. fGetPatOrddept();
  290. fGetPatOrdHist(null);
  291. ]]>
  292. </script>
  293. </button>
  294. <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:70px; height:19px; ">
  295. <script type="javascript" ev:event="onkeypress">
  296. <![CDATA[
  297. fRgstnoKeyPress();
  298. ]]>
  299. </script>
  300. </input>
  301. <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" class="input_s_essential" navindex="1" autonext="false" maxlength="10" style="left:65px; top:7px; width:95px; height:19px; ">
  302. <script type="javascript" ev:event="onkeypress">
  303. <![CDATA[
  304. if(event.keyCode == "13") {
  305. var chkPidRtn = fPidKeyPress();
  306. if (chkPidRtn)
  307. {
  308. fGetPatOrddept();
  309. fGetPatOrdHist(null);
  310. }
  311. }
  312. ]]>
  313. </script>
  314. </input>
  315. <caption id="caption21" class="cell_1" style="left:3px; top:5px; width:60px; height:23px; text-align:center; ">등록번호</caption>
  316. <caption id="caption23" class="cell_1" style="left:165px; top:5px; width:60px; height:23px; text-align:center; ">성명</caption>
  317. <caption id="caption57" class="cell_1" style="left:213px; top:30px; width:61px; height:23px; text-align:center; ">성별/나이</caption>
  318. <input id="ipt_hngnm" ref="/root/main/patinfo/patinfolist/hngnm" class="input_s_essential" navindex="2" autonext="false" imemode="hangul" style="left:227px; top:8px; width:80px; height:19px; ">
  319. <script type="javascript" ev:event="onkeypress">
  320. <![CDATA[
  321. fPnmKeyPress();
  322. ]]>
  323. </script>
  324. </input>
  325. <caption id="caption35" class="cell_1" style="left:3px; top:30px; width:60px; height:23px; text-align:center; ">주민번호</caption>
  326. <output id="opt_age" ref="/root/main/patinfo/agesex" class="output_fix" style="left:276px; top:30px; width:58px; height:19px; "/>
  327. <button id="btn_search" class="icon_search" navindex="3" style="left:315px; top:7px; width:16px; height:16px; ">
  328. <caption/>
  329. <script type="javascript" ev:event="DOMActivate">
  330. <![CDATA[
  331. fPopPtinfo();
  332. ]]>
  333. </script>
  334. </button>
  335. <button id="btn_all" class="btn_sw" navindex="10" group="tab" selected="true" style="left:152px; top:90px; width:47px; height:22px; ">
  336. <caption>전체</caption>
  337. <toggle case="case1" ev:event="onclick"/>
  338. <script type="javascript" ev:event="DOMActivate">
  339. <![CDATA[
  340. fGetPatOrdHist("ALL");
  341. ]]>
  342. </script>
  343. </button>
  344. <caption id="caption2" class="tit_2" style="left:0px; top:98px; width:80px; height:13px; ">수진이력</caption>
  345. <button id="btn_out" class="btn_sw" navindex="10" group="tab" style="left:198px; top:90px; width:47px; height:22px; ">
  346. <caption>외래</caption>
  347. <toggle case="case1" ev:event="onclick"/>
  348. <script type="javascript" ev:event="DOMActivate">
  349. <![CDATA[
  350. fGetPatOrdHist("O");
  351. ]]>
  352. </script>
  353. </button>
  354. <button id="btn_in" class="btn_sw" navindex="10" group="tab" style="left:244px; top:90px; width:47px; height:22px; ">
  355. <caption>입원</caption>
  356. <toggle case="case1" ev:event="onclick"/>
  357. <script type="javascript" ev:event="DOMActivate">
  358. <![CDATA[
  359. fGetPatOrdHist("I");
  360. ]]>
  361. </script>
  362. </button>
  363. <button id="btn_er" class="btn_sw" navindex="10" group="tab" style="left:290px; top:90px; width:47px; height:22px; ">
  364. <caption>응급</caption>
  365. <toggle case="case1" ev:event="onclick"/>
  366. <script type="javascript" ev:event="DOMActivate">
  367. <![CDATA[
  368. fGetPatOrdHist("E");
  369. ]]>
  370. </script>
  371. </button>
  372. <select1 id="cmb_dept" ref="/root/init/orddept" class="combo_default" disabled="false" navindex="8" appearance="minimal" style="left:65px; top:57px; width:205px; height:19px; ">
  373. <choices>
  374. <itemset nodeset="/root/initinfo/dplist">
  375. <label ref="deptnm"/>
  376. <value ref="deptcd"/>
  377. </itemset>
  378. </choices>
  379. <script type="javascript" ev:event="onkeydown">
  380. <![CDATA[
  381. event.preventDefault();
  382. ]]>
  383. </script>
  384. <script type="javascript" ev:event="xforms-value-changed">
  385. <![CDATA[
  386. fGetPatOrdHist(null);
  387. ]]>
  388. </script>
  389. </select1>
  390. <caption id="caption5" class="cell_1" style="left:3px; top:55px; width:60px; height:23px; text-align:center; ">진료부서</caption>
  391. <switch id="switch1" style="left:0px; top:112px; width:340px; height:797px; ">
  392. <case id="grd" selected="true">
  393. <button id="button1" visibility="hidden" style="left:89px; top:342px; width:20px; height:15px; text-align:center; ">
  394. <caption>
  395. <![CDATA[<<]]>
  396. </caption>
  397. <script type="javascript" ev:event="DOMActivate">
  398. <![CDATA[
  399. fGetRec("first");
  400. ]]>
  401. </script>
  402. </button>
  403. <button id="button2" visibility="hidden" style="left:104px; top:342px; width:20px; height:15px; text-align:center; ">
  404. <caption>
  405. <![CDATA[<]]>
  406. </caption>
  407. <script type="javascript" ev:event="DOMActivate">
  408. <![CDATA[
  409. fGetRec("midfirst");
  410. ]]>
  411. </script>
  412. </button>
  413. <datagrid id="grd_midindx" nodeset="/root/main/midindx/midindxlist" autoresize="true" caption="lisflag^reckind^emrflag^정렬순번^상위아이템코드^아이템코드^중분류명^중분류명" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 240, 30" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:357px; width:338px; height:437px; ">
  414. <col ref="lisflag" visibility="hidden"/>
  415. <col ref="reckind" visibility="hidden"/>
  416. <col ref="emrflag" visibility="hidden"/>
  417. <col ref="sortno" visibility="hidden"/>
  418. <col ref="supitemindxseq" visibility="hidden"/>
  419. <col ref="itemindxseq" visibility="hidden"/>
  420. <col ref="indxnm"/>
  421. <col ref="cnt" visibility="hidden" style="text-align:center; "/>
  422. <script type="javascript" ev:event="ondblclick">
  423. <![CDATA[
  424. if((grd_midindx.isCell(event.target) && grd_midindx.mouserow >= grd_midindx.fixedrows))
  425. {
  426. var supitemindxseq = grd_midindx.valueMatrix(grd_midindx.row, grd_midindx.colref("supitemindxseq"));
  427. var reckind = grd_midindx.valueMatrix(grd_midindx.row, grd_midindx.colref("reckind"));
  428. if(model.getValue("/root/tmp/chklittleindx") == "Y"){ //(검사파트 및 의사지시기록은 소분류 조회제외)
  429. if(supitemindxseq == "5162" || reckind == "PRCP"){
  430. model.makeValue("/root/tmp/chklittleindx", "");
  431. chk_littleindxYn.refresh();
  432. }
  433. }
  434. if(model.getValue("/root/tmp/chklittleindx") == "Y"){ //체크박스체크시 소분류 조회
  435. fReqLittleIndx(1); //20091208-kys
  436. }else{
  437. fDbClickMidIndx();
  438. }
  439. }
  440. ]]>
  441. </script>
  442. <script type="javascript" ev:event="onmousedown">
  443. <![CDATA[
  444. fMidindxMouseRight();
  445. ]]>
  446. </script>
  447. <script type="javascript" ev:event="onkeydown">
  448. <![CDATA[
  449. event.preventDefault();
  450. ]]>
  451. </script>
  452. <script type="javascript" ev:event="DOMFocusOut">
  453. <![CDATA[
  454. window.setPopupMenu(false);
  455. ]]>
  456. </script>
  457. </datagrid>
  458. <button id="button4" visibility="hidden" style="left:119px; top:342px; width:20px; height:15px; text-align:center; ">
  459. <caption>
  460. <![CDATA[>]]>
  461. </caption>
  462. <script type="javascript" ev:event="DOMActivate">
  463. <![CDATA[
  464. fGetRec("midend");
  465. ]]>
  466. </script>
  467. </button>
  468. <caption id="lbl_totcnt" ref="/root/init/reccurpos" visibility="hidden" style="left:239px; top:341px; width:43px; height:15px; text-align:right; background-color:#ffff99; "/>
  469. <caption id="caption1" ref="/root/init/midreccnt" visibility="hidden" style="left:289px; top:341px; width:43px; height:15px; text-align:right; background-color:#ccffff; "/>
  470. <button id="button6" visibility="hidden" style="left:134px; top:342px; width:20px; height:15px; text-align:center; ">
  471. <caption>
  472. <![CDATA[>>]]>
  473. </caption>
  474. <script type="javascript" ev:event="DOMActivate">
  475. <![CDATA[
  476. fGetRec("end");
  477. ]]>
  478. </script>
  479. </button>
  480. <button id="button7" visibility="hidden" style="left:154px; top:342px; width:30px; height:15px; text-align:center; ">
  481. <caption>all</caption>
  482. <script type="javascript" ev:event="DOMActivate">
  483. <![CDATA[
  484. fGetRec("all");
  485. ]]>
  486. </script>
  487. </button>
  488. <datagrid id="grd_pathist" nodeset="/root/main/pathist/patordhist" caption="구분^퇴(내)원일^입원일^과^R^주치의^orddd^cretno^orddeptcd^ordtype^emrflag^bfopentest" colsep="^" colwidth="34, 70, 70, 39, 52, 60, 10, 10, 10, 10, 10, 10" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:338px; height:342px; ">
  489. <col ref="ioflag" style="text-align:center; "/>
  490. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  491. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  492. <col ref="orddeptnm" style="text-align:center; "/>
  493. <col ref="orddrnm" style="text-align:center; "/>
  494. <col ref="centcd" style="text-align:center; "/>
  495. <col ref="orddd" visibility="hidden"/>
  496. <col ref="cretno" visibility="hidden"/>
  497. <col ref="orddeptcd" visibility="hidden"/>
  498. <col ref="ordtype" visibility="hidden"/>
  499. <col ref="emrflag" visibility="hidden"/>
  500. <col ref="bfopentest" visibility="hidden"/>
  501. <script type="javascript" ev:event="ondblclick">
  502. <![CDATA[
  503. fGetRecMidIndx();
  504. var ctrl = document.controls("grd_midindx");
  505. if (ctrl != null)
  506. {
  507. model.setFocus(ctrl.attribute("id"));
  508. ctrl.dispatch("onkeyup");
  509. }
  510. ]]>
  511. </script>
  512. <script type="javascript" ev:event="onkeydown">
  513. <![CDATA[
  514. event.preventDefault();
  515. ]]>
  516. </script>
  517. <script type="javascript" ev:event="onaftersort">
  518. <![CDATA[
  519. grd_pathist.gridToInstance();
  520. ]]>
  521. </script>
  522. </datagrid>
  523. <caption id="caption3" class="tit_2" style="left:0px; top:344px; width:95px; height:13px; ">서식 분류</caption>
  524. <caption id="caption4" ref="/root/init/itemindxseq" visibility="hidden" style="left:164px; top:341px; width:60px; height:15px; text-align:right; background-color:#ccffcc; "/>
  525. <datagrid id="datagrid1" nodeset="/root/prthist" visibility="hidden" caption="caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11" colsep="^" colwidth="30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:600px; width:285px; height:155px; ">
  526. <col ref="pid"/>
  527. <col ref="orddd"/>
  528. <col ref="cretno"/>
  529. <col ref="chosflag"/>
  530. <col ref="signno"/>
  531. <col ref="formcd"/>
  532. <col ref="reckind"/>
  533. <col ref="userdeptcd"/>
  534. <col ref="readprtflag"/>
  535. <col ref="refusge"/>
  536. <col ref="refremark"/>
  537. </datagrid>
  538. <select id="chk_littleindxYn" ref="/root/tmp/chklittleindx" overflow="visible" appearance="full" style="left:225px; top:342px; width:88px; height:16px; border-style:none; ">
  539. <choices>
  540. <item>
  541. <label>조건검색</label>
  542. <value>Y</value>
  543. </item>
  544. </choices>
  545. </select>
  546. <group id="grup_prcppaging2" visibility="hidden" style="left:55px; top:635px; width:230px; height:135px; border-color:#adceff; border-width:2px; border-style:solid; ">
  547. <caption id="caption10" class="cell_1" style="left:12px; top:18px; width:85px; height:20px; font-weight:bold; text-align:center; ">조회방식</caption>
  548. <caption id="caption11" class="cell_1" style="left:12px; top:43px; width:85px; height:20px; font-weight:bold; text-align:center; ">조회간격(일)</caption>
  549. <caption id="caption12" style="left:108px; top:68px; width:15px; height:15px; ">~</caption>
  550. <select1 id="rdo_srchprcpchoice" ref="/root/tmp/sndprcprec/srchprcpchoice" appearance="full" cellspacing="6" cols="2" overflow="visible" style="left:107px; top:18px; width:100px; height:15px; border-style:none; ">
  551. <choices>
  552. <item>
  553. <label>간격</label>
  554. <value>1</value>
  555. </item>
  556. <item>
  557. <label>일자</label>
  558. <value>2</value>
  559. </item>
  560. </choices>
  561. <script type="javascript" ev:event="xforms-value-changed">
  562. <![CDATA[
  563. fSrchChoice("P");
  564. ]]>
  565. </script>
  566. </select1>
  567. <input id="ipt_srchprcpinterval" ref="/root/tmp/sndprcprec/srchprcpinterval" class="input_s_essential" maxlength="2" format="#,###" style="left:108px; top:43px; width:50px; height:19px; ">
  568. <script type="javascript" ev:event="onkeyup">
  569. <![CDATA[
  570. if(event.keyCode == 13) {
  571. setInputNodeCurText();
  572. fSrchMakeDd(2, "P");
  573. }
  574. ]]>
  575. </script>
  576. </input>
  577. <input id="ipt_srchprcpfromdd" ref="/root/tmp/sndprcprec/srchprcpfromdd" inputtype="date" style="left:13px; top:68px; width:90px; height:19px; "/>
  578. <input id="ipt_srchprcptodd" ref="/root/tmp/sndprcprec/srchprcptodd" inputtype="date" style="left:123px; top:67px; width:90px; height:19px; "/>
  579. <button id="btn_prcppre" class="btn2_before" style="left:68px; top:98px; width:42px; height:19px; ">
  580. <caption>이전</caption>
  581. <script type="javascript" ev:event="DOMActivate">
  582. <![CDATA[
  583. fSrchMakeDd(1, "P");
  584. ]]>
  585. </script>
  586. </button>
  587. <button id="btn_prcpnext" class="btn2_letter2" style="left:118px; top:98px; width:42px; height:19px; ">
  588. <caption>다음</caption>
  589. <script type="javascript" ev:event="DOMActivate">
  590. <![CDATA[
  591. fSrchMakeDd(2, "P"); //조회일자 만들기함수-kys
  592. ]]>
  593. </script>
  594. </button>
  595. <button id="btn_srchprcp" class="btn1_letter2" style="left:163px; top:42px; width:56px; height:22px; ">
  596. <caption>조회</caption>
  597. <script type="javascript" ev:event="DOMActivate">
  598. <![CDATA[
  599. fPrcpSrchDd();
  600. ]]>
  601. </script>
  602. </button>
  603. </group>
  604. <group id="grup_prcppaging" visibility="hidden" style="left:55px; top:410px; width:270px; height:310px; border-color:#adceff; border-width:2px; border-style:solid; ">
  605. <group id="grup_srchday" style="left:10px; top:35px; width:245px; height:125px; ">
  606. <caption id="caption7" class="cell_1" style="left:13px; top:43px; width:85px; height:17px; font-weight:bold; text-align:center; ">조회간격(일)</caption>
  607. <input id="ipt_srchinterval" ref="/root/tmp/prcprec/srchInterval" class="input_s_essential" maxlength="2" format="#,###" style="left:105px; top:42px; width:43px; height:19px; ">
  608. <script type="javascript" ev:event="onkeyup">
  609. <![CDATA[
  610. if(event.keyCode == 13) {
  611. setInputNodeCurText();
  612. fSrchMakeDd(2, "Y");
  613. }
  614. ]]>
  615. </script>
  616. </input>
  617. <button id="btn_intervalnext" class="btn2_letter2" style="left:110px; top:97px; width:42px; height:19px; ">
  618. <caption>다음</caption>
  619. <script type="javascript" ev:event="DOMActivate">
  620. <![CDATA[
  621. fSrchMakeDd(2, "Y"); //조회일자 만들기함수-kys
  622. ]]>
  623. </script>
  624. </button>
  625. <button id="btn_intervalpre" class="btn2_before" style="left:60px; top:97px; width:42px; height:19px; ">
  626. <caption>이전</caption>
  627. <script type="javascript" ev:event="DOMActivate">
  628. <![CDATA[
  629. fSrchMakeDd(1, "Y"); //조회일자 만들기 함수-kys
  630. ]]>
  631. </script>
  632. </button>
  633. <input id="ipt_fromdd" ref="/root/tmp/prcprec/srchFromdd" disabled="true" inputtype="date" appearance="input" style="left:8px; top:68px; width:90px; height:19px; "/>
  634. <input id="ipt_todd" ref="/root/tmp/prcprec/srchTodd" disabled="true" inputtype="date" style="left:118px; top:68px; width:90px; height:19px; "/>
  635. <caption id="caption8" style="left:102px; top:70px; width:20px; height:15px; ">~</caption>
  636. <caption id="caption9" class="cell_1" style="left:13px; top:13px; width:85px; height:17px; font-weight:bold; text-align:center; ">조회방식</caption>
  637. <select1 id="rdo_srchchoice" ref="/root/tmp/prcprec/srchchoice" appearance="full" cellspacing="6" cols="2" overflow="visible" style="left:108px; top:13px; width:110px; height:20px; border-style:none; ">
  638. <choices>
  639. <item>
  640. <label>간격</label>
  641. <value>1</value>
  642. </item>
  643. <item>
  644. <label>일자</label>
  645. <value>2</value>
  646. </item>
  647. </choices>
  648. <script type="javascript" ev:event="xforms-value-changed">
  649. <![CDATA[
  650. fSrchChoice("C");
  651. ]]>
  652. </script>
  653. </select1>
  654. <button id="btn_prcpsrch" class="btn1_letter2" style="left:157px; top:41px; width:56px; height:22px; ">
  655. <caption>조회</caption>
  656. <script type="javascript" ev:event="DOMActivate">
  657. <![CDATA[
  658. fReqLittleIndx();
  659. fDbClickMidIndx();
  660. ]]>
  661. </script>
  662. </button>
  663. </group>
  664. <group id="grup_srchchrt" style="left:10px; top:170px; width:245px; height:120px; ">
  665. <datagrid id="grd_littleindx" nodeset="/root/tmp/littleindx/littleindxlist" caption="소분류명^caption2^caption3" colsep="^" colwidth="223, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:5px; width:225px; height:110px; ">
  666. <col ref="formnm"/>
  667. <col ref="srcformcd" visibility="hidden"/>
  668. <col ref="sortno" visibility="hidden"/>
  669. <script type="javascript" ev:event="ondblclick">
  670. <![CDATA[
  671. fDbClickMidIndx();
  672. ]]>
  673. </script>
  674. </datagrid>
  675. </group>
  676. <select1 id="rdo_srchkind" ref="/root/tmp/prcprec/srchkind" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:33px; top:8px; width:200px; height:20px; border-style:none; ">
  677. <choices>
  678. <item>
  679. <label>일자별</label>
  680. <value>1</value>
  681. </item>
  682. <item>
  683. <label>서식별</label>
  684. <value>2</value>
  685. </item>
  686. <item>
  687. <label>일자+서식</label>
  688. <value>3</value>
  689. </item>
  690. </choices>
  691. <script type="javascript" ev:event="xforms-value-changed">
  692. <![CDATA[
  693. fChngkind();
  694. ]]>
  695. </script>
  696. </select1>
  697. <line id="line2" class="line_1" style="x1:3px; y1:29px; x2:263px; y2:29px; "/>
  698. </group>
  699. </case>
  700. <case id="trv">
  701. <treeview id="trv_bookmark" expanddepth="4" fullrowselect="true" itemsettype="depth" style="left:0px; top:0px; width:337px; height:794px; ">
  702. <itemset nodeset="/root/main/treeview/item">
  703. <label ref="itemnm"/>
  704. <value ref="itemno"/>
  705. <image ref="image"/>
  706. <depth ref="level"/>
  707. </itemset>
  708. <script type="javascript" ev:event="ondblclick">
  709. <![CDATA[
  710. fGetBookmarkItem();
  711. ]]>
  712. </script>
  713. <script type="javascript" ev:event="onmousedown">
  714. <![CDATA[
  715. if (event.button == 3) {
  716. setPopupMenu("trv_bookmark", false, "/root/init/bmkrght/mouserght", "label", "func");
  717. }
  718. ]]>
  719. </script>
  720. <script type="javascript" ev:event="DOMFocusOut">
  721. <![CDATA[
  722. window.setPopupMenu(false);
  723. ]]>
  724. </script>
  725. </treeview>
  726. <select id="chk_allbmk" ref="/root/main/cond/bmkall" visibility="hidden" overflow="visible" appearance="full" style="left:230px; top:765px; width:100px; height:20px; border-style:none; ">
  727. <choices>
  728. <item>
  729. <label>북마크 전체보기</label>
  730. <value>A</value>
  731. </item>
  732. </choices>
  733. <script type="javascript" ev:event="xforms-value-changed">
  734. <![CDATA[
  735. fGetTreeView();
  736. ]]>
  737. </script>
  738. </select>
  739. </case>
  740. </switch>
  741. <button id="btn_mark" class="btn_sw" navindex="10" visibility="hidden" group="tab" selected="false" style="left:91px; top:90px; width:61px; height:22px; color:transparent; background-color:transparent; ">
  742. <caption>북마크</caption>
  743. <toggle case="case1" ev:event="onclick"/>
  744. <script type="javascript" ev:event="DOMActivate">
  745. <![CDATA[
  746. model.toggle("trv");
  747. fGetTreeView();
  748. ]]>
  749. </script>
  750. </button>
  751. <secret id="ipt_rrgstno2" ref="/root/main/patinfo/patinfolist/rrgstno2" class="input_s_essential" navindex="5" format="9999999" autonext="false" style="left:140px; top:31px; width:70px; height:19px; ">
  752. <script type="javascript" ev:event="onkeypress">
  753. <![CDATA[
  754. fRgstno2KeyPress();
  755. ]]>
  756. </script>
  757. </secret>
  758. </group>
  759. <group id="grup_right" style="left:345px; top:24px; width:906px; height:912px; ">
  760. <iviewer id="iviewerIemr" visibility="visible" src="../../../emr/imgemrweb/xrw/SSMRC03130.xrw" style="left:2px; top:2px; width:902px; height:908px; border-style:none; "/>
  761. </group>
  762. <button id="btn_copyprt" class="btn2_letter4" visibility="hidden" style="left:996px; top:0px; width:64px; height:19px; ">
  763. <caption>사본신청</caption>
  764. <script type="javascript" ev:event="DOMActivate">
  765. <![CDATA[
  766. fAppcopy();
  767. ]]>
  768. </script>
  769. </button>
  770. <button id="button14" class="btn2_letter4" visibility="visible" style="left:1063px; top:0px; width:64px; height:19px; ">
  771. <caption>조회이력</caption>
  772. <script type="javascript" ev:event="DOMActivate">
  773. <![CDATA[
  774. var parampid = ipt_pid.value;
  775. if(parampid == "")
  776. {
  777. messageBox("환자번호는", "I003");
  778. }
  779. else
  780. {
  781. setParameter("SMMRI00900_param",parampid);
  782. open("SMMRI00900");
  783. }
  784. ]]>
  785. </script>
  786. </button>
  787. <!--object id="obj_cvrt" clsid="{341619d2-2ef9-4cac-a40e-b330c4c5f004}" style="left:580px; top:5px; width:15px; height:10px; "/-->
  788. <button id="btn_unprep" class="btn2_letter4" disabled="true" visibility="visible" style="left:1175px; top:0px; width:64px; height:19px; ">
  789. <caption>미비확인</caption>
  790. <script type="javascript" ev:event="DOMActivate">
  791. <![CDATA[
  792. fOpenUnprep();
  793. ]]>
  794. </script>
  795. </button>
  796. <button id="button5" class="btn2_letter2" visibility="visible" style="left:1130px; top:0px; width:42px; height:19px; ">
  797. <caption>출력</caption>
  798. <script type="javascript" ev:event="DOMActivate">
  799. <![CDATA[
  800. fClickPrint();
  801. ]]>
  802. </script>
  803. </button>
  804. <button id="btn_minmax" class="icon_left" style="left:101px; top:0px; width:26px; height:19px; ">
  805. <caption/>
  806. <script type="javascript" ev:event="DOMActivate">
  807. <![CDATA[
  808. fMaxMin();
  809. ]]>
  810. </script>
  811. <hint>
  812. <![CDATA[최대화]]>
  813. </hint>
  814. </button>
  815. <script type="javascript" ev:event="onkeydown">
  816. <![CDATA[
  817. if (event.keyCode == "33") //PageUp
  818. {
  819. //fGetRec("prev");
  820. iviewerIemr.window.javascript.fn_ChartPageScroll("PageUp");
  821. }
  822. else if (event.keyCode == "34") //PageDown
  823. {
  824. //fGetRec("next");
  825. iviewerIemr.window.javascript.fn_ChartPageScroll("PageDown");
  826. }
  827. else if (event.keyCode == "35") //End
  828. {
  829. if (event.ctrlKey)
  830. {
  831. fGetRec("end");
  832. }
  833. else
  834. {
  835. //fGetRec("midend");
  836. iviewerIemr.window.javascript.fn_ChartPageScroll("End");
  837. }
  838. }
  839. else if (event.keyCode == "36") //Home
  840. {
  841. if (event.ctrlKey)
  842. {
  843. fGetRec("first");
  844. }
  845. else
  846. {
  847. //fGetRec("midfirst");
  848. iviewerIemr.window.javascript.fn_ChartPageScroll("Home");
  849. }
  850. }
  851. else if (event.keyCode == "38") //↑
  852. {
  853. fUpKeyBtn();
  854. }
  855. else if (event.keyCode == "40") //↓
  856. {
  857. fDownKeyBtn();
  858. }
  859. ]]>
  860. </script>
  861. <iviewer id="iviewerIemrprt" visibility="hidden" src="../../../emr/imgemrweb/xrw/SSMRC03130.xrw" style="left:360px; top:30px; width:790px; height:850px; font-size:12pxpt; border-style:none; "/>
  862. <button id="button8" class="icon_left" visibility="hidden" style="left:165px; top:0px; width:26px; height:19px; ">
  863. <caption/>
  864. <script type="javascript" ev:event="DOMActivate">
  865. <![CDATA[
  866. setParameter("SPMRI02400_prtrecinfo", "E▦900000000515710▦0900005822▩");
  867. open("SPMRI02400");
  868. //setParameter("SPMMR05400_parm_formcd", "0900005393");
  869. //open("SPMMR05400");
  870. ]]>
  871. </script>
  872. <hint>
  873. <![CDATA[최대화]]>
  874. </hint>
  875. </button>
  876. <button id="btn_setbmk" class="btn2_letter5" visibility="hidden" style="left:918px; top:0px; width:75px; height:19px; ">
  877. <caption>북마크등록</caption>
  878. <script type="javascript" ev:event="DOMActivate">
  879. <![CDATA[
  880. //2009-10-18 강지훈 추가 : 북마크기능 요청번호 7815
  881. fSetBookmark();
  882. ]]>
  883. </script>
  884. </button>
  885. </xhtml:body>
  886. </xhtml:html>