SMPMC06800_선택진료신청관리.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <patinfo>
  11. <patinfolist>
  12. <stat/>
  13. <pid/>
  14. <hngnm/>
  15. <rrgstno1/>
  16. <rrgstno2/>
  17. <choiflag/>
  18. <ordtype/>
  19. <orddd/>
  20. <orddeptcd/>
  21. <orddrid/>
  22. <specdeptcd/>
  23. <fromdd/>
  24. <rsrvdd/>
  25. <flag/>
  26. <nochoiyn/>
  27. <newElement/>
  28. <status/>
  29. </patinfolist>
  30. </patinfo>
  31. <patappinfolist>
  32. <patappinfo>
  33. <subject>진료지원과</subject>
  34. <specorddeptcd>2200000000</specorddeptcd>
  35. <nochoiyn/>
  36. <pid/>
  37. <orddeptcd/>
  38. <orddrid/>
  39. <ordtype/>
  40. <fromdd/>
  41. <todd/>
  42. <seqno/>
  43. <histsate/>
  44. <orddd/>
  45. <cretno/>
  46. <rgstposflag/>
  47. <choiflag/>
  48. <saimsnyn/>
  49. </patappinfo>
  50. <patappinfo>
  51. <subject>
  52. <진료지원과/>
  53. </subject>
  54. <specorddeptcd>2180000000</specorddeptcd>
  55. <nochoiyn/>
  56. <pid/>
  57. <orddeptcd/>
  58. <orddrid/>
  59. <ordtype/>
  60. <fromdd/>
  61. <todd/>
  62. <seqno/>
  63. <histsate/>
  64. <orddd/>
  65. <cretno/>
  66. <rgstposflag/>
  67. <choiflag/>
  68. <saimsnyn/>
  69. </patappinfo>
  70. <patappinfo>
  71. <subject/>
  72. <specorddeptcd>2210000000</specorddeptcd>
  73. <nochoiyn/>
  74. <pid/>
  75. <orddeptcd/>
  76. <orddrid/>
  77. <ordtype/>
  78. <fromdd/>
  79. <todd/>
  80. <seqno/>
  81. <histsate/>
  82. <orddd/>
  83. <cretno/>
  84. <rgstposflag/>
  85. <choiflag/>
  86. <saimsnyn/>
  87. </patappinfo>
  88. <patappinfo>
  89. <subject/>
  90. <specorddeptcd>2160000000</specorddeptcd>
  91. <nochoiyn/>
  92. <pid/>
  93. <orddeptcd/>
  94. <orddrid/>
  95. <ordtype/>
  96. <fromdd/>
  97. <todd/>
  98. <seqno/>
  99. <histsate/>
  100. <orddd/>
  101. <cretno/>
  102. <rgstposflag/>
  103. <choiflag/>
  104. <saimsnyn/>
  105. </patappinfo>
  106. <patappinfo>
  107. <subject/>
  108. <specorddeptcd>2170000000</specorddeptcd>
  109. <nochoiyn/>
  110. <pid/>
  111. <orddeptcd/>
  112. <orddrid/>
  113. <ordtype/>
  114. <fromdd/>
  115. <todd/>
  116. <seqno/>
  117. <histsate/>
  118. <orddd/>
  119. <cretno/>
  120. <rgstposflag/>
  121. <choiflag/>
  122. <saimsnyn/>
  123. </patappinfo>
  124. <patappinfo>
  125. <subject/>
  126. <specorddeptcd>2090000000</specorddeptcd>
  127. <nochoiyn/>
  128. <pid/>
  129. <orddeptcd/>
  130. <orddrid/>
  131. <ordtype/>
  132. <fromdd/>
  133. <todd/>
  134. <seqno/>
  135. <histsate/>
  136. <orddd/>
  137. <cretno/>
  138. <rgstposflag/>
  139. <choiflag/>
  140. <saimsnyn/>
  141. </patappinfo>
  142. <patappinfo>
  143. <subject/>
  144. <specorddeptcd>2030000000</specorddeptcd>
  145. <nochoiyn/>
  146. <pid/>
  147. <specdeptcd/>
  148. <nochoiyn/>
  149. <orddeptcd/>
  150. <orddrid/>
  151. <ordtype/>
  152. <fromdd/>
  153. <todd/>
  154. <seqno/>
  155. <histsate/>
  156. <orddd/>
  157. <cretno/>
  158. <rgstposflag/>
  159. <choiflag/>
  160. <saimsnyn/>
  161. </patappinfo>
  162. </patappinfolist>
  163. <result>
  164. <patinfo/>
  165. </result>
  166. <popupendflag/>
  167. <specordapp>
  168. <specordapplist>
  169. <pid/>
  170. <hngnm/>
  171. <rrgstno1/>
  172. <rrgstno2/>
  173. <ordtype/>
  174. <orddd/>
  175. <orddeptcd/>
  176. <orddrid/>
  177. <choiflag/>
  178. <fromdd/>
  179. <todd/>
  180. <rsrvdd/>
  181. <specordyn/>
  182. <seqno/>
  183. <cretno/>
  184. </specordapplist>
  185. </specordapp>
  186. </main>
  187. <send>
  188. <pid/>
  189. <hngnm/>
  190. <cyck/>
  191. <tsaidata>
  192. <pid/>
  193. <hngnm/>
  194. <specdeptcd/>
  195. <nochoiyn/>
  196. <orddeptcd/>
  197. <orddrid/>
  198. <ordtype/>
  199. <fromdd/>
  200. <todd/>
  201. <seqno/>
  202. <histsate/>
  203. <orddd/>
  204. <cretno/>
  205. <rgstposflag/>
  206. <choiflag/>
  207. </tsaidata>
  208. </send>
  209. <tmp>
  210. <choiflagchk/>
  211. <patappinfolist>
  212. <patinfolist>
  213. <pid/>
  214. <hngnm/>
  215. <specdeptcd/>
  216. <nochoiyn/>
  217. <orddeptcd/>
  218. <orddrid/>
  219. <ordtype/>
  220. <fromdd/>
  221. <todd/>
  222. <seqno/>
  223. <histsate/>
  224. <orddd/>
  225. <choiflag/>
  226. </patinfolist>
  227. <tablename/>
  228. </patappinfolist>
  229. <choiflag/>
  230. </tmp>
  231. <init>
  232. </init>
  233. <hidden>
  234. <source>
  235. <srchcond/>
  236. <pid/>
  237. <hngnm/>
  238. <orddeptcd/>
  239. <orddrid/>
  240. <orddd/>
  241. <ordtype/>
  242. <cretno/>
  243. <rgstposflag/>
  244. <choiflag/>
  245. <fromdd/>
  246. <todd/>
  247. <tablename/>
  248. </source>
  249. <tmpnode/>
  250. <status>
  251. </status>
  252. </hidden>
  253. </root>
  254. </instance>
  255. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/source" resultref="/root/main/result/patinfo"/>
  256. <submission id="TRPMC06800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/source" resultref="/root/tmp/patappinfolist"/>
  257. <script type="javascript" ev:event="xforms-ready">
  258. <![CDATA[
  259. var SMPMC06800_PARM = "";
  260. /*
  261. SMPMC06800_PARM =
  262. "O" + "▦" + // 진료형태
  263. "21315280" + "▦" + // 환자번호
  264. "20091022" + "▦" + // 입원/진료일
  265. "1" + "▦" + // 생성번호
  266. "2010700000" + "▦" + // 진료과
  267. "94015163" + "▦" + // 주치의
  268. "M" + "▦" ; // 등록위치구분
  269. */
  270. //---------------------------------------------------------------------------------------------
  271. submit("TRPMI00106"); // 진료과목에 대한 진료과 7개 부서 선택
  272. //---------------------------------------------------------------------------------------------
  273. if (checkOpener()){
  274. SMPMC06800_PARM = opener.javascript.getParameter("SMPMC06800_PARM");
  275. }
  276. var array_parm = SMPMC06800_PARM.split("▦"); // split 사용 후 배열에 대입
  277. ordtype = array_parm[0]; // 진료형태
  278. pid = array_parm[1]; // 환자번호
  279. orddd = array_parm[2]; // 입원/진료일
  280. cretno = array_parm[3]; // 생성번호
  281. orddeptcd = array_parm[4]; // 진료과
  282. orddrid = array_parm[5]; // 주치의
  283. rgstposflag = array_parm[6]; // 등록위치구분
  284. model.setValue("/root/main/patinfo/patinfolist/pid",pid);
  285. ipt_pid.refresh();
  286. fpatBaseInfo(); // 환자 pid에 따른 이름을 가져온다.
  287. model.setValue("/root/hidden/source/pid", pid);
  288. model.setValue("/root/hidden/source/orddeptcd", orddeptcd);
  289. model.setValue("/root/hidden/source/orddrid", orddrid);
  290. model.setValue("/root/hidden/source/orddd", orddd);
  291. model.setValue("/root/hidden/source/ordtype", ordtype);
  292. model.setValue("/root/hidden/source/cretno", cretno);
  293. model.setValue("/root/hidden/source/rgstposflag", rgstposflag);
  294. model.setValue("/root/hidden/source/fromdd", orddd);
  295. finit();
  296. fgettsaidata_2();
  297. //finit(); // 환자정보에 따른 pmcmtsai 값을 진료과코드와 비교 후 진료과목 그리드에 체크여부 표시
  298. //fTbDataCk(); // 중간테이블과 원본테이블의 환자정보가 있을 경우 - 팝업을 자동 종료시킨다.
  299. model.refresh();
  300. ]]>
  301. </script>
  302. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/hidden/init"/>
  303. <submission id="TRPMC06502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data4" resultref="/root/main/patappinfo"/>
  304. <submission id="TXPMC06800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/patappinfolist" resultref="/root/temp"/>
  305. <submission id="TRPMC06801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/smpmc06800/send" resultref="/root/smpmc06800/saim"/>
  306. </model>
  307. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  308. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  309. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  310. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  311. <script type="javascript">
  312. <![CDATA[
  313. var instcd ; // 파라미터 전역변수 설정
  314. var pid ;
  315. var orddeptcd ;
  316. var orddrid ;
  317. var orddd ;
  318. var ordtype;
  319. var specdeptcd;
  320. var fromdd ;
  321. var seqno ;
  322. var histstat ;
  323. var todd ;
  324. var nochoiyn ;
  325. var cretno ;
  326. var rgstposflag ;
  327. function fpatBaseInfo(){
  328. model.setValue("/root/hidden/source/srchcond", "1");
  329. model.setValue("/root/hidden/source/pid", ipt_pid.currentText);
  330. //환자등록번호 체크
  331. if(ipt_pid.currentText.length >= 1 ){
  332. model.resetInstanceNode("/root/main/result");
  333. model.makeNode("/root/main/result/patinfo");
  334. if(submit("TRPMC02500")){
  335. //메인화면의 fSearch() 함수 콜!
  336. if( getNodesetCount("/root/main/result/patinfo/patinfolist") > 0 ){
  337. model.copyNode("/root/main/patinfo", "/root/main/result/patinfo");
  338. model.setValue("/root/main/popupendflag", "ok");
  339. model.refresh();
  340. fSearch();
  341. model.refresh();
  342. }else{
  343. model.resetInstanceNode("/root/main/patinfo/patinfolist");
  344. model.refresh();
  345. messageBox("없는 환자 번호 입니다.", "E999", "");
  346. }
  347. }
  348. }else{
  349. messageBox("환자등록번호를 정확히", "C001");
  350. }
  351. }
  352. function fSearch(){
  353. if( model.getValue("/root/main/popupendflag") == "ok" ){
  354. //인적사항에 변경이 있는지를 비교하기 위해서 tmp에 인적사항을 미리 저장해 놓는다.
  355. model.makeNode("/root/hidden/tmpnode");
  356. model.copyNode("/root/hidden/tmpnode", "/root/main/patinfo");
  357. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  358. model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  359. }
  360. }
  361. function fgettsaidata_2(){
  362. model.setValue("/root/hidden/source/tablename", model.getValue("/root/tmp/patappinfolist/tablename"));
  363. model.makeValue("/root/send/tsaidata/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  364. submit("TRPMC06800"); // pmcmtasi 테이블 값 관련 submit
  365. model.refresh();
  366. var cnt1 = getNodesetCount("/root/tmp/patappinfolist/patinfolist"); // cnt1 = DB에 실제 저장된 진료과수
  367. var cnt2 = getNodesetCount("/root/main/patappinfolist/patappinfo/specorddeptcd"); // cnt2 = 비교대상 진료과(7)
  368. if(cnt1==0){
  369. model.setValue("/root/hidden/source/choiflag", "B");
  370. model.makeValue("/root/tmp/patappinfolist/patinfolist/choiflag", "B");
  371. }
  372. for(var i=1 ; i<= cnt2 ; i++){
  373. var specorddeptcd = model.getValue("/root/main/patappinfolist/patappinfo[" + i + "]/specorddeptcd"); // 7개부서에 대한 진료과코드
  374. model.setValue("/root/main/patappinfolist/patappinfo[" + i + "]/nochoiyn", 'N');
  375. for(var j=1; j<=cnt1 ; j++){
  376. var specdeptcd = model.getValue("/root/tmp/patappinfolist/patinfolist[" + j + "]/specdeptcd"); // DB에 실제 저장된 진료과 코드
  377. model.makeValue("/root/main/patappinfolist/patappinfo["+i+"]/specdeptcd", model.getValue("/root/main/patappinfolist/patappinfo["+ j +"]/specorddeptcd"));
  378. var nochoiyn = model.getValue("/root/tmp/patappinfolist/patinfolist[" + j + "]/nochoiyn"); // DB에 실제 저장된 진료과 선택진료체크여부
  379. if((specdeptcd == specorddeptcd) && (nochoiyn == 'Y')){ // 진료과 및 비선택체크 판단
  380. model.setValue("/root/main/patappinfolist/patappinfo[" + i + "]/nochoiyn", 'Y');
  381. }
  382. }
  383. }
  384. fSpecInfoScrChk();
  385. grd_specgridlist.rebuild();
  386. }
  387. function finit(){
  388. var cnt2 = getNodesetCount("/root/main/patappinfolist/patappinfo/specorddeptcd"); // cnt2 = 비교대상 진료과(7)
  389. for(var i=1 ; i<= cnt2 ; i++){
  390. model.makevalue("/root/main/patappinfolist/patappinfo["+i+"]/pid" ,pid);
  391. model.makevalue("/root/main/patappinfolist/patappinfo["+i+"]/orddrid" ,orddrid);
  392. model.makevalue("/root/main/patappinfolist/patappinfo["+i+"]/ordtype" ,ordtype);
  393. model.makevalue("/root/main/patappinfolist/patappinfo["+i+"]/orddeptcd" ,orddeptcd);
  394. model.makevalue("/root/main/patappinfolist/patappinfo["+i+"]/orddd" ,orddd);
  395. model.makevalue("/root/main/patappinfolist/patappinfo["+i+"]/cretno" ,cretno);
  396. model.makevalue("/root/main/patappinfolist/patappinfo["+i+"]/rgstposflag" ,rgstposflag);
  397. model.makevalue("/root/main/patappinfolist/patappinfo["+i+"]/fromdd" ,orddd);
  398. model.makevalue("/root/main/patappinfolist/patappinfo["+i+"]/choiflag" ,"B");
  399. model.makevalue("/root/main/patappinfolist/patappinfo["+i+"]/nochoiyn" ,"N");
  400. }
  401. model.setValue("/root/tmp/patappinfolist/patinfolist/choiflag", "B");
  402. fSpecInfoScrChk();
  403. model.refresh();
  404. grd_specgridlist.rebuild();
  405. }
  406. function fTbDataCk(){ // 중간테이블(tsai) 원본테이블(saim) 둘다 데이터가 존재할 경우 팝업 자동 종료
  407. if(getNodesetCount("/root/hidden/source/pid")>0){
  408. window.close();
  409. }
  410. }
  411. // 선택구분에 따른 비선택진료 표시를 비활성화 한다.
  412. function fSpecInfoScrChk(){
  413. var cnt1 = getNodesetCount("/root/tmp/patappinfolist/patinfolist");
  414. var cnt2 = getNodesetCount("/root/main/patappinfolist/patappinfo/specorddeptcd");
  415. if (model.getValue("/root/tmp/patappinfolist/patinfolist/tablename") == 'TSAI' || cnt1 == 1 ){
  416. var value = model.getValue("/root/tmp/patappinfolist/patinfolist/choiflag");
  417. // 선택구분이 비선택일 경우
  418. if ( value == 'N' ) {
  419. grd_specgridlist.colDisabled(3)=true;
  420. for(var i=1 ; i<=cnt2 ; i++){
  421. model.setValue("/root/main/patappinfolist/patappinfo[" + i + "]/choiflag" ,value);
  422. model.setValue("/root/main/patappinfolist/patappinfo[" + i + "]/nochoiyn", 'Y');
  423. }
  424. }
  425. // 선택구분이 일괄위임일 경우
  426. if (value == 'B'){
  427. grd_specgridlist.colDisabled(3)=true;
  428. for(var i=1 ; i<=cnt2 ; i++){
  429. model.setValue("/root/main/patappinfolist/patappinfo[" + i + "]/choiflag" ,value);
  430. model.setValue("/root/main/patappinfolist/patappinfo[" + i + "]/nochoiyn", 'N');
  431. }
  432. }
  433. // 선택구분이 선택일 경우
  434. if (value == 'C'){
  435. grd_specgridlist.colDisabled(3)=false;
  436. var cnt1 = getNodesetCount("/root/tmp/patappinfolist/patinfolist"); // cnt1 = DB에 실제 저장된 진료과수
  437. var cnt2 = getNodesetCount("/root/main/patappinfolist/patappinfo/specorddeptcd"); // cnt2 = 비교대상 진료과(7)
  438. for(var i=1 ; i<= cnt2 ; i++){
  439. model.setValue("/root/main/patappinfolist/patappinfo[" + i + "]/choiflag" ,value);
  440. var specorddeptcd = model.getValue("/root/main/patappinfolist/patappinfo[" + i + "]/specorddeptcd"); // 7개부서에 대한 진료과코드
  441. model.setValue("/root/main/patappinfolist/patappinfo[" + i + "]/nochoiyn", 'N');
  442. for(var j=1; j<=cnt1 ; j++){
  443. var specdeptcd = model.getValue("/root/tmp/patappinfolist/patinfolist[" + j + "]/specdeptcd"); // DB에 실제 저장된 진료과 코드
  444. model.makeValue("/root/main/patappinfolist/patappinfo["+i+"]/specdeptcd", model.getValue("/root/main/patappinfolist/patappinfo["+ j +"]/specorddeptcd"));
  445. var nochoiyn = model.getValue("/root/tmp/patappinfolist/patinfolist[" + j + "]/nochoiyn"); // DB에 실제 저장된 진료과 선택진료체크여부
  446. if((specdeptcd == specorddeptcd) && (nochoiyn == 'Y')){ // 진료과 및 비선택체크 판단
  447. model.setValue("/root/main/patappinfolist/patappinfo[" + i + "]/nochoiyn", 'Y');
  448. }
  449. }
  450. }
  451. }
  452. // 09.10.15일 수정 내역 choiflag값이 없을 경우 초기화 셋팅
  453. if (value == ""){
  454. grd_specgridlist.colDisabled(3)=true;
  455. for(var i=1 ; i<=cnt2 ; i++){
  456. model.setValue("/root/main/patappinfolist/patappinfo[" + i + "]/choiflag" ,value);
  457. }
  458. value = "B";
  459. }
  460. model.setValue("/root/hidden/source/choiflag", value);
  461. }else{
  462. grd_specgridlist.colDisabled(3)=true;
  463. }
  464. grd_specgridlist.rebuild();
  465. rdo_specordyn.refresh();
  466. }
  467. ]]>
  468. </script>
  469. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  470. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  471. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  472. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  473. </xhtml:head>
  474. <xhtml:body pagewidth="405" pageheight="375">
  475. <bool id="bol_choiflagchk" disabled="true" ref="/root/tmp/choiflagchk" style="left:369px; top:80px; width:19px; height:20px; ">
  476. <script type="javascript" ev:event="xforms-value-changed">
  477. <![CDATA[
  478. var choiflagchk = bol_choiflagchk.value;
  479. ]]>
  480. </script>
  481. </bool>
  482. <select1 id="rdo_specordyn" ref="/root/tmp/patappinfolist/patinfolist/choiflag" navindex="3" appearance="full" cellspacing="20" cols="3" style="left:89px; top:82px; width:265px; height:15px; text-align:left; vertical-align:middle; border-style:none; ">
  483. <choices>
  484. <item>
  485. <label>일괄위임(B)</label>
  486. <value>B</value>
  487. </item>
  488. <item>
  489. <label>비선택(N)</label>
  490. <value>N</value>
  491. </item>
  492. <item>
  493. <label>선택(C)</label>
  494. <value>C</value>
  495. </item>
  496. </choices>
  497. <script type="javascript" ev:event="xforms-value-changed">
  498. <![CDATA[
  499. fSpecInfoScrChk();
  500. ]]>
  501. </script>
  502. </select1>
  503. <caption id="caption43" class="tit_2" style="left:13px; top:7px; width:81px; height:13px; ">환자정보</caption>
  504. <caption id="caption11" class="cell_1" style="left:10px; top:26px; width:76px; height:23px; font-weight:normal; text-align:left; vertical-align:middle; ">환자번호</caption>
  505. <caption id="caption24" class="cell_1" style="left:10px; top:78px; width:76px; height:23px; font-weight:normal; text-align:left; vertical-align:middle; ">선택구분</caption>
  506. <caption id="caption4" class="cell_1" style="left:197px; top:26px; width:59px; height:23px; font-weight:normal; text-align:left; vertical-align:middle; ">환자성명</caption>
  507. <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" class="input_default" disabled="false" navindex="1" maxlength="10" appearance="input" style="left:87px; top:28px; width:108px; height:19px; ">
  508. <script type="javascript" ev:event="onkeypress">
  509. <![CDATA[
  510. if(event.keyCode == "13") {
  511. fpatBaseInfo(); // 환자기본정보 호출
  512. fgettsaidata(); // 환자정보에 따른 pmcmtsai 값을 진료과코드와 비교 후 진료과목 체크여부 표시
  513. }
  514. ]]>
  515. </script>
  516. </input>
  517. <input id="input2" ref="/root/main/patinfo/patinfolist/hngnm" class="input_default" disabled="false" navindex="1" maxlength="10" appearance="input" style="left:257px; top:28px; width:138; height:19px; "/>
  518. <caption id="caption9" class="tit_2" style="left:13px; top:60px; width:100px; height:13px; ">선택구분</caption>
  519. <line id="li ne24" class="line_1" style="x1:10px; y1:74px; x2:395px; y2:74px; "/>
  520. <line id="line50" class="line_3" style="x1:10px; y1:101px; x2:395px; y2:101px; "/>
  521. <line id="line1" class="line_1" style="x1:10px; y1:22px; x2:395; y2:22px; "/>
  522. <line id="line2" class="line_3" style="x1:10px; y1:49px; x2:396; y2:49px; "/>
  523. <datagrid id="grd_specgridlist" nodeset="/root/main/patappinfolist/patappinfo" class="datagrid2" visibility="true" caption="진료과목^진료과목^비선택진료&#xA;※(√)표시|진료과목^진료과목^비선택진료&#xA;※(√)표시" colsep="^" colwidth="115, 166, 82" fixedcols="2" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:10px; top:130px; width:385px; height:215px; font-weight:normal; background-color:#ffffff; ">
  524. <col ref="subject" style="text-align:center; "/>
  525. <col disabled="true" ref="specorddeptcd" type="combo" style="left:100px; top:32px; width:80px; height:23px; ">
  526. <choices>
  527. <itemset nodeset="/root/hidden/init/orddeptcd">
  528. <label ref="nm"/>
  529. <value ref="cd"/>
  530. </itemset>
  531. </choices>
  532. </col>
  533. <col checkvalue="Y,N" ref="nochoiyn" type="checkbox" style="left:100px; top:32px; width:80px; height:23px; text-align:center; "/>
  534. </datagrid>
  535. <caption id="caption52" class="tit_2" style="left:10px; top:115px; width:126px; height:13px; ">선택진료 정보</caption>
  536. <button id="button4" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:283px; top:348px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  537. <caption>저장</caption>
  538. <script type="javascript" ev:event="DOMActivate">
  539. <![CDATA[
  540. if(submit("TXPMC06800")){
  541. //fgettsaidata_2();
  542. window.close();
  543. }else{
  544. messageBox("저장이 실패하였습니다. ","E999");
  545. }
  546. //model.refresh();
  547. ]]>
  548. </script>
  549. <script type="javascript" ev:event="onkeypress">
  550. <![CDATA[
  551. if(event.keyCode == "13") {
  552. // 닫기버튼 포커스 이동.
  553. model.setFocus("btn_cancel");
  554. }
  555. ]]>
  556. </script>
  557. </button>
  558. <button id="btn_cancel" class="btn4_letter2" style="left:340px; top:348px; width:56px; height:22px; ">
  559. <caption>닫기</caption>
  560. <script type="javascript" ev:event="DOMActivate">
  561. <![CDATA[
  562. window.close();
  563. ]]>
  564. </script>
  565. </button>
  566. <button id="button1" class="btn4_letter2" visibility="hidden" style="left:226px; top:348px; width:56px; height:22px; ">
  567. <caption>조회</caption>
  568. <script type="javascript" ev:event="DOMActivate">
  569. <![CDATA[
  570. fgettsaidata_2();
  571. ]]>
  572. </script>
  573. </button>
  574. <button id="button2" class="btn4_letter3" visibility="hidden" style="left:157px; top:348px; width:68px; height:22px; ">
  575. <caption>초기화</caption>
  576. <script type="javascript" ev:event="DOMActivate">
  577. <![CDATA[
  578. finit();
  579. ]]>
  580. </script>
  581. </button>
  582. </xhtml:body>
  583. </xhtml:html>