SPPMC07200_수진내역상세처방리스트.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  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. <xhtml:head>
  5. <xhtml:title>상세처방리스트</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <ptpclist/>
  11. </main>
  12. <send>
  13. <searchflag>A</searchflag>
  14. <ptcmcode/>
  15. <pid/>
  16. <cretno/>
  17. <ioflag>A</ioflag>
  18. <orddd/>
  19. <data/>
  20. <dschdd/>
  21. <fromdd/>
  22. <todd/>
  23. <orddeptcd/>
  24. <orddrid/>
  25. <data2>
  26. <retiredrdisp>Y</retiredrdisp>
  27. </data2>
  28. <searchall/>
  29. <ioflag/>
  30. </send>
  31. <init>
  32. <P0110list>
  33. <P0110>
  34. <cdnm/>
  35. <cdid/>
  36. </P0110>
  37. </P0110list>
  38. <orddeptcd>
  39. <orddeptcdlist/>
  40. </orddeptcd>
  41. <orddrid>
  42. <orddridlist/>
  43. </orddrid>
  44. </init>
  45. <temp/>
  46. <popupmenu>
  47. <grd_ptcmprcplist>
  48. <item1>
  49. <name>진찰료,병실료등의 선택진료여부-&gt;N</name>
  50. <func>fSetIcdrSpecN</func>
  51. </item1>
  52. <item1>
  53. <name>진찰료,병실료등의 선택진료여부-&gt;Y</name>
  54. <func>fSetIcdrSpecY</func>
  55. </item1>
  56. </grd_ptcmprcplist>
  57. </popupmenu>
  58. </root>
  59. </instance>
  60. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  61. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  62. <submission id="TRPMC03021" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ptcmprcplist"/>
  63. <submission id="TRPMC03022" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ptcmprcplist"/>
  64. <submission id="TXPMC03021" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/temp"/>
  65. <submission id="TRPAM00107" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
  66. </model>
  67. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  69. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  70. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  71. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  72. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  73. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  74. <script type="javascript" ev:event="xforms-ready">
  75. <![CDATA[
  76. fInitialize();
  77. // 원무공통코드 조회
  78. pamfGetCodeList(new Array("P0110" ), new Array("/root/init/P0110list") );
  79. pamGetDeptCDDrIDListAll();
  80. if (checkOpener()) {
  81. // btn_init.visible = true;
  82. var vpid = opener.javascript.getParameter("pid");
  83. if(vpid != null) {
  84. model.setValue("/root/send/pid" , opener.javascript.getParameter("pid"));
  85. model.setValue("/root/send/cretno" , opener.javascript.getParameter("cretno"));
  86. model.setValue("/root/send/orddd" , opener.javascript.getParameter("orddd"));
  87. model.setValue("/root/send/dschdd", opener.javascript.getParameter("dschdd"));
  88. model.setValue("/root/send/ioflag" , opener.javascript.getParameter("ioflag"));
  89. submit("TRPMC03021");
  90. // 그리드 상태표시 초기화
  91. for(var i = 0 ; i < grd_ptcmprcplist.rows; i++) {
  92. if(grd_ptcmprcplist.valueMatrix(i,grd_ptcmprcplist.colRef("ptcmcode")) == "4" && grd_ptcmprcplist.valueMatrix(i, grd_ptcmprcplist.colRef("seqno")) == "") {
  93. grd_ptcmprcplist.rowStatus(i) = 2;
  94. } else {
  95. grd_ptcmprcplist.rowStatus(i) = 0;
  96. }
  97. }
  98. grd_ptcmprcplist.colStyle(10, "data", "background-color") = "#FFF000";
  99. grd_ptcmprcplist.colStyle(11, "data", "background-color") = "#FFF000";
  100. model.refresh();
  101. }
  102. }
  103. ]]>
  104. </script>
  105. <script type="javascript">
  106. <![CDATA[
  107. function fInitialize() {
  108. model.removeNodeset("/root/main/ptpclist");
  109. rdo_searchflag.disabled = false;
  110. // 접수일 올해일자만 고정
  111. model.setValue("/root/send/fromdd", getCurrentDate().substring(0,4)+"0101");
  112. model.setValue("/root/send/todd", getCurrentDate());
  113. rdo_searchflag.disabled = false;
  114. ipt_pid.disabled = true;
  115. ipt_fromdd.disabled = true;
  116. ipt_todd.disabled = true;
  117. cmb_search_orddeptcd.disabled = true;
  118. cmb_search_orddrid.disabled = true;
  119. rdo_ioflag.disabled = true;
  120. model.refresh();
  121. }
  122. ]]>
  123. </script>
  124. </xhtml:head>
  125. <xhtml:body pagewidth="1055" pageheight="595" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  126. <group id="group1" style="left:0px; top:0px; width:1035px; height:13px; ">
  127. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:163px; height:14px; ">수진내역 상세처방리스트</caption>
  128. </group>
  129. <group id="group3" scroll="auto" style="left:0px; top:85px; width:1033px; height:468px; ">
  130. <button id="button5" class="btn2_letter4" visibility="visible" style="left:965px; top:2px; width:64px; height:19px; ">
  131. <caption>엑셀저장</caption>
  132. <script type="javascript" ev:event="DOMActivate">
  133. <![CDATA[
  134. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  135. if (fileName != "")
  136. {
  137. grd_ptcmprcplist.saveExcel(fileName, "수진내역처방", true, true, "", "", true);
  138. }
  139. ]]>
  140. </script>
  141. </button>
  142. <datagrid id="grd_ptcmprcplist" nodeset="/root/main/ptpclist" visibility="visible" caption="환자번호^환자명^진료과^진료의^진료일^보험유형^내원구분^처방코드^처방명^민원처리구분1^민원처리구분2^투여량^횟수^일수^총진료비^본인부담금^기관부담금^급여액^비급여액^선택진료료^MEMO" colsep="^" colwidth="70, 60, 100, 60, 75, 75, 60, 80, 150, 100, 100, 40, 40, 40, 80, 80, 80, 80, 80, 80, 180, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="0" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:27px; width:1032px; height:440px; ">
  143. <col ref="pid" type="output" visibility="visible" style="text-align:center; "/>
  144. <col ref="pnm" type="output" visibility="visible" style="text-align:center; "/>
  145. <col ref="orddeptnm" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
  146. <col ref="orddrnm" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
  147. <col ref="orddd" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
  148. <col ref="insukindnm" type="output" style="text-align:center; "/>
  149. <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
  150. <choices>
  151. <item>
  152. <label>입원</label>
  153. <value>I</value>
  154. </item>
  155. <item>
  156. <label>외래</label>
  157. <value>O</value>
  158. </item>
  159. </choices>
  160. </col>
  161. <col ref="prcpcd" type="output" style="text-align:left; padding-right:5; "/>
  162. <col ref="hngnm" type="output" style="text-align:left; padding-right:5; "/>
  163. <col ref="ptcmcode" type="combo" style="text-align:center; padding-right:5; ">
  164. <choices>
  165. <itemset nodeset="/root/init/P0110list/P0110">
  166. <label ref="cdnm"/>
  167. <value ref="cdid"/>
  168. </itemset>
  169. </choices>
  170. </col>
  171. <col ref="ptcmcode1" type="combo" style="text-align:center; padding-right:5; ">
  172. <choices>
  173. <item>
  174. <label/>
  175. <value/>
  176. </item>
  177. <item>
  178. <label>선택진료 불인정</label>
  179. <value>7</value>
  180. </item>
  181. </choices>
  182. </col>
  183. <col ref="calcqty" type="output" format="#,###" style="text-align:right; padding-right:1; "/>
  184. <col ref="calctims" type="output" format="#,###" style="text-align:right; padding-right:1; "/>
  185. <col ref="calcdays" type="output" format="#,###" style="text-align:right; padding-right:1; "/>
  186. <col ref="totordamt" type="output" format="#,###" style="text-align:right; padding-right:1; "/>
  187. <col ref="ownbamt" type="output" format="#,###" style="text-align:right; padding-right:1; "/>
  188. <col ref="insubamt" type="output" format="#,###" style="text-align:right; padding-right:1; "/>
  189. <col ref="payamt" type="output" format="#,###" style="text-align:right; padding-right:1; "/>
  190. <col ref="nopyamt" type="output" format="#,###" style="text-align:right; padding-right:1; "/>
  191. <col ref="specordamt" type="output" format="#,###" style="text-align:right; padding-right:1; "/>
  192. <col ref="memo" type="input" visibility="hidden"/>
  193. <col ref="instcd" type="output" visibility="hidden"/>
  194. <col ref="cretno" type="output" visibility="hidden"/>
  195. <col ref="orddeptcd" type="output" visibility="hidden"/>
  196. <col ref="orddrid" type="output" visibility="hidden"/>
  197. <col ref="mskind" type="output" visibility="hidden"/>
  198. <col ref="ordtype" type="output" visibility="hidden"/>
  199. <col ref="prcpno" type="output" visibility="hidden"/>
  200. <col ref="seqno" type="output" visibility="hidden"/>
  201. <script type="javascript" ev:event="xforms-value-changed">
  202. <![CDATA[
  203. // 멀티 선택시 민원처리구분 동시 변경
  204. var rowno = grd_ptcmprcplist.row;
  205. var rowcnt = grd_ptcmprcplist.selectedRows;
  206. if ( grd_ptcmprcplist.col == grd_ptcmprcplist.colRef("ptcmcode") || grd_ptcmprcplist.col == grd_ptcmprcplist.colRef("ptcmcode1")) {
  207. var ptcmcode_val = grd_ptcmprcplist.valueMatrix(grd_ptcmprcplist.row, grd_ptcmprcplist.colRef("ptcmcode"));
  208. var ptcmcode1_val = grd_ptcmprcplist.valueMatrix(grd_ptcmprcplist.row, grd_ptcmprcplist.colRef("ptcmcode1"));
  209. if (ptcmcode_val == "7") {
  210. grd_ptcmprcplist.valueMatrix(grd_ptcmprcplist.row, grd_ptcmprcplist.colRef("ptcmcode1")) = "";
  211. }
  212. if(ptcmcode1_val =="7" && ptcmcode_val == "7") {
  213. messageBox(" '선택진료 불인정'을 중복 입력할수 없습니다.", "E");
  214. grd_ptcmprcplist.valueMatrix(grd_ptcmprcplist.row, grd_ptcmprcplist.colRef("ptcmcode1")) = "";
  215. }
  216. }
  217. for(var i = 0 ; i < rowcnt ; i++) {
  218. grd_ptcmprcplist.valueMatrix(grd_ptcmprcplist.selectedRow(i), grd_ptcmprcplist.colRef("ptcmcode")) = grd_ptcmprcplist.valueMatrix(rowno, grd_ptcmprcplist.colRef("ptcmcode"));
  219. if(grd_ptcmprcplist.valueMatrix(grd_ptcmprcplist.selectedRow(i), grd_ptcmprcplist.colRef("ptcmcode")) == "" && grd_ptcmprcplist.valueMatrix(grd_ptcmprcplist.selectedRow(i), grd_ptcmprcplist.colRef("seqno")) == "") {
  220. grd_ptcmprcplist.rowStatus(i) = 0;
  221. } else {
  222. grd_ptcmprcplist.rowStatus(grd_ptcmprcplist.selectedRow(i)) = 2;
  223. }
  224. }
  225. grd_ptcmprcplist.refresh();
  226. ]]>
  227. </script>
  228. <script type="javascript" ev:event="onmousedown">
  229. <![CDATA[
  230. //setPopupMenu("grd_ptcmprcplist", false, "/root/popupmenu/grd_icdr/item1", "name", "func");
  231. ]]>
  232. </script>
  233. </datagrid>
  234. <caption id="caption3" class="tit_2" style="left:5px; top:5px; width:157px; height:13px; ">처방내역</caption>
  235. <line id="line3" class="line_1" style="x1:0px; y1:24px; x2:1031px; y2:23px; "/>
  236. </group>
  237. <group id="group4" scroll="auto" style="left:0px; top:552px; width:1031px; height:43px; ">
  238. <line id="line23" class="line_6" style="x1:0px; y1:3px; x2:1028px; y2:3px; "/>
  239. <button id="btn_init" class="btn4_letter2" visibility="visible" style="left:969px; top:13px; width:56px; height:22px; ">
  240. <caption>닫기</caption>
  241. <script type="javascript" ev:event="DOMActivate">
  242. <![CDATA[
  243. window.close();
  244. ]]>
  245. </script>
  246. </button>
  247. <button id="button1" class="btn4_letter2" navindex="36" style="left:907px; top:13px; width:56px; height:22px; ">
  248. <caption>저장</caption>
  249. <script type="javascript" ev:event="onclick">
  250. <![CDATA[
  251. var update = getGridUpdateData(grd_ptcmprcplist);
  252. var vrtnschenotiamt = 0; // 환불결정액
  253. var vpaycalcamt = 0; // 급여정산액
  254. var vpurertnamt = 0; // 순수환불액
  255. if(update == ""){
  256. messageBox("업데이트 정보가 없습니다.", "I");
  257. return 0;
  258. } else {
  259. model.setValue("/root/send/data", update);
  260. submit("TXPMC03021");
  261. }
  262. var rowcnt = grd_ptcmprcplist.rows;
  263. for(var i = 1 ; i < rowcnt ; i++) {
  264. grd_ptcmprcplist.rowStatus(i) = 0;
  265. // 급여, 징수불가 항목 환불결정액으로
  266. if(grd_ptcmprcplist.valueMatrix(i,grd_ptcmprcplist.colRef("ptcmcode")) == "1" || grd_ptcmprcplist.valueMatrix(i,grd_ptcmprcplist.colRef("ptcmcode")) == "5") {
  267. vrtnschenotiamt = vrtnschenotiamt + eval(grd_ptcmprcplist.valueMatrix(i,grd_ptcmprcplist.colRef("nopyamt")));
  268. }
  269. // 선택진료 불인정 항목 환불결정액으로
  270. if(grd_ptcmprcplist.valueMatrix(i,grd_ptcmprcplist.colRef("ptcmcode")) == "7" || grd_ptcmprcplist.valueMatrix(i,grd_ptcmprcplist.colRef("ptcmcode1")) == "7") {
  271. vrtnschenotiamt = vrtnschenotiamt + eval(grd_ptcmprcplist.valueMatrix(i,grd_ptcmprcplist.colRef("specordamt")));
  272. }
  273. // 급여 항목만 급여정산액으로
  274. if(grd_ptcmprcplist.valueMatrix(i,grd_ptcmprcplist.colRef("ptcmcode")) == "1") {
  275. vpaycalcamt = vpaycalcamt + eval(grd_ptcmprcplist.valueMatrix(i,grd_ptcmprcplist.colRef("nopyamt")));
  276. }
  277. }
  278. // 환불결정액 - 급여정산액 = 순수환불액
  279. vpurertnamt = vrtnschenotiamt - vpaycalcamt;
  280. // 수진내역관리 화면에 적용 start
  281. opener.model.setValue("/root/main/ptpm/rtnschenotiamt", vrtnschenotiamt);
  282. opener.model.setValue("/root/main/ptpm/paycalcamt", vpaycalcamt);
  283. opener.model.setValue("/root/main/ptpm/addclamamt", vpaycalcamt); // 추가청구액
  284. opener.model.setValue("/root/main/ptpm/purertnamt", vpurertnamt);
  285. opener.ipt_rtnschenotiamt.refresh();
  286. opener.ipt_paycalcamt.refresh();
  287. opener.ipt_purertnamt.refresh();
  288. opener.ipt_rtnschenotiamt.dispatch("DOMFocusOut");
  289. opener.model.refresh();
  290. // 수진내역관리 화면에 적용 end
  291. btn_search.dispatch("DOMActivate");
  292. ]]>
  293. </script>
  294. </button>
  295. </group>
  296. <group id="group2" style="left:0px; top:25px; width:1034px; height:56px; vertical-align:top; ">
  297. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1033px; height:56px; background-color:#fffbf2; border-color:#ffd799; "/>
  298. <caption id="caption1" class="search_name" style="left:15px; top:8px; width:90px; height:17px; ">조회구분 :</caption>
  299. <button id="btn_search" class="btn1_letter2" style="left:972px; top:19px; width:56px; height:22px; ">
  300. <caption>조회</caption>
  301. <script type="javascript" ev:event="DOMActivate">
  302. <![CDATA[
  303. model.removeNodeset("/root/main/ptpclist");
  304. // 조회 분기 : 환자번호 없을 경우 적용처방만 조회하여 기간줘서 조회
  305. if(model.getValue("/root/send/searchall") == "Y") {
  306. submit("TRPMC03022");
  307. } else {
  308. submit("TRPMC03021");
  309. }
  310. // 그리드 상태표시 초기화
  311. for(var i = 0 ; i < grd_ptcmprcplist.rows; i++) {
  312. if(grd_ptcmprcplist.valueMatrix(i,grd_ptcmprcplist.colRef("ptcmcode")) == "4" && grd_ptcmprcplist.valueMatrix(i, grd_ptcmprcplist.colRef("seqno")) == "") {
  313. grd_ptcmprcplist.rowStatus(i) = 2;
  314. } else {
  315. grd_ptcmprcplist.rowStatus(i) = 0;
  316. }
  317. }
  318. grd_ptcmprcplist.colStyle(10, "data", "background-color") = "#FFF000";
  319. grd_ptcmprcplist.refresh();
  320. ]]>
  321. </script>
  322. </button>
  323. <select1 id="rdo_searchflag" ref="/root/send/searchflag" appearance="full" cellspacing="7" cols="3" overflow="visible" style="left:105px; top:8px; width:240px; height:20px; border-style:none; ">
  324. <choices>
  325. <item>
  326. <label>전체처방</label>
  327. <value>A</value>
  328. </item>
  329. <item>
  330. <label>미적용처방</label>
  331. <value>X</value>
  332. </item>
  333. <item>
  334. <label>적용처방</label>
  335. <value>Y</value>
  336. </item>
  337. </choices>
  338. </select1>
  339. <caption id="caption2" class="search_name" style="left:465px; top:8px; width:117px; height:17px; ">민원처리구분 :</caption>
  340. <select1 id="cmb_ptcmcode" ref="/root/send/ptcmcode" navindex="2" appearance="minimal" style="left:585px; top:7px; width:130px; height:19px; ">
  341. <choices>
  342. <itemset nodeset="/root/init/P0110list/P0110">
  343. <label ref="cdnm"/>
  344. <value ref="cdid"/>
  345. </itemset>
  346. </choices>
  347. <script type="javascript" ev:event="xforms-value-changed">
  348. <![CDATA[
  349. // if(cmb_jipcode.value!= "") {
  350. // rdo_searchflag.value = "Y";
  351. // rdo_searchflag.refresh();
  352. // }
  353. ]]>
  354. </script>
  355. </select1>
  356. <caption id="caption4" class="search_name" visibility="visible" style="left:754px; top:8px; width:88px; height:17px; ">환자번호 :</caption>
  357. <input id="ipt_pid" ref="/root/send/pid" class="input_default" visibility="visible" style="left:843px; top:7px; width:89px; height:19px; ">
  358. <script type="javascript" ev:event="onkeypress">
  359. <![CDATA[
  360. inputEnterKey("btn_search", "DOMActivate");
  361. ]]>
  362. </script>
  363. </input>
  364. <select1 id="cmb_search_orddeptcd" ref="/root/send/orddeptcd" class="combo_default" disabled="false" visibility="visible" appearance="minimal" itemcount="20" style="left:625px; top:33px; width:115px; height:19px; ">
  365. <choices>
  366. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  367. <label ref="nm"/>
  368. <value ref="cd"/>
  369. </itemset>
  370. </choices>
  371. <script type="javascript" ev:event="xforms-value-changed">
  372. <![CDATA[
  373. cmb_search_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + model.getValue("/root/send/orddeptcd") + "']";
  374. //model.setValue("/root/main/ptpm/orddeptnm", cmb_orddeptcd.label);
  375. model.resetInstanceNode("/root/send/orddrid"); // 진료과가 변경되었으므로 주치의를 초기화한다.
  376. model.refresh();
  377. //cmb_search_orddrid.disabled = false;
  378. ]]>
  379. </script>
  380. </select1>
  381. <caption id="caption55" class="search_name" visibility="visible" style="left:536px; top:34px; width:83px; height:17px; ">진 료 과 :</caption>
  382. <select1 id="cmb_search_orddrid" ref="/root/send/orddrid" class="combo_default" disabled="false" visibility="visible" appearance="minimal" style="left:842px; top:33px; width:90px; height:19px; ">
  383. <choices>
  384. <itemset nodeset="/root/init/orddrid/orddridlist">
  385. <label ref="nm"/>
  386. <value ref="cd"/>
  387. </itemset>
  388. </choices>
  389. </select1>
  390. <caption id="caption69" class="search_name" visibility="visible" style="left:754px; top:34px; width:85px; height:17px; ">주 치 의 :</caption>
  391. <caption id="caption92" class="search_name" visibility="visible" style="left:15px; top:34px; width:90px; height:17px; ">진료일자 :</caption>
  392. <caption id="caption5" visibility="visible" style="left:192px; top:35px; width:12px; height:16px; vertical-align:middle; ">~</caption>
  393. <input id="ipt_todd" ref="/root/send/todd" class="input_default" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:205px; top:33px; width:85px; height:19px; "/>
  394. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_default" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:105px; top:33px; width:85px; height:19px; "/>
  395. <line id="line2" class="line_4" visibility="visible" style="x1:963px; y1:7px; x2:963px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
  396. <select id="checkbox1" ref="/root/send/searchall" overflow="visible" appearance="full" style="left:347px; top:8px; width:80px; height:15px; border-style:none; ">
  397. <choices>
  398. <item>
  399. <label>적용전체</label>
  400. <value>Y</value>
  401. </item>
  402. </choices>
  403. <script type="javascript" ev:event="xforms-value-changed">
  404. <![CDATA[
  405. if(model.getValue("/root/send/searchall") == "Y") {
  406. rdo_searchflag.disabled = true;
  407. ipt_pid.disabled = false;
  408. ipt_fromdd.disabled = false;
  409. ipt_todd.disabled = false;
  410. cmb_search_orddeptcd.disabled = false;
  411. cmb_search_orddrid.disabled = false;
  412. rdo_ioflag.disabled = false;
  413. } else {
  414. rdo_searchflag.disabled = false;
  415. ipt_pid.disabled = true;
  416. ipt_fromdd.disabled = true;
  417. ipt_todd.disabled = true;
  418. cmb_search_orddeptcd.disabled = true;
  419. cmb_search_orddrid.disabled = true;
  420. rdo_ioflag.disabled = true;
  421. }
  422. ]]>
  423. </script>
  424. </select>
  425. <caption id="caption50" class="search_name" visibility="visible" style="left:310px; top:35px; width:80px; height:17px; ">구 분 :</caption>
  426. <select1 id="rdo_ioflag" ref="/root/send/ioflag" visibility="visible" appearance="full" cols="4" overflow="visible" style="left:390px; top:35px; width:130px; height:16px; border-style:none; ">
  427. <choices>
  428. <item>
  429. <label>전체</label>
  430. <value>A</value>
  431. </item>
  432. <item>
  433. <label>외래</label>
  434. <value>O</value>
  435. </item>
  436. <item>
  437. <label>입원</label>
  438. <value>I</value>
  439. </item>
  440. </choices>
  441. </select1>
  442. </group>
  443. </xhtml:body>
  444. </xhtml:html>