SMAER00610_환자별mu량조회.xfdl 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAER00610" position="absolute 0 0 1256 805" titletext="검사별 실시현황 조회" onload="SMAER00610_onload" oninit="SMAER00610_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 8 21 1203 765" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 10 1194 45" align="align:center top;" id="grp_sea">
  11. <Layouts>
  12. <Layout>
  13. <Shape position="absolute 0 0 1194 35" id="roundrect2" type="roundrectangle"/>
  14. <Static text="기준 월 :" position="absolute 10 10 96 27" id="caption3" class="search_name"/>
  15. <Shape position="absolute 1117 7 1123 29" linetype="vertical" id="line13" class="line_4"/>
  16. <Button position="absolute 1129 7 1185 29" id="btn_sea" class="btn1" text="조회" onclick="group3_grp_sea_btn_sea_onclick"/>
  17. <Edit position="absolute 448 8 518 27" id="ipt_pid" class="input_search" onkeydown="group3_grp_sea_ipt_pid_onkeydown"/>
  18. <Static text="등록번호 :" position="absolute 370 10 449 27" align="align:left middle;" id="caption8" class="search_name"/>
  19. <Calendar position="absolute 175 8 266 27" id="ipt_todd" class="input_search" mask="yyyy-mm-dd"/>
  20. <Calendar position="absolute 79 8 170 27" id="ipt_fromdd" class="input_search" mask="yyyy-mm-dd"/>
  21. <Combo id="cmb_excuroom" taborder="1" innerdataset="ds_init_cmb_info_initexecroom" codecolumn="basecd" datacolumn="basecdflagdesc" class="combo_search" position="absolute 723 9 893 28"/>
  22. <Static id="caption00" text="치료실 :" class="search_name" position="absolute 658 11 721 28"/>
  23. </Layout>
  24. </Layouts>
  25. </Div>
  26. <Shape position="absolute 0 67 1195 73" linetype="vertical" id="line2" class="line_1"/>
  27. <Static text="환자별 Mu량 조회" position="absolute 5 55 146 70" id="caption10" class="tit_2"/>
  28. <Button position="absolute 1040 18 1104 37" id="btn_excel" class="btn2" text="엑셀저장" onclick="group3_btn_excel_onclick"/>
  29. <Grid position="absolute 0 75 1195 744" id="grd_mainordlist" binddataset="ds_grd_mainordlist">
  30. <Formats>
  31. <Format id="default">
  32. <Columns>
  33. <Column size="100"/>
  34. <Column size="100"/>
  35. <Column size="80"/>
  36. <Column size="89"/>
  37. <Column size="88"/>
  38. <Column size="526"/>
  39. <Column size="72"/>
  40. <Column size="118"/>
  41. </Columns>
  42. <Rows>
  43. <Row size="24" band="head"/>
  44. <Row size="24"/>
  45. </Rows>
  46. <Band id="head">
  47. <Cell text="등록번호"/>
  48. <Cell col="1" text="환자명"/>
  49. <Cell col="2" text="RTno"/>
  50. <Cell col="3" text="실시일시"/>
  51. <Cell col="4" text="MU 총량"/>
  52. <Cell col="5" text="치료코드명"/>
  53. <Cell col="6" text="에너지값"/>
  54. <Cell col="7" text="치료실"/>
  55. </Band>
  56. <Band id="body">
  57. <Cell text="bind:pid"/>
  58. <Cell col="1" text="bind:hngnm"/>
  59. <Cell col="2" displaytype="text" style="align:center;" text="bind:rtno"/>
  60. <Cell col="3" text="bind:execdt"/>
  61. <Cell col="4" text="bind:rtcnt" tooltiptext="bind:rtcnt"/>
  62. <Cell col="5" style="align:left;" text="bind:diagnm"/>
  63. <Cell col="6" text="bind:energy"/>
  64. <Cell col="7" displaytype="combo" edittype="normal" style="align:center;" text="bind:excuroomcd" combodataset="ds_init_cmb_info_initexecroom" combocodecol="basecd" combodatacol="basecdflagdesc" combodisplay="edit"/>
  65. </Band>
  66. </Format>
  67. </Formats>
  68. </Grid>
  69. <Edit readonly="true" position="absolute 549 19 613 38" id="opt_patnm"/>
  70. <Button position="absolute 527 20 543 36" id="button61" class="icon_search" text=""/>
  71. </Layout>
  72. </Layouts>
  73. </Div>
  74. <Div position="absolute 8 765 1203 792" id="grp_btn"/>
  75. <Button position="absolute 8 768 64 790" id="btn_prt" class="btn6" text="출력"/>
  76. <Static id="caption6" text="환자별 MU량 조회" class="tit_1" position="absolute 16 11 167 26"/>
  77. </Layout>
  78. </Layouts>
  79. <Objects>
  80. <Dataset id="ds_grd_mainordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  81. <ColumnInfo>
  82. <Column id="pid" type="STRING"/>
  83. <Column id="hngnm" type="STRING"/>
  84. <Column id="rtno" type="STRING"/>
  85. <Column id="execdt" type="STRING"/>
  86. <Column id="rtcnt" type="STRING"/>
  87. <Column id="diagnm" type="STRING" size="256"/>
  88. <Column id="energy" type="STRING" size="256"/>
  89. <Column id="excuroomcd" type="STRING" size="256"/>
  90. </ColumnInfo>
  91. </Dataset>
  92. <Dataset id="ds_send2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  93. <ColumnInfo>
  94. <Column id="fromdd" type="STRING" size="256" sumtext="조회일자"/>
  95. <Column id="todd" type="STRING" size="256" sumtext="조회일자"/>
  96. <Column id="suppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  97. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  98. <Column id="excucd" type="STRING" size="256" sumtext="처방코드"/>
  99. <Column id="excuroomcd" type="STRING" size="256" sumtext="검사치료실코드"/>
  100. <Column id="retroomcd" type="STRING" size="256"/>
  101. </ColumnInfo>
  102. <Rows>
  103. <Row/>
  104. </Rows>
  105. </Dataset>
  106. <Dataset id="ds_init_cmb_info_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  107. <ColumnInfo>
  108. <Column id="basecdflagdesc" type="STRING"/>
  109. <Column id="basecd" type="STRING"/>
  110. </ColumnInfo>
  111. </Dataset>
  112. <Dataset id="ds_init_cmb_info2_initexecroom2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  113. <ColumnInfo>
  114. <Column id="basecdflagdesc" type="STRING"/>
  115. <Column id="basecd" type="STRING"/>
  116. </ColumnInfo>
  117. </Dataset>
  118. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  119. <ColumnInfo>
  120. <Column id="suppdeptcd" type="STRING" size="256"/>
  121. <Column id="roomflag" type="STRING" size="256"/>
  122. <Column id="fromdd" type="STRING" size="256"/>
  123. <Column id="todd" type="STRING" size="256"/>
  124. <Column id="excuroomcd" type="STRING" size="256"/>
  125. <Column id="pid" type="STRING" size="256"/>
  126. <Column id="rtno" type="STRING" size="256"/>
  127. <Column id="status" type="STRING" size="256"/>
  128. <Column id="flag" type="STRING" size="256"/>
  129. </ColumnInfo>
  130. <Rows>
  131. <Row>
  132. <Col id="suppdeptcd"/>
  133. <Col id="roomflag">all</Col>
  134. <Col id="fromdd"/>
  135. <Col id="todd"/>
  136. <Col id="excuroomcd"/>
  137. <Col id="pid"/>
  138. <Col id="rtno"/>
  139. <Col id="status"/>
  140. <Col id="flag">Y</Col>
  141. </Row>
  142. </Rows>
  143. </Dataset>
  144. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  145. <Objects>
  146. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  147. <ColumnInfo>
  148. <Column id="patphofileimg" type="STRING" size="256"/>
  149. <Column id="rtno" type="STRING" size="256"/>
  150. <Column id="patnm" type="STRING" size="256"/>
  151. <Column id="pid" type="STRING" size="256"/>
  152. <Column id="sexage" type="STRING" size="256"/>
  153. <Column id="diagcd" type="STRING" size="256"/>
  154. <Column id="diagnm" type="STRING" size="256"/>
  155. <Column id="hometel" type="STRING" size="256"/>
  156. <Column id="mpphon" type="STRING" size="256"/>
  157. <Column id="apnttel" type="STRING" size="256"/>
  158. <Column id="atdoctid" type="STRING" size="256"/>
  159. <Column id="ioflag" type="STRING" size="256"/>
  160. <Column id="rtnorem" type="STRING" size="256"/>
  161. <Column id="apntdrid" type="STRING" size="256"/>
  162. <Column id="partgrupcd" type="STRING" size="256"/>
  163. <Column id="partcd" type="STRING" size="256"/>
  164. <Column id="fnexamyn" type="STRING" size="256"/>
  165. <Column id="schedesc" type="STRING" size="256"/>
  166. <Column id="rgstdd" type="STRING" size="256"/>
  167. <Column id="partdetlnm" type="STRING" size="256"/>
  168. </ColumnInfo>
  169. <Rows>
  170. <Row>
  171. <Col id="patphofileimg"/>
  172. <Col id="rtno"/>
  173. <Col id="patnm"/>
  174. <Col id="pid"/>
  175. <Col id="sexage"/>
  176. <Col id="diagcd"/>
  177. <Col id="diagnm"/>
  178. <Col id="hometel"/>
  179. <Col id="mpphon"/>
  180. <Col id="apnttel"/>
  181. <Col id="atdoctid"/>
  182. <Col id="ioflag"/>
  183. <Col id="rtnorem"/>
  184. <Col id="apntdrid"/>
  185. <Col id="partgrupcd"/>
  186. <Col id="partcd"/>
  187. <Col id="fnexamyn"/>
  188. <Col id="schedesc"/>
  189. <Col id="rgstdd"/>
  190. <Col id="partdetlnm"/>
  191. </Row>
  192. </Rows>
  193. </Dataset>
  194. </Objects>
  195. <ColumnInfo>
  196. <Column id="patphofileimg" type="STRING" size="256"/>
  197. <Column id="rtno" type="STRING" size="256"/>
  198. <Column id="patnm" type="STRING" size="256"/>
  199. <Column id="pid" type="STRING" size="256"/>
  200. <Column id="sexage" type="STRING" size="256"/>
  201. <Column id="diagcd" type="STRING" size="256"/>
  202. <Column id="diagnm" type="STRING" size="256"/>
  203. <Column id="hometel" type="STRING" size="256"/>
  204. <Column id="mpphon" type="STRING" size="256"/>
  205. <Column id="apnttel" type="STRING" size="256"/>
  206. <Column id="atdoctid" type="STRING" size="256"/>
  207. <Column id="ioflag" type="STRING" size="256"/>
  208. <Column id="rtnorem" type="STRING" size="256"/>
  209. <Column id="apntdrid" type="STRING" size="256"/>
  210. <Column id="partgrupcd" type="STRING" size="256"/>
  211. <Column id="partcd" type="STRING" size="256"/>
  212. <Column id="fnexamyn" type="STRING" size="256"/>
  213. <Column id="schedesc" type="STRING" size="256"/>
  214. <Column id="rgstdd" type="STRING" size="256"/>
  215. <Column id="partdetlnm" type="STRING" size="256"/>
  216. <Column id="apntdrnm" type="STRING" size="256"/>
  217. <Column id="atdoctnm" type="STRING" size="256"/>
  218. </ColumnInfo>
  219. <Rows>
  220. <Row>
  221. <Col id="rtno"/>
  222. </Row>
  223. </Rows>
  224. </Dataset>
  225. </Objects>
  226. <Bind>
  227. <BindItem id="item1" compid="group3.grp_sea.cmb_excuroom" propid="value" datasetid="ds_send" columnid="excuroomcd"/>
  228. <BindItem id="item0" compid="group3.grp_sea.ipt_pid" propid="value" datasetid="ds_patinfolist" columnid="pid"/>
  229. <BindItem id="item2" compid="group3.opt_patnm" propid="value" datasetid="ds_patinfolist" columnid="patnm"/>
  230. </Bind>
  231. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  232. * System Name :
  233. * Job Name :
  234. * Creator :
  235. * Make Date : 2015-11-13
  236. * Description :
  237. *---------------------------------------------------------------------------------------
  238. * Modify Date Modifier Modify Description
  239. *---------------------------------------------------------------------------------------
  240. * 2015-11-13 Live Converter TF->XP
  241. *
  242. *---------------------------------------------------------------------------------------
  243. ****************************************************************************************/
  244. include "com_commonxp::comm_main.xjs";
  245. include "ast_examcurexp::AEZ0001.xjs";
  246. include "com_userdeptinfoxp::ZSU001.xjs";
  247. include "ast_tumorelctxp::combolist.xjs";
  248. function cf_TRAER00602(sSvcId, nErrorCode, sErrorMsg) {
  249. if(nErrorCode < 0) return;
  250. }
  251. function cf_TRAOR00903(sSvcId, nErrorCode, sErrorMsg) {
  252. if(nErrorCode < 0) return;
  253. frmf_addComboItem( "group3.grp_sea.cmb_excuroom", "전체", "", "above");
  254. }
  255. function group3_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  256. {
  257. ds_send2.setColumn(0,"fromdd",group3.grp_sea.ipt_fromdd.value);
  258. ds_send2.setColumn(0,"todd",group3.grp_sea.ipt_todd.value);
  259. // ds_send2.setColumn(0,"suppdeptcd",suppdeptcd);
  260. ds_send2.setColumn(0,"pid",group3.grp_sea.ipt_pid.value);
  261. // ds_send2.setColumn(0,"excucd",ds_send.getColumn(0,"excucd"));
  262. ds_send2.setColumn(0,"retroomcd",group3.grp_sea.cmb_excuroom.value);
  263. var oParam = {};
  264. oParam.id = "TRAER00602";
  265. oParam.service = "examcureacptexecapp.ExamCurePrcs";
  266. oParam.method = "reqGetExecMuCondList";
  267. oParam.inds = "req=ds_send2";
  268. oParam.outds = "ds_grd_mainordlist=item";
  269. oParam.async = false;
  270. oParam.callback = "cf_TRAER00602";
  271. tranf_submit(oParam);
  272. }
  273. function SMAER00610_onload(obj:Form, e:LoadEventInfo)
  274. {
  275. var curDate = utlf_getCurrentDate();
  276. group3.grp_sea.ipt_fromdd.value = curDate;
  277. group3.grp_sea.ipt_todd.value = curDate;
  278. lf_aezfSetSuppDeptcd();
  279. dsf_createDsRow("ds_cond_TRAOR00903", [{col:"suppdeptcd", type:"STRING", size:256, val:suppdeptcd}
  280. , {col:"rbasecdflag", type:"STRING", size:256, val:"R"}
  281. , {col:"flag", type:"STRING", size:256, val:ds_send.getColumn(0, "roomflag")}]);
  282. var oParam = {};
  283. oParam.id = "TRAOR00903";
  284. oParam.service = "tumoracptexecapp.CureExec";
  285. oParam.method = "reqGetExCuRoomList";
  286. oParam.inds = "req=ds_cond_TRAOR00903";
  287. oParam.outds = "ds_init_cmb_info_initexecroom=item";
  288. oParam.async = false;
  289. oParam.callback = "cf_TRAOR00903";
  290. tranf_submit(oParam);
  291. // 치료실 셋팅.
  292. if( ds_init_cmb_info_initexecroom.rowcount > 0 ){
  293. ds_init_cmb_info2_initexecroom2.copyData(ds_init_cmb_info_initexecroom, true);
  294. ds_init_cmb_info2_initexecroom2.deleteRow(0);
  295. }
  296. }
  297. function SMAER00610_oninit(obj:Form, e:InitEventInfo)
  298. {
  299. frmf_initForm(obj); // 폼 초기화
  300. }
  301. function group3_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  302. {
  303. if(ds_grd_mainordlist.rowcount>0){
  304. // grdf_exportExcel(group3.grd_mainordlist, "mu", "sheet1");
  305. grdf_exportExcel(group3.grd_mainordlist, "환자별 MU량 조회", "환자별 MU량 조회)", false, "", "", false);
  306. }
  307. }
  308. function group3_grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  309. {
  310. if(e.keycode == "13") {
  311. ds_send.setColumn(0,"rtno", "");
  312. ds_send.setColumn(0,"pid", obj.value);
  313. fgetPatInfoList();
  314. }
  315. }
  316. function fgetPatInfoList() {
  317. //if (utlf_isNull(ds_send.getColumn(0, "pid")) && utlf_isNull(ds_send.getColumn(0, "rtno")) ) {
  318. if (utlf_isNull(ds_send.getColumn(0, "pid"))) {
  319. sysf_messageBox("등록번호를 ", "C001");
  320. return;
  321. }
  322. dsf_createDsRow("ds_init_req",
  323. [{col:"suppdeptcd", val: suppdeptcd}
  324. ,{col:"searchdd", val:""}
  325. ,{col:"excuroomcd", val:""}
  326. ,{col:"rtno", val: ds_send.getColumn(0, "rtno")}
  327. ,{col:"pid", val: ds_send.getColumn(0, "pid")}
  328. ,{col:"schergstdd", val:""}]);
  329. dsf_createDsRow("ds_grid_patfixrem",
  330. [{col:"memodesc", val:""}]);
  331. var objParam = new Object();
  332. objParam.id = "TRAOR00117";
  333. objParam.service = "tumoracptexecapp.CureExec";
  334. objParam.method = "reqGetPatPrcpSpecList2";
  335. objParam.inds = "req=ds_init_req";
  336. objParam.outds ="ds_patinfolist=patinfolist ds_grid_diaglist=diaglist ds_grid_patfixrem=patfixrem";
  337. objParam.callback = "cbf_TRAOR00117";
  338. tranf_submit(objParam);
  339. }]]></Script>
  340. </Form>
  341. </FDL>