SSMMR04800_진료요약기록.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  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. <smmlist/>
  11. <patinfo>
  12. <patinfolist>
  13. <pid/>
  14. <hngnm/>
  15. <engnm/>
  16. <chinm/>
  17. <rrgstno1/>
  18. <rrgstno2/>
  19. <brthdd/>
  20. <sex/>
  21. <age/>
  22. <bindpid/>
  23. <hometel/>
  24. <mpphontel/>
  25. <etctel1/>
  26. <etctel2/>
  27. <smsaprvyn/>
  28. <email/>
  29. <zipcd1/>
  30. <zipcd2/>
  31. <zipcdseq/>
  32. <addr/>
  33. <detladdr/>
  34. <btype/>
  35. <rh/>
  36. <forgeryn/>
  37. <nati/>
  38. <psptno/>
  39. <recmyn/>
  40. <recmerid/>
  41. <recmerrela/>
  42. <vipyn/>
  43. <viprem/>
  44. <religncd/>
  45. <baptnm/>
  46. <chchnm/>
  47. <dethyn/>
  48. <dethdt/>
  49. <chosresn/>
  50. <animyn/>
  51. <exptresncd/>
  52. <inhospyn/>
  53. <remfact/>
  54. <outuncoamt/>
  55. <dschuncoamt/>
  56. <fstrgstrid/>
  57. <fstrgstdt/>
  58. <lastupdtrid/>
  59. <lastupdtdt/>
  60. </patinfolist>
  61. <agesex/>
  62. </patinfo>
  63. </main>
  64. <send>
  65. <reqsmm/>
  66. <pid/>
  67. <getyn/>
  68. <srchcond/>
  69. <hngnm/>
  70. <title/>
  71. <reportid/>
  72. </send>
  73. <init>
  74. <smmmsrght>
  75. <mouserght>
  76. <label>상용구</label>
  77. <func>fPopCommUse</func>
  78. </mouserght>
  79. </smmmsrght>
  80. <validyn>Y</validyn>
  81. <schkind/>
  82. <reqmedireclist>
  83. <diffdt/>
  84. <recfromdt/>
  85. <rectodt/>
  86. </reqmedireclist>
  87. <allyn/>
  88. </init>
  89. <envinit>
  90. <srchcond/>
  91. <srchday/>
  92. </envinit>
  93. <temp>
  94. <pid/>
  95. <reqsmm/>
  96. <attach>
  97. <file/>
  98. </attach>
  99. <schkind/>
  100. <getyn/>
  101. <title/>
  102. <reportid/>
  103. <hngnm/>
  104. </temp>
  105. </root>
  106. </instance>
  107. <script type="javascript" ev:event="xforms-ready">
  108. <![CDATA[
  109. fInitalize();
  110. ]]>
  111. </script>
  112. <submission id="TXMMR04801" mediatype="multipart/form-data" method="form-data-post" ref="/root/temp" resultref="/root/main/smmlist"/>
  113. <submission id="TRMMR04800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/smmlist"/>
  114. <submission id="TRMMR04801" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/main/smmlist"/>
  115. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patinfo"/>
  116. <submission id="TRMMB01104" mediatype="application/x-www-form-urlencoded" method="post"/>
  117. <bind id="bind1" ref="/root/main/smmlist/smmcnts" readonly="../recdeptcd != /root/init/udeptcd and ../recdeptcd != &quot;&quot; or /root/init/validyn = &quot;D&quot;"/>
  118. <bind id="bind2" ref="/root/main/smmlist/smmdd" readonly="../recdeptcd != /root/init/udeptcd and ../recdeptcd != &quot;&quot;"/>
  119. <script type="javascript" ev:event="xforms-model-destruct">
  120. <![CDATA[
  121. fClose();
  122. ]]>
  123. </script>
  124. <bind id="bind3" ref="/root/main/smmlist/delyn" readonly="1=1"/>
  125. </model>
  126. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  127. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  128. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  129. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  130. <script type="javascript" src="../../../emr/medirecweb/js/MMR04800.js"/>
  131. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04100.js"/>
  132. </xhtml:head>
  133. <xhtml:body pagewidth="800" pageheight="745">
  134. <group id="grup_bottom" scroll="auto" style="left:0px; top:698px; width:800px; height:47px; border-color:#C8C8C8; border-style:none; ">
  135. <button id="btn_end" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:621px; top:4px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  136. <caption>종료</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. fEndRec();
  140. ]]>
  141. </script>
  142. </button>
  143. <button id="btn_del" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:680px; top:4px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  144. <caption>삭제</caption>
  145. <script type="javascript" ev:event="DOMActivate">
  146. <![CDATA[
  147. fDelRow();
  148. ]]>
  149. </script>
  150. </button>
  151. <button id="btn_save" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:739px; top:4px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  152. <caption>저장</caption>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. fSave();
  156. ]]>
  157. </script>
  158. </button>
  159. <button id="btn_close" class="btn4_letter2" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:562px; top:4px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  160. <caption>닫기</caption>
  161. <script type="javascript" ev:event="DOMActivate">
  162. <![CDATA[
  163. window.close();
  164. ]]>
  165. </script>
  166. </button>
  167. <line id="line1" class="line_3" style="x1:1px; y1:0px; x2:798px; y2:0px; "/>
  168. <caption id="caption3" style="left:0px; top:0px; width:555px; height:47px; font-weight:bold; color:#0000ff; ">
  169. <![CDATA[** Summary는 최근이력순으로 조회됩니다.
  170. ** 순서를 조정하시려면 ‘순번’을 변경하여 지정하실 수 있습니다.
  171. ** 파일다운로드 시 버튼클릭과 다운 항목 더블클릭하여 다운받으실 수 있습니다. ]]>
  172. </caption>
  173. </group>
  174. <group id="grup_top" style="left:0px; top:25px; width:798px; height:55px; ">
  175. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:1px; top:1px; width:795px; height:53px; "/>
  176. <line id="line13" class="line_4" style="x1:655px; y1:4px; x2:655px; y2:51px; "/>
  177. <caption id="caption2" class="search_name" style="left:8px; top:6px; width:86px; height:17px; ">검색조건 :</caption>
  178. <select1 id="combo1" ref="/root/init/validyn" class="combo_search" appearance="minimal" style="left:300px; top:5px; width:65px; height:19px; ">
  179. <choices>
  180. <!-- 20130103 정창혁 전체 없앰. ^^
  181. <item>
  182. <label>전체</label>
  183. <value>N</value>
  184. </item>
  185. -->
  186. <item>
  187. <label>유효</label>
  188. <value>Y</value>
  189. </item>
  190. <item>
  191. <label>삭제</label>
  192. <value>D</value>
  193. </item>
  194. </choices>
  195. <script type="javascript" ev:event="xforms-value-changed">
  196. <![CDATA[
  197. if (combo1.value == "Y") {
  198. button1.disabled = false;
  199. } else {
  200. button1.disabled = true;
  201. }
  202. ]]>
  203. </script>
  204. <script type="javascript" ev:event="onmouseover">
  205. <![CDATA[
  206. if (combo1.value != "Y") {
  207. combo1.hint = "회색바탕이 삭제이력";
  208. } else {
  209. combo1.hint = "";
  210. }
  211. ]]>
  212. </script>
  213. </select1>
  214. <button id="btn_search" class="btn1_letter2" style="left:670px; top:17px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  215. <caption>조회</caption>
  216. <script type="javascript" ev:event="DOMActivate">
  217. <![CDATA[
  218. fSrchClick();
  219. ]]>
  220. </script>
  221. </button>
  222. <select1 id="radio1" ref="/root/init/schkind" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:98px; top:5px; width:192px; height:19px; border-style:none; ">
  223. <choices>
  224. <item>
  225. <label>소속과</label>
  226. <value>2</value>
  227. </item>
  228. <item>
  229. <label>전체과</label>
  230. <value>3</value>
  231. </item>
  232. <item>
  233. <label>개인별</label>
  234. <value>1</value>
  235. </item>
  236. </choices>
  237. </select1>
  238. <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" class="input_s_essential" navindex="1" autonext="false" maxlength="10" style="left:502px; top:5px; width:100px; height:19px; ">
  239. <script type="javascript" ev:event="onkeypress">
  240. <![CDATA[
  241. if(event.keyCode == "13") {
  242. fPidKeyPress();
  243. }
  244. ]]>
  245. </script>
  246. </input>
  247. <caption id="caption4" class="search_name" style="left:408px; top:4px; width:92px; height:17px; text-align:center; ">등록번호 :</caption>
  248. <caption id="caption5" class="search_name" style="left:408px; top:30px; width:77px; height:17px; text-align:center; ">환자명 :</caption>
  249. <input id="ipt_hngnm" ref="/root/main/patinfo/patinfolist/hngnm" class="input_s_essential" navindex="2" autonext="false" imemode="hangul" style="left:502px; top:30px; width:100px; height:19px; ">
  250. <script type="javascript" ev:event="onkeypress">
  251. <![CDATA[
  252. fPnmKeyPress();
  253. ]]>
  254. </script>
  255. </input>
  256. <button id="btn_pinfosearch" class="icon_search" navindex="5" style="left:610px; top:30px; width:16px; height:16px; ">
  257. <caption/>
  258. <script type="javascript" ev:event="DOMActivate">
  259. <![CDATA[
  260. fPopPtinfo();
  261. ]]>
  262. </script>
  263. </button>
  264. <caption id="caption6" class="search_name" style="left:7px; top:29px; width:86px; height:17px; vertical-align:middle; ">조회일자 :</caption>
  265. <button id="button2" class="icon_pre_month" style="left:99px; top:31px; width:16px; height:16px; ">
  266. <caption/>
  267. <script type="javascript" ev:event="onclick">
  268. <![CDATA[
  269. fAddDateReq("back");
  270. ]]>
  271. </script>
  272. </button>
  273. <button id="button3" class="icon_next_month" style="left:323px; top:31px; width:16px; height:16px; ">
  274. <caption/>
  275. <script type="javascript" ev:event="onclick">
  276. <![CDATA[
  277. fAddDateReq("next");
  278. ]]>
  279. </script>
  280. </button>
  281. <button id="button6" style="left:209px; top:30px; width:20px; height:20px; background-image:../../../com/commonweb/images/icon_n.gif; background-position:center; ">
  282. <caption/>
  283. <script type="javascript" ev:event="onclick">
  284. <![CDATA[
  285. fAddDateReq("today");
  286. ]]>
  287. </script>
  288. </button>
  289. <select1 id="combo4" ref="/root/init/reqmedireclist/diffdt" class="combo_search" appearance="minimal" style="left:343px; top:30px; width:55px; height:19px; ">
  290. <choices>
  291. <item>
  292. <label>전체</label>
  293. <value>-</value>
  294. </item>
  295. <item>
  296. <label>1개월</label>
  297. <value>1</value>
  298. </item>
  299. <item>
  300. <label>3개월</label>
  301. <value>3</value>
  302. </item>
  303. <item>
  304. <label>6개월</label>
  305. <value>6</value>
  306. </item>
  307. <item>
  308. <label>1년</label>
  309. <value>12</value>
  310. </item>
  311. </choices>
  312. <script type="javascript" ev:event="xforms-value-changed">
  313. <![CDATA[
  314. fAddDateReq("");
  315. ]]>
  316. </script>
  317. </select1>
  318. <input id="ipt_formrecdtto" ref="/root/init/reqmedireclist/rectodt" class="input_s_essential" inputtype="date" style="left:227px; top:30px; width:95px; height:19px; "/>
  319. <input id="ipt_formrecdtfr" ref="/root/init/reqmedireclist/recfromdt" class="input_s_essential" inputtype="date" style="left:116px; top:30px; width:95px; height:19px; "/>
  320. <button id="button1" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:730px; top:17px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  321. <caption>저장</caption>
  322. <script type="javascript" ev:event="DOMActivate">
  323. <![CDATA[
  324. fSave();
  325. ]]>
  326. </script>
  327. </button>
  328. </group>
  329. <group id="grup_body" overflow="visible" style="left:0px; top:81px; width:795px; height:617px; ">
  330. <datagrid id="grd_smmlist" nodeset="/root/main/smmlist" caption="순번^요약일자^상태^요약내용^다운^작성자^^^^종료일자^ip주소^filenm^attfilepath^" colsep="^" colwidth="32, 85, 36, 363, 30, 70, 0, 0, 0, 70, 85, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:1px; top:0px; width:799px; height:614px; ">
  331. <col ref="sortno" type="input" format="#########" maxlength="10"/>
  332. <col ref="smmdd" type="inputdate"/>
  333. <col ref="delyn" type="combo" style="text-align:center; ">
  334. <choices>
  335. <item>
  336. <label>유효</label>
  337. <value>N</value>
  338. </item>
  339. <item>
  340. <label>삭제</label>
  341. <value>Y</value>
  342. </item>
  343. </choices>
  344. </col>
  345. <col ref="smmcnts" type="input"/>
  346. <col ref="filexistyn" type="output" style="text-align:center; "/>
  347. <col disabled="true" ref="recuinfo" style="text-align:center; "/>
  348. <col ref="patsmmseq" visibility="hidden"/>
  349. <col ref="lastupdtrid" visibility="hidden"/>
  350. <col ref="recdeptcd" visibility="hidden"/>
  351. <col ref="smmtodd" format="yyyy-mm-dd"/>
  352. <col ref="ipaddr"/>
  353. <col ref="attfilenm" visibility="hidden"/>
  354. <col ref="attfilepath" visibility="hidden"/>
  355. <script type="javascript" ev:event="onendedit">
  356. <![CDATA[
  357. fAddrow();
  358. ]]>
  359. </script>
  360. <script type="javascript" ev:event="onaftersort">
  361. <![CDATA[
  362. grd_smmlist.gridToInstance();
  363. grd_smmlist.resizeCells();
  364. ]]>
  365. </script>
  366. <script type="javascript" ev:event="onmousedown">
  367. <![CDATA[
  368. if(grd_smmlist.isCell(event.target) && (grd_smmlist.mouserow >= grd_smmlist.fixedrows)) {
  369. setPopupMenu("grd_smmlist", false, "/root/init/smmmsrght/mouserght", "label", "func"); //상용구
  370. }
  371. ]]>
  372. </script>
  373. <script type="javascript" ev:event="DOMFocusOut">
  374. <![CDATA[
  375. window.setPopupMenu(false);
  376. ]]>
  377. </script>
  378. <script type="javascript" ev:event="ondblclick">
  379. <![CDATA[
  380. // 다운로드 파일 존재시 다운받기 버튼 dispatch 이벤트 .
  381. if( grd_smmlist.isCell(event.target) && grd_smmlist.rows > grd_smmlist.fixedrows && grd_smmlist.col == grd_smmlist.colRef("filexistyn")) {
  382. btn_down.dispatch("DOMActivate");
  383. }
  384. ]]>
  385. </script>
  386. </datagrid>
  387. <upload id="upload1" nodeset="/root/temp/attach/file" ext="zip" filecount="5" filesize="1048576" validate="true" style="left:510px; top:5px; width:20px; height:20px; "/>
  388. <datagrid id="grd_attach" nodeset="/root/temp/attach" visibility="hidden" caption="파일경로" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:690px; top:560px; width:102px; height:50px; ">
  389. <col ref="file"/>
  390. </datagrid>
  391. </group>
  392. <group id="grup_title" style="left:0px; top:0px; width:798px; height:25px; background-color:transparent; ">
  393. <line id="line12" class="line_3" style="x1:1px; y1:24px; x2:668px; y2:24px; "/>
  394. <caption id="caption1" class="tit_2" style="left:1px; top:5px; width:111px; height:13px; ">Summary</caption>
  395. <button id="btn_detl" class="btn2_letter4" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:506px; top:3px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  396. <caption>상세보기</caption>
  397. <script type="javascript" ev:event="DOMActivate">
  398. <![CDATA[
  399. getParameter("SSMMR04800_openmode", "psearch");
  400. fClickPop();
  401. ]]>
  402. </script>
  403. </button>
  404. <line id="line2" class="line_3" style="x1:1px; y1:24px; x2:798px; y2:24px; "/>
  405. <button id="btn_prt" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:753px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  406. <caption>출력</caption>
  407. <script type="javascript" ev:event="DOMActivate">
  408. <![CDATA[
  409. var rptid = "RPMMR04800";
  410. var desNode = "/root/main/smmlist";
  411. exeReportPreview(rptid, "XMLSTR", desNode);
  412. ]]>
  413. </script>
  414. </button>
  415. <button id="btn_excel" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:708px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  416. <caption>엑셀</caption>
  417. <script type="javascript" ev:event="DOMActivate">
  418. <![CDATA[
  419. var filename = window.fileDialog("save", ",", false, "", "xls", "Excel File(*.xls)|*.xls");
  420. if(filename!="") {
  421. grd_smmlist.saveExcel(filename, "sheetname:Transaction;colhiddenextend:true;exportfalserows:0;");
  422. }
  423. ]]>
  424. </script>
  425. </button>
  426. <button id="btn_attach" class="btn5_letter4" style="left:573px; top:3px; width:64px; height:19px; ">
  427. <caption>첨부하기</caption>
  428. <script type="javascript" ev:event="DOMActivate">
  429. <![CDATA[
  430. var attach = "true";
  431. fAddrow(attach);
  432. ]]>
  433. </script>
  434. </button>
  435. <button id="btn_down" class="btn5_letter4" style="left:640px; top:3px; width:64px; height:19px; ">
  436. <caption>다운받기</caption>
  437. <script type="javascript" ev:event="DOMActivate">
  438. <![CDATA[
  439. fDownLoad();
  440. ]]>
  441. </script>
  442. </button>
  443. </group>
  444. </xhtml:body>
  445. </xhtml:html>