SPPIJ04500_KDRG전문질병군조회.xfdl 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPIJ04500" position="absolute 0 0 976 656" titletext="전문질병군조회" onload="SPPIJ04500_onload" oninit="SPPIJ04500_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 20 975 624" style="" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Grid id="grd_drgalist" binddataset="ds_main_drgalist" class="datagrid3" position="absolute 0 74 975 604" style="" anchor="all" autofittype="col">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="30"/>
  15. <Column size="0"/>
  16. <Column size="60"/>
  17. <Column size="270"/>
  18. <Column size="270"/>
  19. <Column size="50"/>
  20. <Column size="71"/>
  21. <Column size="200"/>
  22. </Columns>
  23. <Rows>
  24. <Row size="23" band="head"/>
  25. <Row size="23"/>
  26. </Rows>
  27. <Band id="head">
  28. <Cell/>
  29. <Cell col="1" text="INSTCD"/>
  30. <Cell col="2" text="상병"/>
  31. <Cell col="3" text="상병명"/>
  32. <Cell col="4" text="상병영문명"/>
  33. <Cell col="5" text="MDC"/>
  34. <Cell col="6" text="KADRG번호"/>
  35. <Cell col="7" text="KADRG명" taborder="undefined"/>
  36. </Band>
  37. <Band id="body">
  38. <Cell celltype="head" text="expr:currow+1"/>
  39. <Cell col="1" style="align:left middle;" text="bind:instcd"/>
  40. <Cell col="2" displaytype="text" style="align:center middle;padding:0 0 0 2;" text="bind:diagcd"/>
  41. <Cell col="3" style="align:left middle;" text="bind:diagnm"/>
  42. <Cell col="4" style="align:left middle;" text="bind:diagengnm"/>
  43. <Cell col="5" text="bind:mdc"/>
  44. <Cell col="6" style="align:left middle;" text="bind:kadrg"/>
  45. <Cell col="7" style="align:left middle;" text="bind:kadrgnm"/>
  46. </Band>
  47. </Format>
  48. </Formats>
  49. </Grid>
  50. <Static id="cap_judgtrgtman" class="tit_2" position="absolute 0 53 238 70" style="" text="전문질병군(주상병만 유효)조회" anchor="default"/>
  51. <Div id="group1" position="absolute 0 5 975 45" style="align: top;" anchor="left top right" class="div_SA">
  52. <Layouts>
  53. <Layout>
  54. <Button id="btn_select" class="btn1" taborder="3" position="absolute 909 10 965 32" style="" text="조회" onclick="grp_biz_group1_btn_select_onclick" anchor="top right"/>
  55. <Shape id="line3" class="line_4" linetype="vertical" position="absolute 899 9 902 32" style="" anchor="top right"/>
  56. <Edit id="ipt_drgno" position="absolute 381 11 441 30" style="" anchor="left top" onkeypress="grp_biz_group1_ipt_drgno_onkeypress" onkeydown="grp_biz_group1_ipt_drgno_onkeydown" imemode="alpha" inputmode="upper" taborder="0"/>
  57. <Static id="caption30" class="search_name" position="absolute 8 12 81 29" style="" text="상병코드 :" anchor="left top"/>
  58. <Static id="caption1" class="search_name" position="absolute 447 12 526 29" style="" text="상병명 :" anchor="left top" onclick="grp_biz_group1_caption1_onclick"/>
  59. <Edit id="ipt_hngnm" position="absolute 507 11 642 30" style="" anchor="left top" onkeypress="grp_biz_group1_ipt_hngnm_onkeypress" onkeydown="grp_biz_group1_ipt_hngnm_onkeydown" imemode="hangul" taborder="1"/>
  60. <Static id="caption2" class="search_name" position="absolute 151 12 231 29" style="" text="MDC번호 :" anchor="left top"/>
  61. <Static id="caption00" text="KDRG코드 :" class="search_name" position="absolute 297 12 395 29" anchor="left top"/>
  62. <Edit id="ipt_drgno00" taborder="5" imemode="alpha" inputmode="upper" onkeydown="grp_biz_group1_ipt_drgno_onkeydown" position="absolute 230 11 290 30" anchor="left top" onkeypress="grp_biz_group1_ipt_drgno_onkeypress"/>
  63. <Edit id="ipt_drgno01" taborder="6" imemode="alpha" inputmode="upper" onkeydown="grp_biz_group1_ipt_drgno_onkeydown" position="absolute 83 11 143 30" anchor="left top" onkeypress="grp_biz_group1_ipt_drgno_onkeypress"/>
  64. <Static id="caption03" text="상병영문명 :" class="search_name" position="absolute 648 12 744 29" anchor="left top"/>
  65. <Edit id="ipt_hngnm00" taborder="7" imemode="alpha" onkeydown="grp_biz_group1_ipt_hngnm_onkeydown" position="absolute 735 11 891 30" anchor="left top" onkeypress="grp_biz_group1_ipt_hngnm_onkeypress"/>
  66. </Layout>
  67. </Layouts>
  68. </Div>
  69. <Button id="btn_excelsave" class="btn7" position="absolute 896 47 975 69" style="" text="엑셀저장" onclick="grp_biz_btn_excelsave_onclick" anchor="top right"/>
  70. <Shape id="line2" class="line_10" position="absolute 0 68 975 77"/>
  71. <Static id="cap_memt" text="※ 수술 또는 처치를 한 경우는 질병군 분류가 달라질 수 있음" position="absolute 237 50 657 70" style="color:red;font:Dotum,10,bold;"/>
  72. </Layout>
  73. </Layouts>
  74. </Div>
  75. <Button id="btn_cancel" class="btn4" position="absolute 919 629 975 651" style="" text="종료" anchor="right bottom" onclick="btn_cancel_onclick"/>
  76. <Static id="cap_title" text="전문질병군(주상병만 유효)조회" class="tit_1" position="absolute 0 0 216 25"/>
  77. </Layout>
  78. </Layouts>
  79. <Objects>
  80. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  81. <ColumnInfo>
  82. <Column id="instcd" type="STRING" size="256"/>
  83. <Column id="diagcd" type="STRING" size="256"/>
  84. <Column id="mdc" type="STRING" size="256"/>
  85. <Column id="kadrg" type="STRING" size="256"/>
  86. <Column id="kadrgnm" type="STRING" size="256"/>
  87. <Column id="diagnm" type="STRING" size="256"/>
  88. <Column id="diagengnm" type="STRING" size="256"/>
  89. </ColumnInfo>
  90. <Rows>
  91. <Row/>
  92. </Rows>
  93. </Dataset>
  94. <Dataset id="ds_main_drgalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  95. <ColumnInfo>
  96. <Column id="drga" type="STRING" size="256"/>
  97. </ColumnInfo>
  98. <Rows>
  99. <Row>
  100. <Col id="drga"/>
  101. </Row>
  102. </Rows>
  103. </Dataset>
  104. <Dataset id="ds_grd_cmb_drgtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  105. <ColumnInfo>
  106. <Column id="cd" type="STRING" size="256"/>
  107. <Column id="nm" type="STRING" size="256"/>
  108. </ColumnInfo>
  109. <Rows>
  110. <Row>
  111. <Col id="cd">1</Col>
  112. <Col id="nm">전문</Col>
  113. </Row>
  114. <Row>
  115. <Col id="cd">2</Col>
  116. <Col id="nm">일반</Col>
  117. </Row>
  118. <Row>
  119. <Col id="cd">3</Col>
  120. <Col id="nm">단순</Col>
  121. </Row>
  122. </Rows>
  123. </Dataset>
  124. </Objects>
  125. <Bind>
  126. <BindItem id="item0" compid="grp_biz.group1.ipt_drgno" propid="value" datasetid="ds_send" columnid="kadrg"/>
  127. <BindItem id="item1" compid="grp_biz.group1.ipt_hngnm" propid="value" datasetid="ds_send" columnid="diagnm"/>
  128. <BindItem id="item2" compid="grp_biz.group1.ipt_drgno00" propid="value" datasetid="ds_send" columnid="mdc"/>
  129. <BindItem id="item3" compid="grp_biz.group1.ipt_drgno01" propid="value" datasetid="ds_send" columnid="diagcd"/>
  130. <BindItem id="item4" compid="grp_biz.group1.ipt_hngnm00" propid="value" datasetid="ds_send" columnid="diagengnm"/>
  131. </Bind>
  132. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  133. function SPPIJ04500_oninit(obj:Form, e:InitEventInfo)
  134. {
  135. frmf_initForm(obj);
  136. }
  137. function SPPIJ04500_onload(obj:Form, e:LoadEventInfo) {
  138. grdf_initGrid(grp_biz.grd_drgalist);
  139. grdf_setToolTipBind(grp_biz.grd_drgalist);
  140. var drgtype = opener.frmf_getParameter("SPPIJ04000_drgtype");
  141. dsf_makeValue(ds_send, "drgtype", "string", drgtype);
  142. if(drgtype == "1") {
  143. cap_title.text = "전문질병군(주상병만 유효)조회";
  144. grp_biz.cap_judgtrgtman.text = "전문질병군(주상병만 유효)조회";
  145. } else {
  146. cap_title.text = "단순질병군(주상병만 유효)조회";
  147. grp_biz.cap_judgtrgtman.text = "단순질병군(주상병만 유효)조회";
  148. }
  149. // 화면을 초기화한다.
  150. fInitialize();
  151. }
  152. function fInitialize() {
  153. grp_biz.group1.btn_select.click();
  154. }
  155. function fGetDocuList() {
  156. var oParam = {};
  157. oParam.id = "TRPIJ04500";
  158. oParam.service = "bfjudgapp.DRGCdIF";
  159. oParam.method = "reqGetKDrgADiagList";
  160. oParam.inds = "req=ds_send";
  161. oParam.outds = "ds_main_drgalist=rslt";
  162. oParam.async = false;
  163. //oParam.callback = "cf_TRPIJ04400";
  164. tranf_submit(oParam);
  165. }
  166. function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo) {
  167. fGetDocuList();
  168. }
  169. function grp_biz_group1_ipt_drgno_onkeydown(obj:Edit, e:KeyEventInfo) {
  170. if (e.keycode == 13) {
  171. obj.updateToDataset();
  172. fGetDocuList();
  173. }
  174. }
  175. function grp_biz_group1_ipt_hngnm_onkeydown(obj:Edit, e:KeyEventInfo) {
  176. if (e.keycode == 13) {
  177. obj.updateToDataset();
  178. fGetDocuList();
  179. }
  180. }
  181. function grp_biz_group1_cmb_drgtype_onkeydown(obj:Combo, e:KeyEventInfo) {
  182. if (e.keycode == 13) {
  183. obj.updateToDataset();
  184. fGetDocuList();
  185. }
  186. }
  187. function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo) {
  188. if (ds_main_drgalist.rowcount > 0) {
  189. grdf_exportExcel(grp_biz.grd_drgalist, "exportExcel", "see");
  190. } else {
  191. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  192. }
  193. }
  194. function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  195. {
  196. this.close();
  197. }
  198. ]]></Script>
  199. </Form>
  200. </FDL>