SMMRD00300_퇴원분석오차점검.xfdl 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMRD00300" position="absolute 0 0 1210 780" titletext="퇴원분석 오차점검" oninit="SMMRD00300_oninit" onload="SMMRD00300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="btn_comrec" taborder="6" text="통합기록" class="btn2" position="absolute 1130 66 1194 85" onclick="btn_comrec_onclick"/>
  8. <Static id="caption6" text="퇴원분석 오차점검" class="tit_1" position="absolute 0 0 189 25"/>
  9. <Button id="button10" taborder="2" text="초기화" class="btn4" position="absolute 1126 751 1194 773" anchor="right bottom" onclick="button10_onclick"/>
  10. <Div id="group6" anchor="left top right" taborder="3" class="div_SA" position="absolute 0 25 1195 65">
  11. <Layouts>
  12. <Layout>
  13. <Static id="caption21" text="시작일 :" class="search_name" position="absolute 16 12 102 29"/>
  14. <Shape id="line18" linetype="vertical" class="line_4" position="absolute 1103 10 1109 32" anchor="top right"/>
  15. <Static id="caption4" text="종료일 :" class="search_name" position="absolute 211 12 297 29"/>
  16. <Static id="caption23" text="구분 :" class="search_name" position="absolute 411 13 497 30"/>
  17. <Button id="btn_srch" taborder="5" text="조회" class="btn1" position="absolute 1122 10 1178 32" anchor="top right" onclick="group6_btn_srch_onclick"/>
  18. <Calendar id="ipt_fromdd" taborder="6" class="input_s_essential" position="absolute 89 11 189 30" autoselect="true"/>
  19. <Calendar id="ipt_todd" taborder="7" class="input_s_essential" position="absolute 284 11 384 30"/>
  20. <Combo id="cmb_stndflag" taborder="8" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 477 11 577 30" onitemchanged="group6_cmb_stndflag_onitemchanged">
  21. <Dataset id="innerdataset">
  22. <ColumnInfo>
  23. <Column id="codecolumn"/>
  24. <Column id="datacolumn"/>
  25. </ColumnInfo>
  26. <Rows>
  27. <Row>
  28. <Col id="codecolumn">dschdd</Col>
  29. <Col id="datacolumn">퇴원일</Col>
  30. </Row>
  31. <Row>
  32. <Col id="codecolumn">inrmdd</Col>
  33. <Col id="datacolumn">입원일</Col>
  34. </Row>
  35. <Row>
  36. <Col id="codecolumn">indeptcd</Col>
  37. <Col id="datacolumn">입원과</Col>
  38. </Row>
  39. <Row>
  40. <Col id="codecolumn">dschdeptcd</Col>
  41. <Col id="datacolumn">퇴원과</Col>
  42. </Row>
  43. <Row>
  44. <Col id="codecolumn">indrid</Col>
  45. <Col id="datacolumn">입원주치의</Col>
  46. </Row>
  47. <Row>
  48. <Col id="codecolumn">dschdrid</Col>
  49. <Col id="datacolumn">퇴원주치의</Col>
  50. </Row>
  51. </Rows>
  52. </Dataset>
  53. </Combo>
  54. </Layout>
  55. </Layouts>
  56. </Div>
  57. <Shape id="line19" class="line_10" position="absolute 0 85 1194 91"/>
  58. <Grid id="grd_dschanalylist" taborder="4" binddataset="ds_main_dschanalyinfo_dschanalylist" useinputpanel="false" position="absolute 0 90 1195 745" anchor="all" onexpanddown="grd_dschanalylist_onexpanddown" autoenter="select" cellsizingtype="col">
  59. <Formats>
  60. <Format id="default">
  61. <Columns>
  62. <Column size="26"/>
  63. <Column size="70"/>
  64. <Column size="64"/>
  65. <Column size="74"/>
  66. <Column size="74"/>
  67. <Column size="105"/>
  68. <Column size="105"/>
  69. <Column size="70"/>
  70. <Column size="70"/>
  71. <Column size="74"/>
  72. <Column size="74"/>
  73. <Column size="105"/>
  74. <Column size="105"/>
  75. <Column size="70"/>
  76. <Column size="70"/>
  77. <Column size="17"/>
  78. <Column size="0"/>
  79. <Column size="0"/>
  80. <Column size="0"/>
  81. <Column size="0"/>
  82. <Column size="0"/>
  83. <Column size="0"/>
  84. <Column size="0"/>
  85. <Column size="0"/>
  86. <Column size="0"/>
  87. <Column size="0"/>
  88. </Columns>
  89. <Rows>
  90. <Row size="24" band="head"/>
  91. <Row size="24" band="head"/>
  92. <Row size="24"/>
  93. </Rows>
  94. <Band id="head">
  95. <Cell rowspan="2" taborder="undefined"/>
  96. <Cell col="1" rowspan="2" text="환자번호" taborder="undefined"/>
  97. <Cell col="2" rowspan="2" text="환자성명" taborder="undefined"/>
  98. <Cell col="3" colspan="6" text="원무" taborder="undefined"/>
  99. <Cell col="9" colspan="6" text="퇴원분석" taborder="undefined"/>
  100. <Cell col="15"/>
  101. <Cell col="16" text="inpt_indeptcd"/>
  102. <Cell col="17" text="inpt_dschdeptcd"/>
  103. <Cell col="18" text="inpt_indrid"/>
  104. <Cell col="19" text="inpt_dschdrid"/>
  105. <Cell col="20" text="dsam_indeptcd"/>
  106. <Cell col="21" text="dsam_dschdeptcd"/>
  107. <Cell col="22" text="dsam_indrid"/>
  108. <Cell col="23" text="dsam_dschdrid"/>
  109. <Cell col="24" text="indd"/>
  110. <Cell col="25" text="cretno"/>
  111. <Cell row="1" col="3" text="입원일자"/>
  112. <Cell row="1" col="4" text="퇴원일자"/>
  113. <Cell row="1" col="5" text="입원과"/>
  114. <Cell row="1" col="6" text="퇴원과"/>
  115. <Cell row="1" col="7" text="입원주치의"/>
  116. <Cell row="1" col="8" text="퇴원주치의"/>
  117. <Cell row="1" col="9" text="입원일자"/>
  118. <Cell row="1" col="10" text="퇴원일자"/>
  119. <Cell row="1" col="11" text="입원과"/>
  120. <Cell row="1" col="12" text="퇴원과"/>
  121. <Cell row="1" col="13" text="입원주치의"/>
  122. <Cell row="1" col="14" text="퇴원주치의"/>
  123. <Cell row="1" col="15" text="☞"/>
  124. <Cell row="1" col="16" text="inpt_indeptcd"/>
  125. <Cell row="1" col="17" text="inpt_dschdeptcd"/>
  126. <Cell row="1" col="18" text="inpt_indrid"/>
  127. <Cell row="1" col="19" text="inpt_dschdrid"/>
  128. <Cell row="1" col="20" text="dsam_indeptcd"/>
  129. <Cell row="1" col="21" text="dsam_dschdeptcd"/>
  130. <Cell row="1" col="22" text="dsam_indrid"/>
  131. <Cell row="1" col="23" text="dsam_dschdrid"/>
  132. <Cell row="1" col="24" text="indd"/>
  133. <Cell row="1" col="25" text="cretno"/>
  134. </Band>
  135. <Band id="body">
  136. <Cell celltype="head" expr="currow+1"/>
  137. <Cell col="1" text="bind:pid"/>
  138. <Cell col="2" text="bind:hngnm"/>
  139. <Cell col="3" displaytype="date" text="bind:inpt_inrmdd" calendardisplaynulltype="nulltext"/>
  140. <Cell col="4" displaytype="date" text="bind:inpt_dschdd" calendardisplaynulltype="nulltext"/>
  141. <Cell col="5" style="align:left middle;" text="bind:inpt_indeptnm"/>
  142. <Cell col="6" style="align:left middle;" text="bind:inpt_dschdeptnm"/>
  143. <Cell col="7" text="bind:inpt_indrnm"/>
  144. <Cell col="8" text="bind:inpt_dschdrnm"/>
  145. <Cell col="9" displaytype="date" text="bind:dsam_inrmdd" calendardisplaynulltype="nulltext"/>
  146. <Cell col="10" displaytype="date" text="bind:dsam_dschdd" calendardisplaynulltype="nulltext"/>
  147. <Cell col="11" style="align:left middle;" text="bind:dsam_indeptnm"/>
  148. <Cell col="12" style="align:left middle;" text="bind:dsam_dschdeptnm"/>
  149. <Cell col="13" text="bind:dsam_indrnm"/>
  150. <Cell col="14" text="bind:dsam_dschdrnm"/>
  151. <Cell col="15" displaytype="text" edittype="expand" text="bind:dschanalylink" editautoselect="true" expandshow="show"/>
  152. <Cell col="16" text="bind:inpt_indeptcd"/>
  153. <Cell col="17" text="bind:inpt_dschdeptcd"/>
  154. <Cell col="18" text="bind:inpt_indrid"/>
  155. <Cell col="19" text="bind:inpt_dschdrid"/>
  156. <Cell col="20" text="bind:dsam_indeptcd"/>
  157. <Cell col="21" text="bind:dsam_dschdeptcd"/>
  158. <Cell col="22" text="bind:dsam_indrid"/>
  159. <Cell col="23" text="bind:dsam_dschdrid"/>
  160. <Cell col="24" text="bind:indd"/>
  161. <Cell col="25" text="bind:cretno"/>
  162. </Band>
  163. </Format>
  164. </Formats>
  165. </Grid>
  166. <Button id="btn_excel" taborder="5" text="엑셀" class="btn7" visible="false" position="absolute 1144 66 1194 85" anchor="top right" onclick="btn_excel_onclick"/>
  167. </Layout>
  168. </Layouts>
  169. <Objects>
  170. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  171. <ColumnInfo>
  172. <Column id="fromdd" type="STRING" size="256"/>
  173. <Column id="todd" type="STRING" size="256"/>
  174. <Column id="stndflag" type="STRING" size="256"/>
  175. </ColumnInfo>
  176. <Rows>
  177. <Row>
  178. <Col id="fromdd"/>
  179. <Col id="todd"/>
  180. <Col id="stndflag"/>
  181. </Row>
  182. </Rows>
  183. </Dataset>
  184. <Dataset id="ds_main_dschanalyinfo_dschanalylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  185. <ColumnInfo>
  186. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  187. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  188. <Column id="inpt_inrmdd" type="STRING" size="256" sumtext="입원일자(원무)"/>
  189. <Column id="inpt_dschdd" type="STRING" size="256" sumtext="퇴원일자(원무)"/>
  190. <Column id="inpt_indeptnm" type="STRING" size="256" sumtext="입원과(원무)"/>
  191. <Column id="inpt_dschdeptnm" type="INT" size="256" sumtext="퇴원과(원무)"/>
  192. <Column id="inpt_indrnm" type="STRING" size="256" sumtext="입원주치의(원무)"/>
  193. <Column id="inpt_dschdrnm" type="STRING" size="256" sumtext="퇴원주치의(원무)"/>
  194. <Column id="dsam_inrmdd" type="STRING" size="256" sumtext="입원일자(퇴원분석)"/>
  195. <Column id="dsam_dschdd" type="STRING" size="256" sumtext="퇴원일자(퇴원분석)"/>
  196. <Column id="dsam_indeptnm" type="INT" size="256" sumtext="입원과(퇴원분석)"/>
  197. <Column id="dsam_dschdeptnm" type="STRING" size="256" sumtext="퇴원과(퇴원분석)"/>
  198. <Column id="dsam_indrnm" type="STRING" size="256" sumtext="입원주치의(퇴원분석)"/>
  199. <Column id="dsam_dschdrnm" type="STRING" size="256" sumtext="퇴원주치의(퇴원분석)"/>
  200. <Column id="dschanalylink" type="BIGDECIMAL" size="256" sumtext="퇴원분석링크"/>
  201. <Column id="inpt_indeptcd" type="STRING" size="256" sumtext="입원과코드(원무)"/>
  202. <Column id="inpt_dschdeptcd" type="STRING" size="256" sumtext="퇴원과코드(원무)"/>
  203. <Column id="inpt_indrid" type="STRING" size="256" sumtext="입원주치의ID(원무)"/>
  204. <Column id="inpt_dschdrid" type="STRING" size="256" sumtext="퇴원주치의ID(원무)"/>
  205. <Column id="dsam_indeptcd" type="STRING" size="256" sumtext="입원과코드(퇴원분석)"/>
  206. <Column id="dsam_dschdeptcd" type="STRING" size="256" sumtext="퇴원과코드(퇴원분석)"/>
  207. <Column id="dsam_indrid" type="STRING" size="256" sumtext="입원주치의ID(퇴원분석)"/>
  208. <Column id="dsam_dschdrid" type="STRING" size="256" sumtext="퇴원주치의ID(퇴원분석)"/>
  209. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  210. <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
  211. </ColumnInfo>
  212. </Dataset>
  213. </Objects>
  214. <Bind>
  215. <BindItem id="item0" compid="group6.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  216. <BindItem id="item1" compid="group6.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  217. <BindItem id="item2" compid="group6.cmb_stndflag" propid="value" datasetid="ds_main_cond" columnid="stndflag"/>
  218. </Bind>
  219. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  220. * System Name :
  221. * Job Name :
  222. * Creator :
  223. * Make Date : 2015-11-13
  224. * Description :
  225. *---------------------------------------------------------------------------------------
  226. * Modify Date Modifier Modify Description
  227. *---------------------------------------------------------------------------------------
  228. * 2015-11-13 Live Converter TF->XP
  229. *
  230. *---------------------------------------------------------------------------------------
  231. ****************************************************************************************/
  232. include "com_commonxp::comm_main.xjs";
  233. function SMMRD00300_oninit(obj:Form, e:InitEventInfo)
  234. {
  235. frmf_initForm(obj);
  236. }
  237. function SMMRD00300_onload(obj:Form, e:LoadEventInfo)
  238. {
  239. grdf_initGrid(grd_dschanalylist);
  240. fInitialize();
  241. }
  242. function fInitialize()
  243. {
  244. ds_main_cond.setColumn(0, "fromdd",utlf_getCurrentDate());
  245. ds_main_cond.setColumn(0, "todd",utlf_getCurrentDate());
  246. ds_main_cond.setColumn(0, "stndflag","dschdd");
  247. fSearch();
  248. }
  249. function fSearch()
  250. {
  251. var oParam = {};
  252. oParam.id = "TRMRC00301";
  253. oParam.service = "dschanalyapp.DschAnaly";
  254. oParam.method = "reqGetDschAnalyDifList";
  255. oParam.inds = "req=ds_main_cond";
  256. oParam.outds = "ds_main_dschanalyinfo_dschanalylist=dschanalylist";
  257. oParam.async = false;
  258. //oParam.callback = "cf_TRMRC00301";
  259. tranf_submit(oParam);
  260. }
  261. function group6_cmb_stndflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  262. {
  263. fSearch();
  264. }
  265. function group6_btn_srch_onclick(obj:Button, e:ClickEventInfo)
  266. {
  267. fSearch();
  268. }
  269. function grd_dschanalylist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  270. {
  271. var iRow = ds_main_dschanalyinfo_dschanalylist.rowposition;
  272. frmf_setParameter("SMMRD00400_param_pid", ds_main_dschanalyinfo_dschanalylist.getColumn(iRow, "pid"));
  273. frmf_setParameter("SMMRD00400_param_dschdd", ds_main_dschanalyinfo_dschanalylist.getColumn(iRow, "dsam_dschdd"));
  274. frmf_modal("SMMRD00400", "SMMRD00400", "", "", "", "", "", "", "", "", "", "", "M");
  275. }
  276. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  277. {
  278. grdf_exportExcel(grd_dschanalylist, "퇴원분석 오차점검", "SheetName", "true", "", "");
  279. }
  280. function btn_comrec_onclick(obj:Button, e:ClickEventInfo)
  281. {
  282. var iRow = ds_main_dschanalyinfo_dschanalylist.rowposition;
  283. if(iRow < 0)
  284. {
  285. sysf_messageBox("환자를 선택","I008");
  286. return;
  287. }
  288. frmf_setParameter("SMMRI00400_param_pid", ds_main_dschanalyinfo_dschanalylist.getColumn(iRow, "pid"));
  289. frmf_setParameter("SMMRI00400_param_chosflag", "I");
  290. frmf_open("SMMRI00400", "SMMRI00400", "", "", "", "", "", "", "", "", "", "", "M");
  291. }
  292. function button10_onclick(obj:Button, e:ClickEventInfo)
  293. {
  294. }
  295. ]]></Script>
  296. </Form>
  297. </FDL>