SMPMI00600_입원예약조회.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <script type="javascript">
  5. <![CDATA[
  6. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  7. function fInitialize()
  8. {
  9. model.removeNodeset("/root/adrvlist/grdinrsrvspec");
  10. model.resetInstanceNode("/root/send");
  11. bol_inhopeddchk.selected = false;
  12. model.setValue("/root/send/inhopeddfrom",getCurrentDate());
  13. model.setValue("/root/send/inhopeddto",getCurrentDate());
  14. model.setValue("/root/send/inrsrvcond","1");
  15. frschlind("1");
  16. model.refresh();
  17. }
  18. function frschlind(rsflag)
  19. {
  20. if (rsflag == '1') {
  21. cmb_assgward.visible = false;
  22. cmb_orddeptcd.visible = false;
  23. cmb_orddrid.visible = false;
  24. ipt_pid.visible = false;
  25. } else if (rsflag == '2') {
  26. cmb_assgward.attribute("top") = "8px";
  27. cmb_assgward.attribute("left") = "222px";
  28. cmb_assgward.visible = true;
  29. cmb_orddeptcd.visible = false;
  30. cmb_orddrid.visible = false;
  31. ipt_pid.visible = false;
  32. } else if (rsflag == '3') {
  33. cmb_orddeptcd.attribute("top") = "8px";
  34. cmb_orddeptcd.attribute("left") = "222px";
  35. cmb_assgward.visible = false;
  36. cmb_orddeptcd.visible = true;
  37. cmb_orddrid.visible = false;
  38. ipt_pid.visible = false;
  39. } else if (rsflag == '4') {
  40. cmb_orddrid.attribute("top") = "8px";
  41. cmb_orddrid.attribute("left") = "222px";
  42. cmb_assgward.visible = false;
  43. cmb_orddeptcd.visible = false;
  44. cmb_orddrid.visible = true;
  45. ipt_pid.visible = false;
  46. } else if (rsflag == '5') {
  47. ipt_pid.attribute("top") = "8px";
  48. ipt_pid.attribute("left") = "222px";
  49. cmb_assgward.visible = false;
  50. cmb_orddeptcd.visible = false;
  51. cmb_orddrid.visible = false;
  52. ipt_pid.visible = true;
  53. ipt_pid.value = ""
  54. model.setFocus("ipt_pid");
  55. } else if (rsflag == '6') {
  56. ipt_pid.attribute("top") = "8px";
  57. ipt_pid.attribute("left") = "222px";
  58. cmb_assgward.visible = false;
  59. cmb_orddeptcd.visible = false;
  60. cmb_orddrid.visible = false;
  61. ipt_pid.visible = false;
  62. ipt_pid.value = ""
  63. } else if (rsflag == '7') {
  64. ipt_pid.attribute("top") = "8px";
  65. ipt_pid.attribute("left") = "222px";
  66. cmb_assgward.visible = false;
  67. cmb_orddeptcd.visible = false;
  68. cmb_orddrid.visible = false;
  69. ipt_pid.visible = false;
  70. ipt_pid.value = ""
  71. }
  72. }
  73. ]]>
  74. </script>
  75. <xhtml:head>
  76. <xhtml:title>입원예약조회</xhtml:title>
  77. <model id="model1">
  78. <instance id="instance1">
  79. <root xmlns="">
  80. <send>
  81. <inrsrvcond>1</inrsrvcond>
  82. <inrsrvcondnm/>
  83. <inhopeddfrom/>
  84. <inhopeddto/>
  85. <sendflag/>
  86. <sess_posinstcd/>
  87. <data1>
  88. <sess_posinstcd/>
  89. <ioflag/>
  90. </data1>
  91. </send>
  92. <hidden>
  93. <inhopeddchk/>
  94. <init>
  95. <disccd>
  96. <cd/>
  97. <nm/>
  98. </disccd>
  99. <insukind>
  100. <cd/>
  101. <nm/>
  102. </insukind>
  103. <suppkind>
  104. <cd/>
  105. <nm/>
  106. <up/>
  107. <io/>
  108. </suppkind>
  109. <orddeptcd>
  110. <cd/>
  111. <nm/>
  112. </orddeptcd>
  113. <orddrid>
  114. <cd/>
  115. <nm/>
  116. <dp/>
  117. </orddrid>
  118. <flag>
  119. <prestdd/>
  120. <mskindflag/>
  121. </flag>
  122. </init>
  123. <roomgrdelist>
  124. <roomgrde>
  125. <cdid/>
  126. <cdnm/>
  127. <newcdid/>
  128. <typecd/>
  129. <yn/>
  130. <cdyn/>
  131. </roomgrde>
  132. </roomgrdelist>
  133. </hidden>
  134. <adrvlist>
  135. <grdinrsrvspec/>
  136. </adrvlist>
  137. <init>
  138. <P0149list>
  139. <P0149>
  140. <cdnm/>
  141. <cdid/>
  142. </P0149>
  143. </P0149list>
  144. <P0017list>
  145. <P0017>
  146. <cdnm/>
  147. <cdid/>
  148. </P0017>
  149. </P0017list>
  150. <P0039list>
  151. <P0039>
  152. <cdnm/>
  153. <cdid/>
  154. </P0039>
  155. </P0039list>
  156. <P0313list>
  157. <P0313>
  158. <cdnm/>
  159. <cdid/>
  160. </P0313>
  161. </P0313list>
  162. <P0001list>
  163. <P0001>
  164. <cdnm/>
  165. <cdid/>
  166. </P0001>
  167. </P0001list>
  168. <P0020list>
  169. <P0020>
  170. <cdnm/>
  171. <cdid/>
  172. </P0020>
  173. </P0020list>
  174. <P0025list>
  175. <P0025>
  176. <cdnm/>
  177. <cdid/>
  178. </P0025>
  179. </P0025list>
  180. <PAM>
  181. <P0041list>
  182. <P0041>
  183. <cdid/>
  184. <cdnm/>
  185. <detl/>
  186. </P0041>
  187. </P0041list>
  188. </PAM>
  189. </init>
  190. <source>
  191. <pid/>
  192. </source>
  193. </root>
  194. </instance>
  195. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  196. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  197. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/init"/>
  198. <submission id="TRPMI00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/adrvlist"/>
  199. <!-- 20090820, JHP, 등급죽은거 산거 구분 보기 위해서 추가함. TRPMB00303 참조, 기존에 cdid와, cdnm만 있었는데 typecd추가함. (등급콤보에 모두적용)_ 입원등록, 입원예약, 병실배정, 전과전실승인, 재원변경등.여기도 추가. -->
  200. <submission id="TRPMI00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/hidden/roomgrdelist"/>
  201. </model>
  202. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  203. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  204. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  205. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  206. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  207. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  208. <script type="javascript" ev:event="xforms-ready">
  209. <![CDATA[
  210. zbcfGetCodeList(new Array("P0001","P0149","P0017","P0039","P0313", "P0020","P0025"),
  211. new Array("/root/init/P0001list","/root/init/P0149list","/root/init/P0017list","/root/init/P0039list","/root/init/P0313list", "/root/init/P0020list","/root/init/P0025list"));
  212. model.setValue("/root/send/inhopeddfrom",getCurrentDate());
  213. model.setValue("/root/send/inhopeddto",getCurrentDate());
  214. // model.setValue("/root/send/sess_posinstcd","012");
  215. // 2009.06.30 - DCC적용여부
  216. pamfGetCodeList(new Array("P0041"), new Array("/root/init/PAM/P0041list"));
  217. submit("TRPMI00106");
  218. // 2009.06.30 - DCC 적용여부
  219. var sDccYn = model.getValue("/root/init/PAM/P0041list/P0041[cdid='D01']/cdnm");
  220. if (sDccYn == "Y") {
  221. grd_inrsrvspec.colHidden(4) = false;
  222. } else {
  223. grd_inrsrvspec.colHidden(4) = true;
  224. }
  225. bol_inhopeddchk.selected = true;
  226. //20090820 JHP 추가_ 등급을 공통코드로 가져오는데 이는 입원료 수가 매핑과 관련해서 종료된 입원료를 컨트롤 할수 있는 소지가 있기에
  227. // 실제 수가와 매핑코드를 조회하여 살아있는 입원료 등급 코드를 가져온다.
  228. // 해당 조회를 실행한다음에 병실등급에 해당하는 콤보박스를 이걸로 바꾼다. 기존은 P0025(/root/init/P0025list/P0025)였다.
  229. var sUserInfosS = getUserInfos();
  230. sUserInfosS = sUserInfosS + "|";
  231. var UserInfosS_Array = sUserInfosS.split("|");
  232. var userid = UserInfosS_Array[0]; //사용자번호
  233. var usernm = UserInfosS_Array[1]; //사용자이름
  234. //var posinstcd = UserInfosS_Array[2]; //소속기관코드
  235. //var posinstnm = UserInfosS_Array[3]; //소속기관명
  236. var posinstcd = UserInfosS_Array[6]; //근무지기관코드 2009.04.15
  237. var posinstnm = UserInfosS_Array[7]; //근무지기관명 2009.04.15
  238. var posdeptcd = UserInfosS_Array[4]; //소속부서코드
  239. var posdeptnm = UserInfosS_Array[5]; //소속부서명
  240. model.setValue("/root/send/data1/sess_posinstcd",posinstcd);
  241. submit("TRPMI00405");
  242. model.refresh();
  243. ]]>
  244. </script>
  245. </xhtml:head>
  246. <xhtml:body guideline="1,1192;1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  247. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  248. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:100px; height:13px; ">입원예약조회</caption>
  249. </group>
  250. <group id="group3" style="left:0px; top:13px; width:1195px; height:744px; ">
  251. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
  252. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  253. <caption id="caption1" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">검색조건 :</caption>
  254. <line id="line2" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  255. <caption id="caption17" class="search_name" style="left:394px; top:9px; width:112px; height:17px; ">입원희망일자 :</caption>
  256. <select1 id="cmb_inrsrvcond" ref="/root/send/inrsrvcond" class="combo_search" appearance="minimal" style="left:104px; top:8px; width:115px; height:19px; ">
  257. <choices>
  258. <item>
  259. <label>환자번호</label>
  260. <value>5</value>
  261. </item>
  262. <item>
  263. <label>전체(입원제외)</label>
  264. <value>1</value>
  265. </item>
  266. <item>
  267. <label>배정병동</label>
  268. <value>2</value>
  269. </item>
  270. <item>
  271. <label>예약진료과</label>
  272. <value>3</value>
  273. </item>
  274. <item>
  275. <label>예약전문의</label>
  276. <value>4</value>
  277. </item>
  278. <item>
  279. <label>입원환자대상</label>
  280. <value>6</value>
  281. </item>
  282. <item>
  283. <label>입원예약취소</label>
  284. <value>7</value>
  285. </item>
  286. </choices>
  287. <script type="javascript" ev:event="xforms-select">
  288. <![CDATA[
  289. var rsflag = model.getValue("/root/send/inrsrvcond");
  290. frschlind(rsflag);
  291. ]]>
  292. </script>
  293. </select1>
  294. <input id="ipt_pid" ref="/root/send/inrsrvcondnm" class="input_search" visibility="hidden" style="left:252px; top:8px; width:105px; height:19px; ">
  295. <script type="javascript" ev:event="onkeypress">
  296. <![CDATA[
  297. if (event.keyCode=='13') {
  298. inputEnterKey("btn_search", "DOMActivate");
  299. }
  300. ]]>
  301. </script>
  302. </input>
  303. <select1 id="cmb_assgward" ref="/root/send/inrsrvcondnm" class="combo_search" visibility="hidden" appearance="minimal" style="left:222px; top:8px; width:110px; height:19px; ">
  304. <choices>
  305. <itemset nodeset="/root/hidden/init/wardcd">
  306. <label ref="nm"/>
  307. <value ref="cd"/>
  308. </itemset>
  309. </choices>
  310. <script type="javascript" ev:event="onkeypress">
  311. <![CDATA[
  312. inputEnterKey("btn_search", "DOMActivate");
  313. ]]>
  314. </script>
  315. </select1>
  316. <select1 id="cmb_orddeptcd" ref="/root/send/inrsrvcondnm" class="combo_search" visibility="hidden" appearance="minimal" style="left:232px; top:8px; width:110px; height:19px; ">
  317. <choices>
  318. <itemset nodeset="/root/hidden/init/orddeptcd">
  319. <label ref="nm"/>
  320. <value ref="cd"/>
  321. </itemset>
  322. </choices>
  323. </select1>
  324. <select1 id="cmb_orddrid" ref="/root/send/inrsrvcondnm" class="combo_search" visibility="hidden" appearance="minimal" editmode="search" style="left:242px; top:8px; width:110px; height:19px; ">
  325. <choices>
  326. <itemset nodeset="/root/hidden/init/orddrid">
  327. <label ref="nm"/>
  328. <value ref="cd"/>
  329. </itemset>
  330. </choices>
  331. </select1>
  332. <input id="ipt_inhopeddfrom" ref="/root/send/inhopeddfrom" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:527px; top:8px; width:98px; height:19px; "/>
  333. <input id="ipt_inhopeddto" ref="/root/send/inhopeddto" class="input_search" inputtype="date" style="left:647px; top:8px; width:98px; height:19px; "/>
  334. <caption id="cpt_line" class="search_no_b" style="left:630px; top:9px; width:12px; height:17px; ">~</caption>
  335. <bool id="bol_inhopeddchk" ref="/root/hidden/inhopeddchk" style="left:509px; top:11px; width:15px; height:15px; ">
  336. <script type="javascript" ev:event="xforms-select">
  337. <![CDATA[
  338. ipt_inhopeddfrom.visible = true;
  339. ipt_inhopeddto.visible = true;
  340. cpt_line.visible = true;
  341. model.setValue("/root/send/inhopeddfrom",getCurrentDate());
  342. model.setValue("/root/send/inhopeddto",getCurrentDate());
  343. //model.setValue("",getCurrentDate());
  344. model.refresh();
  345. ]]>
  346. </script>
  347. <script type="javascript" ev:event="xforms-deselect">
  348. <![CDATA[
  349. ipt_inhopeddfrom.value = ""
  350. ipt_inhopeddto.value = ""
  351. //cpt_line.visible = false;
  352. model.refresh();
  353. ]]>
  354. </script>
  355. </bool>
  356. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  357. <caption>조회</caption>
  358. <script type="javascript" ev:event="DOMActivate">
  359. <![CDATA[
  360. //입원예약조회 구분 플래그
  361. var sendflag = "I";
  362. model.setValue("/root/send/sendflag", sendflag);
  363. submit("TRPMI00601");
  364. for (var idx = 1 ; idx <= grd_inrsrvspec.rows ; idx++) {
  365. var sRealInYN = model.getValue("/root/adrvlist/grdinrsrvspec[" + idx + "]/realinyn");
  366. if (sRealInYN == "Y") {
  367. grd_inrsrvspec.rowStyle( idx , "all", "background-color") = "#ffff66";
  368. } else {
  369. grd_inrsrvspec.rowStyle( idx , "all", "background-color") = "#ffffff";
  370. }
  371. }
  372. model.refresh();
  373. ]]>
  374. </script>
  375. </button>
  376. </group>
  377. <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:300px; height:13px; font-family:돋움; vertical-align:middle; ">입원예약내역</caption>
  378. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  379. <datagrid id="grd_inrsrvspec" nodeset="/root/adrvlist/grdinrsrvspec" class="datagrid2" caption="구분^입원&#xA;여부^입원예약^DCC^환자번호^환자성명^성별^나이^대기&#xA;일수^환자희망&#xA;입원일^입원희망일^수술예정일^수술확정^예상&#xA;재원기간^CP&#xA;여부^병실등급&#xA;FROM^병실등급&#xA;TO^예약진료과^전문의^원무전달사항^병동형태&#xA;(센터세부병동)^진단코드^진단명^접수일자^보험유형^연락처^휴대폰^보호자&#xA;연락처^생년월일^지시의사^지시일자^배정병동^배정병실^BMT&#xA;여부^격리실&#xA;여부^특실&#xA;여부^특이사항^결정서&#xA;취소사유^취소&#xA;참고사항^임상시험&#xA;접수^임상시험&#xA;과제번호^최종&#xA;수정일시^진료&#xA;전달사항^원무&#xA;전달사항^출력용병실&#xA;From^출력용병실&#xA;To^출력용&#xA;진료과^재원&#xA;여부^출력병실&#xA;등급" colsep="^" colwidth="54, 53, 70, 35, 70, 70, 40, 29, 42, 78, 71, 69, 54, 61, 37, 91, 99, 93, 50, 297, 121, 101, 153, 73, 72, 86, 87, 87, 94, 57, 77, 84, 71, 40, 48, 39, 108, 129, 117, 70, 75, 144, 261, 453, 87, 72, 82, 35, 89" dataheight="23" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1194px; height:669px; ">
  380. <col disabled="true" ref="erreglyn" type="combo" visibility="hidden" style="text-align:center; ">
  381. <choices>
  382. <itemset nodeset="/root/init/P0001list/P0001">
  383. <label ref="cdnm"/>
  384. <value ref="cdid"/>
  385. </itemset>
  386. </choices>
  387. </col>
  388. <col disabled="true" ref="inflag" type="combo" style="text-align:center; ">
  389. <choices>
  390. <item>
  391. <label>입원</label>
  392. <value>Y</value>
  393. </item>
  394. <item>
  395. <label>미입원</label>
  396. <value>G</value>
  397. </item>
  398. <item>
  399. <label>재원중</label>
  400. <value>I</value>
  401. </item>
  402. </choices>
  403. </col>
  404. <col disabled="true" ref="inrsrvstat" type="combo" style="text-align:left; ">
  405. <choices>
  406. <itemset nodeset="/root/init/P0017list/P0017">
  407. <label ref="cdnm"/>
  408. <value ref="cdid"/>
  409. </itemset>
  410. </choices>
  411. </col>
  412. <col disabled="true" ref="erreglyn" type="combo" style="text-align:center; ">
  413. <choices>
  414. <item>
  415. <label>Y</label>
  416. <value>F</value>
  417. </item>
  418. <item>
  419. <label/>
  420. <value>I</value>
  421. </item>
  422. </choices>
  423. </col>
  424. <col ref="pid" style="left:287px; top:23px; width:90px; height:23px; text-align:left; "/>
  425. <col ref="hngnm" style="text-align:left; "/>
  426. <col disabled="true" ref="sex" type="combo" style="text-align:center; ">
  427. <choices>
  428. <itemset nodeset="/root/init/P0313list/P0313">
  429. <label ref="cdnm"/>
  430. <value ref="cdid"/>
  431. </itemset>
  432. </choices>
  433. </col>
  434. <col ref="age" style="text-align:center; "/>
  435. <col ref="delay" style="text-align:center; "/>
  436. <col ref="patinhopedd" format="yyyy-mm-dd" style="text-align:center; "/>
  437. <col ref="inhopedd" format="yyyy-mm-dd" style="text-align:center; "/>
  438. <col ref="adrv_scheopdd" format="yyyy-mm-dd" style="text-align:center; "/>
  439. <col ref="opcnfmyn" style="text-align:center; "/>
  440. <col ref="fcstinterm" style="text-align:center; "/>
  441. <col ref="cpyn" style="text-align:center; "/>
  442. <!-- 20090820 JHP 수정 : 병실등급 살아있는걸로만...(기존거는 주석처리) nodeset="/root/init/P0025list/P0025" label ref="cdnm" value ref="cdid"-->
  443. <col disabled="true" ref="inhoperoomgrdefrom" type="combo" style="text-align:left; ">
  444. <choices>
  445. <itemset nodeset="/root/hidden/roomgrdelist/roomgrde">
  446. <label ref="cdnm"/>
  447. <value ref="cdid"/>
  448. </itemset>
  449. </choices>
  450. </col>
  451. <!-- 20090820 JHP 수정 : 병실등급 살아있는걸로만...(기존거는 주석처리) nodeset="/root/init/P0025list/P0025" label ref="cdnm" value ref="cdid"-->
  452. <col disabled="true" ref="inhoperoomgrdeto" type="combo" style="text-align:left; ">
  453. <choices>
  454. <itemset nodeset="/root/hidden/roomgrdelist/roomgrde">
  455. <label ref="cdnm"/>
  456. <value ref="cdid"/>
  457. </itemset>
  458. </choices>
  459. </col>
  460. <col disabled="true" ref="orddeptnm" type="output" style="text-align:left; "/>
  461. <col disabled="true" ref="orddrnm" type="output" style="text-align:left; "/>
  462. <col ref="inrsrvrem"/>
  463. <col disabled="true" ref="wardtypespecwardcd" type="output"/>
  464. <col disabled="true" ref="diagcd" type="output"/>
  465. <col disabled="true" ref="diagnm" type="output"/>
  466. <col ref="inrsrvacptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  467. <col ref="insukind" type="combo" style="text-align:center; ">
  468. <choices>
  469. <itemset nodeset="/root/hidden/init/insukind">
  470. <label ref="nm"/>
  471. <value ref="cd"/>
  472. </itemset>
  473. </choices>
  474. </col>
  475. <col ref="hometel" style="text-align:center; "/>
  476. <col ref="mpphontel" style="text-align:center; "/>
  477. <col ref="etctel1"/>
  478. <!-- col ref="rrgstno" format="999999-9999999" style="text-align:center; "/ -->
  479. <col ref="rrgstno" format="99/99/99" style="text-align:center; "/>
  480. <col disabled="true" ref="indirecdrnm" type="output" style="text-align:left; "/>
  481. <col ref="indirecdd" format="yyyy-mm-dd" style="text-align:center; "/>
  482. <col disabled="true" ref="assgward" type="combo" style="text-align:left; ">
  483. <choices>
  484. <itemset nodeset="/root/hidden/init/wardcd">
  485. <label ref="nm"/>
  486. <value ref="cd"/>
  487. </itemset>
  488. </choices>
  489. </col>
  490. <col ref="assgroom" rstyle="left:1147px; top:25px; width:80px; height:25px;" style="text-align:left; "/>
  491. <col ref="bmtyn" style="text-align:center; "/>
  492. <col ref="isolroomyn" style="text-align:center; "/>
  493. <col ref="specroomyn" style="text-align:center; "/>
  494. <col ref="Inrsrvrem"/>
  495. <col disabled="true" ref="inrsrvcnclresn" type="combo">
  496. <choices>
  497. <itemset nodeset="/root/init/P0020list/P0020">
  498. <label ref="cdnm"/>
  499. <value ref="cdid"/>
  500. </itemset>
  501. </choices>
  502. </col>
  503. <col ref="inrsrvcnclresnrem"/>
  504. <col disabled="true" ref="clincstdyacptflag" type="combo">
  505. <choices>
  506. <item>
  507. <label>-</label>
  508. <value>N</value>
  509. </item>
  510. <item>
  511. <label>임상(전액청구)</label>
  512. <value>P</value>
  513. </item>
  514. <item>
  515. <label>임상(진찰료제외)</label>
  516. <value>Q</value>
  517. </item>
  518. <item>
  519. <label>동물임상</label>
  520. <value>A</value>
  521. </item>
  522. </choices>
  523. </col>
  524. <col ref="clincstdyno"/>
  525. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  526. <col ref="drrem"/>
  527. <col ref="inrsrvrem" visibility="hidden"/>
  528. <col ref="inhoperoomgrdefromnm" visibility="hidden"/>
  529. <col ref="inhoperoomgrdetonm" visibility="hidden"/>
  530. <col ref="deptengabbr" visibility="hidden"/>
  531. <col ref="inhospyn" type="output" visibility="hidden"/>
  532. <col ref="inhoperoomgrdenm" type="output" visibility="hidden"/>
  533. <script type="javascript" ev:event="ondblclick">
  534. <![CDATA[
  535. if (isDataCell()) {
  536. var sPid = model.getValue("/root/adrvlist/grdinrsrvspec[" + grd_inrsrvspec.row + "]/pid");
  537. model.setValue("/root/source/pid", sPid);
  538. modal("../../../pam/ipatmngtweb/xrw/SMPMI00200", "1","50", "50", "SMPMI00200", "/root/source", "/root/hidden/source");
  539. }
  540. ]]>
  541. </script>
  542. <script type="javascript" ev:event="onaftersort">
  543. <![CDATA[
  544. //sorting 시 인스턴스 구조를 재구성
  545. grd_inrsrvspec.gridToInstance();
  546. model.refresh();
  547. ]]>
  548. </script>
  549. </datagrid>
  550. <button id="btn_excsave" class="btn2_letter4" style="left:1130px; top:50px; width:64px; height:19px; ">
  551. <caption>액셀저장</caption>
  552. <script type="javascript" ev:event="DOMActivate">
  553. <![CDATA[
  554. var fileName = window.fileDialog("save", ",", false, getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  555. if (fileName != "")
  556. {
  557. grd_inrsrvspec.saveExcel(fileName, "SheetName", true, true, "", "", false);
  558. }
  559. ]]>
  560. </script>
  561. </button>
  562. <button id="btn_print" class="btn2_letter2" style="left:1085px; top:50px; width:42px; height:19px; ">
  563. <caption>출력</caption>
  564. <script type="javascript" ev:event="DOMActivate">
  565. <![CDATA[
  566. exeReportPreview("RPPMI00601", "XMLSTR", "", "", "true", "", "", "", "", "true", "", "");
  567. ]]>
  568. </script>
  569. </button>
  570. <shape id="rectangle1" appearance="rectangle" style="left:995px; top:53px; width:15px; height:15px; background-color:#ffff66; "/>
  571. <caption id="caption3" style="left:1015px; top:54px; width:45px; height:15px; ">재원중</caption>
  572. </group>
  573. <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
  574. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  575. <button id="btn_clear" accesskey="f7" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  576. <caption>초기화</caption>
  577. <script type="javascript" ev:event="DOMActivate">
  578. <![CDATA[
  579. fInitialize();
  580. ]]>
  581. </script>
  582. </button>
  583. </group>
  584. </xhtml:body>
  585. </xhtml:html>