SSMNA00300_성분헌혈실치료현황.xfdl 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SSMNA00300" position="absolute 0 0 1192 736" titletext="성분헌혈실 치료현황" onload="SSMNA00300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_sea" position="absolute 0 26 1189 61" style="align: top;" class="div_SA" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1107 7 1110 29" style="" anchor="top right"/>
  11. <Button id="btn_select" class="btn1" position="absolute 1123 7 1179 29" style="" text="조회" onclick="grp_sea_btn_select_onclick" anchor="top right"/>
  12. <Static id="caption3" class="search_name" position="absolute 285 9 360 26" style="align: middle;" text="구분 :" anchor="left top"/>
  13. <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="rdo_ioflag" position="absolute 368 8 533 28" style="" onclick="grp_sea_rdo_ioflag_onclick" anchor="left top">
  14. <Dataset id="innerdataset">
  15. <ColumnInfo>
  16. <Column id="codecolumn"/>
  17. <Column id="datacolumn"/>
  18. </ColumnInfo>
  19. <Rows>
  20. <Row>
  21. <Col id="codecolumn">A</Col>
  22. <Col id="datacolumn">전체</Col>
  23. </Row>
  24. <Row>
  25. <Col id="codecolumn">I</Col>
  26. <Col id="datacolumn">입원</Col>
  27. </Row>
  28. <Row>
  29. <Col id="codecolumn">O</Col>
  30. <Col id="datacolumn">외래</Col>
  31. </Row>
  32. </Rows>
  33. </Dataset>
  34. </Radio>
  35. <Static id="cap_dept" class="search_name" position="absolute 540 10 618 27" style="align: middle;" text="진료과 :" anchor="left top"/>
  36. <Combo innerdataset="ds_hidden_deptinfo_indeptinfo_deptlist" datacolumn="deptnm" codecolumn="deptcd" columncount="-1" rowcount="-1" id="cmb_dept" position="absolute 620 8 715 27" style="" onitemclick="grp_sea_cmb_dept_onitemclick" anchor="left top"/>
  37. <Static id="cap_dr" class="search_name" position="absolute 735 10 821 27" style="align: middle;" text="주치의 :" anchor="left top"/>
  38. <Combo innerdataset="ds_hidden_userinfo_drlist" datacolumn="usernm" codecolumn="userid" columncount="-1" rowcount="-1" id="cmb_dr" position="absolute 825 8 920 27" style="" anchor="left top"/>
  39. <Static id="cmb_yymm" class="search_name" position="absolute 15 9 79 26" style="" text="기간 :" anchor="left top"/>
  40. <Calendar id="input2" class="input_search" mask="yyyy-mm" position="absolute 80 8 165 27" style="" anchor="left top"/>
  41. <Combo innerdataset="ds_hidden_wardinfo_deptlist" datacolumn="deptnm" codecolumn="deptcd" columncount="-1" rowcount="-1" id="cmb_ward" position="absolute 1000 8 1095 27" style="" anchor="left top"/>
  42. <Static id="cap_ward" class="search_name" position="absolute 935 10 1001 27" style="align: middle;" text="병동 :" anchor="left top"/>
  43. <Calendar id="input1" class="input_search" mask="yyyy-mm" position="absolute 190 8 275 27" style="" anchor="left top"/>
  44. <Static id="caption1" position="absolute 170 10 185 30" style="" text="~" anchor="left top"/>
  45. </Layout>
  46. </Layouts>
  47. </Div>
  48. <Static id="caption6" text="성분헌혈실 치료현황" class="tit_1" position="absolute 0 0 185 26"/>
  49. <Grid id="datagrid1" class="datagrid2" taborder="1" binddataset="ds_main_treatinfo_treatlist" useinputpanel="false" position="absolute 0 64 1189 729" anchor="all">
  50. <Formats>
  51. <Format id="default">
  52. <Columns>
  53. <Column size="71"/>
  54. <Column size="82"/>
  55. <Column size="68"/>
  56. <Column size="112"/>
  57. <Column size="67"/>
  58. <Column size="73"/>
  59. <Column size="42"/>
  60. <Column size="100"/>
  61. <Column size="84"/>
  62. <Column size="90"/>
  63. <Column size="133"/>
  64. <Column size="36"/>
  65. <Column size="37"/>
  66. <Column size="34"/>
  67. <Column size="34"/>
  68. <Column size="65"/>
  69. </Columns>
  70. <Rows>
  71. <Row size="24" band="head"/>
  72. <Row size="24" band="head"/>
  73. <Row size="24"/>
  74. </Rows>
  75. <Band id="head">
  76. <Cell rowspan="2" text="구분" taborder="undefined"/>
  77. <Cell col="1" rowspan="2" text="치료명" taborder="undefined"/>
  78. <Cell col="2" colspan="5" text="치료목적" taborder="undefined"/>
  79. <Cell col="7" colspan="4" text="혈관확보" taborder="undefined"/>
  80. <Cell col="11" colspan="2" text="이동병실" taborder="undefined"/>
  81. <Cell col="13" colspan="2" text="부작용" taborder="undefined"/>
  82. <Cell col="15" rowspan="2" text="계" taborder="undefined"/>
  83. <Cell col="16" text="구분"/>
  84. <Cell col="17" text="치료명"/>
  85. <Cell col="18" text="Pre BMT"/>
  86. <Cell col="19" text="Post BMT 합병증"/>
  87. <Cell col="20" text="세포공여"/>
  88. <Cell col="21" text="Depletion"/>
  89. <Cell col="22" text="기타"/>
  90. <Cell col="23" text="Peripheral Vein"/>
  91. <Cell col="24" text="Central Cath"/>
  92. <Cell col="25" text="Femoral Cath"/>
  93. <Cell col="26" text="Pheripheral + Central"/>
  94. <Cell col="27" text="유"/>
  95. <Cell col="28" text="무"/>
  96. <Cell col="29" text="유"/>
  97. <Cell col="30" text="무"/>
  98. <Cell col="31" text="계"/>
  99. <Cell row="1" col="2" text="Pre BMT"/>
  100. <Cell row="1" col="3" text="Post BMT 합병증"/>
  101. <Cell row="1" col="4" text="세포공여"/>
  102. <Cell row="1" col="5" text="Depletion"/>
  103. <Cell row="1" col="6" text="기타"/>
  104. <Cell row="1" col="7" text="Peripheral Vein"/>
  105. <Cell row="1" col="8" text="Central Cath"/>
  106. <Cell row="1" col="9" text="Femoral Cath"/>
  107. <Cell row="1" col="10" text="Pheripheral + Central"/>
  108. <Cell row="1" col="11" text="유"/>
  109. <Cell row="1" col="12" text="무"/>
  110. <Cell row="1" col="13" text="유"/>
  111. <Cell row="1" col="14" text="무"/>
  112. </Band>
  113. <Band id="body">
  114. <Cell text="bind:lrgnm"/>
  115. <Cell col="1" text="bind:mdlnm"/>
  116. <Cell col="2" text="bind:cg01"/>
  117. <Cell col="3" text="bind:cg02"/>
  118. <Cell col="4" text="bind:cg03"/>
  119. <Cell col="5" text="bind:cg04"/>
  120. <Cell col="6" text="bind:cg05"/>
  121. <Cell col="7" text="bind:vs01"/>
  122. <Cell col="8" text="bind:vs02"/>
  123. <Cell col="9" text="bind:vs03"/>
  124. <Cell col="10" text="bind:vs04"/>
  125. <Cell col="11" text="bind:mvy"/>
  126. <Cell col="12" text="bind:mvn"/>
  127. <Cell col="13" text="bind:efy"/>
  128. <Cell col="14" text="bind:efn"/>
  129. <Cell col="15" text="bind:totdd"/>
  130. </Band>
  131. </Format>
  132. </Formats>
  133. </Grid>
  134. </Layout>
  135. </Layouts>
  136. <Objects>
  137. <Dataset id="ds_hidden_wardinfo_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  138. <ColumnInfo>
  139. <Column id="deptcd" type="STRING" size="256"/>
  140. <Column id="deptnm" type="STRING" size="256"/>
  141. </ColumnInfo>
  142. <Rows>
  143. <Row>
  144. <Col id="deptcd"/>
  145. <Col id="deptnm"/>
  146. </Row>
  147. </Rows>
  148. </Dataset>
  149. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  150. <ColumnInfo/>
  151. </Dataset>
  152. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  153. <ColumnInfo>
  154. <Column id="fromdd" type="STRING" size="256"/>
  155. <Column id="todd" type="STRING" size="256"/>
  156. <Column id="ioflag" type="STRING" size="256"/>
  157. <Column id="deptcd" type="STRING" size="256"/>
  158. <Column id="wardcd" type="STRING" size="256"/>
  159. <Column id="drid" type="STRING" size="256"/>
  160. </ColumnInfo>
  161. <Rows>
  162. <Row>
  163. <Col id="fromdd"/>
  164. <Col id="todd"/>
  165. <Col id="ioflag"/>
  166. <Col id="deptcd"/>
  167. <Col id="wardcd"/>
  168. <Col id="drid"/>
  169. </Row>
  170. </Rows>
  171. </Dataset>
  172. <Dataset id="ds_hidden_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  173. <ColumnInfo/>
  174. </Dataset>
  175. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  176. <ColumnInfo>
  177. <Column id="send" type="STRING" size="256"/>
  178. </ColumnInfo>
  179. </Dataset>
  180. <Dataset id="ds_hidden_indeptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  181. <ColumnInfo/>
  182. </Dataset>
  183. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  184. <ColumnInfo/>
  185. </Dataset>
  186. <Dataset id="ds_hidden_indeptinfo_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  187. <ColumnInfo>
  188. <Column id="deptcd" type="STRING" size="256"/>
  189. <Column id="deptnm" type="STRING" size="256"/>
  190. </ColumnInfo>
  191. <Rows>
  192. <Row>
  193. <Col id="deptcd"/>
  194. <Col id="deptnm"/>
  195. </Row>
  196. </Rows>
  197. </Dataset>
  198. <Dataset id="ds_hidden_outdeptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  199. <ColumnInfo/>
  200. </Dataset>
  201. <Dataset id="ds_hidden_wardinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  202. <ColumnInfo/>
  203. </Dataset>
  204. <Dataset id="ds_main_treatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  205. <ColumnInfo>
  206. <Column id="treatlist" type="STRING" size="256"/>
  207. </ColumnInfo>
  208. <Rows>
  209. <Row>
  210. <Col id="treatlist"/>
  211. </Row>
  212. </Rows>
  213. </Dataset>
  214. <Dataset id="ds_hidden_outdeptinfo_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  215. <ColumnInfo>
  216. <Column id="deptcd" type="STRING" size="256"/>
  217. <Column id="deptnm" type="STRING" size="256"/>
  218. </ColumnInfo>
  219. <Rows>
  220. <Row>
  221. <Col id="deptcd"/>
  222. <Col id="deptnm"/>
  223. </Row>
  224. </Rows>
  225. </Dataset>
  226. <Dataset id="ds_hidden_userinfo_drlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  227. <ColumnInfo>
  228. <Column id="userid" type="STRING" size="256"/>
  229. <Column id="usernm" type="STRING" size="256"/>
  230. </ColumnInfo>
  231. <Rows>
  232. <Row>
  233. <Col id="userid"/>
  234. <Col id="usernm"/>
  235. </Row>
  236. </Rows>
  237. </Dataset>
  238. <Dataset id="ds_hidden_deptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  239. <Dataset id="ds_hidden_drinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  240. <Dataset id="ds_temp_deptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  241. </Objects>
  242. <Bind>
  243. <BindItem id="item0" compid="grp_sea.rdo_ioflag" propid="value" datasetid="ds_cond" columnid="ioflag"/>
  244. <BindItem id="item1" compid="grp_sea.cmb_dept" propid="value" datasetid="ds_cond" columnid="deptcd"/>
  245. <BindItem id="item2" compid="grp_sea.cmb_dr" propid="value" datasetid="ds_cond" columnid="drid"/>
  246. <BindItem id="item3" compid="grp_sea.input2" propid="value" datasetid="ds_cond" columnid="fromdd"/>
  247. <BindItem id="item4" compid="grp_sea.cmb_ward" propid="value" datasetid="ds_cond" columnid="wardcd"/>
  248. <BindItem id="item5" compid="grp_sea.input1" propid="value" datasetid="ds_cond" columnid="todd"/>
  249. </Bind>
  250. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  251. * System Name :
  252. * Job Name :
  253. * Creator :
  254. * Make Date : 2016-05-24
  255. * Description :
  256. *---------------------------------------------------------------------------------------
  257. * Modify Date Modifier Modify Description
  258. *---------------------------------------------------------------------------------------
  259. * 2016-05-24 Live Converter TF->XP
  260. *
  261. *---------------------------------------------------------------------------------------
  262. ****************************************************************************************/
  263. include "com_commonxp::comm_main.xjs";
  264. include "sts_stsenrxp::MNA001.xjs";
  265. function SSMNA00300_onload(obj:Form, e:LoadEventInfo) {
  266. frmf_initForm(obj);
  267. //grdf_initGrid(grd_XXX);
  268. //grdf_setGridSort(grd_XXX);
  269. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  270. fInit();
  271. fSearchApuTreatList();
  272. }
  273. // header파일 중 SSMNA00300.js 파일 시작
  274. /********************************************************************************
  275. * _group : APU 치료현황
  276. * _ver : 2008.09.23
  277. * _by : dhkim
  278. * _desc : 성분헌혈실 치료현황 조회
  279. *********************************************************************************/
  280. var curYYYYMMStr = utlf_getCurrentDate().substring(0, 6);
  281. /**
  282. * create : 2008.09.23
  283. * desc : 화면을 초기화한다.
  284. */
  285. function fInit(){
  286. //노드 초기화
  287. ds_cond.clearData();
  288. ds_main_treatinfo.clearData();
  289. ds_hidden_deptinfo.clearData();
  290. ds_hidden_wardinfo.clearData();
  291. ds_hidden_drinfo.clearData();
  292. //노드 재생성
  293. dsf_makeValue( ds_main, "treatinfo", "string", "" );
  294. dsf_makeValue( ds_hidden, "deptinfo", "string", "" );
  295. dsf_makeValue( ds_hidden, "wardinfo", "string", "" );
  296. dsf_makeValue( ds_hidden, "drinfo", "string", "" );
  297. var yyyymm = curYYYYMMStr; //default
  298. var ioflag = 'A'; //default
  299. fShowCondition("grp_sea.cap_ward", "grp_sea.cmb_ward", "grp_sea.cap_dept", "grp_sea.cmb_dept", "grp_sea.cap_dr", "grp_sea.cmb_dr", ioflag);//조건 hidden_visible
  300. //진료과, 병동리스트조회
  301. fGetDeptInfo('O', yyyymm, ds_send, ds_hidden_outdeptinfo);//외래진료과
  302. fGetDeptInfo('I', yyyymm, ds_send, ds_hidden_indeptinfo); //입원진료과
  303. fGetDeptInfo('W', yyyymm, ds_send, ds_hidden_wardinfo); //병동
  304. //조회조건 default 세팅
  305. //dsf_makeValue( ds_cond, "yyyymm", "string", curYYYYMMStr);//조회년월 : 현재년월
  306. //20081230
  307. dsf_makeValue( ds_cond, "fromdd", "string", curYYYYMMStr);//조회시작년월 : 현재년월
  308. dsf_makeValue( ds_cond, "todd", "string", curYYYYMMStr);//조회종료년월 : 현재년월
  309. dsf_makeValue( ds_cond, "ioflag", "string", 'A');//외래입원구분 : 전체
  310. dsf_makeValue( ds_cond, "deptcd", "string", '');//진료과 : 전체
  311. dsf_makeValue( ds_cond, "wardcd", "string", '');//병동 : 전체
  312. dsf_makeValue( ds_cond, "drid", "string", '');//주치의 : 전체
  313. //model.refresh();
  314. }
  315. /**
  316. * create : 2008.09.23
  317. * desc : 성분헌혈실 치료현황 조회
  318. */
  319. function fSearchApuTreatList(){
  320. //조회조건
  321. //var stdym = ds_cond.getColumn(0, "yyyymm");
  322. //20081230
  323. var fromdd = ds_cond.getColumn(0, "fromdd");
  324. var todd = ds_cond.getColumn(0, "todd");
  325. var ioflag = ds_cond.getColumn(0, "ioflag");
  326. var deptcd = ds_cond.getColumn(0, "deptcd");
  327. var drid = ds_cond.getColumn(0, "drid");
  328. var wardcd = ds_cond.getColumn(0, "wardcd");
  329. //조회조건 널처리
  330. /*
  331. if(stdym == null || stdym == ''){
  332. stdym = curYYYYMMStr;
  333. }
  334. */
  335. //20081230
  336. if(fromdd == null || fromdd == ''){
  337. fromdd = curYYYYMMStr;
  338. }
  339. if(todd == null || todd == ''){
  340. todd = curYYYYMMStr;
  341. }
  342. if(ioflag == null || ioflag == ''){
  343. ioflag = 'A';
  344. }
  345. if(deptcd == null){
  346. deptcd = '';
  347. }
  348. if(drid == null){
  349. drid = '';
  350. }
  351. if(wardcd == null){
  352. wardcd == '';
  353. }
  354. if(ioflag == 'O'){
  355. if(wardcd != null || wardcd != ''){
  356. wardcd == '';
  357. }
  358. }
  359. if(ioflag == 'A'){
  360. deptcd = '';
  361. drid = '';
  362. wardcd = '';
  363. }
  364. if(deptcd == ''){
  365. drid = '';
  366. }
  367. //request전 parameter send처리
  368. ds_send.clearData();
  369. //dsf_makeValue( ds_send, "stdym", "string", stdym + '%');
  370. //20081230
  371. dsf_makeValue( ds_send, "fromdd", "string", fromdd + '01');
  372. dsf_makeValue( ds_send, "todd", "string", todd + '31');
  373. dsf_makeValue( ds_send, "ioflag", "string", ioflag);
  374. dsf_makeValue( ds_send, "deptcd", "string", deptcd);
  375. dsf_makeValue( ds_send, "drid", "string", drid);
  376. dsf_makeValue( ds_send, "wardcd", "string", wardcd);
  377. var oParam = {};
  378. oParam.id = "TRSNA00301";
  379. oParam.service = "stsenrapp.StsApuMngt";
  380. oParam.method = "reqGetApuTreatList";
  381. oParam.inds = "req=ds_send";
  382. oParam.outds = "ds_main_treatinfo_treatlist=treatlist";
  383. oParam.async = false;
  384. //oParam.callback = "cf_TRSNA00301";
  385. tranf_submit(oParam);
  386. //화면display변경
  387. //fShowTotal(grp_dnorSum.datagrid1, grp_dnorSum.datagrid1.cols, 3);
  388. }
  389. // header파일 중 SSMNA00300.js 파일 끝
  390. function grp_sea_btn_select_onclick(obj:Button, e:ClickEventInfo) {
  391. fSearchApuTreatList();
  392. }
  393. function grp_sea_rdo_ioflag_onclick(obj:Radio, e:ClickEventInfo) {
  394. fShowCondition("grp_sea.cap_ward", "grp_sea.cmb_ward", "grp_sea.cap_dept", "grp_sea.cmb_dept", "grp_sea.cap_dr", "grp_sea.cmb_dr", grp_sea.rdo_ioflag.value);
  395. }
  396. function grp_sea_cmb_dept_onitemclick(obj:Combo, e:ListBoxClickEventInfo) {
  397. var yyyymm = ds_cond.getColumn(0, "yyyymm");
  398. if(yyyymm == null || yyyymm == '' ){
  399. yyyymm = curYYYYMMStr;
  400. }
  401. fGetUserInfo(grp_sea.cmb_dept.value, yyyymm, 'ds_send', 'ds_hidden_userinfo');
  402. //model.refresh();
  403. }
  404. ]]></Script>
  405. </Form>
  406. </FDL>