1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPID10100" position="absolute 0 0 1255 726" titletext="입원 청구 생성" style="font:dotum,9,bold;" oninit="SMPID10100_oninit" onload="SMPID10100_onload">
- <Layouts>
- <Layout>
- <CheckBox id="bool1" taborder="1" text="CheckBox" onchanged="bool1_onchanged" position="absolute 46 123 66 143"/>
- <Static id="caption6" text="입원 청구 생성" class="tit_1" position="absolute 0 0 192 25"/>
- <Static id="caption32" text="생성 대상자" class="tit_2" position="absolute 0 93 105 113"/>
- <Grid id="grd_cretlist" taborder="5" binddataset="ds_main_cretlist" useinputpanel="false" cellsizingtype="col" onheaddblclick="group3_grd_cretlist_onheaddblclick" position="absolute 0 114 1254 695" anchor="all" oncellclick="grd_cretlist_oncellclick" onexpanddown="grd_cretlist_onexpanddown" cellmovingtype="col" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="33"/>
- <Column size="37"/>
- <Column size="35"/>
- <Column size="175"/>
- <Column size="35"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="85"/>
- <Column size="55"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="45"/>
- <Column size="65"/>
- <Column size="75"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="83"/>
- <Column size="56"/>
- <Column size="30"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="140"/>
- <Column size="60"/>
- <Column size="56"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="49"/>
- <Column size="48"/>
- <Column size="105"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="60"/>
- <Column size="65"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="50"/>
- <Column size="53"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="58"/>
- <Column size="65"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="59"/>
- <Column size="46"/>
- </Columns>
- <Rows>
- <Row size="36" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="2" text="IO"/>
- <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="CNo"/>
- <Cell col="10" text="주/부"/>
- <Cell col="11" text="생성"/>
- <Cell col="12" text="유형동일 사후(월/차수/순번)"/>
- <Cell col="13" text="정산 유무"/>
- <Cell col="14" colspan="2" text="진료기간"/>
- <Cell col="16" colspan="2" text="진료과"/>
- <Cell col="18" text="DRG여부"/>
- <Cell col="19" text="유형"/>
- <Cell col="20" text="보조"/>
- <Cell col="21" text="메모"/>
- <Cell col="22" colspan="2" text="배분심사자"/>
- <Cell col="24" text="정산최종일"/>
- <Cell col="25" text="수납처리일"/>
- <Cell col="26" text="최종청구일"/>
- <Cell col="27" text="분야"/>
- <Cell col="28" colspan="2" text="청구과"/>
- <Cell col="30" colspan="2" text="생성기간"/>
- <Cell col="32" text="심사상태"/>
- <Cell col="33" text="생성일자"/>
- <Cell col="34" text="도착경로"/>
- <Cell col="35" text="진료결과"/>
- <Cell col="36" text="사망일시"/>
- <Cell col="37" text="청구키"/>
- <Cell col="38" text="전문의"/>
- <Cell col="39" text="입원경로"/>
- <Cell col="40" text="도착경로"/>
- <Cell col="41" text="진료결과"/>
- <Cell col="42" text="도착경로"/>
- <Cell col="43" text="진료결과"/>
- <Cell col="44" text="주민번호"/>
- <Cell col="45" text="보험자기호"/>
- <Cell col="46" text="증번호"/>
- <Cell col="47" text="본인율"/>
- <Cell col="48" text="내원"/>
- <Cell col="49" text="본인구분"/>
- <Cell col="50" colspan="2" text="최종심사자"/>
- <Cell col="52" text="6세미만"/>
- <Cell col="53" text="청구구분"/>
- <Cell col="54" text="희귀난치"/>
- <Cell col="55" text="청구년월"/>
- <Cell col="56" text="청구차수"/>
- <Cell col="57" text="청구단위"/>
- <Cell col="58" text="병실코드"/>
- <Cell col="59" text="병실타입"/>
- <Cell col="60" text="최종심사일자"/>
- <Cell col="61"/>
- <Cell col="62"/>
- <Cell col="63"/>
- <Cell col="64" text="DRG NO"/>
- <Cell col="65" text="부가코드1"/>
- <Cell col="66" text="부가코드2"/>
- <Cell col="67" text="부가코드3"/>
- <Cell col="68" text="부가코드4"/>
- <Cell col="69" text="전담 지원금"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'true' || chk == '1' ? 1 : 0"/>
- <Cell col="2" text="bind:ioflag"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:hngnm"/>
- <Cell col="5" displaytype="date" text="bind:indd" calendardisplaynulltype="none"/>
- <Cell col="6" displaytype="text" text="bind:intm" mask="##:##"/>
- <Cell col="7" displaytype="date" text="bind:dschdd" calendardisplaynulltype="none"/>
- <Cell col="8" text="bind:dschtm" mask="##:##"/>
- <Cell col="9" text="bind:cretno"/>
- <Cell col="10" text="bind:mskind"/>
- <Cell col="11" text="bind:status"/>
- <Cell col="12" text="bind:clam_o"/>
- <Cell col="13" text="bind:obtm"/>
- <Cell col="14" displaytype="date" text="bind:ordfromdd" calendardisplaynulltype="none"/>
- <Cell col="15" displaytype="date" text="bind:ordtodd" calendardisplaynulltype="none"/>
- <Cell col="16" text="bind:orddeptcd"/>
- <Cell col="17" displaytype="combo" text="bind:orddeptcd" combodataset="ds_hidden_list1_dept" combocodecol="deptcd" combodatacol="depthngnm"/>
- <Cell col="18" text="bind:drgyn"/>
- <Cell col="19" text="bind:insukind"/>
- <Cell col="20" text="bind:suppkind"/>
- <Cell col="21" displaytype="text" edittype="text" text="bind:memo" expandshow="show"/>
- <Cell col="22" text="bind:judgid"/>
- <Cell col="23" text="bind:judgidnm"/>
- <Cell col="24" displaytype="date" text="bind:calclastdd" calendardisplaynulltype="none"/>
- <Cell col="25" displaytype="date" text="bind:rcptexecdd" calendardisplaynulltype="none"/>
- <Cell col="26" displaytype="date" text="bind:lastmdlclamdd" calendardisplaynulltype="none"/>
- <Cell col="27" displaytype="combo" style="align:center;" text="bind:ordfildcd" combodataset="ds_init_P0291" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="28" text="bind:clamdeptcd"/>
- <Cell col="29" text="bind:clamdeptnm"/>
- <Cell col="30" displaytype="date" text="bind:clamfromdd" calendardisplaynulltype="none"/>
- <Cell col="31" displaytype="date" text="bind:clamtodd" calendardisplaynulltype="none"/>
- <Cell col="32" displaytype="combo" style="align:center;" text="bind:judgstatus" combodataset="ds_init_P0363" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="33" displaytype="date" text="bind:cretdd" calendardisplaynulltype="none"/>
- <Cell col="34" displaytype="normal" style="align:left;" text="bind:arvpathcd"/>
- <Cell col="35" text="bind:ordrsltcd"/>
- <Cell col="36" displaytype="date" text="bind:dethdt" calendardisplaynulltype="none"/>
- <Cell col="37" text="bind:clamkey"/>
- <Cell col="38" text="bind:medispclid"/>
- <Cell col="39" displaytype="normal" text="bind:inpathcd" combodataset="ds_init_P0002" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="40" text="bind:arvpathcd"/>
- <Cell col="41" text="bind:ordrsltcd"/>
- <Cell col="42" displaytype="normal"/>
- <Cell col="43" displaytype="normal"/>
- <Cell col="44" text="bind:patrrgstno" mask="######-####aaa" maskchar="*"/>
- <Cell col="45" style="align:left middle;" text="bind:insuno"/>
- <Cell col="46" text="bind:cretno"/>
- <Cell col="47" text="bind:brateflag"/>
- <Cell col="48" text="bind:ordtype"/>
- <Cell col="49" text="bind:ownbflag"/>
- <Cell col="50" text="bind:lastjudgid"/>
- <Cell col="51" text="bind:lastjudgnm"/>
- <Cell col="52" text="bind:undersixageyn"/>
- <Cell col="53" text="bind:dschmidlclam"/>
- <Cell col="54" text="bind:rareobstflag"/>
- <Cell col="55" displaytype="text" text="bind:clamym"/>
- <Cell col="56" text="bind:clamdg"/>
- <Cell col="57" text="bind:weekflag"/>
- <Cell col="58" text="bind:roomcd"/>
- <Cell col="59" text="bind:roomtypecd"/>
- <Cell col="60" displaytype="date" text="bind:lastjudgdt" calendardisplaynulltype="none"/>
- <Cell col="61" text="bind:calcscorrecalflag"/>
- <Cell col="62" text="bind:erdeptyn"/>
- <Cell col="63" text="bind:acdacptno"/>
- <Cell col="64" text="bind:drgno"/>
- <Cell col="65" text="bind:detailcd1"/>
- <Cell col="66" text="bind:detailcd2"/>
- <Cell col="67" text="bind:detailcd3"/>
- <Cell col="68" text="bind:detailcd4"/>
- <Cell col="69" text="bind:procercd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button00" taborder="6" text="선택생성" onclick="group3_button2_onclick" onlbuttonup="button2_onlbuttonup" class="btn4" visible="true" position="absolute 1017 700 1099 720" anchor="right bottom"/>
- <Button id="button3" taborder="7" text="전체생성" onclick="group3_button3_onclick" onlbuttonup="button3_onlbuttonup" class="btn4" position="absolute 1101 700 1183 720" anchor="right bottom"/>
- <Button id="button10" taborder="8" text="초기화" onclick="button10_onclick" class="btn4" position="absolute 1185 700 1254 720" anchor="right bottom"/>
- <Button id="btn_excelsave" taborder="9" text="엑셀저장" onclick="group3_btn_excelsave_onclick" onlbuttonup="btn_excelsave_onlbuttonup" class="btn7" position="absolute 736 89 812 109" anchor="top right"/>
- <CheckBox id="checkbox1" taborder="10" text="생성된 자료 선택 제외" truevalue="Y" position="absolute 828 89 968 109" anchor="top right"/>
- <Button id="btn_selectall" taborder="11" text="생성로그확인" class="btn2" position="absolute 1162 89 1254 109" anchor="top right" onclick="group3_btn_selectall_onclick"/>
- <Button id="button6" taborder="12" text="금액점검" position="absolute 640 89 709 109" class="btn2" onclick="button6_onclick" anchor="top right"/>
- <Button id="Button1" taborder="13" text="전체선택" position="absolute 981 89 1046 109" class="btn2" onclick="Button1_onclick" anchor="top right"/>
- <Button id="Button02" taborder="14" text="전체선택취소" position="absolute 1048 89 1137 109" class="btn2" onclick="Button02_onclick" anchor="top right"/>
- <Div id="grp_memo" taborder="15" visible="false" position="absolute 736 165 1109 378" style="background:#ffffffff;border:2 solid #808080ff ;">
- <Layouts>
- <Layout>
- <Static id="caption7" text="입원 사후 자료수집 메모" class="tit_2" position="absolute 5 7 184 28" anchor="default"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 5 24 364 29" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <TextArea id="textarea1" taborder="1" position="absolute 5 28 364 178" anchor="default" scrollbars="autovert" wordwrap="word"/>
- <Button id="button4" taborder="2" text="저장" class="btn4" position="absolute 249 182 305 204" anchor="default" onclick="grp_memo_button4_onclick"/>
- <Button id="button5" taborder="3" text="닫기" class="btn4" position="absolute 308 182 364 204" anchor="default" onclick="grp_memo_button5_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group2" taborder="16" class="div_SA" position="absolute 0 25 1254 85" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line13" linetype="vertical" position="absolute 1168 9 1178 51" anchor="top right"/>
- <Static id="caption10" text="전액본인 :" class="search_name" position="absolute 302 34 388 51" anchor="default"/>
- <Static id="caption11" text="진료분야 :" class="search_name" position="absolute 680 10 766 27" anchor="default"/>
- <Combo id="cmb_insutype" taborder="1" codecolumn="value" datacolumn="label" class="combo_search" position="absolute 580 9 670 28" anchor="default" innerdataset="@ds_cmb_insutype"/>
- <Static id="caption3" text="정산일자 :" class="search_name" position="absolute 15 10 101 27" anchor="default"/>
- <Static id="caption4" text="보험유형 :" class="search_name" position="absolute 491 10 577 27" anchor="default"/>
- <Static id="caption13" text="생성여부 :" class="search_name" position="absolute 491 34 577 51" anchor="default"/>
- <Combo id="cmb_ordfildcd" taborder="2" codecolumn="value" datacolumn="label" class="combo_search" position="absolute 769 9 859 28" anchor="default" innerdataset="@ds_cmb_ordfildcd" onitemchanged="group2_cmb_ordfildcd_onitemchanged"/>
- <Combo id="cmb_pastdata" taborder="3" codecolumn="value" datacolumn="label" class="combo_search" position="absolute 769 33 859 52" anchor="default" innerdataset="@ds_cmb_pastdata" onitemchanged="group2_cmb_pastdata_onitemchanged"/>
- <Combo id="cmb_clamflag" taborder="4" codecolumn="value" datacolumn="label" class="combo_search" position="absolute 391 9 481 28" anchor="default" innerdataset="@ds_cmb_clamflag"/>
- <Calendar id="ipt_clamfromdd" taborder="5" class="input_search" position="absolute 104 9 189 28" mask="yyyy-mm-dd" anchor="default" onchanged="group2_ipt_clamfromdd_onchanged" value="null" dateformat="yyyy-MM-dd ddd"/>
- <Calendar id="ipt_clamtodd" taborder="6" class="input_search" position="absolute 192 9 277 28" mask="yyyy-mm-dd" anchor="default" onchanged="group2_ipt_clamtodd_onchanged"/>
- <Combo id="cmb_ownb100" taborder="7" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 391 33 481 52" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">N.생성안함</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">Y.생성</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption9" text="청구구분 :" class="search_name" position="absolute 302 10 388 27" anchor="default"/>
- <Static id="caption14" text="이전자료 :" class="search_name" position="absolute 680 34 766 51" anchor="default"/>
- <Button id="btn_search" taborder="8" text="조회" class="btn1" position="absolute 1187 18 1243 40" anchor="top right" onclick="group2_btn_search_onclick"/>
- <Combo id="cmb_cretflag" taborder="9" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 580 33 670 52" anchor="default">
- <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">N</Col>
- <Col id="datacolumn">N.미생성</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">Y.생성</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button id="button27" taborder="10" class="icon_search" position="absolute 279 35 295 51" anchor="default" onclick="group2_button27_onclick"/>
- <Static id="caption1" text="환자번호 :" class="search_name" position="absolute 15 34 101 51" anchor="default"/>
- <Edit id="ipt_pid" taborder="11" class="input_default" position="absolute 104 33 189 52" anchor="default" onkeydown="group2_ipt_pid_onkeydown"/>
- <Edit id="ipt_name" taborder="12" class="input_default" position="absolute 192 33 277 52" anchor="default"/>
- <Combo id="cmb_orddeptcd" taborder="13" innerdataset="@ds_hidden_list1_dept" codecolumn="deptcd" datacolumn="depthngnm" class="combo_default" position="absolute 959 9 1099 28" anchor="default"/>
- <Static id="caption2" text="진료과목 :" class="search_name" position="absolute 870 10 956 27" anchor="default"/>
- <Static id="caption5" text="청구차수 :" class="search_name" position="absolute 870 34 956 51" anchor="default"/>
- <cp_monthCal id="ipt_clamym" taborder="14" scrollbars="none" position="absolute 959 33 1034 53" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line1" class="line_1" position="absolute 0 107 1254 117" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Button id="button_up" taborder="18" class="icon_up" position="absolute 1036 59 1046 68" onclick="button_up_onclick"/>
- <Button id="button_down" taborder="19" class="icon_down" position="absolute 1036 69 1046 78" onclick="button_down_onclick"/>
- <Edit id="ipt_clamdg" taborder="20" class="input_default" position="absolute 1048 58 1099 78" ontextchanged="ipt_clamdg_ontextchanged" oneditclick="ipt_clamdg_oneditclick"/>
- <CheckBox id="chk_procercd" taborder="21" text="지원금 생성" position="absolute 479 89 619 109" anchor="top right" value="false" truevalue="Y"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden_list1_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="depthngnm" type="STRING" size="256" sumtext="진료과한글명"/>
- <Column id="deptengabbr" type="STRING" size="256" sumtext="영문약어"/>
- <Column id="reqfild" type="STRING" size="256" sumtext="진료분야"/>
- <Column id="reqdeptno" type="STRING" size="256" sumtext="청구세부과"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_screen1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="checkyn1" type="STRING" size="256"/>
- <Column id="checkyn2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_insutype" 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">0.전체</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">1.보험+급여</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">2.보험</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">3.급여</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">4.급여1종</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">5.급여2종</Col>
- <Col id="value">5</Col>
- </Row>
- <Row>
- <Col id="label">6.산재</Col>
- <Col id="value">6</Col>
- </Row>
- <Row>
- <Col id="label">7.자보</Col>
- <Col id="value">7</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clamym" type="STRING" size="256"/>
- <Column id="clamdg" type="STRING" size="256"/>
- <Column id="clamfromdd" type="STRING" size="256"/>
- <Column id="clamtodd" type="STRING" size="256"/>
- <Column id="insutype" type="STRING" size="256"/>
- <Column id="ordfildcd" type="STRING" size="256"/>
- <Column id="clamflag" type="STRING" size="256"/>
- <Column id="predata" type="STRING" size="256"/>
- <Column id="ownb100" type="STRING" size="256"/>
- <Column id="datacretflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="name" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="weekflag" type="STRING" size="256"/>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="temp" type="STRING" size="256"/>
- <Column id="proceryn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_ordfildcd" 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">-</Col>
- </Row>
- <Row>
- <Col id="label">0.의과</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">1.내과</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">2.외과</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">3.산,소아과</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">4.안,이비인후과</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">5.피부,비뇨기과</Col>
- <Col id="value">5</Col>
- </Row>
- <Row>
- <Col id="label">6.치과</Col>
- <Col id="value">6</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_pastdata" 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">1.생성(삭제후)</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">2.생성(중복Skip)</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">3.생성(별도)</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">4.삭제만</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">5.재생성(별도)</Col>
- <Col id="value">5</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_clamflag" 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">-</Col>
- </Row>
- <Row>
- <Col id="label">1.퇴원청구</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">2.중간청구</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cretlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cretlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256" sumtext="선택여부"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="내원형태"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="intm" type="STRING" size="256" sumtext="입원시간"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
- <Column id="dschtm" type="STRING" size="256" sumtext="퇴원시간"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="status" type="STRING" size="256" sumtext="상태"/>
- <Column id="ordfromdd" type="STRING" size="256" sumtext="진료개시일"/>
- <Column id="ordtodd" type="STRING" size="256" sumtext="진료종료일"/>
- <Column id="ordfildcd" type="STRING" size="256" sumtext="청구분야"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명칭"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="유형보조"/>
- <Column id="clamkey" type="STRING" size="256" sumtext="청구키"/>
- <Column id="lastjudgid" type="STRING" size="256" sumtext="최종심사자"/>
- <Column id="lastjudgnm" type="STRING" size="256" sumtext="최종심사자명"/>
- <Column id="calclastdd" type="STRING" size="256" sumtext="정산최종일"/>
- <Column id="rcptexecdd" type="STRING" size="256" sumtext="수납처리일"/>
- <Column id="lastmdlclamdd" type="STRING" size="256" sumtext="최종청구일"/>
- <Column id="clamdeptcd" type="STRING" size="256" sumtext="청구과"/>
- <Column id="clamdeptnm" type="STRING" size="256" sumtext="청구과명칭"/>
- <Column id="clamfromdd" type="STRING" size="256" sumtext="생성기간1"/>
- <Column id="clamtodd" type="STRING" size="256" sumtext="생성기간2"/>
- <Column id="judgstatus" type="STRING" size="256" sumtext="심사상태"/>
- <Column id="cretdd" type="STRING" size="256" sumtext="생성일자"/>
- <Column id="arvpath" type="STRING" size="256" sumtext="도착경로"/>
- <Column id="ordrslt" type="STRING" size="256" sumtext="진료결과"/>
- <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
- <Column id="predata" type="STRING" size="256" sumtext="이전자료"/>
- <Column id="datacretflag" type="STRING" size="256" sumtext="생성여부"/>
- <Column id="ownb100" type="STRING" size="256" sumtext="전액본인"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="주치의"/>
- <Column id="inpathcd" type="STRING" size="256" sumtext="입원경로"/>
- <Column id="arvpathcd" type="STRING" size="256" sumtext="도착경로"/>
- <Column id="ordrsltcd" type="STRING" size="256" sumtext="진료결과"/>
- <Column id="patrrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="insuno" type="STRING" size="256" sumtext="보험자기호"/>
- <Column id="certno" type="STRING" size="256" sumtext="증번호"/>
- <Column id="brateflag" type="STRING" size="256" sumtext="부담율구분"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="ownbflag" type="STRING" size="256" sumtext="급여본인부담구분"/>
- <Column id="judgid" type="STRING" size="256" sumtext="배분심사자"/>
- <Column id="undersixageyn" type="STRING" size="256" sumtext="6세미만"/>
- <Column id="dschmidlclam" type="STRING" size="256" sumtext="청구구분"/>
- <Column id="rareobstflag" type="STRING" size="256" sumtext="희귀난치대상자구분"/>
- <Column id="clamym" type="STRING" size="256" sumtext="청구년월"/>
- <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
- <Column id="weekflag" type="STRING" size="256" sumtext="청구단위"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="roomtypecd" type="STRING" size="256" sumtext="병실타입코드"/>
- <Column id="lastjudgdt" type="STRING" size="256" sumtext="최종심사일자"/>
- <Column id="judgidnm" type="STRING" size="256" sumtext="배분심사자명"/>
- <Column id="calcscorrecalflag" type="STRING" size="256" sumtext="수가계산방법"/>
- <Column id="erdeptyn" type="STRING" size="256" sumtext="응급실주과청구구분"/>
- <Column id="drgyn" type="STRING" size="256" sumtext="DRG대상유무"/>
- <Column id="drgno" type="STRING" size="256" sumtext="DRG번호"/>
- <Column id="detailcd1" type="STRING" size="256" sumtext="DRG부가코드1"/>
- <Column id="detailcd2" type="STRING" size="256" sumtext="DRG부가코드2"/>
- <Column id="detailcd3" type="STRING" size="256" sumtext="DRG부가코드3"/>
- <Column id="detailcd4" type="STRING" size="256" sumtext="DRG부가코드4"/>
- <Column id="detailcd5" type="STRING" size="256" sumtext="DRG부가코드5"/>
- <Column id="clam_o" type="STRING" size="256" sumtext="유형동일사후"/>
- <Column id="obtm" type="STRING" size="256" sumtext="정산유무"/>
- <Column id="memo" type="STRING" size="256" sumtext="메모"/>
- <Column id="procercd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_send2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="basedd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_sppmc02500" 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"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="memo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <FilteredDataset id="FilteredDataset00" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" filterstr="chk == '1' || chk == 'true'" binddataset="@ds_main_cretlist"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_clamfromdd" propid="value" datasetid="ds_send" columnid="clamfromdd"/>
- <BindItem id="item1" compid="group2.ipt_clamtodd" propid="value" datasetid="ds_send" columnid="clamtodd"/>
- <BindItem id="item2" compid="group2.cmb_clamflag" propid="value" datasetid="ds_send" columnid="clamflag"/>
- <BindItem id="item3" compid="group2.cmb_insutype" propid="value" datasetid="ds_send" columnid="insutype"/>
- <BindItem id="item4" compid="group2.cmb_ordfildcd" propid="value" datasetid="ds_send" columnid="ordfildcd"/>
- <BindItem id="item5" compid="group2.cmb_orddeptcd" propid="value" datasetid="ds_send" columnid="orddeptcd"/>
- <BindItem id="item6" compid="group2.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item7" compid="group2.ipt_name" propid="value" datasetid="ds_send" columnid="name"/>
- <BindItem id="item8" compid="group2.cmb_ownb100" propid="value" datasetid="ds_send" columnid="ownb100"/>
- <BindItem id="item9" compid="group2.cmb_cretflag" propid="value" datasetid="ds_send" columnid="datacretflag"/>
- <BindItem id="item10" compid="group2.cmb_pastdata" propid="value" datasetid="ds_send" columnid="predata"/>
- <BindItem id="item12" compid="ipt_clamdg" propid="value" datasetid="ds_send" columnid="clamdg"/>
- <BindItem id="item13" compid="checkbox1" propid="value" datasetid="ds_hidden_screen1" columnid="checkyn1"/>
- <BindItem id="item14" compid="grp_memo.textarea1" propid="value" datasetid="ds_hidden_temp" columnid="memo"/>
- <BindItem id="item11" compid="chk_procercd" propid="value" datasetid="ds_hidden_screen1" columnid="checkyn2"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- include "com_batchinfoxp::ZSB001.xjs";
- var g_rtrv = "N";
- function SMPID10100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPID10100_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize();
- }
- function fInitialize()
- {
- grdf_initGrid(grd_cretlist);
- group2.cmb_insutype.index = 0;
- group2.cmb_ordfildcd.index = 0;
- group2.cmb_clamflag.index = 1;
- group2.cmb_ownb100.index = 0;
- group2.cmb_cretflag.index = 1;
- group2.cmb_pastdata.index = 1;
-
- var tmp_date = new Date();
- var tmp_year = tmp_date.getYear();
-
- var tmp_month = tmp_date.getMonth() + 1;
- var tmp_day = tmp_date.getDate();
-
- if(tmp_month < 10)
- {
- tmp_month = "0" + tmp_month;
- }
-
- if(tmp_day < 10)
- {
- tmp_day = "0" + tmp_day;
- }
-
- group2.ipt_clamtodd.value = tmp_year + "" + tmp_month + "" + tmp_day;
- group2.ipt_clamfromdd.value = tmp_year + "" + tmp_month + "" + tmp_day;
- group2.ipt_clamym.setData(tmp_year + "" + tmp_month);
- ipt_clamdg.value = '0';
- ds_send.setColumn(0,"weekflag", "S");
-
- ds_hidden_screen1.setColumn(0, "checkyn1", "Y");
- //지원금 생성 여부 : 본원은 생성 안함 ( 2019.07.19 LEJ )
- var instcd = sysf_getUserInfo("dutplceinstcd");
- if(instcd == "031")
- {
- ds_hidden_screen1.setColumn(0, "checkyn2", "");
- }
- else
- {
- ds_hidden_screen1.setColumn(0, "checkyn2", "Y");
- }
-
-
- ds_hidden_send2.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- ds_hidden_send2.setColumn(0, "basedd", group2.ipt_clamfromdd.value)
-
- var oParam = {};
- oParam.id = "TRPID10102";
- oParam.service = "bfjudgapp.InHospJudg";
- oParam.method = "reqGetDeptList";
- oParam.inds = "req=ds_hidden_send2";
- oParam.outds = "ds_hidden_list1_dept=dept";
- oParam.async = false;
- //oParam.callback = "cf_TRPID10102";
- tranf_submit(oParam);
-
- if (frmf_checkOpener())
- {
- ds_send.setColumn(0,"pid", arg_ds_temp.getColumn(0,"pid"));
- //ds_send.setColumn(0,"indd",arg_ds_temp.getColumn(0,"indd"));
- }
-
- group2.ipt_clamym.setCallEvent("fn_Cal");
- }
- function fn_Cal(r)
- {
- if (g_rtrv == "Y")
- {
- ds_send.setColumn(i, "clamym", group2.ipt_clamym.getData());
- for (var i = 0; i < ds_main_cretlist.rowcount; i++)
- {
- ds_main_cretlist.setColumn(i, "clamym", group2.ipt_clamym.getData());
- }
- }
- }
- function CalMonth(idc, av_date)
- {
- var lv_date = String(av_date).toDate("YYYYMM" + "01");
- lv_date = lv_date.getAddDate(idc, "M");
-
- return lv_date.getDateFormat("YYYYMM");
- }
- function group2_cmb_ordfildcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- group2.cmb_orddeptcd.value = "";
-
- var ordfildcd = ds_send.getColumn(0, "ordfildcd");
-
- if ( ordfildcd == "-" )
- {
- ds_hidden_list1_dept.filter("");
- group3.group2.cmb_orddeptcd.index = 0;
- }
- else if (ordfildcd == "0")
- {
- ds_hidden_list1_dept.filter("reqfild != '6'");
- frmf_addComboItem("group2.cmb_orddeptcd", "전체" , "-");
- group2.cmb_orddeptcd.value = "-";
- }
- else
- {
- ds_hidden_list1_dept.filterstr = "reqfild =='" + ordfildcd + "' || utlf_isNull(reqfild)";
- frmf_addComboItem("group2.cmb_orddeptcd", "전체" , "-");
- group2.cmb_orddeptcd.value = "-";
- }
- }
- function group2_cmb_pastdata_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if(g_rtrv == "Y")
- {
- for(var i = 0; i < ds_main_cretlist.rowcount; i++)
- {
- ds_main_cretlist.setColumn(i, "predata", ds_send.getColumn(0, "predata"));
- }
- }
- }
- function group2_ipt_clamfromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var fromdd = String(group2.ipt_clamfromdd.value);
- var todd = String(group2.ipt_clamtodd.value);
-
- if(group2.ipt_clamfromdd.value > group2.ipt_clamtodd.value)
- {
- group2.ipt_clamtodd.value = group2.ipt_clamfromdd.value
- }
-
- if(fromdd.substr(0,6) != todd.substr(0,6))
- {
- group2.ipt_clamtodd.value = group2.ipt_clamfromdd.value;
- }
-
- if(fromdd.substr(0,6) != group2.ipt_clamym.getData())
- {
- group2.ipt_clamym.setData(fromdd.substr(0,6));
- }
-
- ds_hidden_send2.setColumn(0, "basedd", group2.ipt_clamfromdd.value);
- }
- function group2_ipt_clamtodd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var fromdd = String(group2.ipt_clamfromdd.value);
- var todd = String(group2.ipt_clamtodd.value);
-
- if(group2.ipt_clamtodd.value < group2.ipt_clamfromdd.value)
- {
- group2.ipt_clamfromdd.value = group2.ipt_clamtodd.value;
-
- if(fromdd.substr(0,6) != group2.ipt_clamym.getData())
- {
- group2.ipt_clamym.setData(fromdd.substr(0,6));
- }
- }
- }
- //조회
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var fromdd = ds_send.getColumn(0, "clamfromdd");
- var todd = ds_send.getColumn(0, "clamtodd");
- var fromyear = fromdd.substr(0,4);
- var frommonth = fromdd.substr(4,2);
- var fromym = fromyear+frommonth;
- var toyear = todd.substr(0,4);
- var tomonth = todd.substr(4,2);
- var toym = toyear+tomonth
- ds_send.setColumn(0, "clamym", group2.ipt_clamym.getData());
- ds_send.setColumn(0,"weekflag", "S");
- // 지원금 생성 대상 조회 유무 ( 2019.09.08 LEJ )
- if (ds_hidden_screen1.getColumn(0,"checkyn2") == "Y")
- {
- ds_send.setColumn(0, "proceryn", "Y");
- }
- else
- {
- ds_send.setColumn(0, "proceryn", "N");
- }
- if (fromym != toym )
- {
- alert("정산월이 동일한 경우만 동시 조회 가능합니다. 조회할 정산일자를 변경하세요");
- group2.ipt_clamtodd.setFocus();
-
- return false;
- }
- var oParam = {};
- oParam.id = "TRPID10101";
- oParam.service = "aftjudgapp.InClamDataCret";
- oParam.method = "reqGetInClamList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_cretlist=cretlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPID10101";
- tranf_submit(oParam);
- var row_cnt = 0;
- for (var i = 0; i < ds_main_cretlist.rowcount; i++)
- {
- if(ds_hidden_screen1.getColumn(0, "checkyn1") == "Y" && ds_main_cretlist.getColumn(i, "clamkey") != "-")
- {
- //ds_main_cretlist.setColumn(i, "chk", "false");
- continue;
- }
-
- if(row_cnt >= 60)
- {
- break;
- }
- ds_main_cretlist.setColumn(i, "chk", "true");
- row_cnt ++;
- }
- g_rtrv = "Y";
- }
- //환자조회
- function group2_button27_onclick(obj:Button, e:ClickEventInfo)
- {
- var ipt_pid = ds_send.getColumn(0, "pid");
- if (ipt_pid)
- {
- ds_hidden_sppmc02500.setColumn(0, "srchcond", "1");
- ds_hidden_sppmc02500.setColumn(0, "pid", ipt_pid);
- }
- else
- {
- //ds_hidden_sppmc02500.clearData();
- }
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_hidden_sppmc02500;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, null, null, null, null, null, null, null, null, "M");
-
- var srch_pid = ds_patinfolist.getColumn(0, "pid");
- var srch_hngnm = ds_patinfolist.getColumn(0, "hngnm");
-
-
- if (srch_pid)
- {
- ds_patinfolist.clearData();
- ds_send.setColumn(0, "pid", srch_pid);
- ds_send.setColumn(0, "name", srch_hngnm);
- }
- }
- function group2_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- var ipt_pid = obj.value
-
- if(ipt_pid)
- {
- ds_hidden_sppmc02500.setColumn(0, "srchcond", "1");
- ds_hidden_sppmc02500.setColumn(0, "pid", ipt_pid);
- }
- else
- {
- ds_hidden_sppmc02500.clearData();
- }
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_hidden_sppmc02500;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, null, null, null, null, null, null, null, null, "M");
-
- var srch_pid = ds_patinfolist.getColumn(0, "pid");
- var srch_hngnm = ds_patinfolist.getColumn(0, "hngnm");
-
- if(srch_pid)
- {
- ds_patinfolist.clearData();
- ds_send.setColumn(0, "pid", srch_pid);
- ds_send.setColumn(0, "name", srch_hngnm);
- }
- }
- }
- function grd_cretlist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- var afjudgrow = ds_main_cretlist.rowposition;
-
- ds_hidden_temp.setColumn(0, "memo", ds_main_cretlist.getColumn(afjudgrow, "memo"));
-
- grp_memo.visible = true;
- }
- //생성로그확인
- function group3_btn_selectall_onclick(obj:Button, e:ClickEventInfo)
- {
- // var todd = utlf_getCurrentDate();
- // todd = todd.toDate().getAddDate(+1, 'D');
- // zsbfOpenBatchLogPopup('clamcretmngtmgr.ClamDataCretMain', utlf_getCurrentDate(), todd.getDateFormat());
-
- var objArg = new Object();
- objArg.todd = utlf_getCurrentDate();
- objArg.execrid = sysf_getUserId();
- frmf_open("SPZSB00301", "SPZSB00301", objArg, "","","","","","","","","","M");
- }
- //전체선택
- function Button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var row_cnt = 0;
-
- for(var i = 0; i < ds_main_cretlist.rowcount; i++)
- {
- if(ds_hidden_screen1.getColumn(0, "checkyn") == "Y" && ds_main_cretlist.getColumn(i, "clamkey") != "-")
- {
- continue;
- }
- if(row_cnt >= 60)
- {
- break;
- }
-
- ds_main_cretlist.setColumn(i, "chk", "true");
- row_cnt ++ ;
- }
- }
- //전체선택취소
- function Button02_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i = 0; i < ds_main_cretlist.rowcount; i++)
- {
- ds_main_cretlist.setColumn(i, "chk", "false");
- }
- }
- //엑셀저장
- function group3_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ds_main_cretlist.rowcount > 0)
- {
- grdf_exportExcel(grd_cretlist, "exportExcel", "see");
- }
- else
- {
- sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- }
- //메모저장
- function grp_memo_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- var aftjudgcmt = grp_memo.textarea1.value;
- var TotLength = utlf_getStringLength(aftjudgcmt);
- //trace(TotLength);
- if (TotLength > 4000)
- {
- sysf_messageBox("메모 내용이 너무길어 저장을 ","E001");
- return false;
- }
- dsf_createDsRow("ds_send_temp", [{col:"spclspec", type:"STRING", size:256, val: aftjudgcmt}
- , {col:"spclmemoflag", type:"STRING", size:256 ,val : "B"}
- , {col:"unitflag", type:"STRING", size:256 ,val : "M"}
- , {col:"seqno", type:"STRING", size:256 ,val : "1"}
- , {col:"spclcd", type:"STRING", size:256 ,val : "MX998"}
- , {col:"pid", type:"STRING", size:256 ,val : ds_main_cretlist.getColumn(ds_main_cretlist.rowposition, "pid")}
- , {col:"indd", type:"STRING", size:256 ,val : ds_main_cretlist.getColumn(ds_main_cretlist.rowposition, "indd")}
- , {col:"mskind", type:"STRING", size:256 ,val : ds_main_cretlist.getColumn(ds_main_cretlist.rowposition, "mskind")}
- , {col:"cretno", type:"STRING", size:256 ,val : ds_main_cretlist.getColumn(ds_main_cretlist.rowposition, "cretno")}
- , {col:"fromdd", type:"STRING", size:256 ,val : ""}
- , {col:"instcd", type:"STRING", size:256 ,val : ""}
- , {col:"lastupdtrid", type:"STRING", size:256 ,val : ""}]);
- var oParam = {};
- oParam.id = "TXPID10103";
- oParam.service = "aftjudgapp.InClamDataCret";
- oParam.method = "reqExeSaveAftMemo";
- oParam.inds = "req=ds_send_temp";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXPID10103";
- tranf_submit(oParam);
- }
- function cf_TXPID10103()
- {
- ds_main_cretlist.setColumn(ds_main_cretlist.rowposition, "memo", grp_memo.textarea1.value);
-
- grp_memo.visible = false;
- }
- function grp_memo_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_memo.visible = false;
- }
- //금액점검
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SPPID10103", "SPPID10103", null, null, null, null, null, null, null, null, null, null, "M");
- }
- //초기화
- function button10_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitialize();
- }
- //선택생성
- function group3_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var row_cnt = 0;
- var rtrn_value = "";
-
- for (var i = 0; i < ds_main_cretlist.rowcount; i++)
- {
- if(ds_main_cretlist.getColumn(i, "chk") == "1" || ds_main_cretlist.getColumn(i, "chk") == "true")
- {
- row_cnt++;
- }
- }
- if (row_cnt == 0)
- {
- sysf_messageBox("선택된 환자가 없어 작업", "E001");
- return;
- }
-
- if (row_cnt > 60)
- {
- sysf_messageBox("선택된 환자가 60건이 넘어 작업", "E001");
- return;
- }
-
- rtrn_value = sysf_messageBox("해당 조건으로 일괄 생성을 ", "S004");
-
- if (rtrn_value == "6")
- {
- ds_main_cretlist.filterstr = "chk == '1' || chk == 'true'";
- var aaa = ds_temp.copyData(ds_main_cretlist, true);
- ds_main_cretlist.filterstr = "";
-
- var oParam = {};
- oParam.id = "TXPID10101";
- oParam.service = "aftjudgapp.InClamDataCret";
- oParam.method = "reqExeClamDataCret";
- oParam.inds = "req=ds_temp";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXPID10101";
- tranf_submit(oParam);
- // 생성로그확인 자동호출
- group3_btn_selectall_onclick();
- }
- }
- //전체생성
- function group3_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- ipt_clamdg.updateToDataset();
-
- var rtrn_value = "";
- var row_cnt = 0;
-
- if (g_rtrv != "Y")
- {
- sysf_messageBox("조회를 먼저 하신후에 ", "I006");
- return;
- }
-
- rtrn_value = sysf_messageBox("해당 조건으로 일괄 생성을 ", "S004");
-
- if (rtrn_value == "6")
- {
- ds_send.setColumn(0, "weekflag", "T");
- ds_send.setColumn(0, "chk", "true");
- ds_send.setColumn(0, "ioflag", "I");
-
- // 지원금 생성 대상 조회 유무 ( 2019.09.08 LEJ )
- if (ds_hidden_screen1.getColumn(0,"checkyn2") == "Y")
- {
- ds_send.setColumn(0, "proceryn", "Y");
- }
- else
- {
- ds_send.setColumn(0, "proceryn", "N");
- }
-
- var oParam = {};
- oParam.id = "TXPID10102";
- oParam.service = "aftjudgapp.InClamDataCret";
- oParam.method = "reqExeClamDataCret";
- oParam.inds = "req=ds_send";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXPID10102";
- tranf_submit(oParam);
-
- group3_btn_selectall_onclick();
- }
- }
- function ipt_clamdg_ontextchanged(obj:Edit, e:TextChangedEventInfo)
- {
- if(g_rtrv == "Y")
- {
- for(var i = 0; i < ds_main_cretlist.rowcount; i++)
- {
- ds_main_cretlist.setColumn(i, "clamdg", obj.value);
- }
- }
- }
- function ipt_clamym_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- if (g_rtrv == "Y")
- {
- for (var i = 0; i < ds_main_cretlist.rowcount; i++)
- {
- ds_main_cretlist.setColumn(i, "clamym", ds_send.getColumn(0, "clamym"));
- }
- }
- }
- function button_down_onclick(obj:Button, e:ClickEventInfo)
- {
- var clamym = group2.ipt_clamym.getData();
-
- group2.ipt_clamym.setData(CalMonth(-1, clamym));
-
- if (g_rtrv == "Y")
- {
- for (var i = 0; i < ds_main_cretlist.rowcount; i++)
- {
- ds_main_cretlist.setColumn(i, "clamym", clamym);
- }
- }
- }
- function button_up_onclick(obj:Button, e:ClickEventInfo)
- {
- var clamym = group2.ipt_clamym.getData();
-
- group2.ipt_clamym.setData(CalMonth(1, clamym));
-
- if (g_rtrv == "Y")
- {
- for (var i = 0; i < ds_main_cretlist.rowcount; i++)
- {
- ds_main_cretlist.setColumn(i, "clamym", clamym);
- }
- }
- }
- function ds_main_cretlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "chk" ){
- obj.setColumn(e.row, "chk", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- function ipt_clamdg_oneditclick(obj:Edit, e:EditClickEventInfo)
- {
-
- }
- ]]></Script>
- </Form>
- </FDL>
|