123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPMC03902" position="absolute 0 0 1196 780" titletext="환자 자격 조회 내역" oninit="SPPMC03902_oninit" onload="SPPMC03902_onload">
- <Layouts>
- <Layout>
- <Div id="roundrect1" taborder="12" position="absolute -1 25 1195 65" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption17" text="등록번호 :" class="search_name" position="absolute 5 13 76 30" anchor="left top"/>
- <Edit id="ipt_pid" taborder="1" onkeydown="inp_pid_onkeydown" class="input_search" position="absolute 82 12 168 31" style="align:left middle;font:Dotum,9,bold;" anchor="left top" autoselect="true"/>
- <Button id="btn_pid" taborder="2" onclick="btn_pid_onclick" class="icon_search" position="absolute 175 13 191 29" anchor="left top"/>
- <Static id="caption9" text="-" position="absolute 331 13 341 32" anchor="left top"/>
- <CheckBox id="chk_ordflag" taborder="3" text="진료일:" onclick="chk_ordflag_onclick" position="absolute 418 13 479 28" anchor="left top" style="font:Dotum,9,bold;"/>
- <Calendar id="ipt_ordfromdd" taborder="4" autoselect="true" oneditclick="ipt_ordfromdd_oneditclick" class="input_search" enable="false" position="absolute 482 12 567 31" anchor="left top"/>
- <Static id="caption2" text="~" position="absolute 567 15 582 30" anchor="left top"/>
- <Calendar id="ipt_ordtodd" taborder="5" class="input_search" enable="false" position="absolute 581 12 666 31" anchor="left top"/>
- <CheckBox id="chk_srchflag" taborder="6" text="조회일:" onclick="chk_srchflag_onclick" position="absolute 705 13 775 28" anchor="left top" style="font:Dotum,9,bold;"/>
- <Calendar id="ipt_srchfromdd" taborder="7" oneditclick="ipt_srchfromdd_oneditclick" class="input_search" enable="false" position="absolute 777 12 862 31" anchor="left top"/>
- <Static id="caption4" text="~" position="absolute 863 15 872 30" anchor="left top"/>
- <Calendar id="ipt_srchtodd" taborder="8" class="input_search" enable="false" position="absolute 877 12 962 31" anchor="left top"/>
- <Button id="btn_search" taborder="9" text="조회" onclick="btn_search_onclick" class="btn1" position="absolute 1130 10 1186 32" anchor="top right"/>
- <Shape id="line13" linetype="vertical" position="absolute 1116 8 1122 35" anchor="top right"/>
- <Static id="cap_hngnm" position="absolute 198 12 264 31" style="background:lightgrey;border:1 solid #808080ff ;align:center middle;"/>
- <Static id="cap_rrgstno1" position="absolute 265 12 330 31" style="background:lightgrey;border:1 solid #808080ff ;align:center middle;"/>
- <Static id="cap_rrgstno2" position="absolute 338 12 410 31" style="background:lightgrey;border:1 solid #808080ff ;align:center middle;"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="환자 자격 조회 내역" position="absolute 0 0 160 25" align="align:center middle;" id="cap_title" class="tit_1" anchor="left top"/>
- <Static text="조회 내역" position="absolute 0 73 78 90" id="caption7" class="tit_2"/>
- <Shape position="absolute 0 89 1195 95" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Button position="absolute 1120 67 1195 89" id="btn_excel" class="btn7" text="엑셀저장" taborder="7" onclick="btn_excel_onclick" anchor="left right"/>
- <Grid position="absolute 0 94 1195 779" align="align:center middle;" id="grd_msg2" binddataset="ds_main_msg2list_msg2info" taborder="6" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24" band="left"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="95"/>
- <Column size="95"/>
- <Column size="150"/>
- <Column size="85"/>
- <Column size="140"/>
- <Column size="100"/>
- <Column size="150"/>
- <Column size="155"/>
- <Column size="130"/>
- <Column size="130"/>
- <Column size="130"/>
- <Column size="105"/>
- <Column size="180"/>
- <Column size="85"/>
- <Column size="135"/>
- <Column size="135"/>
- <Column size="140"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="140"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="250"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="진료일자"/>
- <Cell col="2" text="조회일시"/>
- <Cell col="3" text="의료급여기관기호"/>
- <Cell col="4" text="자격구분"/>
- <Cell col="5" text="자격구분"/>
- <Cell col="6" text="자격취득일"/>
- <Cell col="7" text="세대주성명"/>
- <Cell col="8" text="보장기관기호"/>
- <Cell col="9" text="시설기호"/>
- <Cell col="10" text="급여제한일자"/>
- <Cell col="11" text="본인부담구분"/>
- <Cell col="12" text="본인부담구분"/>
- <Cell col="13" text="건강생활유지비잔액"/>
- <Cell col="14" text="선택기관기호1"/>
- <Cell col="15" text="선택기관기호2"/>
- <Cell col="16" text="선택기관기호3"/>
- <Cell col="17" text="선택기관기호4"/>
- <Cell col="18" text="선택기관이름1"/>
- <Cell col="19" text="선택기관이름2"/>
- <Cell col="20" text="선택기관이름3"/>
- <Cell col="21" text="선택기관이름4"/>
- <Cell col="22" text="출국자여부"/>
- <Cell col="23" text="장애인등록일자"/>
- <Cell col="24" text="희귀난치대상자"/>
- <Cell col="25" text="산정특례(희귀)등록대상자"/>
- <Cell col="26" text="차상위대상자"/>
- <Cell col="27" text="산정특례(암)등록대상자"/>
- <Cell col="28" text="산전지원금잔액"/>
- <Cell col="29" text="산정특례(화상)등록대상자"/>
- <Cell col="30" text="당뇨병요양비대상자등록일"/>
- <Cell col="31" text="동일성분의약품제한자"/>
- <Cell col="32" text="노인틀니(상악)대상자"/>
- <Cell col="33" text="노인틀니(하악)대상자"/>
- <Cell col="34" text="자격상실처리일자"/>
- <Cell col="35" text="자가도뇨카테타대상자등록일자"/>
- <Cell col="36" text="급여제한여부"/>
- <Cell col="37" text="75세이상임플란트급여1"/>
- <Cell col="38" text="75세이상임플란트급여2"/>
- <Cell col="39" text="산정특례(결핵)등록정보"/>
- <Cell col="40" text="장애인여부"/>
- <Cell col="41" text="산정특례(극희귀)"/>
- <Cell col="42" text="산정특례(상세불명희귀)"/>
- <Cell col="43" text="송신일시"/>
- <Cell col="44" text="수신메시지코드"/>
- <Cell col="45" text="수신메시지"/>
- <Cell col="46" text="최초등록자ID"/>
- <Cell col="47" text="최초등록자"/>
- <Cell col="48" text="최초등록일시"/>
- <Cell col="49" text="최종수정자ID"/>
- <Cell col="50" text="최종수정자"/>
- <Cell col="51" text="최종수정일시"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="date" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="2" displaytype="date" text="bind:workdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="3" text="bind:proccorpcd"/>
- <Cell col="4" text="bind:qualflag"/>
- <Cell col="5" text="bind:qualflagnm"/>
- <Cell col="6" displaytype="expr:expr:utlf_isNull(qualacqtdd)?'normal':'date'" text="bind:qualacqtdd"/>
- <Cell col="7" text="bind:hshdnm"/>
- <Cell col="8" text="bind:secuinstmark"/>
- <Cell col="9" text="bind:estmmark"/>
- <Cell col="10" displaytype="expr:utlf_isNull(paylimdd)?'normal':'date'" text="bind:paylimdd"/>
- <Cell col="11" text="bind:ownbflag"/>
- <Cell col="12" text="bind:ownbflagnm"/>
- <Cell col="13" displaytype="number" text="bind:heallifeamtval"/>
- <Cell col="14" text="bind:choicorpmark1"/>
- <Cell col="15" text="bind:choicorpmark2"/>
- <Cell col="16" text="bind:choicorpmark3"/>
- <Cell col="17" text="bind:choicorpmark4"/>
- <Cell col="18" text="bind:choicorpnm1"/>
- <Cell col="19" text="bind:choicorpnm2"/>
- <Cell col="20" text="bind:choicorpnm3"/>
- <Cell col="21" text="bind:choicorpnm4"/>
- <Cell col="22" text="bind:dcntrypsnyn"/>
- <Cell col="23" displaytype="expr:expr:utlf_isNull(handicaprrgstdd)?'normal':'date'" text="bind:handicaprrgstdd"/>
- <Cell col="24" text="bind:rareobsttrgtman"/>
- <Cell col="25" text="bind:befwomntrgtman"/>
- <Cell col="26" text="bind:scndsuptrgtman"/>
- <Cell col="27" text="bind:serdiagtrgtman"/>
- <Cell col="28" displaytype="number" text="bind:pregremamt"/>
- <Cell col="29" text="bind:burntrgtman"/>
- <Cell col="30" displaytype="expr:expr:expr:utlf_isNull(sugartrgtman)?'normal':'date'" text="bind:sugartrgtman"/>
- <Cell col="31" text="bind:procdurdd"/>
- <Cell col="32" text="bind:denttop"/>
- <Cell col="33" text="bind:dentbottom"/>
- <Cell col="34" displaytype="expr:expr:expr:utlf_isNull(paylimrgstdd)?'normal':'date'" text="bind:paylimrgstdd"/>
- <Cell col="35" text="bind:selfcathcatheter"/>
- <Cell col="36" text="bind:qlfrestrictcd"/>
- <Cell col="37" text="bind:dentimpl1"/>
- <Cell col="38" text="bind:dentimpl2"/>
- <Cell col="39" text="bind:tbrcls"/>
- <Cell col="40" text="bind:handicapyn"/>
- <Cell col="41" text="bind:disregprson10"/>
- <Cell col="42" text="bind:disregprson11"/>
- <Cell col="43" displaytype="date" text="bind:datainptdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="44" text="bind:msgcd"/>
- <Cell col="45" text="bind:msg"/>
- <Cell col="46" text="bind:fstrgstrid"/>
- <Cell col="47" text="bind:fstrgstrnm"/>
- <Cell col="48" displaytype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="49" text="bind:lastupdtrid"/>
- <Cell col="50" text="bind:lastupdtrnm"/>
- <Cell col="51" displaytype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_msg2list_msg2info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="0"/>
- <Column id="hngnm" type="STRING" size="0"/>
- <Column id="rrgstno" type="STRING" size="0"/>
- <Column id="orddd" type="STRING"/>
- <Column id="workdt" type="STRING"/>
- <Column id="proccorpcd" type="STRING"/>
- <Column id="qualflag" type="STRING"/>
- <Column id="qualflagnm" type="STRING"/>
- <Column id="qualacqtdd" type="STRING"/>
- <Column id="hshdnm" type="STRING"/>
- <Column id="secuinstmark" type="STRING"/>
- <Column id="estmmark" type="STRING"/>
- <Column id="paylimdd" type="STRING"/>
- <Column id="ownbflag" type="STRING"/>
- <Column id="ownbflagnm" type="STRING"/>
- <Column id="heallifeamtval" type="STRING"/>
- <Column id="choicorpmark1" type="STRING"/>
- <Column id="choicorpmark2" type="STRING"/>
- <Column id="choicorpmark3" type="STRING"/>
- <Column id="choicorpmark4" type="STRING"/>
- <Column id="choicorpnm1" type="STRING"/>
- <Column id="choicorpnm2" type="STRING"/>
- <Column id="choicorpnm3" type="STRING"/>
- <Column id="choicorpnm4" type="STRING"/>
- <Column id="dcntrypsnyn" type="STRING"/>
- <Column id="handicaprrgstdd" type="STRING"/>
- <Column id="rareobsttrgtman" type="STRING"/>
- <Column id="befwomntrgtman" type="STRING"/>
- <Column id="scndsuptrgtman" type="STRING"/>
- <Column id="serdiagtrgtman" type="STRING"/>
- <Column id="pregremamt" type="STRING"/>
- <Column id="burntrgtman" type="STRING"/>
- <Column id="sugartrgtman" type="STRING"/>
- <Column id="procdurdd" type="STRING"/>
- <Column id="denttop" type="STRING"/>
- <Column id="dentbottom" type="STRING"/>
- <Column id="paylimrgstdd" type="STRING"/>
- <Column id="selfcathcatheter" type="STRING"/>
- <Column id="qlfrestrictcd" type="STRING"/>
- <Column id="dentimpl1" type="STRING"/>
- <Column id="dentimpl2" type="STRING"/>
- <Column id="tbrcls" type="STRING"/>
- <Column id="handicapyn" type="STRING"/>
- <Column id="disregprson10" type="STRING"/>
- <Column id="disregprson11" type="STRING"/>
- <Column id="datainptdt" type="STRING"/>
- <Column id="msgcd" type="STRING"/>
- <Column id="msg" type="STRING"/>
- <Column id="fstrgstrid" type="STRING"/>
- <Column id="fstrgstrnm" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="lastupdtrid" type="STRING"/>
- <Column id="lastupdtrnm" type="STRING"/>
- <Column id="lastupdtdt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="ordflag" type="STRING" size="256"/>
- <Column id="ordfromdd" type="STRING" size="256"/>
- <Column id="ordtodd" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_result_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="rrgstno1"/>
- <Col id="rrgstno2"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="roundrect1.ipt_ordfromdd" propid="value" datasetid="ds_send" columnid="ordfromdd"/>
- <BindItem id="item1" compid="roundrect1.ipt_ordtodd" propid="value" datasetid="ds_send" columnid="ordtodd"/>
- <BindItem id="item2" compid="roundrect1.ipt_srchfromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
- <BindItem id="item3" compid="roundrect1.ipt_srchtodd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
- <BindItem id="item4" compid="roundrect1.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item8" compid="roundrect1.chk_ordflag" propid="value" datasetid="ds_send" columnid="ordflag"/>
- <BindItem id="item9" compid="roundrect1.chk_srchflag" propid="value" datasetid="ds_send" columnid="srchflag"/>
- <BindItem id="item5" compid="roundrect1.cap_hngnm" propid="text" datasetid="ds_hidden" columnid="hngnm"/>
- <BindItem id="item10" compid="roundrect1.cap_rrgstno1" propid="text" datasetid="ds_hidden" columnid="rrgstno1"/>
- <BindItem id="item6" compid="roundrect1.cap_rrgstno2" propid="text" datasetid="ds_hidden" columnid="rrgstno2"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- include "pam_pamcomnxp::PMC001.xjs";
- function SPPMC03902_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPPMC03902_onload(obj:Form, e:LoadEventInfo)
- {
- ds_send.setColumn(0, "ordfromdd", utlf_getCurrentDate().toDate().getAddDate(-1, "Y").getDateFormat("YYYYMMDD"));
- ds_send.setColumn(0, "ordtodd", utlf_getCurrentDate());
- ds_send.setColumn(0, "srchfromdd", utlf_getCurrentDate().toDate().getAddDate(-1, "Y").getDateFormat("YYYYMMDD"));
- ds_send.setColumn(0, "srchtodd", utlf_getCurrentDate());
- ds_send.setColumn(0, "ordflag", "");
- ds_send.setColumn(0, "srchflag", "");
-
- m_opener = frmf_getoOpener();
-
- if (frmf_checkOpener())
- {
- roundrect1.ipt_pid.value = opener.frmf_getParameter("SPPMC03900_ptmsg_pid");
- roundrect1.btn_search_onclick();
- }
- }
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var ord_flag
- var srchflag
-
-
- if ( roundrect1.chk_ordflag.value==true)
- {
- ordflag = 'Y';
- }
- else
- {
- ordflag = '';
- }
- if ( roundrect1.chk_srchflag.value==true)
- {
- srchflag = 'Y';
- }
- else
- {
- srchflag = '';
- }
- ds_send.setColumn(0, "pid" ,roundrect1.ipt_pid.value);
- ds_send.setColumn(0, "ordflag" ,ordflag);
- ds_send.setColumn(0, "ordfromdd" ,roundrect1.ipt_ordfromdd.value);
- ds_send.setColumn(0, "ordtodd" ,roundrect1.ipt_ordtodd.value);
- ds_send.setColumn(0, "srchflag" ,srchflag);
- ds_send.setColumn(0, "srchfromdd",roundrect1.ipt_srchfromdd.value);
- ds_send.setColumn(0, "srchtodd" ,roundrect1.ipt_srchtodd.value);
- var oParam = {};
- oParam.id = "TRPAC04003";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetMsg2Hist";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_msg2list_msg2info=msg2";
- oParam.async = false;
- //oParam.callback = "cf_TRPAC04003";
- tranf_submit(oParam);
-
- if(ds_main_msg2list_msg2info.rowcount > 0)
- {
- roundrect1.cap_hngnm.text = ds_main_msg2list_msg2info.getColumn(0,"hngnm");
- roundrect1.cap_rrgstno1.text = ds_main_msg2list_msg2info.getColumn(0,"rrgstno").substr(0, 6);
- roundrect1.cap_rrgstno2.text = ds_main_msg2list_msg2info.getColumn(0,"rrgstno").substr(6, 7);
- }
- }
- function chk_ordflag_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(roundrect1.chk_ordflag.value == true)
- {
- roundrect1.ipt_ordfromdd.enable = true;
- roundrect1.ipt_ordtodd.enable = true;
- }
- else
- {
- roundrect1.ipt_ordfromdd.enable = false;
- roundrect1.ipt_ordtodd.enable = false;
- }
- }
- function chk_srchflag_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(roundrect1.chk_srchflag.value == true)
- {
- roundrect1.ipt_srchfromdd.enable = true;
- roundrect1.ipt_srchtodd.enable = true;
- }
- else
- {
- roundrect1.ipt_srchfromdd.enable = false;
- roundrect1.ipt_srchtodd.enable = false;
- }
- }
- function btn_pid_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_createDsRow("ds_send_srchpid", [{col: "srchpid", val:utlf_transNullToEmpty(roundrect1.ipt_pid.value)}
- ]);
- var objArg = new Object();
- objArg.arg_ds_send = ds_send_srchpid;
-
- //환자조회화면 호출
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- roundrect1.ipt_pid.value = ds_patinfolist.getColumn(0,"pid");
- roundrect1.cap_hngnm.text = ds_patinfolist.getColumn(0,"hngnm");
- roundrect1.cap_rrgstno1.text = ds_patinfolist.getColumn(0,"rrgstno1");
- roundrect1.cap_rrgstno2.text = ds_patinfolist.getColumn(0,"rrgstno2");
- ds_send.setColumn(0, "pid" ,ds_patinfolist.getColumn(0,"pid"));
-
- }
- /*fSearchPatInfo*/
- function fSearchPatInfo()
- {
- ds_source.setColumn(0, "srchcond", "1");
- ds_source.setColumn(0, "pid", roundrect1.ipt_pid.value);
-
- //환자등록번호 체크
- if(!utlf_isNull(roundrect1.ipt_pid.value))
- {
- ds_main_result_patinfo.clearData();
- ds_main_result_patinfo.addRow();
-
- if(!utlf_isNull(ds_source.getColumnInfo("srchcond")) && !utlf_isNull(ds_source.getColumnInfo("checkfnexam")))
- {
- dsf_setTypeFormat(ds_source, "srchcond:INT^checkfnexam:INT");
- }
-
- var oParam = {};
- oParam.id = "TRPMC02500";
- oParam.service = "patinfomngtapp.PatBaseInfo";
- oParam.method = "reqGetPatInfo";
- oParam.inds = "req=ds_source";
- oParam.outds = "ds_main_result_patinfo=patinfolist";
- oParam.async = false;
- oParam.callback = "cf_TRPMC02500";
- btn_search_onclick();
- }
- else
- {
- sysf_messageBox("환자등록번호를 정확히", "C001");
- }
- }
- function inp_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13")
- {
- fSearchPatInfo();
- }
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_msg2list_msg2info.rowcount > 0 )
- {
- grdf_exportExcel(grd_msg2, "환자 자격 조회 내역", "환자 자격 조회 내역", "true", "", "");
- }
- else
- {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }]]></Script>
- </Form>
- </FDL>
|