SPMMO02000_처방상세마취.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  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. <prcp>
  11. <prcplist>
  12. <status/>
  13. <prcpstatcd/>
  14. <prcpclscd/>
  15. <prcpkindcd/>
  16. <prcpcd/>
  17. <prcpnm/>
  18. <prcpvol/>
  19. <prcpvolunitnm/>
  20. <prcpqty/>
  21. <prcpqtyunitnm/>
  22. <prcptims/>
  23. <prcpdayno/>
  24. <drugmthdspccdnm/>
  25. <prcpmixno/>
  26. <payflagcd/>
  27. <prcpdelivefact/>
  28. <hosinhosoutflag/>
  29. <prcpexecdeptcd/>
  30. <prcphopedd/>
  31. <choiordflag/>
  32. <rgstdt/>
  33. <rgstridnm/>
  34. <testrsltunit/>
  35. <testrsltcnts/>
  36. <prcpgenrflag/>
  37. <prcphistcd/>
  38. <tempprcpflag/>
  39. <prcpsetcd/>
  40. <prcpvolunitflag/>
  41. <prcpqtyunitflag/>
  42. <orgprcpqty/>
  43. <drugspd/>
  44. <drugspdunitflag/>
  45. <powdflag/>
  46. <prnprcpflag/>
  47. <prepprcpflag/>
  48. <selfprcpflag/>
  49. <selfdrugflag/>
  50. <drugpackflag/>
  51. <erprcpflag/>
  52. <precureprcpflag/>
  53. <nigtprcpflag/>
  54. <portprcpflag/>
  55. <fixprcpflag/>
  56. <anamneflag/>
  57. <fastprcpflag/>
  58. <erreadflag/>
  59. <prcpdirecflag/>
  60. <tnsuseflag/>
  61. <tnsfiltflag/>
  62. <trnptbftestflag/>
  63. <offictourhealexamflag/>
  64. <stemcellflag/>
  65. <angioflagcd/>
  66. <opansflagcd/>
  67. <ansttm/>
  68. <mealcalrcnts/>
  69. <mealprotcnts/>
  70. <mealupdtflag/>
  71. <hosinprcpresncd/>
  72. <etcprcpresncd/>
  73. <drugmthdspccd/>
  74. <issdeptcd/>
  75. <prcpauthflag/>
  76. <prcpinptflag/>
  77. <prcpsignflag/>
  78. <rateprcpflag/>
  79. <prcprefseq/>
  80. <ordreqlnkno/>
  81. <testreqlnkno/>
  82. <prcplnkdd/>
  83. <prcplnkno/>
  84. <oprsrvno/>
  85. <tootfact/>
  86. <clinccmtcnts/>
  87. <prcpessninptflag/>
  88. <grupsnglflag/>
  89. <drugrateqty/>
  90. <asttestflag/>
  91. <clincstdyflag/>
  92. <prtlno/>
  93. <clincstdycd/>
  94. <optermcd/>
  95. <prcpflag/>
  96. <hscttempprcpflag/>
  97. <inclprcpcd/>
  98. <inclprcpno/>
  99. <pampkspec/>
  100. <prcppkspec/>
  101. <calcscormastspec/>
  102. <drugmastspec/>
  103. <rateprcpspec/>
  104. <matrsetprcpspec/>
  105. <suppdeptspec/>
  106. <contprcpspec/>
  107. <etclnkspec/>
  108. <srchcondcnts/>
  109. <orgprcpnm/>
  110. <chkcol/>
  111. <hsctdelivepos/>
  112. <hsctlnkno/>
  113. <etcprcpflag/>
  114. <aftcertflag/>
  115. <aftcertdrid/>
  116. <prcpvalidd/>
  117. <insukind/>
  118. <specdrid/>
  119. <anticncrprtlno/>
  120. <anticncrdayno/>
  121. <druglnkno/>
  122. <rehbprcpcurefreqflag/>
  123. <dietprcpgenrflag/>
  124. <irpayflag/>
  125. <irflag/>
  126. <procerdietflag/>
  127. <diagtestconttestintvlflag/>
  128. <drugindependpackflag/>
  129. <diagtestconttestbasetm/>
  130. <diagtestconttestorgtims/>
  131. <ermediscmngtresncd/>
  132. <rehbprcpenddd/>
  133. <matrallsizespecid/>
  134. <rehbprcpcurepartcd/>
  135. <lowdrugresncd/>
  136. <tfdtlcd/>
  137. <dnorreqlnkno/>
  138. <subcretno/>
  139. <exptmthdfact/>
  140. <lowdrugresnetcfact/>
  141. <diagtestconttestcdspec/>
  142. <drgacptflag/>
  143. <drprcpetc1/>
  144. <drprcpetc2/>
  145. <drprcpetc3/>
  146. <drprcpetc4/>
  147. <drprcpetc5/>
  148. <drprcpetc6/>
  149. <drprcpetc7/>
  150. <drprcpetc8/>
  151. <drprcpetc9/>
  152. <drprcpetc10/>
  153. <tempcol1/>
  154. <tempcol2/>
  155. <tempcol3/>
  156. <tempcol4/>
  157. <tempcol5/>
  158. <tempcol6/>
  159. <tempcol7/>
  160. <tempcol8/>
  161. <tempcol9/>
  162. <tempcol10/>
  163. <tempcol11/>
  164. <tempcol12/>
  165. <tempcol13/>
  166. <tempcol14/>
  167. <tempcol15/>
  168. <tempcol16/>
  169. <tempcol17/>
  170. <tempcol18/>
  171. <tempcol19/>
  172. <tempcol20/>
  173. <tempcol21/>
  174. <tempcol22/>
  175. <tempcol23/>
  176. <tempcol24/>
  177. <tempcol25/>
  178. </prcplist>
  179. </prcp>
  180. </main>
  181. <init>
  182. <payflagcd/>
  183. <opansflagcd/>
  184. <userlist/>
  185. <hardcdno/>
  186. <operation/>
  187. <drgacptflag/>
  188. <nigtprcpflag/>
  189. </init>
  190. <ansttm>
  191. <anstfromdd/>
  192. <ansttodd/>
  193. <anstfromh/>
  194. <anstfromm/>
  195. <ansttoh/>
  196. <ansttom/>
  197. </ansttm>
  198. <temp>
  199. <send/>
  200. <patsupkind/>
  201. </temp>
  202. </root>
  203. </instance>
  204. <script type="javascript" ev:event="xforms-model-construct-done">
  205. <![CDATA[
  206. zbcfGetCodeList(new Array("M0029", "M0008", "M0639", "P0506"),new Array("/root/init/payflagcd", "/root/init/opansflagcd", "/root/init/nigtprcpflag","/root/init/drgacptflag"));
  207. //원무에서 화면을 열 경우, 공통코드 조회 이외의 로직은 처리하지 않음 2008. 06. 16 오지훈
  208. var prcppopupflag = opener.javascript.getParameter("prcppopupflag");
  209. if(prcppopupflag == "PAM"){
  210. return;
  211. }
  212. document.title = document.title + "[" + model.getValue("/root/main/prcp/prcplist/prcpcd") + " : " + model.getValue("/root/main/prcp/prcplist/orgprcpnm") + "]";
  213. var ansttm = model.getValue ( "/root/main/prcp/prcplist/clinccmtcnts" );
  214. if ( !isNull(ansttm) && ansttm != "-" ) {
  215. var ansttm = ansttm + "^";
  216. var formtm = getArrayData (ansttm, 0, 0, "^", "|" );
  217. var totm = getArrayData (ansttm, 0, 1, "^", "|" );
  218. model.setValue ( "/root/ansttm/anstfromdd", formtm.substr ( 0, 8 ));
  219. model.setValue ( "/root/ansttm/anstfromh", formtm.substr ( 8, 2 ));
  220. model.setValue ( "/root/ansttm/anstfromm", formtm.substr ( 10, 2 ));
  221. model.setValue ( "/root/ansttm/ansttodd", totm.substr ( 0, 8 ));
  222. model.setValue ( "/root/ansttm/ansttoh", totm.substr ( 8, 2 ));
  223. model.setValue ( "/root/ansttm/ansttom", totm.substr ( 10, 2 ));
  224. } else {
  225. model.setValue ( "/root/ansttm/anstfromdd", getCurrentDate());
  226. model.setValue ( "/root/ansttm/anstfromh", "00");
  227. model.setValue ( "/root/ansttm/anstfromm", "00");
  228. model.setValue ( "/root/ansttm/ansttodd", getCurrentDate());
  229. model.setValue ( "/root/ansttm/ansttoh", "00");
  230. model.setValue ( "/root/ansttm/ansttom", "00");
  231. }
  232. var prcpessninptflag = model.getValue ( "/root/main/prcp/prcplist/prcpessninptflag" );
  233. if ( prcpessninptflag != 1 ) {//처방필수 입력구분이 마취시간일 경우는 마취시간을 체크한다.
  234. input2.disabled = true;
  235. input3.disabled = true;
  236. input4.disabled = true;
  237. input5.disabled = true;
  238. input6.disabled = true;
  239. input7.disabled = true;
  240. }
  241. model.refresh();
  242. ]]>
  243. </script>
  244. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  245. <script type="javascript" ev:event="xforms-ready">
  246. <![CDATA[
  247. var operation = getGlobalVariable("operation");
  248. if(operation != null || operation != ""){
  249. setCSVToNode("/root/init/operation", operation);
  250. var opflagcd = model.getValue("/root/init/operation/list/opflagcd"); // opflagcd 1:정규, 2:응급, 3:추가
  251. if(opflagcd == "2"){
  252. model.setValue("/root/main/prcp/prcplist/erprcpflag", "Y");
  253. }
  254. var opfromtmcd = model.getValue("/root/init/operation/list/opfromtmcd"); //opfromtmcd 수술시작시간
  255. if(eval(opfromtmcd) > 180000){ //야간 시간 기준을 물어볼 것
  256. model.setValue("/root/main/prcp/prcplist/nigtprcpflag", "Y");
  257. }
  258. }
  259. /*
  260. * Knuh_김영학_ 2010.09.03
  261. * 마취에 대한 기본 값이 Null 일 경우 기본값으로 셋팅
  262. *
  263. */
  264. var opansflagcd = grd_prcpdetl1.labelMatrix(1, grd_prcpdetl1.colRef("opansflagcd"));
  265. if (isNull(opansflagcd)) {
  266. model.setValue ( "/root/main/prcp/prcplist/opansflagcd" , "-");
  267. }
  268. model.refresh();
  269. // End _ 김영학 _ 2010. 09. 03
  270. //20110113 mjm수정. 유저정보 처방화면에서 가져오도록 수정.
  271. if ( opener.model.getValue ( "/root/usge" ) == "prcp") {
  272. model.copyNode(root.init.userlist , opener.root.init.specdrinfo );
  273. model.refresh();
  274. } else {
  275. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , getUserInfo("dutplcecd"), "0330", "", "M", "", "", "", "Y"); // 선택진료의사 리스트를 조회한다.
  276. }
  277. model.setfocus("button1");
  278. ]]>
  279. </script>
  280. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  281. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  282. <submission id="TRMMO15701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/send" resultref="/root/temp/patsupkind"/>
  283. </model>
  284. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  285. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  286. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  287. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  288. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  289. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  290. </xhtml:head>
  291. <xhtml:body pagewidth="802" pageheight="135" guideline="1,786;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  292. <caption id="caption22" class="tit_2" style="left:2px; top:63px; width:82px; height:13px; ">전달사항</caption>
  293. <button id="button1" class="btn4_letter2" style="left:669px; top:102px; width:56px; height:22px; ">
  294. <caption>확인</caption>
  295. <script type="javascript" ev:event="onclick">
  296. <![CDATA[
  297. var prcpessninptflag = model.getValue ( "/root/main/prcp/prcplist/prcpessninptflag" );
  298. if ( prcpessninptflag == 1 ) {//처방필수 입력구분이 마취시간일 경우는 마취시간을 체크한다.
  299. var earncls = model.getValue ( "/root/main/prcp/prcplist/tempcol2" );
  300. if ( earncls != "04|01|00" && earncls != "05|01|00" ) {
  301. var opansflagcd = model.getValue ( "/root/main/prcp/prcplist/opansflagcd" );
  302. if ( opansflagcd == "-" ) {
  303. messageBox ( "마취구분이","I004" );
  304. return;
  305. }
  306. }
  307. var fromdd = model.getValue ( "/root/ansttm/anstfromdd" );
  308. var todd = model.getValue ( "/root/ansttm/ansttodd" );
  309. if ( eval(fromdd) > eval(todd) ) {
  310. messageBox ( "시작일이 종료일 보다 클수", "I004" );
  311. return;
  312. }
  313. var fromh = model.getValue ( "/root/ansttm/anstfromh" );
  314. var formm = model.getValue ( "/root/ansttm/anstfromm" );
  315. var tomh = model.getValue ( "/root/ansttm/ansttoh" );
  316. var totim = model.getValue ( "/root/ansttm/ansttom" );
  317. if (isNull(fromh)) {
  318. messageBox ( "시작시간을 입력해 주십시오.", "E" );
  319. model.setfocus( "input3" );
  320. return;
  321. }
  322. if (isNull(formm)) {
  323. messageBox ( "시작분을 입력해 주십시오.", "E" );
  324. model.setfocus( "input4" );
  325. return;
  326. }
  327. if (isNull(tomh)) {
  328. messageBox ( "종료시간을 입력해 주십시오.", "E" );
  329. model.setfocus( "input6" );
  330. return;
  331. }
  332. if (isNull(totim)) {
  333. messageBox ( "종료분을 입력해 주십시오.", "E" );
  334. model.setfocus( "input7" );
  335. return;
  336. }
  337. if ( eval(fromh) >= 24 ) {
  338. messageBox ( "시작시간이 잘못 입력되었습니다.", "E" );
  339. return;
  340. }
  341. if ( eval(formm) >= 60 ) {
  342. messageBox ( "시작분이 잘못 입력되었습니다.", "E" );
  343. return;
  344. }
  345. if ( eval(tomh) >= 24 ) {
  346. messageBox ( "종료시간이 잘못 입력되었습니다.", "E" );
  347. return;
  348. }
  349. if ( eval(totim) >= 60 ) {
  350. messageBox ( "종료분이 잘못 입력되었습니다.", "E" );
  351. return;
  352. }
  353. tomh = eval(model.getValue ( "/root/ansttm/ansttoh" )) + getDateInterval ( fromdd, todd ) * 24;
  354. var fromtotm = eval ( fromh ) * 60 + eval ( formm );
  355. var tototm = eval( tomh ) * 60 + eval ( totim );
  356. var ansttmh = parseInt(( tototm - fromtotm ) / 60);
  357. var ansttmm = ( tototm - fromtotm ) % 60;
  358. ansttmh = ansttmh.toString().getLeftPad ( 2, "0" );
  359. ansttmm = ansttmm.toString().getLeftPad ( 2, "0" );
  360. model.setValue ( "/root/main/prcp/prcplist/ansttm", ansttmh + ansttmm);
  361. if ( model.getValue ( "/root/main/prcp/prcplist/ansttm" ) == "0000" || eval(model.getValue ( "/root/main/prcp/prcplist/ansttm" )) < 0 ) {
  362. messageBox ( "마취시간 입력이 잘못되었습니다.", "E" );
  363. return;
  364. }
  365. var fromipt = model.getValue ( "/root/ansttm/anstfromdd" ) + model.getValue ( "/root/ansttm/anstfromh" ).getLeftPad ( 2, "0" ) + model.getValue ( "/root/ansttm/anstfromm" ).getLeftPad ( 2, "0" );
  366. var toipt = model.getValue ( "/root/ansttm/ansttodd" )+ model.getValue ( "/root/ansttm/ansttoh" ).getLeftPad ( 2, "0" ) + model.getValue ( "/root/ansttm/ansttom" ).getLeftPad ( 2, "0" );
  367. model.setValue ( "/root/main/prcp/prcplist/clinccmtcnts", fromipt + "|" + toipt );
  368. }
  369. appendChildPrcp ( "/root/main/prcp/prcplist", "/root/prcptemp" );
  370. model.close();
  371. ]]>
  372. </script>
  373. <script type="javascript" ev:event="onkeydown">
  374. <![CDATA[
  375. if(event.keyCode == "13") {
  376. button1.dispatch("onclick");
  377. }
  378. ]]>
  379. </script>
  380. </button>
  381. <button id="button2" class="btn4_letter2" style="left:728px; top:102px; width:56px; height:22px; ">
  382. <caption>취소</caption>
  383. <script type="javascript" ev:event="onclick">
  384. <![CDATA[
  385. model.close();
  386. ]]>
  387. </script>
  388. </button>
  389. <line id="line7" class="line_1" style="x1:2px; y1:0px; x2:786px; y2:0px; "/>
  390. <datagrid id="grd_prcpdetl1" nodeset="/root/main/prcp/prcplist" caption="응급^야간/심야^급여^마취구분^선택진료^진료의^시작시간^종료시간^DRG인정^기왕증" colsep="^" colwidth="35, 65, 70, 130, 0, 85, 145, 145, 60, 45" dataheight="23" defaultrows="12" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" selectionmode="free" tooltip="true" style="left:2px; top:5px; width:784px; height:48px; ">
  391. <col checkvalue="Y,N" ref="erprcpflag" type="checkbox"/>
  392. <col class="gridcombo" ref="nigtprcpflag" type="combo" style="text-align:center; ">
  393. <choices>
  394. <itemset nodeset="/root/init/nigtprcpflag/M0639">
  395. <label ref="cdnm"/>
  396. <value ref="cdid"/>
  397. </itemset>
  398. </choices>
  399. </col>
  400. <col class="gridcombo" ref="payflagcd" type="combo" style="text-align:left; ">
  401. <choices>
  402. <itemset nodeset="/root/init/payflagcd/M0029">
  403. <label ref="cdnm"/>
  404. <value ref="cdid"/>
  405. </itemset>
  406. </choices>
  407. </col>
  408. <col class="gridcombo" ref="opansflagcd" type="combo" style="text-align:left; ">
  409. <choices>
  410. <itemset nodeset="/root/init/opansflagcd/M0008">
  411. <label ref="cdnm"/>
  412. <value ref="cdid"/>
  413. </itemset>
  414. </choices>
  415. </col>
  416. <col checkvalue="Y,N" ref="choiordflag" type="checkbox"/>
  417. <col disabled="true" ref="specdrid" type="combo">
  418. <choices>
  419. <itemset nodeset="/root/init/userlist/usercombo">
  420. <label ref="usernm"/>
  421. <value ref="userid"/>
  422. </itemset>
  423. </choices>
  424. </col>
  425. <col disabled="true" imemode="disabled" format="yyyy-mm-dd" style="text-align:center; "/>
  426. <col disabled="true" imemode="disabled" format="yyyy-mm-dd" style="text-align:center; "/>
  427. <col class="gridcombo" ref="drgacptflag" type="combo" style="text-align:center; ">
  428. <choices>
  429. <itemset nodeset="/root/init/drgacptflag/P0506">
  430. <label ref="cdnm"/>
  431. <value ref="cdid"/>
  432. </itemset>
  433. </choices>
  434. </col>
  435. <col checkvalue="Y,N" ref="anamneflag" type="checkbox"/>
  436. <script type="javascript" ev:event="xforms-value-changed">
  437. <![CDATA[
  438. if(grd_prcpdetl1.col == grd_prcpdetl1.colRef("choiordflag")){
  439. var choiordflag = model.getValue("/root/main/prcp/prcplist/choiordflag");
  440. if(choiordflag == "Y"){
  441. button3.dispatch("DOMActivate");
  442. }else{
  443. model.setValue("/root/main/prcp/prcplist/specdrid", "");
  444. model.refresh();
  445. }
  446. }else if(grd_prcpdetl1.col == grd_prcpdetl1.colRef("anamneflag")){
  447. var prcpgenrflag = opener.model.getValue("/root/patflag/list/prcpgenrflag");
  448. var anamneflag = grd_prcpdetl1.valueMatrix(1, grd_prcpdetl1.colRef("anamneflag"));
  449. if(prcpgenrflag == "I" || prcpgenrflag == "D" || prcpgenrflag == "E"){
  450. if(anamneflag == "Y"){ //기왕증이 Y로 처리된 경우에만 보조유형선택 팝업 open
  451. var pid = opener.model.getValue("/root/paminfo/list/pid");
  452. var indd = opener.model.getValue("/root/paminfo/list/indd");
  453. var subcretno = fGetSubcretno(pid, indd, "anamneflag");
  454. model.setValue("/root/main/prcp/prcplist/subcretno", subcretno);
  455. if(subcretno == "0"){
  456. messageBox ( "환자의 부유형이 없거나 또는 선택되지 않았습니다.", "I999" );
  457. grd_prcpdetl1.valueMatrix(1, grd_prcpdetl1.colRef("anamneflag")) = "N";
  458. }
  459. }else{ //기왕증이 N로 처리된 경우에는 subcretno 0로 처리
  460. model.setValue("/root/main/prcp/prcplist/subcretno", "0");
  461. }
  462. } else {
  463. messageBox ( "외래 환자는 기왕증을 선택 할 수", "I004" );
  464. grd_prcpdetl1.valueMatrix(1, grd_prcpdetl1.colRef("anamneflag")) = "N";
  465. }
  466. } else if ( grd_prcpdetl1.col == grd_prcpdetl1.colref("drgacptflag")) {
  467. if ( model.getValue ( "/root/main/prcp/prcplist/drgacptflag" ) == "A" ) { // PCA용 약제
  468. messageBox ( "급여구분이 '본인부담'으로 변경 됩니다.", "I" );
  469. model.setValue ( "/root/main/prcp/prcplist/payflagcd", "1" );
  470. } else if ( model.getValue ( "/root/main/prcp/prcplist/drgacptflag" ) == "B" ) { // 미용성형
  471. messageBox ( "급여구분이 '비급여'로 변경 됩니다.", "I" );
  472. model.setValue ( "/root/main/prcp/prcplist/payflagcd", "2" );
  473. }
  474. }
  475. model.refresh();
  476. ]]>
  477. </script>
  478. </datagrid>
  479. <input id="input1" ref="/root/main/prcp/prcplist/prcpdelivefact" style="left:2px; top:79px; width:784px; height:19px; "/>
  480. <input id="input2" ref="/root/ansttm/anstfromdd" inputtype="date" format="yyyy-mm-dd" style="left:396px; top:31px; width:86px; height:19px; "/>
  481. <input id="input3" ref="/root/ansttm/anstfromh" imemode="disabled" maxlength="2" format="hh" style="left:483px; top:31px; width:20px; height:19px; "/>
  482. <input id="input4" ref="/root/ansttm/anstfromm" imemode="disabled" maxlength="2" format="nn" style="left:504px; top:31px; width:20px; height:19px; "/>
  483. <input id="input5" ref="/root/ansttm/ansttodd" inputtype="date" format="yyyy-mm-dd" style="left:541px; top:31px; width:86px; height:19px; "/>
  484. <input id="input6" ref="/root/ansttm/ansttoh" imemode="disabled" maxlength="2" format="hh" style="left:628px; top:31px; width:20px; height:19px; "/>
  485. <input id="input7" ref="/root/ansttm/ansttom" imemode="disabled" maxlength="2" format="nn" style="left:649px; top:31px; width:20px; height:19px; "/>
  486. <button id="button4" class="icon_search" style="left:77px; top:62px; width:16px; height:16px; ">
  487. <caption/>
  488. <script type="javascript" ev:event="DOMActivate">
  489. <![CDATA[
  490. setParameter ( "SPMMB02200_cond2", "3" );
  491. fPrcpModal ( "SPMMB02200", 50, 50 );
  492. model.setValue ( "/root/main/prcp/prcplist/prcpdelivefact", getParameter ( "SPMMB02200_clinccmt" ));
  493. model.refresh();
  494. ]]>
  495. </script>
  496. </button>
  497. <button id="btn_specdrid" class="icon_search" style="left:368px; top:9px; width:16px; height:16px; ">
  498. <caption/>
  499. <script type="javascript" ev:event="DOMActivate">
  500. <![CDATA[
  501. //20110112 mjm추가 선택진료 가능여부 체크
  502. if ( !fChoiOrdChk()) return;
  503. //20110113 mjm 변경 선택진료 함수로 변경
  504. fChgChoiDr( "pop" );
  505. ]]>
  506. </script>
  507. </button>
  508. </xhtml:body>
  509. </xhtml:html>