123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMRD00200" position="absolute 0 0 801 648" titletext="중증등록 SAM파일관리" onload="SPMRD00200_onload">
- <Layouts>
- <Layout>
- <Static text="중증등록 SAM파일관리" position="absolute 0 0 188 17" align="align:center middle;" id="caption14" class="tit_2"/>
- <Tab position="absolute 0 68 800 641" id="switch1" style="buttonpadding:4 20 4 20;" onchanged="switch1_onchanged">
- <Tabpages>
- <Tabpage text="송신" position="absolute 0 0 798 523" id="case1" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 800 549" id="grd_send" binddataset="ds_serdiaglist" cellsizingtype="col" oncelldblclick="switch1_case1_grd_send_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="34"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="75"/>
- <Column size="96"/>
- <Column size="64"/>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="130"/>
- <Column size="130"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="200"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="90"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <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" colspan="2" 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="의사성명"/>
- <Cell col="20" text="신청자"/>
- <Cell col="21" text="관계"/>
- <Cell col="22" text="확인일자"/>
- <Cell col="23" text="신청일자"/>
- <Cell col="24" text="핸드폰번호"/>
- </Band>
- <Band id="body">
- <Cell style="background:URL('theme://images/bg_gridHead.png') stretch 3,3;background2:URL('theme://images/bg_gridHead.png') stretch 3,3;" text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:(chkflag=="Y"||chkflag==1)?1:0"/>
- <Cell col="2" style="padding:0 5 0 5;" text="bind:insuno"/>
- <Cell col="3" style="padding:0 5 0 5;" text="bind:insdnm"/>
- <Cell col="4" style="padding:0 5 0 5;" text="bind:hngnm"/>
- <Cell col="5" text="bind:pid"/>
- <Cell col="6" text="bind:orddeptnm"/>
- <Cell col="7" text="bind:healcarecd"/>
- <Cell col="8" style="padding:0 5 0 5;" text="bind:rrgstno"/>
- <Cell col="9" style="align:left;padding:0 5 0 5;" text="bind:acptplcetel"/>
- <Cell col="10" style="padding:0 5 0 5;" text="bind:zipcdhead"/>
- <Cell col="11" style="padding:0 5 0 5;" text="bind:zipcdfoot"/>
- <Cell col="12" style="align:left;padding:0 5 0 5;" text="bind:acptplcebaseaddr"/>
- <Cell col="13" style="align:left;padding:0 5 0 5;" text="bind:acptplceaddr"/>
- <Cell col="14" style="align:left;padding:0 5 0 5;" text="bind:orddeptnm"/>
- <Cell col="15" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:genrflagcd" combodataset="ds_cmb_genrflagcd" combocodecol="value" combodatacol="label"/>
- <Cell col="16" displaytype="date" style="padding:0 5 0 5;" text="bind:cncrdiagcnfmdd"/>
- <Cell col="17" style="align:left;padding:0 5 0 5;" text="bind:sam"/>
- <Cell col="18" style="padding:0 5 0 5;" text="bind:licnsno"/>
- <Cell col="19" style="padding:0 5 0 5;" text="bind:orddrnm"/>
- <Cell col="20" style="padding:0 5 0 5;" text="bind:appmannm"/>
- <Cell col="21" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:relaflag" combodataset="ds_M0263" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="22" displaytype="date" style="padding:0 5 0 5;" text="bind:rgstdd"/>
- <Cell col="23" displaytype="date" style="padding:0 5 0 5;" text="bind:prntdt"/>
- <Cell col="24" style="align:left;padding:0 5 0 5;" text="bind:acptplcempphon"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="수신" id="case2" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 800 549" id="grd_recv" binddataset="ds_loaddata" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="34"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="149"/>
- <Column size="90"/>
- <Column size="110"/>
- <Column size="90"/>
- <Column size="110"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="86"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <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="신청구분"/>
- </Band>
- <Band id="body">
- <Cell style="background:URL('theme://images/bg_gridHead.png') stretch 3,3;background2:URL('theme://images/bg_gridHead.png') stretch 3,3;" text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:status" expr="expr:(status=="Y"||status==1)?1:0"/>
- <Cell col="2" style="align:left;padding:0 5 0 5;" text="bind:proccorpcd"/>
- <Cell col="3" displaytype="date" style="padding:0 5 0 5;" text="bind:rgstdd"/>
- <Cell col="4" style="align:left;padding:0 5 0 5;" text="bind:formnm"/>
- <Cell col="5" style="padding:0 5 0 5;" text="bind:appmannm"/>
- <Cell col="6" style="padding:0 5 0 5;" text="bind:insuno"/>
- <Cell col="7" style="padding:0 5 0 5;" text="bind:pathngnm"/>
- <Cell col="8" style="align:left;padding:0 5 0 5;" text="bind:rrgstno"/>
- <Cell col="9" style="align:left;padding:0 5 0 5;" text="bind:insuranceid"/>
- <Cell col="10" displaytype="date" style="padding:0 5 0 5;" text="bind:startdate"/>
- <Cell col="11" displaytype="date" style="padding:0 5 0 5;" text="bind:enddate"/>
- <Cell col="12" displaytype="date" style="padding:0 5 0 5;" text="bind:genrdd"/>
- <Cell col="13" style="padding:0 5 0 5;" text="bind:remark"/>
- </Band>
- </Format>
- <Format id="load">
- <Columns>
- <Column size="34"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="149"/>
- <Column size="90"/>
- <Column size="110"/>
- <Column size="90"/>
- <Column size="110"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="86"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <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="신청구분"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:status" expr="expr:(status=="Y"||status==1)?1:0"/>
- <Cell col="1" style="align:left;padding:0 5 0 5;" text="bind:proccorpcd"/>
- <Cell col="2" displaytype="date" style="padding:0 5 0 5;" text="bind:rgstdd"/>
- <Cell col="3" style="align:left;padding:0 5 0 5;" text="bind:formnm"/>
- <Cell col="4" style="padding:0 5 0 5;" text="bind:appmannm"/>
- <Cell col="5" style="padding:0 5 0 5;" text="bind:insuno"/>
- <Cell col="6" style="padding:0 5 0 5;" text="bind:pathngnm"/>
- <Cell col="7" style="align:left;padding:0 5 0 5;" text="bind:rrgstno"/>
- <Cell col="8" style="align:left;padding:0 5 0 5;" text="bind:insuranceid"/>
- <Cell col="9" displaytype="date" style="padding:0 5 0 5;" text="bind:startdate"/>
- <Cell col="10" displaytype="date" style="padding:0 5 0 5;" text="bind:enddate"/>
- <Cell col="11" displaytype="date" style="padding:0 5 0 5;" text="bind:genrdd"/>
- <Cell col="12" style="padding:0 5 0 5;" text="bind:remark"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="EDI내역" id="case3" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 800 549" id="grd_edilist" binddataset="ds_upsamlist" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="82"/>
- <Column size="76"/>
- <Column size="115"/>
- <Column size="110"/>
- <Column size="105"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="100"/>
- </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="비고"/>
- </Band>
- <Band id="body">
- <Cell style="background:URL('theme://images/bg_gridHead.png') stretch 3,3;background2:URL('theme://images/bg_gridHead.png') stretch 3,3;" text="expr:currow+1"/>
- <Cell col="1" style="padding:0 5 0 5;" text="bind:pid"/>
- <Cell col="2" style="padding:0 5 0 5;" text="bind:hngnm"/>
- <Cell col="3" style="align:left;padding:0 5 0 5;" text="bind:rrgstno"/>
- <Cell col="4" style="align:left;padding:0 5 0 5;" text="bind:insuno"/>
- <Cell col="5" style="align:left;padding:0 5 0 5;" text="bind:serdiagno"/>
- <Cell col="6" displaytype="date" style="padding:0 5 0 5;" text="bind:serdiagfromdd"/>
- <Cell col="7" displaytype="date" style="padding:0 5 0 5;" text="bind:serdiagtodd"/>
- <Cell col="8" style="align:left;padding:0 5 0 5;" text="bind:ediremfact"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Grid position="absolute 200 593 465 648" id="grd_filedata" visible="false" binddataset="ds_savedata">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="252"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="samstr"/>
- </Band>
- <Band id="body">
- <Cell text="bind:samstr"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 605 68 669 87" id="btn_save" class="btn2" text="파일저장" onclick="btn_save_onclick"/>
- <Button position="absolute 670 68 734 87" id="btn_load" class="btn2" enable="false" text="파일열기" onclick="btn_load_onclick"/>
- <Button position="absolute 735 68 799 87" id="btn_update" class="btn2" enable="false" text="내용저장" onclick="btn_update_onclick"/>
- <Div id="group1" taborder="1" class="div_SA2" position="absolute 0 18 800 63">
- <Layouts>
- <Layout>
- <Static id="caption12" text="조회기간 :" class="search_name" position="absolute 10 13 105 30" anchor="default"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 290 14 302 31" anchor="default"/>
- <Static id="caption1" text="구분 :" class="search_name" visible="false" position="absolute 245 27 310 44" anchor="default"/>
- <Radio id="rdo_sendyn" taborder="7" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 310 26 440 46" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">전송전</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">전송후</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Calendar id="ipt_todd" taborder="8" class="input_search" position="absolute 305 12 405 31" anchor="default" autoselect="true"/>
- <Calendar id="ipt_fromdd" taborder="9" class="input_search" position="absolute 185 12 285 31" anchor="default" autoselect="true"/>
- <Button id="btn_srch" taborder="10" text="조회" class="btn1" position="absolute 736 11 792 33" anchor="default" onclick="btn_srch_onclick"/>
- <Static id="caption2" text="등록자 주민등록번호:" class="search_name" visible="false" position="absolute 142 5 293 22" anchor="default"/>
- <Edit id="ipt_rrgstno" taborder="11" visible="false" position="absolute 297 4 432 23" anchor="default" autoselect="true"/>
- <Combo id="combo1" taborder="12" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 95 12 180 31" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">요청일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">서명일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="Static00" text="등록번호" position="absolute 444 13 505 33" class="search_name"/>
- <Edit id="Edit00" taborder="13" position="absolute 512 13 597 33"/>
- <CheckBox id="chk_serdiagnoyn" taborder="14" text="중증번호有 자료만" position="absolute 605 13 731 33" falsevalue="N" truevalue="Y" tooltiptext="중증번호가 있는 사람이지만 테스트용으로 샘파일을 만들어 볼 수 있습니다" tooltiptype="default,mouseleave"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_srchinfo" 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="sendyn" type="STRING" size="256"/>
- <Column id="sendrrgstno" type="STRING" size="256"/>
- <Column id="srchkind" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="serdiagnoyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sendyn">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_serdiaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_serdiaglist_oncolumnchanged">
- <ColumnInfo>
- <Column id="genrdd" type="STRING" size="256"/>
- <Column id="genrno" type="STRING" size="256"/>
- <Column id="histno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="histcd" type="STRING" size="256"/>
- <Column id="anohosprgstflag" type="STRING" size="256"/>
- <Column id="genrflagcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="cncrdiagcnfmdd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="serdiagno" type="STRING" size="256"/>
- <Column id="serdiagfromdd" type="STRING" size="256"/>
- <Column id="serdiagtodd" type="STRING" size="256"/>
- <Column id="genrorddd" type="STRING" size="256"/>
- <Column id="genrcretno" type="STRING" size="256"/>
- <Column id="signyn" type="STRING" size="256"/>
- <Column id="signdt" type="STRING" size="256"/>
- <Column id="prntyn" type="STRING" size="256"/>
- <Column id="prntdt" type="STRING" size="256"/>
- <Column id="prntpsnid" type="STRING" size="256"/>
- <Column id="ediflag" type="STRING" size="256"/>
- <Column id="editretdd" type="STRING" size="256"/>
- <Column id="editrettm" type="STRING" size="256"/>
- <Column id="prstagtyn" type="STRING" size="256"/>
- <Column id="zipcdhead" type="STRING" size="256"/>
- <Column id="zipcdfoot" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="rgstdeptcd" type="STRING" size="256"/>
- <Column id="rgstdd" type="STRING" size="256"/>
- <Column id="rgsttm" type="STRING" size="256"/>
- <Column id="rgstrid" type="STRING" size="256"/>
- <Column id="updtdeptcd" type="STRING" size="256"/>
- <Column id="updtdd" type="STRING" size="256"/>
- <Column id="updttm" type="STRING" size="256"/>
- <Column id="updtrid" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="maindiagcd" type="STRING" size="256"/>
- <Column id="healcarediagcd" type="STRING" size="256"/>
- <Column id="acptplcetel" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="acptplceaddr" type="STRING" size="256"/>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="lastupdttrnm" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="insuno" type="STRING" size="256"/>
- <Column id="insunm" type="STRING" size="256"/>
- <Column id="insdrela" type="STRING" size="256"/>
- <Column id="relaflag" type="STRING" size="256"/>
- <Column id="appmannm" type="STRING" size="256"/>
- <Column id="infromdd" type="STRING" size="256"/>
- <Column id="intodd" type="STRING" size="256"/>
- <Column id="strcnfmmthd" type="STRING" size="256"/>
- <Column id="healcarediagnm" type="STRING" size="256"/>
- <Column id="acptplcebaseaddr" type="STRING" size="256"/>
- <Column id="maindiagnm" type="STRING" size="256"/>
- <Column id="licnsno" type="STRING" size="256"/>
- <Column id="samstr" type="STRING" size="256"/>
- <Column id="chkflag" type="STRING" size="256"/>
- <Column id="sam" type="STRING" size="256"/>
- <Column id="sendrrgstno" type="STRING" size="256"/>
- <Column id="maincd" type="STRING" size="256"/>
- <Column id="healcarecd" type="STRING" size="256"/>
- <Column id="report" type="STRING" size="256"/>
- <Column id="email" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_loaddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_loaddata_oncolumnchanged">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="proccorpcd" type="STRING" size="256"/>
- <Column id="rgstdd" type="STRING" size="256"/>
- <Column id="formnm" type="STRING" size="256"/>
- <Column id="appmannm" type="STRING" size="256"/>
- <Column id="insuno" type="STRING" size="256"/>
- <Column id="pathngnm" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="insuranceid" type="STRING" size="256"/>
- <Column id="startdate" type="STRING" size="256"/>
- <Column id="enddate" type="STRING" size="256"/>
- <Column id="genrdd" type="STRING" size="256"/>
- <Column id="remark" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_upsamlist" 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="rrgstno" type="STRING" size="256"/>
- <Column id="insuno" type="STRING" size="256"/>
- <Column id="serdiagno" type="STRING" size="256"/>
- <Column id="serdiagfromdd" type="STRING" size="256"/>
- <Column id="serdiagtodd" type="STRING" size="256"/>
- <Column id="ediremfact" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="samstr" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="remanalyflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="remanalyflag">send</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_serdiagdetllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="genrdd" type="STRING" size="256"/>
- <Column id="genrno" type="STRING" size="256"/>
- <Column id="histno" type="STRING" size="256"/>
- <Column id="diagmthdcd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="diagetccnts" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_M0263" 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_updatedata" 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="genrdd" type="STRING" size="256"/>
- <Column id="genrno" type="STRING" size="256"/>
- <Column id="histno" type="STRING" size="256"/>
- <Column id="genrflagcd" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="체크"/>
- <Column id="insuno" type="STRING" size="256" sumtext="건강보험증번호"/>
- <Column id="pathngnm" type="STRING" size="256" sumtext="수진자성명"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="수진자주민번호"/>
- <Column id="insuranceid" type="STRING" size="256" sumtext="중증번호"/>
- <Column id="startdate" type="STRING" size="256" sumtext="중증시작일자"/>
- <Column id="enddate" type="STRING" size="256" sumtext="중증종료일자"/>
- <Column id="remno" type="STRING" size="256" sumtext="코드"/>
- <Column id="remark" type="STRING" size="256" sumtext="비고"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_genrflagcd" 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">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item5" compid="group1.combo1" propid="value" datasetid="ds_srchinfo" columnid="srchkind"/>
- <BindItem id="item6" compid="group1.ipt_fromdd" propid="value" datasetid="ds_srchinfo" columnid="fromdd"/>
- <BindItem id="item7" compid="group1.ipt_todd" propid="value" datasetid="ds_srchinfo" columnid="todd"/>
- <BindItem id="item8" compid="group1.ipt_rrgstno" propid="value" datasetid="ds_srchinfo" columnid="sendrrgstno"/>
- <BindItem id="item9" compid="group1.rdo_sendyn" propid="value" datasetid="ds_srchinfo" columnid="sendyn"/>
- <BindItem id="item0" compid="group1.Edit00" propid="value" datasetid="ds_srchinfo" columnid="pid"/>
- <BindItem id="item1" compid="group1.chk_serdiagnoyn" propid="value" datasetid="ds_srchinfo" columnid="serdiagnoyn"/>
- <BindItem id="item3" compid="group1.chk_serdiagnoyn" propid="truevalue" datasetid="Y" columnid=""/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-11-07
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-11-07 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMRD00200
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면오픈시 폼load이후 실행
- ****************************************************************************************/
- function SPMRD00200_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
-
- var dd = utlf_getCurrentDate();
- ds_srchinfo.setColumn(0,"fromdd",dd);
- ds_srchinfo.setColumn(0,"todd",dd);
- grdf_initGrid(switch1.case1.grd_send);
- grdf_initGrid(switch1.case2.grd_recv);
- var arrParam = [{dsNm: "ds_M0263", cdGrpId: "M0263"}
- ]
- appf_getCodeList(arrParam);
- switch1.tabindex = 0;
- ds_srchinfo.setColumn(0,"srchkind","1");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group1.btn_srch
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 실행
- ****************************************************************************************/
- function btn_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- var serdiagnoyn = ds_srchinfo.getColumn(0,"serdiagnoyn");
- var pid = ds_srchinfo.getColumn(0,"pid");
-
- if (serdiagnoyn == "Y" ) {
- if (utlf_isNull(pid)) {
- sysf_messageBox("등록번호를 반드시 입력하셔야 합니다","I");
- return;
- }
- }
-
- var sRemFlag = ds_cond.getColumn(0,"remanalyflag");
- if (sRemFlag == "send"){
- // submit("TRMRD00203");
- var oParam = {};
- oParam.id = "TRMRD00203";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqGetSerDiagSAMList";
- oParam.inds = "req=ds_srchinfo";
- oParam.outds = "ds_serdiaglist=serdiaglist ds_serdiagdetllist=serdiagdetllist";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
- } else if (sRemFlag == "edi"){
- // submit("TRMRD00206");
- var oParam = {};
- oParam.id = "TRMRD00206";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqGetUpdateSAMList";
- oParam.inds = "req=ds_srchinfo";
- oParam.outds = "ds_upsamlist=upsamlist";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
- }
- for(var i = 0 ; i < ds_serdiaglist.rowcount ; i++) {
- dsf_makeValue(ds_serdiaglist, "chkflag", "string", "Y", i);
- }
- }
- /****************************************************************************************
- * Components : Tab
- * Components ID : switch1
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 탭 페이지 변경
- ****************************************************************************************/
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex == 0) {
- fDisabled("send");
- dsf_makeValue(ds_cond,"remanalyflag","string","send");
- group1.btn_srch.visible = true;
- } else if(e.postindex == 1) {
- fDisabled("recv");
- dsf_makeValue(ds_cond,"remanalyflag","string","recv");
- group1.btn_srch.visible = false;
- } else {
- fDisabled("edi");
- dsf_makeValue(ds_cond,"remanalyflag","string","edi");
- group1.btn_srch.visible = true;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 파일저장 버튼 실행
- ****************************************************************************************/
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_savedata.clearData();
-
- for (var i = 0; i < ds_serdiaglist.rowcount; i++) {
- var tmpChk = ds_serdiaglist.getColumn(i,"chkflag");
- if(tmpChk =="Y"){
- ds_updatedata.setColumn(0,"pid", ds_serdiaglist.getColumn(i,"pid"));
- ds_updatedata.setColumn(0,"genrdd", ds_serdiaglist.getColumn(i,"genrdd"));
- ds_updatedata.setColumn(0,"genrno", ds_serdiaglist.getColumn(i,"genrno"));
- ds_updatedata.setColumn(0,"histno", ds_serdiaglist.getColumn(i,"histno"));
- ds_updatedata.setColumn(0,"genrflagcd", ds_serdiaglist.getColumn(i,"genrflagcd"));
- ds_updatedata.setColumn(0,"insukind", ds_serdiaglist.getColumn(i,"insukind"));
-
- // model.setValue("/root/init/savedata/savedata/samstr", model.getValue("/root/main/listinfo/serdiaglist/serdiaglist["+i+"]/samstr"));
- ds_savedata.setColumn(ds_savedata.addRow(),"samstr",ds_serdiaglist.getColumn(i,"samstr"));
- dsf_copyDs(ds_main_savedata,ds_savedata,"after");
-
- // submit("TXMRD00205");
- }
- }
-
- if( lf_grdf_exportCsv(grd_filedata, "text", "", "") != false ){
- alert("저장이 완료되었습니다.");
- }
- ds_savedata.clearData();
- }
- function lf_grdf_exportCsv(objGrid, sFileName, sFilePath, sfileOpen)
- {
-
- var strValue = "";
- var objDs = eval(objGrid.binddataset);
-
- if(utlf_isNull(sFileName)){
- sFileName = objGrid.name + "_temp";
- }
-
- //fileopen 여부
- if(utlf_isNull(sfileOpen)){
- sfileOpen = "none";
- }else{
- sfileOpen = String(sfileOpen).toUpperCase();
- }
-
- var strFileName = sFileName+".txt";
- var newFilePath;
- var preFilePath;
- var objExtCommon = new ExtCommon();
-
- // 저장이면 파일 다이얼로그를 통하여 저장 경로를 선택한다.
- if (utlf_isNull(sFilePath))
- {
- var fd = new FileDialog();
- var vFile_down = fd.open("Excel Export", FileDialog.SAVE ,"%MYDOCUMENT%", strFileName);
- if (utlf_isNull(vFile_down))
- {
- return false;
- }
-
- strFileName = vFile_down.fullpath;
- }else{
-
- // export 시 내문서로 저장이 되기 때문에 파일 이동을 한다.
- var userHomeDir = system.convertRealPath("%MYDOCUMENT%");
- strFileName = userHomeDir + strFileName.replace(".txt","") + ".txt";
- preFilePath = strFileName;
- }
-
- //쉼표로 구분자를 준 CSV 형식의 그리드 데이터
- strValue = objGrid.getCsvData();
-
- var vfile = new VirtualFile();
- var to_day = new Date();
-
- var sTxt;
- sTxt = strValue.replace(String.fromCharCode(10),"\r\n");
- sTxt = sTxt.replace('"','');
- sTxt = sTxt + "\r\n";
- vfile.open(strFileName, VirtualFile.openWrite | VirtualFile.openText);
- var bSuccess2 = vfile.write(sTxt, "euc-kr");
- var bSuccess3 = vfile.close();
-
- vfile = null;
- var exeFileNM;
-
- if(!utlf_isNull(sFilePath)) //파일경로가 입력 되었을 경우
- {
- newFilePath = sFilePath + sFileName.replace(".txt","") + ".txt";
- if(objExtCommon.IsFileExist(newFilePath)) objExtCommon.DeleteFile(newFilePath);
- var rtn = objExtCommon.MoveFile(path, newFilePath, false);
- exeFileNM = newFilePath;
- } else{
- exeFileNM = strFileName;
- }
- if(sfileOpen == "OPEN"){
- objExtCommon.executeProcess(exeFileNM, "","");
- }else if(sfileOpen == "USER"){
- var bOK;
- bOK = confirm( "확인", "TXT파일을 열어보시겠습니까?", "question");
-
- if(bOK){
- objExtCommon.executeProcess(exeFileNM, "","");
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_load
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 파일열기 버튼 실행(Excel업로드)
- ****************************************************************************************/
- function btn_load_onclick(obj:Button, e:ClickEventInfo)
- {
- // model.resetInstanceNode("/root/main/openlist/loaddata/item");
- ds_loaddata.clearData();
- switch1.case2.grd_recv.setFormat("load");
- // knuh_20110119 엑셀로 변경
- grdf_ImportExcel("ds_loaddata", 2, switch1.case2.grd_recv, 1);
- if(ds_loaddata.rowcount > 0) {
- for(var i = 0 ; i < ds_loaddata.rowcount ; i++) {
- ds_loaddata.setColumn(i,"status","Y");
- }
- }
- switch1.case2.grd_recv.setFormat("default");
- btn_update.enable = true;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_update
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : Excel 업로드한 내용 저장
- ****************************************************************************************/
- function btn_update_onclick(obj:Button, e:ClickEventInfo)
- {
- // var rows = grd_recv.rows - grd_recv.fixedRows;
- var rows = ds_loaddata.rowcount;
- // knuh_20110420_수정
- //var savedata = "status▦insuno▦pathngnm▦rrgstno▦insuranceid▦startdate▦enddate▦remno▦bun▦remark▩";
- // var savedata = "status▦insuno▦pathngnm▦rrgstno▦insuranceid▦startdate▦enddate▩";
- ds_send.clearData();
- for(var i = 0 ; i < rows ; i++) {
- var chk = ds_loaddata.getColumn(i,"status");
-
- if (chk == "Y") {
- var nAddRow = ds_send.addRow();
- ds_send.copyRow(nAddRow, ds_loaddata, i);
-
- var startdate = utlf_transNullToEmpty(ds_send.getColumn(nAddRow, "startdate"));
- startdate = startdate.setReplaceWord("/", "");
- var enddate = utlf_transNullToEmpty(ds_send.getColumn(nAddRow, "enddate"));
- enddate = enddate.setReplaceWord("/", "");
- ds_send.setColumn(nAddRow, "startdate", startdate);
- ds_send.setColumn(nAddRow, "enddate", enddate);
- }
- }
-
- var oParam = {};
- oParam.id = "TXMRD00204";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqExeSaveSerDiagUpdate";
- oParam.inds = "savedata=ds_send";
- oParam.outds = "ds_serdiaglist=serdiaglist";
- oParam.async = false;
- oParam.callback = "cf_TXMRD00204";
- tranf_submit(oParam);
-
- ds_loaddata.clearData();
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_loaddata
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : Grid 내 checkbox 값 변경을 위함
- ****************************************************************************************/
- function ds_loaddata_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="status") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- function ds_serdiaglist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="chkflag") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Function : fDisabled
- * Description : tab page별 버튼활성화 설정
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fDisabled(flag){
- if(flag=="send"){
- var dd = utlf_getCurrentDate();
- // var sendValue = ds_srchinfo.getColumn(0,"sendyn");
- ds_srchinfo.setColumn(0,"fromdd",dd);
- ds_srchinfo.setColumn(0,"todd",dd);
- btn_save.enable = true;
- btn_load.enable = false;
- btn_update.enable = false;
- }else if(flag=="recv"){
- group1.caption2.visible = false;
- group1.ipt_rrgstno.visible = false;
- btn_save.enable = false;
- btn_load.enable = true;
- }else if(flag=="edi"){
- var dd = utlf_getCurrentDate();
- // var sendValue = ds_srchinfo.getColumn(0,"sendyn");
- ds_srchinfo.setColumn(0,"fromdd",dd);
- ds_srchinfo.setColumn(0,"todd",dd);
- group1.caption2.visible = false;
- group1.ipt_rrgstno.visible = false;
- btn_save.enable = false;
- btn_load.enable = false;
- btn_update.enable = false;
- }
- }
- /****************************************************************************************
- * Function : cf_TXMRD00204
- * Description : TXMRD00204 콜백함수
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TXMRD00204(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- sysf_messageBox("저장에", "E009");
- return;
- } else {
- sysf_messageBox("저장이","I002");
- }
- }
- function switch1_case1_grd_send_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if ( e.row < 0 || e.col < 0) {
- return;
- }
- var row = e.row;
- var oDs = this.objects[obj.binddataset];
- var sGenrDd = oDs.getColumn(row, "genrdd");
- var sGenrNo = oDs.getColumn(row, "genrno");
- var sHistNo = oDs.getColumn(row, "histno");
-
- frmf_setParameter("SPMMO11500_genrdd", sGenrDd);
- frmf_setParameter("SPMMO11500_genrno", sGenrNo);
- frmf_setParameter("SPMMO11500_histno", sHistNo);
- frmf_setParameter("SPMMO11500_viewmode", "Y");
-
- if(sGenrDd < "20190301" ) { // 20190301 이전
- frmf_modal("SPMMO11500", "SPMMO11500", null, null, null, null, null, null, null, null, null, null, "M");
- } else {
- frmf_modal("SPMMO11510", "SPMMO11510", null, null, null, null, null, null, null, null, null, null, "M");
- }
-
- frmf_clearParameter("SPMMO11500_genrdd");
- frmf_clearParameter("SPMMO11500_genrno");
- frmf_clearParameter("SPMMO11500_histno");
- frmf_clearParameter("SPMMO11500_viewmode");
-
- }
- ]]></Script>
- </Form>
- </FDL>
|