SMPIC90100_행위재료입력.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <?xml-stylesheet href="C:/CMCProject/application/webapps/com/commonweb/css/common.css" type="text/css" ?>
  4. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  5. <xhtml:head>
  6. <xhtml:title>행위처방등록</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <mech>
  12. <mechlist/>
  13. </mech>
  14. <actmatr>
  15. <actmatrlist/>
  16. </actmatr>
  17. <mainbd>
  18. <mainbdlist/>
  19. </mainbd>
  20. </main>
  21. <send>
  22. <searchlist>
  23. <calcscorcd/>
  24. <insuedicd/>
  25. <hngnm/>
  26. <engnm/>
  27. <ordnm/>
  28. <insuclsno/>
  29. <allyn/>
  30. <grupsnglflag/>
  31. <smactcd/>
  32. <actprcpdrid/>
  33. <actdeptcd/>
  34. <earncls1/>
  35. <earncls2/>
  36. <earncls3/>
  37. </searchlist>
  38. <reslist>
  39. <actprcpdrid/>
  40. <actprcpdrnm/>
  41. <actdeptcd/>
  42. <actdeptnm/>
  43. <deptflag/>
  44. </reslist>
  45. <reqlist/>
  46. </send>
  47. <init>
  48. <grupsnglflag>A</grupsnglflag>
  49. <instcd/>
  50. </init>
  51. <temp>
  52. <usndeptlist/>
  53. </temp>
  54. <hidden>
  55. <item1>
  56. <ictp1List>
  57. <ictp1>
  58. <ictp1_earncls1/>
  59. <ictp1_earncls1nm/>
  60. </ictp1>
  61. </ictp1List>
  62. <ictp2List>
  63. <ictp2>
  64. <ictp2_earncls1/>
  65. <ictp2_earncls2/>
  66. <ictp2_earncls2nm/>
  67. </ictp2>
  68. </ictp2List>
  69. <ictp3List>
  70. <ictp3>
  71. <ictp3_earncls1/>
  72. <ictp3_earncls2/>
  73. <ictp3_earncls3/>
  74. <ictp3_earncls3nm/>
  75. </ictp3>
  76. </ictp3List>
  77. </item1>
  78. </hidden>
  79. </root>
  80. </instance>
  81. <script type="javascript" ev:event="xforms-ready">
  82. <![CDATA[
  83. fInitialize();
  84. ]]>
  85. </script>
  86. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  90. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  91. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  92. <script type="javascript" src="../../../pam/calcscormngtweb/js/PICCOM.js"/>
  93. <script type="javascript">
  94. <![CDATA[
  95. function fInitialize(){
  96. model.removeNodeset("/root/main/mech/mechlist");
  97. model.makeValue("/root/init/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
  98. //model.setFocus("ipt_actprcpdrid");
  99. //처방대분류,중분류,소분류 추가
  100. //2010.07.20 Jwoo
  101. submit("TRPIC90018");
  102. model.refresh();
  103. }
  104. //
  105. function fSelect(){
  106. // submit("TRPIC90403");
  107. //
  108. // var u = model.setValue(ipt_smactcd.attribute("ref"),grd_synom.valueMatrix(1,grd_synom.colRef("actcd"));
  109. //
  110. // alert("U?"+u);
  111. if (submit("TRPIC90005")){
  112. if (grd_actsearch.rows > 0){
  113. //model.copyNode("/root/main/mech","/root/main/mechlist["+ 1 +"]");
  114. model.refresh();
  115. }
  116. else{
  117. messageBox("조회결과가 없습니다!", "E999");
  118. }
  119. }
  120. // }
  121. }
  122. function fmatch(){
  123. opener.javascript.setParameter("actdeptcd" ,model.getValue(ipt_actdeptcd.attribute("ref") )); //의사id
  124. opener.javascript.setParameter("actprcpdrnm" ,model.getValue(ipt_actprcpdrnm.attribute("ref") )); //의사명
  125. opener.javascript.setParameter("actprcpdrid" ,model.getValue(ipt_actprcpdrid.attribute("ref") )); //부서코드
  126. opener.javascript.setParameter("actdeptnm" ,model.getValue(ipt_actdeptnm.attribute("ref") )); //부서명
  127. opener.javascript.setParameter("deptflag" ,model.getValue(rdo_deptflag.attribute("ref") )); //부서구분코드( 1:구매,2:약제)
  128. opener.javascript.setParameter("calcscorcd" ,model.getValue("/root/main/mech/mechlist["+grd_actsearch.row+"]/calcscorcd")); //수가코드 = 처방코드
  129. opener.javascript.setParameter("hngnm" ,model.getValue("/root/main/mech/mechlist["+grd_actsearch.row+"]/hngnm" )); //한글명
  130. opener.javascript.setParameter("engnm" ,model.getValue("/root/main/mech/mechlist["+grd_actsearch.row+"]/engnm" )); //영문명
  131. opener.javascript.setParameter("fromdd" ,model.getValue("/root/main/mech/mechlist["+grd_actsearch.row+"]/fromdd" )); //적용일자
  132. opener.javascript.setParameter("todd" ,model.getValue("/root/main/mech/mechlist["+grd_actsearch.row+"]/todd" )); //종료일자
  133. }
  134. function fset(){
  135. var userid = getParameter("actprcpdrid");
  136. var usernm = getParameter("actprcpdrnm");
  137. var deptcd = getParameter("actdeptcd");
  138. var deptnm = getParameter("actdeptnm");
  139. model.setValue("/root/send/reslist/actdeptcd",deptcd ); //값 셋팅해주는 역할
  140. model.setValue("/root/send/reslist/actdeptnm",deptnm );
  141. model.setValue("/root/send/reslist/actprcpdrid",userid );
  142. model.setValue("/root/send/reslist/actprcpdrnm",usernm );
  143. }
  144. function fset2(){
  145. var actprcpdrid = grd_hidput.valueMatrix(1,grd_hidput.colRef("actprcpdrid"));
  146. var actdeptcd = grd_hidput.valueMatrix(1,grd_hidput.colRef("actdeptcd"));
  147. var actdeptnm = grd_hidput.valueMatrix(1,grd_hidput.colRef("actdeptnm"));
  148. var actprcpdrnm = grd_hidput.valueMatrix(1,grd_hidput.colRef("actprcpdrnm"));
  149. model.setValue("/root/send/reslist/actdeptcd",actdeptcd ); //값 셋팅해주는 역할
  150. model.setValue("/root/send/reslist/actdeptnm",actdeptnm );
  151. model.setValue("/root/send/reslist/actprcpdrid",actprcpdrid );
  152. model.setValue("/root/send/reslist/actprcpdrnm",actprcpdrnm );
  153. ipt_actprcpdrid.refresh();
  154. ipt_actprcpdrnm.refresh();
  155. ipt_actdeptcd.refresh();
  156. ipt_actdeptnm.refresh();
  157. }
  158. ]]>
  159. </script>
  160. <submission id="TRPIC90005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/mech"/>
  161. <submission id="TRPIC90402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reslist" resultref="/root/temp"/>
  162. <submission id="TRPIC90403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reslist" resultref="/root/main/actmatr"/>
  163. <submission id="TRPIC90012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reslist" resultref="/root/main/mainbd"/>
  164. <submission id="TRPIC90018" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/hidden/item1"/>
  165. </model>
  166. </xhtml:head>
  167. <xhtml:body pagewidth="1000" pageheight="500">
  168. <button id="btn_subsearch" class="icon_search" visibility="hidden" style="left:640px; top:145px; width:16px; height:16px; ">
  169. <caption/>
  170. <script type="javascript" ev:event="DOMActivate">
  171. <![CDATA[
  172. modal("SMPIC90400");//popup설정
  173. fset();
  174. ipt_actdeptcd.refresh();
  175. ipt_actdeptnm.refresh();
  176. ipt_actprcpdrid.refresh();
  177. ipt_actprcpdrnm.refresh();
  178. ipt_actdeptnm.refresh();
  179. ]]>
  180. </script>
  181. </button>
  182. <input id="ipt_actdeptnm" ref="/root/send/reslist/actdeptnm" visibility="hidden" appearance="input" style="left:755px; top:145px; width:13px; height:19px; border-color:#c0c0c0; border-style:solid; ">
  183. <hint>
  184. <![CDATA[부서코드를 입력 시 자동으로 검색 됩니다.]]>
  185. </hint>
  186. <script type="javascript" ev:event="onkeyup">
  187. <![CDATA[
  188. if(event.keyCode == "13") {
  189. if(ipt_actdeptnm.value == "" && ipt_actdeptnm.value == "-"){
  190. messageBox("부서코드를 입력하세요","i");
  191. return;
  192. }
  193. btn_driddept.dispatch("DOMActivate");
  194. }
  195. ]]>
  196. </script>
  197. </input>
  198. <caption id="caption5" class="tit_2" visibility="hidden" style="left:370px; top:150px; width:113px; height:13px; ">행위주체 입력</caption>
  199. <input id="ipt_actprcpdrnm" ref="/root/send/reslist/actprcpdrnm" visibility="hidden" appearance="input" style="left:605px; top:145px; width:25px; height:19px; border-color:#c0c0c0; border-style:solid; ">
  200. <hint>
  201. <![CDATA[의사id를 입력 시 자동으로 검색 됩니다]]>
  202. </hint>
  203. <script type="javascript" ev:event="onkeyup">
  204. <![CDATA[
  205. if(event.keyCode == "13") {
  206. if(ipt_actdeptnm.value == "" && ipt_actdeptnm.value == "-"){
  207. messageBox("부서코드를 입력하세요","i");
  208. return;
  209. }
  210. btn_driddept.dispatch("DOMActivate");
  211. }
  212. ]]>
  213. </script>
  214. </input>
  215. <caption id="caption4" class="cell_1" visibility="hidden" style="left:490px; top:145px; width:71px; height:19px; text-align:center; ">의사ID</caption>
  216. <caption id="caption3" class="cell_1" visibility="hidden" style="left:660px; top:145px; width:71px; height:19px; text-align:center; ">부서코드</caption>
  217. <button id="btn_choice" class="btn3_letter2" visibility="hidden" style="left:790px; top:140px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn3_letter2.gif; ">
  218. <caption>선택</caption>
  219. <script type="javascript" ev:event="DOMActivate">
  220. <![CDATA[
  221. if(grd_actsearch.valueMatrix(1,1) == ""){
  222. messageBox("수가코드 조회를 먼저","C003");
  223. }else if(rdo_deptflag.value == "" ){
  224. messageBox("구매사용/약제사용 여부를","C002");
  225. }else{
  226. fmatch();
  227. model.close();
  228. }
  229. ]]>
  230. </script>
  231. <hint>
  232. <![CDATA[하단 리스트의 행위재료를 선택 한 후 버튼을 눌러주세요]]>
  233. </hint>
  234. </button>
  235. <input id="ipt_actprcpdrid" ref="/root/send/reslist/actprcpdrid" class="input_essential" visibility="hidden" appearance="input" style="left:568px; top:145px; width:32px; height:19px; border-color:#c0c0c0; border-style:solid; ">
  236. <script type="javascript" ev:event="onkeyup">
  237. <![CDATA[
  238. if (event.keyCode == "13") {
  239. if(ipt_actdeptcd.value == ""){
  240. messageBox("부서코드를","C001");
  241. return;
  242. }
  243. setInputNodeCurText();
  244. ipt_calcscorcd.refresh();
  245. btn_driddept.dispatch("DOMActivate");
  246. }
  247. ]]>
  248. </script>
  249. <hint>
  250. <![CDATA[부서코드로만 진행시 하이픈 (-)을 넣어주세요]]>
  251. </hint>
  252. </input>
  253. <input id="ipt_actdeptcd" ref="/root/send/reslist/actdeptcd" class="input_essential" visibility="hidden" appearance="input" style="left:735px; top:145px; width:15px; height:19px; border-color:#c0c0c0; border-style:solid; ">
  254. <script type="javascript" ev:event="onkeyup">
  255. <![CDATA[
  256. if (event.keyCode == "13") {
  257. if(ipt_actprcpdrid.value == ""){
  258. messageBox("의사코드를","C001");
  259. return;
  260. }
  261. setInputNodeCurText();
  262. ipt_calcscorcd.refresh();
  263. btn_driddept.dispatch("DOMActivate");
  264. }
  265. ]]>
  266. </script>
  267. <hint>
  268. <![CDATA[부서코드를 넣지 않을 시 기본으로 정형외과가 검색됩니다.]]>
  269. </hint>
  270. </input>
  271. <button id="btn_driddept" class="btn1_letter2" visibility="hidden" style="left:910px; top:140px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn3_letter2.gif; ">
  272. <caption>조회</caption>
  273. <script type="javascript" ev:event="DOMActivate">
  274. <![CDATA[
  275. if(ipt_actprcpdrid.value =="" && ipt_actprcpdrnm.value =="" && ipt_actdeptcd.value =="" && ipt_actdeptnm.value ==""){
  276. messageBox("행위주체를","C001");
  277. }else{
  278. // alert(ipt_actprcpdrid.value);
  279. if(ipt_actprcpdrid.value == "-"){
  280. // model.setValue(ipt_actprcpdrnm.attribute("ref"),"");
  281. // model.setValue(ipt_actprcpdrid.attribute("ref"),"");
  282. model.setValue(ipt_actprcpdrid2.attribute("ref"),model.getValue(ipt_actdeptcd.attribute("ref")));
  283. }else{
  284. model.setValue(ipt_actprcpdrid2.attribute("ref"),model.getValue(ipt_actprcpdrid.attribute("ref")));
  285. model.setValue(ipt_actdeptcd2.attribute("ref"),model.getValue(ipt_actdeptcd.attribute("ref")));
  286. }
  287. submit("TRPIC90012");
  288. fset2();
  289. }
  290. ]]>
  291. </script>
  292. </button>
  293. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:10px; top:32px; width:955px; height:105px; "/>
  294. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:93px; height:14px; ">행위처방입력</caption>
  295. <caption id="caption1" class="tit_2" style="left:9px; top:147px; width:147px; height:13px; ">행위처방 검색</caption>
  296. <input id="ipt_engnm" ref="/root/send/searchlist/engnm" class="input_default" autonext="false" imemode="alpha" maxlength="120" style="left:105px; top:86px; width:300px; height:19px; ">
  297. <script type="javascript" ev:event="onkeypress">
  298. <![CDATA[
  299. if (event.keyCode == '13') {
  300. if(ipt_engnm.currentText.length < 2) {
  301. messageBox("검색할 영문명을 2글자 이상 입력하십시오.", "C999");
  302. return;
  303. }
  304. btn_search.dispatch("DOMActivate");
  305. // fSelect();
  306. }
  307. ]]>
  308. </script>
  309. </input>
  310. <input id="ipt_insuedicd" ref="/root/send/searchlist/insuedicd" class="input_default" autonext="false" imemode="disabled" maxlength="12" _chartype="upper" style="left:512px; top:61px; width:136px; height:19px; ">
  311. <script type="javascript" ev:event="onkeypress">
  312. <![CDATA[
  313. if (event.keyCode == '13') {
  314. setInputNodeCurText();
  315. if(ipt_insuedicd.currentText.length < 2) {
  316. messageBox("검색할 보험EDI 코드를 2글자 이상 입력하십시오.", "C999");
  317. return;
  318. }
  319. btn_search.dispatch("DOMActivate");
  320. // fSelect();
  321. }
  322. ]]>
  323. </script>
  324. </input>
  325. <input id="ipt_insuclsno" ref="/root/send/searchlist/insuclsno" class="input_default" autonext="false" maxlength="60" style="left:513px; top:111px; width:135px; height:19px; ">
  326. <script type="javascript" ev:event="onkeypress">
  327. <![CDATA[
  328. if (event.keyCode == '13') {
  329. if(ipt_insuclsno.currentText.length < 1) {
  330. messageBox("분류번호를 입력하십시오.", "C999");
  331. return;
  332. }
  333. btn_search.dispatch("DOMActivate");
  334. // fSelect();
  335. }
  336. ]]>
  337. </script>
  338. </input>
  339. <input id="ipt_ordnm" ref="/root/send/searchlist/ordnm" class="input_default" autonext="false" maxlength="120" style="left:105px; top:110px; width:300px; height:19px; ">
  340. <script type="javascript" ev:event="onkeypress">
  341. <![CDATA[
  342. if (event.keyCode == '13') {
  343. if(ipt_ordnm.currentText.length < 2) {
  344. messageBox("검색할 처방명을 2글자 이상 입력하십시오.", "C999");
  345. return;
  346. }
  347. btn_search.dispatch("DOMActivate");
  348. // fSelect();
  349. }
  350. ]]>
  351. </script>
  352. </input>
  353. <caption id="caption55" class="search_name" style="left:15px; top:109px; width:93px; height:17px; ">처 방 명 :</caption>
  354. <input id="ipt_calcscorcd" ref="/root/send/searchlist/calcscorcd" class="input_essential" navindex="1" autonext="false" imemode="alpha" maxlength="12" _chartype="upper" style="left:105px; top:38px; width:150px; height:19px; ">
  355. <script type="javascript" ev:event="onkeyup">
  356. <![CDATA[
  357. if (event.keyCode == "13") {
  358. setInputNodeCurText();
  359. ipt_calcscorcd.refresh();
  360. model.setValue(ipt_actprcpdrid2.attribute("ref"),model.getValue(ipt_actprcpdrid.attribute("ref")));
  361. model.setValue(ipt_actdeptcd2.attribute("ref"),model.getValue(ipt_actdeptcd.attribute("ref")));
  362. if(ipt_calcscorcd.currentText.length < 2) {
  363. messageBox("검색할 수가코드를 2글자 이상 입력하십시오.", "C999");
  364. return;
  365. }
  366. btn_search.dispatch("DOMActivate");
  367. }
  368. ]]>
  369. </script>
  370. <script type="javascript" ev:event="DOMFocusOut">
  371. <![CDATA[
  372. ipt_calcscorcd.refresh();
  373. ]]>
  374. </script>
  375. <hint>
  376. <![CDATA[수가코드를 조회할 수 있습니다. 단, 두글자 이상 입력하십시오]]>
  377. </hint>
  378. </input>
  379. <caption id="caption24" class="search_name" style="left:15px; top:61px; width:93px; height:17px; ">한 글 명 :</caption>
  380. <caption id="caption25" class="search_name" style="left:15px; top:85px; width:93px; height:17px; ">영 문 명 :</caption>
  381. <caption id="caption26" class="search_name" style="left:416px; top:109px; width:95px; height:17px; ">분류번호 :</caption>
  382. <caption id="caption7" class="search_name" style="left:15px; top:37px; width:105px; height:17px; ">수가코드 :</caption>
  383. <caption id="caption8" class="search_name" style="left:415px; top:84px; width:96px; height:17px; ">그룹여부 :</caption>
  384. <input id="ipt_hngnm" ref="/root/send/searchlist/hngnm" class="input_default" autonext="false" imemode="hangul" maxlength="120" style="left:105px; top:62px; width:300px; height:19px; ">
  385. <script type="javascript" ev:event="onkeypress">
  386. <![CDATA[
  387. if (event.keyCode == '13') {
  388. if(ipt_hngnm.currentText.length < 2) {
  389. messageBox("검색할 처방명을 2글자 이상 입력하십시오.", "C999");
  390. return;
  391. }
  392. btn_search.dispatch("DOMActivate");
  393. // fSelect();
  394. }
  395. ]]>
  396. </script>
  397. </input>
  398. <select1 id="cmb_grupsnglflag" ref="/root/init/grupsnglflag" class="combo_default" appearance="minimal" style="left:513px; top:86px; width:135px; height:19px; ">
  399. <choices>
  400. <item>
  401. <label>전체</label>
  402. <value>A</value>
  403. </item>
  404. <item>
  405. <label>group</label>
  406. <value>G</value>
  407. </item>
  408. <item>
  409. <label>single</label>
  410. <value>S</value>
  411. </item>
  412. </choices>
  413. </select1>
  414. <caption id="caption2" class="search_name" style="left:414px; top:59px; width:97px; height:17px; ">보험EDI :</caption>
  415. <datagrid id="grd_actsearch" nodeset="/root/main/mech/mechlist" caption="수가코드^기관코드^EDI코드^분류번호^그룹여부^한글명^영문명^적용일자^종료일자^최초발생자^최초발생자^최초입력일시^최종수정자^최종수정자^최종수정일시" colsep="^" colwidth="114, 15, 93, 93, 57, 428, 64, 110, 107, 27, 100, 126, 20, 100, 106" frozencols="6" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:171px; width:960px; height:324px; ">
  416. <col ref="calcscorcd" style="padding-left:10; "/>
  417. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  418. <col ref="insuedicd" style="text-align:center; "/>
  419. <col ref="insuclsno" style="text-align:left; padding-left:10; "/>
  420. <col ref="grupsnglflag" style="text-align:center; "/>
  421. <col ref="hngnm" style="text-align:left; padding-left:10; "/>
  422. <col ref="engnm" visibility="hidden" style="text-align:left; padding-left:10; "/>
  423. <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  424. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  425. <col ref="fstrgstrid" visibility="hidden"/>
  426. <col ref="fstrgstrnm" style="text-align:center; "/>
  427. <col ref="fstrgstdt" format="yyyy-mm-dd" style="text-align:center; "/>
  428. <col ref="lastupdtrid" visibility="hidden"/>
  429. <col ref="lastupdtrnm" style="text-align:center; "/>
  430. <col ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
  431. <script type="javascript" ev:event="ondblclick">
  432. <![CDATA[
  433. /* if(ipt_actprcpdrid.value == "" || ipt_actprcpdrnm.value == "" || ipt_actdeptcd.value == "" || ipt_actdeptnm.value == ""){
  434. messageBox("행위주체를","C001");
  435. }else{*/
  436. btn_choice.dispatch("DOMActivate");
  437. /* }*/
  438. ]]>
  439. </script>
  440. <script type="javascript" ev:event="onclick">
  441. <![CDATA[
  442. if(grd_actsearch.col == grd_actsearch.colRef(grd_actsearch.valueMatrix(grd_actsearch.row, grd_actsearch.colRef("calcscorcd")))){
  443. }
  444. ]]>
  445. </script>
  446. </datagrid>
  447. <button id="btn_search" class="btn1_letter2" navindex="2" style="left:895px; top:80px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  448. <caption>조회</caption>
  449. <script type="javascript" ev:event="DOMActivate">
  450. <![CDATA[
  451. model.makeValue("/root/send/searchlist/grupsnglflag", model.getValue(cmb_grupsnglflag.attribute("ref")))
  452. /* if(ipt_actprcpdrid.value == ""){
  453. messageBox("행위주체를 ","C001");
  454. model.setFocus("ipt_actprcpdrid");
  455. return;
  456. } */
  457. model.setValue(ipt_actprcpdrid2.attribute("ref"),model.getValue(ipt_actprcpdrid.attribute("ref")));
  458. model.setValue(ipt_actdeptcd2.attribute("ref"),model.getValue(ipt_actdeptcd.attribute("ref")));
  459. fSelect();
  460. /*
  461. else if(ipt_calcscorcd.value == ""){
  462. messageBox("수가코드를","C001");
  463. model.setFocus("ipt_calcscorcd");
  464. return;
  465. }else{
  466. model.setValue(ipt_actprcpdrid2.attribute("ref"),model.getValue(ipt_actprcpdrid.attribute("ref")));
  467. model.setValue(ipt_actdeptcd2.attribute("ref"),model.getValue(ipt_actdeptcd.attribute("ref")));
  468. fSelect();
  469. }
  470. */
  471. ]]>
  472. </script>
  473. <hint>
  474. <![CDATA[수가코드 조회]]>
  475. </hint>
  476. </button>
  477. <line id="line2" class="line_4" style="x1:880px; y1:60px; x2:880px; y2:128px; "/>
  478. <line id="line3" class="line_1" style="x1:5px; y1:165px; x2:965px; y2:165px; "/>
  479. <output id="opt_instcd" ref="/root/init/instcd" visibility="hidden" appearance="output" style="left:970px; top:470px; width:15px; height:19px; "/>
  480. <datagrid id="grd_synom" nodeset="/root/main/actmatr/actmatrlist" visibility="hidden" caption="actcd" colsep="^" colwidth="100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:755px; top:410px; width:80px; height:55px; ">
  481. <col ref="actcd" visibility="hidden"/>
  482. </datagrid>
  483. <input id="ipt_smactcd" ref="/root/send/searchlist/smactcd" class="input_essential" visibility="hidden" autonext="false" imemode="disabled" maxlength="12" _chartype="upper" style="left:280px; top:38px; width:85px; height:19px; ">
  484. <script type="javascript" ev:event="onkeyup">
  485. <![CDATA[
  486. if (event.keyCode == "13") {
  487. setInputNodeCurText();
  488. ipt_calcscorcd.refresh();
  489. if(ipt_calcscorcd.currentText.length < 2) {
  490. messageBox("검색할 수가코드를 2글자 이상 입력하십시오.", "C999");
  491. return;
  492. }
  493. btn_search.dispatch("DOMActivate");
  494. // fSelect();
  495. }
  496. ]]>
  497. </script>
  498. <script type="javascript" ev:event="DOMFocusOut">
  499. <![CDATA[
  500. ipt_calcscorcd.refresh();
  501. ]]>
  502. </script>
  503. </input>
  504. <datagrid id="grd_hidput" nodeset="/root/main/mainbd/mainbdlist" visibility="hidden" caption="부서코드^부서명^의사id^의사명" colsep="^" colwidth="77, 76, 70, 72" mergecellsfixedrows="bycolrec" rowsep="|" style="left:425px; top:405px; width:310px; height:60px; ">
  505. <col ref="actdeptcd"/>
  506. <col ref="actdeptnm"/>
  507. <col ref="actprcpdrid" visibility="hidden"/>
  508. <col ref="actprcpdrnm"/>
  509. </datagrid>
  510. <input id="ipt_actprcpdrid2" ref="/root/send/searchlist/actprcpdrid" visibility="hidden" style="left:385px; top:39px; width:40px; height:19px; "/>
  511. <input id="ipt_actdeptcd2" ref="/root/send/searchlist/actdeptcd" visibility="hidden" style="left:435px; top:39px; width:40px; height:19px; "/>
  512. <button id="button1" class="btn3_letter2" visibility="hidden" style="left:850px; top:140px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn3_letter2.gif; ">
  513. <caption>취소</caption>
  514. <script type="javascript" ev:event="DOMActivate">
  515. <![CDATA[
  516. /* if(getParameter("calcscorcd") != opener.javascript.opt_actcd.value){
  517. opener.javascript.setParameter("calcscorcd" ,opener.javascript.opt_actcd.value);
  518. opener.javascript.setParameter("actdeptcd" ,opener.javascript.opt_actdeptcd.value);
  519. opener.javascript.setParameter("actdeptnm" ,opener.javascript.opt_actdeptnm.value);
  520. opener.javascript.setParameter("actprcpdrid" ,opener.javascript.opt_actprcpdrid.value);
  521. opener.javascript.setParameter("actprcpdrnm" ,opener.javascript.opt_actprcpdrnm.value);
  522. opener.javascript.setParameter("fromdd" ,opener.javascript.opt_fromdd.value);
  523. opener.javascript.setParameter("todd" ,opener.javascript.opt_todd.value);
  524. opener.javascript.gridDbClick();
  525. }*/
  526. window.close();
  527. ]]>
  528. </script>
  529. <hint>
  530. <![CDATA[이전창으로 돌아갑니다]]>
  531. </hint>
  532. </button>
  533. <caption id="caption41" class="search_name" style="left:654px; top:86px; width:99px; height:17px; ">처방중분류 :</caption>
  534. <caption id="caption44" class="search_name" style="left:654px; top:62px; width:99px; height:17px; ">처방대분류 :</caption>
  535. <caption id="caption11" class="search_name" style="left:654px; top:111px; width:99px; height:17px; ">처방소분류 :</caption>
  536. <select1 id="combo4" ref="/root/send/searchlist/earncls3" class="combo_default" appearance="minimal" style="left:756px; top:111px; width:105px; height:19px; ">
  537. <choices>
  538. <itemset nodeset="/root/hidden/item1/ictp3List/ictp3">
  539. <label ref="ictp3_earncls3nm"/>
  540. <value ref="ictp3_earncls3"/>
  541. </itemset>
  542. </choices>
  543. </select1>
  544. <select1 id="combo21" ref="/root/send/searchlist/earncls1" class="combo_default" appearance="minimal" style="left:756px; top:61px; width:105px; height:19px; ">
  545. <choices>
  546. <itemset nodeset="/root/hidden/item1/ictp1List/ictp1">
  547. <label ref="ictp1_earncls1nm"/>
  548. <value ref="ictp1_earncls1"/>
  549. </itemset>
  550. </choices>
  551. <script type="javascript" ev:event="xforms-select">
  552. <![CDATA[
  553. model.resetInstanceNode("/root/send/searchlist/earncls2");
  554. //처방대분류에서 선택하면 중분류에서 그에 맞는것만 보여줍니다.
  555. var EarnCd1 = model.getValue("/root/send/searchlist/earncls1");
  556. combo12.choices.itemset.attribute("nodeset") = "/root/hidden/item1/ictp2List/ictp2[ictp2_earncls1 = '"+EarnCd1+"']";
  557. model.refresh();
  558. ]]>
  559. </script>
  560. </select1>
  561. <select1 id="combo12" ref="/root/send/searchlist/earncls2" class="combo_default" appearance="minimal" style="left:756px; top:86px; width:105px; height:19px; ">
  562. <choices>
  563. <itemset nodeset="/root/hidden/item1/ictp2List/ictp2">
  564. <label ref="ictp2_earncls2nm"/>
  565. <value ref="ictp2_earncls2"/>
  566. </itemset>
  567. </choices>
  568. <script type="javascript" ev:event="xforms-select">
  569. <![CDATA[
  570. model.resetInstanceNode("/root/send/searchlist/earncls3");
  571. //처방중분류에서 선택하면 소분류에서 그에 맞는것만 보여줍니다.
  572. var EarnCd1 = model.getValue("/root/send/searchlist/earncls1");
  573. var EarnCd2 = model.getValue("/root/send/searchlist/earncls2");
  574. combo4.choices.itemset.attribute("nodeset") = "/root/hidden/item1/ictp3List/ictp3[ ictp3_earncls1 = '"+EarnCd1+"' and ictp3_earncls2 = '"+EarnCd2+"']";
  575. model.refresh();
  576. ]]>
  577. </script>
  578. </select1>
  579. <select1 id="rdo_deptflag" ref="/root/send/reslist/deptflag" appearance="full" cols="2" overflow="visible" style="left:125px; top:145px; width:170px; height:15px; border-style:none; ">
  580. <choices>
  581. <item>
  582. <label>구매사용</label>
  583. <value>1</value>
  584. </item>
  585. <item>
  586. <label>약제사용</label>
  587. <value>2</value>
  588. </item>
  589. </choices>
  590. </select1>
  591. </xhtml:body>
  592. </xhtml:html>