SSMMR04801_SummaryM.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common_mobile.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. <cond>
  64. <orddeptnm/>
  65. <orddrnm/>
  66. <sexage/>
  67. <wardroomnm/>
  68. </cond>
  69. </main>
  70. <send>
  71. <reqsmm/>
  72. <pid/>
  73. <getyn/>
  74. <srchcond/>
  75. <hngnm/>
  76. </send>
  77. <init>
  78. <smmmsrght>
  79. <mouserght>
  80. <label>상용구</label>
  81. <func>fPopCommUse</func>
  82. </mouserght>
  83. </smmmsrght>
  84. <validyn>Y</validyn>
  85. <schkind/>
  86. <reqmedireclist>
  87. <diffdt/>
  88. <recfromdt/>
  89. <rectodt/>
  90. </reqmedireclist>
  91. <allyn/>
  92. </init>
  93. <envinit>
  94. <srchcond/>
  95. <srchday/>
  96. </envinit>
  97. <page>
  98. <curpage>1</curpage>
  99. <maxpage>1</maxpage>
  100. <offset/>
  101. <pagesize>10</pagesize>
  102. </page>
  103. </root>
  104. </instance>
  105. <script type="javascript" ev:event="xforms-ready">
  106. <![CDATA[
  107. ///////////////////////////////////////////////////////////////////////////// 추가된 부분
  108. if ("SoonsuViewer" == document.userAgent)
  109. {
  110. grup_top.visible = true;
  111. grup_top.hide(0);
  112. }
  113. /////////////////////////////////////////////////////////////////////////////
  114. fInitalize();
  115. ]]>
  116. </script>
  117. <bind id="bind1" ref="/root/main/smmlist/smmcnts" readonly="../recdeptcd != /root/init/udeptcd and ../recdeptcd != &quot;&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. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patinfo"/>
  125. <submission id="TRMMB01104" mediatype="application/x-www-form-urlencoded" method="post"/>
  126. <submission id="TRMOB00009" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/smmlist"/>
  127. </model>
  128. <script type="javascript" src="../../../emr/smmobileweb/js/mcommon.js"/>
  129. <script type="javascript" src="../../../emr/smmobileweb/js/MMR04800M.js"/>
  130. <!--<script type="javascript" src="../../../emr/mobileweb/js/SMMMO04100M.js"/>-->
  131. <!--script type="javascript" src="../../../emr/medirecweb/js/MMR00100.js"/-->
  132. <script type="javascript">
  133. <![CDATA[
  134. ///////////////////////////////////////////////////////////////////////////// 추가된 부분
  135. var m_bSearchBarShow = false;
  136. /////////////////////////////////////////////////////////////////////////////
  137. ]]>
  138. </script>
  139. </xhtml:head>
  140. <xhtml:body pagewidth="463px" pageheight="400px" guideline="1,463;2,400;">
  141. <group id="grup_body" overflow="visible" style="left:0px; top:25px; width:463px; height:375px; ">
  142. <datagrid id="grd_smmlist" nodeset="/root/main/smmlist" caption="순번^요약일자^요약내용^작성자^^^^종료일자^" colsep="^" colwidth="50, 85, 400, 70, 0, 0, 0, 70" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:3px; top:75px; width:460px; height:270px; ">
  143. <col ref="sortno" type="output" format="#########" maxlength="10"/>
  144. <col ref="smmdd" type="output" format="yyyy-mm-dd"/>
  145. <col ref="smmcnts" type="output"/>
  146. <col disabled="true" ref="recuinfo" style="text-align:center; "/>
  147. <col ref="patsmmseq" visibility="hidden"/>
  148. <col ref="lastupdtrid" visibility="hidden"/>
  149. <col ref="recdeptcd" visibility="hidden"/>
  150. <col ref="smmtodd" format="yyyy-mm-dd"/>
  151. </datagrid>
  152. <button id="nextpage" class="icon_next_month" style="left:275px; top:350px; width:16px; height:16px; ">
  153. <caption/>
  154. <script type="javascript" ev:event="onclick">
  155. <![CDATA[
  156. var curpage = parseInt(model.getValue("root/page/curpage"));
  157. var maxpage = parseInt(model.getValue("root/page/maxpage"));
  158. if(curpage < maxpage)
  159. {
  160. curpage = curpage + 1;
  161. model.setValue("root/page/curpage", String(curpage));
  162. fSrchClick();
  163. }
  164. ]]>
  165. </script>
  166. </button>
  167. <output id="maxpage" ref="/root/page/maxpage" style="left:235px; top:350px; width:40px; height:19px; text-align:center; "/>
  168. <button id="prepage" class="icon_pre_month" style="left:175px; top:350px; width:16px; height:16px; ">
  169. <caption/>
  170. <script type="javascript" ev:event="onclick">
  171. <![CDATA[
  172. var curpage = parseInt(model.getValue("root/page/curpage"));
  173. if(curpage > 1)
  174. {
  175. curpage = curpage - 1;
  176. model.setValue("root/page/curpage", String(curpage));
  177. fSrchClick();
  178. }
  179. ]]>
  180. </script>
  181. </button>
  182. <output id="curpage" ref="/root/page/curpage" style="left:194px; top:350px; width:40px; height:19px; text-align:center; "/>
  183. <caption id="caption3" class="cell_1" style="left:5px; top:0px; width:70px; height:23px; ">등록번호</caption>
  184. <caption id="caption4" class="cell_1" style="left:5px; top:50px; width:70px; height:23px; ">주치의</caption>
  185. <caption id="caption5" class="cell_1" style="left:245px; top:0px; width:70px; height:23px; ">환자명</caption>
  186. <caption id="caption13" class="cell_1" style="left:245px; top:25px; width:70px; height:23px; ">진료과</caption>
  187. <caption id="caption7" class="cell_1" style="left:5px; top:25px; width:70px; height:23px; ">S/A</caption>
  188. <caption id="caption8" class="cell_1" style="left:245px; top:50px; width:70px; height:23px; ">병동/병실</caption>
  189. <input id="input7" ref="/root/main/cond/sexage" class="output_fix" style="left:80px; top:25px; width:100px; height:19px; "/>
  190. <input id="input8" ref="/root/main/cond/wardroomnm" class="output_fix" style="left:320px; top:50px; width:135px; height:19px; "/>
  191. <input id="input2" ref="/root/main/patinfo/patinfolist/pid" class="output_fix" style="left:80px; top:0px; width:80px; height:19px; "/>
  192. <input id="input4" ref="/root/main/cond/orddeptnm" class="output_fix" style="left:320px; top:25px; width:100px; height:19px; "/>
  193. <input id="input5" ref="/root/main/cond/orddrnm" class="output_fix" style="left:80px; top:50px; width:72px; height:19px; "/>
  194. <input id="input6" ref="/root/main/patinfo/patinfolist/hngnm" class="output_fix" style="left:320px; top:0px; width:70px; height:19px; "/>
  195. </group>
  196. <group id="grup_top" visibility="hidden" overflow="hidden" style="left:0px; top:25px; width:463px; height:90px; ">
  197. <shape id="roundrect1" appearance="roundrect" style="left:1px; top:0px; width:462px; height:85px; "/>
  198. <caption id="caption2" class="search_name" style="left:8px; top:6px; width:86px; height:17px; ">검색조건 :</caption>
  199. <select1 id="combo1" ref="/root/init/validyn" class="combo_search" appearance="minimal" style="left:300px; top:5px; width:100px; height:19px; ">
  200. <choices>
  201. <item>
  202. <label>전체</label>
  203. <value>N</value>
  204. </item>
  205. <item>
  206. <label>유효</label>
  207. <value>Y</value>
  208. </item>
  209. </choices>
  210. </select1>
  211. <button id="btn_search" class="btn1_letter2" style="left:395px; top:55px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  212. <caption>조회</caption>
  213. <script type="javascript" ev:event="DOMActivate">
  214. <![CDATA[
  215. fSrchClick();
  216. ///////////////////////////////////////////////////////////////////////////// 추가된 부분
  217. if ("SoonsuViewer" == document.userAgent)
  218. {
  219. grup_top.hide("slow");
  220. m_bSearchBarShow = false;
  221. }
  222. else
  223. {
  224. grup_top.visible = false;
  225. m_bSearchBarShow = false;
  226. }
  227. /////////////////////////////////////////////////////////////////////////////
  228. ]]>
  229. </script>
  230. </button>
  231. <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; ">
  232. <choices>
  233. <item>
  234. <label>소속과</label>
  235. <value>2</value>
  236. </item>
  237. <item>
  238. <label>전체과</label>
  239. <value>3</value>
  240. </item>
  241. <item>
  242. <label>개인별</label>
  243. <value>1</value>
  244. </item>
  245. </choices>
  246. </select1>
  247. <caption id="caption6" class="search_name" style="left:7px; top:29px; width:86px; height:17px; vertical-align:middle; ">조회일자 :</caption>
  248. <button id="button2" class="icon_pre_month" style="left:99px; top:31px; width:16px; height:16px; ">
  249. <caption/>
  250. <script type="javascript" ev:event="onclick">
  251. <![CDATA[
  252. fAddDateReq("back");
  253. ]]>
  254. </script>
  255. </button>
  256. <button id="button3" class="icon_next_month" style="left:323px; top:31px; width:16px; height:16px; ">
  257. <caption/>
  258. <script type="javascript" ev:event="onclick">
  259. <![CDATA[
  260. fAddDateReq("next");
  261. ]]>
  262. </script>
  263. </button>
  264. <button id="button6" style="left:209px; top:30px; width:20px; height:20px; background-image:../../../com/commonweb/images/icon_n.gif; background-position:center; ">
  265. <caption/>
  266. <script type="javascript" ev:event="onclick">
  267. <![CDATA[
  268. fAddDateReq("today");
  269. ]]>
  270. </script>
  271. </button>
  272. <select1 id="combo4" ref="/root/init/reqmedireclist/diffdt" class="combo_search" appearance="minimal" style="left:347px; top:30px; width:55px; height:19px; ">
  273. <choices>
  274. <item>
  275. <label>전체</label>
  276. <value>-</value>
  277. </item>
  278. <item>
  279. <label>1개월</label>
  280. <value>1</value>
  281. </item>
  282. <item>
  283. <label>3개월</label>
  284. <value>3</value>
  285. </item>
  286. <item>
  287. <label>6개월</label>
  288. <value>6</value>
  289. </item>
  290. <item>
  291. <label>1년</label>
  292. <value>12</value>
  293. </item>
  294. </choices>
  295. <script type="javascript" ev:event="xforms-value-changed">
  296. <![CDATA[
  297. fAddDateReq("");
  298. ]]>
  299. </script>
  300. </select1>
  301. <input id="ipt_formrecdtto" ref="/root/init/reqmedireclist/rectodt" class="input_s_essential" inputtype="date" style="left:227px; top:30px; width:95px; height:19px; "/>
  302. <input id="ipt_formrecdtfr" ref="/root/init/reqmedireclist/recfromdt" class="input_s_essential" inputtype="date" style="left:116px; top:30px; width:95px; height:19px; "/>
  303. </group>
  304. <caption id="caption1" class="tit_2" style="left:1px; top:5px; width:111px; height:13px; "> Summary</caption>
  305. <button id="button1" class="btn3_letter2" style="left:336px; top:2px; width:56px; height:22px; ">
  306. <caption>검색</caption>
  307. <script type="javascript" ev:event="onclick">
  308. <![CDATA[
  309. ///////////////////////////////////////////////////////////////////////////// 추가된 부분
  310. if ("SoonsuViewer" == document.userAgent)
  311. {
  312. if (m_bSearchBarShow)
  313. {
  314. grup_top.hide("slow");
  315. m_bSearchBarShow = false;
  316. }
  317. else
  318. {
  319. grup_top.show("slow");
  320. m_bSearchBarShow = true;
  321. }
  322. }
  323. else
  324. {
  325. if (m_bSearchBarShow)
  326. {
  327. grup_top.visible = false;
  328. m_bSearchBarShow = false;
  329. }
  330. else
  331. {
  332. grup_top.visible = true;
  333. m_bSearchBarShow = true;
  334. }
  335. }
  336. /////////////////////////////////////////////////////////////////////////////
  337. ]]>
  338. </script>
  339. </button>
  340. <button id="btn_close" class="btn4_letter2" style="left:407px; top:2px; width:56px; height:22px; ">
  341. <caption>닫기</caption>
  342. <script type="javascript" ev:event="DOMActivate">
  343. <![CDATA[
  344. window.close();
  345. ]]>
  346. </script>
  347. </button>
  348. </xhtml:body>
  349. </xhtml:html>