SMPMI04100_유형변경대상조회.xfdl 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPMI04100" position="absolute 0 0 1280 1024" titletext="유형변경대상조회" onload="SMPMI04100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="cap_title" class="tit_1" position="absolute 0 0 153 25" text="유형변경대상조회"/>
  8. <Static id="caption7" class="tit_2" position="absolute 0 80 85 98" style="font:,,bold;" text="조회 내역"/>
  9. <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 29 1236 70" style="border: solid #ffd799 #ffd799;background:#fffbf2 ;"/>
  10. <Button id="btn_search" class="btn1" taborder="1" position="absolute 1162 39 1218 61" text="조회" onclick="btn_search_onclick"/>
  11. <Shape id="line13" linetype="vertical" position="absolute 1152 36 1155 63" style="border: solid #FFD799 #FFD799;" anchor="default"/>
  12. <Button id="btn_excel" class="btn2_letter4" position="absolute 1163 78 1227 97" style="" text="엑셀저장" onclick="btn_excel_onclick" taborder="2"/>
  13. <Grid id="grd_checklist" binddataset="ds_checklist" position="absolute 0 104 1236 765" style="align:center ;" taborder="3">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="27"/>
  18. <Column size="70"/>
  19. <Column size="70"/>
  20. <Column size="90"/>
  21. <Column size="60"/>
  22. <Column size="60"/>
  23. <Column size="120"/>
  24. <Column size="120"/>
  25. <Column size="60"/>
  26. <Column size="60"/>
  27. <Column size="80"/>
  28. <Column size="80"/>
  29. <Column size="140"/>
  30. <Column size="120"/>
  31. <Column size="80"/>
  32. <Column size="80"/>
  33. <Column size="80"/>
  34. </Columns>
  35. <Rows>
  36. <Row size="24" band="head"/>
  37. <Row size="24" band="head"/>
  38. <Row size="24"/>
  39. </Rows>
  40. <Band id="head">
  41. <Cell rowspan="2" taborder="undefined"/>
  42. <Cell col="1" rowspan="2" text="등록번호" taborder="undefined"/>
  43. <Cell col="2" rowspan="2" text="성명" taborder="undefined"/>
  44. <Cell col="3" rowspan="2" text="입원일" taborder="undefined"/>
  45. <Cell col="4" rowspan="2" text="구분" taborder="undefined"/>
  46. <Cell col="5" rowspan="2" text="상태" taborder="undefined"/>
  47. <Cell col="6" colspan="2" text="보험유형" taborder="undefined"/>
  48. <Cell col="8" colspan="2" text="장애구분" taborder="undefined"/>
  49. <Cell col="10" rowspan="2" colspan="2" text="유형이력" taborder="undefined"/>
  50. <Cell col="12" rowspan="2" text="비고" taborder="undefined"/>
  51. <Cell col="13" rowspan="2" text="진료과" taborder="undefined"/>
  52. <Cell col="14" rowspan="2" text="주치의" taborder="undefined"/>
  53. <Cell col="15" rowspan="2" colspan="2" text="재원이력" taborder="undefined"/>
  54. <Cell row="1" col="6" text="재원"/>
  55. <Cell row="1" col="7" text="자격조회"/>
  56. <Cell row="1" col="8" text="재원"/>
  57. <Cell row="1" col="9" text="자격조회"/>
  58. </Band>
  59. <Band id="body">
  60. <Cell celltype="head" text="expr:currow+1"/>
  61. <Cell col="1" text="bind:pid"/>
  62. <Cell col="2" text="bind:hngnm"/>
  63. <Cell col="3" displaytype="date" edittype="date" text="bind:indd" mask="yyyy-MM-dd"/>
  64. <Cell col="4" displaytype="combo" edittype="combo" style="align:center;" text="bind:mskind" combodataset="ds_init_mskind" combocodecol="cd" combodatacol="nm"/>
  65. <Cell col="5" displaytype="combo" edittype="combo" style="align:center;" text="bind:indschacptstat" combodataset="ds_init_P0019list" combocodecol="cdid" combodatacol="cdnm"/>
  66. <Cell col="6" displaytype="combo" edittype="combo" style="align:center;" text="bind:insukind_iphs" combodataset="ds_init_insukind" combocodecol="cd" combodatacol="nm"/>
  67. <Cell col="7" displaytype="combo" edittype="combo" style="align:center;background:EXPR(fSetInsukindColor(currow));background2:EXPR(fSetInsukindColor(currow));selectbackground:EXPR(fSetInsukindColor(currow));" text="bind:insukind_msg2" combodataset="ds_init_insukind" combocodecol="cd" combodatacol="nm"/>
  68. <Cell col="8" style="align:center middle;" text="bind:handicapyn_iphs"/>
  69. <Cell col="9" style="align:center middle;background:EXPR(fSetHandicapynColor(currow));background2:EXPR(fSetHandicapynColor(currow));selectbackground:EXPR(fSetHandicapynColor(currow));" text="bind:handicapyn_msg2"/>
  70. <Cell col="10" displaytype="date" edittype="date" text="bind:fromdd_iphs" mask="yyyy-MM-dd"/>
  71. <Cell col="11" displaytype="date" edittype="date" text="bind:todd_iphs" mask="yyyy-MM-dd"/>
  72. <Cell col="12" style="align:center middle;padding:0 0 0 0;font:arial,9,bold;" text="bind:remfact"/>
  73. <Cell col="13" displaytype="combo" edittype="combo" style="align:center;" text="bind:orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
  74. <Cell col="14" displaytype="combo" edittype="combo" style="align:center;" text="bind:medispclid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
  75. <Cell col="15" displaytype="date" edittype="date" style="align:center middle;" text="bind:fromdd_icdr" mask="yyyy-MM-dd"/>
  76. <Cell col="16" displaytype="date" edittype="date" style="align:center middle;" text="bind:todd_icdr" mask="yyyy-MM-dd"/>
  77. </Band>
  78. </Format>
  79. </Formats>
  80. </Grid>
  81. <Static id="caption1" class="search_name" position="absolute 13 41 104 58" style="" text="조회기준일 :"/>
  82. <Shape id="Shape00" position="absolute 0 100 1236 105" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
  83. <Calendar id="ipt_basedd" taborder="0" position="absolute 101 39 192 59" dateformat="yyyy-MM-dd" value="null"/>
  84. <Static id="Static00" text="※ 기준일자에 해당하는 재원정보에 대해 자격을 조회 및 비교합니다. (현재일자 재원환자 기준)" position="absolute 203 40 738 60" onclick="Static00_onclick"/>
  85. <Shape id="Shape01" position="absolute 118 80 132 95" style="strokepen:0 solid #9ebed4ff;background:#6ee3f7ff;"/>
  86. <Shape id="Shape02" position="absolute 208 80 222 95" style="strokepen:0 solid #9ebed4ff;background:#86e57fff;"/>
  87. <Shape id="Shape03" position="absolute 312 80 326 95" style="strokepen:0 solid #9ebed4ff;background:#47c83eff;"/>
  88. <Static id="Static01" text="건강보험" position="absolute 138 78 192 98" onclick="Static01_onclick"/>
  89. <Static id="Static02" text="의료급여1종" onclick="Static01_onclick" position="absolute 228 78 302 98"/>
  90. <Static id="Static03" text="의료급여2종" onclick="Static01_onclick" position="absolute 332 78 401 98"/>
  91. <Shape id="Shape04" position="absolute 423 80 437 95" style="strokepen:0 solid #9ebed4ff;background:#ffb2f5ff;"/>
  92. <Static id="Static04" text="장애인" onclick="Static01_onclick" position="absolute 443 78 512 98"/>
  93. <CheckBox id="chk_dschyn" taborder="4" text="퇴원환자 포함" position="absolute 1010 39 1110 59" falsevalue="N" value="N" truevalue="Y"/>
  94. </Layout>
  95. </Layouts>
  96. <Objects>
  97. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  98. <ColumnInfo>
  99. <Column id="basedd" type="STRING" size="256"/>
  100. <Column id="dschyn" type="STRING" size="256"/>
  101. </ColumnInfo>
  102. <Rows>
  103. <Row/>
  104. </Rows>
  105. </Dataset>
  106. <Dataset id="ds_checklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  107. <ColumnInfo>
  108. <Column id="pid" type="STRING" size="256"/>
  109. <Column id="hngnm" type="STRING" size="256"/>
  110. <Column id="indd" type="STRING" size="256"/>
  111. <Column id="mskind" type="STRING" size="256"/>
  112. <Column id="cretno" type="STRING" size="256"/>
  113. <Column id="orddeptcd" type="STRING" size="256"/>
  114. <Column id="medispclid" type="STRING" size="256"/>
  115. <Column id="insukind_iphs" type="STRING" size="256"/>
  116. <Column id="insukind_msg2" type="STRING" size="256"/>
  117. <Column id="remfact" type="STRING" size="256"/>
  118. <Column id="fromdd_iphs" type="STRING" size="256"/>
  119. <Column id="todd_iphs" type="STRING" size="256"/>
  120. <Column id="handicapyn_iphs" type="STRING" size="256"/>
  121. <Column id="handicapyn_msg2" type="STRING" size="256"/>
  122. <Column id="fromdd_icdr" type="STRING" size="256"/>
  123. <Column id="todd_icdr" type="STRING" size="256"/>
  124. <Column id="indschacptstat" type="STRING" size="256"/>
  125. </ColumnInfo>
  126. </Dataset>
  127. <Dataset id="ds_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  128. <ColumnInfo>
  129. <Column id="nm" type="STRING"/>
  130. <Column id="cd" type="STRING"/>
  131. </ColumnInfo>
  132. </Dataset>
  133. <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  134. <ColumnInfo>
  135. <Column id="nm" type="STRING"/>
  136. <Column id="cd" type="STRING"/>
  137. </ColumnInfo>
  138. </Dataset>
  139. <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  140. <ColumnInfo>
  141. <Column id="nm" type="STRING"/>
  142. <Column id="cd" type="STRING"/>
  143. </ColumnInfo>
  144. </Dataset>
  145. <Dataset id="ds_init_P0019list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  146. <ColumnInfo>
  147. <Column id="cdnm" type="STRING"/>
  148. <Column id="cdid" type="STRING"/>
  149. </ColumnInfo>
  150. </Dataset>
  151. <Dataset id="ds_init_mskind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  152. <ColumnInfo>
  153. <Column id="nm" type="STRING" size="256"/>
  154. <Column id="cd" type="STRING" size="256"/>
  155. </ColumnInfo>
  156. <Rows>
  157. <Row>
  158. <Col id="nm">주유형</Col>
  159. <Col id="cd">M</Col>
  160. </Row>
  161. <Row>
  162. <Col id="nm">부유형</Col>
  163. <Col id="cd">S</Col>
  164. </Row>
  165. </Rows>
  166. </Dataset>
  167. </Objects>
  168. <Bind>
  169. <BindItem id="item0" compid="ipt_basedd" propid="value" datasetid="ds_send" columnid="basedd"/>
  170. <BindItem id="item1" compid="chk_dschyn" propid="value" datasetid="ds_send" columnid="dschyn"/>
  171. </Bind>
  172. <Script type="xscript4.0"><![CDATA[include 'com_commonxp::comm_main.xjs';
  173. function SMPMI04100_onload(obj:Form, e:LoadEventInfo) {
  174. frmf_initForm(obj);
  175. ds_send.setColumn( 0, "basedd", utlf_getCurrentDate());
  176. ds_init_insukind.clearData();
  177. ds_init_insukind.addRow();
  178. ds_init_orddeptcd.clearData();
  179. ds_init_orddeptcd.addRow();
  180. var oParam = {};
  181. oParam.id = "TRPMI00106";
  182. oParam.service = "pamcomnapp.PamComn";
  183. oParam.method = "reqGetComCD";
  184. oParam.inds = "req=ds_send";
  185. oParam.outds = "ds_init_insukind=insukind ds_init_orddeptcd=orddeptcd ds_init_orddrid=orddrid";
  186. oParam.async = false;
  187. //oParam.callback = "cf_TRPMI00106";
  188. tranf_submit(oParam);
  189. // 공통코드 조회
  190. appf_getCodeList([
  191. { dsNm: 'ds_init_P0019list', cdGrpId: 'P0019' }
  192. ]);
  193. }
  194. function btn_search_onclick(obj:Button, e:ClickEventInfo) {
  195. var oParam = {};
  196. oParam.id = "TRPMI04101";
  197. oParam.service = "ipatmngtapp.InReport";
  198. oParam.method = "reqGetInsukindCheckList";
  199. oParam.inds = "req=ds_send";
  200. oParam.outds = "ds_checklist=checklist";
  201. oParam.async = false;
  202. //oParam.callback = "cf_TRPMI01705";
  203. tranf_submit(oParam);
  204. }
  205. // 그리드 배경색 동적처리_보험유형
  206. function fSetInsukindColor(row) {
  207. var color = "";
  208. if (!utlf_isNull(ds_checklist.getColumn(row, "insukind_msg2"))
  209. && ds_checklist.getColumn(row, "insukind_iphs") != ds_checklist.getColumn(row, "insukind_msg2")) {
  210. if (ds_checklist.getColumn(row, "insukind_msg2") == "11") {
  211. color = "#6EE3F7";
  212. } else if (ds_checklist.getColumn(row, "insukind_msg2") == "21") {
  213. color = "#86E57F";
  214. } else {
  215. color = "#47C83E";
  216. }
  217. }
  218. return color;
  219. }
  220. // 그리드 배경색 동적처리_장애인구분
  221. function fSetHandicapynColor(row) {
  222. var color = "";
  223. if (!utlf_isNull(ds_checklist.getColumn(row, "handicapyn_msg2"))
  224. && ds_checklist.getColumn(row, "handicapyn_iphs") != ds_checklist.getColumn(row, "handicapyn_msg2")) {
  225. color = "#FFB2F5";
  226. }
  227. return color;
  228. }
  229. // 엑셀저장
  230. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  231. {
  232. grdf_exportExcel(grd_checklist, "유형변경 대상자", "SheetName", true, null, false);
  233. }
  234. ]]></Script>
  235. </Form>
  236. </FDL>