SMAHA00920_재검및타과의뢰관리.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHA00920_재검및타과의뢰관리.xrw
  4. * 설 명 : 재검및타과의뢰관리
  5. * 설 계 자 : 서원식
  6. * 작 성 자 : 서원식
  7. * 작 성 일 : 2012.05.25
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>재검및타과의뢰관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <rsrvacptlst>
  20. <item>
  21. <healexamflag/>
  22. <rsrvdd/>
  23. <rsrvno/>
  24. <healexamdetlflag/>
  25. <rsltcnstdd/>
  26. <rsltcnstrsrvstarttm/>
  27. <hngnm/>
  28. <pid/>
  29. <orddd/>
  30. <rsltcnstdrnm/>
  31. <telno/>
  32. <mpphon/>
  33. <age/>
  34. <sex/>
  35. <rrgstno/>
  36. <address/>
  37. <vipyn/>
  38. <clntgrde/>
  39. </item>
  40. </rsrvacptlst>
  41. <afterColgJudgInfo>
  42. <judginfo>
  43. <healexamflag/>
  44. <healexamdetlflag/>
  45. <rsrvdd/>
  46. <rsrvno/>
  47. <pid/>
  48. <orddd/>
  49. <cretno/>
  50. <judgdd/>
  51. <judgtm/>
  52. <judgdrid/>
  53. <pkgcd/>
  54. <shrthngjudgcnts/>
  55. <shrtengjudgcnts/>
  56. <hngjudgcnts/>
  57. <engjudgcnts/>
  58. <prntyn/>
  59. <rsltcnstdrid/>
  60. <afhngjudgcnts/>
  61. </judginfo>
  62. <afexamlist>
  63. <item/>
  64. </afexamlist>
  65. </afterColgJudgInfo>
  66. </main>
  67. <init>
  68. <judg>
  69. <drlst>
  70. <itemdr/>
  71. </drlst>
  72. </judg>
  73. <cnst>
  74. <drlst>
  75. <itemdr>
  76. </itemdr>
  77. </drlst>
  78. </cnst>
  79. <baseinfo>
  80. <rsltcnstflaglst/>
  81. <orddeptcdlst/>
  82. </baseinfo>
  83. </init>
  84. <send>
  85. <srchdata>
  86. <srchhealexamflag>C</srchhealexamflag>
  87. <srchhealexamdetlflag>C01</srchhealexamdetlflag>
  88. <srchtype>rsrvdd</srchtype>
  89. <srchrsltcnstflag/>
  90. <srchfromdd/>
  91. <srchtodd/>
  92. <srchdr/>
  93. <srchhngnm/>
  94. <srchpid/>
  95. </srchdata>
  96. <srchdr>
  97. <srchhealexamflag>C</srchhealexamflag>
  98. <srchhealexamdetlflag>C01</srchhealexamdetlflag>
  99. <srchcond/>
  100. </srchdr>
  101. <srchjudg>
  102. <srchhealexamflag>C</srchhealexamflag>
  103. <srchhealexamdetlflag>C01</srchhealexamdetlflag>
  104. <srchrsrvdd/>
  105. <srchrsrvno/>
  106. <srchinstcd/>
  107. <srchpid/>
  108. <srchorddd/>
  109. <srchcretno/>
  110. </srchjudg>
  111. <srchaftercolgJudg>
  112. <healexamflag>C</healexamflag>
  113. <healexamdetlflag>C01</healexamdetlflag>
  114. <rsrvdd/>
  115. <rsrvno/>
  116. <pid/>
  117. </srchaftercolgJudg>
  118. </send>
  119. <savedata/>
  120. <temp>
  121. <judginfo/>
  122. </temp>
  123. </root>
  124. </instance>
  125. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  126. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  127. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  128. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  129. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  130. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  131. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  132. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  133. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  134. <script type="javascript" ev:event="xforms-ready">
  135. <![CDATA[
  136. fInitInfo(); //정보 초기화
  137. fGetBasicCdList(); //기본코드 내역 가져오기
  138. fGetBaseInfo(); //기본/공통코드 정보를 조회
  139. var curDt = getCurrentDate();
  140. model.setValue(ipt_srchfromdd.attribute("ref") , curDt);
  141. model.setValue(ipt_srchtodd.attribute("ref") , curDt);
  142. // model.setValue(ipt_srchfromdd.attribute("ref") , "20120723");
  143. // model.setValue(ipt_srchtodd.attribute("ref") , "20120723");
  144. model.refresh();
  145. ]]>
  146. </script>
  147. <submission id="TRAHA00001"/>
  148. <submission id="TRAHA00002"/>
  149. <submission id="TRAHB01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdr" replace="instance" resultref="/root/init/cnst/drlst"/>
  150. <submission id="TRAHA00920" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/rsrvacptlst"/>
  151. <submission id="TRAHR00600" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchaftercolgJudg" replace="instance" resultref="/root/main/afterColgJudgInfo"/>
  152. <submission id="TXAHR00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/saveAfexam" replace="instance" resultref="/root/temp"/>
  153. </model>
  154. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  155. <script type="javascript">
  156. <![CDATA[
  157. /**===================================================================================
  158. *정보 초기화
  159. *=====================================================================================*/
  160. function fInitInfo(){
  161. model.removeNodeset("/root/main/rsrvacptlst");
  162. model.removeNodeset("/root/main/afterColgJudgInfo/judginfo");
  163. model.removeNodeset("/root/main/afterColgJudgInfo/afexamlist/item");
  164. hngnm.value = "";
  165. pid.value = "";
  166. orddd.value = "";
  167. rsltcnstdd.value = "";
  168. }
  169. /**===================================================================================
  170. *기본코드 정보를 조회
  171. *=====================================================================================*/
  172. function fGetBaseInfo() {
  173. healGetCodeList( new Array("S610"), new Array("/root/init/baseinfo/orddeptcdlst") );
  174. model.removenode("/root/init/baseinfo/orddeptcdlst/S610[0]");
  175. }
  176. /**===================================================================================
  177. *기본코드 내역 가져오기
  178. *=====================================================================================*/
  179. function fGetBasicCdList(){
  180. //판정의조회
  181. model.setValue("/root/send/srchdr/srchcond" , "J");
  182. submit("TRAHB01504");
  183. model.copyNode("/root/init/judg/drlst", "/root/init/cnst/drlst");
  184. //상담의조회
  185. model.setValue("/root/send/srchdr/srchcond" , "C");
  186. submit("TRAHB01504");
  187. //상담의 - 전체추가
  188. astfAddCombo("/root/init/cnst/drlst", "itemdr", "drid,drnm", ",전체");
  189. //결과상담구분
  190. healGetCodeListSubmit(new Array("S080"), new Array("/root/init/baseinfo/rsltcnstflaglst"), false);
  191. model.setValue("/root/send/srchdata/srchrsltcnstflag", "01");
  192. }
  193. /**==========================================================================================================================
  194. * 재검및타과의뢰 대상자 조회
  195. *==========================================================================================================================*/
  196. function GetRsrvList(){
  197. submit("TRAHA00920");
  198. }
  199. /**===================================================================================
  200. * 추후관리 조회(종합판정, 추가검사, 재검 및 타과의뢰)
  201. =====================================================================================*/
  202. function fSearchAfterColgJudgInfo(){
  203. model.removenode("/root/main/judgdetl/judginfo/afhngjudgcnts")
  204. model.removeNodeset("/root/main/afterColgJudgInfo/afexamlist");
  205. var vRsrvdd = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("rsrvdd"));
  206. var vRsrvno = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("rsrvno"));
  207. var vPid = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("pid"));
  208. model.setValue("/root/send/srchaftercolgJudg/rsrvdd" , vRsrvdd);
  209. model.setValue("/root/send/srchaftercolgJudg/rsrvno" , vRsrvno);
  210. model.setValue("/root/send/srchaftercolgJudg/pid" , vPid);
  211. if(vRsrvdd == "" && vRsrvno == ""){
  212. messageBox("환자정보가", "E016");
  213. return;
  214. }else{
  215. /*
  216. 3개 submission 통합하여 조회함.
  217. TRAHR00502 - SMAHR00500_종합판정관리.xrw
  218. TRAHR00506 - SMAHR00500_종합판정관리.xrw
  219. */
  220. submit("TRAHR00600");
  221. hngnm.value = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("hngnm"));
  222. pid.value = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("pid"));
  223. orddd.value = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("orddd"));
  224. rsltcnstdd.value = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("rsltcnstdd"));
  225. }
  226. model.refresh();
  227. }
  228. /**===================================================================================
  229. *의뢰 저장
  230. =====================================================================================*/
  231. function fSaveAfexam(){
  232. var updData = grd_afexamlist.getUpdateData();
  233. if(updData == ""){
  234. messageBox("저장할 데이터가 존재하지 않습니다.", "E999");
  235. return false;
  236. }
  237. model.makeValue("/root/send/saveAfexam/item", updData);
  238. if(submit("TXAHR00603")){
  239. messageBox("저장이", "I002");
  240. return true;
  241. }else{
  242. return false;
  243. }
  244. }
  245. /**===================================================================================
  246. *판정 출력
  247. =====================================================================================*/
  248. function fPrintAfterColgJudgInfo(){
  249. model.resetInstanceNode("/root/rexprnt/viewinfo");
  250. model.makeValue("/root/rexprnt/viewinfo/pid" , grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("pid")));
  251. model.makeValue("/root/rexprnt/viewinfo/sex" , grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("sex")));
  252. model.makeValue("/root/rexprnt/viewinfo/orddeptcd" , "건강증진센터");
  253. model.makeValue("/root/rexprnt/viewinfo/hngnm" , grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("hngnm")));
  254. model.makeValue("/root/rexprnt/viewinfo/age" , grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("age")));
  255. model.makeValue("/root/rexprnt/viewinfo/orddd" , grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("orddd")));
  256. model.makeValue("/root/rexprnt/viewinfo/afhngjudgcnts" , model.getValue("/root/main/afterColgJudgInfo/judginfo/afhngjudgcnts"));
  257. model.makeNode("/root/rexprnt/viewinfo/afexamlist/item");
  258. copyNodesetType("/root/rexprnt/viewinfo/afexamlist/item" , "root/main/afterColgJudgInfo/afexamlist/item[aftype='B']", "replace", model, model);
  259. exeReportPreview("RPAHR00600", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  260. }
  261. ]]>
  262. </script>
  263. </xhtml:head>
  264. <xhtml:body guideline="2,788;" style="border-left-style:none; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  265. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  266. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:13px; ">재검및타과의뢰관리</caption>
  267. </group>
  268. <group id="group4" scroll="auto" style="left:0px; top:15px; width:1195px; height:740px; ">
  269. <group id="group5" style="left:0px; top:5px; width:1195px; height:50px; vertical-align:top; ">
  270. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1190px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  271. <caption id="caption11" class="search_name" style="left:5px; top:16px; width:105px; height:17px; ">조회기준 :</caption>
  272. <select1 id="rdo_srchcond" ref="/root/send/srchdata/srchtype" class="radio_search" appearance="full" cellspacing="2" cols="2" overflow="visible" style="left:96px; top:16px; width:119px; height:16px; border-style:none; ">
  273. <choices>
  274. <item>
  275. <label>상담일</label>
  276. <value>rsrvdd</value>
  277. </item>
  278. <item>
  279. <label>건진일</label>
  280. <value>orddd</value>
  281. </item>
  282. </choices>
  283. </select1>
  284. <select1 id="cmb_rsltcnstflag" ref="/root/send/srchdata/srchrsltcnstflag" class="combo" appearance="minimal" style="left:220px; top:16px; width:83px; height:19px; ">
  285. <choices>
  286. <itemset nodeset="/root/init/baseinfo/rsltcnstflaglst/S080">
  287. <label ref="cdnm"/>
  288. <value ref="cdid"/>
  289. </itemset>
  290. </choices>
  291. </select1>
  292. <caption id="caption8" class="search_name" style="left:312px; top:16px; width:64px; height:17px; ">일자 :</caption>
  293. <input id="ipt_srchfromdd" ref="/root/send/srchdata/srchfromdd" class="input_s_essential" inputtype="date" style="left:378px; top:16px; width:95px; height:19px; "/>
  294. <caption id="caption19" class="search_n_b" style="left:476px; top:16px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  295. <input id="ipt_srchtodd" ref="/root/send/srchdata/srchtodd" class="input_s_essential" inputtype="date" style="left:490px; top:16px; width:95px; height:19px; "/>
  296. <caption id="caption3" class="search_name" style="left:590px; top:16px; width:90px; height:17px; ">상담의 :</caption>
  297. <select1 id="cmb_srchdr" ref="/root/send/srchdata/srchdr" class="combo_search" appearance="minimal" style="left:670px; top:16px; width:70px; height:19px; ">
  298. <choices>
  299. <itemset nodeset="/root/init/cnst/drlst/itemdr">
  300. <label ref="drnm"/>
  301. <value ref="drid"/>
  302. </itemset>
  303. </choices>
  304. </select1>
  305. <caption id="caption1" class="search_name" style="left:745px; top:16px; width:61px; height:17px; ">성명 :</caption>
  306. <input id="ipt_srchpnm" ref="/root/send/srchdata/srchhngnm" class="input_search" imemode="hangul" style="left:810px; top:16px; width:65px; height:19px; ">
  307. <script type="javascript" ev:event="onkeyup">
  308. <![CDATA[
  309. if(event.keyCode == 13){
  310. ipt_srchpnm.value = ipt_srchpnm.currentText;
  311. btn_search.dispatch("DOMActivate");
  312. }
  313. ]]>
  314. </script>
  315. </input>
  316. <caption id="caption7" class="search_name" style="left:883px; top:16px; width:86px; height:17px; ">등록번호 :</caption>
  317. <input id="ipt_srchpid" ref="/root/send/srchdata/srchpid" class="input_search" style="left:973px; top:16px; width:65px; height:19px; ">
  318. <script type="javascript" ev:event="onkeyup">
  319. <![CDATA[
  320. if(event.keyCode == 13){
  321. ipt_srchpid.value = ipt_srchpid.currentText;
  322. btn_search.dispatch("DOMActivate");
  323. }
  324. ]]>
  325. </script>
  326. </input>
  327. <line id="line2" class="line_4" style="x1:1117px; y1:15px; x2:1117px; y2:37px; border-color:#ffe4bb; border-left-style:solid; "/>
  328. <button id="btn_search" class="btn1_letter2" style="left:1124px; top:15px; width:56px; height:22px; ">
  329. <caption>조회</caption>
  330. <script type="javascript" ev:event="DOMActivate">
  331. <![CDATA[
  332. fInitInfo();
  333. GetRsrvList();
  334. //2016/05/04 VIP여부 색깔 넣음
  335. for(var i=1; i <= grd_rsrvacpt.rows; i++){
  336. var vipyn = grd_rsrvacpt.valueMatrix( i , grd_rsrvacpt.colRef("vipyn"));
  337. if(vipyn=="Y"){
  338. grd_rsrvacpt.rowStyle(i, "data", "background-color") = "#FFC0CB";
  339. }else{
  340. grd_rsrvacpt.rowStyle(i, "data", "background-color") = "#FFFFFF";
  341. }
  342. }
  343. //2016/05/04 VIP여부 색깔 넣음
  344. ]]>
  345. </script>
  346. </button>
  347. <button id="btn_srchpat" class="icon_search" style="left:1042px; top:17px; width:16px; height:16px; ">
  348. <caption/>
  349. <script type="javascript" ev:event="DOMActivate">
  350. <![CDATA[
  351. fSearchPatInfo("SMAHA00920", "pid", ipt_srchpid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), ipt_srchpnm.attribute("ref") );
  352. ]]>
  353. </script>
  354. </button>
  355. </group>
  356. <button id="button1" class="btn2_letter4" style="left:250px; top:63px; width:64px; height:19px; ">
  357. <caption>엑셀저장</caption>
  358. <script type="javascript" ev:event="DOMActivate">
  359. <![CDATA[
  360. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  361. if(fileName != "") grd_rsrvacpt.saveExcel(fileName, "SheetName", false, false, "", "", false);
  362. ]]>
  363. </script>
  364. </button>
  365. <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:315px; y2:85px; "/>
  366. <datagrid id="grd_rsrvacpt" nodeset="/root/main/rsrvacptlst/item" caption="healexamflag^rsrvdd^rsrvno^healexamdetlflag^상담일자^상담시간^성명^등록번호^검진일자^상담의^연락처^휴대전화^나이^성별^주민번호^주소^vipyn^clntgrde" colsep="^" colwidth="10, 10, 10, 10, 70, 60, 52, 56, 70, 60, 100, 100, 40, 40, 100, 500, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:90px; width:315px; height:650px; ">
  367. <col ref="healexamflag" visibility="hidden"/>
  368. <col ref="rsrvdd" visibility="hidden"/>
  369. <col ref="rsrvno" visibility="hidden"/>
  370. <col ref="healexamdetlflag" visibility="hidden"/>
  371. <col ref="rsltcnstdd" format="yyyy-mm-dd" style="text-align:center; "/>
  372. <col ref="rsltcnstrsrvstarttm" format="hh:nn" style="text-align:center; "/>
  373. <col ref="hngnm" style="text-align:center; "/>
  374. <col ref="pid" style="text-align:left; "/>
  375. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  376. <col ref="rsltcnstdrnm" style="text-align:center; "/>
  377. <col ref="telno" style="text-align:center; "/>
  378. <col ref="mpphon" style="text-align:center; "/>
  379. <col ref="age" style="text-align:center; "/>
  380. <col ref="sex" style="text-align:center; "/>
  381. <col ref="rrgstno" style="text-align:center; "/>
  382. <col ref="address" style="text-align:left; "/>
  383. <col ref="vipyn" visibility="hidden" style="text-align:left; "/>
  384. <col ref="clntgrde" visibility="hidden" style="text-align:left; "/>
  385. <script type="javascript" ev:event="ondblclick">
  386. <![CDATA[
  387. if(isDataCell()){
  388. //2016/10/25 동명이인 관련 알림 팝업
  389. fChkPatNameC(grd_rsrvacpt.nodeset, "hngnm", grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("hngnm")));
  390. //2016/10/25 동명이인 관련 알림 팝업
  391. fSearchAfterColgJudgInfo();
  392. }
  393. ]]>
  394. </script>
  395. </datagrid>
  396. <line id="line13" class="line_1" style="x1:325px; y1:85px; x2:1187px; y2:85px; "/>
  397. <caption id="caption10" class="cell_1" style="left:325px; top:90px; width:53px; height:355px; text-align:center; vertical-align:middle; ">한글</caption>
  398. <textarea id="tar_judghngcnts2" ref="/root/main/afterColgJudgInfo/judginfo/afhngjudgcnts" scroll="vertical" style="left:380px; top:90px; width:807px; height:355px; "/>
  399. <caption id="caption5" class="cell_1" style="left:885px; top:61px; width:59px; height:23px; vertical-align:middle; ">판정일자</caption>
  400. <input id="ipt_judgdd" ref="/root/main/judgdetl/judginfo/item/judgdd" class="input" disabled="true" inputtype="date" style="left:947px; top:63px; width:95px; height:19px; "/>
  401. <caption id="caption4" class="cell_1" style="left:1045px; top:61px; width:45px; height:23px; vertical-align:middle; ">판정의</caption>
  402. <select1 id="cmb_judgdr" ref="/root/main/afterColgJudgInfo/judginfo/judgdrid" class="combo" disabled="true" appearance="minimal" style="left:1093px; top:63px; width:95px; height:19px; ">
  403. <choices>
  404. <itemset nodeset="/root/init/judg/drlst/itemdr">
  405. <label ref="drnm"/>
  406. <value ref="drid"/>
  407. </itemset>
  408. </choices>
  409. </select1>
  410. <line id="line3" class="line_1" style="x1:325px; y1:476px; x2:1187px; y2:476px; "/>
  411. <input id="judgdd" ref="/root/main/afterColgJudgInfo/judginfo/judgdd" class="output_fix" disabled="true" style="left:947px; top:63px; width:95px; height:19px; "/>
  412. <caption id="caption9" class="cell_1" style="left:325px; top:60px; width:35px; height:23px; vertical-align:middle; ">성명</caption>
  413. <output id="hngnm" class="output_fix" visibility="visible" style="left:365px; top:62px; width:65px; height:19px; "/>
  414. <caption id="caption12" class="cell_1" style="left:435px; top:60px; width:55px; height:23px; vertical-align:middle; ">등록번호</caption>
  415. <output id="pid" class="output_fix" visibility="visible" style="left:495px; top:62px; width:80px; height:19px; "/>
  416. <caption id="caption13" class="cell_1" style="left:580px; top:60px; width:55px; height:23px; vertical-align:middle; ">검진일자</caption>
  417. <output id="orddd" class="output_fix" visibility="visible" style="left:640px; top:62px; width:80px; height:19px; "/>
  418. <caption id="caption14" class="cell_1" style="left:725px; top:60px; width:55px; height:23px; vertical-align:middle; ">상담일자</caption>
  419. <output id="rsltcnstdd" class="output_fix" visibility="visible" style="left:785px; top:62px; width:80px; height:19px; "/>
  420. <datagrid id="grd_afexamlist" nodeset="/root/main/afterColgJudgInfo/afexamlist/item" caption="healexamflag^rsrvdd^rsrvno^seq^healexamdetlflag^통보^구분^코드^검사명^월구분^이전결과^재검결과^검사일자^상담일자^진료의뢰과^진료의^비고" colsep="^" colwidth="10, 10, 10, 10, 10, 30, 40, 70, 90, 50, 80, 80, 90, 90, 80, 70, 300" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:325px; top:480px; width:862px; height:260px; ">
  421. <col ref="healexamflag" visibility="hidden"/>
  422. <col ref="rsrvdd" visibility="hidden"/>
  423. <col ref="rsrvno" visibility="hidden"/>
  424. <col ref="seq" visibility="hidden"/>
  425. <col ref="healexamdetlflag" visibility="hidden"/>
  426. <col checkvalue="Y,N" ref="afnotiyn" type="checkbox"/>
  427. <col ref="aftype" type="combo" style="text-align:center; ">
  428. <choices>
  429. <item>
  430. <label>추가</label>
  431. <value>A</value>
  432. </item>
  433. <item>
  434. <label>재검</label>
  435. <value>B</value>
  436. </item>
  437. <item>
  438. <label>타과</label>
  439. <value>C</value>
  440. </item>
  441. <item>
  442. <label>연장</label>
  443. <value>D</value>
  444. </item>
  445. <item>
  446. <label>전화</label>
  447. <value>E</value>
  448. </item>
  449. <item>
  450. <label>방문</label>
  451. <value>F</value>
  452. </item>
  453. </choices>
  454. </col>
  455. <col ref="testcd" type="inputbutton" style="padding-left:5; "/>
  456. <col ref="testnm" type="output" style="padding-left:5; "/>
  457. <col ref="monthgb" type="combo" style="text-align:center; ">
  458. <choices>
  459. <item>
  460. <label>1개월</label>
  461. <value>1</value>
  462. </item>
  463. <item>
  464. <label>3개월</label>
  465. <value>3</value>
  466. </item>
  467. <item>
  468. <label>6개월</label>
  469. <value>6</value>
  470. </item>
  471. <item>
  472. <label>9개월</label>
  473. <value>9</value>
  474. </item>
  475. </choices>
  476. </col>
  477. <col ref="berslt" type="input"/>
  478. <col ref="afrslt" type="input"/>
  479. <col ref="aforddd" type="inputdate" style="text-align:center; "/>
  480. <col ref="cnstdd" type="inputdate" style="text-align:center; "/>
  481. <col ref="afdeptcd" type="combo">
  482. <choices>
  483. <itemset nodeset="/root/init/baseinfo/orddeptcdlst/S610">
  484. <label ref="cdnm"/>
  485. <value ref="cdid"/>
  486. </itemset>
  487. </choices>
  488. </col>
  489. <col ref="afdrnm" type="input"/>
  490. <col ref="remcnts" type="input"/>
  491. <script type="javascript" ev:event="onbuttonclick">
  492. <![CDATA[
  493. if(grd_afexamlist.col == grd_afexamlist.colRef("testcd")){
  494. model.removeNodeset("/root/main/detlcodelst/item");
  495. modal("SPAHA00801"); //선택화면 Call
  496. if(model.getValue("/root/temp/okflag") == "ok"){
  497. model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/aftype" , model.getValue("/root/main/detlcodelst/item[" + 1 + "]/aftype"));
  498. model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/testcd" , model.getValue("/root/main/detlcodelst/item[" + 1 + "]/etcdetlcd"));
  499. model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/testnm" , model.getValue("/root/main/detlcodelst/item[" + 1 + "]/etcdetlnm"));
  500. if(grd_afexamlist.rowStatus(grd_afexamlist.row)!=1){ // Insert가 아닐때 업데이트로 변경
  501. grd_afexamlist.rowStatus(grd_afexamlist.row)=2;
  502. }
  503. model.refresh();
  504. }
  505. }
  506. ]]>
  507. </script>
  508. </datagrid>
  509. <button id="btn_del" class="btn2_letter3" style="left:1133px; top:454px; width:53px; height:19px; ">
  510. <caption>행삭제</caption>
  511. <script type="javascript" ev:event="DOMActivate">
  512. <![CDATA[
  513. deleteSelectedRows(grd_afexamlist, true);
  514. ]]>
  515. </script>
  516. </button>
  517. <button id="btn_add" class="btn2_letter3" style="left:1076px; top:454px; width:53px; height:19px; ">
  518. <caption>행추가</caption>
  519. <script type="javascript" ev:event="DOMActivate">
  520. <![CDATA[
  521. grd_afexamlist.addRow();
  522. var healexamflag = model.getValue("/root/send/srchaftercolgJudg/healexamflag");
  523. var healexamdetlflag = model.getValue("/root/send/srchaftercolgJudg/healexamdetlflag");
  524. var rsrvdd = model.getValue("/root/send/srchaftercolgJudg/rsrvdd");
  525. var rsrvno = model.getValue("/root/send/srchaftercolgJudg/rsrvno");
  526. model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/healexamflag" , healexamflag);
  527. model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/healexamdetlflag" , healexamdetlflag);
  528. model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/rsrvdd" , rsrvdd);
  529. model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/rsrvno" , rsrvno);
  530. ]]>
  531. </script>
  532. </button>
  533. </group>
  534. <button id="btn_save" class="btn4_letter4" style="left:1107px; top:760px; width:80px; height:22px; ">
  535. <caption>의뢰저장</caption>
  536. <script type="javascript" ev:event="DOMActivate">
  537. <![CDATA[
  538. if(fSaveAfexam()){
  539. fSearchAfterColgJudgInfo();
  540. }
  541. ]]>
  542. </script>
  543. </button>
  544. <button id="button2" class="btn6_letter6" style="left:90px; top:760px; width:104px; height:22px; ">
  545. <caption>판정기록출력</caption>
  546. <script type="javascript" ev:event="DOMActivate">
  547. <![CDATA[
  548. fPrintAfterColgJudgInfo();
  549. ]]>
  550. </script>
  551. </button>
  552. <button id="btn_prt" class="btn6_letter4" style="left:5px; top:760px; width:80px; height:22px; ">
  553. <caption>명단출력</caption>
  554. <script type="javascript" ev:event="DOMActivate">
  555. <![CDATA[
  556. model.makeValue("/root/main/export/srchfromdd" , model.getValue("/root/send/srchdata/srchfromdd").toDate().getDateFormat("YYYY/MM/DD"));
  557. model.makeValue("/root/main/export/srchtodd" , model.getValue("/root/send/srchdata/srchtodd").toDate().getDateFormat("YYYY/MM/DD"));
  558. exeReportPreview("RPAHA00920", "XMLSTR", "/root/main/export","", "false","","","","","false");
  559. ]]>
  560. </script>
  561. </button>
  562. </xhtml:body>
  563. </xhtml:html>