SPPMO01300_협진내역조회.xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPMO01300" position="absolute 0 0 671 343" titletext="협진내역조회" onload="SPPMO01300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="btn_confirm" taborder="1" text="확인" class="btn4" position="absolute 606 319 662 341" onclick="btn_confirm_onclick"/>
  8. <Shape id="line32" class="line_6" position="absolute 0 313 662 319"/>
  9. <Div id="grp" taborder="2" class="div_SA2" position="absolute 0 0 662 35">
  10. <Layouts>
  11. <Layout width="662" height="35">
  12. <Static id="caption2" text="등록번호 :" class="search_name" position="absolute 15 9 101 26"/>
  13. <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 590 7 646 29" onclick="grp_btn_search_onclick"/>
  14. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 571 7 577 29"/>
  15. <Edit id="input3" taborder="2" class="input_search" position="absolute 106 8 191 27" onkeydown="grp_input3_onkeydown"/>
  16. <Static id="caption3" text="환자이름 :" class="search_name" position="absolute 225 9 311 26"/>
  17. <Edit id="input1" taborder="3" class="input_search" position="absolute 316 8 381 27" onkeydown="grp_input1_onkeydown"/>
  18. <Button id="button1" taborder="4" class="icon_search" position="absolute 200 10 216 26" onclick="grp_button1_onclick"/>
  19. <Static id="caption4" text="구분 :" class="search_name" position="absolute 390 9 451 26"/>
  20. <CheckBox id="checkbox1" taborder="5" text="당일만" position="absolute 455 8 555 28" truevalue="O" onclick="grp_checkbox1_onclick"/>
  21. </Layout>
  22. </Layouts>
  23. </Div>
  24. <Static id="caption1" text="협진내역" class="tit_2" position="absolute 5 41 99 58"/>
  25. <Shape id="line1" class="line_1" position="absolute 0 58 662 64" style="strokepen:3 solid #33bbbbff;"/>
  26. <Grid id="grd_emrcnstinfo" taborder="3" binddataset="ds_main_emrcnst" useinputpanel="false" position="absolute 0 62 662 311" cellsizebandtype="allband" autofittype="col" oncelldblclick="grd_emrcnstinfo_oncelldblclick">
  27. <Formats>
  28. <Format id="default">
  29. <Columns>
  30. <Column size="0"/>
  31. <Column size="25"/>
  32. <Column size="100"/>
  33. <Column size="120"/>
  34. <Column size="100"/>
  35. <Column size="120"/>
  36. <Column size="94"/>
  37. <Column size="98"/>
  38. </Columns>
  39. <Rows>
  40. <Row size="24" band="head"/>
  41. <Row size="24"/>
  42. </Rows>
  43. <Band id="head">
  44. <Cell text="등록번호"/>
  45. <Cell col="1"/>
  46. <Cell col="2" text="의뢰일자"/>
  47. <Cell col="3" text="의뢰과"/>
  48. <Cell col="4" text="의뢰자명"/>
  49. <Cell col="5" text="수신과"/>
  50. <Cell col="6" text="수신자명"/>
  51. <Cell col="7" text="희망진료일자"/>
  52. </Band>
  53. <Band id="body">
  54. <Cell text="bind:pid"/>
  55. <Cell col="1" celltype="head" text="expr:currow + 1"/>
  56. <Cell col="2" displaytype="date" text="bind:reqdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  57. <Cell col="3" text="bind:reqdeptnm"/>
  58. <Cell col="4" text="bind:requsernm"/>
  59. <Cell col="5" text="bind:recvdeptnm"/>
  60. <Cell col="6" text="bind:recvusernm"/>
  61. <Cell col="7" displaytype="date" text="bind:hopedd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  62. </Band>
  63. </Format>
  64. </Formats>
  65. </Grid>
  66. </Layout>
  67. </Layouts>
  68. <Objects>
  69. <Dataset id="ds_main_emrcnst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  70. <ColumnInfo>
  71. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  72. <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일자"/>
  73. <Column id="reqdeptcd" type="STRING" size="256" sumtext="의뢰진료과"/>
  74. <Column id="reqdeptnm" type="STRING" size="256" sumtext="의뢰진료과명"/>
  75. <Column id="requserid" type="STRING" size="256" sumtext="의뢰자"/>
  76. <Column id="requsernm" type="STRING" size="256" sumtext="의뢰자명"/>
  77. <Column id="recvdd" type="STRING" size="256" sumtext="수신일자"/>
  78. <Column id="recvdeptcd" type="STRING" size="256" sumtext="수신진료과"/>
  79. <Column id="recvdeptnm" type="STRING" size="256" sumtext="수신진료과명"/>
  80. <Column id="recvuserid" type="STRING" size="256" sumtext="수신자"/>
  81. <Column id="recvusernm" type="STRING" size="256" sumtext="수신자명"/>
  82. <Column id="formrecseq" type="STRING" size="256" sumtext="서식기록번호"/>
  83. <Column id="hopedd" type="STRING" size="256" sumtext="희망진료일자"/>
  84. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  85. <Column id="repldd" type="STRING" size="256" sumtext="회신일자"/>
  86. <Column id="ordreqformflag" type="STRING" size="256" sumtext="수급절차"/>
  87. </ColumnInfo>
  88. </Dataset>
  89. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  90. <ColumnInfo>
  91. <Column id="pid" type="STRING" size="256"/>
  92. <Column id="hngnm" type="STRING" size="256"/>
  93. <Column id="flag" type="STRING" size="256"/>
  94. </ColumnInfo>
  95. <Rows>
  96. <Row>
  97. <Col id="pid"/>
  98. <Col id="hngnm"/>
  99. <Col id="flag"/>
  100. </Row>
  101. </Rows>
  102. </Dataset>
  103. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  104. <ColumnInfo>
  105. <Column id="instcd" type="STRING" size="256" sumtext="기관기호"/>
  106. <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
  107. <Column id="bindyn" type="STRING" size="256" sumtext="환자등록번호"/>
  108. <Column id="hngnm" type="STRING" size="256" sumtext="한글이름"/>
  109. <Column id="hngnm2" type="STRING" size="256" sumtext="표시이름"/>
  110. <Column id="engnm" type="STRING" size="256" sumtext="영문이름"/>
  111. <Column id="chinm" type="STRING" size="256" sumtext="영문이름"/>
  112. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞6자리"/>
  113. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒤7자리"/>
  114. <Column id="rrgstno3" type="STRING" size="256" sumtext="주민번호뒤4자리와별표3자리"/>
  115. <Column id="lastinsukind" type="STRING" size="256" sumtext="최근보험유형"/>
  116. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  117. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  118. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  119. <Column id="bindpid" type="STRING" size="256" sumtext="합본등록번호"/>
  120. <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
  121. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
  122. <Column id="etctel1" type="STRING" size="256" sumtext="기타전화번호1"/>
  123. <Column id="etctel2" type="STRING" size="256" sumtext="기타전화번호2"/>
  124. <Column id="smsaprvyn" type="STRING" size="256" sumtext="SMS전송 승인 여부"/>
  125. <Column id="email" type="STRING" size="256" sumtext="이메일 게정"/>
  126. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호 앞 3자리"/>
  127. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호 뒤 3자리"/>
  128. <Column id="zipcdseq" type="STRING" size="256" sumtext="우편일련번호"/>
  129. <Column id="addr" type="STRING" size="256" sumtext="기본주소"/>
  130. <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
  131. <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
  132. <Column id="rh" type="STRING" size="256" sumtext="RH혈액형"/>
  133. <Column id="forgeryn" type="STRING" size="256" sumtext="외국인여부"/>
  134. <Column id="nati" type="STRING" size="256" sumtext="국적"/>
  135. <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
  136. <Column id="recmyn" type="STRING" size="256" sumtext="추천여부"/>
  137. <Column id="recmerid" type="STRING" size="256" sumtext="추천인ID"/>
  138. <Column id="recmernm" type="STRING" size="256" sumtext="추천인명"/>
  139. <Column id="recmerrela" type="STRING" size="256" sumtext="추천인과의 관계"/>
  140. <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
  141. <Column id="viprem" type="STRING" size="256" sumtext="VIP비고"/>
  142. <Column id="religncd" type="STRING" size="256" sumtext="종교코드"/>
  143. <Column id="baptnm" type="STRING" size="256" sumtext="세례명"/>
  144. <Column id="chchnm" type="STRING" size="256" sumtext="성당명"/>
  145. <Column id="dethyn" type="STRING" size="256" sumtext="사망여부"/>
  146. <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
  147. <Column id="dethdd" type="STRING" size="256" sumtext="사망일자"/>
  148. <Column id="dethtm" type="STRING" size="256" sumtext="사망시간"/>
  149. <Column id="chosresn" type="STRING" size="256" sumtext="내원사유"/>
  150. <Column id="animyn" type="STRING" size="256" sumtext="동물여부"/>
  151. <Column id="exptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
  152. <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
  153. <Column id="handicapryn" type="STRING" size="256" sumtext="장애인여부"/>
  154. <Column id="pidflag" type="STRING" size="256" sumtext="등록번호구분"/>
  155. <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
  156. <Column id="ptunyn" type="STRING" size="256" sumtext="미수안내"/>
  157. <Column id="lastorddd" type="STRING" size="256" sumtext="최근내원일"/>
  158. <Column id="lastorddeptcd" type="STRING" size="256" sumtext="최근내원과"/>
  159. <Column id="outuncoamt" type="STRING" size="256" sumtext="외래미수금"/>
  160. <Column id="dschuncoamt" type="STRING" size="256" sumtext="입원미수금"/>
  161. <Column id="kioskrcptnoyn" type="STRING" size="256" sumtext="무인수납불가여부"/>
  162. <Column id="carnum" type="STRING" size="256" sumtext="차량번호"/>
  163. <Column id="acptdd" type="STRING" size="256" sumtext="가예약 접수일자"/>
  164. <Column id="acptno" type="STRING" size="256" sumtext="가예약 접수일련번호"/>
  165. <Column id="patspcfyn" type="STRING" size="256" sumtext="특이환자여부"/>
  166. <Column id="tdaydsch" type="STRING" size="256" sumtext="특이환자여부"/>
  167. <Column id="mig" type="STRING" size="256" sumtext="마이그레이션여부"/>
  168. <Column id="scanyn" type="STRING" size="256" sumtext="동의서출력여부"/>
  169. <Column id="spifscanyn" type="STRING" size="256" sumtext="선택진료신청서스캔여부"/>
  170. <Column id="isolinfo" type="STRING" size="256" sumtext="격리환자정보"/>
  171. <Column id="builno" type="STRING" size="256" sumtext="도로명주소 코드"/>
  172. <Column id="gugang_ptbs_scanyn" type="STRING" size="256" sumtext="장애인구강센터동의서여부"/>
  173. </ColumnInfo>
  174. <Rows>
  175. <Row/>
  176. </Rows>
  177. </Dataset>
  178. <Dataset id="ds_hidden_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  179. <ColumnInfo>
  180. <Column id="srchcond" type="STRING" size="256"/>
  181. <Column id="pid" type="STRING" size="256"/>
  182. <Column id="hngnm" type="STRING" size="256"/>
  183. <Column id="rrgstno1" type="STRING" size="256"/>
  184. <Column id="rrgstno2" type="STRING" size="256"/>
  185. </ColumnInfo>
  186. <Rows>
  187. <Row>
  188. <Col id="srchcond"/>
  189. <Col id="pid"/>
  190. <Col id="hngnm"/>
  191. <Col id="rrgstno1"/>
  192. <Col id="rrgstno2"/>
  193. </Row>
  194. </Rows>
  195. </Dataset>
  196. </Objects>
  197. <Bind>
  198. <BindItem id="item0" compid="grp.input3" propid="value" datasetid="ds_send" columnid="pid"/>
  199. <BindItem id="item1" compid="grp.input1" propid="value" datasetid="ds_send" columnid="hngnm"/>
  200. <BindItem id="item2" compid="grp.checkbox1" propid="value" datasetid="ds_send" columnid="flag"/>
  201. </Bind>
  202. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  203. * System Name :
  204. * Job Name :
  205. * Creator :
  206. * Make Date : 2016-05-24
  207. * Description :
  208. *---------------------------------------------------------------------------------------
  209. * Modify Date Modifier Modify Description
  210. *---------------------------------------------------------------------------------------
  211. * 2016-05-24 Live Converter TF->XP
  212. *
  213. *---------------------------------------------------------------------------------------
  214. ****************************************************************************************/
  215. //=======================================================================================
  216. // Lib Include
  217. //---------------------------------------------------------------------------------------
  218. include 'com_commonxp::comm_main.xjs';
  219. // 전역변수 생성
  220. var Flag = 'O'; // 외래등록 default
  221. //=======================================================================================
  222. // Local Methods
  223. //---------------------------------------------------------------------------------------
  224. /****************************************************************************************
  225. * Argument :
  226. * Description :
  227. ****************************************************************************************/
  228. //=======================================================================================
  229. // Events
  230. //---------------------------------------------------------------------------------------
  231. /****************************************************************************************
  232. * Argument :
  233. * Description : onload
  234. ****************************************************************************************/
  235. function SPPMO01300_onload(obj:Form, e:LoadEventInfo){
  236. frmf_initForm(obj);
  237. if(frmf_checkOpener()){
  238. var pid = opener.frmf_getParameter('SPPMO01300_PID');
  239. var hngnm = opener.frmf_getParameter('SPPMO01300_HNGNM');
  240. var flag = opener.frmf_getParameter('SPPMO01300_FLAG');
  241. opener.frmf_setParameter('SPPMO01300_RTN', 'NO');
  242. // 2007-12-27 이동식 추가 - 외래등록/전화예약 구분을 위해
  243. if(!utlf_isNull(flag) && flag != '' && flag != ' ' && flag != '-'){
  244. Flag = flag;
  245. }
  246. else{
  247. Flag = 'O';
  248. }
  249. if(!utlf_isNull(pid) && pid != '' && pid != ' ' && pid != '-'){
  250. ds_send.setColumn(0, 'pid', pid);
  251. ds_send.setColumn(0, 'hngnm', hngnm);
  252. ds_send.setColumn(0, 'flag', Flag);
  253. grp.btn_search.click();
  254. }
  255. }
  256. }
  257. /****************************************************************************************
  258. * Argument :
  259. * Description : 등록번호 키보드 입력 이벤트
  260. ****************************************************************************************/
  261. function grp_input3_onkeydown(obj:Edit, e:KeyEventInfo){
  262. if(e.keycode == 13){
  263. obj.updateToDataset();
  264. grp.btn_search.click();
  265. }
  266. }
  267. /****************************************************************************************
  268. * Argument :
  269. * Description : 등록번호 검색 아이콘 버튼 클릭 이벤트
  270. ****************************************************************************************/
  271. function grp_button1_onclick(obj:Button, e:ClickEventInfo){
  272. var object = new Object();
  273. object.arg_ds_send = ds_send;
  274. frmf_modal("SPPMC02500", "SPPMC02500", object, "", '', '', '', "", "", "", "", "", "M");
  275. // 팝업창 결과값이 성공이라면
  276. if(opener.frmf_getParameter('SPPMC02500_popupendflag') == 'ok'){
  277. ds_send.setColumn(0, 'pid', ds_patinfolist.getColumn(0, 'pid'));
  278. ds_send.setColumn(0, 'hngnm', ds_patinfolist.getColumn(0, 'hngnm'));
  279. }
  280. }
  281. /****************************************************************************************
  282. * Argument :
  283. * Description : 환자이름 키보드 입력 이벤트
  284. ****************************************************************************************/
  285. function grp_input1_onkeydown(obj:Edit, e:KeyEventInfo){
  286. if(e.keycode == 13){
  287. obj.updateToDataset();
  288. ds_hidden_source.clearData();
  289. ds_hidden_source.addRow();
  290. ds_hidden_source.setColumn(0, 'srchcond', '2');
  291. ds_hidden_source.setColumn(0, 'hngnm', obj.value);
  292. var object = new Object();
  293. object.arg_ds_send = ds_send;
  294. frmf_modal("SPPMC02500", "SPPMC02500", object, "", '', '', '', "", "", "", "", "", "M");
  295. // 팝업창 결과값이 성공이라면
  296. if(opener.frmf_getParameter('SPPMC02500_popupendflag') == 'ok'){
  297. ds_send.setColumn(0, 'pid', ds_patinfolist.getColumn(0, 'pid'));
  298. ds_send.setColumn(0, 'hngnm', ds_patinfolist.getColumn(0, 'hngnm'));
  299. }
  300. }
  301. }
  302. /****************************************************************************************
  303. * Argument :
  304. * Description : 당일만 체크박스 클릭 이벤트
  305. ****************************************************************************************/
  306. function grp_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo){
  307. Flag = obj.value;
  308. }
  309. /****************************************************************************************
  310. * Argument :
  311. * Description : 조회 버튼 클릭 이벤트
  312. ****************************************************************************************/
  313. function grp_btn_search_onclick(obj:Button, e:ClickEventInfo){
  314. var pid = ds_send.getColumn(0, 'pid');
  315. var hngnm = ds_send.getColumn(0, 'hngnm');
  316. if(utlf_isNull(pid) || pid == '' || pid == ' ' || pid == '-'){
  317. sysf_messageBox('등록번호가 없습니다. 환자조회 후 다시 시도해 주세요.', 'E999');
  318. return false;
  319. }
  320. else{
  321. ds_hidden_source.setColumn(0, 'srchcond', '1');
  322. ds_hidden_source.setColumn(0, 'pid', pid);
  323. dsf_createDsRow('ds_req', [
  324. { col: 'srchcond', type: 'string', size: 256, val: '1' },
  325. { col: 'checkfnexam', type: 'string', size: 256, val: '' },
  326. { col: 'pid', type: 'string', size: 256, val: pid },
  327. { col: 'hngnm', type: 'string', size: 256, val: '' },
  328. { col: 'rrgstno1', type: 'string', size: 256, val: '' },
  329. { col: 'rrgstno2', type: 'string', size: 256, val: '' },
  330. { col: 'acptdd', type: 'string', size: 256, val: '' },
  331. { col: 'instcd', type: 'string', size: 256, val: '' },
  332. { col: 'insukind', type: 'string', size: 256, val: '' },
  333. { col: 'inhospyn', type: 'string', size: 256, val: '' },
  334. { col: 'sex', type: 'string', size: 256, val: '' },
  335. { col: 'hiddenflag', type: 'string', size: 256, val: '' }
  336. ], false);
  337. dsf_setTypeFormat(ds_req, "srchcond:INT^checkfnexam:INT");
  338. ds_patinfolist.clearData();
  339. ds_patinfolist.addRow();
  340. var oParam = {};
  341. oParam.id = "TRPMC02500";
  342. oParam.service = "patinfomngtapp.PatBaseInfo";
  343. oParam.method = "reqGetPatInfo";
  344. oParam.inds = "req=ds_req";
  345. oParam.outds = "ds_patinfolist=patinfolist";
  346. oParam.async = false;
  347. oParam.callback = "cf_TRPMC02500";
  348. tranf_submit(oParam);
  349. // 0 보다 작다면 false 를 리턴하여야 한다
  350. if(result_02500 < 0){
  351. result_02500 = 0;
  352. return false;
  353. }
  354. ds_main_emrcnst.clearData();
  355. ds_main_emrcnst.addRow();
  356. oParam = {};
  357. oParam.id = "TRPAC00301";
  358. oParam.service = "pamcomnapp.PamComn";
  359. oParam.method = "reqGetOrdCnstInfo";
  360. oParam.inds = "req=ds_send";
  361. oParam.outds = "ds_main_emrcnst=emrcnst";
  362. oParam.async = false;
  363. //oParam.callback = "cf_TRPAC00301";
  364. tranf_submit(oParam);
  365. }
  366. }
  367. var result_02500 = 0;
  368. function cf_TRPMC02500(sSvcId, nErrorCode, sErrorMsg){
  369. if(nErrorCode < 0){
  370. result_02500 = -1;
  371. return;
  372. }
  373. if(ds_patinfolist.rowcount < 1){
  374. sysf_messageBox('졶재하지 않는 등록번호입니다. 등록번호를 확이하세요.', 'E999');
  375. result_02500 = -1;
  376. return;
  377. }
  378. result_02500 = 1;
  379. ds_send.setColumn(0, 'pid', ds_patinfolist.getColumn(0, 'pid'));
  380. ds_send.setColumn(0, 'hngnm', ds_patinfolist.getColumn(0, 'hngnm'));
  381. ds_send.setColumn(0, 'flag', Flag);
  382. }
  383. /****************************************************************************************
  384. * Argument :
  385. * Description : 협진내역 그리드 더블 클릭 이벤트
  386. ****************************************************************************************/
  387. function grd_emrcnstinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo){
  388. btn_confirm.click();
  389. }
  390. /****************************************************************************************
  391. * Argument :
  392. * Description : 협진내역 그리드 더블 클릭 이벤트
  393. ****************************************************************************************/
  394. function btn_confirm_onclick(obj:Button, e:ClickEventInfo){
  395. var currow = grd_emrcnstinfo.currentrow;
  396. if(currow > -1){
  397. if(sysf_messageBox('선택하신 협진내역을 접수하시겠습니까?', 'Q999') == 6){
  398. opener.frmf_setParameter('SPPMO01300_RTN', 'OK');
  399. opener.frmf_setParameter('SPPMO01300_ORDDD', ds_main_emrcnst.getColumn(currow, 'hopedd'));
  400. opener.frmf_setParameter('SPPMO01300_ORDDEPTCD', ds_main_emrcnst.getColumn(currow, 'recvdeptcd'));
  401. opener.frmf_setParameter('SPPMO01300_ORDDRID', ds_main_emrcnst.getColumn(currow, 'recvuserid'));
  402. opener.frmf_setParameter('SPPMO01300_ORDREQFORMFLAG', ds_main_emrcnst.getColumn(currow, 'ordreqformflag'));
  403. opener.frmf_setParameter('SPPMO01300_FORMRECSEQ', ds_main_emrcnst.getColumn(currow, 'formrecseq'));
  404. }
  405. else{
  406. opener.frmf_setParameter('SPPMO01300_RTN', 'NO');
  407. }
  408. }
  409. else{
  410. opener.frmf_setParameter('SPPMO01300_RTN', 'NO');
  411. }
  412. this.close();
  413. }
  414. ]]></Script>
  415. </Form>
  416. </FDL>