12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMRD02000" position="absolute 0 0 801 670" titletext="희귀난치등록 SAM파일관리" onload="SPMRD02000_onload">
- <Layouts>
- <Layout>
- <Static text="희귀난치등록 SAM파일관리" position="absolute 0 0 244 16" align="align:center middle;" id="caption14" class="tit_2"/>
- <Tab position="absolute 0 74 800 663" id="switch1" style="buttonpadding:4 20 4 20;" onchanged="switch1_onchanged" taborder="0">
- <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 565" id="grd_send" binddataset="ds_main_rareobstlist" cellsizingtype="col" oncelldblclick="switch1_case1_grd_send_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30" band="left"/>
- <Column size="34"/>
- <Column size="82"/>
- <Column size="83"/>
- <Column size="74"/>
- <Column size="71"/>
- <Column size="67"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="130"/>
- <Column size="130"/>
- <Column size="60"/>
- <Column size="115"/>
- <Column size="200"/>
- <Column size="84"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- </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" colspan="2" 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="확인일자"/>
- <Cell col="25" text="신청일자"/>
- <Cell col="26" 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" text="bind:reregyn"/>
- <Cell col="3" displaytype="text" text="bind:pid"/>
- <Cell col="4" displaytype="text" text="bind:orddeptnm"/>
- <Cell col="5" displaytype="text" text="bind:healcarecd"/>
- <Cell col="6" text="bind:spclcd"/>
- <Cell col="7" text="bind:insuno"/>
- <Cell col="8" text="bind:insdnm"/>
- <Cell col="9" text="bind:hngnm"/>
- <Cell col="10" text="bind:spclcd"/>
- <Cell col="11" text="bind:rrgstno"/>
- <Cell col="12" text="bind:acptplcetel"/>
- <Cell col="13" text="bind:zipcdhead"/>
- <Cell col="14" text="bind:zipcdfoot"/>
- <Cell col="15" style="align:left;padding:0 3 0 3;" text="bind:acptplcebaseaddr"/>
- <Cell col="16" style="align:left;padding:0 3 0 3;" text="bind:acptplceaddr"/>
- <Cell col="17" displaytype="combo" edittype="combo" text="bind:genrflagcd" combodataset="ds_cmb_genrflagcd" combocodecol="value" combodatacol="label"/>
- <Cell col="18" displaytype="date" style="align:center;padding:0 3 0 3;" text="bind:rareobstcnfmdd"/>
- <Cell col="19" style="align:left;padding:0 3 0 3;" text="bind:sam"/>
- <Cell col="20" text="bind:licnsno"/>
- <Cell col="21" text="bind:orddrnm"/>
- <Cell col="22" text="bind:appmannm"/>
- <Cell col="23" displaytype="combo" edittype="combo" text="bind:relaflag" combodataset="ds_M0263" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="24" displaytype="date" style="align:center;" text="bind:rgstdd"/>
- <Cell col="25" displaytype="date" style="align:center;" text="bind:prntdt"/>
- <Cell col="26" 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 565" id="grd_recv" binddataset="ds_main_loaddata" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30" band="left"/>
- <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" text="bind:proccorpcd"/>
- <Cell col="3" displaytype="date" text="bind:rgstdd"/>
- <Cell col="4" text="bind:formnm"/>
- <Cell col="5" text="bind:appmannm"/>
- <Cell col="6" text="bind:insuno"/>
- <Cell col="7" text="bind:pathngnm"/>
- <Cell col="8" text="bind:rrgstno"/>
- <Cell col="9" text="bind:insuranceid"/>
- <Cell col="10" displaytype="date" text="bind:startdate"/>
- <Cell col="11" displaytype="date" text="bind:enddate"/>
- <Cell col="12" displaytype="date" text="bind:genrdd"/>
- <Cell col="13" 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" text="bind:proccorpcd"/>
- <Cell col="2" displaytype="date" text="bind:rgstdd"/>
- <Cell col="3" text="bind:formnm"/>
- <Cell col="4" text="bind:appmannm"/>
- <Cell col="5" text="bind:insuno"/>
- <Cell col="6" text="bind:pathngnm"/>
- <Cell col="7" text="bind:rrgstno"/>
- <Cell col="8" text="bind:insuranceid"/>
- <Cell col="9" displaytype="date" text="bind:startdate"/>
- <Cell col="10" displaytype="date" text="bind:enddate"/>
- <Cell col="11" displaytype="date" text="bind:genrdd"/>
- <Cell col="12" 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 565" id="grd_edilist" binddataset="ds_main_upsamlist" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="82"/>
- <Column size="76"/>
- <Column size="118"/>
- <Column size="110"/>
- <Column size="106"/>
- <Column size="84"/>
- <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 celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:rrgstno"/>
- <Cell col="4" text="bind:insuno"/>
- <Cell col="5" text="bind:rareobstno"/>
- <Cell col="6" displaytype="date" text="bind:rareobstfromdd"/>
- <Cell col="7" displaytype="date" text="bind:rareobsttodd"/>
- <Cell col="8" text="bind:ediremfact"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Grid position="absolute 200 615 465 670" id="grd_filedata" visible="false" binddataset="ds_main_savedata" taborder="1">
- <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 70 669 89" id="btn_save" class="btn2" text="파일저장" onclick="btn_save_onclick" taborder="2"/>
- <Button position="absolute 670 70 734 89" id="btn_load" class="btn2" enable="false" text="파일열기" onclick="btn_load_onclick" taborder="3"/>
- <Button position="absolute 735 70 799 89" id="btn_update" class="btn2" enable="false" text="내용저장" onclick="btn_update_onclick" taborder="4"/>
- <Shape id="line1" class="line_1" position="absolute 0 17 800 21" style="strokepen:3 solid #9ebed4ff;"/>
- <Div id="group1" taborder="5" class="div_SA2" position="absolute 0 21 800 66">
- <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 37 27 102 44" anchor="default"/>
- <Radio id="rdo_sendyn" taborder="1" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 102 26 232 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="2" class="input_search" position="absolute 305 12 405 31" anchor="default" autoselect="true"/>
- <Calendar id="ipt_fromdd" taborder="3" class="input_search" position="absolute 185 12 285 31" anchor="default" autoselect="true"/>
- <Button id="btn_srch" taborder="4" text="조회" class="btn1" position="absolute 720 11 776 33" anchor="default" onclick="group1_btn_srch_onclick"/>
- <Static id="caption2" text="등록자 주민등록번호:" class="search_name" visible="false" position="absolute 206 25 357 42" anchor="default"/>
- <Edit id="ipt_rrgstno" taborder="5" visible="false" position="absolute 361 24 496 43" anchor="default" autoselect="true"/>
- <Combo id="combo1" taborder="6" 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="caption3" text="등록번호 :" class="search_name" position="absolute 413 13 484 30"/>
- <Edit id="input1" taborder="7" autoselect="true" position="absolute 484 12 558 31"/>
- <CheckBox id="chk_rareobstnoyn" taborder="8" text="특례번호有 자료만" position="absolute 581 11 703 31" truevalue="Y" falsevalue="N" 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="rareobstnoyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sendyn">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_rareobstlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_rareobstlist_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="rareobstno" type="STRING" size="256"/>
- <Column id="rareobstfromdd" type="STRING" size="256"/>
- <Column id="rareobsttodd" 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"/>
- <Column id="spclcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_loaddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_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_main_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="rareobstno" type="STRING" size="256"/>
- <Column id="rareobstfromdd" type="STRING" size="256"/>
- <Column id="rareobsttodd" type="STRING" size="256"/>
- <Column id="ediremfact" 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_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_main_rareobstdetllist" 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_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>
- <Dataset id="ds_main_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_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>
- </Dataset>
- <Dataset id="ds_init_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>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata" 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>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.combo1" propid="value" datasetid="ds_srchinfo" columnid="srchkind"/>
- <BindItem id="item1" compid="group1.ipt_fromdd" propid="value" datasetid="ds_srchinfo" columnid="fromdd"/>
- <BindItem id="item2" compid="group1.ipt_todd" propid="value" datasetid="ds_srchinfo" columnid="todd"/>
- <BindItem id="item3" compid="group1.ipt_rrgstno" propid="value" datasetid="ds_srchinfo" columnid="sendrrgstno"/>
- <BindItem id="item4" compid="group1.rdo_sendyn" propid="value" datasetid="ds_srchinfo" columnid="sendyn"/>
- <BindItem id="item5" compid="group1.input1" propid="value" datasetid="ds_srchinfo" columnid="pid"/>
- <BindItem id="item6" compid="group1.chk_rareobstnoyn" propid="value" datasetid="ds_srchinfo" columnid="rareobstnoyn"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-12-16
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-12-16 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMRD02000
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면오픈시 폼load이후 실행
- ****************************************************************************************/
- function SPMRD02000_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- var dd = utlf_getCurrentDate();
- ds_srchinfo.setColumn(0,"fromdd", dd);
- ds_srchinfo.setColumn(0,"todd", dd);
-
- // zbcfGetCodeList(new Array( "M0263"), new Array( "/root/init/codelist"), true);
- var arrParam = [{dsNm: "ds_M0263", cdGrpId: "M0263"}
- ]
- appf_getCodeList(arrParam);
- grdf_initGrid(switch1.case1.grd_send);
- grdf_initGrid(switch1.case2.grd_recv);
- switch1.tabindex = 0;
-
- //2013/01/09 Start
- ds_srchinfo.setColumn(0,"srchkind", "1");
- //2013/01/09 End
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group1.btn_srch
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 실행
- ****************************************************************************************/
- function group1_btn_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- var sRemFlag = ds_cond.getColumn(0,"remanalyflag");
-
- var rareobstnoyn = ds_srchinfo.getColumn(0,"rareobstnoyn");
- var pid = ds_srchinfo.getColumn(0,"pid");
-
- if (rareobstnoyn == "Y" ) {
- if (utlf_isNull(pid)) {
- sysf_messageBox("등록번호를 반드시 입력하셔야 합니다","I");
- return;
- }
- }
-
- if (sRemFlag == "send"){
- // submit("TRMRD02003");
- var oParam = {};
- oParam.id = "TRMRD02003";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqGetRareObstSAMList";
- oParam.inds = "req=ds_srchinfo";
- oParam.outds = "ds_main_rareobstlist=rareobstlist ds_main_rareobstdetllist=rareobstdetllist";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
- } else if (sRemFlag == "edi"){
- // submit("TRMRD02006");
- var oParam = {};
- oParam.id = "TRMRD02006";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqGetRareUpdateSAMList";
- oParam.inds = "req=ds_srchinfo";
- oParam.outds = "ds_main_upsamlist=upsamlist";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
- }
- for(var i = 0 ; i < ds_main_rareobstlist.rowcount ; i++) {
- dsf_makeValue(ds_main_rareobstlist, "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_main_savedata.clear();
- for(var i = 0; i < ds_main_rareobstlist.rowcount; i++) {
- var tmpChk = ds_main_rareobstlist.getColumn(i,"chkflag");
- if(tmpChk =="Y"){
- ds_init_updatedata.setColumn(0,"pid", ds_main_rareobstlist.getColumn(i,"pid"));
- ds_init_updatedata.setColumn(0,"genrdd", ds_main_rareobstlist.getColumn(i,"genrdd"));
- ds_init_updatedata.setColumn(0,"genrno", ds_main_rareobstlist.getColumn(i,"genrno"));
- ds_init_updatedata.setColumn(0,"histno", ds_main_rareobstlist.getColumn(i,"histno"));
- ds_init_updatedata.setColumn(0,"genrflagcd",ds_main_rareobstlist.getColumn(i,"genrflagcd"));
- ds_init_updatedata.setColumn(0,"insukind", ds_main_rareobstlist.getColumn(i,"insukind"));
-
- ds_init_savedata.setColumn(0,"samstr",ds_main_rareobstlist.getColumn(i,"samstr"));
- //ds_main_savedata.copyData(ds_init_savedata);
- dsf_copyDs(ds_main_savedata, ds_init_savedata, "after");
-
- // submit("TXMRD02005");
- /*
- var oParam = {};
- oParam.id = "TXMRD02005";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqExeRareObstUpdate";
- oParam.inds = "updatedata=ds_init_updatedata";
- //oParam.outds = "ds_main_rareobstlist=rareobstlist";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
- */
- }
- }
- //grdf_exportTxt(grd_filedata, "text", "", "");
- if( lf_grdf_exportCsv(grd_filedata, "text", "", "") != false ){
- alert("저장이 완료되었습니다.");
- }
-
- ds_main_savedata.clear();
- }
- 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)
- {
- ds_main_loaddata.clearData();
- switch1.case2.grd_recv.setFormat("load");
-
- // knuh_20110119 엑셀로 변경
- grdf_ImportExcel("ds_main_loaddata", 2, switch1.case2.grd_recv, 1);
- if(ds_main_loaddata.rowcount > 0) {
- for(var i = 0 ; i < ds_main_loaddata.rowcount ; i++) {
- ds_main_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 = ds_main_loaddata.rowcount;
- ds_send_savedata.clearData();
-
- for(var i = 0 ; i < rows ; i++) {
- var chk = ds_main_loaddata.getColumn(i,"status");
-
- if (chk == "Y") {
- var nAddRow = ds_send_savedata.addRow();
- ds_send_savedata.copyRow(nAddRow, ds_main_loaddata, i);
-
- var startdate = utlf_transNullToEmpty(ds_send_savedata.getColumn(nAddRow, "startdate"));
- startdate = startdate.setReplaceWord("/", "");
- var enddate = utlf_transNullToEmpty(ds_send_savedata.getColumn(nAddRow, "enddate"));
- enddate = enddate.setReplaceWord("/", "");
- ds_send_savedata.setColumn(nAddRow, "startdate", startdate);
- ds_send_savedata.setColumn(nAddRow, "enddate", enddate);
- }
- }
- // submit("TXMRD02004");
- var oParam = {};
- oParam.id = "TXMRD02004";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqExeSaveRareObstUpdate";
- oParam.inds = "savedata=ds_send_savedata";
- oParam.outds = "ds_main_rareobstlist=rareobstlist";
- oParam.async = false;
- oParam.callback = "cf_TXMRD02004";
- tranf_submit(oParam);
- ds_main_loaddata.clearData();
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_loaddata
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : Grid 내 checkbox 값 변경을 위함
- ****************************************************************************************/
- function ds_main_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_main_rareobstlist_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_TXMRD02004
- * Description : TXMRD02004 콜백함수
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TXMRD02004(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");
- var sRgstKindCd = oDs.getColumn(row, "rgstkindcd");
-
-
- frmf_setParameter("SPMMO20000_genrdd", sGenrDd);
- frmf_setParameter("SPMMO20000_genrno", sGenrNo);
- frmf_setParameter("SPMMO20000_histno", sHistNo);
- frmf_setParameter("SPMMO20000_rgstkindcd", sRgstKindCd);
- frmf_setParameter("SPMMO20000_viewmode", "Y");
-
-
- if(sGenrDd < "20190101" ) { // 20190101 이전
- frmf_modal("SPMMO20002", "SPMMO20002", null, null, null, null, null, null, null, null, null, null, "M");
- } else {
- if(sRgstKindCd == "02" || sRgstKindCd == "09") { // 02 중증화상, 09 결핵
- if(sGenrDd < "20190301" ) { // 20190301 이전
- frmf_modal("SPMMO20002", "SPMMO20002", null, null, null, null, null, null, null, null, null, null, "M");
- } else {
- frmf_modal("SPMMO20004", "SPMMO20004", null, null, null, null, null, null, null, null, null, null, "M");
- }
- } else { // 07 극희귀, 08 상세불명, 10 중증치매V800, 11 중증치매V810, 12 희귀질환, 13 중증난치, 14 기타염색체
- frmf_modal("SPMMO20003", "SPMMO20003", null, null, null, null, null, null, null, null, null, null, "M");
- }
- }
-
- frmf_clearParameter("SPMMO20000_genrdd");
- frmf_clearParameter("SPMMO20000_genrno");
- frmf_clearParameter("SPMMO20000_histno");
- frmf_clearParameter("SPMMO20000_rgstkindcd");
- frmf_clearParameter("SPMMO20000_viewmode");
-
-
-
- }
- ]]></Script>
- </Form>
- </FDL>
|