123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIS01600" position="absolute 0 0 1197 761" titletext="사후일괄 상병입력" oninit="SMPIS01600_oninit" onload="SMPIS01600_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 22 1190 757" id="group2" anchor="all">
- <Layouts>
- <Layout>
- <Div position="absolute 0 1 1190 98" align="align:center top;" id="group4" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static text="청구년월" position="absolute 5 7 81 24" id="caption5" class="search_name" anchor="default"/>
- <Combo position="absolute 162 7 220 26" id="cmb_clamdgfrom" class="combo_search" innerdataset="@ds_init_clamdglist" datacolumn="clamdgnm" codecolumn="clamdgcd" anchor="default" onitemchanged="group2_group4_cmb_clamdgfrom_onitemchanged"/>
- <Static text="진료과" position="absolute 234 30 299 47" id="caption6" class="search_name" anchor="default"/>
- <Combo position="absolute 315 30 400 49" id="combo2" class="combo_search" innerdataset="@ds_init_tmp_orddeptcdlist" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <Shape position="absolute 1108 35 1114 77" linetype="vertical" id="line2" class="line_4" anchor="top right"/>
- <Button position="absolute 1125 42 1181 64" id="button1" class="btn1" taborder="2" text="조회" anchor="top right" onclick="group2_group4_button1_onclick"/>
- <Static text="내원유형" position="absolute 5 30 81 47" id="caption9" class="search_name" anchor="default"/>
- <Combo position="absolute 85 30 160 49" id="rdo_ioflag" class="combo_search" codecolumn="value" datacolumn="label" anchor="default" innerdataset="@ds_rdo_ioflag" onitemchanged="group2_group4_rdo_ioflag_onitemchanged"/>
- <Edit position="absolute 500 7 585 26" id="ipt_code" class="input_search" anchor="default" inputmode="upper"/>
- <Static text="청구구분" position="absolute 234 7 310 24" id="caption11" class="search_name" anchor="default"/>
- <Combo position="absolute 315 7 400 26" id="cmb_clamflag" class="combo_search" innerdataset="@ds_init_P0155list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Static text="보험유형" position="absolute 810 7 886 24" id="caption13" class="search_name" anchor="default"/>
- <Edit readonly="true" position="absolute 988 7 1008 26" id="opt_insukind" class="output_search" anchor="default"/>
- <Combo position="absolute 888 7 983 26" id="cmb_insukind" class="combo_search" innerdataset="@ds_init_P0008list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Static text="수가코드" position="absolute 424 7 500 24" id="cp_code" class="search_name" anchor="default"/>
- <Edit position="absolute 688 7 773 26" id="ipt_edicd" class="input_search" anchor="default" ontextchanged="group2_group4_ipt_edicd_ontextchanged" inputmode="upper"/>
- <Static text="EDI코드" position="absolute 614 7 690 24" id="cp_edicd" class="search_name" anchor="default"/>
- <Static text="상병조회선택" position="absolute 67 75 169 92" id="caption3" class="search_name" anchor="default"/>
- <Button position="absolute 911 72 991 94" id="button4" class="btn1" taborder="2" text="일괄입력" anchor="default" onclick="group2_group4_button4_onclick"/>
- <Combo position="absolute 500 29 585 48" id="combo3" class="combo_search" codecolumn="value" datacolumn="label" anchor="default" innerdataset="@ds_cmb_combo3"/>
- <Static text="처방구분" position="absolute 424 29 500 46" id="caption7" class="search_name" anchor="default"/>
- <Combo position="absolute 84 53 163 72" id="cmb_judgrid" class="combo_default" innerdataset="@ds_init_U0001list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Static text="심사자" position="absolute 6 53 92 70" id="caption17" class="search_name" anchor="default" onclick="group2_group4_caption17_onclick"/>
- <Edit position="absolute 592 73 677 92" id="ipt_diagcd" taborder="5" anchor="default" onkeydown="group2_group4_ipt_diagcd_onkeydown" inputmode="upper"/>
- <Edit position="absolute 679 73 909 92" id="ipt_diagnm" enable="false" anchor="default"/>
- <Radio position="absolute 168 70 453 93" id="rdo_delgb" columncount="3" codecolumn="value" datacolumn="label" anchor="default" innerdataset="@ds_rdo_delgb" onitemchanged="group2_group4_rdo_delgb_onitemchanged"/>
- <Button position="absolute 993 72 1097 94" id="btn_psave" class="btn4" visible="false" text="자동상병저장" anchor="default" onclick="group2_group4_btn_psave_onclick"/>
- <Static text="적용상병코드" position="absolute 486 75 588 92" id="caption4" class="search_name" anchor="default"/>
- <Edit position="absolute 887 28 930 47" id="ipt_fromdiagcd" taborder="5" anchor="default" onkeydown="group2_group4_ipt_fromdiagcd_onkeydown" ontextchanged="group2_group4_ipt_fromdiagcd_ontextchanged" inputmode="upper"/>
- <Edit position="absolute 945 28 988 47" id="ipt_todiagcd" taborder="5" anchor="default" onkeydown="group2_group4_ipt_todiagcd_onkeydown" inputmode="upper"/>
- <Static text="상병코드" position="absolute 811 28 887 45" id="caption8" class="search_name" anchor="default"/>
- <Combo position="absolute 688 28 773 47" id="cmb_judgendyn" class="combo_search" innerdataset="@ds_init_P0151list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Static text="심사상태" position="absolute 614 28 690 45" id="caption10" class="search_name" anchor="default"/>
- <Static text="~" position="absolute 932 31 947 46" id="caption14" anchor="default"/>
- <Static text="~" position="absolute 1042 32 1057 47" id="caption15" anchor="default"/>
- <Edit position="absolute 997 28 1040 47" id="ipt_fromdiagcd2" taborder="5" anchor="default" oneditclick="group2_group4_ipt_fromdiagcd2_oneditclick" ontextchanged="group2_group4_ipt_fromdiagcd2_ontextchanged" inputmode="upper"/>
- <Edit position="absolute 1055 28 1098 47" id="ipt_todiagcd2" taborder="5" anchor="default" onkeydown="group2_group4_ipt_todiagcd2_onkeydown" ontextchanged="group2_group4_ipt_todiagcd2_ontextchanged" inputmode="upper"/>
- <Static text="|" position="absolute 989 31 1004 46" id="caption16" anchor="default"/>
- <cp_monthCal id="ipt_clamymfrom" titletext="monthCalendar" taborder="6" scrollbars="none" position="absolute 85 6 161 30" anchor="default"/>
- <Button id="btn" taborder="7" class="icon_search" position="absolute 585 8 601 27" anchor="default" onclick="group2_group4_btn_onclick"/>
- <Button id="btn1" taborder="8" class="icon_search" position="absolute 774 7 790 26" anchor="default" onclick="group2_group4_btn1_onclick"/>
- <Static id="caption00" text="진료분야" class="search_name" position="absolute 233 53 319 70"/>
- <Combo id="combo6" taborder="9" innerdataset="ds_init_P0291list" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 314 53 423 72"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="환자 리스트" position="absolute 0 103 100 124" id="caption12" class="tit_2" anchor="default"/>
- <Button position="absolute 1121 136 1185 155" id="button2" class="btn2" text="엑셀저장" anchor="default"/>
- <Grid position="absolute 0 121 1190 713" id="grd_outjudg" class="datagrid2" binddataset="ds_main_calcorderlist" anchor="all" oncellclick="group2_grd_outjudg_oncellclick" cellsizingtype="col" cellmovingtype="col" cellclickbound="cell" onlbuttonup="group2_grd_outjudg_onlbuttonup" selecttype="multirow" onheadclick="group2_grd_outjudg_onheadclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="30"/>
- <Column size="48"/>
- <Column size="46"/>
- <Column size="21"/>
- <Column size="22"/>
- <Column size="30"/>
- <Column size="51"/>
- <Column size="22"/>
- <Column size="25"/>
- <Column size="90"/>
- <Column size="66"/>
- <Column size="121"/>
- <Column size="48"/>
- <Column size="78"/>
- <Column size="130"/>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="58"/>
- <Column size="100"/>
- <Column size="103"/>
- <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="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="36"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="31"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="67"/>
- <Column size="45"/>
- <Column size="30"/>
- <Column size="36"/>
- <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"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="19" band="head"/>
- <Row size="16" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="순번" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="등록번호" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="성명" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="나 이" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="성 별" taborder="undefined"/>
- <Cell col="6" rowspan="2" text="내원 유형" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="청구월" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="유 형" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="보 조" taborder="undefined"/>
- <Cell col="10" rowspan="2" text="청구과" taborder="undefined"/>
- <Cell col="11" rowspan="2" text="주상병" taborder="undefined"/>
- <Cell col="12" rowspan="2" text="주상병명" taborder="undefined"/>
- <Cell col="13" displaytype="normal" edittype="normal" text="R/O" tooltiptext="R/O"/>
- <Cell col="14" rowspan="2" text="적용상병" taborder="undefined"/>
- <Cell col="15" rowspan="2" text="적용상병명" taborder="undefined"/>
- <Cell col="16" text="특정내역주석"/>
- <Cell col="17" displaytype="normal" edittype="normal" text="제외" taborder="undefined" tooltiptext="제외"/>
- <Cell col="18" rowspan="2" text="심사상태" taborder="undefined"/>
- <Cell col="19" rowspan="2" text="처방코드" taborder="undefined"/>
- <Cell col="20" rowspan="2" text="EDI코드" taborder="undefined"/>
- <Cell col="21" rowspan="2" text="한글명" taborder="undefined"/>
- <Cell col="22" text="줄번호"/>
- <Cell col="23" text="단가"/>
- <Cell col="24" text="수량"/>
- <Cell col="25" text="횟수"/>
- <Cell col="26" text="일수"/>
- <Cell col="27" text="총투여량"/>
- <Cell col="28" text="금액"/>
- <Cell col="29" rowspan="2" text="입원일자" taborder="undefined"/>
- <Cell col="30" rowspan="2" text="유형시작일" taborder="undefined"/>
- <Cell col="31" rowspan="2" text="종료일" taborder="undefined"/>
- <Cell col="32" text="처방의"/>
- <Cell col="33" rowspan="2" text="심사 결정" taborder="undefined"/>
- <Cell col="34" text="삭감투여량"/>
- <Cell col="35" text="삭감횟수"/>
- <Cell col="36" text="삭감일수"/>
- <Cell col="37" text="총투삭감량"/>
- <Cell col="38" rowspan="2" text="원외" taborder="undefined"/>
- <Cell col="39" text="급 비"/>
- <Cell col="40" rowspan="2" text="심사자" taborder="undefined"/>
- <Cell col="41" rowspan="2" text="접수번호" taborder="undefined"/>
- <Cell col="42" rowspan="2" text="명일련" taborder="undefined"/>
- <Cell col="43" rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="44" rowspan="2" text="진료의" taborder="undefined"/>
- <Cell col="45" rowspan="2" text="구분" taborder="undefined"/>
- <Cell col="46" rowspan="2" text="차수" taborder="undefined"/>
- <Cell col="48" text="원외처방구분"/>
- <Cell col="49" text="caption1"/>
- <Cell col="50" text="caption2"/>
- <Cell col="51" text="caption3"/>
- <Cell col="52" text="caption4"/>
- <Cell col="53" text="caption5"/>
- <Cell col="54" text="caption6"/>
- <Cell col="55" text="caption7"/>
- <Cell col="56" text="caption8"/>
- <Cell col="57" text="caption9"/>
- <Cell col="58" text="caption10"/>
- <Cell col="59" text="caption11"/>
- <Cell col="60" text="caption12"/>
- <Cell col="61" text="caption13"/>
- <Cell row="1" col="13" displaytype="checkbox" edittype="checkbox"/>
- <Cell row="1" col="16"/>
- <Cell row="1" col="17" displaytype="checkbox" edittype="checkbox"/>
- <Cell row="1" col="22"/>
- <Cell row="1" col="23"/>
- <Cell row="1" col="24"/>
- <Cell row="1" col="25"/>
- <Cell row="1" col="26"/>
- <Cell row="1" col="27"/>
- <Cell row="1" col="28"/>
- <Cell row="1" col="32"/>
- <Cell row="1" col="34"/>
- <Cell row="1" col="35"/>
- <Cell row="1" col="36"/>
- <Cell row="1" col="37"/>
- <Cell row="1" col="39"/>
- <Cell row="1" col="47"/>
- <Cell row="1" col="48"/>
- <Cell row="1" col="49"/>
- <Cell row="1" col="50"/>
- <Cell row="1" col="51"/>
- <Cell row="1" col="52"/>
- <Cell row="1" col="53"/>
- <Cell row="1" col="54"/>
- <Cell row="1" col="55"/>
- <Cell row="1" col="56"/>
- <Cell row="1" col="57"/>
- <Cell row="1" col="58"/>
- <Cell row="1" col="59"/>
- <Cell row="1" col="60"/>
- <Cell row="1" col="61"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:rowno"/>
- <Cell col="2" displaytype="text" edittype="text" style="align:center;background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:pid"/>
- <Cell col="3" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:hngnm"/>
- <Cell col="4" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:age"/>
- <Cell col="5" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:gndr"/>
- <Cell col="6" displaytype="combo" edittype="combo" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:ioflag" combodataset="ds_rdo_ioflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="7" displaytype="date" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:clamym" mask="yyyy-MM"/>
- <Cell col="8" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:insukind"/>
- <Cell col="9" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:suppkind"/>
- <Cell col="10" style="align:left middle;background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:clamdeptcd"/>
- <Cell col="11" style="align:left middle;background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:diagcd2"/>
- <Cell col="12" style="align:left top;background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:diagnm2"/>
- <Cell col="13" displaytype="checkbox" edittype="checkbox" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:diagkindcd" expr="expr:diagkindcd == 'R' || diagkindcd == 'Y' || diagkindcd == '1' ? 1 : 0"/>
- <Cell col="14" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:diagcd"/>
- <Cell col="15" style="align:left middle;background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:diagnm"/>
- <Cell col="16" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:spclspec" enable="false"/>
- <Cell col="17" displaytype="checkbox" edittype="checkbox" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:chk" expr="expr:chk == "Y" || chk == "1" ? 1 : 0"/>
- <Cell col="18" displaytype="combo" edittype="combo" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:judgendyn" combodataset="ds_init_P0151list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="19" style="align:left middle;background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:snglcalcscorcd"/>
- <Cell col="20" style="align:left middle;background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:edicd"/>
- <Cell col="21" style="align:left middle;background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:calchngnm"/>
- <Cell col="22" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:edilnno"/>
- <Cell col="23" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:unitcost" mask="#,###" enable="false"/>
- <Cell col="24" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:drugqty" mask="#,###.00" enable="false"/>
- <Cell col="25" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:tims" mask="#,###" enable="false"/>
- <Cell col="26" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:dayno" mask="#,###" enable="false"/>
- <Cell col="27" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:totdrugqty" mask="#,###.00" enable="false"/>
- <Cell col="28" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:amt" mask="#,###" enable="false"/>
- <Cell col="29" displaytype="date" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:indd" mask="yyyy-MM-dd"/>
- <Cell col="30" displaytype="date" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:cretfromdd" mask="yyyy-MM-dd"/>
- <Cell col="31" displaytype="date" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:crettodd" mask="yyyy-MM-dd"/>
- <Cell col="32" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:clamdrid"/>
- <Cell col="33" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:judgyn"/>
- <Cell col="34" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:cutdrugqty" mask="#,###.00" enable="false"/>
- <Cell col="35" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:cuttims" mask="#,###"/>
- <Cell col="36" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:cutdayno" mask="#,###"/>
- <Cell col="37" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:totcutqty" mask="#,###.00"/>
- <Cell col="38" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:oprcp"/>
- <Cell col="39" displaytype="combo" edittype="combo" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:payflag" enable="false"/>
- <Cell col="40" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:judgrnm"/>
- <Cell col="41" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:acptno"/>
- <Cell col="42" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:docuseqno"/>
- <Cell col="43" style="align:left middle;background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:orddeptcd"/>
- <Cell col="44" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:orddrnm"/>
- <Cell col="45" displaytype="combo" edittype="combo" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:clamflagcd" combodataset="ds_init_P0155list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="46" style="background:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');background2:EXPR(diagcnt > '1' ? '#00ffff' : '#ffffff');" text="bind:clamdg"/>
- <Cell col="47" text="bind:edicdflag"/>
- <Cell col="48" text="bind:clodseqno"/>
- <Cell col="49" text="bind:pidsn"/>
- <Cell col="50" text="bind:mpsno"/>
- <Cell col="51" text="bind:mpsflag"/>
- <Cell col="52" text="bind:workflag"/>
- <Cell col="53" text="bind:clamdeptcode"/>
- <Cell col="54" text="bind:ordfromdd"/>
- <Cell col="55" text="bind:execdd"/>
- <Cell col="56" displaytype="checkbox" edittype="checkbox" text="bind:chk2"/>
- <Cell col="57" text="bind:diagcnt"/>
- <Cell col="58" text="bind:fromdiagcd"/>
- <Cell col="59" text="bind:todiagcd"/>
- <Cell col="60" text="bind:fromdiagcd2"/>
- <Cell col="61" text="bind:todiagcd2"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="~" position="absolute 10 175 25 195" id="caption2" visible="false" anchor="default"/>
- <Combo position="absolute 25 195 75 214" id="cmb_clamdgto" class="combo_search" visible="false" innerdataset="ds_init_cmb_clamdgto" datacolumn="clamdgnm" codecolumn="clamdgcd" anchor="default"/>
- <Button position="absolute 1110 101 1189 120" id="btn_excelsave" class="btn7" text="엑셀저장" anchor="top right" onclick="group2_btn_excelsave_onclick"/>
- <Button position="absolute 1022 101 1108 120" id="button8" class="btn2" text="심사화면보기" anchor="top right" onclick="group2_button8_onclick"/>
- <cp_monthCal id="ipt_clamymto" titletext="monthCalendar" taborder="1" scrollbars="none" position="absolute 25 173 97 199" visible="false" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 993 95 1049 117" id="button3" class="btn4" text="저장" onclick="button3_onclick"/>
- <Button position="absolute 1110 737 1190 759" id="button18" class="btn4" text="환경저장" onclick="button18_onclick" anchor="right bottom"/>
- <Static id="caption1" text="사후일괄 상병입력" class="tit_1" position="absolute 0 0 224 23"/>
- <Button id="button00" taborder="1" text="환경초기화" onclick="button00_onclick" class="btn4" position="absolute 1016 737 1108 759" anchor="right bottom"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clamflag" type="STRING" size="256"/>
- <Column id="clamym" type="STRING" size="256"/>
- <Column id="clamymfrom" type="STRING" size="256"/>
- <Column id="clamdgfrom" type="STRING" size="256"/>
- <Column id="clamymto" type="STRING" size="256"/>
- <Column id="clamdgto" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="clamdeptid" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="code" type="STRING" size="256"/>
- <Column id="patunitsrch" type="STRING" size="256"/>
- <Column id="cutonly" type="STRING" size="256"/>
- <Column id="codecond" type="STRING" size="256"/>
- <Column id="cancer" type="STRING" size="256"/>
- <Column id="large" type="STRING" size="256"/>
- <Column id="middle" type="STRING" size="256"/>
- <Column id="small" type="STRING" size="256"/>
- <Column id="judgrid" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="trustinstcd" type="STRING" size="256"/>
- <Column id="clamcutlist" type="STRING" size="256"/>
- <Column id="spclcd" type="STRING" size="256"/>
- <Column id="mpsflag" type="STRING" size="256"/>
- <Column id="judgrid" type="STRING" size="256"/>
- <Column id="workflag" type="STRING" size="256"/>
- <Column id="clamym" type="STRING" size="256"/>
- <Column id="clamdg" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pidsn" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="delgb" type="STRING" size="256"/>
- <Column id="fromdiagcd" type="STRING" size="256"/>
- <Column id="todiagcd" type="STRING" size="256"/>
- <Column id="judgendyn" type="STRING" size="256"/>
- <Column id="fromdiagcd2" type="STRING" size="256"/>
- <Column id="todiagcd2" type="STRING" size="256"/>
- <Column id="ordflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="ordfildcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="clamflag"/>
- <Col id="clamym"/>
- <Col id="clamymfrom"/>
- <Col id="clamdgfrom"/>
- <Col id="clamymto"/>
- <Col id="clamdgto"/>
- <Col id="insukind"/>
- <Col id="ioflag"/>
- <Col id="clamdeptid"/>
- <Col id="orddeptcd"/>
- <Col id="orddrid"/>
- <Col id="code"/>
- <Col id="patunitsrch"/>
- <Col id="cutonly"/>
- <Col id="codecond"/>
- <Col id="cancer"/>
- <Col id="large"/>
- <Col id="middle"/>
- <Col id="small"/>
- <Col id="judgrid"/>
- <Col id="edicd"/>
- <Col id="trustinstcd"/>
- <Col id="clamcutlist"/>
- <Col id="spclcd">JX999</Col>
- <Col id="mpsflag">A</Col>
- <Col id="judgrid"/>
- <Col id="workflag"/>
- <Col id="clamym"/>
- <Col id="clamdg"/>
- <Col id="pid"/>
- <Col id="pidsn"/>
- <Col id="ioflag"/>
- <Col id="diagcd"/>
- <Col id="diagnm"/>
- <Col id="delgb">A</Col>
- <Col id="fromdiagcd"/>
- <Col id="todiagcd"/>
- <Col id="judgendyn"/>
- <Col id="fromdiagcd2"/>
- <Col id="todiagcd2"/>
- <Col id="ordflag">J</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_rdo_delgb" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">일괄적용대상</Col>
- <Col id="value">A</Col>
- </Row>
- <Row>
- <Col id="label">일괄삭제대상</Col>
- <Col id="value">D</Col>
- </Row>
- <Row>
- <Col id="label">자동상병대상</Col>
- <Col id="value">P</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_clamdglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clamdgnm" type="STRING" size="256"/>
- <Column id="clamdgcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0155list" 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_init_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_init_U0001list" 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_rdo_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">전체</Col>
- <Col id="value">A</Col>
- </Row>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_tmp_orddeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_combo3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">전체</Col>
- <Col id="value">A</Col>
- </Row>
- <Row>
- <Col id="label">원내처방</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">원외처방</Col>
- <Col id="value">O</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0151list" 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_calcorderlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_calcorderlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="rowno" type="STRING" size="256" sumtext="순번"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
- <Column id="clamym" type="STRING" size="256" sumtext="청구월"/>
- <Column id="clamflagcd" type="STRING" size="256" sumtext="구분"/>
- <Column id="clamdg" type="STRING" size="256" sumtext="차수"/>
- <Column id="insukind" type="STRING" size="256" sumtext="유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조"/>
- <Column id="clamdeptcd" type="STRING" size="256" sumtext="청구과"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="주상병명"/>
- <Column id="diagcd" type="STRING" size="256" sumtext="주상병"/>
- <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
- <Column id="docuseqno" type="STRING" size="256" sumtext="명일련"/>
- <Column id="edilnno" type="STRING" size="256" sumtext="줄번호"/>
- <Column id="snglcalcscorcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="edicd" type="STRING" size="256" sumtext="EDI코드"/>
- <Column id="calchngnm" type="STRING" size="256" sumtext="한글명"/>
- <Column id="unitcost" type="STRING" size="256" sumtext="단가"/>
- <Column id="drugqty" type="STRING" size="256" sumtext="수량"/>
- <Column id="tims" type="STRING" size="256" sumtext="횟수"/>
- <Column id="dayno" type="STRING" size="256" sumtext="일수"/>
- <Column id="totdrugqty" type="STRING" size="256" sumtext="총투여량"/>
- <Column id="amt" type="STRING" size="256" sumtext="금액"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretfromdd" type="STRING" size="256" sumtext="유형시작일"/>
- <Column id="crettodd" type="STRING" size="256" sumtext="종료일"/>
- <Column id="clamdrid" type="STRING" size="256" sumtext="처방의"/>
- <Column id="judgyn" type="STRING" size="256" sumtext="심사결정"/>
- <Column id="cutdrugqty" type="STRING" size="256" sumtext="삭감투여량"/>
- <Column id="cuttims" type="STRING" size="256" sumtext="삭감횟수"/>
- <Column id="cutdayno" type="STRING" size="256" sumtext="삭감일수"/>
- <Column id="totcutqty" type="STRING" size="256" sumtext="총투삭감량"/>
- <Column id="oprcp" type="STRING" size="256" sumtext="원내외"/>
- <Column id="payflag" type="STRING" size="256" sumtext="급비구분"/>
- <Column id="judgrnm" type="STRING" size="256" sumtext="심사자"/>
- <Column id="edicdflag" type="STRING" size="256" sumtext="EDI코드구분"/>
- <Column id="clodseqno" type="STRING" size="256" sumtext="사후심사처방일련번호"/>
- <Column id="spclspec" type="STRING" size="256" sumtext="특정내역"/>
- <Column id="spclcd" type="STRING" size="256" sumtext="특정코드"/>
- <Column id="pidsn" type="STRING" size="256" sumtext="등록번호순번"/>
- <Column id="mpsno" type="STRING" size="256" sumtext="원외처방전번호"/>
- <Column id="mpsflag" type="STRING" size="256" sumtext="원외처방구분"/>
- <Column id="orddd" type="STRING" size="256" sumtext="처방일"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="execdd" type="STRING" size="256" sumtext="실시일자"/>
- <Column id="judgendyn" type="STRING" size="256" sumtext="심사상태"/>
- <Column id="workflag" type="STRING" size="256" sumtext="심사상태"/>
- <Column id="clamdeptcode" type="STRING" size="256" sumtext="심사상태"/>
- <Column id="ordfromdd" type="STRING" size="256" sumtext="ordfromdd"/>
- <Column id="a" type="STRING" size="256" sumtext="ordfromdd"/>
- <Column id="gndr" type="STRING" size="256" sumtext="성별"/>
- <Column id="diagcnt" type="STRING" size="256" sumtext="성별"/>
- <Column id="diagkindcd" type="STRING" size="256" sumtext="성별"/>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="diagcd2" type="STRING" size="256"/>
- <Column id="diagnm2" type="STRING" size="256"/>
- <Column id="fromdiagcd" type="STRING" size="256"/>
- <Column id="todiagcd" type="STRING" size="256"/>
- <Column id="fromdiagcd2" type="STRING" size="256"/>
- <Column id="todiagcd2" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_UserInfo" 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>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_smpid20300" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="workflag" type="STRING" size="256"/>
- <Column id="clamym" type="STRING" size="256"/>
- <Column id="clamdg" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pidsn" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_targetdiag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="diagcdref" type="STRING" size="256"/>
- <Column id="diagnmref" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_sppiz00400" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basedd" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="selectedrdodiagkind" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_rslt_sppiz00400" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagfromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="diagtodd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="diagcd" type="STRING" size="256" sumtext="ICO10코드"/>
- <Column id="diaghngnm" type="STRING" size="256" sumtext="한글명"/>
- <Column id="diagengnm" type="STRING" size="256" sumtext="영문명"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_listval_uuee" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="compsnm" type="STRING" size="256"/>
- <Column id="compscnts" type="STRING" size="256"/>
- <Column id="compssizecnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="compsnm">grd_outjudg</Col>
- <Col id="compscnts">^rowno^pid^hngnm^age^gndr^ioflag^clamym^insukind^suppkind^clamdeptcd^diagcd2^diagnm2^diagkindcd^diagcd^diagnm^spclspec^chk^judgendyn^sngcalcscorcd^edicd^calchngnm^edilnno^unitcost^drugqty^tims^dayno^totdrugqty^amt^indd^cretfromdd^crettodd^clamdrid^judgyn^cutdrugqty^cuttims^cutdayno^totcutqty^oprcp^payflag^judgrnm^acptno^docuseqno^orddeptcd^orddrnm^clamflagcd^clamdg^edicdflag^clodseqno^pidsn^mpsno^mpsflag^workflag^clamdeptcode^ordfromdd^execdd^chk2^diagcnt^fromdiagcd^todiagcd^fromdiagcd2^todiagcd2</Col>
- <Col id="compssizecnts">21^30^48^46^21^22^30^51^22^25^90^66^121^48^78^130^0^50^58^100^103^100^0^0^0^0^0^0^0^70^70^70^0^36^0^0^0^0^31^0^55^100^100^67^45^30^36^0^0^0^0^0^0^0^0^0^0^0^0^0^0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_mech" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_edicd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_smpid20500" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="oldPid" type="STRING" size="256"/>
- <Column id="judgendyn" type="STRING" size="256"/>
- <Column id="clamdg" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pidsn" type="STRING" size="256"/>
- <Column id="popupcallyn" type="STRING" size="256"/>
- <Column id="selectedRow" type="STRING" size="256"/>
- <Column id="reselect" type="STRING" size="256"/>
- <Column id="workflag" type="STRING" size="256"/>
- <Column id="cutprcpyn" type="STRING" size="256"/>
- <Column id="docuseqno" type="STRING" size="256"/>
- <Column id="judgrid" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="clamym" type="STRING" size="256"/>
- <Column id="tootpopupyn" type="STRING" size="256"/>
- <Column id="cutviewyn" type="STRING" size="256"/>
- <Column id="ordfildcd" type="STRING" size="256"/>
- <Column id="clamflagcd" type="STRING" size="256"/>
- <Column id="insukindcd" type="STRING" size="256"/>
- <Column id="ordfromdd" type="STRING" size="256"/>
- <Column id="judgenddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_smpic00200" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <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="srchdrugcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_picmmech" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_send_afjudg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clamym" type="STRING" size="256"/>
- <Column id="clamdg" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pidsn" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="workflag" type="STRING" size="256"/>
- <Column id="judgstat" type="STRING" size="256"/>
- <Column id="cutprcpyn" type="STRING" size="256"/>
- <Column id="selectedRow" type="STRING" size="256"/>
- <Column id="judgenddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="popupcallyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0291list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.group4.ipt_clamymfrom" propid="text" datasetid="ds_send" columnid="clamymfrom"/>
- <BindItem id="item1" compid="group2.group4.cmb_clamdgfrom" propid="value" datasetid="ds_send" columnid="clamdgfrom"/>
- <BindItem id="item2" compid="group2.group4.cmb_clamflag" propid="value" datasetid="ds_send" columnid="clamflag"/>
- <BindItem id="item3" compid="group2.group4.ipt_code" propid="value" datasetid="ds_send" columnid="code"/>
- <BindItem id="item4" compid="group2.group4.ipt_edicd" propid="value" datasetid="ds_send" columnid="edicd"/>
- <BindItem id="item5" compid="group2.group4.cmb_insukind" propid="value" datasetid="ds_send" columnid="insukind"/>
- <BindItem id="item6" compid="group2.group4.opt_insukind" propid="value" datasetid="ds_send" columnid="insukind"/>
- <BindItem id="item7" compid="group2.group4.cmb_judgrid" propid="value" datasetid="ds_send" columnid="judgrid"/>
- <BindItem id="item8" compid="group2.group4.rdo_ioflag" propid="value" datasetid="ds_send" columnid="ioflag"/>
- <BindItem id="item9" compid="group2.group4.combo2" propid="value" datasetid="ds_send" columnid="orddeptcd"/>
- <BindItem id="item10" compid="group2.group4.combo3" propid="value" datasetid="ds_send" columnid="mpsflag"/>
- <BindItem id="item11" compid="group2.group4.cmb_judgendyn" propid="value" datasetid="ds_send" columnid="judgendyn"/>
- <BindItem id="item12" compid="group2.group4.ipt_fromdiagcd" propid="value" datasetid="ds_send" columnid="fromdiagcd"/>
- <BindItem id="item13" compid="group2.group4.ipt_todiagcd" propid="value" datasetid="ds_send" columnid="todiagcd"/>
- <BindItem id="item14" compid="group2.group4.ipt_fromdiagcd2" propid="value" datasetid="ds_send" columnid="fromdiagcd2"/>
- <BindItem id="item15" compid="group2.group4.ipt_todiagcd2" propid="value" datasetid="ds_send" columnid="todiagcd2"/>
- <BindItem id="item16" compid="group2.group4.rdo_delgb" propid="value" datasetid="ds_send" columnid="delgb"/>
- <BindItem id="item17" compid="group2.group4.ipt_diagcd" propid="value" datasetid="ds_send" columnid="diagcd"/>
- <BindItem id="item18" compid="group2.group4.ipt_diagnm" propid="value" datasetid="ds_send" columnid="diagnm"/>
- <BindItem id="item19" compid="group2.ipt_clamymto" propid="text" datasetid="ds_send" columnid="clamymto"/>
- <BindItem id="item20" compid="group2.cmb_clamdgto" propid="value" datasetid="ds_send" columnid="clamdgto"/>
- <BindItem id="item21" compid="group2.group4.combo6" propid="value" datasetid="ds_send" columnid="ordfildcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM001.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- include "pam_aftjudgstatxp::SMPIS01700.xjs";
- include "pam_bfjudgxp::pam_grd.xjs";
- function SMPIS01600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPIS01600_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_GetUuee("ds_send_listval_uuee", "ds_hidden_listval_uuee",frmf_getScreenID(), "cf_Uuee_"+frmf_getScreenID());
-
- fInitialize();
- }
- function cf_Uuee_SMPIS01600(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- ds_hidden_listval_uuee.filterstr = "compsnm == 'grd_outjudg'";
-
- var grd_name = ds_hidden_listval_uuee.getColumn(0,"compsnm");
- var refdata = ds_hidden_listval_uuee.getColumn(0,"compscnts");
- var sizedata = ds_hidden_listval_uuee.getColumn(0,"compssizecnts");
-
- ds_hidden_listval_uuee.filterstr = "";
-
- if (!utlf_isNull(grd_name))
- {
- grdf_SetOrderInfoOfCol_format(group2.grd_outjudg, refdata, sizedata);
- }
-
- grdf_initGrid(group2.grd_outjudg);
- grdf_setRowTypeIcon(group2.grd_outjudg, 0);
-
- lf_grid_band_left(group2.grd_outjudg, 14);
- }
- function fInitialize()
- {
- ds_main_calcorderlist.clearData();
-
- ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
-
- var oParam = {};
- oParam.id = "TRPIB00603";
- oParam.service = "insubasecdmngtapp.JudgCmt";
- oParam.method = "reqGetJudgRidList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_U0001list=U0001 ds_init_UserInfo=UserInfo";
- oParam.async = false;
- //oParam.callback = "cf_TRPIB00603";
- tranf_submit(oParam);
-
- var arrParam = [{dsNm: "ds_init_P0008list", cdGrpId: "P0008"}
- ,{dsNm: "ds_init_P0155list", cdGrpId: "P0155"}
- ,{dsNm: "ds_init_P0151list", cdGrpId: "P0151"}
- ,{dsNm: "ds_init_P0291list", cdGrpId: "P0291"}]
- appf_getCodeList(arrParam);
-
- pamGetDeptCDDrIDList();
-
- group2.group4.rdo_ioflag.value = "A";
-
- var today = new Date();
- var baseyear = today.getDateFormat("YYYY");
- var basemonth = today.getDateFormat("MM");
- var currentym = baseyear + basemonth;
-
- ds_send.setColumn(0, "clamymfrom", currentym);
- ds_send.setColumn(0, "clamymto", currentym);
-
- group2.group4.ipt_clamymfrom.setData(ds_send.getColumn(0, "clamymfrom"));
- group2.ipt_clamymto.setData(ds_send.getColumn(0, "clamymto"));
-
- group2.group4.ipt_clamymfrom.setCallEvent("fn_Cal");
- var clamym = group2.group4.ipt_clamymfrom.getData();
- var clamtoym = group2.ipt_clamymto.getData();
-
- var ioflag = ds_send.getColumn(0, "ioflag");
- var insukind = ds_send.getColumn(0, "insukind");
-
- pidfGetClamdg(clamym, clamtoym, ioflag, insukind, "ds_init_clamdglist");
-
- fGetOrdDept();
- fGetClamDept();
-
- frmf_addComboItem("group2.group4.cmb_insukind","보험+급여","T","below");
- frmf_addComboItem("group2.group4.cmb_clamdgfrom","전체","","above");
-
- fDiagcdChange();
-
- group2.group4.cmb_insukind.value = "T";
- }
- function fn_Cal()
- {
- var clamym = group2.group4.ipt_clamymfrom.getData();
-
- ds_send.setColumn(0, "clamymfrom", clamym);
- ds_send.setColumn(0, "clamymto", clamym);
- var clamtoym = ds_send.getColumn(0, "clamymto");
- var ioflag = ds_send.getColumn(0, "ioflag");
- var insukind = ds_send.getColumn(0, "insukind");
-
- pidfGetClamdg(clamym, clamtoym, ioflag, insukind, "ds_init_clamdglist");
- frmf_addComboItem("group2.group4.cmb_clamdgfrom","전체","","above");
-
- group2.group4.cmb_clamdgfrom.value = "";
-
- fChkClamym();
- }
- function fChkClamym()
- {
- var fromym = ds_send.getColumn(0, "clamymfrom");
- var toym = ds_send.getColumn(0, "clamymto");
-
- if ( fromym != toym )
- {
- group2.group4.cmb_clamdgfrom.value = "";
- group2.cmb_clamdgto.value = "";
- group2.group4.cmb_clamdgfrom.enable = false;
- group2.cmb_clamdgto.enable = false;
- }
- else
- {
- group2.group4.cmb_clamdgfrom.enable = true;
- group2.cmb_clamdgto.enable = true;
- group2.group4.cmb_clamdgfrom.index = 0;
- group2.cmb_clamdgto.index = 0;
- }
- }
- function fGetOrdDept()
- {
- var oParam = {};
- oParam.id = "TRPID20309";
- oParam.service = "aftjudgapp.InAftJudgTrgtMan";
- oParam.method = "reqGetDeptCDDrID";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_tmp_orddeptcdlist=orddeptcd ds_init_tmp_orddeptcdlist2=orddeptcd2 ds_init_tmp_orddridlist=orddrid ds_init_tmp_orddridlist2=orddrid2";
- oParam.async = false;
- //oParam.callback = "cf_TRPID20309";
- tranf_submit(oParam);
- }
- function fGetClamDept()
- {
- var oParam = {};
- oParam.id = "TRPID20201";
- oParam.service = "aftjudgapp.InAftJudgTrgtMan";
- oParam.method = "reqGetInitComCd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_judgrid=judgrid ds_init_suppkind=suppkind ds_init_tmp_orddridlist=orddrid ds_init_tmp_orddridlist2=orddrid2 ds_init_clamdept=clamdept ds_init_tmp_orddeptcdlist=orddeptcd ds_init_tmp_orddeptcdlist2=orddeptcd2 ds_init_item3=item3 ds_init_clamdept=clamdg ds_init_aftjudgerr=aftjudgerr ds_init_uuee=uuee";
- oParam.async = false;
- //oParam.callback = "cf_TRPID20201";
- tranf_submit(oParam);
- }
- function fDiagcdChange()
- {
- if (group2.group4.rdo_delgb.value == "A")
- {
- button3.visible = true;
- group2.group4.btn_psave.visible = false;
- group2.group4.caption8.visible = true;
- group2.group4.ipt_fromdiagcd.visible = true;
- group2.group4.ipt_todiagcd.visible = true;
- group2.group4.caption14.visible = true;
- group2.group4.caption4.visible = true;
- group2.group4.ipt_diagcd.visible = true;
- group2.group4.ipt_diagnm.visible = true;
- group2.group4.button4.visible = true;
-
- group2.grd_outjudg.setFormatColProperty(group2.grd_outjudg.getBindCellIndex("body","snglcalcscorcd"), "size", 100);
- group2.grd_outjudg.setFormatColProperty(group2.grd_outjudg.getBindCellIndex("body","diagcd"), "size", 130);
- group2.grd_outjudg.setFormatColProperty(group2.grd_outjudg.getBindCellIndex("body","diagnm"), "size", 130);
- group2.group4.caption16.visible = true;
- group2.group4.ipt_fromdiagcd2.visible = true;
- group2.group4.caption15.visible = true;
- group2.group4.ipt_todiagcd2.visible = true;
- }
- else if (group2.group4.rdo_delgb.value == "D")
- {
- button3.visible = true;
- group2.group4.btn_psave.visible = false;
- group2.group4.caption8.visible = true;
- group2.group4.ipt_fromdiagcd.visible = true;
- group2.group4.ipt_todiagcd.visible = true;
- group2.group4.caption14.visible = true;
- group2.group4.caption4.visible = false;
- group2.group4.ipt_diagcd.visible = false;
- group2.group4.ipt_diagnm.visible = false;
- group2.group4.button4.visible = true;
-
- group2.grd_outjudg.setFormatColProperty(group2.grd_outjudg.getBindCellIndex("body","snglcalcscorcd"), "size", 100);
- group2.grd_outjudg.setFormatColProperty(group2.grd_outjudg.getBindCellIndex("body","diagcd"), "size", 0);
- group2.grd_outjudg.setFormatColProperty(group2.grd_outjudg.getBindCellIndex("body","diagnm"), "size", 0);
-
- group2.group4.caption16.visible = true;
- group2.group4.ipt_fromdiagcd2.visible = true;
- group2.group4.caption15.visible = true;
- group2.group4.ipt_todiagcd2.visible = true;
- }
- else
- {
- ds_send.setColumn(0, "codecond", "");
- button3.visible = false;
- group2.group4.btn_psave.visible = true;
- group2.group4.caption8.visible = false;
- group2.group4.ipt_fromdiagcd.visible = false;
- group2.group4.ipt_todiagcd.visible = false;
- group2.group4.caption14.visible = false;
- group2.group4.caption4.visible = false;
- group2.group4.ipt_diagcd.visible = false;
- group2.group4.ipt_diagnm.visible = false;
- group2.group4.button4.visible = false;
-
- group2.grd_outjudg.setFormatColProperty(group2.grd_outjudg.getBindCellIndex("body","snglcalcscorcd"), "size", 0);
- group2.grd_outjudg.setFormatColProperty(group2.grd_outjudg.getBindCellIndex("body","diagcd"), "size", 78);
- group2.grd_outjudg.setFormatColProperty(group2.grd_outjudg.getBindCellIndex("body","diagnm"), "size", 130);
-
- group2.group4.caption16.visible = false;
- group2.group4.ipt_fromdiagcd2.visible = false;
- group2.group4.caption15.visible = false;
- group2.group4.ipt_todiagcd2.visible = false;
- }
-
- // ds_main_calcorderlist.setColumn(0, "diagcd", group2.group4.rdo_delgb.label+ "상병코드");
- // ds_main_calcorderlist.setColumn(0, "diagnm", group2.group4.rdo_delgb.label+ "상병명");
-
- group2.grd_outjudg.setCellProperty("Head", 14, "text", group2.group4.rdo_delgb.text + "상병코드");
- group2.grd_outjudg.setCellProperty("Head", 15, "text", group2.group4.rdo_delgb.text + "상병명");
-
- ds_main_calcorderlist.updatecontrol = true;
- }
- function group2_group4_rdo_delgb_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fDiagcdChange();
- group2_group4_button1_onclick();
- }
- //조회
- function group2_group4_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_send.getColumn(0, "delgb") == "A" && utlf_isNull(ds_send.getColumn(0, "code")) && utlf_isNull(ds_send.getColumn(0, "edicd")))
- {
- sysf_messageBox("수가코드나 EDI코드중 하나는 필수입니다. ", "");
- group2.group4.ipt_code.setFocus();
- return;
- }
- if(ds_send.getColumn(0, "delgb") == "P")
- {
- if(group2.group4.rdo_ioflag.value == "A")
- {
- sysf_messageBox("내원유형 선택은 필수입니다. ", "");
- group2.group4.rdo_ioflag.setFocus();
- return ;
- }
- if(utlf_isNull(group2.group4.cmb_judgendyn.value))
- {
- sysf_messageBox("심사상태 선택은 필수입니다. ", "");
- group2.group4.cmb_judgendyn.setFocus();
- return ;
- }
- }
-
- ds_send.setColumn(0, "codecond", "calc");
- ds_send.setColumn(0, "trustinstcd", "N");
-
- fSearch();
- }
- function fSearch()
- {
- var chk_clamymfrom = ds_send.getColumn(0, "clamymfrom");
- var chk_clamymto = ds_send.getColumn(0, "clamymto");
- var ipt_code = ds_send.getColumn(0, "code");
-
- chk_clamymfrom = String(chk_clamymfrom).substr(0,6);
- chk_clamymto = String(chk_clamymto).substr(0,6);
-
- ds_send.setColumn(0, "clamymfrom", chk_clamymfrom);
- ds_send.setColumn(0, "clamymto", chk_clamymto);
-
- if (utlf_isNull(chk_clamymfrom) || utlf_isNull(chk_clamymto))
- {
- sysf_messageBox("청구년월은 ", "I003");
- group2.group4.ipt_clamymfrom.setFocus();
- return;
- }
-
- ds_main_calcorderlist.clearData();
-
- var oParam = {};
- oParam.id = "TRPIS00600";
- oParam.service = "aftjudgstatapp.DiagClam";
- oParam.method = "reqGetClamListWithCldi";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_calcorderlist=clamcutlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPIS00600";
- tranf_submit(oParam);
- group2.grd_outjudg.setCellProperty("Head", group2.grd_outjudg.getBindCellIndex("Body", "diagkindcd"), "displaytype", "checkbox");
- group2.grd_outjudg.setCellProperty("Head", group2.grd_outjudg.getBindCellIndex("Body", "diagkindcd"), "edittype", "checkbox");
-
- if(!utlf_isNull(ds_main_calcorderlist.lookupExpr("diagcnt > '1'", "diagcnt")))
- {
- sysf_messageBox("주상병이 중복인 환자가 있습니다","I");
- }
- ds_main_calcorderlist.updatecontrol = false;
-
-
- for(var i = 0; i < ds_main_calcorderlist.rowcount; i++)
- {
- ds_main_calcorderlist.setColumn(i, "diagcd2", ds_main_calcorderlist.getColumn(i, "diagcd"));
- ds_main_calcorderlist.setColumn(i, "diagcd", "");
- ds_main_calcorderlist.setColumn(i, "diagnm2", ds_main_calcorderlist.getColumn(i, "diagnm"));
- ds_main_calcorderlist.setColumn(i, "diagnm", "");
- }
-
- for(var i = 0; i < ds_main_calcorderlist.rowcount; i++)
- {
- ds_main_calcorderlist.setColumn(i, "chk", "N");
- }
-
- ds_main_calcorderlist.updatecontrol = true;
-
- fDiagcdChange();
- }
- function group2_group4_cmb_clamdgfrom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_send.setColumn(0, "clamdgto", ds_send.getColumn(0, "clamdgfrom"));
- }
- //환경저장
- function button18_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_SaveOrderInfoOfCol(group2.grd_outjudg, ds_hidden_listval_uuee, frmf_getScreenID(), "cf_Cnfm_"+frmf_getScreenID());
- }
- function cf_Cnfm_SMPIS01600(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- sysf_messageBox("사용자 환경 저장이","I002");
- }
- //엑셀저장
- function group2_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ds_main_calcorderlist.rowcount > 0)
- {
- grdf_exportExcel(group2.grd_outjudg, "exportExcel", "see");
- }
- else
- {
- sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- }
- //심사화면보기
- function group2_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- var row = ds_main_calcorderlist.rowposition;
-
- if(row > -1)
- {
- if(ds_main_calcorderlist.getColumn(row, "ioflag") == "I")
- {
- var preDocuWindow = frmf_getChildWindow("SMPID20300");
- }
- else
- {
- var preDocuWindow = frmf_getChildWindow("SMPID20500");
- }
-
- if(utlf_isNull(preDocuWindow))
- {
- ds_send_send_afjudg.setColumn(0, "workflag", "12");
- ds_send_send_afjudg.setColumn(0, "clamym", ds_main_calcorderlist.getColumn(row, "clamym"));
- ds_send_send_afjudg.setColumn(0, "clamdg", ds_main_calcorderlist.getColumn(row, "clamdg"));
- ds_send_send_afjudg.setColumn(0, "pid", ds_main_calcorderlist.getColumn(row, "pid"));
- ds_send_send_afjudg.setColumn(0, "pidsn", ds_main_calcorderlist.getColumn(row, "pidsn"));
- ds_send_send_afjudg.setColumn(0, "ioflag", ds_main_calcorderlist.getColumn(row, "ioflag"));
- if(ds_main_calcorderlist.getColumn(row, "ioflag") == "I")
- {
- frmf_open("SMPID20300", "SMPID20300", {objDs:ds_send_send_afjudg}, "", "", "", "", "", "", "", "", "", "M");
- }
- else
- {
- frmf_open("SMPID20500", "SMPID20500", {objDs:ds_send_send_afjudg}, "", "", "", "", "", "", "", "", "", "M");
- }
- }
- else
- {
- ds_hidden_smpid20500.setColumn(0, "workflag", "12");
- ds_hidden_smpid20500.setColumn(0, "clamym", ds_main_calcorderlist.getColumn(row, "clamym"));
- ds_hidden_smpid20500.setColumn(0, "clamdg", ds_main_calcorderlist.getColumn(row, "clamdg"));
- ds_hidden_smpid20500.setColumn(0, "pid", ds_main_calcorderlist.getColumn(row, "pid"));
- ds_hidden_smpid20500.setColumn(0, "pidsn", ds_main_calcorderlist.getColumn(row, "pidsn"));
- ds_hidden_smpid20500.setColumn(0, "cutprcpyn", "N");
- preDocuWindow.lf_fGetAftJudgMngt(ds_hidden_smpid20500);
- frmf_setFocusPop("SMPID20500");
- }
- }
- }
- //일괄입력
- function group2_group4_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- group2_group4_button1_onclick();
-
- if (fChangeRow() != false)
- {
- group2_group4_button1_onclick();
-
- for(var i = 0; i < ds_main_calcorderlist.rowcount; i++)
- {
- if(group2.group4.rdo_delgb.value == "A")
- {
- var arrRow = new Array();
- arrRow[0] = i;
- grdf_setStatus(group2.grd_outjudg, "I", arrRow);
- }
- else if(group2.group4.rdo_delgb.value == "D")
- {
- var arrRow = new Array();
- arrRow[0] = i;
- grdf_setStatus(group2.grd_outjudg, "U", arrRow);
- ds_main_calcorderlist.setColumn(i, "fromdiagcd", group2.group4.ipt_fromdiagcd.value);
- ds_main_calcorderlist.setColumn(i, "todiagcd", group2.group4.ipt_todiagcd.value);
- ds_main_calcorderlist.setColumn(i, "fromdiagcd2", group2.group4.ipt_fromdiagcd2.value);
- ds_main_calcorderlist.setColumn(i, "todiagcd2", group2.group4.ipt_fromdiagcd2.value);
- }
- ds_main_calcorderlist.setColumn(i, "diagnm", group2.group4.ipt_diagnm.value);
- ds_main_calcorderlist.setColumn(i, "diagcd", group2.group4.ipt_diagcd.value);
- }
- //
- // grd_outjudg.colHidden(grd_outjudg.colRef("chk")) = false;
- // grd_outjudg.colWidth(grd_outjudg.colRef("chk")) = 50;
- }
- }
- function fChangeRow()
- {
- if (ds_send.getColumn(0, "delgb") == "A")
- {
- if(utlf_isNull(ds_send.getColumn(0, "fromdiagcd")))
- {
- sysf_messageBox("상병시작코드입력은 필수입니다. ", "");
- group2.group4.ipt_fromdiagcd.setFocus();
- return false;
- }
- if(utlf_isNull(ds_send.getColumn(0, "todiagcd")))
- {
- sysf_messageBox("상병종료코드입력은 필수입니다. ", "");
- group2.group4.ipt_todiagcd.setFocus();
- return false;
- }
- if(!utlf_isNull(ds_send.getColumn(0, "fromdiagcd2")) && utlf_isNull(ds_send.getColumn(0, "todiagcd2")))
- {
- sysf_messageBox("상병종료코드입력은 필수입니다. ", "");
- group2.group4.ipt_todiagcd2.setFocus();
- return false;
- }
- if(utlf_isNull(ds_send.getColumn(0, "diagcd")))
- {
- sysf_messageBox("적용상병코드입력은 필수입니다. ", "");
- group2.group4.ipt_diagcd.setFocus();
- return false;
- }
-
- ds_hidden_targetdiag.setColumn(0, "diagcd", group2.group4.ipt_diagcd.value);
- ds_hidden_targetdiag.setColumn(0, "diagcdref", "ds_send");
- ds_hidden_targetdiag.setColumn(0, "diagnmref", "ds_send");
-
- fSearchDiageCode();
-
- if(utlf_isNull(ds_send.getColumn(0, "diagnm")))
- {
- messageBox("올바른 상병코드를 입력해주세요. ", "");
- group2.group4.ipt_diagcd.setFocus();
- return false;
- }
- }
- }
- function group2_group4_ipt_diagcd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if (e.keycode == 13)
- {
- ds_hidden_targetdiag.setColumn(0, "diagcd", obj.value);
- ds_hidden_targetdiag.setColumn(0, "diagcdref", "ds_send");
- ds_hidden_targetdiag.setColumn(0, "diagnmref", "ds_send");
-
- fSearchDiageCode();
-
- ds_send.setColumn(0, "diagcd", ds_rslt_sppiz00400.getColumn(0, "diagcd"));
- ds_send.setColumn(0, "diagnm", ds_rslt_sppiz00400.getColumn(0, "diaghngnm"));
- }
- }
- function fSearchDiageCode()
- {
- var diagcd = ds_hidden_targetdiag.getColumn(0, "diagcd");
- if (diagcd)
- {
- ds_hidden_sppiz00400.clearData();
- ds_hidden_sppiz00400.addRow();
- ds_hidden_sppiz00400.setColumn(0, "basedd", utlf_getCurrentDate());
- ds_hidden_sppiz00400.setColumn(0, "diagcd", diagcd);
- ds_hidden_sppiz00400.setColumn(0, "diagnm", "");
- ds_hidden_sppiz00400.setColumn(0, "selectedrdodiagkind", "1");
-
- var oParam = {};
- oParam.id = "TRPID20306";
- oParam.service = "aftjudgapp.InAftJudg";
- oParam.method = "reqGetSickAndWounded";
- oParam.inds = "req=ds_hidden_sppiz00400";
- oParam.outds = "ds_hidden_sppiz00400=cond ds_rslt_sppiz00400=rslt";
- oParam.async = false;
- //oParam.callback = "cf_TRPID20306";
- tranf_submit(oParam);
-
- var rsltList = ds_rslt_sppiz00400.rowcount;
-
- if (rsltList == 1)
- {
- fSetDiagCdNm();
- }
- else
- {
- fSearchSPPIZ00400();
- }
- }
- else
- {
- fSearchSPPIZ00400();
- }
- }
- function fSearchSPPIZ00400()
- {
- var diagcd = ds_hidden_targetdiag.getColumn(0, "diagcd");
-
- var objArg = new Object();
- objArg.sDiagcd = diagcd;
- objArg.sSelectedrdodiagkind = 3;
- objArg.sSingleFlag = "M";
- var objDs = frmf_modal("SPPIZ00400", "SPPIZ00400", objArg);
- ds_rslt_sppiz00400.copyData(objDs);
- group2.group4.button1.setFocus();
- }
- function fSetDiagCdNm(target_ipt_diagcd, target_ipt_diagnm)
- {
- var diagcd = ds_rslt_sppiz00400.getColumn(0, "diagcd");
- var diaghngnm = ds_rslt_sppiz00400.getColumn(0, "diaghngnm");
- var diagengnm = ds_rslt_sppiz00400.getColumn(0, "diagengnm");
-
- var target_diagcd = ds_hidden_targetdiag.getColumn(0, "diagcdref");
- var target_diagnm = ds_hidden_targetdiag.getColumn(0, "diagnmref");
-
- eval(target_diagcd).setColumn(0, "diagcd", diagcd);
- eval(target_diagnm).setColumn(0, "diagnm", diaghngnm);
- }
- //저장
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( fChangeRow() != false )
- {
- //model.resetInstanceNode("/root/send/clamcutlist");
- if ( sysf_messageBox("","Q002")==6 )
- {
- var update = grdf_getGridUpdateData(group2.grd_outjudg);
- if(update.rowcount == 0)
- {
- sysf_messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
- }
- else
- {
- dsf_setDefaultVal(ds_main_calcorderlist, "diagkindcd:C");
-
- var oParam = {};
- oParam.id = "TRPIS00600";
- oParam.service = "aftjudgstatapp.DiagClam";
- oParam.method = "reqExeClamListWithCldi";
- oParam.inds = "req=ds_main_calcorderlist:U";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TRPIS00600";
- tranf_submit(oParam);
-
- ds_main_calcorderlist.clearData();
-
- group2_group4_button1_onclick();
- }
- }
- }
- }
- //일괄저장
- function group2_group4_btn_psave_onclick(obj:Button, e:ClickEventInfo)
- {
- //model.resetInstanceNode("/root/send/clamcutlist");
- var update = grdf_getGridUpdateData(group2.grd_outjudg);
-
- if(update.rowcount == 0)
- {
- sysf_messageBox("업데이트 정보가 없습니다.", "I");
- }
- else
- {
- if ( sysf_messageBox("","Q002")==6 )
- {
- var update = grd_outjudg.getUpdateDataAll('i');
-
- var oParam = {};
- oParam.id = "TRPIS00600";
- oParam.service = "aftjudgstatapp.DiagClam";
- oParam.method = "reqExeAutoDiagLists";
- oParam.inds = "req=ds_main_calcorderlist:U";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TRPIS00600";
- tranf_submit(oParam);
- }
- }
- }
- function group2_grd_outjudg_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var rowno = new Array();
- if(group2.grd_outjudg.getBindCellIndex("Body", "diagkindcd") == obj.currentcell)
- {
- if(ds_main_calcorderlist.getColumn(e.row, "diagkindcd") == "R" && ds_main_calcorderlist.getColumn(e.row, "chk") == "N")
- {
- rowno[0] = e.row;
- grdf_setStatus(group2.grd_outjudg, "I", rowno);
- }
- else if(ds_main_calcorderlist.getColumn(e.row, "diagkindcd") == "R" && ds_main_calcorderlist.getColumn(e.row, "chk") == "Y")
- {
- rowno[0] = e.row;
- grdf_setStatus(group2.grd_outjudg, "D", rowno);
- }
- else if(ds_main_calcorderlist.getColumn(e.row, "diagkindcd") == "C" && ds_main_calcorderlist.getColumn(e.row, "chk") == "Y")
- {
- rowno[0] = e.row;
- grdf_setStatus(group2.grd_outjudg, "D", rowno);
- }
- else
- {
- rowno[0] = e.row;
- grdf_setStatus(group2.grd_outjudg, "I", rowno);
- }
- }
-
- }
- function group2_group4_btn_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetSnglcalcscorcd();
- }
- function fGetSnglcalcscorcd()
- {
- ds_temp_picmmech.clearData();
-
- ds_hidden_smpic00200.setColumn(0, "con1_dd", utlf_getCurrentDate());
- ds_hidden_smpic00200.setColumn(0, "con2_gsflag", "S");
- ds_hidden_smpic00200.setColumn(0, "con3_search1", "hngnm");
- ds_hidden_smpic00200.setColumn(0, "con4_search2", "");
- ds_hidden_smpic00200.setColumn(0, "con5_insu", "insu");
- ds_hidden_smpic00200.setColumn(0, "srchdrugcd", group2.group4.ipt_code.value);
-
- frmf_setParameter("openflag", "hngnm");
-
- var objArg = new Object();
- objArg.arg_ds_temp = ds_hidden_smpic00200;
- frmf_modal("SMPIC00200", "SMPIC00200", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- if (ds_temp_picmmech.rowcount == 0)
- {
- sysf_messageBox("수가조회 화면에서 선택한 결과가", "I004");
- return;
- }
-
- if(ds_temp_picmmech.getColumn(0, "picmmech_ordinptflag") != "A")
- {
- sysf_messageBox("처방이 불가한 코드", "E008"); ///처방이 불가한 코드입니다.
- return;
- }
-
- ds_send.setColumn(0, "code", ds_temp_picmmech.getColumn(0, "picmmech_calcscorcd"));
- }
- function group2_group4_btn1_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetEdicd();
- }
- function fGetEdicd()
- {
- ds_temp_picmmech.clearData();
-
- ds_hidden_smpic00200.setColumn(0, "con1_dd", utlf_getCurrentDate());
- ds_hidden_smpic00200.setColumn(0, "con2_gsflag", "S");
- ds_hidden_smpic00200.setColumn(0, "con3_search1", "hngnm");
- ds_hidden_smpic00200.setColumn(0, "con4_search2", "");
- ds_hidden_smpic00200.setColumn(0, "con5_insu", "insu");
- ds_hidden_smpic00200.setColumn(0, "srchdrugcd", group2.group4.ipt_edicd.value);
-
- frmf_setParameter("openflag", "hngnm");
-
- var objArg = new Object();
- objArg.arg_ds_temp = ds_hidden_smpic00200;
-
- frmf_modal("SMPIC00200", "SMPIC00200", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- if(ds_temp_picmmech.rowcount == 0)
- {
- sysf_messageBox("수가조회 화면에서 선택한 결과가", "I004");
- return;
- }
- ;
-
- if(ds_temp_picmmech.getColumn(0, "picmmech_ordinptflag") != "A")
- {
- sysf_messageBox("처방이 불가한 코드", "E008"); ///처방이 불가한 코드입니다.
- return;
- }
-
- ds_send.setColumn(0, "edicd", ds_temp_picmmech.getColumn(0, "picmmech_insuedicd"));
- }
- function group2_group4_rdo_ioflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fGetOrdDept();
- fGetClamDept();
- }
- function group2_group4_ipt_edicd_ontextchanged(obj:Edit, e:TextChangedEventInfo)
- {
- ds_send.setColumn(0, "code", "");
- }
- function group2_group4_ipt_fromdiagcd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- ds_hidden_targetdiag.setColumn(0, "diagcd", obj.value);
- ds_hidden_targetdiag.setColumn(0, "diagcdref", "ds_send");
- ds_hidden_targetdiag.setColumn(0, "diagnmref", "ds_send");
-
- fSearchDiageCode();
-
- ds_send.setColumn(0, "fromdiagcd", ds_rslt_sppiz00400.getColumn(0, "diagcd"));
- ds_send.setColumn(0, "todiagcd", obj.value);
- }
- }
- function group2_group4_ipt_todiagcd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- ds_hidden_targetdiag.setColumn(0, "diagcd", obj.value);
- ds_hidden_targetdiag.setColumn(0, "diagcdref", "ds_send");
- ds_hidden_targetdiag.setColumn(0, "diagnmref", "ds_send");
-
- fSearchDiageCode();
-
- ds_send.setColumn(0, "todiagcd", ds_rslt_sppiz00400.getColumn(0, "diagcd"));
- }
- }
- function group2_group4_ipt_fromdiagcd2_oneditclick(obj:Edit, e:EditClickEventInfo)
- {
- if(e.keycode == 13)
- {
- ds_hidden_targetdiag.setColumn(0, "diagcd", obj.value);
- ds_hidden_targetdiag.setColumn(0, "diagcdref", "ds_send");
- ds_hidden_targetdiag.setColumn(0, "diagnmref", "ds_send");
-
- fSearchDiageCode();
-
- ds_send.setColumn(0, "fromdiagcd2", ds_rslt_sppiz00400.getColumn(0, "diagcd"));
- ds_send.setColumn(0, "todiagcd2", obj.value);
- }
- }
- function group2_group4_ipt_todiagcd2_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- ds_hidden_targetdiag.setColumn(0, "diagcd", obj.value);
- ds_hidden_targetdiag.setColumn(0, "diagcdref", "ds_send");
- ds_hidden_targetdiag.setColumn(0, "diagnmref", "ds_send");
-
- fSearchDiageCode();
-
- ds_send.setColumn(0, "todiagcd2", ds_rslt_sppiz00400.getColumn(0, "diagcd"));
- }
- }
- function group2_group4_ipt_fromdiagcd2_ontextchanged(obj:Edit, e:TextChangedEventInfo)
- {
- group2.group4.ipt_todiagcd2.value = obj.value;
- }
- function ds_main_calcorderlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chk")
- {
- obj.setColumn(e.row, "chk", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
-
- ds_main_calcorderlist.updatecontrol = false;
- if(e.columnid == "diagkindcd")
- {
- obj.setColumn(e.row, "diagkindcd", (e.newvalue == "R" || e.newvalue == 1) ? "R" : "C");
-
- if(ds_main_calcorderlist.getRowType(0) == 4)
- {
- var arrRow = new Array();
- arrRow[0] = 0;
- grdf_setStatus(group2.grd_outjudg, "", arrRow);
- }
- }
- }
- function group2_grd_outjudg_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(obj.currentcell == group2.grd_outjudg.getBindCellIndex("Body", "chk"))
- {
- var rows = grdf_getSelectedRows(group2.grd_outjudg);
-
- if(rows.length > 1)
- {
- for(var i = 0; i < rows.length; i++)
- {
- var sel = rows[i];
-
- ds_main_calcorderlist.setColumn(sel, "chk", "Y");
-
- var arrRow = new Array();
- arrRow[0] = sel;
- grdf_setStatus(group2.grd_outjudg, "D", arrRow);
- }
- }
- else
- {
- if(ds_main_calcorderlist.getColumn(e.row, "chk") == "Y")
- {
- var arrRow = new Array();
- arrRow[0] = e.row;
- grdf_setStatus(group2.grd_outjudg, "D", arrRow);
- }
- else
- {
- var arrRow = new Array();
- arrRow[0] = e.row;
- grdf_setStatus(group2.grd_outjudg, "I", arrRow);
- }
- }
- }
- }
- function group2_grd_outjudg_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.cell == group2.grd_outjudg.getBindCellIndex("Body", "diagkindcd"))
- {
- if(ds_main_calcorderlist.getRowType(e.row) == 1)
- {
- var arrRow = new Array();
- arrRow[0] = e.row;
- grdf_setStatus(group2.grd_outjudg, "", arrRow);
- }
- }
- }
- function group2_group4_caption17_onclick(obj:Static, e:ClickEventInfo)
- {
-
- }
- function button00_onclick(obj:Button, e:ClickEventInfo)
- {
- var msg = sysf_messageBox("환경저장 데이터가 모두 삭제 됩니다.","Q003");
- if (msg == 6) { // 6세미만 요율을 적용한다.
- grdf_DelUuee(group2.grd_outjudg, ds_hidden_listval_uuee, frmf_getScreenID(), "cf_Cnfm_"+frmf_getScreenID());
- group2.grd_outjudg.formatid = "default";
-
- grdf_GetUuee("ds_send_listval_uuee", "ds_hidden_listval_uuee",frmf_getScreenID(), "cf_Uuee_"+frmf_getScreenID());
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|