SMPMI05100_입원보고서.xrw 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <send>
  10. <fromdd/>
  11. <todd/>
  12. <insukind/>
  13. <sess_posinstcd/>
  14. <ioflag/>
  15. <inhosflag>all</inhosflag>
  16. <printkind/>
  17. <rcptrid/>
  18. <rcptrnm/>
  19. <kindflag/>
  20. <protpid/>
  21. <brateflagyn/>
  22. </send>
  23. <main>
  24. <oneselect/>
  25. <userpopupinfo>
  26. <param/>
  27. </userpopupinfo>
  28. </main>
  29. <hidden>
  30. <P0019list>
  31. <P0019>
  32. <nm/>
  33. <cd/>
  34. </P0019>
  35. </P0019list>
  36. </hidden>
  37. <init>
  38. <insukind>
  39. <nm/>
  40. <cd/>
  41. </insukind>
  42. <orddrid>
  43. <nm/>
  44. <cd/>
  45. </orddrid>
  46. <orddeptcd>
  47. <nm/>
  48. <cd/>
  49. </orddeptcd>
  50. <roomcd>
  51. <nm/>
  52. <cd/>
  53. </roomcd>
  54. </init>
  55. <temp>
  56. </temp>
  57. <list>
  58. <inreport1>
  59. <insukind/>
  60. <insukindnm/>
  61. <suppkind/>
  62. <suppkindnm/>
  63. <indd/>
  64. <orddeptcd/>
  65. <orddeptnm/>
  66. <roomcd/>
  67. <pid/>
  68. <hngnm/>
  69. <rrgstno/>
  70. <insucd/>
  71. <insuno/>
  72. <choiflag/>
  73. <rcptrid/>
  74. <tsflag/>
  75. </inreport1>
  76. <inreport2>
  77. <pid/>
  78. <hngnm/>
  79. <sex/>
  80. <age/>
  81. <insukind/>
  82. <indd/>
  83. <prestroomcd/>
  84. <chngroomcd/>
  85. <prestorddeptcd/>
  86. <chngorddeptcd/>
  87. <enddd/>
  88. <pamacptid/>
  89. <pamacptnm/>
  90. </inreport2>
  91. <inreport3>
  92. <pid/>
  93. <hngnm/>
  94. <sex/>
  95. <age/>
  96. <insukind/>
  97. <indd/>
  98. <chngorddeptcd/>
  99. <prestroomcd/>
  100. <chngroomcd/>
  101. <enddd/>
  102. <pamacptid/>
  103. <pamacptnm/>
  104. </inreport3>
  105. <inreport4>
  106. <pid/>
  107. <hngnm/>
  108. <indd/>
  109. <orddeptcd/>
  110. <roomcd/>
  111. <protflag/>
  112. <name/>
  113. <phone/>
  114. <remark/>
  115. </inreport4>
  116. </list>
  117. </root>
  118. </instance>
  119. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  120. <submission id="TRPMI05100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/list"/>
  121. <submission id="TRPMI05101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/list"/>
  122. <submission id="TRPMI05102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/list"/>
  123. <submission id="TRPMI05103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/list"/>
  124. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
  125. </model>
  126. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  127. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  128. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  129. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  130. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  131. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  132. <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
  133. <script type="javascript" ev:event="xforms-ready">
  134. <![CDATA[
  135. fGetUserInfosSampling();//세션정보
  136. model.setValue("/root/send/sess_posinstcd",model.getValue("/root/hidden/session/sess_dutplceinstcd"));
  137. model.setValue("/root/send/ioflag","I");
  138. model.refresh();
  139. submit("TRPMI00106");
  140. addComboItem( "cmb_insukind" , "", "", "above" );
  141. fHiddenBox();
  142. zbcfGetCodeList(new Array("P0101","P0028","P0038","P0019"),new Array("/root/init1/P0101list","/root/init1/P0028list","/root/init1/P0038list","/root/hidden/P0019list"));
  143. model.refresh();
  144. grd_inpatlist.rowheight(0) = 40;
  145. ]]>
  146. </script>
  147. <script type="javascript">
  148. <![CDATA[
  149. function fHiddenBox() {
  150. if(btn_inpat1.selected == true) {
  151. caption39.visible = true;
  152. fromdd.visible = true;
  153. caption8.visible = true;
  154. todd.visible = true;
  155. caption7.visible = true;
  156. cmb_insukind.visible = true;
  157. rdo_inemr.visible = true;
  158. caption9.visible = true;
  159. caption2.text = "입원환자대장";
  160. caption39.text = "입원일자 : ";
  161. caption4.visible=true;
  162. input_rcptr.visible=true;
  163. button3.visible=true;
  164. ipt_protpid.visible=false;
  165. cap_prot.visible=false;
  166. checkbox1.visible=true;
  167. }else if(btn_chanpat.selected == true) {
  168. //caption8.visible = false;
  169. //todd.visible = false;
  170. caption7.visible = false;
  171. cmb_insukind.visible = false;
  172. rdo_inemr.visible = false;
  173. caption9.visible = false;
  174. caption2.text = "전과환자일보";
  175. caption39.text = "전과일자 : ";
  176. caption4.visible=true;
  177. input_rcptr.visible=true;
  178. button3.visible=true;
  179. ipt_protpid.visible=false;
  180. cap_prot.visible=false;
  181. checkbox1.visible=false;
  182. }else if(btn_allinpat.selected == true) {
  183. //caption8.visible = false;
  184. //todd.visible = false;
  185. caption7.visible = false;
  186. cmb_insukind.visible = false;
  187. rdo_inemr.visible = false;
  188. caption9.visible = false;
  189. caption2.text = "전실환자내역";
  190. caption39.text = "입원일자 : ";
  191. caption4.visible=true;
  192. input_rcptr.visible=true;
  193. button3.visible=true;
  194. ipt_protpid.visible=false;
  195. cap_prot.visible=false;
  196. checkbox1.visible=false;
  197. }else if(btn_prot.selected == true) {
  198. caption7.visible = false;
  199. cmb_insukind.visible = false;
  200. rdo_inemr.visible = false;
  201. caption9.visible = false;
  202. caption2.text = "환자보호자대장";
  203. caption39.text = "입원일자 : ";
  204. caption4.visible=false;
  205. input_rcptr.visible=false;
  206. button3.visible=false;
  207. ipt_protpid.visible=true;
  208. cap_prot.visible=true;
  209. checkbox1.visible=false;
  210. }
  211. }
  212. ]]>
  213. </script>
  214. </xhtml:head>
  215. <xhtml:body guideline="1,1192;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  216. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  217. <caption id="caption6" class="tit_1" style="left:10px; top:0px; width:120px; height:13px; ">입원 보고서</caption>
  218. </group>
  219. <group id="group3" scroll="auto" style="left:0px; top:15px; width:1193px; height:670px; ">
  220. <switch id="swt_aipmmngt" style="left:0px; top:65px; width:1170px; height:600px; ">
  221. <case id="case3" selected="true" style="left:0px; top:0px; width:1192px; height:600px; ">
  222. <line id="line19" class="line_1" style="x1:0px; y1:25px; x2:1170; y2:25px; "/>
  223. <button id="btn_saveexcel" class="btn2_letter4" style="left:1102px; top:4px; width:64px; height:19px; ">
  224. <caption>엑셀저장</caption>
  225. <script type="javascript" ev:event="DOMActivate">
  226. <![CDATA[
  227. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  228. if(bool4.value == "inkind"){
  229. grd_inpatlist.colsort(0) = "asc";
  230. grd_inpatlist.sort(1,1,grd_inpatlist.row,grd_inpatlist.col) = "usersort";
  231. if (fileName != "")
  232. {
  233. grd_inpatlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
  234. }
  235. }else if(bool4.value == "date") {
  236. grd_inpatlist.colsort(2) = "asc";
  237. grd_inpatlist.sort(1,1,grd_inpatlist.row,grd_inpatlist.col) = "usersort";
  238. if (fileName != "")
  239. {
  240. grd_inpatlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
  241. }
  242. }
  243. ]]>
  244. </script>
  245. </button>
  246. <button id="btn_print1" class="btn2_letter2" style="left:1058px; top:4px; width:42px; height:19px; ">
  247. <caption>출력</caption>
  248. <script type="javascript" ev:event="DOMActivate">
  249. <![CDATA[
  250. if(bool4.value == "inkind"){
  251. exeReportPreview("RPPMI05100", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
  252. }else if(bool4.value == "date") {
  253. exeReportPreview("RPPMI05110", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
  254. }
  255. ]]>
  256. </script>
  257. </button>
  258. <datagrid id="grd_inpatlist" caption="구분^구분^상해&#xA;외인^입원일자^상태^진료과^병실^환자번호^성명^생년월일^약정^조합기호^보험증번호^구분^요율^KTAS^ER&#xA;경유^접수자^sortkey^진료" colsep="^" colwidth="100, 100, 37, 80, 50, 110, 60, 70, 60, 70, 49, 80, 80, 40, 40, 40, 42, 60, 49" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1170px; height:570px; text-align:center; ">
  259. <col ref="insukindnm" style="left:0px; top:23px; width:100px; height:23px; "/>
  260. <col ref="suppkindnm" type="output"/>
  261. <col ref="tsflag"/>
  262. <col ref="indd" format="yyyy-mm-dd"/>
  263. <col ref="indschacptstat" type="combo">
  264. <choices>
  265. <itemset nodeset="/root/hidden/P0019list/P0019">
  266. <label ref="cdnm"/>
  267. <value ref="cdid"/>
  268. </itemset>
  269. </choices>
  270. </col>
  271. <col ref="orddeptnm" type="output"/>
  272. <col ref="roomcd"/>
  273. <col ref="pid"/>
  274. <col ref="hngnm"/>
  275. <!-- col ref="rrgstno"/ -->
  276. <col ref="rrgstno" format="99/99/99"/>
  277. <col disabled="true" ref="agmttype" type="combo">
  278. <choices>
  279. <item>
  280. <label>일반</label>
  281. <value>1</value>
  282. </item>
  283. <item>
  284. <label>기간</label>
  285. <value>2</value>
  286. </item>
  287. </choices>
  288. </col>
  289. <col ref="insucd"/>
  290. <col ref="insuno"/>
  291. <col ref="choiflag"/>
  292. <col disabled="true" ref="brateflag" type="combo" style="text-align:center; ">
  293. <choices>
  294. <item>
  295. <label>외래</label>
  296. <value>O</value>
  297. </item>
  298. <item>
  299. <label>입원</label>
  300. <value>I</value>
  301. </item>
  302. </choices>
  303. </col>
  304. <col ref="specordtype" style="text-align:center; "/>
  305. <col disabled="true" ref="orgordtype" type="combo">
  306. <choices>
  307. <item>
  308. <label>Y</label>
  309. <value>E</value>
  310. </item>
  311. <item>
  312. <label/>
  313. <value>I</value>
  314. </item>
  315. <item>
  316. <label/>
  317. <value>D</value>
  318. </item>
  319. </choices>
  320. </col>
  321. <col ref="rcptrid"/>
  322. <col ref="sortkey" visibility="hidden"/>
  323. <script type="javascript" ev:event="onaftersort">
  324. <![CDATA[
  325. grd_inpatlist.gridToInstance();
  326. ]]>
  327. </script>
  328. </datagrid>
  329. <caption id="caption1" class="tit_2" style="left:3px; top:6px; width:110px; height:15px; ">입원환자대장</caption>
  330. <bool id="bool4" checkvalue="date,inkind" ref="/root/send/printkind" style="left:984px; top:6px; width:25px; height:17px; text-align:left; "/>
  331. <caption id="caption5" style="left:1007px; top:7px; width:42px; height:15px; ">일자별</caption>
  332. <shape id="rectangle1" appearance="rectangle" style="left:110px; top:7px; width:15px; height:15px; background-color:#b2ebf4; "/>
  333. <caption id="caption11" style="left:130px; top:6px; width:308px; height:20px; ">응급실 경유 병동 입원환자 (입원일자 : 응급실 등록일자)</caption>
  334. </case>
  335. <case id="case4" class="sw_box" style="left:0px; top:0px; width:1180px; height:600px; ">
  336. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1175px; y2:25px; "/>
  337. <caption id="caption2" class="tit_2" style="left:3px; top:6px; width:110px; height:15px; ">전과환자일보</caption>
  338. <button id="btn_print2" class="btn2_letter2" style="left:1050px; top:3px; width:42px; height:19px; ">
  339. <caption>출력</caption>
  340. <script type="javascript" ev:event="DOMActivate">
  341. <![CDATA[
  342. exeReportPreview("RPPMI05101", "XMLSTR" , "" , "" , "false" , "", "", "", "", "", "", "");
  343. ]]>
  344. </script>
  345. </button>
  346. <button id="btn_saveexcel2" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
  347. <caption>엑셀저장</caption>
  348. <script type="javascript" ev:event="DOMActivate">
  349. <![CDATA[
  350. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  351. if (fileName != "")
  352. {
  353. grd_chanpatlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
  354. }
  355. ]]>
  356. </script>
  357. </button>
  358. <datagrid id="grd_chanpatlist" scroll="auto" caption="등록번호^성명^성별^연령^환자유형^입원일자^전호실^현호실^변경전 진료과^현 진료과^변경일^비고" colsep="^" colwidth="120, 100, 70, 70, 100, 120, 100, 100, 100, 100, 120, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1170px; height:570px; text-align:center; ">
  359. <col ref="pid"/>
  360. <col ref="hngnm"/>
  361. <col ref="sex"/>
  362. <col ref="age"/>
  363. <col ref="insukind"/>
  364. <col ref="indd" format="yyyy-mm-dd"/>
  365. <col ref="prestroomcd"/>
  366. <col ref="chngroomcd"/>
  367. <col ref="prestorddeptcd"/>
  368. <col ref="chngorddeptcd"/>
  369. <col ref="enddd" format="yyyy-mm-dd"/>
  370. <col ref="pamacptnm"/>
  371. </datagrid>
  372. </case>
  373. <case id="case5" class="sw_box" style="left:0px; top:0px; width:1194px; height:600px; ">
  374. <line id="line20" class="line_1" style="x1:0px; y1:25px; x2:1175px; y2:25px; "/>
  375. <caption id="caption3" class="tit_2" style="left:3px; top:6px; width:110px; height:15px; ">전실환자내역</caption>
  376. <datagrid id="grd_allinpat" scroll="auto" caption="등록번호^성명^성별^연령^환자유형^입원일자^진료과^변경전 호실^변경후 호실^변경일^비고" colsep="^" colwidth="120, 100, 70, 70, 100, 120, 100, 100, 100, 120, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1170px; height:570px; text-align:center; ">
  377. <col ref="pid"/>
  378. <col ref="hngnm"/>
  379. <col ref="sex"/>
  380. <col ref="age"/>
  381. <col ref="insukind"/>
  382. <col ref="indd" format="yyyy-mm-dd"/>
  383. <col ref="chngorddeptcd"/>
  384. <col ref="prestroomcd"/>
  385. <col ref="chngroomcd"/>
  386. <col ref="enddd" format="yyyy-mm-dd"/>
  387. <col ref="pamacptnm"/>
  388. </datagrid>
  389. <button id="button1" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
  390. <caption>엑셀저장</caption>
  391. <script type="javascript" ev:event="DOMActivate">
  392. <![CDATA[
  393. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  394. if (fileName != "")
  395. {
  396. grd_allinpat.saveExcel(fileName, "SheetName", true, true, "", "", true);
  397. }
  398. ]]>
  399. </script>
  400. </button>
  401. <button id="button2" class="btn2_letter2" style="left:1050px; top:3px; width:42px; height:19px; ">
  402. <caption>출력</caption>
  403. <script type="javascript" ev:event="DOMActivate">
  404. <![CDATA[
  405. exeReportPreview("RPPMI05102", "XMLSTR" , "" , "" , "false" , "", "", "", "", "", "", "");
  406. ]]>
  407. </script>
  408. </button>
  409. </case>
  410. <case id="case6">
  411. <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:1168px; y2:25px; "/>
  412. <datagrid id="grd_protlist" scroll="auto" caption="등록번호^성명^입원일자^진료과^병실^보호자 관계^보호자 성명^보호자 연락처^비고" colsep="^" colwidth="87, 76, 88, 123, 72, 94, 80, 120, 387" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1168px; height:568px; text-align:center; ">
  413. <col ref="pid"/>
  414. <col ref="hngnm"/>
  415. <col ref="indd" format="yyyy-mm-dd"/>
  416. <col disabled="true" ref="orddeptcd" type="combo">
  417. <choices>
  418. <itemset nodeset="/root/init/orddeptcd">
  419. <label ref="nm"/>
  420. <value ref="cd"/>
  421. </itemset>
  422. </choices>
  423. </col>
  424. <col ref="roomcd"/>
  425. <col disabled="true" ref="protflag" type="combo">
  426. <choices>
  427. <item>
  428. <label>본인</label>
  429. <value>1</value>
  430. </item>
  431. <item>
  432. <label>배우자</label>
  433. <value>2</value>
  434. </item>
  435. <item>
  436. <label>자녀</label>
  437. <value>3</value>
  438. </item>
  439. <item>
  440. <label>부모</label>
  441. <value>4</value>
  442. </item>
  443. <item>
  444. <label>기타</label>
  445. <value>5</value>
  446. </item>
  447. </choices>
  448. </col>
  449. <col ref="name"/>
  450. <col ref="phone"/>
  451. <col ref="remark" style="text-align:left; "/>
  452. </datagrid>
  453. <caption id="caption10" class="tit_2" style="left:3px; top:6px; width:134px; height:15px; ">입원환자보호자대장</caption>
  454. <button id="button4" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
  455. <caption>엑셀저장</caption>
  456. <script type="javascript" ev:event="DOMActivate">
  457. <![CDATA[
  458. if(grd_protlist.rows <= 1) {
  459. messageBox("저장할 데이터가","I004");
  460. return false;
  461. }
  462. var fileName = window.fileDialog("save", ",", false, "환자보호자대장", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  463. if (fileName != "")
  464. {
  465. grd_protlist.saveExcel(fileName, "SheetName", true, true, "", "", "");
  466. }
  467. ]]>
  468. </script>
  469. </button>
  470. </case>
  471. </switch>
  472. <button id="btn_inpat1" class="btn_sw" group="tab" selected="true" style="left:0px; top:44px; width:96px; height:22px; ">
  473. <caption>입원환자대장</caption>
  474. <toggle case="case3" ev:event="xforms-activate"/>
  475. <script type="javascript" ev:event="DOMActivate">
  476. <![CDATA[
  477. fHiddenBox();
  478. ]]>
  479. </script>
  480. </button>
  481. <button id="btn_chanpat" class="btn_sw" group="tab" selected="false" style="left:95px; top:44px; width:96px; height:22px; ">
  482. <caption>전과환자대장</caption>
  483. <toggle case="case4" ev:event="xforms-activate"/>
  484. <script type="javascript" ev:event="DOMActivate">
  485. <![CDATA[
  486. fHiddenBox();
  487. ]]>
  488. </script>
  489. </button>
  490. <group id="group5" style="left:0px; top:5px; width:1172px; height:35px; vertical-align:top; ">
  491. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1172px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  492. <line id="line13" class="line_4" style="x1:1100px; y1:7px; x2:1100px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  493. <caption id="caption39" class="search_name" style="left:8px; top:9px; width:87px; height:17px; ">입원일자 :</caption>
  494. <button id="btn_search2" class="btn1_letter2" navindex="3" style="left:1111px; top:7px; width:56px; height:22px; text-align:left; ">
  495. <caption>조회</caption>
  496. <script type="javascript" ev:event="DOMActivate">
  497. <![CDATA[
  498. if(btn_inpat1.selected == true){
  499. grd_inpatlist.nodeset = "root/list/inreport1";
  500. if (submit("TRPMI05100")) {
  501. // 응급실 1일이상 재원 후 병동 입원환자 배경색처리 by 조중래 20170322
  502. for(var i = 1 ; i <= grd_inpatlist.rows ; i++) {
  503. if (grd_inpatlist.valueMatrix(i, grd_inpatlist.colRef("sortkey")) == '2') {
  504. grd_inpatlist.rowStyle(i, "data", "background-color") = "#B2EBF4"; // 하늘색
  505. }
  506. }
  507. }
  508. }else if(btn_chanpat.selected == true){
  509. grd_chanpatlist.nodeset = "root/list/inreport2";
  510. submit("TRPMI05101");
  511. }else if(btn_allinpat.selected == true){
  512. grd_allinpat.nodeset = "root/list/inreport3";
  513. submit("TRPMI05102");
  514. }else if(btn_prot.selected == true) {
  515. grd_protlist.nodeset = "root/list/inreport4";
  516. submit("TRPMI05103");
  517. }
  518. ]]>
  519. </script>
  520. </button>
  521. <input id="fromdd" ref="/root/send/fromdd" class="input_search" navindex="1" inputtype="date" style="left:95px; top:8px; width:90px; height:19px; ">
  522. <script type="javascript">
  523. <![CDATA[
  524. model.setValue("/root/send/fromdd" , getCurrentDate());
  525. model.setValue("/root/send/todd" , getCurrentDate());
  526. ]]>
  527. </script>
  528. </input>
  529. <caption id="caption4" class="search_name" visibility="visible" style="left:310px; top:9px; width:81px; height:17px; ">담당자 :</caption>
  530. <select1 id="cmb_insukind" ref="/root/send/insukind" class="combo_default" appearance="minimal" style="left:885px; top:8px; width:105px; height:19px; ">
  531. <choices>
  532. <itemset nodeset="/root/init/insukind">
  533. <label ref="nm"/>
  534. <value ref="cd"/>
  535. </itemset>
  536. </choices>
  537. <script type="javascript" ev:event="xforms-value-changed">
  538. <![CDATA[
  539. if(model.getValue("/root/send/insukind") == "11") {
  540. rdo_kindflag.disabled = false;
  541. } else {
  542. model.setValue("/root/send/kindflag", "");
  543. model.refresh();
  544. rdo_kindflag.disabled = true;
  545. }
  546. ]]>
  547. </script>
  548. </select1>
  549. <caption id="caption7" class="search_name" style="left:825px; top:9px; width:60px; height:17px; ">보험 :</caption>
  550. <select1 id="rdo_inemr" ref="/root/send/inhosflag" visibility="visible" appearance="full" cols="3" overflow="visible" style="left:545px; top:9px; width:170px; height:15px; text-align:center; vertical-align:middle; border-style:none; ">
  551. <choices>
  552. <item>
  553. <label>전체</label>
  554. <value>all</value>
  555. </item>
  556. <item>
  557. <label>입원</label>
  558. <value>noemr</value>
  559. </item>
  560. <item>
  561. <label>응급실경유</label>
  562. <value>emr</value>
  563. </item>
  564. </choices>
  565. </select1>
  566. <input id="todd" ref="/root/send/todd" class="input_search" navindex="2" inputtype="date" style="left:210px; top:8px; width:90px; height:19px; "/>
  567. <caption id="caption8" style="left:190px; top:10px; width:15px; height:15px; text-align:center; ">~</caption>
  568. <input id="input_rcptr" ref="/root/send/rcptrid" class="input_search" style="left:387px; top:8px; width:63px; height:19px; "/>
  569. <button id="button3" class="icon_search" style="left:457px; top:9px; width:16px; height:16px; ">
  570. <caption/>
  571. <hint>
  572. <![CDATA[직원조회]]>
  573. </hint>
  574. <script type="javascript" ev:event="DOMActivate">
  575. <![CDATA[
  576. model.resetInstanceNode("/root/main/userpopupinfo");
  577. model.setValue("/root/main/userpopupinfo/param", "_OneS");
  578. modal("../../userdeptinfoweb/xrw/SPZSU10103_사용자부서선택조회", "", "200", "200", "SPZSU10103","/root/main/userpopupinfo","/root/main/temp");
  579. var iParam = getParameter("SPZSU10103_");
  580. setCSVToNode("/root/main/oneselect", iParam);
  581. clearParameter("SPZSU10103_");
  582. model.setValue("/root/send/rcptrid",model.getValue("/root/main/oneselect/list/userid"));
  583. model.setValue("/root/send/rcptrnm",model.getValue("/root/main/oneselect/list/usernm"));
  584. model.refresh();
  585. ]]>
  586. </script>
  587. </button>
  588. <caption id="caption9" class="search_name" visibility="visible" style="left:485px; top:9px; width:60px; height:17px; ">구분 :</caption>
  589. <select1 id="rdo_kindflag" ref="/root/send/kindflag" disabled="true" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:995px; top:9px; width:95px; height:15px; text-align:center; vertical-align:middle; border-style:none; ">
  590. <choices>
  591. <item>
  592. <label>지역</label>
  593. <value>1</value>
  594. </item>
  595. <item>
  596. <label>직장</label>
  597. <value>2</value>
  598. </item>
  599. </choices>
  600. </select1>
  601. <caption id="cap_prot" class="search_name" visibility="hidden" style="left:310px; top:9px; width:89px; height:17px; ">등록번호 :</caption>
  602. <input id="ipt_protpid" ref="/root/send/protpid" class="input_search" visibility="hidden" style="left:396px; top:8px; width:69px; height:19px; "/>
  603. <select id="checkbox1" ref="/root/send/brateflagyn" overflow="visible" appearance="full" style="left:715px; top:10px; width:90px; height:20px; border-style:none; ">
  604. <choices>
  605. <item>
  606. <label>외래요율포함</label>
  607. <value>Y</value>
  608. </item>
  609. </choices>
  610. </select>
  611. </group>
  612. <button id="btn_allinpat" class="btn_sw" group="tab" selected="false" style="left:190px; top:44px; width:96px; height:22px; ">
  613. <caption>전실환자대장</caption>
  614. <toggle case="case5" ev:event="xforms-activate"/>
  615. <script type="javascript" ev:event="DOMActivate">
  616. <![CDATA[
  617. fHiddenBox();
  618. ]]>
  619. </script>
  620. </button>
  621. <button id="btn_prot" class="btn_sw" group="tab" selected="false" style="left:285px; top:44px; width:96px; height:22px; ">
  622. <caption>환자보호자대장</caption>
  623. <toggle case="case6" ev:event="xforms-activate"/>
  624. <script type="javascript" ev:event="DOMActivate">
  625. <![CDATA[
  626. fHiddenBox();
  627. ]]>
  628. </script>
  629. </button>
  630. </group>
  631. </xhtml:body>
  632. </xhtml:html>