12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIJ02300" position="absolute 0 0 1263 790" titletext="중간청구일괄등록관리" oninit="model1_oninit" onload="SMPIJ02300_onload">
- <Layouts>
- <Layout>
- <Div id="grp_btn" position="absolute 0 753 1256 779" positiontype="position" scrollbars="autoboth" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Static id="Static00" position="absolute 0 -16 275 10" class="sta_DA_box" anchor="default"/>
- <Button id="btn_save" class="btn4" position="absolute 986 4 1042 24" anchor="right" text="등록" onlbuttonup="btn_save_onlbuttonup" onclick="btn_save_onclick" positiontype="position"/>
- <Button id="btn_init" class="btn4" position="absolute 1185 4 1254 24" anchor="right" text="초기화" onlbuttonup="btn_init_onlbuttonup" onclick="btn_init_onclick" positiontype="position"/>
- <Static id="caption17" class="cell_1" position="absolute 3 0 52 24" anchor="default" text="총건수" positiontype="position"/>
- <Edit readonly="true" id="output1" position="absolute 53 2 138 22" anchor="default" style="align:right middle;" positiontype="position"/>
- <Static id="caption19" class="cell_1" position="absolute 139 0 188 24" anchor="default" text="환자수" positiontype="position"/>
- <Edit readonly="true" id="output2" position="absolute 189 2 274 22" anchor="default" style="align:right middle;" positiontype="position"/>
- <Button id="btn_cancelsave" taborder="1" text="등록취소" onlbuttonup="btn_cancelsave_onlbuttonup" class="btn4" position="absolute 1044 4 1126 24" anchor="right" enable="false" onclick="btn_cancelsave_onclick" positiontype="position"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="중간청구일괄등록관리" class="tit_1" position="absolute 1 0 201 23" positiontype="position"/>
- <Tab id="swt_spclmemo" anchor="all" taborder="1" onchanged="swt_spclmemo_onchanged" tabindex="0" position="absolute 1 25 1257 756">
- <Tabpages>
- <Tabpage id="case_makemiddleclam" text="중간청구등록" scrollbars="none">
- <Layouts>
- <Layout width="1256" height="704">
- <Div id="group2" taborder="16" style="align:center top;" class="div_SA" position="absolute 0 0 1254 67" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption5" text="보험유형" class="search_name" position="absolute 668 10 742 30"/>
- <Static id="caption2" text="등록기준일" class="search_name" position="absolute 8 10 95 30"/>
- <Calendar id="ipt_indd" taborder="47" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" onchanged="swt_spclmemo_case_makemiddleclam_group2_ipt_indd_onchanged" class="input_search" position="absolute 95 10 185 30" onkeydown="swt_spclmemo_case_makemiddleclam_group2_ipt_indd_onkeydown"/>
- <Combo id="cmb_insukind" taborder="48" onitemchanged="swt_spclmemo_case_makemiddleclam_group2_cmb_insukind_onitemchanged" class="combo_search" position="absolute 742 10 842 30" index="-1" innerdataset="@ds_P0008list" datacolumn="cdnm"/>
- <Static id="caption1" text="심사자" class="search_name" position="absolute 8 35 69 55"/>
- <Combo id="cmb_judgmdlid" taborder="49" innerdataset="@ds_init_judglist" codecolumn="userid" datacolumn="usernm" onitemchanged="swt_spclmemo_case_makemiddleclam_group2_cmb_judgmdlid_onitemchanged" class="combo_search" position="absolute 95 35 185 55"/>
- <Static id="caption3" text="진료과" class="search_name" position="absolute 209 35 270 55"/>
- <Combo id="cmb_orddeptcd" taborder="50" innerdataset="@ds_init_dept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="swt_spclmemo_case_makemiddleclam_group2_cmb_orddeptcd_onitemchanged" class="combo_search" position="absolute 283 35 388 55"/>
- <Edit id="ipt_pid" taborder="51" class="input_search" position="absolute 486 35 561 55" onkeydown="swt_spclmemo_case_makemiddleclam_group2_ipt_pid_onkeydown"/>
- <Button id="btn_srch" taborder="52" text="조회" onclick="btn_srch_onclick" onlbuttonup="btn_srch_onlbuttonup" class="btn1" position="absolute 1075 34 1131 54"/>
- <Static id="caption10" text="기준일수" class="search_name" position="absolute 209 10 283 30"/>
- <Static id="caption11" text="진료비" class="search_name" position="absolute 415 10 476 30"/>
- <MaskEdit id="opt_insukindcd" taborder="53" mask="#,###" class="input_search" position="absolute 283 10 333 30" style="align:right middle;" imemode="hangul"/>
- <MaskEdit id="opt_suppkindcd" taborder="54" mask="#,###" class="input_search" position="absolute 486 10 596 30" style="align:right middle;" imemode="hangul"/>
- <Static id="caption4" text="이상" position="absolute 599 10 627 30" style="align:center middle;"/>
- <Static id="caption21" text="이상" position="absolute 336 10 364 30" style="align:center middle;"/>
- <Edit id="opt_patnm" taborder="55" readonly="true" position="absolute 580 35 650 55"/>
- <CheckBox id="checkbox1" taborder="56" text="일괄분할청구" truevalue="Y" class="checkbox_search" position="absolute 853 10 953 30" onchanged="swt_spclmemo_case_makemiddleclam_group2_checkbox1_onchanged" falsevalue="N" value="N"/>
- <CheckBox id="chk_tempdsch" taborder="57" text="가퇴원포함" truevalue="Y" onclick="chk_tempdsch_onclick" class="checkbox_search" position="absolute 964 10 1051 30" falsevalue="N" value="N"/>
- <CheckBox id="chk_dschperson" taborder="58" text="퇴원자포함" truevalue="Y" class="checkbox_search" position="absolute 1062 10 1149 30" falsevalue="N" onchanged="swt_spclmemo_case_makemiddleclam_group2_chk_dschperson_onchanged" value="N"/>
- <Static id="caption7" text="설정된 등록기준일까지 분리되어 중간청구 등록됩니다." class="tit_2" position="absolute 659 36 1004 56" style="align:middle;"/>
- <Static id="caption08" text="환자번호" class="search_name" position="absolute 414 34 475 54"/>
- <Button id="btn_srchpid" taborder="59" onclick="group2_btn_srchpid_onclick" class="icon_search" position="absolute 562 37 578 53"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption9" text="중간청구(분리청구) 리스트" class="tit_2" position="absolute 0 77 222 97"/>
- <Button id="btn_exlsave" taborder="17" text="엑셀저장" onclick="btn_exlsave_onclick" onlbuttonup="btn_exlsave_onlbuttonup" class="btn7" position="absolute 1037 74 1113 94" anchor="top right"/>
- <Button id="btn_selectall" taborder="18" text="전체선택" onclick="btn_selectall_onclick" onlbuttonup="btn_selectall_onlbuttonup" class="btn2" position="absolute 1115 74 1183 94" anchor="top right"/>
- <Button id="btn_deselectall" taborder="19" text="전체해제" onclick="btn_deselectall_onclick" onlbuttonup="btn_deselectall_onlbuttonup" class="btn2" position="absolute 1186 74 1254 94" anchor="top right"/>
- <Grid id="grd_mdiclam" taborder="20" binddataset="ds_grd_mdiclam" useinputpanel="false" cellsizingtype="col" autofittype="col" oncellclick="swt_spclmemo_case_makemiddleclam_grd_mdiclam_oncellclick" position="absolute 0 96 1254 699" onclick="grd_mdiclam_onclick" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="15"/>
- <Column size="30"/>
- <Column size="71"/>
- <Column size="58"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="58"/>
- <Column size="75"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="130"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="선택"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="이름"/>
- <Cell col="4" text="심사자"/>
- <Cell col="5" text="보험유형"/>
- <Cell col="6" text="보조유형"/>
- <Cell col="7" text="입원일"/>
- <Cell col="8" text="유형시작일"/>
- <Cell col="9" text="유형종료일"/>
- <Cell col="10" text="진료과"/>
- <Cell col="11" text="진료의"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" displaytype="image" expr="expr:expr:expr:getRowType(currow) == 2 ?'theme://images/ico_i.png' : (getRowType(currow) == 4 ? 'theme://images/ico_u.png' : (getRowType(currow) == 8 ? 'theme://images/ico_d.png' : 'theme://images/ico_e.png'))"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" style="background:EXPR(fn_setCellBColor(currow));background2:EXPR(fn_setCellBColor(currow));" text="bind:choi" expr="expr:choi == 'true' || choi== '1' ? 1 : 0"/>
- <Cell col="2" style="align:center middle;background:EXPR(fn_setCellBColor(currow));background2:EXPR(fn_setCellBColor(currow));" text="bind:pid"/>
- <Cell col="3" style="align:center middle;background:EXPR(fn_setCellBColor(currow));background2:EXPR(fn_setCellBColor(currow));" text="bind:hngnm"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="align:center middle;background:EXPR(fn_setCellBColor(currow));background2:EXPR(fn_setCellBColor(currow));" text="bind:mainjudgid" combodataset="ds_init_judglist" combocodecol="userid" combodatacol="usernm"/>
- <Cell col="5" displaytype="number" edittype="none" style="align:center middle;background:EXPR(fn_setCellBColor(currow));background2:EXPR(fn_setCellBColor(currow));" text="bind:insukind"/>
- <Cell col="6" displaytype="number" edittype="none" style="align:center middle;background:EXPR(fn_setCellBColor(currow));background2:EXPR(fn_setCellBColor(currow));" text="bind:suppkind"/>
- <Cell col="7" displaytype="date" edittype="none" style="align:center middle;background:EXPR(fn_setCellBColor(currow));background2:EXPR(fn_setCellBColor(currow));" text="bind:indd"/>
- <Cell col="8" displaytype="date" edittype="date" style="align:center middle;background:EXPR(fn_setCellBColor(currow));background2:EXPR(fn_setCellBColor(currow));" text="bind:fromdd" calendardisplaynulltype="none"/>
- <Cell col="9" displaytype="date" edittype="none" style="align:center middle;background:EXPR(fn_setCellBColor(currow));background2:EXPR(fn_setCellBColor(currow));" text="bind:todd" calendardisplaynulltype="none"/>
- <Cell col="10" displaytype="date" style="align:center middle;background:EXPR(fn_setCellBColor(currow));background2:EXPR(fn_setCellBColor(currow));" text="bind:orddeptnm" combodataset="ds_init_dept" combocodecol="deptcd" combodatacol="depthngnm" calendardisplaynulltype="none"/>
- <Cell col="11" displaytype="normal" style="align:center middle;background:EXPR(fn_setCellBColor(currow));background2:EXPR(fn_setCellBColor(currow));" text="bind:atdoctid"/>
- <Cell col="12"/>
- <Cell col="13"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_srchmiddleclam" text="중간청구등록 현황 조회" scrollbars="none">
- <Layouts>
- <Layout width="1256" height="704">
- <Div id="group5" anchor="left top right" taborder="28" style="align:center top;" class="div_SA" position="absolute 0 0 1253 67">
- <Layouts>
- <Layout width="1254" height="67">
- <Static id="caption12" text="보험유형" class="search_name" position="absolute 335 10 409 30" anchor="default"/>
- <Static id="caption13" text="등록기준일" class="search_name" position="absolute 8 10 95 30" anchor="default"/>
- <Combo id="cmb_rgstinsukind" taborder="31" innerdataset="@ds_P0008list" codecolumn="cdid" datacolumn="cdnm" onitemchanged="swt_spclmemo_case_srchmiddleclam_group5_cmb_rgstinsukind_onitemchanged" class="combo_search" position="absolute 409 10 544 30" anchor="default"/>
- <Static id="caption14" text="심사자" class="search_name" position="absolute 8 35 69 55" anchor="default"/>
- <Combo id="cmb_rgstjudgmdlid" taborder="32" innerdataset="@ds_init_judglist" codecolumn="userid" datacolumn="usernm" onitemchanged="swt_spclmemo_case_srchmiddleclam_group5_cmb_rgstjudgmdlid_onitemchanged" class="combo_search" position="absolute 95 35 185 55" anchor="default"/>
- <Static id="caption15" text="진료과" class="search_name" position="absolute 213 36 274 56" anchor="default"/>
- <Combo id="combo5" taborder="33" innerdataset="@ds_init_dept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="swt_spclmemo_case_srchmiddleclam_group5_combo5_onitemchanged" class="combo_search" position="absolute 279 36 470 56" style="font:dotum,9;" anchor="default"/>
- <Edit id="ipt_rgstpid" taborder="34" class="input_default" position="absolute 600 36 687 56" anchor="default" onkeydown="swt_spclmemo_case_srchmiddleclam_group5_ipt_rgstpid_onkeydown" oneditclick="swt_spclmemo_case_srchmiddleclam_group5_ipt_rgstpid_oneditclick"/>
- <Button id="btn_rgstsrch" taborder="35" text="조회" onclick="btn_rgstsrch_onclick" onlbuttonup="btn_rgstsrch_onlbuttonup" class="btn1" position="absolute 1188 10 1244 30" anchor="top right">
- <Layouts>
- <Layout width="56" height="20"/>
- </Layouts>
- </Button>
- <Edit id="opt_rgstpatnm" taborder="36" readonly="true" position="absolute 706 36 793 56" anchor="default"/>
- <Static id="caption00" text="환자번호" class="search_name" position="absolute 511 34 585 54" anchor="default"/>
- <Calendar id="input1" taborder="37" position="absolute 96 9 199 30" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar id="input2" taborder="38" position="absolute 218 9 320 30" dateformat="yyyy-MM-dd" value="null"/>
- <Static id="caption18" text="~" position="absolute 200 11 219 30" style="align:center middle;"/>
- <Button id="btn_srchpid" taborder="39" onclick="group5_btn_srchpid_onclick" class="icon_search2" position="absolute 687 38 703 54" usebitmapcache="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption20" text="중간청구(분리청구) 리스트" class="tit_2" position="absolute 0 77 200 97"/>
- <Grid id="grd_mdiclamrgst" taborder="29" binddataset="ds_grd_mdiclamlist" useinputpanel="false" cellsizingtype="col" autofittype="col" oncellclick="swt_spclmemo_case_srchmiddleclam_grd_mdiclamrgst_oncellclick" oncelldblclick="swt_spclmemo_case_srchmiddleclam_grd_mdiclamrgst_oncelldblclick" position="absolute 0 96 1254 700" anchor="all" onclick="grd_mdiclamrgst_onclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23" band="left"/>
- <Column size="30"/>
- <Column size="108"/>
- <Column size="64"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="67"/>
- <Column size="69"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="110"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </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="심사자combo"/>
- <Cell col="7" text="보험유형"/>
- <Cell col="8" text="보조유형"/>
- <Cell col="9" text="입원일"/>
- <Cell col="10" text="유형시작일"/>
- <Cell col="11" text="유형종료일"/>
- <Cell col="12" text="진료과"/>
- <Cell col="13" text="진료의"/>
- <Cell col="14" text="중간청구등록일"/>
- <Cell col="15" text="주부유형"/>
- <Cell col="16" text="생성번호"/>
- <Cell col="17" text="일련번호"/>
- <Cell col="18" text="기관코드"/>
- <Cell col="19" text="등록자"/>
- <Cell col="20" text="ownlimmitdd"/>
- <Cell col="21" text="inptseqno"/>
- <Cell col="22" text="caption1"/>
- <Cell col="23"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" displaytype="image" expr="expr:expr:expr:getRowType(currow) == 2 ?'theme://images/ico_i.png' : (getRowType(currow) == 4 ? 'theme://images/ico_u.png' : (getRowType(currow) == 8 ? 'theme://images/ico_d.png' : 'theme://images/ico_e.png'))"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:choi" expr="expr:choi == 'true' || choi == '1' ? 1 : 0"/>
- <Cell col="2" style="align:center middle;" text="bind:cretyn"/>
- <Cell col="3" style="align:center middle;" text="bind:pid"/>
- <Cell col="4" style="align:center middle;" text="bind:hngnm"/>
- <Cell col="5" displaytype="combo" style="align:center middle;" text="bind:mainjudgid" combodataset="ds_init_judglist" combocodecol="userid" combodatacol="usernm"/>
- <Cell col="6" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:mainjudgid"/>
- <Cell col="7" displaytype="normal" edittype="none" style="align:center middle;" text="bind:insukind"/>
- <Cell col="8" displaytype="normal" edittype="none" style="align:center middle;" text="bind:suppkind"/>
- <Cell col="9" displaytype="date" style="align:center middle;" text="bind:indd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="10" displaytype="date" style="align:center middle;" text="bind:fromdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="11" displaytype="date" style="align:center middle;" text="bind:todd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="12" displaytype="normal" style="align:center middle;" text="bind:orddeptnm"/>
- <Cell col="13" style="align:center middle;" text="bind:atdoctid"/>
- <Cell col="14" displaytype="date" style="align:center middle;" text="bind:cnfmdt" calendardisplaynulltype="none"/>
- <Cell col="15" text="bind:mskind"/>
- <Cell col="16" text="bind:cretno"/>
- <Cell col="17" text="bind:seqno"/>
- <Cell col="18" text="bind:instcd"/>
- <Cell col="19" text="bind:fstrgstrid"/>
- <Cell col="20" text="bind:ownlimmitdd"/>
- <Cell col="21" text="bind:inptseqno"/>
- <Cell col="22" text="bind:iphsseqno"/>
- <Cell col="23" text="bind:icdrseqno"/>
- <Cell col="24"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_selectall1" taborder="30" text="전체선택" onclick="btn_selectall1_onclick" onlbuttonup="btn_selectall1_onlbuttonup" class="btn2" position="absolute 1115 74 1183 94" anchor="top right"/>
- <Button id="btn_deselectall1" taborder="31" text="전체해제" onclick="btn_deselectall1_onclick" onlbuttonup="btn_deselectall1_onlbuttonup" class="btn2" position="absolute 1186 74 1254 94" anchor="top right"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button id="btn_cancel" taborder="2" text="취소" position="absolute 1128 757 1183 777" class="btn4" onclick="btn_cancel_onclick" anchor="right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_mdiclam" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_mdiclam_oncolumnchanged">
- <ColumnInfo>
- <Column id="choi" type="STRING" size="256" sumtext="선택여부"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호 "/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일 "/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명 "/>
- <Column id="mainjudgid" type="STRING" size="256" sumtext="심사자ID "/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의ID "/>
- <Column id="insukind" type="STRING" size="256" sumtext="유형 "/>
- <Column id="suppkind" type="STRING" size="256" sumtext="유형보조 "/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명칭 "/>
- <Column id="indaycnt" type="STRING" size="256" sumtext="재원일수 "/>
- <Column id="totordamt" type="STRING" size="256" sumtext="총진료비 "/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="유형시작일자"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="유형종료일자"/>
- <Column id="ownlimmitdd" type="STRING" size="256" sumtext="상한제 계산기준일"/>
- <Column id="limmittodd" type="STRING" size="256" sumtext="유형최소종료일"/>
- <Column id="maxtodd" type="STRING" size="256" sumtext="중간청구최종일자"/>
- <Column id="cnclyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_mdiclamlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_mdiclamlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="choi" type="STRING"/>
- <Column id="cretyn" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="mainjudgid" type="STRING"/>
- <Column id="mskind" type="STRING"/>
- <Column id="insukind" type="STRING"/>
- <Column id="suppkind" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="fromdd" type="STRING"/>
- <Column id="todd" type="STRING"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="atdoctid" type="STRING"/>
- <Column id="cnfmdt" type="STRING"/>
- <Column id="mskind" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="seqno" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="fstrgstrid" type="STRING"/>
- <Column id="ownlimmitdd" type="STRING"/>
- <Column id="inptseqno" type="STRING"/>
- <Column id="iphsseqno" type="STRING"/>
- <Column id="icdrseqno" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="clamym" type="STRING" size="256"/>
- <Column id="clamdg" type="STRING" size="256"/>
- <Column id="enryn" type="STRING" size="256"/>
- <Column id="batchyn" type="STRING" size="256"/>
- <Column id="drgappyn" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="cnclyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_insukind" 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_init_cmb_mskind" 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_init_cmb_suppkind" 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_init_cmb_rgstinsukind" 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_init_judglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_wardlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="wardnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_suppkindlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="suppkind" type="STRING" size="256"/>
- <Column id="suppkindnm" type="STRING" size="256"/>
- <Column id="ownbrate" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_setgrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="compscd" type="STRING" size="256"/>
- <Column id="compscnts" type="STRING" size="256"/>
- <Column id="conpsrefcnts" type="STRING" size="256"/>
- <Column id="compssizecnts" type="STRING" size="256"/>
- <Column id="scrnid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="_ds_init_uuee" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="scrnid" type="STRING" size="256"/>
- <Column id="compsnm" type="STRING" size="256"/>
- <Column id="compscnts" type="STRING" size="256"/>
- <Column id="compsrefcnts" type="STRING" size="256"/>
- <Column id="compsizecnts" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_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"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="deptengabbr" type="STRING" size="256"/>
- <Column id="depthardcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_judg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="judgid" type="STRING" size="256"/>
- <Column id="judgnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_patInfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_predata" 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="value">1</Col>
- <Col id="label">1.생성(삭제후)</Col>
- </Row>
- <Row>
- <Col id="value">2</Col>
- <Col id="label">2.생성(중복Skip)</Col>
- </Row>
- <Row>
- <Col id="value">3</Col>
- <Col id="label">3.생성(별도)</Col>
- </Row>
- <Row>
- <Col id="value">4</Col>
- <Col id="label">4.삭제만</Col>
- </Row>
- <Row>
- <Col id="value">5</Col>
- <Col id="label">5.재생성(별도)</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_clamdg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clamdgid" type="STRING" size="256"/>
- <Column id="clamdgnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_grd_mdiclamrgst" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="처리구분"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="inptseqno" type="INT" size="256" sumtext="일련번호"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="seqno" type="INT" size="256" sumtext="순번"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="수정자 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_SMPIJ00300" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_pijhcamt" 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="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="mskind" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="drgappyn" type="STRING" size="256"/>
- <Column id="payamt" type="STRING" size="256"/>
- <Column id="ownbpayamt" type="STRING" size="256"/>
- <Column id="nopyamt" type="STRING" size="256"/>
- <Column id="ownbnopyamt" type="STRING" size="256"/>
- <Column id="specamt" type="STRING" size="256"/>
- <Column id="ownbspecamt" type="STRING" size="256"/>
- <Column id="totordamt" type="STRING" size="256"/>
- <Column id="ownbtotordamt" type="STRING" size="256"/>
- <Column id="prcptotordamt" type="STRING" size="256"/>
- <Column id="prcpownbamt" type="STRING" size="256"/>
- <Column id="totsumamt" type="STRING" size="256"/>
- <Column id="totsumownbamt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_clamyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lockyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_grd_mdiclam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_P0149list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_P0008list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="rgstbadd" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="indaycnt" type="STRING" size="256"/>
- <Column id="totordamt" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="judgmdlid" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="batchdiv" type="STRING" size="256"/>
- <Column id="tempdsch" type="STRING" size="256"/>
- <Column id="rgststartdd" type="STRING" size="256"/>
- <Column id="allcnt" type="STRING" size="256"/>
- <Column id="patcnt" type="STRING" size="256"/>
- <Column id="dschperson" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_session" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sess_userid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_sppmc02500_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="autoflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="swt_spclmemo.case_makemiddleclam.group2.cmb_insukind" propid="value" datasetid="ds_main_send" columnid="insukind"/>
- <BindItem id="item1" compid="swt_spclmemo.case_makemiddleclam.group2.cmb_judgmdlid" propid="value" datasetid="ds_main_send" columnid="judgmdlid"/>
- <BindItem id="item2" compid="swt_spclmemo.case_makemiddleclam.group2.cmb_orddeptcd" propid="value" datasetid="ds_main_send" columnid="orddeptcd"/>
- <BindItem id="item3" compid="swt_spclmemo.case_makemiddleclam.group2.ipt_pid" propid="value" datasetid="ds_main_send" columnid="pid"/>
- <BindItem id="item4" compid="swt_spclmemo.case_makemiddleclam.group2.opt_suppkindcd" propid="value" datasetid="ds_main_send" columnid="totordamt"/>
- <BindItem id="item5" compid="swt_spclmemo.case_makemiddleclam.group2.opt_insukindcd" propid="value" datasetid="ds_main_send" columnid="indaycnt"/>
- <BindItem id="item6" compid="swt_spclmemo.case_makemiddleclam.group2.ipt_indd" propid="value" datasetid="ds_main_send" columnid="rgstbadd"/>
- <BindItem id="item7" compid="swt_spclmemo.case_makemiddleclam.group2.checkbox1" propid="value" datasetid="ds_main_send" columnid="batchdiv"/>
- <BindItem id="item8" compid="swt_spclmemo.case_makemiddleclam.group2.chk_tempdsch" propid="value" datasetid="ds_main_send" columnid="tempdsch"/>
- <BindItem id="item9" compid="swt_spclmemo.case_makemiddleclam.group2.chk_dschperson" propid="value" datasetid="ds_main_send" columnid="dschperson"/>
- <BindItem id="item10" compid="swt_spclmemo.case_srchmiddleclam.group5.input1" propid="value" datasetid="ds_main_send" columnid="fromdd"/>
- <BindItem id="item11" compid="swt_spclmemo.case_srchmiddleclam.group5.input2" propid="value" datasetid="ds_main_send" columnid="todd"/>
- <BindItem id="item12" compid="swt_spclmemo.case_srchmiddleclam.group5.cmb_rgstinsukind" propid="value" datasetid="ds_main_send" columnid="insukind"/>
- <BindItem id="item13" compid="swt_spclmemo.case_srchmiddleclam.group5.cmb_rgstjudgmdlid" propid="value" datasetid="ds_main_send" columnid="judgmdlid"/>
- <BindItem id="item14" compid="swt_spclmemo.case_srchmiddleclam.group5.combo5" propid="value" datasetid="ds_main_send" columnid="orddeptcd"/>
- <BindItem id="item15" compid="swt_spclmemo.case_srchmiddleclam.group5.ipt_rgstpid" propid="value" datasetid="ds_main_send" columnid="pid"/>
- <BindItem id="item16" compid="swt_spclmemo.case_srchmiddleclam.group5.opt_rgstpatnm" propid="value" datasetid="ds_main_send" columnid="patnm"/>
- <BindItem id="item17" compid="grp_btn.output1" propid="value" datasetid="ds_main_send" columnid="allcnt"/>
- <BindItem id="item18" compid="grp_btn.output2" propid="value" datasetid="ds_main_send" columnid="patcnt"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : Himed
- * Job Name :
- * File Name : SMPIJ02300_중간청구일괄등록관리.xfdl
- * Creator :
- * Make Date : 2014-05-13
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-05-13 HIT Converting Program(TF->XP)
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var allcnt = 0;
- var patcnt = 0;
- var midcflag = "";
- var cnclyn = "";
- function model1_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPIJ02300_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(swt_spclmemo.case_makemiddleclam.grd_mdiclam);
- grdf_setRowTypeIcon(swt_spclmemo.case_makemiddleclam.grd_mdiclam, 0);
-
- var param = opener.frmf_getParameter("iParam_mother_view");
-
- if(param)
- {
- ds_temp_grd_mdiclam.copyData(args_ds_temp_grd_mdiclam);
- }
-
- fInitialize();
-
-
- var curdd = utlf_getCurrentDate();
- curdd = curdd.toDate("YYYYMMDD").getAddDate(-1).getDateFormat();
-
- dsf_createDsRow("ds_temp", [{col:"currentdate", type:"STRING", size:256, val: curdd}]);
-
- ds_main_send.setColumn(0, "pid", ds_temp_grd_mdiclam.getColumn(0, "pid"));
- ds_main_send.setColumn(0, "rgstbadd", curdd);
- ds_main_send.setColumn(0, "fromdd", ds_temp_grd_mdiclam.getColumn(0, "indd"));
- ds_main_send.setColumn(0, "todd", curdd);
-
- var arrParam = [{dsNm: "ds_P0008list", cdGrpId: "P0008"}
- ,{dsNm: "ds_P0149list", cdGrpId: "P0149"}]
- appf_getCodeList(arrParam);
-
- dsf_createDsRow("ds_send", [{col:"scrnid", type:"STRING", size:256, val: frmf_getScreenID()}
- , {col:"instcd", type:"STRING", size:256, val: sysf_getUserInfo("dutplceinstcd")}]);
- var oParam = {};
- oParam.id = "TRPIJ00202";
- oParam.service = "bfjudgapp.InHospJudgTrgtMan";
- oParam.method = "reqGetJudgList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_judglist=judglist ds_init_wardlist=wardlist ds_init_suppkindlist=suppkindlist ds_init_setgrid=setgrid";
- oParam.async = false;
- //oParam.callback = "cf_TRPIJ00202";
- tranf_submit(oParam);
-
- dsf_createDsRow("ds_search", [{col: "insucd" , val: ""}
- , {col: "ordfromdd", val: ""}
- , {col: "basedd" , val: swt_spclmemo.case_makemiddleclam.group2.ipt_indd.value }
- , {col: "scrnid" , val: frmf_getScreenID()}]);
- var oParam = {};
- oParam.id = "TRPIJ00305";
- oParam.service = "bfjudgapp.InHospJudg";
- oParam.method = "reqGetDeptList";
- oParam.inds = "req=ds_search";
- oParam.outds = "ds_init_dept=dept";
- oParam.async = false;
- //oParam.callback = "cf_TRPIJ00305";
- tranf_submit(oParam);
-
- var sUserInfosS = sysf_getUserInfo();
- sUserInfosS = sUserInfosS + "|";
- var UserInfosS_Array = sUserInfosS.split("|");
-
- var userid = UserInfosS_Array[0];
-
- ds_init_session.setColumn(0, "sess_userid", userid);
-
- var pid = ds_main_send.getColumn(0, "pid");
- if(!utlf_isNull(pid))
- {
- fGetMidClamList();
- }
- }
- function fInitialize(){
- ds_main_send.clearData();
- ds_main_send.addRow();
- ds_main_send.setColumn(0, "allcnt", "0");
- ds_main_send.setColumn(0, "patcnt", "0");
-
- ds_grd_mdiclam.clearData();
- ds_grd_mdiclamlist.clearData();
- }
- function fGetMidClamList(){
- var lastMonth = utlf_addMonth(utlf_getCurrentDate(), -1 );
- dsf_createDsRow("ds_temp_list1" , [{col: "rgstbadd" , val: swt_spclmemo.case_makemiddleclam.group2.ipt_indd.value}
- , {col: "pid" , val: swt_spclmemo.case_makemiddleclam.group2.ipt_pid.value}
- , {col: "indaycnt" , val: swt_spclmemo.case_makemiddleclam.group2.opt_insukindcd.value}
- , {col: "totordamt" , val: swt_spclmemo.case_makemiddleclam.group2.opt_suppkindcd.value}
- , {col: "insukind" , val: swt_spclmemo.case_makemiddleclam.group2.cmb_insukind.value}
- , {col: "judgmdlid" , val: swt_spclmemo.case_makemiddleclam.group2.cmb_judgmdlid.value}
- , {col: "orddeptcd" , val: swt_spclmemo.case_makemiddleclam.group2.cmb_orddeptcd.value}
- , {col: "batchdiv" , val: swt_spclmemo.case_makemiddleclam.group2.checkbox1.value}
- , {col: "tempdsch" , val: swt_spclmemo.case_makemiddleclam.group2.chk_tempdsch.value}
- , {col: "rgststartdd" , val: utlf_getFirstDate(lastMonth)}
- , {col: "dschperson" , val: swt_spclmemo.case_makemiddleclam.group2.chk_dschperson.value}]);
-
- var oParam = {};
- oParam.id = "TRPIJ02301";
- oParam.service = "bfjudgapp.MdlClamBatRgst";
- oParam.method = "reqGetMdlClamBatRgstTrgtManList";
- oParam.inds = "req=ds_temp_list1";
- oParam.outds = "ds_grd_mdiclam=grdmdiclam";
- oParam.async = false;
- oParam.callback = "cf_TRPIJ02301";
- tranf_submit(oParam);
-
- dsf_createDsRow("ds_temp_list2", [{col: "pid" , val: swt_spclmemo.case_makemiddleclam.group2.ipt_pid.value}
- , {col: "fromdd" , val: swt_spclmemo.case_makemiddleclam.group2.ipt_indd.value}
- , {col: "todd" , val: swt_spclmemo.case_makemiddleclam.group2.opt_insukindcd.value}
- , {col: "judgmdlid" , val: swt_spclmemo.case_makemiddleclam.group2.cmb_judgmdlid.value}
- , {col: "insukind" , val: swt_spclmemo.case_makemiddleclam.group2.cmb_insukind.value}
- , {col: "orddeptcd" , val: swt_spclmemo.case_makemiddleclam.group2.cmb_orddeptcd.value}]);
-
- var oParam = {};
- oParam.id = "TRPIJ02302";
- oParam.service = "bfjudgapp.MdlClamBatRgst";
- oParam.method = "reqGetMdlClamBatRgstList";
- oParam.inds = "req=ds_temp_list2";
- oParam.outds = "ds_grd_mdiclamlist=grdmdiclamlist";
- oParam.async = false;
- oParam.callback = "cf_TRPIJ02302";
- tranf_submit(oParam);
- for(var i = 0; i < ds_grd_mdiclam.rowcount; i++)
- {
- ds_grd_mdiclam.setColumn(i, "choi", "true");
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_makemiddleclam.grd_mdiclam, "U", arrPostion);
- }
- for(var i = 0; i < ds_grd_mdiclamlist.rowcount; i++)
- {
- if(utlf_isNull(ds_grd_mdiclamlist.getColumn(i, "cnfmdt")))
- {
- ds_grd_mdiclamlist.setColumn(i, "choi", "true");
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_srchmiddleclam.grd_mdiclamrgst, "U", arrPostion);
- }
- }
- }
- function cf_TRPIJ02301()
- {
- //copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");/
- }
- function cf_TRPIJ02302()
- {
- //copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
- }
- function swt_spclmemo_case_makemiddleclam_group2_ipt_indd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var curDate = utlf_getCurrentDate();
- if(obj.value > curDate ) {
- sysf_messageBox("현재일자 이후는 등록기준일로 등록할 수", "I004"); //없습니다.
- obj.value = curDate;
- }
-
- var todd = ds_main_send.getColumn(0, "rgstbadd");
- for(var i=0; i < ds_grd_mdiclam.rowcount; i++){
- ds_grd_mdiclam.setColumn(i, "todd", todd);
- }
- }
- function swt_spclmemo_case_makemiddleclam_group2_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- swt_spclmemo.case_makemiddleclam.group2.opt_patnm.setFocus();
- var pid = obj.value;
-
- if(!utlf_isNull(pid)){
- ds_sppmc02500_cond.setColumn(0, "srchcond", "1");
- ds_sppmc02500_cond.setColumn(0, "pid", pid);
- ds_sppmc02500_cond.setColumn(0, "autoflag", "1");
- }else{
-
- }
- var objArgs = new Object();
- objArgs.arg_ds_send = ds_sppmc02500_cond;
- frmf_modal("SPPMC02500", "SPPMC02500", objArgs, "", "", "", "", "", "", "", "", "", "M");
-
- var srch_pid = ds_patinfolist.getColumn(0, "pid");
- swt_spclmemo.case_makemiddleclam.group2.ipt_pid.value = ds_patinfolist.getColumn(0, "pid");
- swt_spclmemo.case_makemiddleclam.group2.opt_patnm.value = ds_patinfolist.getColumn(0, "hngnm");
-
- swt_spclmemo.case_makemiddleclam.group2.ipt_pid.setFocus();
- }
- }
- function group2_btn_srchpid_onclick(obj:Button, e:ClickEventInfo)
- {
- var pid = swt_spclmemo.case_makemiddleclam.group2.ipt_pid.value;
- if(!utlf_isNull(pid)){
- ds_sppmc02500_cond.setColumn(0, "srchcond", "1");
- ds_sppmc02500_cond.setColumn(0, "pid", pid);
- ds_sppmc02500_cond.setColumn(0, "autoflag", "0");
- }else{
-
- }
-
- var objArgs = new Object();
- objArgs.arg_ds_send = ds_sppmc02500_cond;
- frmf_modal("SPPMC02500", "SPPMC02500", objArgs, "", "", "", "", "", "", "", "", "", "M");
-
- var srch_pid = ds_patinfolist.getColumn(0, "pid");
- swt_spclmemo.case_makemiddleclam.group2.ipt_pid.value = ds_patinfolist.getColumn(0, "pid");
- swt_spclmemo.case_makemiddleclam.group2.opt_patnm.value = ds_patinfolist.getColumn(0, "hngnm");
- }
- function btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitialize();
- }
- function btn_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- var prevmonthday = ds_main_send.getColumn(0, "rgstbadd");
-
- if(prevmonthday == "31"){
- prevmonthday = "02";
- }else{
- prevmonthday = "01";
- }
-
- var dschperson = ds_main_send.getColumn(0, "dschperson");
- var dschpid = ds_main_send.getColumn(0, "pid");
- if(dschperson == "Y" && utlf_isNull(dschpid)){
- sysf_messageBox("퇴원자포함 선택시 환자번호는","I003");
- return;
- }
-
- var prevmonthdate = utlf_getCurrentDate();
- prevmonthdate = prevmonthdate.toDate("YYYYMMDD").getAddDate(-1,"M").getDateFormat();
-
- ds_main_send.setColumn(0, "rgststartdd", prevmonthdate.substr(0,6) + prevmonthday);
-
- var oParam = {};
- oParam.id = "TRPIJ02301";
- oParam.service = "bfjudgapp.MdlClamBatRgst";
- oParam.method = "reqGetMdlClamBatRgstTrgtManList";
- oParam.inds = "req=ds_main_send";
- oParam.outds = "ds_grd_mdiclam=grdmdiclam";
- oParam.async = false;
- oParam.callback = "cf_TRPIJ02301";
- tranf_submit(oParam);
- ds_grd_mdiclam.updatecontrol = false;
- dsf_setDefaultVal(ds_grd_mdiclam, "choi:false");
- ds_grd_mdiclam.updatecontrol = true;
-
- var allcnt = ds_grd_mdiclam.rowcount;
- var patcnt = 0;
-
- ds_main_send.setColumn(0, "allcnt", allcnt);
-
- var pid ="";
-
- var allcnt = ds_grd_mdiclam.rowcount;
-
- ds_main_send.setColumn(0, "allcnt", allcnt);
-
- for(var i=0; i<ds_grd_mdiclam.rowcount; i++){
- var chkpid = ds_grd_mdiclam.getColumn(i, "pid");
-
- if(pid != chkpid){
- patcnt = patcnt + 1;
- }
- pid = chkpid;
- }
-
- ds_main_send.setColumn(0, "patcnt", patcnt);
-
- pid = ds_main_send.getColumn(0, "pid");
-
- if(!utlf_isNull(pid))
- {
- for(var i=0; i < ds_grd_mdiclam.rowcount; i++){
- ds_grd_mdiclam.setColumn(i, "choi", "true");
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_makemiddleclam.grd_mdiclam, "U", arrPostion);
- }
- }
- }
- function cf_TRPIJ02301(){
- //copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
- function swt_spclmemo_case_makemiddleclam_group2_checkbox1_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- var prevmonthday = utlf_getCurrentDate();
- prevmonthday = prevmonthday.toDate("YYYYMMDD").getAddDate(-1,"M").getMonthDay();
-
- var prevmonthdate = utlf_getCurrentDate();
- prevmonthdate = prevmonthdate.toDate("YYYYMMDD").getAddDate(-1,"M").getDateFormat();
-
- ds_main_send.setColumn(0, "rgstbadd", prevmonthdate.substr(0,6) + prevmonthday);
- }
- function swt_spclmemo_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- switch(obj.tabindex)
- {
- case 0:
- grp_btn.btn_save.enable = true;
- grp_btn.btn_cancelsave.enable = false;
- break;
- case 1:
- grp_btn.btn_save.enable = false;
- grp_btn.btn_cancelsave.enable = true;
- var chk = ds_grd_mdiclam.getColumn(ds_grd_mdiclam.rowposition, "choi");
- if(chk == "true"){
- var arrPostion = new Array();
- arrPostion[0] = ds_grd_mdiclam.rowposition;
- grdf_setStatus(swt_spclmemo.case_makemiddleclam.grd_mdiclam, "U", arrPostion);
- }else if(chk == "false"){
- var arrPostion = new Array();
- arrPostion[0] = ds_grd_mdiclam.rowposition;
- grdf_setStatus(swt_spclmemo.case_makemiddleclam.grd_mdiclam, "U", arrPostion);
- }
- break;
-
- }
- }
- function btn_selectall1_onclick(obj:Button, e:ClickEventInfo)
- {
- for(i = 0; i < ds_grd_mdiclamlist.rowcount; i++){
- ds_grd_mdiclamlist.setColumn(i, "choi", "true");
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_srchmiddleclam.grd_mdiclamrgst, "U", arrPostion);
- }
- }
- function btn_deselectall1_onclick(obj:Button, e:ClickEventInfo)
- {
- for(i = 0; i < ds_grd_mdiclamlist.rowcount; i++){
- ds_grd_mdiclamlist.setColumn(i, "choi", "false");
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_srchmiddleclam.grd_mdiclamrgst, "", arrPostion);
- }
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- var curdd = utlf_getCurrentDate();
-
- for(var i=0; i<= ds_grd_mdiclam.rowcount; i++)
- {
- var limmittodd = ds_grd_mdiclam.getColumn(i, "limmittodd");
- var todd = ds_grd_mdiclam.getColumn(i, "todd");
- var choi = ds_grd_mdiclam.getColumn(i, "choi");
-
- if(todd > limmittodd && choi =="true" && todd != "99991231")
- {
- sysf_messageBox("유형기간을 벗어난 데이터가 포함되어 등록할 수 없습니다. 확인 후 ","C003");
-
- for(var j=0; j<ds_grd_mdiclam.rowcount; j++)
- {
- ds_grd_mdiclam.setColumn(j, "choi", "false");
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_makemiddleclam.grd_mdiclam, "", arrPostion);
- }
- return;
- }
- else if(todd > curdd && choi == "true")
- {
- sysf_messageBox("유형종료일이 오늘날짜를 초과하는 데이터가 포함되어 등록할 수 없습니다. 확인 후 ","C003");
- for(var j=0; j < ds_grd_mdiclam.rowcount; j++)
- {
- ds_grd_mdiclam.setColumn(j, "choi", "false");
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_makemiddleclam.grd_mdiclam, "", arrPostion);
- }
- return;
- }
- }
-
- var rgstbadd = ds_main_send.getColumn(0, "rgstbadd");
-
- if(utlf_isNull(rgstbadd))
- {
- sysf_messageBox("등록기준일은","I003");
- return;
- }
-
- var updtdata = grdf_getGridUpdateData(swt_spclmemo.case_makemiddleclam.grd_mdiclam);
-
- if(updtdata.rowcount == 0)
- {
- sysf_messageBox("변경된 데이터가","I004");
- return;
- }
-
- var rows = ds_grd_mdiclam.rowcount;
- var check = "";
- var stat = 0;
- var fromdd = "";
- var lastmdlclamdd = "";
- var interval = 0;
- var pid = "";
-
- var openerpid = "";
- midcflag = "";
-
- if(frmf_checkOpener())
- {
- openerpid = opener.gv_pid;
- }
-
- for(var i=0; i < rows; i++)
- {
- stat = ds_grd_mdiclam.getRowType(i);
- if(stat == 4)
- {
- check = ds_grd_mdiclam.getColumn(i, "choi");
-
- if(check == "true")
- {
- pid = ds_grd_mdiclam.getColumn(i, "pid");
-
- if(frmf_checkOpener())
- {
- if(openerpid == pid)
- {
- midcflag = "Y";
- }
- }
-
- ds_grd_mdiclam.setColumn(i, "fstrgstrid", ds_init_session.getColumn(0, "sess_userid"));
-
- interval = utlf_getDateInterval(ds_grd_mdiclam.getColumn(i, "fromdd"), ds_grd_mdiclam.getColumn(i, "todd"));
-
- if(interval < 0)
- {
- sysf_messageBox("등록기준일이 시작일자 보다 이전일자로 등록","E001");
- return;
- }
- }
- else
- {
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_makemiddleclam.grd_mdiclam, "", arrPostion);
- }
- }
- }
-
- var clamrows = ds_grd_mdiclam.rowcount;
-
- for(var i=0; i<clamrows; i++){
- if(ds_grd_mdiclam.getColumn(i, "choi") == "true"){
- var fromdd = ds_grd_mdiclam.getColumn(i, "fromdd");
- var maxtodd = ds_grd_mdiclam.getColumn(i, "maxtodd");
-
- fromdd = fromdd.toDate("YYYYMMDD").getAddDate(-1).getDateFormat();
-
- if(fromdd != maxtodd){
- var rtn = sysf_messageBox(i+1+"번째 줄의 이전 입원 진료분이 중간청구 등록되지 않은 날짜가 있습니다. 계속 진행 하시겠습니까?. ","Q999");
- if(rtn != "6"){
- ds_grd_mdiclam.setColumn(i, "choi", "false");
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_makemiddleclam.grd_mdiclam, "", arrPostion);
- }
- }
- }
- }
-
- var clamcheckrows = ds_grd_mdiclam.rowcount;
- var cnt = 0;
-
- for(var i=0; i<clamrows; i++){
- if(ds_grd_mdiclam.getColumn(i, "choi") == "true"){
- cnt = cnt + 1;
- }
- }
- if(cnt > 0){
- var updtdata = grdf_getGridUpdateData(swt_spclmemo.case_makemiddleclam.grd_mdiclam);
- grdf_setStatusColumn(updtdata,"status");
- var oParam = {};
- oParam.id = "TXPIJ02301";
- oParam.service = "bfjudgapp.MdlClamBatRgst";
- oParam.method = "reqInsMdlClamBatRgst";
- oParam.inds = "req="+updtdata.name;
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXPIJ02301";
- tranf_submit(oParam);
- }
- }
- function cf_TXPIJ02301(){
- var updtdata = grdf_getGridUpdateData(swt_spclmemo.case_makemiddleclam.grd_mdiclam);
- dsf_setDefaultVal(updtdata, "cnclyn:N");
-
- var oParam = {};
- oParam.id = "TXPIJ02303";
- oParam.service = "inordamtmngtapp.InRcpt";
- oParam.method = "reqSetInClamSpecCret";
- oParam.inds = "inputdata="+updtdata.name;
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXPIJ02303";
- tranf_submit(oParam);
- btn_srch_onclick();
-
- if(midcflag == "Y"){
- opener.fSetMidregist("Y");
- }
- sysf_messageBox("등록이","I002");
- }
- function btn_cancelsave_onclick(obj:Button, e:ClickEventInfo)
- {
- var frow = ds_grd_mdiclamlist.findRowExpr("cretyn=='Y' && choi=='true'");
- if ( frow > -1) {
- for(var i = 0; i <= ds_grd_mdiclamlist.rowcount; i++){
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_srchmiddleclam.grd_mdiclamrgst, "", arrPostion);
- }
- }
- var updtdata = grdf_getGridUpdateData(swt_spclmemo.case_srchmiddleclam.grd_mdiclamrgst);
-
- if(updtdata.rowcount == 0){
- sysf_messageBox("변경된 데이터가","I004");
- return;
- }
-
- var rows = ds_grd_mdiclamlist.rowcount;
- var check = "";
- var stat = 0;
- var pid = "";
- var openerpid = "";
-
- if(frmf_checkOpener()){
- openerpid = opener.gv_pid;
- }
-
- for(var i=0; i<rows; i++){
- stat = ds_grd_mdiclamlist.getRowType(i);
- if(stat == 4){
- check = ds_grd_mdiclamlist.getColumn(i, "choi");
-
- if(check == "true"){
- ds_grd_mdiclamlist.setColumn(i, "lastupdtrid", ds_init_session.getColumn(0, "sess_userid"));
- ds_grd_mdiclamlist.setColumn(i, "insukind", "");
- pid = ds_grd_mdiclam.getColumn(i, "pid");
- if(frmf_checkOpener()){
- if(openerpid == pid){
- midcflag = "N";
- }
- }
- }else{
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_srchmiddleclam.grd_mdiclamrgst, "", arrPostion);
- }
- }
- }
- var updtdata = grdf_getGridUpdateData(swt_spclmemo.case_srchmiddleclam.grd_mdiclamrgst);
- grdf_setStatusColumn(updtdata,"status");
- var oParam = {};
- oParam.id = "TXPIJ02302";
- oParam.service = "bfjudgapp.MdlClamBatRgst";
- oParam.method = "reqSetMdlClamBatRgst";
- oParam.inds = "req="+updtdata.name;
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXPIJ02302";
- tranf_submit(oParam);
- }
- function cf_TXPIJ02302(){
- var updtdata = grdf_getGridUpdateData(swt_spclmemo.case_srchmiddleclam.grd_mdiclamrgst);
- dsf_setDefaultVal(updtdata, "cnclyn:Y");
- var oParam = {};
- oParam.id = "TXPIJ02304";
- oParam.service = "inordamtmngtapp.InRcpt";
- oParam.method = "reqSetInClamSpecCret";
- oParam.inds = "inputdata="+updtdata.name;
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXPIJ02304";
- tranf_submit(oParam);
- btn_rgstsrch_onclick();
-
- if(midcflag == "N"){
- opener.fSetMidregist("N");
- }
-
- sysf_messageBox("등록취소가","I002");
- }
- function btn_rgstsrch_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_send.setColumn(0, "allcnt", "0");
- ds_main_send.setColumn(0, "patcnt", "0");
-
- var oParam = {};
- oParam.id = "TRPIJ02302";
- oParam.service = "bfjudgapp.MdlClamBatRgst";
- oParam.method = "reqGetMdlClamBatRgstList";
- oParam.inds = "req=ds_main_send";
- oParam.outds = "ds_grd_mdiclamlist=grdmdiclamlist";
- oParam.async = false;
- oParam.callback = "cf_TRPIJ02302";
- tranf_submit(oParam);
-
-
- ds_grd_mdiclamlist.updatecontrol = false;
- dsf_setDefaultVal(ds_grd_mdiclamlist, "choi:false");
- ds_grd_mdiclamlist.updatecontrol = true;
-
- var pid = "";
- var patcnt = 0;
- var allcnt = ds_grd_mdiclamlist.rowcount;
-
- ds_main_send.setColumn(0, "allcnt", allcnt);
-
- for(var i=0; i<ds_grd_mdiclamlist.rowcount; i++){
- var chkpid = ds_grd_mdiclamlist.getColumn(i, "pid");
- if(pid != chkpid){
- patcnt = patcnt + 1;
- }
- pid = chkpid;
- }
-
- ds_main_send.setColumn(0, "patcnt", patcnt);
-
- pid = ds_main_send.getColumn(0, "pid");
- if(!utlf_isNull(pid)){
- for(var i=0; i<ds_grd_mdiclamlist.rowcount; i++){
- var cretyn = ds_grd_mdiclamlist.getColumn(i, "cretyn");
- if(cretyn != "Y"){
- ds_grd_mdiclamlist.setColumn(i, "choi", "true");
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_srchmiddleclam.grd_mdiclamrgst, "U", arrPostion);
- }
- }
- }
- }
- function cf_TRPIJ02302(){
- //copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
- }
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- if (frmf_checkOpener())
- {
- this.close();
- }
- }
- function btn_exlsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ds_grd_mdiclam.rowcount > 0) {
- grdf_exportExcel(swt_spclmemo.case_makemiddleclam.grd_mdiclam, "중간청구등록", "see");
- } else {
- sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- }
- function swt_spclmemo_case_makemiddleclam_group2_chk_dschperson_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(obj.value == "Y"){
- if(utlf_isNull(swt_spclmemo.case_makemiddleclam.group2.ipt_pid.value)){
- sysf_messageBox("퇴원자포함 선택시 환자번호는","I003");
- }
- }
- }
- function btn_selectall_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i=0; i<ds_grd_mdiclam.rowcount; i++){
- ds_grd_mdiclam.setColumn(i, "choi", "true");
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_makemiddleclam.grd_mdiclam, "U", arrPostion);
- }
- }
- function btn_deselectall_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i=0; i<ds_grd_mdiclam.rowcount; i++){
- ds_grd_mdiclam.setColumn(i, "choi", "false");
- var arrPostion = new Array();
- arrPostion[0] = i;
- grdf_setStatus(swt_spclmemo.case_makemiddleclam.grd_mdiclam, "", arrPostion);
- }
- }
- function swt_spclmemo_case_srchmiddleclam_group5_ipt_rgstpid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- swt_spclmemo.case_srchmiddleclam.group5.opt_rgstpatnm.setFocus();
- var pid = obj.value;
- if(!utlf_isNull(pid)){
- ds_sppmc02500_cond.setColumn(0, "srchcond", "1");
- ds_sppmc02500_cond.setColumn(0, "pid", pid);
- ds_sppmc02500_cond.setColumn(0, "autoflag", "1");
- }else{
-
- }
- var objArgs = new Object();
- objArgs.arg_ds_send = ds_sppmc02500_cond;
- frmf_modal("SPPMC02500", "SPPMC02500", objArgs, "", "", "", "", "", "", "", "", "", "M");
-
- var srch_pid = ds_patinfolist.getColumn(0, "pid");
- swt_spclmemo.case_srchmiddleclam.group5.ipt_rgstpid.value = ds_patinfolist.getColumn(0, "pid");
- swt_spclmemo.case_srchmiddleclam.group5.opt_rgstpatnm.value = ds_patinfolist.getColumn(0, "hngnm");
-
- swt_spclmemo.case_srchmiddleclam.group5.opt_rgstpatnm.setFocus();
- }
- }
- function group5_btn_srchpid_onclick(obj:Button, e:ClickEventInfo)
- {
- var pid = swt_spclmemo.case_srchmiddleclam.group5.ipt_rgstpid.value;
- if(!utlf_isNull(pid))
- {
- ds_sppmc02500_cond.setColumn(0, "srchcond", "1");
- ds_sppmc02500_cond.setColumn(0, "pid", pid);
- ds_sppmc02500_cond.setColumn(0, "autoflag", "0");
- }
- else
- {
-
- }
-
- var objArgs = new Object();
- objArgs.arg_ds_send = ds_sppmc02500_cond;
- frmf_modal("SPPMC02500", "SPPMC02500", objArgs, "", "", "", "", "", "", "", "", "", "M");
-
- var srch_pid = ds_patinfolist.getColumn(0, "pid");
- swt_spclmemo.case_srchmiddleclam.group5.ipt_rgstpid.value = ds_patinfolist.getColumn(0, "pid");
- swt_spclmemo.case_srchmiddleclam.group5.opt_rgstpatnm.value = ds_patinfolist.getColumn(0, "hngnm");
- }
- function ds_grd_mdiclamlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "choi")
- {
- obj.setColumn(e.row, "choi", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
-
- var choi = obj.getColumn(e.row, "choi");
-
- if(choi == "true")
- {
- var arrRow = new Array();
- arrRow[0] = e.row;
- grdf_setStatus(swt_spclmemo.case_srchmiddleclam.grd_mdiclamrgst, "U", arrRow);
- }
- else if(choi == "false")
- {
- var arrRow = new Array();
- arrRow[0] = e.row;
- grdf_setStatus(swt_spclmemo.case_srchmiddleclam.grd_mdiclamrgst, "", arrRow);
- }
- }
- }
- function ds_grd_mdiclam_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "choi")
- {
- obj.setColumn(e.row, "choi", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|