SPMMO50600_일일환자보고.xfdl 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMO50600" position="absolute 0 0 1010 800" titletext="일일환자보고" oninit="SPMMO50600_oninit" onload="SPMMO50600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="일일환자보고" position="absolute 0 0 120 25" align="align:center middle;" id="caption9" class="tit_1"/>
  8. <Div id="Div00" taborder="1" position="absolute 0 25 1010 65" class="div_SA" anchor="left top right">
  9. <Layouts>
  10. <Layout>
  11. <Static text="진 료 과 :" position="absolute 197 10 279 30" align="align:center middle;" id="caption1" class="search_name"/>
  12. <Button position="absolute 892 10 948 30" id="btn_print" class="btn6" text="출력" onclick="Div00_btn_print_onclick" anchor="top right"/>
  13. <Button position="absolute 950 10 1006 30" id="btn_req" class="btn1" text="조회" onclick="Div00_btn_req_onclick" anchor="top right"/>
  14. <Calendar id="ipt_srchdd" taborder="1" autoselect="true" dateformat="yyyy-MM-dd" class="input" position="absolute 76 10 174 30"/>
  15. <Static id="caption7" text="보고일 :" class="search_name" position="absolute 10 10 84 30"/>
  16. <cp_comCodeChk id="cp_comCodeChk00" titletext="CheckBox Combo" taborder="2" text="cp_comCodeChk00" position="absolute 270 10 872 30"/>
  17. </Layout>
  18. </Layouts>
  19. </Div>
  20. <Grid id="grd_wardinlist" taborder="2" binddataset="ds_wardinlist" useinputpanel="false" position="absolute 0 128 1010 278" anchor="all" autofittype="col">
  21. <Formats>
  22. <Format id="default">
  23. <Columns>
  24. <Column size="20"/>
  25. <Column size="40"/>
  26. <Column size="70"/>
  27. <Column size="70"/>
  28. <Column size="100"/>
  29. <Column size="50"/>
  30. <Column size="110"/>
  31. <Column size="60"/>
  32. <Column size="60"/>
  33. <Column size="271"/>
  34. <Column size="40"/>
  35. <Column size="110"/>
  36. </Columns>
  37. <Rows>
  38. <Row size="24" band="head"/>
  39. <Row size="24"/>
  40. </Rows>
  41. <Band id="head">
  42. <Cell/>
  43. <Cell col="1" text="구분"/>
  44. <Cell col="2" text="병실"/>
  45. <Cell col="3" text="등록번호"/>
  46. <Cell col="4" text="성명"/>
  47. <Cell col="5" text="S/A"/>
  48. <Cell col="6" text="진료과"/>
  49. <Cell col="7" text="전문의"/>
  50. <Cell col="8" text="담당의"/>
  51. <Cell col="9" text="진단명"/>
  52. <Cell col="10" text="질병군"/>
  53. <Cell col="11" text="내원일시"/>
  54. </Band>
  55. <Band id="body">
  56. <Cell celltype="head" text="expr:currow + 1"/>
  57. <Cell col="1" displaytype="combo" edittype="combo" style="align:center;" text="bind:ordtype" combodataset="ds_ordtype" combocodecol="value" combodatacol="label"/>
  58. <Cell col="2" text="bind:roomcd"/>
  59. <Cell col="3" text="bind:pid"/>
  60. <Cell col="4" text="bind:hngnm"/>
  61. <Cell col="5" text="bind:sa"/>
  62. <Cell col="6" style="align:left middle;" text="bind:orddeptnm"/>
  63. <Cell col="7" text="bind:orddrnm"/>
  64. <Cell col="8" text="bind:atdoctnm"/>
  65. <Cell col="9" style="align:left middle;" text="bind:diagnm"/>
  66. <Cell col="10" text="bind:drginfo"/>
  67. <Cell col="11" text="bind:indt" mask="####-##-## ##:##"/>
  68. </Band>
  69. </Format>
  70. </Formats>
  71. </Grid>
  72. <Static id="Static01" text="병동 입원환자" class="tit_2" position="absolute 0 111 129 131"/>
  73. <Static id="Static00" text="병동 퇴원환자" class="tit_2" position="absolute 0 282 129 302"/>
  74. <Grid id="grd_wardoutlist" taborder="3" binddataset="ds_wardoutlist" useinputpanel="false" position="absolute 0 299 1010 449" anchor="all" autofittype="col">
  75. <Formats>
  76. <Format id="default">
  77. <Columns>
  78. <Column size="20"/>
  79. <Column size="40"/>
  80. <Column size="70"/>
  81. <Column size="70"/>
  82. <Column size="100"/>
  83. <Column size="50"/>
  84. <Column size="110"/>
  85. <Column size="60"/>
  86. <Column size="60"/>
  87. <Column size="271"/>
  88. <Column size="40"/>
  89. <Column size="110"/>
  90. </Columns>
  91. <Rows>
  92. <Row size="24" band="head"/>
  93. <Row size="24"/>
  94. </Rows>
  95. <Band id="head">
  96. <Cell/>
  97. <Cell col="1" text="구분"/>
  98. <Cell col="2" text="병실"/>
  99. <Cell col="3" text="등록번호"/>
  100. <Cell col="4" text="성명"/>
  101. <Cell col="5" text="S/A"/>
  102. <Cell col="6" text="진료과"/>
  103. <Cell col="7" text="전문의"/>
  104. <Cell col="8" text="담당의"/>
  105. <Cell col="9" text="진단명"/>
  106. <Cell col="10" text="질병군"/>
  107. <Cell col="11" text="내원일시"/>
  108. </Band>
  109. <Band id="body">
  110. <Cell celltype="head" text="expr:currow + 1"/>
  111. <Cell col="1" displaytype="combo" edittype="combo" style="align:center;" text="bind:ordtype" combodataset="ds_ordtype" combocodecol="value" combodatacol="label"/>
  112. <Cell col="2" text="bind:roomcd"/>
  113. <Cell col="3" text="bind:pid"/>
  114. <Cell col="4" text="bind:hngnm"/>
  115. <Cell col="5" text="bind:sa"/>
  116. <Cell col="6" style="align:left middle;" text="bind:orddeptnm"/>
  117. <Cell col="7" text="bind:orddrnm"/>
  118. <Cell col="8" text="bind:atdoctnm"/>
  119. <Cell col="9" style="align:left middle;" text="bind:diagnm"/>
  120. <Cell col="10" text="bind:drginfo"/>
  121. <Cell col="11" text="bind:indt" mask="####-##-## ##:##"/>
  122. </Band>
  123. </Format>
  124. </Formats>
  125. </Grid>
  126. <Static id="Static02" text="응급실 재실환자" class="tit_2" position="absolute 0 453 129 473"/>
  127. <Grid id="grd_erinlist" taborder="4" binddataset="ds_erinlist" useinputpanel="false" position="absolute 0 470 1010 620" anchor="all" autofittype="col">
  128. <Formats>
  129. <Format id="default">
  130. <Columns>
  131. <Column size="20"/>
  132. <Column size="40"/>
  133. <Column size="70"/>
  134. <Column size="70"/>
  135. <Column size="100"/>
  136. <Column size="50"/>
  137. <Column size="110"/>
  138. <Column size="60"/>
  139. <Column size="60"/>
  140. <Column size="271"/>
  141. <Column size="40"/>
  142. <Column size="110"/>
  143. </Columns>
  144. <Rows>
  145. <Row size="24" band="head"/>
  146. <Row size="24"/>
  147. </Rows>
  148. <Band id="head">
  149. <Cell/>
  150. <Cell col="1" text="구분"/>
  151. <Cell col="2" text="병실"/>
  152. <Cell col="3" text="등록번호"/>
  153. <Cell col="4" text="성명"/>
  154. <Cell col="5" text="S/A"/>
  155. <Cell col="6" text="진료과"/>
  156. <Cell col="7" text="전문의"/>
  157. <Cell col="8" text="담당의"/>
  158. <Cell col="9" text="진단명"/>
  159. <Cell col="10" text="질병군"/>
  160. <Cell col="11" text="내원일시"/>
  161. </Band>
  162. <Band id="body">
  163. <Cell celltype="head" text="expr:currow + 1"/>
  164. <Cell col="1" displaytype="combo" edittype="combo" style="align:center;" text="bind:ordtype" combodataset="ds_ordtype" combocodecol="value" combodatacol="label"/>
  165. <Cell col="2" text="bind:roomcd"/>
  166. <Cell col="3" text="bind:pid"/>
  167. <Cell col="4" text="bind:hngnm"/>
  168. <Cell col="5" text="bind:sa"/>
  169. <Cell col="6" style="align:left middle;" text="bind:orddeptnm"/>
  170. <Cell col="7" text="bind:orddrnm"/>
  171. <Cell col="8" text="bind:atdoctnm"/>
  172. <Cell col="9" style="align:left middle;" text="bind:diagnm"/>
  173. <Cell col="10" text="bind:drginfo"/>
  174. <Cell col="11" text="bind:indt" mask="####-##-## ##:##"/>
  175. </Band>
  176. </Format>
  177. </Formats>
  178. </Grid>
  179. <Grid id="grd_eroutlist" taborder="5" binddataset="ds_eroutlist" useinputpanel="false" position="absolute 0 641 1010 791" anchor="all" autofittype="col">
  180. <Formats>
  181. <Format id="default">
  182. <Columns>
  183. <Column size="20"/>
  184. <Column size="40"/>
  185. <Column size="70"/>
  186. <Column size="70"/>
  187. <Column size="100"/>
  188. <Column size="50"/>
  189. <Column size="110"/>
  190. <Column size="60"/>
  191. <Column size="60"/>
  192. <Column size="271"/>
  193. <Column size="40"/>
  194. <Column size="110"/>
  195. </Columns>
  196. <Rows>
  197. <Row size="24" band="head"/>
  198. <Row size="24"/>
  199. </Rows>
  200. <Band id="head">
  201. <Cell/>
  202. <Cell col="1" text="구분"/>
  203. <Cell col="2" text="병실"/>
  204. <Cell col="3" text="등록번호"/>
  205. <Cell col="4" text="성명"/>
  206. <Cell col="5" text="S/A"/>
  207. <Cell col="6" text="진료과"/>
  208. <Cell col="7" text="전문의"/>
  209. <Cell col="8" text="담당의"/>
  210. <Cell col="9" text="진단명"/>
  211. <Cell col="10" text="질병군"/>
  212. <Cell col="11" text="내원일시"/>
  213. </Band>
  214. <Band id="body">
  215. <Cell celltype="head" text="expr:currow + 1"/>
  216. <Cell col="1" displaytype="combo" edittype="combo" style="align:center;" text="bind:ordtype" combodataset="ds_ordtype" combocodecol="value" combodatacol="label"/>
  217. <Cell col="2" text="bind:roomcd"/>
  218. <Cell col="3" text="bind:pid"/>
  219. <Cell col="4" text="bind:hngnm"/>
  220. <Cell col="5" text="bind:sa"/>
  221. <Cell col="6" style="align:left middle;" text="bind:orddeptnm"/>
  222. <Cell col="7" text="bind:orddrnm"/>
  223. <Cell col="8" text="bind:atdoctnm"/>
  224. <Cell col="9" style="align:left middle;" text="bind:diagnm"/>
  225. <Cell col="10" text="bind:drginfo"/>
  226. <Cell col="11" text="bind:indt" mask="####-##-## ##:##"/>
  227. </Band>
  228. </Format>
  229. </Formats>
  230. </Grid>
  231. <Static id="Static03" text="응급실 퇴실환자" class="tit_2" position="absolute 0 624 129 644"/>
  232. <Static id="caption17" text="당직 전공의" class="cell_2" position="absolute 0 72 100 106" style="font:Dotum,9;"/>
  233. <TextArea id="textarea1" taborder="6" wordwrap="char" position="absolute 103 72 1010 106" readonly="true" enable="true"/>
  234. </Layout>
  235. </Layouts>
  236. <Objects>
  237. <Dataset id="ds_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  238. <ColumnInfo>
  239. <Column id="depthngnm" type="STRING"/>
  240. <Column id="deptcd" type="STRING"/>
  241. </ColumnInfo>
  242. </Dataset>
  243. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  244. <ColumnInfo>
  245. <Column id="srchdd" type="STRING" size="256"/>
  246. <Column id="orddeptcd" type="STRING" size="256"/>
  247. <Column id="orddeptnm" type="STRING" size="256"/>
  248. </ColumnInfo>
  249. <Rows>
  250. <Row/>
  251. </Rows>
  252. </Dataset>
  253. <Dataset id="ds_ordtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  254. <ColumnInfo>
  255. <Column id="label" type="STRING" size="256"/>
  256. <Column id="value" type="STRING" size="256"/>
  257. </ColumnInfo>
  258. <Rows>
  259. <Row>
  260. <Col id="label">병동</Col>
  261. <Col id="value">I</Col>
  262. </Row>
  263. <Row>
  264. <Col id="label">응급</Col>
  265. <Col id="value">E</Col>
  266. </Row>
  267. <Row>
  268. <Col id="label">DSC</Col>
  269. <Col id="value">D</Col>
  270. </Row>
  271. </Rows>
  272. </Dataset>
  273. <Dataset id="ds_wardinlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  274. <ColumnInfo>
  275. <Column id="ordtype" type="STRING"/>
  276. <Column id="roomcd" type="STRING"/>
  277. <Column id="pid" type="STRING"/>
  278. <Column id="hngnm" type="STRING"/>
  279. <Column id="sa" type="STRING"/>
  280. <Column id="orddeptnm" type="STRING"/>
  281. <Column id="orddrnm" type="STRING"/>
  282. <Column id="atdoctnm" type="STRING"/>
  283. <Column id="diagnm" type="STRING"/>
  284. <Column id="indt" type="STRING"/>
  285. </ColumnInfo>
  286. <Rows>
  287. <Row/>
  288. </Rows>
  289. </Dataset>
  290. <Dataset id="ds_wardoutlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  291. <ColumnInfo>
  292. <Column id="ordtype" type="STRING"/>
  293. <Column id="roomcd" type="STRING"/>
  294. <Column id="pid" type="STRING"/>
  295. <Column id="hngnm" type="STRING"/>
  296. <Column id="sa" type="STRING"/>
  297. <Column id="orddeptnm" type="STRING"/>
  298. <Column id="orddrnm" type="STRING"/>
  299. <Column id="atdoctnm" type="STRING"/>
  300. <Column id="diagnm" type="STRING"/>
  301. <Column id="indt" type="STRING"/>
  302. </ColumnInfo>
  303. <Rows>
  304. <Row/>
  305. </Rows>
  306. </Dataset>
  307. <Dataset id="ds_erinlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  308. <ColumnInfo>
  309. <Column id="ordtype" type="STRING"/>
  310. <Column id="roomcd" type="STRING"/>
  311. <Column id="pid" type="STRING"/>
  312. <Column id="hngnm" type="STRING"/>
  313. <Column id="sa" type="STRING"/>
  314. <Column id="orddeptnm" type="STRING"/>
  315. <Column id="orddrnm" type="STRING"/>
  316. <Column id="atdoctnm" type="STRING"/>
  317. <Column id="diagnm" type="STRING"/>
  318. <Column id="indt" type="STRING"/>
  319. </ColumnInfo>
  320. <Rows>
  321. <Row/>
  322. </Rows>
  323. </Dataset>
  324. <Dataset id="ds_eroutlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  325. <ColumnInfo>
  326. <Column id="ordtype" type="STRING"/>
  327. <Column id="roomcd" type="STRING"/>
  328. <Column id="pid" type="STRING"/>
  329. <Column id="hngnm" type="STRING"/>
  330. <Column id="sa" type="STRING"/>
  331. <Column id="orddeptnm" type="STRING"/>
  332. <Column id="orddrnm" type="STRING"/>
  333. <Column id="atdoctnm" type="STRING"/>
  334. <Column id="diagnm" type="STRING"/>
  335. <Column id="indt" type="STRING"/>
  336. </ColumnInfo>
  337. <Rows>
  338. <Row/>
  339. </Rows>
  340. </Dataset>
  341. <Dataset id="ds_reportinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  342. <ColumnInfo>
  343. <Column id="dutdr" type="STRING" size="256"/>
  344. <Column id="wardincnt" type="STRING" size="256"/>
  345. <Column id="wardoutcnt" type="STRING" size="256"/>
  346. <Column id="erincnt" type="STRING" size="256"/>
  347. <Column id="eroutcnt" type="STRING" size="256"/>
  348. </ColumnInfo>
  349. </Dataset>
  350. <Dataset id="ds_send_hard" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  351. <ColumnInfo>
  352. <Column id="hardcdno" type="STRING" size="256" sumtext="진료공통코드"/>
  353. </ColumnInfo>
  354. <Rows>
  355. <Row/>
  356. </Rows>
  357. </Dataset>
  358. <Dataset id="ds_result_hard" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  359. </Objects>
  360. <Bind>
  361. <BindItem id="item0" compid="Div00.ipt_srchdd" propid="value" datasetid="ds_cond" columnid="srchdd"/>
  362. <BindItem id="item4" compid="textarea1" propid="value" datasetid="ds_reportinfo" columnid="dutdr"/>
  363. </Bind>
  364. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  365. * System Name :
  366. * Job Name :
  367. * Creator :
  368. * Make Date : 2014-08-28
  369. * Description :
  370. *---------------------------------------------------------------------------------------
  371. * Modify Date Modifier Modify Description
  372. *---------------------------------------------------------------------------------------
  373. * 2014-08-28 Live Converter TF->XP
  374. *
  375. *---------------------------------------------------------------------------------------
  376. ****************************************************************************************/
  377. include "com_commonxp::comm_main.xjs";
  378. include "emr_prcpmngtxp::MMO001.xjs";
  379. function SPMMO50600_oninit(obj:Form, e:InitEventInfo)
  380. {
  381. frmf_initForm(obj);
  382. grdf_initGrid(grd_wardinlist);
  383. grdf_initGrid(grd_wardoutlist);
  384. grdf_initGrid(grd_erinlist);
  385. grdf_initGrid(grd_eroutlist);
  386. }
  387. function SPMMO50600_onload(obj:Form, e:LoadEventInfo)
  388. {
  389. grdf_setToolTipBind(grd_wardinlist);
  390. grdf_setToolTipBind(grd_wardoutlist);
  391. grdf_setToolTipBind(grd_erinlist);
  392. grdf_setToolTipBind(grd_eroutlist);
  393. ds_cond.setColumn(0, "srchdd", utlf_getCurrentDate()); //종료일자는 현재일자
  394. lf_mmbfGetDeptCodeComboList(ds_orddept, "A"); //부서코드 콤보
  395. Div00.cp_comCodeChk00.setBindDataset(ds_orddept, "deptcd", "depthngnm");
  396. //20191025 이돈희 : 일일환자보고의 진료과 검색 설정 정보 관리
  397. ds_send_hard.setColumn(0, "hardcdno", "1900000001");
  398. var oParam = {};
  399. oParam.id = "TRMMO50602";
  400. oParam.service = "prcpmngtapp.EtcPrcpMngt";
  401. oParam.method = "reqGetPersonalConfigData";
  402. oParam.inds = "req=ds_send_hard";
  403. oParam.outds = "ds_result_hard=result";
  404. oParam.async = false;
  405. tranf_submit(oParam);
  406. if(ds_result_hard.rowcount > 0){
  407. Div00.cp_comCodeChk00.setData(ds_result_hard.getColumn(0, "trgtcdnm"));
  408. } else { // 설정정보가 없는 경우 현재 소속과로 조회
  409. Div00.cp_comCodeChk00.setData(sysf_getUserInfo("dutplcecd"));
  410. }
  411. Div00.btn_req.onclick.fireEvent(Div00.btn_req, new ClickEventInfo);
  412. }
  413. function Div00_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  414. {
  415. Div00.btn_req.onclick.fireEvent(Div00.btn_req, new ClickEventInfo);
  416. }
  417. function Div00_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  418. {
  419. if(obj.value != "-") {
  420. setUserList(obj.value);
  421. Div00.btn_req.onclick.fireEvent(Div00.btn_req, new ClickEventInfo);
  422. }
  423. }
  424. function Div00_cmb_orddrid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  425. {
  426. Div00.btn_req.onclick.fireEvent(Div00.btn_req, new ClickEventInfo);
  427. }
  428. function Div00_btn_print_onclick(obj:Button, e:ClickEventInfo)
  429. {
  430. fPrtPatList();
  431. }
  432. function Div00_btn_req_onclick(obj:Button, e:ClickEventInfo)
  433. {
  434. fReqGetPatList();
  435. }
  436. function fReqGetPatList() {
  437. var rtn = Div00.cp_comCodeChk00.getData();
  438. ds_cond.setColumn(0, "orddeptcd", rtn[0]);
  439. var oParam = {};
  440. oParam.id = "TRMMO50601";
  441. oParam.service = "prcpmngtapp.EtcPrcpMngt";
  442. oParam.method = "reqGetDayReportPatlist";
  443. oParam.inds = "req=ds_cond";
  444. oParam.outds = "ds_wardinlist=wardinlist ds_wardoutlist=wardoutlist ds_erinlist=erinlist ds_eroutlist=eroutlist ds_reportinfo=reportinfo";
  445. oParam.async = true;
  446. tranf_submit(oParam);
  447. }
  448. /**
  449. * @desc : 일일환자 보고 출력
  450. * @
  451. * @param :
  452. * @return :
  453. * @author : 엄영만
  454. * @---------------------------------------------------
  455. */
  456. function fPrtPatList() {
  457. var rtn = Div00.cp_comCodeChk00.getData();
  458. ds_cond.setColumn(0, "orddeptcd", rtn[0]);
  459. ds_cond.setColumn(0, "orddeptnm", rtn[1]);
  460. var objDOM = rptf_createDOM(); // DOM 객체 설정
  461. rptf_setNodeListToDOM(objDOM, "/root/main/cond", ds_cond); // 데이터셋 1
  462. rptf_setNodeListToDOM(objDOM, "/root/main/patinfo/reportinfo", ds_reportinfo); // 데이터셋 2
  463. rptf_setNodeListToDOM(objDOM, "/root/main/patinfo/wardinlist", ds_wardinlist); // 데이터셋 3
  464. rptf_setNodeListToDOM(objDOM, "/root/main/patinfo/wardoutlist", ds_wardoutlist); // 데이터셋 4
  465. rptf_setNodeListToDOM(objDOM, "/root/main/patinfo/erinlist", ds_erinlist); // 데이터셋 5
  466. rptf_setNodeListToDOM(objDOM, "/root/main/patinfo/eroutlist", ds_eroutlist); // 데이터셋 6
  467. sysf_trace(objDOM.documentElement.source); // XML 내용출력
  468. var objParam = new Object();
  469. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  470. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  471. rptf_exeReportPreview30(["RPMMO50600"],[objParam], option);
  472. }
  473. ]]></Script>
  474. </Form>
  475. </FDL>