SMAER00710_조영제 부작용 리스트조회.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541
  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. </patinfo>
  13. <aeahdyes1>
  14. <aeahdyeslist1>
  15. <execprcpuniqno/>
  16. <pid/>
  17. <patnm/>
  18. <excucdnm/>
  19. <prcpdd/>
  20. <excuexectodt/>
  21. <excuexecfromdd/>
  22. <excuexecfromtm/>
  23. <excuexectodd/>
  24. <excuexectotm/>
  25. <prcpdd/>
  26. <seriseffcflag/>
  27. <trivialseffcflag/>
  28. <sympetc/>
  29. <usedyecd/>
  30. <usedyeqty/>
  31. <usedyetrivialrem/>
  32. <bpcnts/>
  33. <pulsecnts/>
  34. <erroomtrandd/>
  35. <erroomtrantm/>
  36. <tretrsltflag/>
  37. <seriseffcflag1/>
  38. <seriseffcflag2/>
  39. <seriseffcflag3/>
  40. <seriseffcflag4/>
  41. <trivialseffcflag1/>
  42. <trivialseffcflag2/>
  43. <trivialseffcflag3/>
  44. <trivialseffcflag4/>
  45. <trivialseffcflag5/>
  46. <trivialseffcflag6/>
  47. <trivialseffcflag7/>
  48. <trivialseffcflag8/>
  49. <trivialseffcflag9/>
  50. <trivialseffcflag10/>
  51. <trivialseffcflag11/>
  52. <trivialseffcflag12/>
  53. <trivialseffcflag13/>
  54. <orddeptnm/>
  55. <cdnm/>
  56. </aeahdyeslist1>
  57. </aeahdyes1>
  58. <popupendflag/>
  59. <result>
  60. <patinfo/>
  61. </result>
  62. </main>
  63. <send>
  64. <reqdata>
  65. <srchpid/>
  66. <hngnm/>
  67. <stdate/>
  68. <todate/>
  69. <flag/>
  70. <spiddata/>
  71. <deptcd/>
  72. </reqdata>
  73. <reqdata1>
  74. <sprcpdd/>
  75. <sexecprcpuniqno/>
  76. </reqdata1>
  77. <aeahdyeslist2/>
  78. <globalinstance>
  79. <instance1/>
  80. </globalinstance>
  81. <calcreqdata>
  82. <earncls1>05</earncls1>
  83. <earncls2>18</earncls2>
  84. <earncls3/>
  85. </calcreqdata>
  86. </send>
  87. <init>
  88. <cmb_info>
  89. </cmb_info>
  90. <baseinfo>
  91. <usedyecd>
  92. <cdnm/>
  93. <cdid/>
  94. </usedyecd>
  95. </baseinfo>
  96. </init>
  97. <source>
  98. <srchcond/>
  99. <pid/>
  100. <hngnm/>
  101. <rrgstno1/>
  102. <rrgstno2/>
  103. </source>
  104. <hidden>
  105. <count/>
  106. </hidden>
  107. </root>
  108. </instance>
  109. <script type="javascript" ev:event="xforms-ready">
  110. <![CDATA[
  111. zbcfGetCodeList( new Array("M0011"), new Array("/root/init/baseinfo/usedyecd"));
  112. submit("TRZBC00101");
  113. model.setValue("/root/send/reqdata/stdate", getCurrentDate().toDate().getAddDate(-30,"D").getDateFormat("YYYYMMDD"));
  114. model.setValue("/root/send/reqdata/todate", getCurrentDate());
  115. //부서코드 가져오기
  116. aezfSetSuppDeptcd();
  117. model.setValue("/root/send/reqdata/deptcd",model.getValue("/root/send/globalinstance/instance1"));
  118. //alert(model.getValue("/root/send/globalinstance/instance1"));
  119. // 조영제 리스트 목록
  120. submit("TRAER00706"); // submit("TRAER00704") 대신으로 함
  121. grd_aeahdyelist.deleteItem(1);
  122. model.refresh();
  123. ]]>
  124. </script>
  125. <submission id="TRAER00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/aeahinfo/aeahlist1"/>
  126. <submission id="TRAER00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata1" resultref="/root/main/aeahdyes1/aeahdyeslist1"/>
  127. <submission id="TRZBC00101"/>
  128. <submission id="TXAER00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  129. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
  130. <submission id="TRAER00704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/calcreqdata" replace="instance" resultref="/root/init/baseinfo"/>
  131. <submission id="TRAER00705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/aeahdyes1/aeahdyeslist1"/>
  132. <submission id="TRAER00706" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/init/baseinfo"/>
  133. </model>
  134. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  135. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  136. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  137. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  138. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  139. <script type="javascript">
  140. <![CDATA[
  141. function readfunc(gbn){ // 해당 조건에 대한 검사내역을 조회한다.
  142. }
  143. function readfunc1(){ // 해당 조건에 대한 검사내역을 조회한다.
  144. if (model.getValue("/root/send/reqdata/stdate") == ""){
  145. messageBox("실시 시작일자는 필수 입력 또는 선택 항목", "E008");
  146. model.setFocus("ipt_date1");
  147. return;
  148. }
  149. if (model.getValue("/root/send/reqdata/todate") == ""){
  150. messageBox("실시 종료일자는 필수 입력 또는 선택 항목", "E008");
  151. model.setFocus("ipt_date2");
  152. return;
  153. }
  154. /*
  155. if (isDate(model.getValue("/root/send/reqdata/stdate")) == false){
  156. messageBox("실시 시작일자의 날짜 형식이 잘못 입력되어 처리", "E001");
  157. model.setFocus("ipt_date1");
  158. return;
  159. }
  160. if (isDate(model.getValue("/root/send/reqdata/todate")) == false){
  161. messageBox("실시 종료일자의 날짜 형식이 잘못 입력되어 처리", "E001");
  162. model.setFocus("ipt_date2");
  163. return;
  164. }
  165. if (model.getValue("/root/send/reqdata/stdate") > model.getValue("/root/send/reqdata/todate")){
  166. messageBox("실시 시작일자가 종료일자 보다 커서 처리", "E001");
  167. model.setFocus("ipt_date2");
  168. return;
  169. }*/
  170. var chkstdate = model.getValue("/root/send/reqdata/stdate");
  171. var chktodate = model.getValue("/root/send/reqdata/todate");
  172. model.setValue("/root/send/reqdata/stdate", chkstdate);
  173. model.setValue("/root/send/reqdata/todate", chktodate);
  174. submit("TRAER00705"); // 기간별 부작용 내역 조회하기
  175. var msg = model.getValue("/root/properties/error/msg");
  176. var refCnt = msg.substring(0, 1);
  177. if( refCnt == "0" || refCnt == "") {
  178. messageBox("조회된 결과가", "I004");
  179. model.setFocus("ipt_date1");
  180. }
  181. model.setValue("/root/send/reqdata/stdate", chkstdate);
  182. model.setValue("/root/send/reqdata/todate", chktodate);
  183. model.refresh();
  184. }
  185. function isDate(str) { // 날짜 형식에 대한 적합여부 체크
  186. if (str == "") return true; // 빈건 체크안함
  187. if (trim(str) == "") return true; // 빈건 체크안함
  188. if (isNaN(parseInt(str))) return false; // 숫자가 아니면 false
  189. if (str.length != 8) return false; // 8자리(yyyymmdd)가 아니면 false
  190. var yy = new Number(str.substring(0, 4));
  191. var mm = new Number(str.substring(4, 6)) - 1;
  192. var dd = new Number(str.substring(6, 8));
  193. var date = new Date(yy, mm, dd);
  194. //alert(date.getFullYear() +"-" + (date.getMonth()+1) + "-" + date.getDate());
  195. if (yy != date.getFullYear() ||
  196. mm != date.getMonth() ||
  197. dd != date.getDate()) {
  198. return false; // 존재하지 않는 날짜
  199. }
  200. return true; // 존재하는 날짜
  201. }
  202. function listupdate() { // 부작용 입력 내용을 그리드에 반영한다.
  203. //model.resetInstanceNode("/root/main/aeahdyes1/aeahdyeslist1");
  204. grd_aeahdyelist.deleteitem(1);
  205. grd_aeahdyelist.rebuild();
  206. grd_aeahdyelist.addItem();
  207. model.copyNode("/root/main/aeahdyes1/aeahdyeslist1["+1+"]", "/root/main/aeahdyes2/aeahdyeslist2");
  208. model.refresh();
  209. }
  210. function datacheck() { // 입력 또는 수정 항목에 대한 적합성 체크
  211. if (isDate(model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexecfromdd")) == false){
  212. messageBox("검사 시작일자의 날짜 형식이 잘못 입력되어 처리", "E001");
  213. model.setFocus("ipt_excuexecfromdd");
  214. return false;
  215. }
  216. var stime;
  217. var stime1;
  218. var stime2;
  219. stime = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexecfromtm");
  220. stime1 = stime.substring(0, 2);
  221. stime2 = stime.substring(2, 4);
  222. if (stime1 > "24" || stime2 > "60"){
  223. messageBox("검사 시작시간을 올바르게", "C001");
  224. model.setFocus("ipt_excuexecfromtm");
  225. return false;
  226. }
  227. if (isDate(model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexectodd")) == false){
  228. messageBox("검사 종료일자의 날짜 형식이 잘못 입력되어 처리", "E001");
  229. model.setFocus("ipt_excuexectodd");
  230. return false;
  231. }
  232. stime = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexectotm");
  233. stime1 = stime.substring(0, 2);
  234. stime2 = stime.substring(2, 4);
  235. if (stime1 > "24" || stime2 > "60"){
  236. messageBox("검사 종료시간을 올바르게", "C001");
  237. model.setFocus("ipt_excuexectotm");
  238. return false;
  239. }
  240. var time1 = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexecfromdd") + model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexecfromtm");
  241. var time2 = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexectodd") + model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexectotm");
  242. if (trim(time1) > trim(time2)){
  243. messageBox("검사 시작과 종료일자를 올바르게", "C001");
  244. model.setFocus("ipt_excuexectodd");
  245. return false;
  246. }
  247. if (isDate(model.getValue("/root/main/aeahdyes2/aeahdyeslist2/erroomtrandd")) == false){
  248. messageBox("응급실 이송일자의 날짜 형식이 잘못 입력되어 처리", "E001");
  249. model.setFocus("ipt_erroomtrandd");
  250. return false;
  251. }
  252. stime = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/erroomtrantm");
  253. stime1 = stime.substring(0, 2);
  254. stime2 = stime.substring(2, 4);
  255. if (stime1 > "24" || stime2 > "60"){
  256. messageBox("응급실 이송시간을 올바르게", "C001");
  257. model.setFocus("ipt_erroomtrantm");
  258. return false;
  259. }
  260. return true;
  261. }
  262. function seriseffc1(){ // 심각한 부작용 및 가벼운 부작용 개별 항목을 하나의 내용으로 취합한다.
  263. var schk = "";
  264. var schk1 = "";
  265. for (var i = 1; i < 5; i++){
  266. schk1 = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/seriseffcflag" + i);
  267. if (i == 4){
  268. schk = schk + schk1;
  269. }else{
  270. schk = schk + schk1 + "^";
  271. }
  272. }
  273. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/seriseffcflag", schk);
  274. schk = "";
  275. schk1 = "";
  276. for (var i = 1; i < 14; i++){
  277. schk1 = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag" + i);
  278. if (i == 13){
  279. schk = schk + schk1;
  280. }else{
  281. schk = schk + schk1 + "^";
  282. }
  283. }
  284. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag", schk);
  285. }
  286. function resetfunc(){ // 입력할 내용에 대한 초기화를 한다.
  287. btn_save.disabled = false;
  288. btn_upd.disabled = true;
  289. btn_del.disabled = true;
  290. group1.disabled = false;
  291. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/excuexecfromdd", getCurrentDate());
  292. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/excuexectodd", getCurrentDate());
  293. model.setFocus("ipt_excuexecfromdd");
  294. for (var i = 1; i < 5; i++){
  295. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/seriseffcflag" + i, "0");
  296. }
  297. for (var i = 1; i < 14; i++){
  298. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag" + i, "0");
  299. }
  300. var row = grp_aeahlist.row;
  301. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/prcpdd", grp_aeahlist.valueMatrix(row, grp_aeahlist.colRef("prcpdd")));
  302. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/execprcpuniqno", grp_aeahlist.valueMatrix(row, grp_aeahlist.colRef("execprcpuniqno")));
  303. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/pid", model.getValue("/root/send/reqdata/srchpid"));
  304. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/excuexectodt", grp_aeahlist.valueMatrix(row, grp_aeahlist.colRef("excuexectodt")));
  305. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/tretrsltflag", "2");
  306. grd_aeahdyelist.deleteitem(1);
  307. }
  308. /*******************************************************************************************************************************************************************/
  309. // 2015 조영제부작용 상세내역조회
  310. /*******************************************************************************************************************************************************************/
  311. function fAeahdyePatSrch(){
  312. var row = grd_aeahdyelist.row;
  313. var pid = model.getValue("/root/main/aeahdyes1/aeahdyeslist1["+row+"]/pid");
  314. var execdd = model.getValue("/root/main/aeahdyes1/aeahdyeslist1["+row+"]/excuexectodt").substr(0,8);
  315. setParameter("opener_parameter_id", pid + "▦"+ execdd);
  316. modal("SMAER00700", "", "200", "200", "popup", "", "");
  317. }
  318. function display_list(){ // 검사 내역에서 클릭한 해당 조영제 부작용 내역을 보여준다.
  319. model.resetInstanceNode("/root/main/aeahdyes2/aeahdyeslist2");
  320. //var row = 1;
  321. var row = grd_aeahdyelist.row;
  322. model.copyNode("/root/main/aeahdyes2/aeahdyeslist2", "/root/main/aeahdyes1/aeahdyeslist1["+row+"]");
  323. //var row = grd_aeahdyelist.row;
  324. var data = grd_aeahdyelist.valueMatrix(row, grd_aeahdyelist.colRef("seriseffcflag"));
  325. var str = data.substring(0);
  326. var k = 0;
  327. for(var i=0; i < str.length; i++){
  328. //var ch = escape(str.charAt(i));
  329. var ch = str.charAt(i);
  330. if (ch != "^"){
  331. k = parseInt(k) + 1;
  332. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/seriseffcflag" + k, ch);
  333. }
  334. }
  335. var data = grd_aeahdyelist.valueMatrix(row, grd_aeahdyelist.colRef("trivialseffcflag"));
  336. var str = data.substring(0);
  337. var k = 0;
  338. for(var i=0; i < str.length; i++){
  339. //var ch = escape(str.charAt(i));
  340. var ch = str.charAt(i);
  341. if (ch != "^"){
  342. k = parseInt(k) + 1;
  343. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag" + k, ch);
  344. }
  345. }
  346. btn_save.disabled = true;
  347. btn_upd.disabled = false;
  348. btn_del.disabled = false;
  349. group1.disabled = false;
  350. model.refresh();
  351. }
  352. function fSearchPatInfo(){ // 등록번호에 대한 정보를 가져온다.
  353. model.setValue("/root/source/srchcond", "1");
  354. model.setValue("/root/source/pid", ipt_pid.currentText);
  355. //inputEnterKey("btn_search", "DOMActivate");
  356. //환자등록번호 체크
  357. if(ipt_pid.currentText.length >= 1 ){
  358. model.resetInstanceNode("/root/main/result");
  359. model.makeNode("/root/main/result/patinfo");
  360. if(submit("TRPMC02500")){
  361. //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
  362. if( getNodesetCount("/root/main/result/patinfo/patinfolist") > 0 ){
  363. model.copyNode("/root/main/patinfo", "/root/main/result/patinfo");
  364. model.setValue("/root/send/reqdata/hngnm", model.getValue("/root/main/result/patinfo/patinfolist/hngnm"));
  365. var sdata1 = "";
  366. if (model.getValue("/root/main/result/patinfo/patinfolist/sex") == "M"){
  367. sdata1 = "남 / ";
  368. }else{
  369. sdata1 = "여 / ";
  370. }
  371. var sdata = sdata1 + model.getValue("/root/main/result/patinfo/patinfolist/age") + "세 / " + model.getValue("/root/main/result/patinfo/patinfolist/hometel");
  372. model.setValue("/root/send/reqdata/spiddata", sdata);
  373. model.setValue("/root/main/popupendflag", "ok");
  374. model.refresh();
  375. readfunc("2");
  376. }else{
  377. model.resetInstanceNode("/root/main/patinfo/patinfolist");
  378. messageBox("없는 환자 번호 입니다.", "E999", "");
  379. model.refresh();
  380. }
  381. }
  382. }else{
  383. messageBox("환자등록번호를 정확히", "C001");
  384. }
  385. }
  386. function trim(data){ // 문자에 대한 TRIM 작업
  387. return data.replace(/(^\s*)|(\s*$)/g, "");
  388. }
  389. ]]>
  390. </script>
  391. </xhtml:head>
  392. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  393. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:19px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  394. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:141px; height:14px; ">조영제 부작용 목록</caption>
  395. <line id="line2" class="line_1" style="x1:1px; y1:56px; x2:1195px; y2:56px; "/>
  396. <datagrid id="grd_aeahdyelist" nodeset="/root/main/aeahdyes1/aeahdyeslist1" autoresize="true" caption="등록번호^환자명^검사명^상태^검사일^사용조영제^상세^용량^혈압^맥박^응급실이송일자^응급실이송시간^처리결과^쇼크상태^빈맥^호흡곤란^일시적 신장장애^가벼운 구토^두드러기^가려움증^홍조^기침^콧물^일시적호흡곤란^피부발진^발열감^현기증^조영제 누출^국소피부부종^일시적 신장장애^기타" colsep="^" colwidth="80, 81, 300, 110, 90, 300, 31, 50, 80, 50, 90, 100, 110, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 300" mergecellsfixedrows="bycolrec" rowsep="|" navindex="6" style="left:0px; top:61px; width:1195px; height:689px; ">
  397. <col disabled="true" ref="pid" style="text-align:center; "/>
  398. <col disabled="true" ref="patnm" style="text-align:center; "/>
  399. <col disabled="true" ref="excucdnm" style="text-align:left; "/>
  400. <col disabled="true" ref="cdnm" style="text-align:center; "/>
  401. <col disabled="true" ref="excuexectodt" format="yyyy-mm-dd" style="text-align:center; "/>
  402. <col disabled="true" ref="usedyecd" type="combo" style="text-align:left; ">
  403. <choices>
  404. <itemset nodeset="/root/init/baseinfo/usedyecd">
  405. <label ref="cdnm"/>
  406. <value ref="cdid"/>
  407. </itemset>
  408. </choices>
  409. </col>
  410. <col ref="contents" type="inputbutton" style="text-align:center; "/>
  411. <col disabled="true" ref="usedyeqty" style="text-align:center; "/>
  412. <col disabled="true" ref="bpcnts" style="text-align:center; "/>
  413. <col disabled="true" ref="pulsecnts" style="text-align:center; "/>
  414. <col disabled="true" ref="erroomtrandd" visibility="visible" format="yyyy-mm-dd" style="text-align:center; "/>
  415. <col disabled="true" ref="erroomtrantm" visibility="visible" format="nn:ss" style="text-align:center; "/>
  416. <col disabled="true" ref="tretrsltflag" visibility="visible"/>
  417. <col checkvalue="1,0" ref="seriseffcflag1" type="checkbox" visibility="visible"/>
  418. <col checkvalue="1,0" ref="seriseffcflag2" type="checkbox" visibility="visible"/>
  419. <col checkvalue="1,0" ref="seriseffcflag3" type="checkbox" visibility="visible"/>
  420. <col checkvalue="1,0" ref="seriseffcflag4" type="checkbox" visibility="visible"/>
  421. <col checkvalue="1,0" ref="trivialseffcflag1" type="checkbox" visibility="visible"/>
  422. <col checkvalue="1,0" ref="trivialseffcflag2" type="checkbox" visibility="visible"/>
  423. <col checkvalue="1,0" ref="trivialseffcflag3" type="checkbox" visibility="visible"/>
  424. <col checkvalue="1,0" ref="trivialseffcflag4" type="checkbox" visibility="visible"/>
  425. <col checkvalue="1,0" ref="trivialseffcflag5" type="checkbox" visibility="visible"/>
  426. <col checkvalue="1,0" ref="trivialseffcflag6" type="checkbox" visibility="visible"/>
  427. <col checkvalue="1,0" ref="trivialseffcflag7" type="checkbox" visibility="visible"/>
  428. <col checkvalue="1,0" ref="trivialseffcflag8" type="checkbox" visibility="visible"/>
  429. <col checkvalue="1,0" ref="trivialseffcflag9" type="checkbox" visibility="visible"/>
  430. <col checkvalue="1,0" ref="trivialseffcflag10" type="checkbox" visibility="visible"/>
  431. <col checkvalue="1,0" ref="trivialseffcflag11" type="checkbox" visibility="visible"/>
  432. <col checkvalue="1,0" ref="trivialseffcflag12" type="checkbox" visibility="visible"/>
  433. <col checkvalue="1,0" ref="trivialseffcflag13" type="checkbox" visibility="visible"/>
  434. <col disabled="true" ref="sympetc"/>
  435. <script type="javascript" ev:event="onbuttonclick">
  436. <![CDATA[
  437. var colidx = grd_aeahdyelist.col;
  438. //alert("colidx ===" +colidx );
  439. // 상세내역으로 분기 가져오기.
  440. if( colidx == 6)
  441. {
  442. fAeahdyePatSrch();
  443. }
  444. ]]>
  445. </script>
  446. </datagrid>
  447. <input id="ipt_pid" ref="/root/send/reqdata/srchpid" class="input_search" navindex="3" style="left:392px; top:27px; width:100px; height:19px; ">
  448. <script type="javascript" ev:event="xforms-value-changed">
  449. <![CDATA[
  450. //model.resetInstanceNode("/root/main/aeahdyes1/aeahdyeslist1");
  451. //fSearchPatInfo();
  452. ]]>
  453. </script>
  454. <script type="javascript" ev:event="onkeydown">
  455. <![CDATA[
  456. inputEnterKey("btn_sea","DOMActivate");
  457. ]]>
  458. </script>
  459. </input>
  460. <caption id="caption1" class="search_name" style="left:13px; top:27px; width:86px; height:17px; ">실시일자 :</caption>
  461. <button id="button61" class="icon_search" visibility="hidden" style="left:495px; top:28px; width:16px; height:16px; ">
  462. <caption/>
  463. <script type="javascript" ev:event="onclick">
  464. <![CDATA[
  465. modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/reqdata","/root/send");
  466. if (model.getValue("/root/main/popupendflag") != "cancel"){
  467. model.setValue("/root/send/reqdata/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid") );
  468. model.setValue("/root/send/reqdata/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  469. var sdata1 = "";
  470. if (model.getValue("/root/main/patinfo/patinfolist/sex") == "M"){
  471. sdata1 = "남 / ";
  472. }else{
  473. sdata1 = "여 / ";
  474. }
  475. var sdata = sdata1 + model.getValue("/root/main/patinfo/patinfolist/age") + "세 / " + model.getValue("/root/main/patinfo/patinfolist/hometel");
  476. model.setValue("/root/send/reqdata/spiddata", sdata);
  477. readfunc("2");
  478. }
  479. model.refresh();
  480. ]]>
  481. </script>
  482. </button>
  483. <caption id="caption18" class="search_name" style="left:303px; top:27px; width:86px; height:17px; ">등록번호 :</caption>
  484. <output id="output1" ref="/root/send/reqdata/hngnm" class="output_fix" visibility="hidden" style="left:513px; top:28px; width:94px; height:19px; "/>
  485. <input id="ipt_date1" ref="/root/send/reqdata/stdate" class="input_default" navindex="1" inputtype="date" style="left:103px; top:28px; width:90px; height:19px; "/>
  486. <output id="output2" ref="/root/send/reqdata/spiddata" class="output_fix" visibility="hidden" style="left:613px; top:28px; width:159px; height:19px; "/>
  487. <input id="ipt_date2" ref="/root/send/reqdata/todate" class="input_default" navindex="2" inputtype="date" style="left:203px; top:28px; width:90px; height:19px; "/>
  488. <button id="button3" class="btn1_letter2" navindex="4" style="left:1130px; top:755px; width:56px; height:22px; ">
  489. <caption>엑셀</caption>
  490. <script type="javascript" ev:event="DOMActivate">
  491. <![CDATA[
  492. var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
  493. grd_aeahdyelist.saveExcel(file);
  494. ]]>
  495. </script>
  496. </button>
  497. <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:1125px; top:25px; width:56px; height:22px; ">
  498. <caption>조회</caption>
  499. <script type="javascript" ev:event="DOMActivate">
  500. <![CDATA[
  501. readfunc1();
  502. ]]>
  503. </script>
  504. </button>
  505. <line id="line13" class="line_4" style="x1:1116px; y1:26px; x2:1116px; y2:48px; "/>
  506. </xhtml:body>
  507. </xhtml:html>