123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMMR02400" position="absolute 0 0 1160 615" titletext="제증명미리보기출력리스트" onload="SMMMR02400_onload">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 115 1160 615" id="grd_proflist" class="datagrid2" binddataset="ds_main_profhist" autoenter="select" anchor="all" cellsizingtype="col" cellsizebandtype="allband" selecttype="multirow" cellclickbound="cell" suppresslevel="allcompare">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="40"/>
- <Column size="95"/>
- <Column size="204"/>
- <Column size="0"/>
- <Column size="62"/>
- <Column size="61"/>
- <Column size="88"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="68"/>
- <Column size="63"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="62"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="90"/>
- </Columns>
- <Rows>
- <Row size="30" 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="출력 매수"/>
- <Cell col="15" text="작성일시"/>
- <Cell col="16" text="발행부서코드"/>
- <Cell col="17" text="작성부서"/>
- <Cell col="18" text="작성자"/>
- <Cell col="19" text="작성자id"/>
- <Cell col="20" text="발행자id"/>
- <Cell col="21" text="출력부서"/>
- <Cell col="22" text="출력자"/>
- <Cell col="23" text="출력일시"/>
- <Cell col="24" text="최초등록자ID"/>
- <Cell col="25" text="최초등록자"/>
- <Cell col="26" text="최초등록일시"/>
- <Cell col="27" text="최종수정자ID"/>
- <Cell col="28" text="최종수정자"/>
- <Cell col="29" text="최종수정일시"/>
- <Cell col="30" text="출력구분"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" text="bind:formrecseq" suppress="1" suppressalign="middle,over" enable="false"/>
- <Cell col="2" style="align:center middle;background2:transparent;" text="bind:ordtype" suppress="2" suppressalign="middle,over"/>
- <Cell col="3" style="background2:transparent;" text="bind:yearseqno" suppress="2" suppressalign="middle,over"/>
- <Cell col="4" displaytype="text" style="background2:transparent;" text="bind:formnm" wordwrap="char" suppress="1" suppressalign="middle,over"/>
- <Cell col="5" style="background2:transparent;" text="bind:profcertseq" suppress="2" suppressalign="middle,over"/>
- <Cell col="6" style="align:center middle;background2:transparent;" text="bind:pid" suppress="1" suppressalign="middle,over"/>
- <Cell col="7" style="align:center middle;background2:transparent;" text="bind:hngnm" suppress="1" suppressalign="middle,over"/>
- <Cell col="8" displaytype="combo" style="background2:transparent;" text="bind:prstusge" suppress="2" suppressalign="middle,over" combodataset="ds_hidden_issusge" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="9" style="background2:transparent;" text="bind:cretno" suppress="2" suppressalign="middle,over"/>
- <Cell col="10" style="background2:transparent;" text="bind:ioflag" suppress="2" suppressalign="middle,over"/>
- <Cell col="11" style="background2:transparent;" text="bind:formcd" suppress="2" suppressalign="middle,over"/>
- <Cell col="12" displaytype="combo" style="align:center middle;background2:transparent;" text="bind:issflag" suppress="2" suppressalign="middle,over" combodataset="ds_init_issflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="13" displaytype="combo" style="align:center middle;background2:transparent;" text="bind:issstat" suppress="2" suppressalign="middle,over" combodataset="ds_init_issstat" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="14" style="align:center middle;background2:transparent;" text="bind:prntcnt" suppress="2"/>
- <Cell col="15" displaytype="date" style="background2:transparent;" text="bind:issdt" mask="yyyy-MM-dd hh:mm" suppress="2" suppressalign="middle,over" calendardisplaynulltype="none"/>
- <Cell col="16" style="background2:transparent;" text="bind:issdeptcd" suppress="2"/>
- <Cell col="17" style="background2:transparent;" text="bind:issdeptnm" suppress="2"/>
- <Cell col="18" style="background2:transparent;" text="bind:issnm" suppress="2"/>
- <Cell col="19" style="background2:transparent;" text="bind:issid" suppress="2"/>
- <Cell col="20" style="background2:transparent;" text="bind:prntuserid" suppress="2"/>
- <Cell col="21" style="background2:transparent;" text="bind:prntdeptnm" suppress="2" suppressalign="middle,over"/>
- <Cell col="22" style="align:center middle;background2:transparent;" text="bind:prntusernm"/>
- <Cell col="23" displaytype="date" style="background2:transparent;" text="bind:prntdt" mask="yyyy-MM-dd hh:mm" combodataset="ds_init_issstat" combocodecol="value" combodatacol="label" calendardisplaynulltype="none"/>
- <Cell col="24" style="background2:transparent;" text="bind:fstrgstrid"/>
- <Cell col="25" style="background2:transparent;" text="bind:fstrgstrnm"/>
- <Cell col="26" style="background2:transparent;" text="bind:fstrgstdt"/>
- <Cell col="27" style="background2:transparent;" text="bind:lastupdtrid"/>
- <Cell col="28" style="background2:transparent;" text="bind:lastrgstrnm"/>
- <Cell col="29" style="background2:transparent;" text="bind:lastupdtdt"/>
- <Cell col="30" displaytype="combo" style="align:center middle;background2:transparent;" text="bind:prntflag" combodataset="ds_init_prntflag" combocodecol="value" combodatacol="label" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1110 91 1160 110" id="button10" class="btn7" text="엑셀" onclick="button10_onclick" anchor="top right"/>
- <Shape position="absolute 0 110 1160 116" linetype="horizontal" id="line2" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Div id="grp" taborder="6" position="absolute 0 25 1160 88" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="btn_profhist" taborder="1" text="조 회" class="btn1" position="absolute 1090 21 1149 43" anchor="top right" onclick="grp_btn_profhist_onclick"/>
- <Static id="caption1" text="~" position="absolute 198 10 210 29" anchor="default"/>
- <Static id="caption2" text="조회일자 :" class="search_name" position="absolute 12 10 89 27" anchor="default"/>
- <Static id="caption3" text="등록번호 :" class="search_name" position="absolute 12 35 86 52" anchor="default"/>
- <Radio id="radio1" taborder="2" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 412 10 606 25" anchor="default" style="textpadding:0 3 0 3;" onitemchanged="grp_radio1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">-</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">U</Col>
- <Col id="datacolumn">미발행</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">발행</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">반납</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Calendar id="ipt_todd" taborder="3" position="absolute 212 9 312 28" anchor="default" dateformat="yyyy-MM-dd" autoselect="true" autoskip="true"/>
- <Edit id="input1" taborder="4" class="input_search" position="absolute 92 34 192 53" anchor="default" onkeydown="grp_input1_onkeydown" autoselect="true"/>
- <Static id="caption7" text="제 증 명 :" class="search_name" position="absolute 620 10 708 27" anchor="default"/>
- <Button id="btn_usrsrch" taborder="5" class="icon_search" position="absolute 197 35 213 54" anchor="default" onclick="grp_btn_usrsrch_onclick"/>
- <Combo id="cmb_profformlist" taborder="6" innerdataset="@ds_main_formlist" codecolumn="formcd" datacolumn="formnm" class="combo_search" position="absolute 700 9 1065 28" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="7" position="absolute 92 9 192 28" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
- <Edit id="input2" taborder="9" class="input_search" position="absolute 307 34 423 53" anchor="default" onkeydown="grp_input2_onkeydown" autoselect="true"/>
- <Static id="caption5" text="환 자 명 :" class="search_name" position="absolute 232 35 304 52" anchor="default"/>
- <Static id="caption4" text="발행구분 :" class="search_name" position="absolute 332 10 405 27" anchor="default"/>
- <Static id="caption10" text="구 분 :" class="search_name" position="absolute 935 35 995 52" anchor="default"/>
- <Combo id="combo1" taborder="14" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 991 34 1066 53" anchor="default" onitemchanged="grp_combo1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">DSC</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">응급</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- <Row>
- <Col id="codecolumn">S</Col>
- <Col id="datacolumn">건진</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption11" text="출 력 자 :" class="search_name" position="absolute 623 35 701 52" anchor="default"/>
- <Edit id="ipt_prntuserid" taborder="15" class="input_search" position="absolute 703 34 788 53" anchor="default" autoselect="true"/>
- <Edit id="ipt_prntusernm" taborder="16" class="input_search" enable="false" position="absolute 811 34 913 53" anchor="default" autoselect="true"/>
- <Button id="btn_useid" taborder="17" class="icon_search" position="absolute 791 37 807 49" anchor="default" onclick="grp_btn_useid_onclick"/>
- <Shape id="line30" linetype="vertical" class="line_4" position="absolute 1075 13 1081 51" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="제증명 미리보기 출력 리스트" class="tit_1" position="absolute 0 0 201 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_profhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ordtype" type="STRING" size="256" sumtext="(외래,입원,응급) 구분"/>
- <Column id="status" type="STRING" size="256" sumtext="처리구분"/>
- <Column id="profcertseq" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="제증명일련번호"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="내원구분"/>
- <Column id="formrecseq" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
- <Column id="issflag" type="STRING" size="256" sumtext="출력종류"/>
- <Column id="prntcnt" type="STRING" size="256" sumtext="출력매수"/>
- <Column id="freeissresn" type="STRING" size="256" sumtext="무료발급사유"/>
- <Column id="issid" type="STRING" size="256" sumtext="발급자ID"/>
- <Column id="issdeptcd" type="STRING" size="256" sumtext="발급부서코드"/>
- <Column id="issnm" type="STRING" size="256" sumtext="발급자"/>
- <Column id="issdt" type="STRING" size="256" sumtext="발급일시"/>
- <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
- <Column id="issstat" type="STRING" size="256" sumtext="발급상태"/>
- <Column id="deldt" type="STRING" size="256" sumtext="삭제일시"/>
- <Column id="deluserid" type="STRING" size="256" sumtext="삭제사용자ID"/>
- <Column id="delusernm" type="STRING" size="256" sumtext="삭제사용자"/>
- <Column id="profflag" type="STRING" size="256" sumtext="증명서구분값"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
- <Column id="lastrgstrnm" type="STRING" size="256" sumtext="최종수정자"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="prstusge" type="STRING" size="256" sumtext="발행용도"/>
- <Column id="yearseqno" type="STRING" size="256" sumtext="연번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="histcd" type="STRING" size="256" sumtext="이력코드"/>
- <Column id="calcyn" type="STRING" size="256" sumtext="수납여부"/>
- <Column id="dschcalcyn" type="STRING" size="256" sumtext="퇴원수납여부"/>
- <Column id="recyn" type="STRING" size="256" sumtext="기록여부"/>
- <Column id="issdeptnm" type="STRING" size="256" sumtext="발행부서명"/>
- <Column id="formnm" type="STRING" size="256" sumtext="서식지명"/>
- <Column id="prntuserid" type="STRING" size="256" sumtext="발행자ID"/>
- <Column id="prntusernm" type="STRING" size="256" sumtext="발행자"/>
- <Column id="prntdt" type="STRING" size="256" sumtext="발행일시"/>
- <Column id="lastformrecdd" type="STRING" size="256" sumtext="작성일자"/>
- <Column id="certscanflag" type="STRING" size="256" sumtext="제증명스캔여부"/>
- <Column id="certtranflag" type="STRING" size="256" sumtext="제증명인계여부"/>
- <Column id="authscanflag" type="STRING" size="256" sumtext="위임장스캔여부"/>
- <Column id="authtranflag" type="STRING" size="256" sumtext="위임장인계여부"/>
- <Column id="dcprntcnt" type="STRING" size="256" sumtext="반납갯수"/>
- <Column id="recvnm" type="STRING" size="256" sumtext="수령인"/>
- <Column id="holograpflag" type="STRING" size="256" sumtext="자필제증명구분"/>
- <Column id="ocrtag" type="STRING" size="256" sumtext="OCRTAG"/>
- <Column id="freeissresnEnable" type="STRING" size="256"/>
- <Column id="recvnmEnable" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_srchprofhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="issflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="srchdata" type="STRING" size="256"/>
- <Column id="patsrchflag" type="STRING" size="256"/>
- <Column id="holograpflag" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="ordtype" type="STRING" size="256"/>
- <Column id="prntuserid" type="STRING" size="256"/>
- <Column id="prntusernm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="issflag">-</Col>
- <Col id="pid"/>
- <Col id="srchflag">rec</Col>
- <Col id="srchdata"/>
- <Col id="patsrchflag">1</Col>
- <Col id="holograpflag">-</Col>
- <Col id="formcd"/>
- <Col id="ordtype"/>
- <Col id="prntuserid"/>
- <Col id="prntusernm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_issusge" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_formlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
- <Column id="formnm" type="STRING" size="256" sumtext="서식명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_tmp" 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="autoflag" 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="autoflag"/>
- <Col id="hngnm"/>
- <Col id="rrgstno1"/>
- <Col id="rrgstno2"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
- <Column id="bindyn" type="STRING" size="256" sumtext="환자등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="한글이름"/>
- <Column id="hngnm2" type="STRING" size="256" sumtext="표시이름"/>
- <Column id="engnm" type="STRING" size="256" sumtext="영문이름"/>
- <Column id="chinm" type="STRING" size="256" sumtext="영문이름"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞6자리"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒤7자리"/>
- <Column id="rrgstno3" type="STRING" size="256" sumtext="주민번호뒤4자리와별표3자리"/>
- <Column id="lastinsukind" type="STRING" size="256" sumtext="최근보험유형"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="bindpid" type="STRING" size="256" sumtext="합본등록번호"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
- <Column id="etctel1" type="STRING" size="256" sumtext="기타전화번호1"/>
- <Column id="etctel2" type="STRING" size="256" sumtext="기타전화번호2"/>
- <Column id="smsaprvyn" type="STRING" size="256" sumtext="SMS전송 승인 여부"/>
- <Column id="email" type="STRING" size="256" sumtext="이메일 게정"/>
- <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호 앞 3자리"/>
- <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호 뒤 3자리"/>
- <Column id="zipcdseq" type="STRING" size="256" sumtext="우편일련번호"/>
- <Column id="addr" type="STRING" size="256" sumtext="기본주소"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
- <Column id="rh" type="STRING" size="256" sumtext="RH혈액형"/>
- <Column id="forgeryn" type="STRING" size="256" sumtext="외국인여부"/>
- <Column id="nati" type="STRING" size="256" sumtext="국적"/>
- <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
- <Column id="recmyn" type="STRING" size="256" sumtext="추천여부"/>
- <Column id="recmerid" type="STRING" size="256" sumtext="추천인ID"/>
- <Column id="recmernm" type="STRING" size="256" sumtext="추천인명"/>
- <Column id="recmerrela" type="STRING" size="256" sumtext="추천인과의 관계"/>
- <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
- <Column id="viprem" type="STRING" size="256" sumtext="VIP비고"/>
- <Column id="religncd" type="STRING" size="256" sumtext="종교코드"/>
- <Column id="baptnm" type="STRING" size="256" sumtext="세례명"/>
- <Column id="chchnm" type="STRING" size="256" sumtext="성당명"/>
- <Column id="dethyn" type="STRING" size="256" sumtext="사망여부"/>
- <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
- <Column id="dethdd" type="STRING" size="256" sumtext="사망일자"/>
- <Column id="dethtm" type="STRING" size="256" sumtext="사망시간"/>
- <Column id="chosresn" type="STRING" size="256" sumtext="내원사유"/>
- <Column id="animyn" type="STRING" size="256" sumtext="동물여부"/>
- <Column id="exptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
- <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
- <Column id="handicapryn" type="STRING" size="256" sumtext="장애인여부"/>
- <Column id="pidflag" type="STRING" size="256" sumtext="등록번호구분"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
- <Column id="ptunyn" type="STRING" size="256" sumtext="미수안내"/>
- <Column id="lastorddd" type="STRING" size="256" sumtext="최근내원일"/>
- <Column id="lastorddeptcd" type="STRING" size="256" sumtext="최근내원과"/>
- <Column id="outuncoamt" type="STRING" size="256" sumtext="외래미수금"/>
- <Column id="dschuncoamt" type="STRING" size="256" sumtext="입원미수금"/>
- <Column id="kioskrcptnoyn" type="STRING" size="256" sumtext="무인수납불가여부"/>
- <Column id="carnum" type="STRING" size="256" sumtext="차량번호"/>
- <Column id="acptdd" type="STRING" size="256" sumtext="가예약 접수일자"/>
- <Column id="acptno" type="STRING" size="256" sumtext="가예약 접수일련번호"/>
- <Column id="patspcfyn" type="STRING" size="256" sumtext="특이환자여부"/>
- <Column id="tdaydsch" type="STRING" size="256" sumtext="특이환자여부"/>
- <Column id="mig" type="STRING" size="256" sumtext="마이그레이션여부"/>
- <Column id="scanyn" type="STRING" size="256" sumtext="동의서출력여부"/>
- <Column id="spifscanyn" type="STRING" size="256" sumtext="선택진료신청서스캔여부"/>
- <Column id="isolinfo" type="STRING" size="256" sumtext="격리환자정보"/>
- <Column id="builno" type="STRING" size="256" sumtext="도로명주소 코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_issflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">미발행</Col>
- <Col id="value">10</Col>
- </Row>
- <Row>
- <Col id="label">발행</Col>
- <Col id="value">20</Col>
- </Row>
- <Row>
- <Col id="label">재발행</Col>
- <Col id="value">30</Col>
- </Row>
- <Row>
- <Col id="label">재출력</Col>
- <Col id="value">40</Col>
- </Row>
- <Row>
- <Col id="label">반납</Col>
- <Col id="value">50</Col>
- </Row>
- <Row>
- <Col id="label">부분반납</Col>
- <Col id="value">60</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_issstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="value" type="STRING" size="256"/>
- <Column id="label" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="value">R</Col>
- <Col id="label">임시저장</Col>
- </Row>
- <Row>
- <Col id="value">I</Col>
- <Col id="label">인증저장</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_prntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_prntflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="value" type="STRING" size="256"/>
- <Column id="label" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="value">10</Col>
- <Col id="label">미리보기</Col>
- </Row>
- <Row>
- <Col id="value">20</Col>
- <Col id="label">빈서식출력(유)</Col>
- </Row>
- <Row>
- <Col id="value">30</Col>
- <Col id="label">빈서식출력(무)</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item1" compid="grp.ipt_fromdd" propid="value" datasetid="ds_main_srchprofhist" columnid="fromdd"/>
- <BindItem id="item2" compid="grp.ipt_todd" propid="value" datasetid="ds_main_srchprofhist" columnid="todd"/>
- <BindItem id="item3" compid="grp.cmb_profformlist" propid="value" datasetid="ds_main_srchprofhist" columnid="formcd"/>
- <BindItem id="item4" compid="grp.combo1" propid="value" datasetid="ds_main_srchprofhist" columnid="ordtype"/>
- <BindItem id="item6" compid="grp.radio1" propid="value" datasetid="ds_main_srchprofhist" columnid="issflag"/>
- <BindItem id="item7" compid="grp.ipt_prntuserid" propid="value" datasetid="ds_main_srchprofhist" columnid="prntuserid"/>
- <BindItem id="item8" compid="grp.ipt_prntusernm" propid="value" datasetid="ds_main_srchprofhist" columnid="prntusernm"/>
- <BindItem id="item9" compid="grp.input1" propid="value" datasetid="ds_tmp" columnid="pid"/>
- <BindItem id="item10" compid="grp.input2" propid="value" datasetid="ds_tmp" columnid="hngnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include 'com_commonxp::comm_main.xjs';
- include 'emr_prcpmngtxp::MMOCommon.xjs';
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : fGetProfPrntHist
- ****************************************************************************************/
- function fGetProfPrntHist(){
- if(utlf_transNullToEmpty(ds_main_srchprofhist.getColumn(0, 'prntuserid')) == ''){
- ds_main_srchprofhist.setColumn(0, 'prntusernm', '');
- }
-
- var value1 = ds_main_srchprofhist.getColumn(0, 'fromdd');
- value1 = utlf_isNull(value1) ? '-' : value1;
-
- var value3 = (sysf_getUserInfo('dutplcecd') == '4070300000') ? 'Y' : '';
-
- dsf_createDsRow('ds_req', [
- { col: 'histflag', type: 'string', size: 256, val: 'histflag' },
- { col: 'pid', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'pid') },
- { col: 'fromdd', type: 'string', size: 256, val: value1 },
- { col: 'todd', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'todd') },
- { col: 'formcd', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'formcd') },
- { col: 'issflag', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'issflag') },
- { col: 'srchflag', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'srchflag') },
- { col: 'insuflag', type: 'string', size: 256, val: value3 },
- { col: 'ordtype', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'ordtype') },
- { col: 'prntuserid', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'prntuserid') },
- { col: 'prntusernm', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'prntusernm') }
- ], false);
-
- dsf_setDefaultVal(ds_req, "formcd:-,holograpflag:-");
-
- var oParam = {};
- oParam.id = "TRMMR02401";
- oParam.service = "medirecapp.ExtnMediRec";
- oParam.method = "reqGetProfPrePrntHist";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_profhist=profhist";
- oParam.async = true;
- oParam.callback = "cbf_callback";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Argument :
- * Description : 제증명서식리스트 조회(자필포함)
- ****************************************************************************************/
- function fReqGetProfFormList(){
- var value = sysf_getUserInfo('dutplcecd');
- value = (value == '4070300000') ? 'Y' : '';
-
- dsf_createDsRow('ds_req', [
- { col: 'formprogflag', type: 'string', size: 256, val: 'PROF' },
- { col: 'insuflag', type: 'string', size: 256, val: value }
- ], false);
-
- ds_main_formlist.clearData();
-
- var oParam = {};
- oParam.id = "TRMMR02303";
- oParam.service = "medirecapp.ExtnMediRec";
- oParam.method = "reqGetCreatEnbleYearNoFormList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_formlist=formlist";
- oParam.async = true;
- oParam.callback = "cbf_callback";
- tranf_submit(oParam);
-
- }
- /****************************************************************************************
- * Argument :
- * Description : fSetUserinfo
- ****************************************************************************************/
- function fSetUserinfo(){
- var retValue = appf_openUserInfoList('usernm', '', '', '', '');
-
- retValue = utlf_transNullToEmpty(retValue.userInfo).split('|');
-
- var rshid = retValue[2];
- var rshnm = retValue[3];
-
- ds_main_srchprofhist.setColumn(0, 'prntuserid', rshid);
- ds_main_srchprofhist.setColumn(0, 'prntusernm', rshnm);
- }
- //=======================================================================================
- // callback
- //---------------------------------------------------------------------------------------
- function cbf_callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
-
- if( sSvcId == "TRMMR02303" ){
- frmf_addComboItem('grp.cmb_profformlist', '', '', 'above');
- }
-
- }
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : onload
- ****************************************************************************************/
- function SMMMR02400_onload(obj:Form, e:LoadEventInfo){
- // 폼 초기화
- frmf_initForm(obj);
-
- try{
- ds_temp_prntinfo.copyData(arg_ds_cond_prntinfo);
- }catch(e){
-
- }
-
- ds_main_srchprofhist.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_main_srchprofhist.setColumn(0, "todd", utlf_getCurrentDate());
-
- appf_getCodeList([{ dsNm: 'ds_hidden_issusge', cdGrpId: 'M0332' }]);
-
- // 제증명 서식리스트 조회
- fReqGetProfFormList();
-
- if( ds_temp_prntinfo.rowcount > 0 ){
- var nPid = ds_temp_prntinfo.getColumn(0, "pid");
- var nHngnm = ds_temp_prntinfo.getColumn(0, "hngnm");
- var nFormcd = ds_temp_prntinfo.getColumn(0, "formcd");
- var nIssdt = ds_temp_prntinfo.getColumn(0, "issdt");
- if( !utlf_isNull(nPid) ){
- ds_main_srchprofhist.setColumn(0, "pid", nPid );
- ds_tmp.setColumn(0, "pid", nPid);
- ds_tmp.setColumn(0, "hngnm", nHngnm);
- }
-
- if( !utlf_isNull(nFormcd) )
- ds_main_srchprofhist.setColumn(0, "formcd", nFormcd );
-
- if( !utlf_isNull(nIssdt) && nIssdt.length == 14 ){
- var nIssdd = nIssdt.substring(0, 8);
- ds_main_srchprofhist.setColumn(0, "fromdd", nIssdd );
- //ds_main_srchprofhist.setColumn(0, "todd", nIssdd );
- }
- }
-
- fGetProfPrntHist();
-
-
-
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function grp_btn_profhist_onclick(obj:Button, e:ClickEventInfo){
- var interval = utlf_getDateInterval(ds_main_srchprofhist.getColumn(0, 'fromdd'), ds_main_srchprofhist.getColumn(0, 'todd'));
-
- var pid = utlf_transNullToEmpty(ds_tmp.getColumn(0, 'pid'));
- var hngnm = utlf_transNullToEmpty(ds_tmp.getColumn(0, 'hngnm'));
-
- if((pid == '' || hngnm == '') && interval > 31){
- sysf_messageBox('시스템 부하 원인으로 환자등록번호 및 이름없이 31일까지만 조회', 'I006');
- return;
- }
- fGetProfPrntHist();
- }
- /****************************************************************************************
- * Argument :
- * Description : 등록번호 키보드 입력 이벤트
- ****************************************************************************************/
- function grp_input1_onkeydown(obj:Edit, e:KeyEventInfo){
- if(e.keycode == 13){
- obj.updateToDataset();
- ds_tmp.setColumn(0, 'srchcond', '1');
- grp.btn_usrsrch.click();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 등록번호 아이콘 클릭 이벤트
- ****************************************************************************************/
- function grp_btn_usrsrch_onclick(obj:Button, e:ClickEventInfo){
- ds_tmp.setColumn(0, 'autoflag', 'Y');
-
- frmf_modal("SPPMC02500", "SPPMC02500", { arg_ds_send: ds_tmp }, "", '', '', '', "", "", "", "", "", "M");
-
- ds_main_srchprofhist.setColumn(0, 'pid', ds_patinfolist.getColumn(0, 'pid'));
- ds_tmp.setColumn(0, 'pid', ds_patinfolist.getColumn(0, 'pid'));
- ds_tmp.setColumn(0, 'hngnm', ds_patinfolist.getColumn(0, 'hngnm'));
- ds_tmp.setColumn(0, 'rrgstno1', ds_patinfolist.getColumn(0, 'rrgstno1'));
- ds_tmp.setColumn(0, 'rrgstno2', ds_patinfolist.getColumn(0, 'rrgstno2'));
-
- grp.btn_profhist.click();
- }
- /****************************************************************************************
- * Argument :
- * Description : 환자명 키보드 입력 이벤트
- ****************************************************************************************/
- function grp_input2_onkeydown(obj:Edit, e:KeyEventInfo){
- if(e.keycode == 13){
- obj.updateToDataset();
- ds_tmp.setColumn(0, 'srchcond', '2');
- grp.btn_usrsrch.click();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 구분 콤보 아이템 변경 이벤트
- ****************************************************************************************/
- function grp_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo){
- grp.btn_profhist.click();
- }
- /****************************************************************************************
- * Argument :
- * Description : 엑셀 버튼 클릭 이벤트
- ****************************************************************************************/
- function button10_onclick(obj:Button, e:ClickEventInfo){
- grdf_exportExcel(grd_proflist, "제증명 미리보기 출력리스트", "SheetName", true, "", "user", true);
- }
- /****************************************************************************************
- * Argument :
- * Description : 발행구분 라디오 아이템 변경 후 이벤트
- ****************************************************************************************/
- function grp_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo){
- grp.btn_profhist.click();
- }
- /****************************************************************************************
- * Argument :
- * Description : 발행자 검색 아이템 변경 이벤트
- ****************************************************************************************/
- function grp_btn_useid_onclick(obj:Button, e:ClickEventInfo){
- fSetUserinfo();
- }
- ]]></Script>
- </Form>
- </FDL>
|