SMMRI03400_시점관리모니터링.xrw 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248
  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. <cond>
  11. <srcformcd/>
  12. <deptcd/>
  13. <detldeptcd/>
  14. <drflag/>
  15. <drid/>
  16. <drnm/>
  17. <medispclid/>
  18. <medispclnm/>
  19. <reccosignid/>
  20. <reccosignnm/>
  21. <ddyn/>
  22. <ddflag/>
  23. <fromdd/>
  24. <todd/>
  25. <tmpsrcformcd/>
  26. <tmpdrflag/>
  27. <tmpddflag/>
  28. <tmpfromdd/>
  29. <tmptodd/>
  30. <btnflag/>
  31. <pidsrcformcd/>
  32. <chosinfo/>
  33. <cnstoprem/>
  34. <cnstopflag/>
  35. <cnstopsort/>
  36. <delcnts/>
  37. <pat>
  38. <pid/>
  39. <hngnm/>
  40. <cretno/>
  41. <indd/>
  42. <srcformcd/>
  43. </pat>
  44. <tmppoint/>
  45. <tmppointtimeall/>
  46. <tmppointtimebefore/>
  47. <tmppointtimeafter/>
  48. <tmppointtimebeforenon/>
  49. <tmppointtimeafternon/>
  50. <output/>
  51. </cond>
  52. <wrtedeptcd>
  53. <detldeptcd/>
  54. </wrtedeptcd>
  55. <dtllist>
  56. <cnt>
  57. <wrteprescondcnt/>
  58. <unwrteprescondcnt/>
  59. </cnt>
  60. </dtllist>
  61. <list/>
  62. <detldept>
  63. <detldeptcd/>
  64. <detldeptnm/>
  65. </detldept>
  66. <deptengabbr>
  67. <deptengabbr/>
  68. </deptengabbr>
  69. </main>
  70. <init>
  71. <drflag>
  72. <item>
  73. <name>전체</name>
  74. <id/>
  75. </item>
  76. <item>
  77. <name>스태프</name>
  78. <id>St</id>
  79. </item>
  80. <item>
  81. <name>레지던트</name>
  82. <id>R</id>
  83. </item>
  84. <item>
  85. <name>인턴</name>
  86. <id>I</id>
  87. </item>
  88. </drflag>
  89. <rspd>
  90. <formall/>
  91. </rspd>
  92. <popupmenu>
  93. <menu>
  94. <wrte>
  95. <name>작성의사변경</name>
  96. <func>fChngUnPrepDrInfo</func>
  97. </wrte>
  98. <wrte>
  99. <name>직종변경(I.)</name>
  100. <func>fChngUnPrepInternPos</func>
  101. </wrte>
  102. <wrte>
  103. <name>직종변경(R.)</name>
  104. <func>fChngUnPrepResiPos</func>
  105. </wrte>
  106. <wrte>
  107. <name>직종변경(St.)</name>
  108. <func>fChngUnPrepStaffPos</func>
  109. </wrte>
  110. <wrte>
  111. <name/>
  112. <func/>
  113. </wrte>
  114. <wrte>
  115. <name>작성과변경</name>
  116. <func>fOpenWrteDeptCD</func>
  117. </wrte>
  118. <wrte>
  119. <name>작성분과변경</name>
  120. <func>fOpenWrteDeltDeptCD</func>
  121. </wrte>
  122. <wrte>
  123. <name>주 협진수술변경</name>
  124. <func>fOpenCnstop</func>
  125. </wrte>
  126. <wrte>
  127. <name>변경취소</name>
  128. <func>fCnclSetPrepRecInfo</func>
  129. </wrte>
  130. <wrte>
  131. <name/>
  132. <func/>
  133. </wrte>
  134. <wrte>
  135. <name>내역삭제</name>
  136. <func>fOpenSpecDel</func>
  137. </wrte>
  138. <wrte>
  139. <name>내역삭제취소</name>
  140. <func>fSpecDelCncl</func>
  141. </wrte>
  142. <!--
  143. <wrte>
  144. <name/>
  145. <func/>
  146. </wrte>
  147. <wrte>
  148. <name>기록삭제이력조회</name>
  149. <func>fRecDelHistRef</func>
  150. </wrte>
  151. -->
  152. <staff>
  153. <name>StaffSing의사변경</name>
  154. <func>fChngUnPrepDrInfo</func>
  155. </staff>
  156. <staff>
  157. <name>직종변경(I.)</name>
  158. <func>fChngUnPrepInternPos</func>
  159. </staff>
  160. <staff>
  161. <name>직종변경(R.)</name>
  162. <func>fChngUnPrepResiPos</func>
  163. </staff>
  164. <staff>
  165. <name>직종변경(St.)</name>
  166. <func>fChngUnPrepStaffPos</func>
  167. </staff>
  168. <staff>
  169. <name/>
  170. <func/>
  171. </staff>
  172. <staff>
  173. <name>작성과변경</name>
  174. <func>fOpenWrteDeptCD</func>
  175. </staff>
  176. <staff>
  177. <name>작성분과변경</name>
  178. <func>fOpenWrteDeltDeptCD</func>
  179. </staff>
  180. <staff>
  181. <name>주 협진수술변경</name>
  182. <func>fOpenCnstop</func>
  183. </staff>
  184. <staff>
  185. <name>변경취소</name>
  186. <func>fCnclSetPrepRecInfo</func>
  187. </staff>
  188. <staff>
  189. <name/>
  190. <func/>
  191. </staff>
  192. <staff>
  193. <name>내역삭제</name>
  194. <func>fOpenSpecDel</func>
  195. </staff>
  196. <staff>
  197. <name>내역삭제취소</name>
  198. <func>fSpecDelCncl</func>
  199. </staff>
  200. <!--
  201. <staff>
  202. <name/>
  203. <func/>
  204. </staff>
  205. <staff>
  206. <name>기록삭제이력조회</name>
  207. <func>fRecDelHistRef</func>
  208. </staff>
  209. -->
  210. </menu>
  211. </popupmenu>
  212. <M0501>
  213. </M0501>
  214. <M0502>
  215. </M0502>
  216. <M0503>
  217. </M0503>
  218. <M0504>
  219. <M0504/>
  220. </M0504>
  221. <wrtedeptcd/>
  222. </init>
  223. <hidden>
  224. <temp>
  225. <temp>
  226. <pidpopupinfo/>
  227. </temp>
  228. </temp>
  229. </hidden>
  230. <temp>
  231. <userinfo/>
  232. <pid/>
  233. <hngnm/>
  234. <srchcond/>
  235. <autoflag/>
  236. </temp>
  237. <send>
  238. <req>
  239. <srcformcd/>
  240. <deptcd/>
  241. <drflag/>
  242. <drid/>
  243. <ddyn/>
  244. <ddflag/>
  245. <fromdd/>
  246. <todd/>
  247. <btnflag/>
  248. </req>
  249. <detldept>
  250. <supdeptcd/>
  251. <clrsuserid/>
  252. <clrsusertodd/>
  253. </detldept>
  254. <deptengabbr>
  255. <deptcd/>
  256. <eventdd/>
  257. </deptengabbr>
  258. </send>
  259. </root>
  260. </instance>
  261. <script type="javascript" ev:event="xforms-ready">
  262. <![CDATA[
  263. model.setValue("/root/main/cond/tmpfromdd", getCurrentDate());
  264. model.setValue("/root/main/cond/tmptodd", getCurrentDate());
  265. cmb_ddflag.select(0);
  266. model.toggle("case1");
  267. model.setValue("/root/main/cond/tmppointtimeall", "ALL");
  268. model.setValue("/root/main/dtllist/cnt/wrteprescondcnt", "");
  269. model.setValue("/root/main/dtllist/cnt/unwrteprescondcnt", "");
  270. sSEARCHTYPE = "1";
  271. if (submit("TRMRI03401")) {
  272. var nodeList = instance1.selectNodes("/root/init/rspd/form");
  273. for(var i =1; i<=nodeList.length; i++){
  274. model.makeValue("/root/init/rspd/formall["+i+"]/srcformnm", model.getValue("/root/init/rspd/form["+i+"]/srcformnm"));
  275. model.makeValue("/root/init/rspd/formall["+i+"]/srcformcd", model.getValue("/root/init/rspd/form["+i+"]/srcformcd"));
  276. model.makeValue("/root/init/rspd/formall["+i+"]/eventcd", model.getValue("/root/init/rspd/form["+i+"]/eventcd"));
  277. if(model.getValue("/root/init/rspd/form["+i+"]/eventcd") !="00"){
  278. model.makeValue("/root/init/rspd/formess["+i+"]/srcformcd", model.getValue("/root/init/rspd/form["+i+"]/srcformcd"));
  279. model.makeValue("/root/init/rspd/formess["+i+"]/srcformnm", model.getValue("/root/init/rspd/form["+i+"]/srcformnm"));
  280. model.makeValue("/root/init/rspd/formess["+i+"]/eventcd", model.getValue("/root/init/rspd/form["+i+"]/eventcd"));
  281. model.makeValue("/root/init/rspd/formess["+i+"]/staffsignflag", model.getValue("/root/init/rspd/form["+i+"]/staffsignflag"));
  282. }
  283. }
  284. cmb_form.refresh();
  285. cmb_dept.select(0);
  286. cmb_form.select(0);
  287. cmb_form2.select(0);
  288. }
  289. zbcfGetCodeList(new Array("M0501", "M0502", "M0503"), new Array("/root/init/M0501", "/root/init/M0502", "/root/init/M0503"));
  290. grd_dtllist.colhidden(16) = true;
  291. grd_dtllist.colhidden(17) = true;
  292. grd_dtllist.colhidden(21) = true;
  293. grd_dtllist.colhidden(22) = true;
  294. grd_dtllist.colhidden(23) = true;
  295. grd_dtllist.colhidden(24) = true;
  296. grd_dtllist.colhidden(25) = true;
  297. grd_dtllist.colhidden(26) = true;
  298. grd_dtllist.colhidden(27) = true;
  299. grd_dtllist.colhidden(28) = true;
  300. grd_dtllist.colhidden(29) = true;
  301. grd_dtllist.colhidden(30) = true;
  302. btn_width1.disabled = true;
  303. btn_width2.disabled = false;
  304. cap_cnstop.visible = false;
  305. chk_cnstopflag.visible = false;
  306. model.refresh();
  307. ]]>
  308. </script>
  309. <script type="javascript" ev:event="xforms-model-construct-done">
  310. <![CDATA[
  311. grp_wrtedept.attribute("height") = 0;
  312. grp_wrtedeldept.attribute("height") = 0;
  313. grp_cnstop.attribute("height") = 0;
  314. grp_delcnts.attribute("height") = 0;
  315. ]]>
  316. </script>
  317. <submission id="TRMRI03401" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/rspd"/>
  318. <submission id="TRMRI03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list"/>
  319. <submission id="TRMRI03403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dtllist"/>
  320. <submission id="TRMRI03404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/detldept" resultref="/root/main/detldept"/>
  321. <submission id="TRMRI03405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptengabbr" resultref="/root/main/deptengabbr"/>
  322. <submission id="TRMRI02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/userinfo"/>
  323. <submission id="TRMRI02605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patinfo"/>
  324. <submission id="TXMRI03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dtllist"/>
  325. <submission id="TXMRI03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dtllist"/>
  326. <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
  327. </model>
  328. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  329. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  330. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  331. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  332. <script type="javascript" src="../../../emr/recindxweb/js/SMMRI03400.js"/>
  333. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  334. </xhtml:head>
  335. <xhtml:body disabled="false" style="text-align:center; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  336. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  337. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:209px; height:14px; ">시점기록관리</caption>
  338. </group>
  339. <group id="group3" scroll="auto" style="left:0px; top:15px; width:1195px; height:744px; ">
  340. <group id="group5" style="left:381px; top:10px; width:811px; height:90px; vertical-align:top; ">
  341. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:811px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
  342. <caption id="caption20" class="search_name" style="left:10px; top:49px; width:86px; height:17px; ">조회구분 :</caption>
  343. <line id="line16" style="x1:655px; y1:5px; x2:655px; y2:85px; border-color:#ffe4bb; border-left-style:solid; "/>
  344. <caption id="caption17" class="search_name" style="left:220px; top:5px; width:103px; height:17px; ">작성과 :</caption>
  345. <caption id="caption8" class="search_name" style="left:10px; top:5px; width:90px; height:17px; ">서식명 :</caption>
  346. <select1 id="cmb_dept" ref="/root/main/cond/deptcd" class="combo_search" navindex="5" appearance="minimal" style="left:295px; top:5px; width:90px; height:19px; text-align:left; ">
  347. <choices>
  348. <itemset nodeset="/root/init/rspd/dept/">
  349. <label ref="deptnm"/>
  350. <value ref="deptcd"/>
  351. </itemset>
  352. </choices>
  353. <script type="javascript" ev:event="xforms-value-changed">
  354. <![CDATA[
  355. // 외과, 소아청소년과, 산부인과 세부 분과 활성화함.
  356. var orddeptcd = model.getValue("/root/main/cond/deptcd");
  357. if(orddeptcd == "2040000000"
  358. || orddeptcd == "2110000000"
  359. || orddeptcd == "2100000000")
  360. {
  361. cmb_detldept.disabled = false;
  362. //미비과에 따라 미비분과 combo정보를 변경
  363. if(orddeptcd == "2040000000"){ //외과
  364. cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0501/M0501";
  365. }else if(orddeptcd == "2100000000"){ //산부인과
  366. cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0502/M0502";
  367. }else if(orddeptcd == "2110000000"){ //소아과
  368. cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0503/M0503";
  369. }
  370. addComboItem("cmb_detldept", "전체", "ALL", "above");
  371. cmb_detldept.select(0);
  372. cmb_detldept.refresh();
  373. }
  374. else
  375. {
  376. cmb_detldept.select(0);
  377. cmb_detldept.refresh();
  378. cmb_detldept.disabled = true;
  379. }
  380. ]]>
  381. </script>
  382. </select1>
  383. <select1 id="cmb_form" ref="/root/main/cond/tmpsrcformcd" class="combo_search" navindex="1" appearance="minimal" style="left:84px; top:5px; width:134px; height:19px; text-align:left; ">
  384. <choices>
  385. <itemset nodeset="/root/init/rspd/formess/">
  386. <label ref="srcformnm"/>
  387. <value ref="srcformcd"/>
  388. </itemset>
  389. </choices>
  390. <script type="javascript" ev:event="xforms-value-changed">
  391. <![CDATA[
  392. fFormessChang();
  393. ]]>
  394. </script>
  395. </select1>
  396. <input id="ipt_fromdd" ref="/root/main/cond/tmpfromdd" class="input_search" disabled="false" navindex="3" inputtype="date" style="left:185px; top:49px; width:90px; height:19px; "/>
  397. <input id="ipt_todd" ref="/root/main/cond/tmptodd" class="input_search" disabled="false" navindex="3" inputtype="date" style="left:287px; top:49px; width:90px; height:19px; "/>
  398. <button id="btn_recwrterate" class="btn1_letter4" navindex="6" style="left:665px; top:5px; width:104px; height:22px; ">
  399. <caption>작성조회</caption>
  400. <script type="javascript" ev:event="onclick">
  401. <![CDATA[
  402. sSEARCHTYPE = "1";
  403. sSEARCHPAT = "";
  404. sSEARCHSORT = "";
  405. fSearch();
  406. ]]>
  407. </script>
  408. </button>
  409. <button id="btn_staffsingrecwrterate" class="btn1_letter9" navindex="7" style="left:665px; top:34px; width:140px; height:22px; ">
  410. <caption>StaffSign작성조회</caption>
  411. <script type="javascript" ev:event="onclick">
  412. <![CDATA[
  413. sSEARCHTYPE = "2";
  414. sSEARCHPAT = "";
  415. sSEARCHSORT = "";
  416. fSearch();
  417. ]]>
  418. </script>
  419. </button>
  420. <caption id="caption1" class="search_name" style="left:470px; top:29px; width:90px; height:17px; ">의사구분 :</caption>
  421. <select1 id="cmb_flag" ref="/root/main/cond/tmpdrflag" class="combo_search" navindex="4" appearance="minimal" style="left:560px; top:29px; width:85px; height:19px; text-align:left; ">
  422. <choices>
  423. <itemset nodeset="/root/init/drflag/item">
  424. <label ref="name"/>
  425. <value ref="id"/>
  426. </itemset>
  427. </choices>
  428. </select1>
  429. <caption id="caption3" style="left:275px; top:50px; width:15px; height:20px; ">~</caption>
  430. <caption id="caption4" class="search_name" style="left:470px; top:5px; width:95px; height:17px; ">작성의사 :</caption>
  431. <caption id="caption10" class="search_name" style="left:10px; top:72px; width:86px; height:17px; ">시점구분 :</caption>
  432. <select id="chk_SearchPointTimeAll" ref="/root/main/cond/tmppointtimeall" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:105px; top:72px; width:45px; height:20px; border-style:none; ">
  433. <choices>
  434. <item>
  435. <label>전체</label>
  436. <value>ALL</value>
  437. </item>
  438. </choices>
  439. <script type="javascript" ev:event="onclick">
  440. <![CDATA[
  441. fTimepointChk(chk_SearchPointTimeAll.value);
  442. ]]>
  443. </script>
  444. </select>
  445. <select id="chk_SearchPointTimeBefore" ref="/root/main/cond/tmppointtimebefore" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:153px; top:72px; width:80px; height:20px; border-style:none; ">
  446. <choices>
  447. <item>
  448. <label>시점내작성</label>
  449. <value>BEFORE</value>
  450. </item>
  451. </choices>
  452. <script type="javascript" ev:event="onclick">
  453. <![CDATA[
  454. fTimepointChk(chk_SearchPointTimeBefore.value);
  455. ]]>
  456. </script>
  457. </select>
  458. <select id="chk_SearchPointTimeAfter" ref="/root/main/cond/tmppointtimeafter" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:236px; top:72px; width:89px; height:20px; border-style:none; ">
  459. <choices>
  460. <item>
  461. <label>시점이후작성</label>
  462. <value>AFTER</value>
  463. </item>
  464. </choices>
  465. <script type="javascript" ev:event="onclick">
  466. <![CDATA[
  467. fTimepointChk(chk_SearchPointTimeAfter.value);
  468. ]]>
  469. </script>
  470. </select>
  471. <select id="chk_SearchPointTimeBeforeNon" ref="/root/main/cond/tmppointtimebeforenon" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:326px; top:72px; width:92px; height:20px; border-style:none; ">
  472. <choices>
  473. <item>
  474. <label>시점내미작성</label>
  475. <value>BEFORENON</value>
  476. </item>
  477. </choices>
  478. <script type="javascript" ev:event="onclick">
  479. <![CDATA[
  480. fTimepointChk(chk_SearchPointTimeBeforeNon.value);
  481. ]]>
  482. </script>
  483. </select>
  484. <select id="chk_SearchPointTimeAfterNon" ref="/root/main/cond/tmppointtimeafternon" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:420px; top:72px; width:108px; height:20px; border-style:none; ">
  485. <choices>
  486. <item>
  487. <label>시점이후미작성</label>
  488. <value>AFTERNON</value>
  489. </item>
  490. </choices>
  491. <script type="javascript" ev:event="onclick">
  492. <![CDATA[
  493. fTimepointChk(chk_SearchPointTimeAfterNon.value);
  494. ]]>
  495. </script>
  496. </select>
  497. <select1 id="cmb_ddflag" ref="/root/main/cond/tmpddflag" class="combo_search" appearance="minimal" style="left:97px; top:49px; width:80px; height:19px; text-align:left; ">
  498. <choices>
  499. <item>
  500. <label>퇴원일자</label>
  501. <value>dschdd</value>
  502. </item>
  503. <item>
  504. <label>입원일자</label>
  505. <value>indd</value>
  506. </item>
  507. <item>
  508. <label>재원일자</label>
  509. <value>orddd</value>
  510. </item>
  511. <item>
  512. <label>수술일자</label>
  513. <value>anstenddd</value>
  514. </item>
  515. </choices>
  516. </select1>
  517. <input id="ipt_drid" ref="/root/main/cond/drnm" style="left:560px; top:5px; width:85px; height:19px; text-align:left; ">
  518. <script type="javascript" ev:event="onkeydown">
  519. <![CDATA[
  520. if(event.keyCode == 13){
  521. model.setValue("/root/main/cond/drid", ipt_drid.currentText);
  522. var drid = ipt_drid.currentText;
  523. if(isNumber(drid.charAt(0)) == "Y"){
  524. fReqGetUnPrepDrSmplList("id", drid);
  525. }else{
  526. fReqGetUnPrepDrSmplList("nm", drid);
  527. }
  528. var nodelist = model.instances(0).selectNodes("/root/temp/userinfo/usercombo");
  529. if(nodelist.length == 1){
  530. model.setValue("/root/main/cond/drid", model.getValue("/root/temp/userinfo/usercombo/userid"));
  531. model.setValue("/root/main/cond/drnm", model.getValue("/root/temp/userinfo/usercombo/usernm"));
  532. } else if(nodelist.length > 1) {
  533. setParameter("SPMRI02900_stnddd" , getCurrentDate());
  534. setParameter("SPMRI02900_orddrnm", drid );
  535. modal("SPMRI02900");
  536. if(getParameter("SPMRI02900_useyn")=="Y"){
  537. var doctinfo = getParameter("SPMRI02900_rtnparam");
  538. doctinfo = doctinfo.split("^");
  539. model.setValue("/root/main/cond/drid", doctinfo[3]);
  540. model.setValue("/root/main/cond/drnm", doctinfo[4]);
  541. }
  542. }else{
  543. messageBox("의사 정보가", "I004");
  544. return;
  545. }
  546. model.refresh();
  547. }
  548. ]]>
  549. </script>
  550. <script type="javascript" ev:event="DOMFocusOut">
  551. <![CDATA[
  552. if(ipt_drid.value == ""){
  553. model.setValue("/root/main/cond/drnm", "");
  554. model.setValue("/root/main/cond/drid", "");
  555. model.refresh();
  556. }
  557. ]]>
  558. </script>
  559. </input>
  560. <select1 id="cmb_detldept" ref="/root/main/cond/detldeptcd" class="combo_search" disabled="true" appearance="minimal" style="left:387px; top:5px; width:80px; height:19px; text-align:left; ">
  561. <choices>
  562. <itemset>
  563. <label ref="cdnm"/>
  564. <value ref="cdid"/>
  565. </itemset>
  566. </choices>
  567. <script type="javascript" ev:event="xforms-value-changed">
  568. <![CDATA[
  569. ]]>
  570. </script>
  571. </select1>
  572. <input id="ipt_medispclid" ref="/root/main/cond/medispclnm" style="left:85px; top:27px; width:85px; height:19px; text-align:left; ">
  573. <script type="javascript" ev:event="onkeydown">
  574. <![CDATA[
  575. if(event.keyCode == 13){
  576. model.setValue("/root/main/cond/medispclid", ipt_medispclid.currentText);
  577. var drid = ipt_medispclid.currentText;
  578. if(isNumber(drid.charAt(0)) == "Y"){
  579. fReqGetUnPrepDrSmplList("id", drid);
  580. }else{
  581. fReqGetUnPrepDrSmplList("nm", drid);
  582. }
  583. var nodelist = model.instances(0).selectNodes("/root/temp/userinfo/usercombo");
  584. if(nodelist.length == 1){
  585. model.setValue("/root/main/cond/medispclid", model.getValue("/root/temp/userinfo/usercombo/userid"));
  586. model.setValue("/root/main/cond/medispclnm", model.getValue("/root/temp/userinfo/usercombo/usernm"));
  587. } else if(nodelist.length > 1) {
  588. setParameter("SPMRI02900_stnddd" , getCurrentDate());
  589. setParameter("SPMRI02900_orddrnm", drid );
  590. modal("SPMRI02900");
  591. if(getParameter("SPMRI02900_useyn")=="Y"){
  592. var doctinfo = getParameter("SPMRI02900_rtnparam");
  593. doctinfo = doctinfo.split("^");
  594. model.setValue("/root/main/cond/medispclid", doctinfo[3]);
  595. model.setValue("/root/main/cond/medispclnm", doctinfo[4]);
  596. }
  597. }else{
  598. messageBox("주치의 정보가", "I004");
  599. return;
  600. }
  601. model.refresh();
  602. }
  603. ]]>
  604. </script>
  605. <script type="javascript" ev:event="DOMFocusOut">
  606. <![CDATA[
  607. if(ipt_medispclid.value == ""){
  608. model.setValue("/root/main/cond/medispclnm", "");
  609. model.setValue("/root/main/cond/medispclid", "");
  610. model.refresh();
  611. }
  612. ]]>
  613. </script>
  614. </input>
  615. <caption id="caption16" class="search_name" style="left:10px; top:27px; width:95px; height:17px; ">주치의 :</caption>
  616. <input id="ipt_opreccosignid" ref="/root/main/cond/reccosignnm" style="left:295px; top:27px; width:84px; height:19px; text-align:left; ">
  617. <script type="javascript" ev:event="onkeydown">
  618. <![CDATA[
  619. if(event.keyCode == 13){
  620. model.setValue("/root/main/cond/reccosignid", ipt_opreccosignid.currentText);
  621. var drid = ipt_opreccosignid.currentText;
  622. if(isNumber(drid.charAt(0)) == "Y"){
  623. fReqGetUnPrepDrSmplList("id", drid);
  624. }else{
  625. fReqGetUnPrepDrSmplList("nm", drid);
  626. }
  627. var nodelist = model.instances(0).selectNodes("/root/temp/userinfo/usercombo");
  628. if(nodelist.length == 1){
  629. model.setValue("/root/main/cond/reccosignid", model.getValue("/root/temp/userinfo/usercombo/userid"));
  630. model.setValue("/root/main/cond/reccosignnm", model.getValue("/root/temp/userinfo/usercombo/usernm"));
  631. } else if(nodelist.length > 1) {
  632. setParameter("SPMRI02900_stnddd" , getCurrentDate());
  633. setParameter("SPMRI02900_orddrnm", drid );
  634. modal("SPMRI02900");
  635. if(getParameter("SPMRI02900_useyn")=="Y"){
  636. var doctinfo = getParameter("SPMRI02900_rtnparam");
  637. doctinfo = doctinfo.split("^");
  638. model.setValue("/root/main/cond/reccosignid", doctinfo[3]);
  639. model.setValue("/root/main/cond/reccosignnm", doctinfo[4]);
  640. }
  641. }else{
  642. messageBox("집도의 정보가", "I004");
  643. return;
  644. }
  645. model.refresh();
  646. }
  647. ]]>
  648. </script>
  649. <script type="javascript" ev:event="DOMFocusOut">
  650. <![CDATA[
  651. if(ipt_opreccosignid.value == ""){
  652. model.setValue("/root/main/cond/reccosignnm", "");
  653. model.setValue("/root/main/cond/reccosignid", "");
  654. model.refresh();
  655. }
  656. ]]>
  657. </script>
  658. </input>
  659. <caption id="cap_opcosignnm" class="search_name" style="left:220px; top:27px; width:95px; height:17px; ">집도의 :</caption>
  660. <caption id="cap_cnstop" class="search_name" style="left:470px; top:49px; width:90px; height:17px; ">수술구분 :</caption>
  661. <button id="button1" class="btn1_letter6" navindex="6" style="left:665px; top:63px; width:80px; height:22px; ">
  662. <caption>삭제내역조회</caption>
  663. <script type="javascript" ev:event="onclick">
  664. <![CDATA[
  665. sSEARCHTYPE = "3";
  666. sSEARCHPAT = "";
  667. sSEARCHSORT = "D";
  668. fSearch();
  669. ]]>
  670. </script>
  671. </button>
  672. <select id="chk_cnstopflag" ref="/root/main/cond/cnstopflag" visibility="visible" overflow="visible" appearance="full" style="left:560px; top:51px; width:95px; height:20px; border-style:none; ">
  673. <choices>
  674. <item>
  675. <label>협진수술 포함</label>
  676. <value>Y</value>
  677. </item>
  678. </choices>
  679. </select>
  680. </group>
  681. <line id="line2" class="line_1" style="x1:0px; y1:127px; x2:1194px; y2:127px; "/>
  682. <caption id="caption12" class="tit_2" style="left:5px; top:110px; width:103px; height:13px; ">작성현황</caption>
  683. <switch id="switch1" style="left:0px; top:127px; width:1195px; height:605px; ">
  684. <case id="case1">
  685. <datagrid id="grd_dtllist" nodeset="/root/main/dtllist/list" visibility="attribute" caption="등록번호^환자명^입원일^퇴원일^재(퇴)원과^주치의^서식명^진료일자^발생시간^최초작성시간^초과시간^작성과^작성분과^직종^작성의사^수술과^집도의^비고^상태^작성기한^최종작성시간^StaffSign 시간^StaffSign초과시간^StaffSign기한^StaffSign의사^최초생성자^최초생성일시^최종수정자^최종수정일시^최종삭제자^최종삭제일시^삭제사유" colsep="^" colwidth="57, 55, 69, 68, 69, 55, 90, 69, 100, 100, 55, 44, 55, 33, 58, 46, 50, 65, 59, 100, 100, 100, 105, 100, 80, 70,110, 70, 110, 70, 100, 150" defaultrows="0" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:0px; width:1193px; height:600px; ">
  686. <col ref="pid" style="left:20px; top:23px; width:57px; height:23px; text-align:center; "/>
  687. <col ref="pnm" style="text-align:center; word-wrap:none; "/>
  688. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  689. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  690. <col ref="indxorddeptnm" style="text-align:center; word-wrap:none; "/>
  691. <col ref="medispclnm" style="text-align:center; word-wrap:none; "/>
  692. <col ref="formnm" style="text-align:left; word-wrap:none; "/>
  693. <col ref="orddt" format="yyyy-mm-dd" style="text-align:center; "/>
  694. <col ref="eventdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  695. <col ref="formrecdt" format="yyyy-mm-dd hh:nn" style="left:652px; top:23px; width:100px; height:23px; text-align:center; "/>
  696. <col ref="overtm" style="text-align:center; "/>
  697. <col ref="orddeptnm" style="text-align:center; word-wrap:none; "/>
  698. <col ref="detldeptnm" style="text-align:center; word-wrap:none; "/>
  699. <col ref="dockindflag" style="text-align:center; "/>
  700. <col ref="recdrnm" style="text-align:center; word-wrap:none; "/>
  701. <col ref="opdeptnm" style="text-align:center; word-wrap:none; "/>
  702. <col ref="perfdrnm" style="text-align:center; word-wrap:none; "/>
  703. <col ref="rem" style="text-align:left; "/>
  704. <col ref="recstatus" style="text-align:center; word-wrap:none; "/>
  705. <col ref="reclimitdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  706. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  707. <col ref="reccosigndt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  708. <col ref="cosignovertm" style="text-align:center; "/>
  709. <col ref="reccosignlimitdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  710. <col ref="reccosigndrnm" style="text-align:center; word-wrap:none; "/>
  711. <col ref="indx_fstrgstrnm" style="text-align:center; word-wrap:none; "/>
  712. <col ref="indx_fstrgstdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  713. <col ref="indx_lastupdtrnm" style="text-align:center; word-wrap:none; "/>
  714. <col ref="indx_lastupdtdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  715. <col ref="delusernm" style="text-align:center; word-wrap:none; "/>
  716. <col ref="deldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  717. <col ref="delcnts" style="text-align:left; "/>
  718. <script type="javascript" ev:event="onclick">
  719. <![CDATA[
  720. var total = grd_dtllist.rows;
  721. if(total < 2){
  722. return;
  723. }
  724. var currow = grd_dtllist.row;
  725. var curcol = grd_dtllist.col;
  726. if(isDataCell()){
  727. return;
  728. }else{
  729. //그리드 Header를 클릭한 경우,
  730. if(currow == 0){
  731. if(sORDERBYDTL == "desc"){
  732. sORDERBYDTL = "asc";
  733. }else{
  734. sORDERBYDTL = "desc";
  735. }
  736. if(grd_dtllist.colAttribute(curcol, "ref") != ""){
  737. var orderby = grd_dtllist.colAttribute(curcol, "ref") + " " + sORDERBYDTL;
  738. model.makeValue("/root/main/cond/tmporderbydtl", orderby);
  739. sSEARCHTYPE = "1";
  740. fSearchDtl();
  741. }
  742. }
  743. }
  744. model.refresh();
  745. ]]>
  746. </script>
  747. <script type="javascript" ev:event="onmousedown">
  748. <![CDATA[
  749. setPopupMenu("grd_dtllist", false, "/root/init/popupmenu/menu/wrte", "name", "func");
  750. ]]>
  751. </script>
  752. <script type="javascript" ev:event="DOMFocusOut">
  753. <![CDATA[
  754. initPopupMenu();
  755. ]]>
  756. </script>
  757. </datagrid>
  758. </case>
  759. <case id="case2">
  760. <datagrid id="grd_dtllist_staff" nodeset="/root/main/dtllist/list" visibility="attribute" caption="등록번호^환자명^입원일^퇴원일^재(퇴)원과^주치의^서식명^진료일자^발생시간^StaffSign시간^StaffSign초과시간^StaffSign의사^수술과^집도의^상태^StaffSign기한^최초작성시간^초과시간^작성과^작성분과^직종^작성의사^작성기한^최종작성시간^비고^최초생성자^최초생성일시^최종수정자^최종수정일시^최종삭제자^최종삭제일시^삭제사유" colsep="^" colwidth="58, 58, 70, 70, 68, 60, 100, 70, 100, 100, 105, 80, 46, 53, 60, 100, 100, 70, 65, 55, 40, 65, 100, 100, 85, 70, 100, 70, 100, 70, 100, 150" defaultrows="0" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:0px; width:1193px; height:600px; ">
  761. <col ref="pid" style="text-align:center; "/>
  762. <col ref="pnm" style="text-align:center; word-wrap:none; "/>
  763. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  764. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  765. <col ref="indxorddeptnm" style="text-align:center; word-wrap:word; "/>
  766. <col ref="medispclnm" style="text-align:center; word-wrap:none; "/>
  767. <col ref="formnm" style="text-align:left; word-wrap:none; "/>
  768. <col ref="orddt" format="yyyy-mm-dd" style="text-align:center; "/>
  769. <col ref="eventdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  770. <col ref="reccosigndt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  771. <col ref="cosignovertm" style="text-align:center; "/>
  772. <col ref="reccosigndrnm" style="text-align:center; word-wrap:none; "/>
  773. <col ref="orddeptnm" style="text-align:center; word-wrap:none; "/>
  774. <col ref="perfdrnm" style="text-align:center; word-wrap:none; "/>
  775. <col ref="recstatus" style="text-align:center; word-wrap:none; "/>
  776. <col ref="reccosignlimitdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  777. <col ref="formrecdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  778. <col ref="overtm" style="text-align:center; "/>
  779. <col ref="orddeptnm" style="text-align:center; word-wrap:none; "/>
  780. <col ref="detldeptnm" style="text-align:center; word-wrap:none; "/>
  781. <col ref="dockindflag" style="text-align:center; "/>
  782. <col ref="recdrnm" style="text-align:center; word-wrap:none; "/>
  783. <col ref="reclimitdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  784. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  785. <col ref="rem" style="text-align:left; "/>
  786. <col ref="indx_fstrgstrnm" style="text-align:center; word-wrap:none; "/>
  787. <col ref="indx_fstrgstdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  788. <col ref="indx_lastupdtrnm" style="text-align:center; word-wrap:none; "/>
  789. <col ref="indx_lastupdtdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  790. <col ref="delusernm" style="text-align:center; word-wrap:none; "/>
  791. <col ref="deldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  792. <col ref="delcnts" style="text-align:left; "/>
  793. <script type="javascript" ev:event="onclick">
  794. <![CDATA[
  795. var total = grd_dtllist_staff.rows;
  796. if(total < 2){
  797. return;
  798. }
  799. var currow = grd_dtllist_staff.row;
  800. var curcol = grd_dtllist_staff.col;
  801. if(isDataCell()){
  802. return;
  803. }else{
  804. //그리드 Header를 클릭한 경우,
  805. if(currow == 0){
  806. if(sORDERBYDTL == "desc"){
  807. sORDERBYDTL = "asc";
  808. }else{
  809. sORDERBYDTL = "desc";
  810. }
  811. if(grd_dtllist_staff.colAttribute(curcol, "ref") != ""){
  812. var orderby = grd_dtllist_staff.colAttribute(curcol, "ref") + " " + sORDERBYDTL;
  813. model.makeValue("/root/main/cond/tmporderbydtl", orderby);
  814. sSEARCHTYPE = "2";
  815. fSearchDtl();
  816. }
  817. }
  818. }
  819. model.refresh();
  820. ]]>
  821. </script>
  822. <script type="javascript" ev:event="onmousedown">
  823. <![CDATA[
  824. setPopupMenu("grd_dtllist_staff", false, "/root/init/popupmenu/menu/staff", "name", "func");
  825. ]]>
  826. </script>
  827. <script type="javascript" ev:event="DOMFocusOut">
  828. <![CDATA[
  829. initPopupMenu();
  830. ]]>
  831. </script>
  832. </datagrid>
  833. </case>
  834. </switch>
  835. <button id="btn_ex" class="btn2_letter2" style="left:1105px; top:107px; width:42px; height:19px; ">
  836. <caption>엑셀</caption>
  837. <script type="javascript" ev:event="DOMActivate">
  838. <![CDATA[
  839. fSaveExcel();
  840. ]]>
  841. </script>
  842. </button>
  843. <group id="grp_delcnts" style="left:880px; top:440px; width:218px; height:55px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
  844. <caption id="caption21" style="left:5px; top:6px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">삭제사유</caption>
  845. <button id="button4" class="btn2_letter2" style="left:122px; top:27px; width:42px; height:19px; ">
  846. <caption>확인</caption>
  847. <script type="javascript" ev:event="DOMActivate">
  848. <![CDATA[
  849. var delcnts = model.getValue("/root/main/cond/delcnts");
  850. if(delcnts.getTrim() == ""){
  851. messageBox("삭제 사유는", "I003");
  852. model.setFocus("ipt_delcnts");
  853. return;
  854. }
  855. if(sSEARCHTYPE == "1"){
  856. grd_dtllist.disabled = false;
  857. } else {
  858. grd_dtllist_staff.disabled = false;
  859. }
  860. btn_requnpreppatbase.disabled = false;
  861. btn_recwrterate.disabled = false;
  862. btn_staffsingrecwrterate.disabled = false;
  863. btn_ex.disabled = false;
  864. btn_save.disabled = false;
  865. grp_delcnts.attribute("height") = 0;
  866. fSpecDel();
  867. ]]>
  868. </script>
  869. </button>
  870. <button id="button5" class="btn2_letter2" style="left:166px; top:27px; width:42px; height:19px; ">
  871. <caption>취소</caption>
  872. <script type="javascript" ev:event="DOMActivate">
  873. <![CDATA[
  874. if(sSEARCHTYPE == "1"){
  875. grd_dtllist.disabled = false;
  876. } else {
  877. grd_dtllist_staff.disabled = false;
  878. }
  879. btn_requnpreppatbase.disabled = false;
  880. btn_recwrterate.disabled = false;
  881. btn_staffsingrecwrterate.disabled = false;
  882. btn_ex.disabled = false;
  883. btn_save.disabled = false;
  884. grp_delcnts.attribute("height") = 0;
  885. ]]>
  886. </script>
  887. </button>
  888. <input id="ipt_delcnts" ref="/root/main/cond/delcnts" style="left:59px; top:5px; width:155px; height:19px; text-align:left; "/>
  889. </group>
  890. <group id="grp_cnstop" style="left:670px; top:325px; width:225px; height:80px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
  891. <select1 id="rdo_cnstopsort" ref="/root/main/cond/cnstopsort" appearance="full" cols="2" overflow="visible" style="left:44px; top:5px; width:135px; height:20px; font-weight:bold; vertical-align:middle; border-style:none; ">
  892. <choices>
  893. <item>
  894. <label>주수술</label>
  895. <value>N</value>
  896. </item>
  897. <item>
  898. <label>협진수술</label>
  899. <value>Y</value>
  900. </item>
  901. </choices>
  902. <script type="javascript" ev:event="xforms-value-changed">
  903. <![CDATA[
  904. fCnstopsortChang();
  905. ]]>
  906. </script>
  907. </select1>
  908. <caption id="caption19" style="left:5px; top:29px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">비고</caption>
  909. <input id="input2" ref="/root/main/cond/cnstoprem" style="left:35px; top:28px; width:179px; height:19px; text-align:left; "/>
  910. <button id="button2" class="btn2_letter2" style="left:122px; top:50px; width:42px; height:19px; ">
  911. <caption>확인</caption>
  912. <script type="javascript" ev:event="DOMActivate">
  913. <![CDATA[
  914. if(sSEARCHTYPE == "1"){
  915. grd_dtllist.disabled = false;
  916. } else {
  917. grd_dtllist_staff.disabled = false;
  918. }
  919. btn_requnpreppatbase.disabled = false;
  920. btn_recwrterate.disabled = false;
  921. btn_staffsingrecwrterate.disabled = false;
  922. btn_ex.disabled = false;
  923. btn_save.disabled = false;
  924. grp_cnstop.attribute("height") = 0;
  925. fSetCnstoprem();
  926. ]]>
  927. </script>
  928. </button>
  929. <button id="button3" class="btn2_letter2" style="left:166px; top:50px; width:42px; height:19px; ">
  930. <caption>취소</caption>
  931. <script type="javascript" ev:event="DOMActivate">
  932. <![CDATA[
  933. if(sSEARCHTYPE == "1"){
  934. grd_dtllist.disabled = false;
  935. } else {
  936. grd_dtllist_staff.disabled = false;
  937. }
  938. btn_requnpreppatbase.disabled = false;
  939. btn_recwrterate.disabled = false;
  940. btn_staffsingrecwrterate.disabled = false;
  941. btn_ex.disabled = false;
  942. btn_save.disabled = false;
  943. grp_cnstop.attribute("height") = 0;
  944. ]]>
  945. </script>
  946. </button>
  947. </group>
  948. <group id="grp_wrtedept" style="left:812px; top:183px; width:218px; height:55px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
  949. <caption id="caption2" style="left:5px; top:5px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">작성과</caption>
  950. <button id="btn_cnfm" class="btn2_letter2" style="left:122px; top:26px; width:42px; height:19px; ">
  951. <caption>확인</caption>
  952. <script type="javascript" ev:event="DOMActivate">
  953. <![CDATA[
  954. if(sSEARCHTYPE == "1"){
  955. grd_dtllist.disabled = false;
  956. } else {
  957. grd_dtllist_staff.disabled = false;
  958. }
  959. btn_requnpreppatbase.disabled = false;
  960. btn_recwrterate.disabled = false;
  961. btn_staffsingrecwrterate.disabled = false;
  962. btn_ex.disabled = false;
  963. btn_save.disabled = false;
  964. grp_wrtedept.attribute("height") = 0;
  965. fReqSetWrteDeptCD();
  966. ]]>
  967. </script>
  968. </button>
  969. <button id="button6" class="btn2_letter2" style="left:166px; top:26px; width:42px; height:19px; ">
  970. <caption>취소</caption>
  971. <script type="javascript" ev:event="DOMActivate">
  972. <![CDATA[
  973. if(sSEARCHTYPE == "1"){
  974. grd_dtllist.disabled = false;
  975. } else {
  976. grd_dtllist_staff.disabled = false;
  977. }
  978. btn_requnpreppatbase.disabled = false;
  979. btn_recwrterate.disabled = false;
  980. btn_staffsingrecwrterate.disabled = false;
  981. btn_ex.disabled = false;
  982. btn_save.disabled = false;
  983. grp_wrtedept.attribute("height") = 0;
  984. ]]>
  985. </script>
  986. </button>
  987. <select1 id="cmb_wrtedept" ref="/root/init/wrtedeptcd" appearance="minimal" style="left:52px; top:5px; width:156px; height:19px; text-align:left; ">
  988. <choices>
  989. <itemset nodeset="/root/init/rspd/dept/">
  990. <label ref="deptnm"/>
  991. <value ref="deptcd"/>
  992. </itemset>
  993. </choices>
  994. </select1>
  995. </group>
  996. <group id="grp_wrtedeldept" style="left:870px; top:230px; width:218px; height:55px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
  997. <caption id="caption5" style="left:5px; top:5px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">작성분과</caption>
  998. <button id="button9" class="btn2_letter2" style="left:122px; top:26px; width:42px; height:19px; ">
  999. <caption>확인</caption>
  1000. <script type="javascript" ev:event="DOMActivate">
  1001. <![CDATA[
  1002. if(sSEARCHTYPE == "1"){
  1003. grd_dtllist.disabled = false;
  1004. } else {
  1005. grd_dtllist_staff.disabled = false;
  1006. }
  1007. btn_requnpreppatbase.disabled = false;
  1008. btn_recwrterate.disabled = false;
  1009. btn_staffsingrecwrterate.disabled = false;
  1010. btn_ex.disabled = false;
  1011. btn_save.disabled = false;
  1012. grp_wrtedeldept.attribute("height") = 0;
  1013. fSetDetlDeptCD();
  1014. ]]>
  1015. </script>
  1016. </button>
  1017. <button id="button10" class="btn2_letter2" style="left:166px; top:26px; width:42px; height:19px; ">
  1018. <caption>취소</caption>
  1019. <script type="javascript" ev:event="DOMActivate">
  1020. <![CDATA[
  1021. if(sSEARCHTYPE == "1"){
  1022. grd_dtllist.disabled = false;
  1023. } else {
  1024. grd_dtllist_staff.disabled = false;
  1025. }
  1026. btn_requnpreppatbase.disabled = false;
  1027. btn_recwrterate.disabled = false;
  1028. btn_staffsingrecwrterate.disabled = false;
  1029. btn_ex.disabled = false;
  1030. btn_save.disabled = false;
  1031. grp_wrtedeldept.attribute("height") = 0;
  1032. ]]>
  1033. </script>
  1034. </button>
  1035. <select1 id="cmb_detldeptcd" ref="/root/main/wrtedeptcd/detldeptcd" appearance="minimal" style="left:64px; top:5px; width:144px; height:19px; text-align:left; ">
  1036. <choices>
  1037. <itemset>
  1038. <label ref="cdnm"/>
  1039. <value ref="cdid"/>
  1040. </itemset>
  1041. </choices>
  1042. </select1>
  1043. </group>
  1044. <group id="group6" style="left:0px; top:10px; width:375px; height:90px; vertical-align:top; ">
  1045. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:375px; height:90px; color:#3366ff; "/>
  1046. <button id="btn_patreq" class="icon_search" visibility="visible" style="left:165px; top:28px; width:16px; height:16px; ">
  1047. <caption/>
  1048. <script type="javascript" ev:event="DOMActivate">
  1049. <![CDATA[
  1050. input1.value= "";
  1051. opt_qry.value = "";
  1052. fGetPid("/root/main/cond/pat/pid", "/root/main/cond/pat/hngnm");
  1053. /*
  1054. model.makeValue("/root/temp/pid" , model.getValue("/root/main/cond/pat/pid"));
  1055. model.makeValue("/root/temp/hngnm" , model.getValue("/root/main/cond/pat/hngnm"));
  1056. if(model.getValue("/root/main/cond/pat/pid") == ""){
  1057. model.setValue("/root/temp/srchcond", 1);
  1058. }else{
  1059. model.setValue("/root/temp/srchcond", 2);
  1060. }
  1061. model.setValue("/root/temp/autoflag", "Y");
  1062. model.refresh();
  1063. modal("SPPMC02500", 1,10, 10, "SPPMC02500", "/root/tmp", "/root/send");
  1064. */
  1065. ]]>
  1066. </script>
  1067. </button>
  1068. <input id="ipt_pid" ref="/root/main/cond/pat/pid" class="input_search" style="left:96px; top:27px; width:65px; height:19px; text-align:left; ">
  1069. <script type="javascript" ev:event="onkeypress">
  1070. <![CDATA[
  1071. if(event.keycode == 13){
  1072. ipt_pid.value = ipt_pid.currentText;
  1073. opt_qry.value = "";
  1074. fReqGetUnPrepPatChosInfo(ipt_pid.value, "I", "A");
  1075. }
  1076. ]]>
  1077. </script>
  1078. </input>
  1079. <caption id="caption7" class="search_name" style="left:8px; top:49px; width:89px; height:17px; ">내원정보 :</caption>
  1080. <button id="btn_requnpreppatbase" class="btn1_letter2" style="left:297px; top:5px; width:56px; height:22px; ">
  1081. <caption>조회</caption>
  1082. <script type="javascript" ev:event="DOMActivate">
  1083. <![CDATA[
  1084. ]]>
  1085. </script>
  1086. <script type="javascript" ev:event="onclick">
  1087. <![CDATA[
  1088. sSEARCHPAT = "PAT";
  1089. sSEARCHTYPE = "1";
  1090. sSEARCHSORT = "";
  1091. btn_width1.disabled = true;
  1092. btn_width2.disabled = false;
  1093. fSearchPat();
  1094. ]]>
  1095. </script>
  1096. </button>
  1097. <caption id="caption9" class="search_name" style="left:8px; top:27px; width:89px; height:17px; ">등록번호 :</caption>
  1098. <input id="input1" ref="/root/main/cond/pat/hngnm" class="input_search" style="left:184px; top:27px; width:70px; height:19px; text-align:left; ">
  1099. <script type="javascript" ev:event="onkeypress">
  1100. <![CDATA[
  1101. ]]>
  1102. </script>
  1103. </input>
  1104. <select1 id="cmb_chosinfo" ref="/root/main/cond/chosinfo" appearance="minimal" style="left:96px; top:49px; width:270px; height:19px; text-align:left; ">
  1105. <choices>
  1106. <itemset nodeset="/root/main/patinfo/pathistlist">
  1107. <label ref="chosinfo"/>
  1108. <value ref="rowcnt"/>
  1109. </itemset>
  1110. </choices>
  1111. <script type="javascript" ev:event="xforms-value-changed">
  1112. <![CDATA[
  1113. var pid = model.getValue("/root/main/patinfo/pathistlist[rowcnt ='" + cmb_chosinfo.value + "']/pid");
  1114. var indd= model.getValue("/root/main/patinfo/pathistlist[rowcnt ='" + cmb_chosinfo.value + "']/orddd");
  1115. var cretno= model.getValue("/root/main/patinfo/pathistlist[rowcnt ='" + cmb_chosinfo.value + "']/cretno");
  1116. var dschdd= model.getValue("/root/main/patinfo/pathistlist[rowcnt ='" + cmb_chosinfo.value + "']/dschdd");
  1117. model.makeValue("/root/main/cond/pat/pid" , pid);
  1118. model.makeValue("/root/main/cond/pat/indd" , indd);
  1119. model.makeValue("/root/main/cond/pat/cretno" , cretno);
  1120. model.refresh();
  1121. if(dschdd != '재원중'){
  1122. indschflag = "D";
  1123. }else{
  1124. indschflag = "I";
  1125. }
  1126. var wndobj = getOpenWindow("SPMRI02700");
  1127. if(wndobj != null){
  1128. setParameter("SPMRI02700_pid", pid);
  1129. wndobj.javascript.fReqGetUnPrepOpList();
  1130. wndobj.model.setFocus("grd_unprepoplist");
  1131. wndobj.model.refresh();
  1132. }
  1133. var wndobj2 = getOpenWindow("SPMRI02600");
  1134. if(wndobj2 != null){
  1135. wndobj2.javascript.gRecLoad = "N";
  1136. wndobj2.javascript.fSetPatInfo(pid, indd, cretno, indschflag);
  1137. }
  1138. if(sSEARCHENTER == "Y" && sSEARCHPIDINFO == "Y"){
  1139. sSEARCHPAT = "PAT";
  1140. fSearchPat();
  1141. }
  1142. // btn_requnpreppatbase.dispatch("DOMActivate");
  1143. ]]>
  1144. </script>
  1145. </select1>
  1146. <caption id="caption11" class="search_name" style="left:8px; top:5px; width:93px; height:17px; ">서식명</caption>
  1147. <select1 id="cmb_form2" ref="/root/main/cond/pat/srcformcd" class="combo_search" navindex="1" appearance="minimal" style="left:96px; top:5px; width:134px; height:19px; text-align:left; ">
  1148. <choices>
  1149. <itemset nodeset="/root/init/rspd/formall/">
  1150. <label ref="srcformnm"/>
  1151. <value ref="srcformcd"/>
  1152. </itemset>
  1153. </choices>
  1154. </select1>
  1155. <caption id="caption13" style="left:88px; top:3px; width:10px; height:30px; font-size:10pt; font-weight:bold; ">:</caption>
  1156. </group>
  1157. <button id="btn_width2" style="left:1013px; top:107px; width:28px; height:20px; background-image:../../../com/commonweb/images/btn_send_right.gif; ">
  1158. <caption/>
  1159. <script type="javascript" ev:event="DOMActivate">
  1160. <![CDATA[
  1161. btn_width1.disabled =false;
  1162. btn_width2.disabled = true;
  1163. fColHidden("long");
  1164. if(sSEARCHTYPE == "1"){
  1165. grd_dtllist.refresh();
  1166. } else {
  1167. grd_dtllist_staff.refresh();
  1168. }
  1169. ]]>
  1170. </script>
  1171. </button>
  1172. <button id="btn_width1" style="left:985px; top:107px; width:26px; height:19px; background-image:../../../com/commonweb/images/btn_send_left.gif; ">
  1173. <caption/>
  1174. <script type="javascript" ev:event="DOMActivate">
  1175. <![CDATA[
  1176. btn_width1.disabled = true;
  1177. btn_width2.disabled = false;
  1178. fColHidden("short");
  1179. if(sSEARCHTYPE == "1"){
  1180. grd_dtllist.refresh();
  1181. } else {
  1182. grd_dtllist_staff.refresh();
  1183. }
  1184. ]]>
  1185. </script>
  1186. </button>
  1187. <output id="opt_qry" ref="/root/main/cond/output" class="output_fix" visibility="visible" style="left:80px; top:105px; width:170px; height:19px; "/>
  1188. <caption id="caption14" class="search_name" style="left:254px; top:109px; width:231px; height:17px; ">작성현황(시점내/시점이후/전체) :</caption>
  1189. <output id="opt_timein" ref="/root/main/dtllist/cnt/wrteprescondcnt" class="output_fix" visibility="visible" style="left:486px; top:107px; width:125px; height:19px; text-align:center; "/>
  1190. <caption id="caption15" class="search_name" style="left:611px; top:109px; width:243px; height:17px; ">미작성현황(시점내/시점이후/전체) :</caption>
  1191. <output id="opt_timeinon" ref="/root/main/dtllist/cnt/unwrteprescondcnt" class="output_fix" visibility="visible" style="left:855px; top:107px; width:125px; height:19px; text-align:center; "/>
  1192. <button id="btn_save" class="btn2_letter2" style="left:1148px; top:107px; width:42px; height:19px; ">
  1193. <caption>저장</caption>
  1194. <script type="javascript" ev:event="DOMActivate">
  1195. <![CDATA[
  1196. fSaveUnPrepInfo();
  1197. ]]>
  1198. </script>
  1199. </button>
  1200. <button id="button7" class="btn2_letter4" style="left:1040px; top:107px; width:64px; height:19px; ">
  1201. <caption>배치생성</caption>
  1202. <script type="javascript" ev:event="DOMActivate">
  1203. <![CDATA[
  1204. modal("SPMRI03700");
  1205. ]]>
  1206. </script>
  1207. </button>
  1208. </group>
  1209. </xhtml:body>
  1210. </xhtml:html>