SMMNO04400_예약자 당일검사 결과현황.xfdl 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNO04400" position="absolute 0 0 648 752" titletext="예약자 당일검사 결과현황" oninit="SMMNO04400_oninit" onload="SMMNO04400_onload" scrollbars="none">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 1 610 26" id="group1">
  8. <Layouts>
  9. <Layout>
  10. <Static text="예약자 당일검사 결과현황" position="absolute 0 0 187 25" id="caption6" class="tit_1" anchor="default"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div position="absolute 0 757 610 784" id="grp_btn" scrollbars="autoboth"/>
  15. <Div position="absolute 0 13 650 755" id="group5" class="datagrid2" scrollbars="none">
  16. <Layouts>
  17. <Layout>
  18. <Grid position="absolute 1 105 640 725" id="grd_OutRsrvPatList" class="datagrid" binddataset="ds_grd_OutRsrvPatList" onrbuttondown="group5_grd_OutRsrvPatList_onrbuttondown" oncelldblclick="group5_grd_OutRsrvPatList_oncelldblclick" anchor="default" cellsizingtype="col">
  19. <Formats>
  20. <Format id="default">
  21. <Columns>
  22. <Column size="28"/>
  23. <Column size="80"/>
  24. <Column size="70"/>
  25. <Column size="138"/>
  26. <Column size="62"/>
  27. <Column size="90"/>
  28. <Column size="90"/>
  29. <Column size="90"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. </Columns>
  42. <Rows>
  43. <Row size="24" band="head"/>
  44. <Row size="24"/>
  45. </Rows>
  46. <Band id="head">
  47. <Cell/>
  48. <Cell col="1" text="환자번호"/>
  49. <Cell col="2" text="이름"/>
  50. <Cell col="3" text="예약시간(진료일자)"/>
  51. <Cell col="4" text="초재진"/>
  52. <Cell col="5" text="진단검사"/>
  53. <Cell col="6" text="핵의학 검체"/>
  54. <Cell col="7" text="영상검사"/>
  55. <Cell col="8" text="b2cntall"/>
  56. <Cell col="9" text="b2cntend"/>
  57. <Cell col="10" text="b6cntall"/>
  58. <Cell col="11" text="b6cntend"/>
  59. <Cell col="12" text="c2cntall"/>
  60. <Cell col="13" text="c2cntend"/>
  61. <Cell col="14" text="ordtype"/>
  62. <Cell col="15" text="orddd"/>
  63. <Cell col="16" text="cretno"/>
  64. <Cell col="17" text="instcd"/>
  65. <Cell col="18" text="orgorddd"/>
  66. </Band>
  67. <Band id="body">
  68. <Cell text="expr:currow+1"/>
  69. <Cell col="1" text="bind:pid"/>
  70. <Cell col="2" text="bind:hngnm"/>
  71. <Cell col="3" displaytype="date" text="bind:orddt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  72. <Cell col="4" text="bind:fsexamflag"/>
  73. <Cell col="5" style="background:EXPR(utlf_isNull(background5)?background5:&quot;&quot;);background2:EXPR(utlf_isNull(background5)?background5:&quot;&quot;);" text="bind:b2cnts"/>
  74. <Cell col="6" style="background:EXPR(utlf_isNull(background6)?background6:&quot;&quot;);background2:EXPR(utlf_isNull(background6)?background6:&quot;&quot;);" text="bind:b6cnts"/>
  75. <Cell col="7" style="background:EXPR(utlf_isNull(background7)?background7:&quot;&quot;);background2:EXPR(utlf_isNull(background7)?background7:&quot;&quot;);" text="bind:c2cnts"/>
  76. <Cell col="8" text="bind:b2cntall"/>
  77. <Cell col="9" text="bind:b2cntend"/>
  78. <Cell col="10" text="bind:b6cntall"/>
  79. <Cell col="11" text="bind:b6cntend"/>
  80. <Cell col="12" text="bind:c2cntall"/>
  81. <Cell col="13" text="bind:c2cntend"/>
  82. <Cell col="14" text="bind:ordtype"/>
  83. <Cell col="15" text="bind:orddd"/>
  84. <Cell col="16" text="bind:cretno"/>
  85. <Cell col="17" text="bind:instcd"/>
  86. <Cell col="18" text="bind:orgorddd"/>
  87. </Band>
  88. </Format>
  89. </Formats>
  90. </Grid>
  91. <Div position="absolute 0 13 642 78" align="align:center top;" id="grp_sea" class="div_SA" anchor="default">
  92. <Layouts>
  93. <Layout>
  94. <Static text="진료일자 :" position="absolute 271 9 347 26" id="caption3" class="search_name" anchor="default"/>
  95. <Static text="진료과 :" position="absolute 16 10 75 27" id="caption2" class="search_name" anchor="default"/>
  96. <Static text="진료의 :" position="absolute 16 40 75 57" id="caption4" class="search_name" anchor="default"/>
  97. <Combo position="absolute 80 39 235 58" id="cmb_orddr" taborder="4" innerdataset="ds_init_cmb_orddr" datacolumn="usernm" codecolumn="userid" anchor="default"/>
  98. <Combo position="absolute 80 9 235 28" id="cmb_orddept" class="combo_s_essential" taborder="3" innerdataset="ds_init_cmb_orddept" datacolumn="depthngnm" codecolumn="deptcd" anchor="default" onitemchanged="group5_grp_sea_cmb_orddept_onitemchanged"/>
  99. <Button position="absolute 575 9 631 31" id="btn_ref" class="btn1" taborder="5" text="조회" anchor="default" onclick="group5_grp_sea_btn_ref_onclick"/>
  100. <Shape position="absolute 563 12 569 30" linetype="vertical" id="line11" class="line_4" anchor="default"/>
  101. <Button position="absolute 350 9 363 24" id="button1" class="icon_pre" text="" anchor="default" onclick="group5_grp_sea_button1_onclick"/>
  102. <Calendar position="absolute 365 9 465 28" id="ipt_ordfromdd" class="input_s_essential" taborder="1" anchor="default"/>
  103. <Button position="absolute 469 9 482 24" id="button10" class="icon_next" text="" anchor="default" onclick="group5_grp_sea_button10_onclick"/>
  104. <Radio position="absolute 348 37 508 57" id="rdo_timeflag" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  105. <Dataset id="innerdataset">
  106. <ColumnInfo>
  107. <Column id="codecolumn"/>
  108. <Column id="datacolumn"/>
  109. </ColumnInfo>
  110. <Rows>
  111. <Row>
  112. <Col id="codecolumn">-</Col>
  113. <Col id="datacolumn">전체</Col>
  114. </Row>
  115. <Row>
  116. <Col id="codecolumn">AAM</Col>
  117. <Col id="datacolumn">오전</Col>
  118. </Row>
  119. <Row>
  120. <Col id="codecolumn">APM</Col>
  121. <Col id="datacolumn">오후</Col>
  122. </Row>
  123. </Rows>
  124. </Dataset>
  125. </Radio>
  126. <Static text="진료구분 :" position="absolute 271 39 347 56" id="caption1" class="search_name" anchor="default"/>
  127. </Layout>
  128. </Layouts>
  129. </Div>
  130. <Shape position="absolute 1 100 640 106" linetype="horizontal" id="line2" class="line_10" anchor="default"/>
  131. <Static text="환자대상 리스트" position="absolute 5 84 160 105" id="caption5" class="tit_2" anchor="default"/>
  132. <Button position="absolute 565 80 607 99" id="button2" class="btn2" visible="false" text="출력" onclick="group5_button2_onclick" anchor="default"/>
  133. </Layout>
  134. </Layouts>
  135. </Div>
  136. <PopupMenu id="pmn_menulist" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="pmn_menulist_onmenuclick" position="absolute 747 26 885 116">
  137. <Dataset id="innerdataset">
  138. <ColumnInfo>
  139. <Column id="idcolumn" size="256"/>
  140. <Column id="captioncolumn" size="256"/>
  141. <Column id="levelcolumn" size="256"/>
  142. <Column id="enablecolumn" size="256"/>
  143. <Column id="iconcolumn" size="256"/>
  144. <Column id="checkboxcolumn" size="256"/>
  145. <Column id="hotkeycolumn" size="256"/>
  146. <Column id="userdatacolumn" size="256"/>
  147. </ColumnInfo>
  148. <Rows>
  149. <Row>
  150. <Col id="idcolumn">lf_RecQuery</Col>
  151. <Col id="captioncolumn">통합기록조회</Col>
  152. <Col id="levelcolumn"/>
  153. <Col id="enablecolumn"/>
  154. <Col id="iconcolumn"/>
  155. <Col id="checkboxcolumn"/>
  156. <Col id="hotkeycolumn"/>
  157. <Col id="userdatacolumn"/>
  158. </Row>
  159. <Row>
  160. <Col id="idcolumn">lf_ResultQuery</Col>
  161. <Col id="captioncolumn">통합검사조회</Col>
  162. <Col id="levelcolumn"/>
  163. <Col id="enablecolumn"/>
  164. <Col id="iconcolumn"/>
  165. <Col id="checkboxcolumn"/>
  166. <Col id="hotkeycolumn"/>
  167. <Col id="userdatacolumn"/>
  168. </Row>
  169. <Row>
  170. <Col id="idcolumn">lf_PatQuery</Col>
  171. <Col id="captioncolumn">환자진료정보조회</Col>
  172. <Col id="levelcolumn"/>
  173. <Col id="enablecolumn"/>
  174. <Col id="iconcolumn"/>
  175. <Col id="checkboxcolumn"/>
  176. <Col id="hotkeycolumn"/>
  177. <Col id="userdatacolumn"/>
  178. </Row>
  179. <Row>
  180. <Col id="idcolumn">lf_OutotptQuery</Col>
  181. <Col id="captioncolumn">외래등록조회</Col>
  182. <Col id="levelcolumn"/>
  183. <Col id="enablecolumn"/>
  184. <Col id="iconcolumn"/>
  185. <Col id="checkboxcolumn"/>
  186. <Col id="hotkeycolumn"/>
  187. <Col id="userdatacolumn"/>
  188. </Row>
  189. </Rows>
  190. </Dataset>
  191. </PopupMenu>
  192. </Layout>
  193. </Layouts>
  194. <Objects>
  195. <Dataset id="ds_grd_OutRsrvPatList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  196. <ColumnInfo>
  197. <Column id="pid" type="STRING"/>
  198. <Column id="hngnm" type="STRING"/>
  199. <Column id="orddt" type="STRING"/>
  200. <Column id="fsexamflag" type="STRING"/>
  201. <Column id="b2cnts" type="STRING"/>
  202. <Column id="b6cnts" type="STRING"/>
  203. <Column id="c2cnts" type="STRING"/>
  204. <Column id="b2cntall" type="STRING"/>
  205. <Column id="b2cntend" type="STRING"/>
  206. <Column id="b6cntall" type="STRING"/>
  207. <Column id="b6cntend" type="STRING"/>
  208. <Column id="c2cntall" type="STRING"/>
  209. <Column id="c2cntend" type="STRING"/>
  210. <Column id="ordtype" type="STRING"/>
  211. <Column id="orddd" type="STRING"/>
  212. <Column id="cretno" type="STRING"/>
  213. <Column id="instcd" type="STRING"/>
  214. <Column id="orgorddd" type="STRING"/>
  215. </ColumnInfo>
  216. </Dataset>
  217. <Dataset id="ds_init_cmb_orddr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  218. <ColumnInfo>
  219. <Column id="usernm" type="STRING"/>
  220. <Column id="userid" type="STRING"/>
  221. </ColumnInfo>
  222. </Dataset>
  223. <Dataset id="ds_init_cmb_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  224. <ColumnInfo>
  225. <Column id="depthngnm" type="STRING"/>
  226. <Column id="deptcd" type="STRING"/>
  227. </ColumnInfo>
  228. </Dataset>
  229. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  230. <ColumnInfo>
  231. <Column id="ordfromdd" type="STRING" size="256"/>
  232. <Column id="orddeptcd" type="STRING" size="256"/>
  233. <Column id="orddr" type="STRING" size="256"/>
  234. <Column id="timeflag" type="STRING" size="256"/>
  235. </ColumnInfo>
  236. <Rows>
  237. <Row>
  238. <Col id="ordfromdd"/>
  239. <Col id="orddeptcd"/>
  240. <Col id="orddr"/>
  241. <Col id="timeflag"/>
  242. </Row>
  243. </Rows>
  244. </Dataset>
  245. <Dataset id="ds_init_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  246. </Objects>
  247. <Bind>
  248. <BindItem id="item0" compid="group5.grp_sea.cmb_orddept" propid="value" datasetid="ds_cond" columnid="orddeptcd"/>
  249. <BindItem id="item1" compid="group5.grp_sea.cmb_orddr" propid="value" datasetid="ds_cond" columnid="orddr"/>
  250. <BindItem id="item2" compid="group5.grp_sea.ipt_ordfromdd" propid="value" datasetid="ds_cond" columnid="ordfromdd"/>
  251. <BindItem id="item3" compid="group5.grp_sea.rdo_timeflag" propid="value" datasetid="ds_cond" columnid="timeflag"/>
  252. </Bind>
  253. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  254. * System Name :
  255. * Job Name :
  256. * Creator :
  257. * Make Date : 2015-05-01
  258. * Description :
  259. *---------------------------------------------------------------------------------------
  260. * Modify Date Modifier Modify Description
  261. *---------------------------------------------------------------------------------------
  262. * 2015-05-01 Live Converter TF->XP
  263. *
  264. *---------------------------------------------------------------------------------------
  265. ****************************************************************************************/
  266. include "com_commonxp::comm_main.xjs";
  267. include "emr_carecomxp::CareCom.xjs";
  268. include "com_departmentcodexp::ZSD001.xjs";
  269. include "emr_prcpmngtxp::MMOCommon.xjs";
  270. function lf_BtnRefClicked() {
  271. if ( utlf_isNull(ds_cond.getColumn(0,"orddeptcd"))) {
  272. alert("진료과를 선택하셔야 합니다");
  273. group5.grp_sea.cmb_orddept.setFocus();
  274. return;
  275. }
  276. dsf_createDs("ds_send_req");
  277. dsf_copyDs(ds_send_req,ds_cond);
  278. ds_send_req.updateColID("ordfromdd","orddd");
  279. var oParam = {};
  280. oParam.id = "TRMNO04405";
  281. oParam.service = "outcareapp.OutCareMngt";
  282. oParam.method = "reqGetOutPatRsltList";
  283. oParam.inds = "req=ds_send_req";
  284. oParam.outds = "ds_grd_OutRsrvPatList=outpatrsltlist";
  285. oParam.async = false;
  286. oParam.callback = "cf_TRMNO04405";
  287. tranf_submit(oParam);
  288. }
  289. function cf_TRMNO04405(sSvcId, nErrorCode, sErrorMsg) {
  290. if(nErrorCode < 0) return;
  291. ds_grd_OutRsrvPatList.addColumn("background5","string");
  292. ds_grd_OutRsrvPatList.addColumn("background6","string");
  293. ds_grd_OutRsrvPatList.addColumn("background7","string");
  294. }
  295. function lf_Print() {
  296. dsf_createDs("ds_send_printdata")
  297. dsf_copyDs(ds_send_printdata,ds_grd_OutRsrvPatList);
  298. var objDOM = rptf_createDOM(); // DOM 객체 설정
  299. rptf_setNodeListToDOM(objDOM, "/root/send/printdata/outrsrvpatinfo", ds_send_printdata); // 데이터셋 1
  300. rptf_setValueToDOM(objDOM,"/root/send/printdata/cond/fromdd",group5.grp_sea.ipt_ordfromdd.value);
  301. var objParam = new Object();
  302. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  303. rptf_exeReportPreview30(["RPMNO04200"],[objParam]);
  304. }
  305. //-------(20110426)
  306. function lf_SetPatInfos() {
  307. if (ds_grd_OutRsrvPatList.rowcount > 0 && ds_grd_OutRsrvPatList.rowposition >= 0 ) {
  308. var pGrdrow = ds_grd_OutRsrvPatList.rowposition;
  309. var ordtype = ds_grd_OutRsrvPatList.getColumn(pGrdrow, "ordtype");
  310. var pid = ds_grd_OutRsrvPatList.getColumn(pGrdrow, "pid");
  311. var orddd = ds_grd_OutRsrvPatList.getColumn(pGrdrow, "orddd");
  312. var cretno = ds_grd_OutRsrvPatList.getColumn(pGrdrow, "cretno");
  313. var instcd = ds_grd_OutRsrvPatList.getColumn(pGrdrow, "instcd");
  314. var orgorddd = ds_grd_OutRsrvPatList.getColumn(pGrdrow, "orgorddd");
  315. var param = ordtype + "▦" + pid + "▦" + orddd + "▦" + cretno + "▦" + instcd + "▦" + "" + "▦" + orgorddd;
  316. //alert(param);
  317. appf_initPatientInfo(param);
  318. }
  319. }
  320. //통합기록조회
  321. function lf_RecQuery() {
  322. lf_SetPatInfos(); // 환자상단 올리기
  323. frmf_open("SMMRI00400","SMMRI00400","","","","","","","","","","","M");
  324. }
  325. //통합검사조회
  326. function lf_ResultQuery() {
  327. lf_SetPatInfos(); // 환자상단 올리기
  328. //open("SMMMI00100","1","15","128");
  329. frmf_open("SMMMI00100","SMMMI00100","","","","","","","","","","","M");
  330. }
  331. //환자진료정보조회
  332. function lf_PatQuery() {
  333. lf_SetPatInfos(); // 환자상단 올리기
  334. //open("SMMMO02500","1","15","128");
  335. frmf_open("SMMMO02500","SMMMO02500","","","","","","","","","","","M");
  336. }
  337. //외래등록조회
  338. function lf_OutotptQuery() {
  339. lf_SetPatInfos(); // 환자상단 올리기
  340. //open("SMPMO00600","1","15","128");
  341. frmf_open("SMPMO00600","SMPMO00600","","","","","","","","","","","M");
  342. }
  343. //진료과별 진료의 찾기
  344. function lf_ndoctorQuery() {
  345. ds_init_cmb_orddr.clearData();
  346. //mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_orddept.value, "0330");
  347. lf_mmbfGetUserComboList(ds_init_cmb_orddr, group5.grp_sea.cmb_orddept.value, "0330");
  348. //addComboItem("cmb_orddr", "전체", "-", "above"); //의사콤보 전체항목 추가
  349. dsf_addDsItem( ds_init_cmb_orddr, "userid", "usernm", "전체", "-", "above");
  350. group5.grp_sea.cmb_orddr.index = 0;
  351. }
  352. function lf_RowClrChk() {
  353. for(var i = 0 ; i < ds_grd_OutRsrvPatList.rowcount ; i++){
  354. var b2cntall = parseInt(ds_grd_OutRsrvPatList.getColumn(i, "b2cntall"));
  355. var b2cntend = parseInt(ds_grd_OutRsrvPatList.getColumn(i, "b2cntend"));
  356. var b6cntall = parseInt(ds_grd_OutRsrvPatList.getColumn(i, "b6cntall"));
  357. var b6cntend = parseInt(ds_grd_OutRsrvPatList.getColumn(i, "b6cntend"));
  358. var c2cntall = parseInt(ds_grd_OutRsrvPatList.getColumn(i, "c2cntall"));
  359. var c2cntend = parseInt(ds_grd_OutRsrvPatList.getColumn(i, "c2cntend"));
  360. if ( b2cntall > b2cntend ) {
  361. ds_grd_OutRsrvPatList.setColumn(i,"background5","#99C68E");
  362. } else {
  363. ds_grd_OutRsrvPatList.setColumn(i,"background5","#FFFFFF");
  364. }
  365. if ( b6cntall > b6cntend ) {
  366. ds_grd_OutRsrvPatList.setColumn(i,"background6","#FFCC00");
  367. }else {
  368. ds_grd_OutRsrvPatList.setColumn(i,"background6","#FFFFFF");
  369. }
  370. if ( c2cntall > c2cntend ) {
  371. ds_grd_OutRsrvPatList.setColumn(i,"background7","#cc99ff");
  372. }else {
  373. ds_grd_OutRsrvPatList.setColumn(i,"background7","#FFFFFF");
  374. }
  375. }
  376. }
  377. function SMMNO04400_oninit(obj:Form, e:InitEventInfo)
  378. {
  379. frmf_initForm(obj);
  380. }
  381. function SMMNO04400_onload(obj:Form, e:LoadEventInfo)
  382. {
  383. var curdd = utlf_getCurrentDate();
  384. grdf_initGrid(group5.grd_OutRsrvPatList);
  385. group5.grp_sea.ipt_ordfromdd.value = curdd;
  386. // model.setValue(ipt_ordtodd.attribute("ref"), curdd);
  387. // ipt_ordtodd.refresh();
  388. group5.grp_sea.cmb_orddept.setFocus();
  389. var instcd = sysf_getUserInfo("dutplceinstcd");
  390. var standard_yn = "rcptuseyn";
  391. var ord_deptflag = 'X';
  392. //var rslt_ref = "/root/hidden/orddeptlist";
  393. var sort_field = "depthngnm";
  394. var sort_method = "asc";
  395. /////zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method); //부서코드 콤보조회
  396. /////zsdfGetOutOrdDeptList( instcd, rslt_ref, sort_field, sort_method, dt );
  397. // 간호외래진료부서콤보 (특정하위부서를 포함- 분만실, 육아상담실, 인공신장실)
  398. zsdfGetCareOutOrderDepartmentList(instcd, "ds_init_cmb_orddept", curdd);
  399. ds_cond.setColumn(0,"orddeptcd", sysf_getUserInfo("dutplcecd"));
  400. if (!utlf_isNull(group5.grp_sea.cmb_orddept.value) ) {
  401. lf_ndoctorQuery();
  402. }
  403. group5.grp_sea.rdo_timeflag.value = "-";
  404. }
  405. function group5_grd_OutRsrvPatList_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  406. {
  407. if(e.row < 0 || e.col < 0) return;
  408. obj.setFocus();
  409. grdf_setSelectedCell(obj, e);
  410. obj.oncellclick.fireEvent(obj, new GridClickEventInfo());
  411. pmn_menulist.trackPopup(e.screenX,e.screenY);
  412. }
  413. function group5_grd_OutRsrvPatList_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  414. {
  415. lf_SetPatInfos(); // 환자상단 올리기
  416. }
  417. function group5_grp_sea_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  418. {
  419. lf_BtnRefClicked();
  420. lf_RowClrChk();
  421. }
  422. function group5_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  423. {
  424. var oraDate = group5.grp_sea.ipt_ordfromdd.value.getAddDate(-1,"D");
  425. group5.grp_sea.ipt_ordfromdd.value = oraDate.getDateFormat();
  426. }
  427. function group5_grp_sea_button10_onclick(obj:Button, e:ClickEventInfo)
  428. {
  429. var oraDate = group5.grp_sea.ipt_ordfromdd.value.getAddDate(1,"D");
  430. group5.grp_sea.ipt_ordfromdd.value = oraDate.getDateFormat();
  431. }
  432. function group5_button2_onclick(obj:Button, e:ClickEventInfo)
  433. {
  434. lf_Print();
  435. }
  436. function pmn_menulist_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  437. {
  438. eval(e.id + "()");
  439. }
  440. function group5_grp_sea_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  441. {
  442. obj.updateToDataset();
  443. lf_ndoctorQuery();
  444. }
  445. ]]></Script>
  446. </Form>
  447. </FDL>