1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml" />
- <Form id="SMPID21200" position="absolute 0 0 1211 784" titletext="코드별일괄수정" onload="SMPID21200_onload">
- <Layouts>
- <Layout>
- <Div id="grp_tle" position="absolute 0 0 1195 13" style="">
- <Layouts>
- <Layout>
- <Static id="caption1" class="tit_1" position="absolute 0 0 106 13" style="" text="코드별일괄수정" />
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_biz" position="absolute 0 13 1195 757" style="">
- <Layouts>
- <Layout>
- <Div id="grp_mechsrch" position="absolute 0 10 1194 45" style="">
- <Layouts>
- <Layout>
- <Shape id="roundrect1" anchor="default" type="roundrectangle" position="absolute 0 0 1194 35" style="" />
- <Static id="caption2" class="search_name" position="absolute 15 9 102 26" style="" text="수가코드 :" />
- <Edit id="ipt_calcscorcd" class="input_search" taborder="1" position="absolute 105 8 215 27" style="" anchor="default" onkeypress="grp_biz_grp_mechsrch_ipt_calcscorcd_onkeypress" onlbuttonup="grp_biz_grp_mechsrch_ipt_calcscorcd_onlbuttonup" />
- <Static id="caption3" class="search_name" position="absolute 340 9 423 26" style="" text="EDI코드 :" />
- <Edit id="ipt_edicd" class="input_search" taborder="2" position="absolute 429 8 539 27" style="" anchor="default" onkeypress="grp_biz_grp_mechsrch_ipt_edicd_onkeypress" onlbuttonup="grp_biz_grp_mechsrch_ipt_edicd_onlbuttonup" />
- <Static id="caption4" class="search_name" position="absolute 599 9 686 26" style="" text="보험유형 :" />
- <Combo innerdataset="ds_init_P0008list_P0008[cdid != '51' and cdid != '61']" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="cmb_mechinsukind" class="combo_search" taborder="3" position="absolute 689 8 786 27" style="" onitemchanged="grp_biz_grp_mechsrch_cmb_mechinsukind_onitemchanged" />
- <Edit id="opt_mechinsukind" class="output_fix" position="absolute 789 8 806 27" style="" anchor="default" readonly="true" />
- <Static id="caption5" class="search_name" position="absolute 826 11 886 28" style="" text="단가 :" />
- <MaskEdit id="inp_ediunitcost" class="input_search" taborder="4" mask="#,###" position="absolute 889 10 979 29" style="" anchor="default" />
- <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="cmb_ediunitcostcond" class="combo_search" taborder="5" position="absolute 982 10 1044 29" style="">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" />
- <Column id="datacolumn" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">원미만</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">원이상</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Shape id="line1" class="line_4" linetype="vertical" position="absolute 1108 7 1111 29" style="" anchor="default" />
- <Button id="btn_mechsrch" class="btn1_letter2" taborder="6" position="absolute 1118 7 1174 29" style="" text="조회" onclick="grp_biz_grp_mechsrch_btn_mechsrch_onclick" />
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption20" class="tit_2" position="absolute 5 55 118 69" style="" text="검색된 코드목록" />
- <Shape id="line3" class="line_1" linetype="horizontal" position="absolute 0 70 1194 73" style="" anchor="default" />
- <Grid id="grd_mechmast" binddataset="ds_main_list1_mech" class="datagrid2" position="absolute 0 75 1194 224" style="" oncopy="grp_biz_grd_mechmast_oncopy">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30" />
- <Column size="97" />
- <Column size="80" />
- <Column size="30" />
- <Column size="54" />
- <Column size="30" />
- <Column size="28" />
- <Column size="22" />
- <Column size="66" />
- <Column size="66" />
- <Column size="66" />
- <Column size="66" />
- <Column size="300" />
- <Column size="285" />
- </Columns>
- <Rows>
- <Row size="24" band="head" />
- <Row size="24" />
- </Rows>
- <Band id="head">
- <Cell text="그룹
싱글" />
- <Cell col="1" text="수가코드" />
- <Cell col="2" text="EDI코드" />
- <Cell col="3" text="산정
코드" />
- <Cell col="4" text="EDI
코드구분" />
- <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="EDI단가" />
- <Cell col="12" text="한글명" />
- <Cell col="13" text="준용명" />
- </Band>
- <Band id="body">
- <Cell text="bind:grupsnglflag" />
- <Cell col="1" text="bind:calcscorcd" />
- <Cell col="2" text="bind:edicd" />
- <Cell col="3" text="bind:estmmncd" />
- <Cell col="4" text="bind:edicdflag" />
- <Cell col="5" text="bind:matractflag" />
- <Cell col="6" text="bind:lrg" />
- <Cell col="7" text="bind:mdl" />
- <Cell col="8" text="bind:fromdd" />
- <Cell col="9" text="bind:todd" />
- <Cell col="10" text="bind:ediunitcost" />
- <Cell col="11" text="bind:ediuamt" />
- <Cell col="12" text="bind:hngnm" />
- <Cell col="13" text="bind:inclnm" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_ordsrch" position="absolute 0 234 1194 269" style="">
- <Layouts>
- <Layout>
- <Shape id="roundrect2" anchor="default" type="roundrectangle" position="absolute 0 0 1194 35" style="" />
- <Static id="caption6" class="search_name" position="absolute 15 9 101 26" style="" text="청구월 :" />
- <Calendar id="ipt_fromdd" class="input_s_essential" taborder="7" mask="yyyy-mm" position="absolute 104 8 196 27" style="" anchor="default" />
- <Static id="caption8" class="search_name" position="absolute 340 9 426 26" style="" text="검색구분 :" />
- <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="rdo_srchflag" class="radio_search" taborder="9" position="absolute 429 11 559 26" style="" onitemclick="grp_biz_grp_ordsrch_rdo_srchflag_onitemclick">
- <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">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption9" class="search_name" position="absolute 599 9 686 26" style="" text="보험유형 :" />
- <Combo innerdataset="ds_init_P0008list_P0008[cdid != '51' and cdid != '61']" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="cmb_clodinsukind" class="combo_search" taborder="10" position="absolute 689 8 786 27" style="" onitemclick="grp_biz_grp_ordsrch_cmb_clodinsukind_onitemclick" />
- <Edit id="opt_clodnsukind" class="output_fix" position="absolute 789 8 806 27" style="" anchor="default" readonly="true" />
- <Static id="caption10" class="search_name" position="absolute 826 9 912 26" style="" text="등록번호 :" />
- <MaskEdit id="ipt_pid" class="input_search" taborder="11" mask="####" position="absolute 915 8 1012 27" style="" anchor="default" onlbuttonup="grp_biz_grp_ordsrch_ipt_pid_onlbuttonup" onkillfocus="grp_biz_grp_ordsrch_ipt_pid_onkillfocus" onkeypress="grp_biz_grp_ordsrch_ipt_pid_onkeypress" />
- <Shape id="line2" class="line_4" linetype="vertical" position="absolute 1108 7 1111 29" style="" anchor="default" />
- <Button id="btn_ordsrch" class="btn1_letter2" taborder="12" position="absolute 1118 7 1174 29" style="" text="조회" onclick="grp_biz_grp_ordsrch_btn_ordsrch_onclick" />
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption21" class="tit_2" position="absolute 5 279 79 292" style="" text="처방 목록" />
- <Shape id="line5" class="line_1" linetype="horizontal" position="absolute 0 294 1194 297" style="" anchor="default" />
- <Grid id="grd_clodhist" binddataset="ds_main_list2_clod" class="datagrid2" position="absolute 0 299 1194 724" style="" oncelldblclick="grp_biz_grd_clodhist_oncelldblclick" onentercell="grp_biz_grd_clodhist_onentercell" oncopy="grp_biz_grd_clodhist_oncopy">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="15" />
- <Column size="60" />
- <Column size="15" />
- <Column size="66" />
- <Column size="44" />
- <Column size="68" />
- <Column size="60" />
- <Column size="18" />
- <Column size="56" />
- <Column size="68" />
- <Column size="68" />
- <Column size="18" />
- <Column size="78" />
- <Column size="84" />
- <Column size="74" />
- <Column size="32" />
- <Column size="30" />
- <Column size="28" />
- <Column size="25" />
- <Column size="26" />
- <Column size="40" />
- <Column size="30" />
- <Column size="40" />
- <Column size="40" />
- <Column size="66" />
- <Column size="66" />
- <Column size="56" />
- <Column size="44" />
- <Column size="150" />
- <Column size="50" />
- <Column size="50" />
- <Column size="68" />
- <Column size="50" />
- <Column size="50" />
- <Column size="50" />
- <Column size="50" />
- <Column size="50" />
- <Column size="50" />
- <Column size="100" />
- <Column size="50" />
- </Columns>
- <Rows>
- <Row size="24" band="head" />
- <Row size="24" />
- </Rows>
- <Band id="head">
- <Cell text="심사상태" />
- <Cell col="1" text="심사상태" />
- <Cell col="2" text="I
O" />
- <Cell col="3" text="등록번호" />
- <Cell col="4" text="이름" />
- <Cell col="5" text="청구년월" />
- <Cell col="6" text="청구차수" />
- <Cell col="7" text="보험유형" />
- <Cell col="8" text="보험유형" />
- <Cell col="9" text="처방
시작일자" />
- <Cell col="10" text="처방
종료일자" />
- <Cell col="11" text="줄" />
- <Cell col="12" text="그룹코드" />
- <Cell col="13" text="수가코드" />
- <Cell col="14" text="EDI코드" />
- <Cell col="15" text="산정
의미" />
- <Cell col="16" text="행위
재료" />
- <Cell col="17" text="항" />
- <Cell col="18" text="목" />
- <Cell col="19" text="급
비" />
- <Cell col="20" text="1회량" />
- <Cell col="21" text="횟수" />
- <Cell col="22" text="1일량
(일투)" />
- <Cell col="23" text="일수" />
- <Cell col="24" text="단가" />
- <Cell col="25" text="EDI단가" />
- <Cell col="26" text="진료과" />
- <Cell col="27" text="진료의" />
- <Cell col="28" text="clamym" />
- <Cell col="29" text="mode" />
- <Cell col="30" text="supp
kind" />
- <Cell col="31" text="orddd" />
- <Cell col="32" text="spcl
judgyn" />
- <Cell col="33" text="adjt
resncd" />
- <Cell col="34" text="under
sixyn" />
- <Cell col="35" text="mech
age" />
- <Cell col="36" text="seqno" />
- <Cell col="37" text="updtdd" />
- <Cell col="38" text="toot" />
- <Cell col="39" text="hosin
resncd" />
- </Band>
- <Band id="body">
- <Cell text="bind:judgendyn" />
- <Cell col="1" text="bind:judgendyn" />
- <Cell col="2" text="bind:ioflag" />
- <Cell col="3" text="bind:pid" />
- <Cell col="4" text="bind:patnm" />
- <Cell col="5" text="bind:clamym" />
- <Cell col="6" text="bind:clamdg" />
- <Cell col="7" text="bind:insukind" />
- <Cell col="8" text="bind:insukind" />
- <Cell col="9" text="bind:ordfromdd" />
- <Cell col="10" text="bind:ordtodd" />
- <Cell col="11" text="bind:edilnno" />
- <Cell col="12" text="bind:grupcalcscorcd" />
- <Cell col="13" text="bind:snglcalcscorcd" />
- <Cell col="14" text="bind:basecd" />
- <Cell col="15" text="bind:estmmncd" />
- <Cell col="16" text="bind:matractflag" />
- <Cell col="17" text="bind:ediitem1" />
- <Cell col="18" text="bind:ediitem2" />
- <Cell col="19" text="bind:payflag" />
- <Cell col="20" text="bind:drugqty" />
- <Cell col="21" text="bind:tims" />
- <Cell col="22" text="bind:daydrugqty" />
- <Cell col="23" text="bind:dayno" />
- <Cell col="24" text="bind:unitcost" />
- <Cell col="25" text="bind:ediunitcost" />
- <Cell col="26" text="bind:orddeptcd" />
- <Cell col="27" text="bind:orddrid" />
- <Cell col="28" text="bind:clamkey" />
- <Cell col="29" text="bind:mode" />
- <Cell col="30" text="bind:suppkind" />
- <Cell col="31" text="bind:orddd" />
- <Cell col="32" text="bind:spcljudgyn" />
- <Cell col="33" text="bind:adjtresncd" />
- <Cell col="34" text="bind:undersixageyn" />
- <Cell col="35" text="bind:mechage" />
- <Cell col="36" text="bind:seqno" />
- <Cell col="37" text="bind:updtdd" />
- <Cell col="38" text="bind:toot" />
- <Cell col="39" text="bind:hosinresncd" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_batupdt" class="btn2_letter4" position="absolute 1063 274 1127 293" style="" text="일괄수정" onclick="grp_biz_btn_batupdt_onclick" />
- <Button id="btn_excelsave" class="btn2_letter4" position="absolute 1130 274 1194 293" style="" text="엑셀저장" onclick="grp_biz_btn_excelsave_onclick" />
- <cp_checkboxList datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="chk_refresh" class="checkbox_search" position="absolute 930 276 1060 293" style="" titletext="CheckBox List" text="chk_refresh" scrollbars="none" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="100">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" />
- <Column id="datacolumn" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">일괄수정후 다시조회</Col>
- </Row>
- </Rows>
- </Dataset>
- </cp_checkboxList>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_btn" position="absolute 0 757 1195 784" style="">
- <Layouts>
- <Layout>
- <Button id="btn_init" class="btn4_letter3" position="absolute 1115 5 1183 27" style="" text="초기화" onclick="grp_btn_btn_init_onclick" />
- <Shape id="line9" class="line_6" linetype="horizontal" position="absolute 0 0 1194 3" style="" anchor="default" />
- <Button id="btn_nextpage" class="btn4_letter5" visible="false" position="absolute 1015 5 1107 27" style="" text="다음페이지" onclick="grp_btn_btn_nextpage_onclick" />
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_list2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="clod" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="clod"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0131list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_hidden_base" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="basedd" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="basedd"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_sppmc02500_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256" />
- <Column id="pid" type="STRING" size="256" />
- <Column id="hngnm" type="STRING" size="256" />
- <Column id="rrgstno1" type="STRING" size="256" />
- <Column id="rrgstno2" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond"></Col>
- <Col id="pid"></Col>
- <Col id="hngnm"></Col>
- <Col id="rrgstno1"></Col>
- <Col id="rrgstno2"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="updt" 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="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_init_P0008list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_init_P0151list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_send_mech" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="calcscorcd" type="STRING" size="256" />
- <Column id="edicd" type="STRING" size="256" />
- <Column id="insukind" type="STRING" size="256" />
- <Column id="ediunitcost" type="STRING" size="256" />
- <Column id="ediunitcostcond" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="calcscorcd"></Col>
- <Col id="edicd"></Col>
- <Col id="insukind"></Col>
- <Col id="ediunitcost"></Col>
- <Col id="ediunitcostcond"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0131list_P0131" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256" />
- <Column id="cdid" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm"></Col>
- <Col id="cdid"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="clod" type="STRING" size="256" />
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_smpic00200_judgsrch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="con1_dd" type="STRING" size="256" />
- <Column id="con2_gsflag" type="STRING" size="256" />
- <Column id="con3_search1" type="STRING" size="256" />
- <Column id="con4_search2" type="STRING" size="256" />
- <Column id="con5_insu" type="STRING" size="256" />
- <Column id="con6_calcscorcd" type="STRING" size="256" />
- <Column id="con7_todd" type="STRING" size="256" />
- <Column id="con8_instcd" type="STRING" size="256" />
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_base_list2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_hidden_smpic00200" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_init_P0008list_P0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256" />
- <Column id="cdid" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm"></Col>
- <Col id="cdid"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_clod" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="clamym" type="STRING" size="256" />
- <Column id="srchflag" type="STRING" size="256" />
- <Column id="insukind" type="STRING" size="256" />
- <Column id="pid" type="STRING" size="256" />
- <Column id="calcscorcd" type="STRING" size="256" />
- <Column id="edicd" type="STRING" size="256" />
- <Column id="offset" type="STRING" size="256" />
- <Column id="pagesize" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="clamym"></Col>
- <Col id="srchflag"></Col>
- <Col id="insukind"></Col>
- <Col id="pid"></Col>
- <Col id="calcscorcd"></Col>
- <Col id="edicd"></Col>
- <Col id="offset"></Col>
- <Col id="pagesize">50</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0151list_P0151" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256" />
- <Column id="cdid" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm"></Col>
- <Col id="cdid"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="patinfolist" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="patinfolist"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_base_list2_clod" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="orddd" type="STRING" size="256" />
- <Column id="ioflag" type="STRING" size="256" />
- <Column id="insukind" type="STRING" size="256" />
- <Column id="pid" type="STRING" size="256" />
- <Column id="refresh" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="orddd"></Col>
- <Col id="ioflag"></Col>
- <Col id="insukind"></Col>
- <Col id="pid"></Col>
- <Col id="refresh"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_main_list1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="mech" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="mech"></Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_mechsrch.ipt_calcscorcd" propid="value" datasetid="ds_send_mech" columnid="calcscorcd" />
- <BindItem id="item1" compid="grp_biz.grp_mechsrch.ipt_edicd" propid="value" datasetid="ds_send_mech" columnid="edicd" />
- <BindItem id="item2" compid="grp_biz.grp_mechsrch.cmb_mechinsukind" propid="value" datasetid="ds_send_mech" columnid="insukind" />
- <BindItem id="item3" compid="grp_biz.grp_mechsrch.opt_mechinsukind" propid="value" datasetid="ds_send_mech" columnid="insukind" />
- <BindItem id="item4" compid="grp_biz.grp_mechsrch.inp_ediunitcost" propid="value" datasetid="ds_send_mech" columnid="ediunitcost" />
- <BindItem id="item5" compid="grp_biz.grp_mechsrch.cmb_ediunitcostcond" propid="value" datasetid="ds_send_mech" columnid="ediunitcostcond" />
- <BindItem id="item6" compid="grp_biz.grp_ordsrch.ipt_fromdd" propid="value" datasetid="ds_send_clod" columnid="clamym" />
- <BindItem id="item7" compid="grp_biz.grp_ordsrch.rdo_srchflag" propid="value" datasetid="ds_send_clod" columnid="srchflag" />
- <BindItem id="item8" compid="grp_biz.grp_ordsrch.cmb_clodinsukind" propid="value" datasetid="ds_send_clod" columnid="insukind" />
- <BindItem id="item9" compid="grp_biz.grp_ordsrch.opt_clodnsukind" propid="value" datasetid="ds_send_clod" columnid="insukind" />
- <BindItem id="item10" compid="grp_biz.grp_ordsrch.ipt_pid" propid="value" datasetid="ds_send_clod" columnid="pid" />
- <BindItem id="item11" compid="grp_biz.chk_refresh" propid="value" datasetid="ds_hidden_base_list2_clod" columnid="refresh" />
- </Bind>
- <Script type="xscript4.0"><![CDATA[function SMPID21200_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- var today = new Date();
- var baseyear = today.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
- var basemonth = today.getDateFormat("MM");
- var currentym = baseyear + basemonth;
- ds_hidden_base.setColumn( 0, "basedd", currentym);
- ds_send_clod.setColumn( 0, "clamym", currentym);
- grp_biz.grp_mechsrch.ipt_calcscorcd.attribute("_chartype") = "upper"; // (tfHelper.js) 대문자로 입력을 제한한다.
- grp_biz.grp_mechsrch.ipt_edicd.attribute("_chartype") = "upper"; // (tfHelper.js) 대문자로 입력을 제한한다.
- // 공통코드를 조회한다.
- // (ZBC001.js) com.ZBCMCODE에서 기초코드 값을 가져와서 Combo 컨트롤 item으로 설정하기 위해 사용한다.
- var arrParam = [ {dsNm: "ds_init_P0008list", "ds_init_P0131list", "ds_init_P0151list",
- cdGrpId: "P0008", "P0131", "P0151" } ];
- appf_getCodeList(arrParam, );
- // (PAM.js) submission id="TRPAM00101" 를 사용하여 진료과 / 의사명 Combo item을 가져온다.
- pamGetDeptCDDrIDList();
- fInitializeAll(); // 화면을 초기화한다.
- fCheckAuth(); // 화면 권한을 설정한다.
- }
- include '../../.._com_commonweb_js_common.js'
- include '../../.._com_commonweb_js_dateHelper.js'
- include '../../.._com_commonweb_js_stringHelper.js'
- include '../../.._com_commonweb_js_tfHelper.js'
- include '../../.._com_basiccodeweb_js_ZBC001.js'
- include '../../.._pam_pamcomnweb_js_PAM.js'
- // 화면 권한을 설정한다.
- function fCheckAuth() {
- var xAuth = !frmf_checkAuth("X"); // 처리권한(입력, 수정, 삭제 등)
- grp_biz.btn_batupdt.disabled = xAuth;
- grp_biz.grd_mechmast.disabled = xAuth;
- grp_biz.grd_clodhist.disabled = xAuth;
- var pAuth = !frmf_checkAuth("P"); // 출력권한(보고서 출력, 엑셀 내려받기 등)
- grp_biz.btn_excelsave.disabled = pAuth;
- }
- // 처방용 조회 조건과 조회Btn disabled 상태 설정
- function fSetAuthGrpOrdsrch(isDisabled) {
- grp_biz.grp_ordsrch.ipt_fromdd.disabled = isDisabled;
- grp_biz.grp_ordsrch.rdo_srchflag.disabled = isDisabled;
- grp_biz.grp_ordsrch.cmb_clodinsukind.disabled = isDisabled;
- grp_biz.grp_ordsrch.ipt_pid.disabled = isDisabled;
- grp_biz.grp_ordsrch.btn_ordsrch.disabled = isDisabled;
- grp_btn.btn_nextpage.disabled = isDisabled;
- }
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitializeAll() {
- // 수가코드 부분을 초기화한다.
- ds_send_mech.clearData(); ds_send_mech.addRow();
- ds_main_list1_mech.clearData();
- ds_send_mech.setColumn( 0, "ediunitcostcond", "2"); // 단가 조회 기준 (2: 원이상)
- fInitOrdSrch(true); // 처방목록, 조건 초기화
- //model.refresh();
- }
- // 처방목록 부분을 초기화한다.
- function fInitOrdSrch(isCond) {
- ds_main_list2_clod.clearData();
- if (isCond) { // 처방목록 조건 초기화
- ds_send_clod.clearData(); ds_send_clod.addRow();
- ds_send_clod.setColumn( 0, "srchflag", "-"); // 검색구분 Radio의 초기값을 설정한다.
- // 검색 청구월표시
- var clamym = ds_hidden_base.getColumn(0, "basedd");
- ds_send_clod.setColumn( 0, "clamym", clamym);
- }
- // 처방용 조회 조건과 조회Btn disabled 상태 설정
- fSetAuthGrpOrdsrch(true);
- }
- // 코드목록 "조회" 버튼을 누르면 수가마스터에서 코드목록을 조회한다.
- function fGetMechMastList() {
- var calcscorcd = ds_send_mech.getColumn(0, "calcscorcd");
- var edicd = ds_send_mech.getColumn(0, "edicd");
- ds_send_clod.setColumn( 0, "calcscorcd", calcscorcd);
- ds_send_clod.setColumn( 0, "edicd", edicd);
- if (calcscorcd || edicd) {
- fSetAuthGrpOrdsrch(true); // 처방용 조회 조건과 조회Btn disabled 상태 설정
- fInitOrdSrch(false); // 처방목록 초기화
- ds_main_list1_mech.clearData();
- // submit("TRPID21201");
- var oParam = {};
- oParam.id = "TRPID21201";
- oParam.service = "aftjudgapp.CdBatUpdt";
- oParam.method = "reqGetMechMastList";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=mech";
- oParam.async = false;
- oParam.callback = "cf_TRPID21201";
- tranf_submit(oParam);
- /*
- function cf_TRPID21201(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPID21201(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPID21201") > -1
- arErrorCode.pop("TRPID21201") < 0
- */
- if (ds_main_list1_mech.getColumn(0, "calcscorcd")) {
- if (ds_main_list1_mech.getColumn(0, "grupsnglflag") == "S") {
- fSetAuthGrpOrdsrch(false); // 처방용 조회 조건과 조회Btn disabled 상태 설정
- if (ds_send_mech.getColumn(0, "insukind")) { // 보험유형 조건이 입력된 경우
- grp_biz.grp_ordsrch.cmb_clodinsukind.enable = false;
- }
- } else {
- sysf_messageBox("그룹코드는 코드일괄수정을 할 수", "I004"); ///그룹코드는 코드일괄수정을 할 수 없습니다.
- }
- }
- grp_biz.grd_mechmast.row = 0;
- } else {
- sysf_messageBox("수가코드 또는 EDI코드는", "I003"); ///수가코드 또는 EDI코드는 필수입력입니다.
- return;
- }
- }
- // 처방목록 "조회" 버튼을 누르면 처방 테이블에서 해당 수가코드를 가진 처방을 조회한다.
- function fGetOrdHistList(nextyn) {
- if (fCheckOrdSrchCond()) { // 처방목록 조회조건 체크
- ds_main_list2_clod.clearData(); // 처방목록 Grid 초기화
- if (nextyn == "Y") {
- // 조회버튼으로 조회 시 offset은 "0"으로 설정하고 submit() 을 수행한다.
- ds_send_clod.setColumn( 0, "offset", "0");
- } else {
- // 다음페이지버튼으로 조회 시 offset은 마지막clamkey"으로 설정하고 submit() 을 수행한다.
- ds_send_clod.setColumn( 0, "offset", "0");
- }
- ds_send_clod.setColumn( 0, "calcscorcd", ds_send_mech.getColumn(0, "calcscorcd"));
- ds_send_clod.setColumn( 0, "edicd", ds_send_mech.getColumn(0, "edicd"));
- // 페이지 단위 조회시 기존 조회조건이 변경되었는지 체크한다.
- ds_hidden_clod.copyData(ds_send_clod);
- //setAlertOn();
- // submit("TRPID21202");
- var oParam = {};
- oParam.id = "TRPID21202";
- oParam.service = "aftjudgapp.CdBatUpdt";
- oParam.method = "reqGetClodHistList";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=clod";
- oParam.async = false;
- oParam.callback = "cf_TRPID21202";
- tranf_submit(oParam);
- /*
- function cf_TRPID21202(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPID21202(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPID21202") > -1
- arErrorCode.pop("TRPID21202") < 0
- */
- if (instance1.selectSingleNode("ds_main_list2_clod") == null) {
- sysf_messageBox("조회된 결과가", "I004"); ///조회된 결과가 없습니다.
- return;
- } else {
- for (var i = 1; i < grp_biz.grd_mechmast.rows; i++) {
- var calcscorcd = ds_main_list1_mech.getColumn(i, "calcscorcd");
- var fromdd = ds_main_list1_mech.getColumn(i, "fromdd");
- var todd = ds_main_list1_mech.getColumn(i, "todd");
- for (var j = 1; j < grp_biz.grd_clodhist.rows; j++) {
- var snglcalcscorcd = ds_main_list2_clod.getColumn(j, "snglcalcscorcd");
- if (snglcalcscorcd == calcscorcd) {
- var orddd = ds_main_list2_clod.getColumn(j, "orddd");
- var ordfromdd = ds_main_list2_clod.getColumn(j, "ordfromdd");
- var ordtodd = ds_main_list2_clod.getColumn(j, "ordtodd");
- // if (fromdd <= ordfromdd && ordfromdd <= todd) {
- // if (fromdd >= ordfromdd && fromdd <= ordtodd) {
- if (todd >= ordfromdd && todd <= ordtodd) { // 수가종료일자가 처방from~to 사이라면 중간에 수가코드가 종결되고 바뀐 것이므로
- ds_main_list2.setColumn( j , "mode", "u");
- grp_biz.grd_clodhist.rowStatus(j) = 2;
- }
- }
- var estmmncd = ds_main_list2_clod.getColumn(j, "estmmncd");
- if (estmmncd == "-") { // 초기값 '0000' 셋팅 전에 입력된 data 오류로 인해
- ds_main_list2.setColumn( j , "estmmncd", "");
- }
- }
- }
- }
- grp_biz.grd_clodhist.row = 0;
- }
- }
- // 처방목록 조회조건 체크
- function fCheckOrdSrchCond() {
- // 검색기간(fromdd ~ todd)을 확인한다.
- var clamym = ds_send_clod.getColumn(0, "clamym");
- if (clamym == "") {
- sysf_messageBox("청구월은", "I003"); ///청구월은 필수입력입니다.
- return false;
- }
- return true;
- }
- // 검색구분(입원_외래), 보험유형, 등록번호 필터링 적용
- function fGetSelectedOrderData() {
- //var orddd = ds_hidden_base_list2_clod.getColumn(0, "orddd");
- var ioflag = ds_hidden_base_list2_clod.getColumn(0, "ioflag");
- var insukind = ds_hidden_base_list2_clod.getColumn(0, "insukind");
- var pid = ds_hidden_base_list2_clod.getColumn(0, "pid");
- var selCon = "";
- /*
- if (orddd) {
- selCon += orddd;
- }
- if (ioflag) {
- if (selCon) {
- selCon += " and " + ioflag;
- } else {
- selCon += ioflag;
- }
- }
- */
- if (ioflag) {
- selCon = ioflag;
- }
- if (insukind) {
- if (selCon) {
- selCon += " and " + insukind;
- } else {
- selCon = insukind;
- }
- }
- if (pid) {
- if (selCon) {
- selCon += " and " + pid;
- } else {
- selCon = pid;
- }
- }
- if (selCon) {
- grp_biz.grd_clodhist.attribute("nodeset") = "ds_main_list2_clod[" + selCon + "]";
- } else {
- grp_biz.grd_clodhist.attribute("nodeset") = "ds_main_list2_clod";
- }
- grp_biz.grd_clodhist.rebuild();
- //grp_biz.grd_clodhist.resizeCells();
- grp_biz.grd_clodhist.row = 0; // 그리드의 첫줄부터 표시되도록 포커스를 0으로 설정한다.
- }
- function grp_biz_grp_mechsrch_ipt_calcscorcd_onkeydown(obj:Edit, e:KeyEventInfo) {
- if (event.keyCode == "13") { // Enter 입력 시에
- if (grp_biz.grp_mechsrch.ipt_calcscorcd.text.length > 1) { // 2글자 이상이면
- obj.updateToDataset(); // (tfHelper.js) 현재 인풋값 노드 반영
- fGetMechMastList(); // 코드목록 "조회" 버튼을 누르면 수가마스터에서 코드목록을 조회한다.
- }
- }
- }
- function grp_biz_grp_mechsrch_ipt_calcscorcd_onlbuttonup(obj:Edit, e:MouseEventInfo) {
- // // 검색기간 시작일 또는 종료일이 입력된 경우 해당 날짜를 수가조회 기준일자로 설정
- // var fromdd = ds_send_clod.getColumn(0, "fromdd");
- // var todd = ds_send_clod.getColumn(0, "todd");
- // if (fromdd) {
- // ds_hidden_smpic00200_judgsrch.setColumn( 0, "con1_dd", fromdd);
- // }
- // if (todd) {
- // ds_hidden_smpic00200_judgsrch.setColumn( 0, "con1_dd", todd);
- // }
- // if (fromdd == "" && todd == "") {
- // ds_hidden_smpic00200_judgsrch.setColumn( 0, "con1_dd", utlf_getCurrentDate()); // (dateHelper.js) 현재날짜 반환
- // }
- // 보험유형을 설정한다.
- var insukindcd = ds_send_mech.getColumn(0, "insukind");
- if (insukindcd == "11") {
- ds_hidden_smpic00200_judgsrch.setColumn( 0, "con5_insu", "insu");
- }
- else if (insukindcd == "21" || insukindcd == "22") {
- ds_hidden_smpic00200_judgsrch.setColumn( 0, "con5_insu", "proc");
- }
- else if (insukindcd == "31" || insukindcd == "32") {
- ds_hidden_smpic00200_judgsrch.setColumn( 0, "con5_insu", "indus");
- }
- else if (insukindcd == "41") {
- ds_hidden_smpic00200_judgsrch.setColumn( 0, "con5_insu", "autm");
- }
- // 코드 종류와 현재 input 컨트롤에 입력된 코드 값을 전달한다.
- ds_hidden_smpic00200_judgsrch.setColumn( 0, "con3_search1", "calcscorcd");
- ds_hidden_smpic00200_judgsrch.setColumn( 0, "con4_search2", ds_send_mech.getColumn(0, "calcscorcd"));
- // SMPIC00200_수가조회 에서 선택된 결과가 copyNode되는 경로를 초기화한다.
- ds_hidden_smpic00200_rslt_mech.clearData();
- ds_hidden_smpic00200_rslt_picmmech.clearData();
- frmf_modal("SMPIC00200", "SMPIC00200", "root_hidden_smpic00200""-"ds_temp"", "", "1", "150", "150", "", "", "", "", "", "M");
- var mechSelect = instance1.selectSingleNode("ds_temp_mech");
- if (mechSelect == null) { // 선택한 코드가 없는 경우
- sysf_messageBox("수가조회 화면에서 선택한 결과가", "I004"); ///수가조회 화면에서 선택한 결과가 없습니다.
- return;
- }
- // SMPIC00200_수가조회 화면에서 보낸 결과 값에 대한 처리
- dsf_makeValue( ds_hidden_smpic00200_rslt, "picmmech", "string", "" );
- ds_hidden_smpic00200_rslt_picmmech.copyData(ds_temp_picmmech);
- ds_temp.clearData(); // SMPIC00200_수가조회 에서 선택된 결과가 직접 전달되는 경로임
- ds_send_mech.setColumn( 0, "calcscorcd", ds_hidden_smpic00200_rslt_picmmech.getColumn(0, "picmmech_calcscorcd"));
- //model.refresh();
- }
- function grp_biz_grp_mechsrch_ipt_edicd_onkeydown(obj:Edit, e:KeyEventInfo) {
- if (event.keyCode == "13") { // Enter 입력 시에
- if (grp_biz.grp_mechsrch.ipt_edicd.text.length > 1) { // 2글자 이상이면
- obj.updateToDataset(); // (tfHelper.js) 현재 인풋값 노드 반영
- fGetMechMastList(); // 코드목록 "조회" 버튼을 누르면 수가마스터에서 코드목록을 조회한다.
- }
- }
- }
- function grp_biz_grp_mechsrch_ipt_edicd_onlbuttonup(obj:Edit, e:MouseEventInfo) {
- // 검색기간 시작일 또는 종료일이 입력된 경우 해당 날짜를 수가조회 기준일자로 설정
- // var fromdd = ds_send_clod.getColumn(0, "fromdd");
- // var todd = ds_send_clod.getColumn(0, "todd");
- // if (fromdd) {
- // ds_hidden_smpic00200_judgsrch.setColumn( 0, "con1_dd", fromdd);
- // }
- // if (todd) {
- // ds_hidden_smpic00200_judgsrch.setColumn( 0, "con1_dd", todd);
- // }
- // if (fromdd == "" && todd == "") {
- // modaael.setValue("ds_hidden_smpic00200_judgsrch_con1_dd", utlf_getCurrentDate()); // (dateHelper.js) 현재날짜 반환
- // }
- // 보험유형을 설정한다.
- var insukindcd = ds_send_mech.getColumn(0, "insukind");
- if (insukindcd == "11") {
- ds_hidden_smpic00200_judgsrch.setColumn( 0, "con5_insu", "insu");
- }
- else if (insukindcd == "21" || insukindcd == "22") {
- ds_hidden_smpic00200_judgsrch.setColumn( 0, "con5_insu", "proc");
- }
- else if (insukindcd == "31" || insukindcd == "32") {
- ds_hidden_smpic00200_judgsrch.setColumn( 0, "con5_insu", "indus");
- }
- else if (insukindcd == "41") {
- ds_hidden_smpic00200_judgsrch.setColumn( 0, "con5_insu", "autm");
- }
- // 코드 종류와 현재 input 컨트롤에 입력된 코드 값을 전달한다.
- ds_hidden_smpic00200_judgsrch.setColumn( 0, "con3_search1", "edicd");
- ds_hidden_smpic00200_judgsrch.setColumn( 0, "con4_search2", ds_send_mech.getColumn(0, "edicd"));
- // SMPIC00200_수가조회 에서 선택된 결과가 copyNode되는 경로를 초기화한다.
- ds_hidden_smpic00200_rslt_mech.clearData();
- ds_hidden_smpic00200_rslt_picmmech.clearData();
- frmf_modal("SMPIC00200", "SMPIC00200", "root_hidden_smpic00200""-"ds_temp"", "", "1", "150", "150", "", "", "", "", "", "M");
- var mechSelect = instance1.selectSingleNode("ds_temp_mech");
- if (mechSelect == null) { // 선택한 코드가 없는 경우
- sysf_messageBox("수가조회 화면에서 선택한 결과가", "I004"); ///수가조회 화면에서 선택한 결과가 없습니다.
- return;
- }
- // SMPIC00200_수가조회 화면에서 보낸 결과 값에 대한 처리
- dsf_makeValue( ds_hidden_smpic00200_rslt, "mech", "string", "" );
- ds_hidden_smpic00200_rslt_mech.copyData(ds_temp_mech);
- ds_temp.clearData(); // SMPIC00200_수가조회 에서 선택된 결과가 직접 전달되는 경로임
- if (insukindcd == "11") {
- ds_send_mech.setColumn( 0, "edicd", ds_hidden_smpic00200_rslt_mech.getColumn(0, "insuedicd"));
- }
- else if (insukindcd == "21" || insukindcd == "22") {
- ds_send_mech.setColumn( 0, "edicd", ds_hidden_smpic00200_rslt_mech.getColumn(0, "procedicd"));
- }
- else if (insukindcd == "31" || insukindcd == "32") {
- ds_send_mech.setColumn( 0, "edicd", ds_hidden_smpic00200_rslt_mech.getColumn(0, "inducsedicd"));
- }
- else if (insukindcd == "41") {
- ds_send_mech.setColumn( 0, "edicd", ds_hidden_smpic00200_rslt_mech.getColumn(0, "autmbedicd"));
- } else {
- ds_send_mech.setColumn( 0, "edicd", ds_hidden_smpic00200_rslt_mech.getColumn(0, "insuedicd"));
- }
- //model.refresh();
- }
- function grp_biz_grp_mechsrch_cmb_mechinsukind_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- var clodList = instance1.selectSingleNode("ds_main_list2_clod");
- if (clodList == null) { // 조회된 처방이 없다면
- grp_biz.grp_ordsrch.cmb_clodinsukind.select(grp_biz.grp_mechsrch.cmb_mechinsukind.focusIndex);
- }
- }
- function grp_biz_grp_mechsrch_btn_mechsrch_onclick(obj:Button, e:ClickEventInfo) {
- fGetMechMastList(); // 코드목록 "조회" 버튼을 누르면 수가마스터에서 코드목록을 조회한다.
- }
- function grp_biz_grd_mechmast_oncopy {
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
- function grp_biz_grp_ordsrch_rdo_srchflag_onitemclick(obj:Radio, e:RadioMouseEventInfo) {
- if (instance1.selectSingleNode("ds_main_list2_clod") != null) { // 처방목록이 조회된 상태임.
- var selectedRdoItem = ds_send_clod.getColumn(0, "srchflag");
- if (selectedRdoItem == "" || selectedRdoItem == "-") { // 전체
- ds_hidden_base_list2_clod.setColumn( 0, "ioflag","");
- } else {
- ds_hidden_base_list2_clod.setColumn( 0, "ioflag","ioflag = '"+selectedRdoItem+"'");
- }
- fGetSelectedOrderData(); // 검색구분(입원_외래), 보험유형, 등록번호 필터링 적용
- }
- }
- function grp_biz_grp_ordsrch_cmb_clodinsukind_onitemclick(obj:Combo, e:ListBoxClickEventInfo) {
- if (instance1.selectSingleNode("ds_main_list2_clod") != null) { // 처방목록이 조회된 상태임.
- var selectedCmbItem = ds_send_clod.getColumn(0, "insukind");
- if (selectedCmbItem == "" || selectedCmbItem == "-") { // 전체
- ds_hidden_base_list2_clod.setColumn( 0, "insukind","");
- } else {
- ds_hidden_base_list2_clod.setColumn( 0, "insukind","insukind = '"+selectedCmbItem+"'");
- }
- fGetSelectedOrderData(); // 검색구분(입원_외래), 보험유형, 등록번호 필터링 적용
- }
- }
- function grp_biz_grp_ordsrch_ipt_pid_onlbuttonup(obj:MaskEdit, e:MouseEventInfo) {
- var ipt_pid = ds_send_clod.getColumn(0, "pid");
- if (grp_biz.grp_ordsrch.ipt_pid) {
- ds_hidden_sppmc02500_cond.setColumn( 0, "srchcond", "1"); // 검색조건 : 등록번호로 설정
- ds_hidden_sppmc02500_cond.setColumn( 0, "pid", grp_biz.grp_ordsrch.ipt_pid);
- } else {
- ds_hidden_sppmc02500_cond.clearData(); ds_hidden_sppmc02500_cond.addRow();
- }
- frmf_modal("SPPMC02500", "SPPMC02500", "ds_hidden_sppmc02500_cond""-"ds_send"", "", "1", "150", "150", "", "", "", "", "", "M");
- var srch_pid = ds_main_patinfo_patinfolist.getColumn(0, "pid");
- if (srch_pid) { // SPPMC02500_환자조회 화면에서 조회한 경우임
- ds_main_patinfo_patinfolist.clearData(); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
- dsf_makeValue( ds_main_patinfo, "patinfolist", "string", "" ); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
- ds_send_clod.setColumn( 0, "pid", srch_pid);
- }
- //model.refresh();
- }
- function grp_biz_grp_ordsrch_ipt_pid_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo) {
- var pid = ds_send_clod.getColumn(0, "pid");
- // if (pid != "" && pid.length < 8) {
- // ds_send_clod.setColumn( 0, "pid", pid.getLeftPad(8, "0")); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
- //
- //model.refresh();
- // }
- if (instance1.selectSingleNode("ds_main_list2_clod") != null) { // 처방목록이 조회된 상태임.
- var inputPid = ds_send_clod.getColumn(0, "pid");
- if (inputPid == "" || inputPid == "-") { // 전체
- ds_hidden_base_list2_clod.setColumn( 0, "pid","");
- } else {
- ds_hidden_base_list2_clod.setColumn( 0, "pid","pid = '" + pid + "'");
- }
- fGetSelectedOrderData(); // 검색구분(입원_외래), 보험유형, 등록번호 필터링 적용
- }
- }
- function grp_biz_grp_ordsrch_ipt_pid_onkeydown(obj:MaskEdit, e:KeyEventInfo) {
- if (event.keyCode == "13") { // Enter 입력 시에
- obj.updateToDataset(); // (tfHelper.js) 현재 인풋값 노드 반영
- if (instance1.selectSingleNode("ds_main_list2_clod") != null) { // 처방목록이 조회된 상태임.
- var pid = ds_send_clod.getColumn(0, "pid");
- if (pid == "") {
- ds_hidden_base_list2_clod.setColumn( 0, "pid","");
- } else {
- // if (pid.length < 8) {
- // ds_send_clod.setColumn( 0, "pid", pid.getLeftPad(8, "0")); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
- //
- //model.refresh();
- // }
- ds_hidden_base_list2_clod.setColumn( 0, "pid","pid = '" + ds_send_clod.getColumn(0, "pid") + "'");
- }
- fGetSelectedOrderData(); // 검색구분(입원_외래), 보험유형, 등록번호 필터링 적용
- }
- }
- }
- function grp_biz_grp_ordsrch_btn_ordsrch_onclick(obj:Button, e:ClickEventInfo) {
- fGetOrdHistList("N"); // 처방목록 "조회" 버튼을 누르면 처방 테이블에서 해당 수가코드를 가진 처방을 조회한다.
- }
- function grp_biz_grd_clodhist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- var row = grp_biz.grd_clodhist.row;
- var ioflag = ds_main_list2_clod.getColumn(row, "ioflag"));
- if (ioflag == "I") {
- frmf_setParameter("smpid20300_auth", "11100000");
- frmf_modal("SMPID20300", "SMPID20300", "ds_main_list2_clod["+ row +"]_clamym""-"ds_send_item1_clbs_clamym"", "", "1", "10", "10", "", "", "", "", "", "M"); // SMPID20300_입원사후심사관리.xrw
- }
- else if (ioflag == "O") {
- frmf_setParameter("smpid20500_auth", "11100000");
- frmf_modal("SMPID20500", "SMPID20500", "ds_main_list2_clod["+ row +"]_clamym""-"ds_send_item1_clbs_clamym"", "", "1", "10", "10", "", "", "", "", "", "M"); // SMPID20500_외래사후심사관리.xrw
- }
- }
- function grp_biz_grd_clodhist_onentercell {
- if (grp_biz.grd_clodhist.colType(grp_biz.grd_clodhist.col) == "input") {
- grp_biz.grd_clodhist.editCell();
- }
- }
- function grp_biz_grd_clodhist_oncopy {
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
- function grp_biz_btn_batupdt_onclick(obj:Button, e:ClickEventInfo) {
- alert("업무프로세스 협의후 진행예정");
- /*
- var send = getGridUpdateData(grp_biz.grd_clodhist);
- if (send) {
- ds_send.setColumn( 0, "updt", send);
- // submit("TXPID21201");
- var oParam = {};
- oParam.id = "TXPID21201";
- oParam.service = "aftjudgapp.CdBatUpdt";
- oParam.method = "reqSetOrderCalcScorCd";
- oParam.inds = "updt=ds_";
- oParam.outds = "ds_=clod";
- oParam.async = false;
- oParam.callback = "cf_TXPID21201";
- tranf_submit(oParam);
- /*
- function cf_TXPID21201(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TXPID21201(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TXPID21201") > -1
- arErrorCode.pop("TXPID21201") < 0
- */
- if (ds_hidden_base_list2_clod.getColumn(0, "refresh") == "Y") {
- grp_biz.grd_clodhist.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- ds_send.setColumn( 0, "updt", "");
- grp_biz.grp_ordsrch.btn_ordsrch.dispatch("DOMActivate"); // ds_send_clod.setColumn( 0, "offset", "0"); 으로 다시 조회함
- }
- } else {
- sysf_messageBox("일괄수정할 처방 목록이", "I004"); ///일괄수정할 처방 목록이 없습니다
- }
- */
- }
- function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo) {
- if (grp_biz.grd_clodhist.rows > 1) {
- // var isSave = false;
- // for (var i = grp_biz.grd_clodhist.fixedRows; i < grp_biz.grd_clodhist.rows; i ++ ) {
- // if (grp_biz.grd_clodhist.rowHidden(i) == false) {
- // isSave = true;
- // i = grp_biz.grd_clodhist.rows;
- // }
- // }
- // if (isSave == false) {
- // sysf_messageBox("처방 필터를 변경하세요. 엑셀저장할 처방이", "I004"); ///처방 필터를 변경하세요. 엑셀저장할 처방이 없습니다.
- // return;
- // }
- var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
- grdf_exportExcel(grp_biz.grd_clodhist, "Sheet1", fileName, false, "" , 'user' , true);
- }
- } else {
- sysf_messageBox("엑셀저장할 처방이", "I004"); ///엑셀저장할 처방이 없습니다.
- }
- }
- function grp_btn_btn_init_onclick(obj:Button, e:ClickEventInfo) {
- fInitializeAll();
- }
- function grp_btn_btn_nextpage_onclick(obj:Button, e:ClickEventInfo) {
- if (grp_biz.grd_clodhist.rows > 1) {
- fGetOrdHistList("Y"); // 처방목록 "조회" 버튼을 누르면 처방 테이블에서 해당 수가코드를 가진 처방을 조회한다.
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|