SPARC02800_HIE의뢰환자리스트.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>의뢰환자찾기</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <search>
  11. <patientname/>
  12. <startdd/>
  13. <enddd/>
  14. <hospnm/>
  15. <drnm/>
  16. <patflag/>
  17. <hospgrade/>
  18. <saveflag/>
  19. <replflag/>
  20. <cptype/>
  21. <reqagntype/>
  22. <qreplflag/>
  23. <refereeorgid>1.2.410.200050.582.2.1.1:H</refereeorgid>
  24. <taskstatuscd/>
  25. <mpphonno/>
  26. <rrgstno/>
  27. <referrerOrganizationName/>
  28. <indelyn/>
  29. <referraldocument_documentuniqueid/>
  30. <referraldocument_repositoryid/>
  31. <transfermode/>
  32. </search>
  33. <reqdata>
  34. <pid/>
  35. <hngnm/>
  36. <rrgstno1/>
  37. <rrgstno2/>
  38. <orddeptcd/>
  39. <orddrid/>
  40. <fromdd/>
  41. <todd/>
  42. <coophospnm/>
  43. <drnm/>
  44. <patflag/>
  45. <hospgrade/>
  46. <saveflag/>
  47. <replflag/>
  48. <qreplflag/>
  49. </reqdata>
  50. <doctor/>
  51. <cond>
  52. <pid/>
  53. </cond>
  54. <req/>
  55. </send>
  56. <main>
  57. <list>
  58. <rqstlist>
  59. <orddd/>
  60. <pid/>
  61. <hngnm/>
  62. <patflag/>
  63. <saveflag/>
  64. <recdd/>
  65. <orddeptnm/>
  66. <orddrnm/>
  67. <cptype/>
  68. <reqdd/>
  69. <coophospnm/>
  70. <drnm/>
  71. <cretno/>
  72. <seqno/>
  73. <orddeptcd/>
  74. <orddrid/>
  75. <reqdd/>
  76. <coophospnm/>
  77. <drnm/>
  78. <clsmatyn/>
  79. <gradyear/>
  80. <telno/>
  81. <faxno/>
  82. <coopflag/>
  83. <emailid/>
  84. <emailaddr/>
  85. <qreplflag/>
  86. <reqseqno/>
  87. </rqstlist>
  88. <cntinfo>
  89. <reqcnt/>
  90. <replcnt/>
  91. </cntinfo>
  92. <newElement/>
  93. </list>
  94. <patinfo>
  95. <patinfolist/>
  96. </patinfo>
  97. <popupendflag/>
  98. <patient>
  99. <patinfo>
  100. <patyn/>
  101. </patinfo>
  102. </patient>
  103. <hielist/>
  104. <rrgstnoinfo/>
  105. </main>
  106. <init>
  107. <dept>
  108. <dept>
  109. </dept>
  110. </dept>
  111. <doctlist>
  112. <medispcl>
  113. <doctid/>
  114. <doctnm/>
  115. </medispcl>
  116. </doctlist>
  117. <hospgrade>
  118. <A0429>
  119. </A0429>
  120. </hospgrade>
  121. <saveflag>
  122. <A0497/>
  123. </saveflag>
  124. <patflag>
  125. </patflag>
  126. <openeryn/>
  127. <replflag/>
  128. <repltype>
  129. <A0423/>
  130. </repltype>
  131. <cptype>
  132. <A0420/>
  133. </cptype>
  134. <condcptype>
  135. <A0420/>
  136. </condcptype>
  137. <reqagntype>
  138. <A0583/>
  139. </reqagntype>
  140. <qreplflag>
  141. <A0636/>
  142. </qreplflag>
  143. <hardcd/>
  144. <wincloseyn>N</wincloseyn>
  145. <taskstatuscdlist>
  146. <list>
  147. <label>전체</label>
  148. <value/>
  149. </list>
  150. <list>
  151. <label>의뢰/회송</label>
  152. <value>REQUEST/TRANSFER</value>
  153. </list>
  154. <list>
  155. <label>예약</label>
  156. <value>SCHEDULE</value>
  157. </list>
  158. <list>
  159. <label>진료</label>
  160. <value>PERFORM</value>
  161. </list>
  162. <list>
  163. <label>의뢰</label>
  164. <value>REQUEST</value>
  165. </list>
  166. <list>
  167. <label>회송</label>
  168. <value>TRANSFER</value>
  169. </list>
  170. </taskstatuscdlist>
  171. <tasklist>
  172. <list>
  173. <label>의뢰</label>
  174. <value>REQUEST</value>
  175. </list>
  176. <list>
  177. <label>예약</label>
  178. <value>SCHEDULE</value>
  179. </list>
  180. <list>
  181. <label>진료</label>
  182. <value>PERFORM</value>
  183. </list>
  184. <list>
  185. <label>회송</label>
  186. <value>TRANSFER</value>
  187. </list>
  188. </tasklist>
  189. <statuslist>
  190. <list>
  191. <label>완료</label>
  192. <value>COMPLETED</value>
  193. </list>
  194. <list>
  195. <label>읽음</label>
  196. <value>CONFIRMED</value>
  197. </list>
  198. <list>
  199. <label>실패</label>
  200. <value>FAILED</value>
  201. </list>
  202. <list>
  203. <label>진행중</label>
  204. <value>IN_PROGRESS</value>
  205. </list>
  206. <list>
  207. <label>회신함</label>
  208. <value>IN_PROGRESS_WITH_REPLY</value>
  209. </list>
  210. <list>
  211. <label>회신완료</label>
  212. <value>IN_PROGRESS_WITH_REPLY_COMPLETED</value>
  213. </list>
  214. <list>
  215. <label>회신읽음</label>
  216. <value>IN_PROGRESS_WITH_REPLY_CONFIRMED</value>
  217. </list>
  218. <list>
  219. <label>방문</label>
  220. <value>VISITED</value>
  221. </list>
  222. <list>
  223. <label>종료</label>
  224. <value>CLOSED</value>
  225. </list>
  226. <list>
  227. <label>문서취소</label>
  228. <value>DEPRECATED</value>
  229. </list>
  230. </statuslist>
  231. <deptlist/>
  232. </init>
  233. <temp>
  234. <hardcode/>
  235. </temp>
  236. <tmp/>
  237. <hidden/>
  238. </root>
  239. </instance>
  240. <submission id="TRARC00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/hielist"/>
  241. <submission id="TRARC00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/rrgstno"/>
  242. <submission id="TRARC00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden"/>
  243. <submission id="TRARC00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/init/deptlist"/>
  244. <script type="javascript" ev:event="xforms-ready">
  245. <![CDATA[
  246. fInit();
  247. ]]>
  248. </script>
  249. </model>
  250. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  251. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  252. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  253. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  254. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  255. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  256. <script type="javascript" src="../../../com/departmentcodeweb/js/common.js"/>
  257. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  258. <script type="javascript" src="../../../ast/soclworkweb/js/AWMCommon.js"/>
  259. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  260. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  261. <script type="javascript">
  262. <![CDATA[
  263. // 초기값
  264. function fInit()
  265. {
  266. // 조회기간을 한달로 설정
  267. var CurrentDate = getCurrentDate();
  268. model.setValue("/root/send/search/enddd", CurrentDate);
  269. var fromdd = CurrentDate.toDate().getAddDate(-1,"M").getDateFormat();
  270. model.setValue("/root/send/search/startdd", fromdd);
  271. model.setValue("/root/send/search/taskstatuscd", "REQUEST/TRANSFER");
  272. model.setValue("/root/send/search/transfermode","RECEIVE");
  273. btn_received.selected = true;
  274. submit("TRARC00109");
  275. fGetHIEList();
  276. model.refresh();
  277. }
  278. function fGetHIEList() {
  279. submit("TRARC00105");
  280. var NodeCnt = getNodesetCount("/root/main/hielist");
  281. for(var i = 1; i <= NodeCnt; i++){
  282. if( model.getValue("/root/main/hielist["+i+"]/deprecatedyn") == "취소" ){
  283. grd_list.cellstyle("background-color", i+1, 1, i+1, grd_list.cols-1) ="#999999";
  284. }
  285. }
  286. //grd_list.refresh();
  287. }
  288. function fHIEReferView(row) {
  289. var documentuniqueid = model.getValue("/root/main/hielist["+(row-1)+"]/documentuniqueid");
  290. var repositoryid = model.getValue("/root/main/hielist["+(row-1)+"]/repositoryid");
  291. var patientid = model.getValue("/root/main/hielist["+(row-1)+"]/patientid");
  292. var deprecatedyn = model.getValue("/root/main/hielist["+(row-1)+"]/deprecatedyn");
  293. //var entryuuid = model.getValue("/root/main/hielist["+(row-1)+"]/referraldocument_entryuuid");
  294. setParameter("SPARC02820_PARAM1",patientid);
  295. setParameter("SPARC02820_PARAM2",documentuniqueid);
  296. setParameter("SPARC02820_PARAM3",repositoryid);
  297. setParameter("SPARC02820_PARAM4",deprecatedyn);
  298. modal("SPARC02820");
  299. /*
  300. var documentuniqueid = model.getValue("/root/main/hielist["+(row-1)+"]/documentuniqueid");
  301. var repositoryid = model.getValue("/root/main/hielist["+(row-1)+"]/repositoryid");
  302. var globalid = model.getValue("/root/main/hielist["+(row-1)+"]/globalid");
  303. model.makeValue("/root/send/search/documentuniqueid",documentuniqueid);
  304. model.makeValue("/root/send/search/repositoryid",repositoryid);
  305. //debugger;
  306. if (submit("TRARC02510")) {
  307. var cdaxml = model.getValue("/root/tmp/reqinfo/reqinfo/cdaxml");
  308. cdaxml = cdaxml.substr(cdaxml.indexOf("<ClinicalDocument"));
  309. //var sysMessgeObj = getViewer("sysMessage");
  310. //sysMessgeObj.window.javascript.fHieViewerPopup(cdaxml);
  311. setParameter("SPARC02820_PARAM1",cdaxml);
  312. setParameter("SPARC02820_PARAM2",globalid);
  313. setParameter("SPARC02820_PARAM3",documentuniqueid);
  314. modal("SPARC02820");
  315. }
  316. */
  317. }
  318. /*
  319. 화면 접기/펼치기 (u: 펼치기, f: 접기)
  320. */
  321. function fViewChange(flag){
  322. if(flag == "u"){
  323. grd_list.attribute("width") = "987px";
  324. }else if(flag == "f"){
  325. grd_list.attribute("width") = "987px";
  326. }
  327. }
  328. ]]>
  329. </script>
  330. </xhtml:head>
  331. <xhtml:body pagewidth="1200" pageheight="700" guideline="1,17;500,500;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  332. <group id="group3" scroll="auto" style="left:0px; top:0px; width:1172px; height:685px; ">
  333. <group id="grp_tle" style="left:0px; top:0px; width:860px; height:13px; ">
  334. <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:297px; height:14px; ">HIE 의뢰환자리스트(의료정보교류대상환자)</caption>
  335. </group>
  336. <group id="group1" style="left:0px; top:25px; width:1157px; height:55px; vertical-align:top; ">
  337. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1157px; height:55px; "/>
  338. <line id="line8" class="line_4" style="x1:970px; y1:10px; x2:970px; y2:45px; "/>
  339. <input id="ipt_fromdd" ref="/root/send/search/startdd" class="input_search" inputtype="date" style="left:100px; top:18px; width:85px; height:19px; vertical-align:top; "/>
  340. <input id="ipt_todd" ref="/root/send/search/enddd" class="input_search" inputtype="date" style="left:199px; top:18px; width:85px; height:19px; vertical-align:top; "/>
  341. <caption id="caption7" class="search_no_b" style="left:186px; top:18px; width:12px; height:17px; ">~</caption>
  342. <caption id="caption9" class="search_name" style="left:15px; top:17px; width:94px; height:17px; ">조회기간 :</caption>
  343. <button id="btn_search" class="btn1_letter2" style="left:980px; top:17px; width:56px; height:22px; ">
  344. <caption>조회</caption>
  345. <script type="javascript" ev:event="DOMActivate">
  346. <![CDATA[
  347. var fromdd = model.getValue("/root/send/search/startdd");
  348. var enddd = model.getValue("/root/send/search/enddd");
  349. if(isNull(fromdd) || isNull(enddd)){
  350. messageBox("의뢰일자는 필수입니다.","E999");
  351. return;
  352. }
  353. fGetHIEList();
  354. model.refresh();
  355. ]]>
  356. </script>
  357. </button>
  358. <input id="ipt_hngnm" ref="/root/send/search/patientname" style="left:600px; top:17px; width:75px; height:19px; ">
  359. <script type="javascript" ev:event="onkeydown">
  360. <![CDATA[
  361. if(event.keyCode==13)
  362. {
  363. inputEnterKey("btn_search", "DOMActivate");
  364. }
  365. ]]>
  366. </script>
  367. </input>
  368. <caption id="caption1" class="search_name" style="left:515px; top:17px; width:94px; height:17px; ">환자명 :</caption>
  369. <select1 id="cmb_taskstatuscd" ref="/root/send/search/taskstatuscd" class="combo_default" appearance="minimal" style="left:825px; top:18px; width:80px; height:19px; ">
  370. <choices>
  371. <itemset nodeset="/root/init/taskstatuscdlist/list">
  372. <label ref="label"/>
  373. <value ref="value"/>
  374. </itemset>
  375. </choices>
  376. </select1>
  377. <caption id="caption4" class="search_name" style="left:295px; top:17px; width:95px; height:17px; ">병원명:</caption>
  378. <caption id="caption5" class="search_name" style="left:715px; top:17px; width:105px; height:17px; ">진행상태 :</caption>
  379. <input id="input2" ref="/root/send/search/hospnm" style="left:390px; top:17px; width:105px; height:19px; ">
  380. <script type="javascript" ev:event="onkeydown">
  381. <![CDATA[
  382. if(event.keyCode==13)
  383. {
  384. inputEnterKey("btn_search", "DOMActivate");
  385. }
  386. ]]>
  387. </script>
  388. </input>
  389. <button id="button1" class="btn1_letter4" style="left:1045px; top:17px; width:80px; height:22px; ">
  390. <caption>상세조회</caption>
  391. <script type="javascript" ev:event="DOMActivate">
  392. <![CDATA[
  393. var row = grd_list.row;
  394. if(row < 2){
  395. messageBox("조회할 대상이 선택되지 않았습니다","I");
  396. return;
  397. }
  398. /*
  399. var taskstatusnm = model.getValue("/root/main/hielist["+row+"]/currenttaskstatusnm");
  400. if(taskstatusnm == "의뢰" ){
  401. messageBox("의뢰상태인 경우 조회가 불가합니다","E");
  402. return;
  403. }
  404. */
  405. fHIEReferView(row);
  406. ]]>
  407. </script>
  408. </button>
  409. </group>
  410. <line id="line1" class="line_1" style="x1:0px; y1:106px; x2:1157px; y2:106px; "/>
  411. <datagrid id="grd_list" nodeset="/root/main/hielist" caption="referraldocumentuniqueid^ entryuuid^sender_organization_identifier^repositoryid^documentuniqueid^globalid^intendedrecipientoid^intendedrecipientdeptid^transfermode^reqinstitutedept^reqinstitute^referralstatus_referralstatusid^referralstatus_referralstatusinstanceid^referralstatus_referraldocumentuniqueid^referralstatus_repositoryid^referralstatus_mpiid^referralstatus_patientname^referralstatus_status^상태^성명^생년월일^환자전화번호^의뢰자^의뢰자^의뢰자^의뢰자^수신자^수신자^수신자^세부상태^취소여부^예약희망일시^생성시간|referraldocumentuniqueid^ entryuuid^sender_organization_identifier^repositoryid^documentuniqueid^globalid^intendedrecipientoid^intendedrecipientdeptid^transfermode^reqinstitutedept^reqinstitute^referralstatus_referralstatusid^referralstatus_referralstatusinstanceid^referralstatus_referraldocumentuniqueid^referralstatus_repositoryid^referralstatus_mpiid^referralstatus_patientname^referralstatus_status^상태^성명^생년월일^환자전화번호^요양기호^의뢰병원^진료과^진료의사^수신병원^진료과^진료의사^세부상태^취소여부^예약희망일시^생성시간" colsep="^" colwidth="9, 7, 7, 18, 13, 11, 6, 7, 6, 9, 7, 9, 7, 9, 8, 9, 9, 11, 54, 55, 57, 87, 68, 105, 86, 54, 100, 91, 55, 59, 33, 99, 103" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:110px; width:1157px; height:565px; ">
  412. <col ref="documentuniqueid" visibility="hidden"/>
  413. <col ref="patientid" visibility="hidden"/>
  414. <col ref="doctype" visibility="hidden"/>
  415. <col ref="repositoryid" visibility="hidden"/>
  416. <col ref="uniqueid" visibility="hidden"/>
  417. <col ref="intendedrecipientid" visibility="hidden"/>
  418. <col ref="intendedrecipientoid" visibility="hidden"/>
  419. <col ref="intendedrecipientdeptid" visibility="hidden"/>
  420. <col ref="transfermode" visibility="hidden"/>
  421. <col ref="reqinstitutedept" visibility="hidden"/>
  422. <col ref="reqinstitute" visibility="hidden"/>
  423. <col ref="referralstatus_referralstatusid" visibility="hidden"/>
  424. <col ref="referralstatus_referralstatusinstanceid" visibility="hidden"/>
  425. <col ref="referralstatus_referraldocumentuniqueid" visibility="hidden"/>
  426. <col ref="referralstatus_repositoryid" visibility="hidden"/>
  427. <col ref="referralstatus_mpiid" visibility="hidden"/>
  428. <col ref="referralstatus_patientname" visibility="hidden"/>
  429. <col ref="referralstatus_status" visibility="hidden"/>
  430. <col ref="currenttaskvalue" type="combo" style="text-align:center; ">
  431. <choices>
  432. <itemset nodeset="/root/init/tasklist/list">
  433. <label ref="label"/>
  434. <value ref="value"/>
  435. </itemset>
  436. </choices>
  437. </col>
  438. <col ref="ptname" style="text-align:center; "/>
  439. <col ref="referralstatus_patientbirthday" style="text-align:center; "/>
  440. <col ref="pttelecom" style="text-align:center; "/>
  441. <col ref="hospid" style="text-align:center; "/>
  442. <col ref="reqinstitutenm" style="text-align:center; "/>
  443. <col ref="reqinstitutedept" type="combo" style="text-align:center; ">
  444. <choices>
  445. <itemset nodeset="/root/init/deptlist">
  446. <label ref="comn_cd_nm"/>
  447. <value ref="comn_cd"/>
  448. </itemset>
  449. </choices>
  450. </col>
  451. <col ref="reqdrnm" style="text-align:center; "/>
  452. <col ref="intendedrecipientonm" style="text-align:center; "/>
  453. <col ref="intendedrecipientdeptnm" style="text-align:center; "/>
  454. <col ref="intendedrecipientnm" style="text-align:center; "/>
  455. <col ref="currentstatusvalue" type="combo" style="text-align:center; ">
  456. <choices>
  457. <itemset nodeset="/root/init/statuslist/list">
  458. <label ref="label"/>
  459. <value ref="value"/>
  460. </itemset>
  461. </choices>
  462. </col>
  463. <col ref="deprecatedyn" style="text-align:center; "/>
  464. <col ref="intendedrsvdate" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  465. <col ref="regdate" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  466. <script type="javascript" ev:event="ondblclick">
  467. <![CDATA[
  468. var row = grd_list.row;
  469. if(row < 2 ) return;
  470. /*
  471. var taskstatusnm = model.getValue("/root/main/hielist["+row+"]/taskstatusnm");
  472. if(taskstatusnm == "삭제"){
  473. messageBox("이미 삭제된 데이터","I009");
  474. return;
  475. }
  476. */
  477. opener.model.makeNode("/root/main/hiepat");
  478. opener.model.copyNode("/root/main/hiepat",grd_list.getNode( row ));
  479. // opener.model.copyNode("/root/main/hiepat",datagrid1.getNode(1));
  480. //alert(grd_list.getNode( row ));
  481. // model.copyNode("/root/send/req/hospid","/root/send/search");
  482. model.makeValue("/root/send/req/hospid",opener.model.getValue("/root/main/hiepat/hospid"));
  483. submit("TRARC00108");
  484. var rgstyn = model.getValue("/root/hidden/hospinfo/rgstyn");
  485. if (rgstyn == "N") {
  486. messageBox("해당 요양기관번호로 등록된 병원이 없습니다 등록 후 진행하시기 바랍니다","I");
  487. return;
  488. }
  489. // 주민번호 가져와서 세팅
  490. model.makeValue("/root/send/req/gid",model.getValue("/root/main/hielist["+(row-1)+"]/patientid"));
  491. submit("TRARC00107");
  492. var ssn = model.getValue("/root/main/rrgstno/ssn");
  493. var gender = model.getValue("/root/main/rrgstno/gender");
  494. opener.model.makeValue("/root/main/hiepat/hie_rrgstno1",ssn.substr(0,6));
  495. opener.model.makeValue("/root/main/hiepat/hie_rrgstno2",ssn.substr(6,7));
  496. opener.model.makeValue("/root/main/hiepat/gender",gender);
  497. opener.model.refresh();
  498. window.close();
  499. ]]>
  500. </script>
  501. <script type="javascript" ev:event="onaftersort">
  502. <![CDATA[
  503. grd_list.gridToInstance();
  504. ]]>
  505. </script>
  506. <script type="javascript" ev:event="onclick">
  507. <![CDATA[
  508. if (grd_list.col == grd_list.colRef("hospid")) {
  509. grd_list.editCell();
  510. }
  511. ]]>
  512. </script>
  513. </datagrid>
  514. <button id="btn_sent" class="btn_sw" group="tab" selected="false" style="left:90px; top:84px; width:89px; height:22px; ">
  515. <caption>보낸내역</caption>
  516. <script type="javascript" ev:event="DOMActivate">
  517. <![CDATA[
  518. model.setValue("/root/send/search/transfermode","SEND");
  519. btn_search.dispatch("DOMActivate");
  520. ]]>
  521. </script>
  522. </button>
  523. <button id="btn_received" class="btn_sw" group="tab" selected="true" style="left:1px; top:84px; width:89px; height:22px; ">
  524. <caption>받은내역</caption>
  525. <script type="javascript" ev:event="DOMActivate">
  526. <![CDATA[
  527. model.setValue("/root/send/search/transfermode","RECEIVE");
  528. btn_search.dispatch("DOMActivate");
  529. ]]>
  530. </script>
  531. </button>
  532. </group>
  533. </xhtml:body>
  534. </xhtml:html>