123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMI04100" position="absolute 0 0 1280 1024" titletext="유형변경대상조회" onload="SMPMI04100_onload">
- <Layouts>
- <Layout>
- <Static id="cap_title" class="tit_1" position="absolute 0 0 153 25" text="유형변경대상조회"/>
- <Static id="caption7" class="tit_2" position="absolute 0 80 85 98" style="font:,,bold;" text="조회 내역"/>
- <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 29 1236 70" style="border: solid #ffd799 #ffd799;background:#fffbf2 ;"/>
- <Button id="btn_search" class="btn1" taborder="1" position="absolute 1162 39 1218 61" text="조회" onclick="btn_search_onclick"/>
- <Shape id="line13" linetype="vertical" position="absolute 1152 36 1155 63" style="border: solid #FFD799 #FFD799;" anchor="default"/>
- <Button id="btn_excel" class="btn2_letter4" position="absolute 1163 78 1227 97" style="" text="엑셀저장" onclick="btn_excel_onclick" taborder="2"/>
- <Grid id="grd_checklist" binddataset="ds_checklist" position="absolute 0 104 1236 765" style="align:center ;" taborder="3">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="140"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="등록번호" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="성명" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="입원일" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="구분" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="상태" taborder="undefined"/>
- <Cell col="6" colspan="2" text="보험유형" taborder="undefined"/>
- <Cell col="8" colspan="2" text="장애구분" taborder="undefined"/>
- <Cell col="10" rowspan="2" colspan="2" text="유형이력" taborder="undefined"/>
- <Cell col="12" rowspan="2" text="비고" taborder="undefined"/>
- <Cell col="13" rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="14" rowspan="2" text="주치의" taborder="undefined"/>
- <Cell col="15" rowspan="2" colspan="2" text="재원이력" taborder="undefined"/>
- <Cell row="1" col="6" text="재원"/>
- <Cell row="1" col="7" text="자격조회"/>
- <Cell row="1" col="8" text="재원"/>
- <Cell row="1" col="9" text="자격조회"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" displaytype="date" edittype="date" text="bind:indd" mask="yyyy-MM-dd"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="align:center;" text="bind:mskind" combodataset="ds_init_mskind" combocodecol="cd" combodatacol="nm"/>
- <Cell col="5" displaytype="combo" edittype="combo" style="align:center;" text="bind:indschacptstat" combodataset="ds_init_P0019list" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="6" displaytype="combo" edittype="combo" style="align:center;" text="bind:insukind_iphs" combodataset="ds_init_insukind" combocodecol="cd" combodatacol="nm"/>
- <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"/>
- <Cell col="8" style="align:center middle;" text="bind:handicapyn_iphs"/>
- <Cell col="9" style="align:center middle;background:EXPR(fSetHandicapynColor(currow));background2:EXPR(fSetHandicapynColor(currow));selectbackground:EXPR(fSetHandicapynColor(currow));" text="bind:handicapyn_msg2"/>
- <Cell col="10" displaytype="date" edittype="date" text="bind:fromdd_iphs" mask="yyyy-MM-dd"/>
- <Cell col="11" displaytype="date" edittype="date" text="bind:todd_iphs" mask="yyyy-MM-dd"/>
- <Cell col="12" style="align:center middle;padding:0 0 0 0;font:arial,9,bold;" text="bind:remfact"/>
- <Cell col="13" displaytype="combo" edittype="combo" style="align:center;" text="bind:orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="14" displaytype="combo" edittype="combo" style="align:center;" text="bind:medispclid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
- <Cell col="15" displaytype="date" edittype="date" style="align:center middle;" text="bind:fromdd_icdr" mask="yyyy-MM-dd"/>
- <Cell col="16" displaytype="date" edittype="date" style="align:center middle;" text="bind:todd_icdr" mask="yyyy-MM-dd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption1" class="search_name" position="absolute 13 41 104 58" style="" text="조회기준일 :"/>
- <Shape id="Shape00" position="absolute 0 100 1236 105" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
- <Calendar id="ipt_basedd" taborder="0" position="absolute 101 39 192 59" dateformat="yyyy-MM-dd" value="null"/>
- <Static id="Static00" text="※ 기준일자에 해당하는 재원정보에 대해 자격을 조회 및 비교합니다. (현재일자 재원환자 기준)" position="absolute 203 40 738 60" onclick="Static00_onclick"/>
- <Shape id="Shape01" position="absolute 118 80 132 95" style="strokepen:0 solid #9ebed4ff;background:#6ee3f7ff;"/>
- <Shape id="Shape02" position="absolute 208 80 222 95" style="strokepen:0 solid #9ebed4ff;background:#86e57fff;"/>
- <Shape id="Shape03" position="absolute 312 80 326 95" style="strokepen:0 solid #9ebed4ff;background:#47c83eff;"/>
- <Static id="Static01" text="건강보험" position="absolute 138 78 192 98" onclick="Static01_onclick"/>
- <Static id="Static02" text="의료급여1종" onclick="Static01_onclick" position="absolute 228 78 302 98"/>
- <Static id="Static03" text="의료급여2종" onclick="Static01_onclick" position="absolute 332 78 401 98"/>
- <Shape id="Shape04" position="absolute 423 80 437 95" style="strokepen:0 solid #9ebed4ff;background:#ffb2f5ff;"/>
- <Static id="Static04" text="장애인" onclick="Static01_onclick" position="absolute 443 78 512 98"/>
- <CheckBox id="chk_dschyn" taborder="4" text="퇴원환자 포함" position="absolute 1010 39 1110 59" falsevalue="N" value="N" truevalue="Y"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="basedd" type="STRING" size="256"/>
- <Column id="dschyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_checklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="mskind" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="medispclid" type="STRING" size="256"/>
- <Column id="insukind_iphs" type="STRING" size="256"/>
- <Column id="insukind_msg2" type="STRING" size="256"/>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="fromdd_iphs" type="STRING" size="256"/>
- <Column id="todd_iphs" type="STRING" size="256"/>
- <Column id="handicapyn_iphs" type="STRING" size="256"/>
- <Column id="handicapyn_msg2" type="STRING" size="256"/>
- <Column id="fromdd_icdr" type="STRING" size="256"/>
- <Column id="todd_icdr" type="STRING" size="256"/>
- <Column id="indschacptstat" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0019list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_mskind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="nm">주유형</Col>
- <Col id="cd">M</Col>
- </Row>
- <Row>
- <Col id="nm">부유형</Col>
- <Col id="cd">S</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_basedd" propid="value" datasetid="ds_send" columnid="basedd"/>
- <BindItem id="item1" compid="chk_dschyn" propid="value" datasetid="ds_send" columnid="dschyn"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include 'com_commonxp::comm_main.xjs';
- function SMPMI04100_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- ds_send.setColumn( 0, "basedd", utlf_getCurrentDate());
-
- ds_init_insukind.clearData();
- ds_init_insukind.addRow();
-
- ds_init_orddeptcd.clearData();
- ds_init_orddeptcd.addRow();
-
- var oParam = {};
- oParam.id = "TRPMI00106";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_insukind=insukind ds_init_orddeptcd=orddeptcd ds_init_orddrid=orddrid";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI00106";
-
- tranf_submit(oParam);
-
- // 공통코드 조회
- appf_getCodeList([
- { dsNm: 'ds_init_P0019list', cdGrpId: 'P0019' }
- ]);
- }
- function btn_search_onclick(obj:Button, e:ClickEventInfo) {
- var oParam = {};
- oParam.id = "TRPMI04101";
- oParam.service = "ipatmngtapp.InReport";
- oParam.method = "reqGetInsukindCheckList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_checklist=checklist";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI01705";
- tranf_submit(oParam);
- }
- // 그리드 배경색 동적처리_보험유형
- function fSetInsukindColor(row) {
-
- var color = "";
-
- if (!utlf_isNull(ds_checklist.getColumn(row, "insukind_msg2"))
- && ds_checklist.getColumn(row, "insukind_iphs") != ds_checklist.getColumn(row, "insukind_msg2")) {
-
- if (ds_checklist.getColumn(row, "insukind_msg2") == "11") {
- color = "#6EE3F7";
- } else if (ds_checklist.getColumn(row, "insukind_msg2") == "21") {
- color = "#86E57F";
- } else {
- color = "#47C83E";
- }
- }
-
- return color;
- }
- // 그리드 배경색 동적처리_장애인구분
- function fSetHandicapynColor(row) {
-
- var color = "";
-
- if (!utlf_isNull(ds_checklist.getColumn(row, "handicapyn_msg2"))
- && ds_checklist.getColumn(row, "handicapyn_iphs") != ds_checklist.getColumn(row, "handicapyn_msg2")) {
- color = "#FFB2F5";
- }
-
- return color;
- }
- // 엑셀저장
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_checklist, "유형변경 대상자", "SheetName", true, null, false);
- }
- ]]></Script>
- </Form>
- </FDL>
|