12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMRI01700" position="absolute 0 0 1200 798" titletext="미비기록관리" oninit="SMMRI01700_oninit" onload="SMMRI01700_onload" onkeydown="SMMRI01700_onkeydown">
- <Layouts>
- <Layout>
- <Div id="Div01" taborder="3" position="absolute 397 25 1195 114" class="div_SA2" anchor="left top right"/>
- <Div id="Div00" taborder="2" position="absolute 0 25 394 114" class="div_SA"/>
- <Static text="미비기록관리" position="absolute 0 0 189 25" id="cap_title" class="tit_1"/>
- <Static text="전달사항 From의사" position="absolute 600 726 739 742" id="caption10" class="tit_2" anchor="left bottom"/>
- <TextArea position="absolute 600 743 1194 794" id="textarea1" wordwrap="word" onsetfocus="textarea1_onsetfocus" anchor="left bottom"/>
- <TextArea position="absolute 0 743 591 794" id="textarea2" wordwrap="word" onsetfocus="textarea2_onsetfocus" anchor="left bottom" autoselect="true"/>
- <Static text="전달사항 From의무기록실" position="absolute 0 726 178 744" id="caption9" class="tit_2" anchor="left bottom"/>
- <Button position="absolute 918 121 982 140" id="btn_unprepcert" class="btn2" text="미비추가" onclick="btn_unprepcert_onclick" anchor="top right"/>
- <Button position="absolute 1099 121 1150 140" id="btn_ex" class="btn7" text="엑셀" onclick="btn_ex_onclick" anchor="top right"/>
- <Button position="absolute 983 121 1047 140" id="btn_del" class="btn2" text="미비삭제" onclick="btn_del_onclick" anchor="top right"/>
- <Button position="absolute 1151 121 1193 140" id="btn_save" class="btn5" enable="true" text="저장" onclick="btn_save_onclick" anchor="top right"/>
- <Shape position="absolute 0 140 1195 146" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
- <Button position="absolute 149 40 181 56" id="btn_patreq" class="icon_search" visible="true" text="" onclick="btn_patreq_onclick"/>
- <Combo position="absolute 571 93 649 112" id="cmb_inoutddflag" enable="false" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">dsch</Col>
- <Col id="datacolumn">퇴원일자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">indd</Col>
- <Col id="datacolumn">입원일자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">orddd</Col>
- <Col id="datacolumn">진료일자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit position="absolute 775 27 852 46" id="ipt_unprepdrnm" onkeydown="ipt_unprepdrnm_onkeydown"/>
- <Edit position="absolute 89 39 154 58" id="ipt_pid" onkeydown="ipt_pid_onkeydown" autoselect="true" class="input_search"/>
- <Static text="~" position="absolute 750 93 765 108" id="caption1"/>
- <Static text="재원구분 :" position="absolute 407 49 493 66" id="caption2" class="search_name"/>
- <Radio position="absolute 494 49 693 69" id="rdo_inoutflag" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_inoutflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">D</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>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">응급실</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="내원정보" position="absolute 13 63 91 80" id="caption3" class="search_name"/>
- <Combo position="absolute 855 27 925 46" id="combo2" codecolumn="codecolumn" datacolumn="datacolumn">
- <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">St</Col>
- <Col id="datacolumn">스태프</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">레지던트</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">인턴</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="미비구분 :" position="absolute 407 71 493 88" id="caption4" class="search_name"/>
- <Static text="등록번호 :" position="absolute 13 39 91 56" id="caption5" class="search_name"/>
- <Calendar position="absolute 763 93 861 112" id="ipt_todd" enable="false" autoselect="true"/>
- <Static text="조회구분 :" position="absolute 406 93 492 110" id="cap_reqflag" class="search_name"/>
- <Static text="의사구분 :" position="absolute 295 25 384 42" id="caption6" class="search_name" visible="false"/>
- <Static text="의사 :" position="absolute 718 28 772 45" id="caption8" class="search_name"/>
- <Combo position="absolute 541 27 648 46" id="cmb_orddept" class="combo_search" innerdataset="@ds_init_orddept" datacolumn="depthngnm" codecolumn="deptcd" onitemchanged="cmb_orddept_onitemchanged"/>
- <Radio position="absolute 404 27 540 48" id="rdo_deptflag" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">unprep</Col>
- <Col id="datacolumn">미비과</Col>
- </Row>
- <Row>
- <Col id="codecolumn">dsch</Col>
- <Col id="datacolumn">재(퇴)원과</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape position="absolute 1034 30 1040 106" linetype="vertical" id="line5" anchor="top right" class="line_4"/>
- <Calendar position="absolute 651 93 749 112" id="ipt_fromdd" enable="false" autoselect="true"/>
- <Static text="미비기록리스트 if(chk_merge.visible == false) { chk_merge.visible = true; return; } if(chk_merge.visible == true) { chk_merge.visible = false; return; } " position="absolute 1 124 113 142" id="caption20" class="tit_2" onclick="caption20_onclick"/>
- <Edit position="absolute 177 39 247 58" id="input1" class="input_search"/>
- <Combo position="absolute 12 85 382 104" id="cmb_chosinfo" innerdataset="@ds_main_patinfo_pathistlist" datacolumn="chosinfo" codecolumn="rowcnt" onitemchanged="cmb_chosinfo_onitemchanged"/>
- <Button position="absolute 327 44 383 66" id="btn_requnpreppatbase" class="btn1" text="조회" onclick="btn_requnpreppatbase_onclick"/>
- <Shape position="absolute 315 35 321 75" linetype="vertical" id="line2" class="line_4"/>
- <Grid position="absolute 0 145 1195 724" id="grd_unprepreclist" binddataset="ds_main_unpreprecinfo_unprepreclist" onexpanddown="grd_unprepreclist_onexpanddown" onexpandup="grd_unprepreclist_onexpandup" oncellclick="grd_unprepreclist_oncellclick" onheadclick="grd_unprepreclist_onheadclick" oncelldblclick="grd_unprepreclist_oncelldblclick" selecttype="multirow" autoenter="key" onrbuttonup="grd_unprepreclist_onrbuttonup" onrbuttondown="grd_unprepreclist_onrbuttondown" anchor="all" onkeyup="grd_unprepreclist_onkeyup" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="24"/>
- <Column size="30"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="30"/>
- <Column size="64"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="58"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="35"/>
- <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="130"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="54"/>
- <Column size="72"/>
- <Column size="0"/>
- <Column size="152"/>
- <Column size="125"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="49"/>
- <Column size="75"/>
- <Column size="120"/>
- <Column size="75"/>
- <Column size="120"/>
- <Column size="74"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="status"/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3" text="delyn"/>
- <Cell col="4"/>
- <Cell col="5" text="등록번호"/>
- <Cell col="6" text="cretno"/>
- <Cell col="7" text="환자명"/>
- <Cell col="8" text="기록순번"/>
- <Cell col="9" text="dschdeptcd"/>
- <Cell col="10" text="퇴원과"/>
- <Cell col="11" text="미비번호"/>
- <Cell col="12" text="퇴원일"/>
- <Cell col="13" text="입원일"/>
- <Cell col="14" text="전문의"/>
- <Cell col="15" text="원미비상태"/>
- <Cell col="16" text="사본"/>
- <Cell col="17" text="미비상태"/>
- <Cell col="18" text="직종"/>
- <Cell col="19" text="orgdoctkindflag"/>
- <Cell col="20" text="진료상태"/>
- <Cell col="21" text="미비의사"/>
- <Cell col="22" text="orgunprepdrnm"/>
- <Cell col="23" text="과"/>
- <Cell col="24" text="분과"/>
- <Cell col="25" text="orgdetldeptnm"/>
- <Cell col="26" text="detldeptcd"/>
- <Cell col="27" text="orgdetldeptcd"/>
- <Cell col="28" text="orgunprepdeptnm"/>
- <Cell col="29" text="orddeptcd"/>
- <Cell col="30" text="orgorddeptcd"/>
- <Cell col="31" text="unprepdrid"/>
- <Cell col="32" text="orgunprepdrid"/>
- <Cell col="33" text="formcd"/>
- <Cell col="34" text="서식명"/>
- <Cell col="35" text="oprsrvno"/>
- <Cell col="36" text="StaffSign"/>
- <Cell col="37" text="항목명"/>
- <Cell col="38" text="진료일자"/>
- <Cell col="39" text="unprepitemcd"/>
- <Cell col="40" text="전달사항 From 의무기록실"/>
- <Cell col="41" text="전달사항 From의사"/>
- <Cell col="42" text="의사확인일시"/>
- <Cell col="43" text="srcformcd"/>
- <Cell col="44" text="담당의"/>
- <Cell col="45" text="최초생성자"/>
- <Cell col="46" text="최초생성일시"/>
- <Cell col="47" text="최종수정자"/>
- <Cell col="48" text="최종수정일시"/>
- <Cell col="49" text="경과시간"/>
- <Cell col="50" text="최종삭제자"/>
- <Cell col="51" text="최종삭제자ID"/>
- <Cell col="52" text="최종삭제일시"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="combo" text="bind:status" enable="false"/>
- <Cell col="1" celltype="head" expr="expr:currow + 1"/>
- <Cell col="2" edittype="none" style="background:EXPR(bkcolorcheck);background2:EXPR(bkcolorcheck);" text="bind:check"/>
- <Cell col="3" text="bind:delyn"/>
- <Cell col="4" displaytype="none" edittype="none" text="bind:indschflag"/>
- <Cell col="5" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:pid" suppress="1"/>
- <Cell col="6" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:cretno"/>
- <Cell col="7" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:hngnm" suppress="2"/>
- <Cell col="8" displaytype="text" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:formrecseq" wordwrap="word"/>
- <Cell col="9" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:dschdeptcd"/>
- <Cell col="10" style="align:left;padding:0 2 0 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:dschdeptnm" wordwrap="word" suppress="3"/>
- <Cell col="11" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:unprepno"/>
- <Cell col="12" displaytype="date" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:dschdd" suppress="4" calendardisplaynulltype="none"/>
- <Cell col="13" displaytype="date" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:indd" calendardisplaynulltype="none"/>
- <Cell col="14" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:medispclnm" suppress="5"/>
- <Cell col="15" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgunprepstat"/>
- <Cell col="16" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:sabonyn"/>
- <Cell col="17" displaytype="combo" style="padding:1 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:unprepstat" combodataset="ds_cbo_unprepstat" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="18" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:doctkindflag"/>
- <Cell col="19" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgdoctkindflag"/>
- <Cell col="20" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:drstate"/>
- <Cell col="21" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:unprepdrnm" wordwrap="word"/>
- <Cell col="22" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgunprepdrnm"/>
- <Cell col="23" style="align:left;padding:0 2 0 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:unprepdeptnm"/>
- <Cell col="24" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:detldeptnm"/>
- <Cell col="25" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgdetldeptnm"/>
- <Cell col="26" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:detldeptcd"/>
- <Cell col="27" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgdetldeptcd"/>
- <Cell col="28" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgunprepdeptnm"/>
- <Cell col="29" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orddeptcd"/>
- <Cell col="30" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgorddeptcd"/>
- <Cell col="31" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:unprepdrid"/>
- <Cell col="32" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgunprepdrid"/>
- <Cell col="33" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:formcd"/>
- <Cell col="34" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:formnm" wordwrap="word"/>
- <Cell col="35" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:oprsrvno"/>
- <Cell col="36" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:cosignyn"/>
- <Cell col="37" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:unprepitemnm" wordwrap="word"/>
- <Cell col="38" displaytype="date" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:formrecdd" calendardisplaynulltype="none"/>
- <Cell col="39" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:unprepitemcd"/>
- <Cell col="40" displaytype="text" edittype="expand" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:medirecalertcnts" wordwrap="word" maskchar=" " editautoselect="true" expandshow="show"/>
- <Cell col="41" displaytype="text" edittype="expand" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:dralertcnts" wordwrap="word" expandshow="show"/>
- <Cell col="42" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:drcnfmdt" mask="####-##-## ##:##" maskchar=" "/>
- <Cell col="43" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:srcformcd"/>
- <Cell col="44" style="align:left middle;padding:0 0 0 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:atdoctnm"/>
- <Cell col="45" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:fstrgstrnm"/>
- <Cell col="46" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:fstrgstdt" mask="####-##-## ##:##" maskchar=" "/>
- <Cell col="47" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:lastupdtrnm"/>
- <Cell col="48" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:lastupdtdt" mask="####-##-## ##:##" maskchar=" "/>
- <Cell col="49" displaytype="text" style="align:center middle;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:overchk"/>
- <Cell col="50" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:delusernm"/>
- <Cell col="51" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:deluserid"/>
- <Cell col="52" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:deldt" mask="####-##-## ##:##" maskchar=" "/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1044 33 1124 55" id="btn_requnprepdrbase" class="btn1" text="미비조회" onclick="btn_requnprepdrbase_onclick" anchor="top right"/>
- <Button position="absolute 471 120 535 140" id="button5" class="btn2" text="배치생성" onclick="button5_onclick"/>
- <Edit readonly="true" position="absolute 373 121 407 140" id="opt_formcd" class="output"/>
- <Static text="미비환자수 :" position="absolute 116 122 215 139" id="caption7" class="search_name"/>
- <Edit readonly="true" position="absolute 213 121 247 140" id="opt_pid" class="output"/>
- <Static text="미비기록건수 :" position="absolute 261 122 373 139" id="caption11" class="search_name"/>
- <Button position="absolute 1044 58 1184 80" id="btn_realunprep" class="btn1" text="StaffSign미비조회" onclick="btn_realunprep_onclick" anchor="top right"/>
- <Button position="absolute 728 121 822 140" id="btn_opinfo" class="btn2" text="수술정보조회" onclick="btn_opinfo_onclick" anchor="top right"/>
- <Button position="absolute 823 121 917 140" id="btn_totrec" class="btn2" text="통합기록조회" onclick="btn_totrec_onclick" anchor="top right"/>
- <CheckBox position="absolute 493 92 523 112" id="bool1" truevalue="Y" falsevalue="N" onclick="bool1_onclick"/>
- <Static text="날짜조회" position="absolute 516 93 566 113" id="caption15"/>
- <Button position="absolute 1044 83 1124 105" id="button1" class="btn1" text="전체조회" onclick="button1_onclick" anchor="top right"/>
- <Button position="absolute 441 120 469 140" id="button4" class="icon_right" onclick="button4_onclick"/>
- <Button position="absolute 412 120 440 140" id="button2" class="icon_left" onclick="button2_onclick"/>
- <Button position="absolute 1048 121 1098 140" id="button3" class="btn6" text="출력" onclick="button3_onclick" anchor="top right"/>
- <Grid position="absolute 562 193 1195 682" id="grd_patreclist" visible="false" binddataset="ds_main_patreclist_patreclist" oncellclick="grd_patreclist_oncellclick" onkeydown="grd_patreclist_onkeydown" oncelldblclick="grd_patreclist_oncelldblclick" onheadclick="grd_patreclist_onheadclick" anchor="top right" selecttype="multirow" onrbuttondown="grd_patreclist_onrbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26"/>
- <Column size="0"/>
- <Column size="71"/>
- <Column size="41"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="143"/>
- <Column size="53"/>
- <Column size="62"/>
- <Column size="0"/>
- <Column size="61"/>
- <Column size="0"/>
- <Column size="62"/>
- <Column size="111"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="X"/>
- <Cell col="1" text="formrecseq"/>
- <Cell col="2" text="기록일시"/>
- <Cell col="3" text="시간"/>
- <Cell col="4" text="oprsrvno"/>
- <Cell col="5" text="srcformcd"/>
- <Cell col="6" text="formcd"/>
- <Cell col="7" text="서식명"/>
- <Cell col="8" text="확정"/>
- <Cell col="9" text="StaffSign"/>
- <Cell col="10" text="caption1"/>
- <Cell col="11" text="작성과"/>
- <Cell col="12" text="caption2"/>
- <Cell col="13" text="작성자"/>
- <Cell col="14" text="기록순번"/>
- </Band>
- <Band id="body">
- <Cell displaytype="normal" edittype="none" text="bind:check"/>
- <Cell col="1" text="bind:formrecseq"/>
- <Cell col="2" displaytype="date" text="bind:formrecdd" calendardisplaynulltype="nulltext"/>
- <Cell col="3" displaytype="date" text="bind:formrechm" mask="HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="4" text="bind:oprsrvno"/>
- <Cell col="5" text="bind:srcformcd"/>
- <Cell col="6" text="bind:formcd"/>
- <Cell col="7" style="align:left top;padding:5 2 1 2;" text="bind:formnm" wordwrap="word"/>
- <Cell col="8" text="bind:certyn"/>
- <Cell col="9" text="bind:cosignyn"/>
- <Cell col="10" text="bind:formrecdeptcd"/>
- <Cell col="11" style="align:left top;padding:5 2 1 2;" text="bind:formrecdeptnm" wordwrap="word"/>
- <Cell col="12" text="bind:formrecuserid"/>
- <Cell col="13" text="bind:formrecusernm"/>
- <Cell col="14" displaytype="text" style="align:left middle;padding:0 0 0 2;" text="bind:formrecseq"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 480 315 725 315" id="group2" style="background:snow;">
- <Layouts>
- <Layout>
- <Button position="absolute 149 39 191 58" id="button7" class="btn2" text="확인" anchor="default" onclick="group2_button7_onclick"/>
- <Button position="absolute 194 39 236 58" id="button8" class="btn2" text="취소" anchor="default" onclick="group2_button8_onclick"/>
- <Radio position="absolute 4 19 189 39" id="radio1" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">1개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">2개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">3개월</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="excel화일 생성 기간지정" position="absolute 4 3 222 19" id="caption14" class="tit_2" anchor="default"/>
- <Static text="시작일자 :" position="absolute -1 44 85 61" id="caption13" class="search_name" visible="false" anchor="default"/>
- <Static text="종료일자 :" position="absolute -1 39 85 56" id="caption16" class="search_name" visible="false" anchor="default"/>
- <Calendar position="absolute 89 44 179 63" id="input2" visible="false" anchor="default"/>
- <Calendar position="absolute 89 39 179 58" id="input3" visible="false" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Radio position="absolute 950 26 1023 46" id="radio_detldept" enable="false" visible="false" codecolumn="codecolumn" datacolumn="datacolumn">
- <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>
- </Radio>
- <Combo position="absolute 651 27 713 46" id="cmb_detldept" enable="false" datacolumn="cdnm" codecolumn="cdid"/>
- <CheckBox position="absolute 570 122 670 142" id="chk_merge" visible="false" text="셀머지" truevalue="1" onclick="chk_merge_onclick"/>
- <Grid position="absolute 65 330 460 570" id="grd_medalertlist" visible="false" binddataset="ds_main_medalertinfo_medalertlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="120"/>
- <Column size="250"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="작성일자"/>
- <Cell col="1" text="전달사항 From 의무기록실"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" maskchar=" " calendardisplaynulltype="nulltext"/>
- <Cell col="1" text="bind:medirecalertcnts"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 470 330 865 570" id="grd_dralertlist" visible="false" binddataset="ds_main_dralertinfo_dralertlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="120"/>
- <Column size="250"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="작성일자"/>
- <Cell col="1" text="전달사항 From 의사"/>
- </Band>
- <Band id="body">
- <Cell text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="1" text="bind:dralertcnts"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <cp_checkboxList id="chk_unprepflag" taborder="1" scrollbars="none" position="absolute 493 69 945 89" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <PopupMenu id="pmnmenu1" idcolumn="func" captioncolumn="name" levelcolumn="level" onmenuclick="pmnmenu1_onmenuclick" position="absolute 1216 48 1321 359" style="buttonsize:-1;" innerdataset="@ds_init_popupmenu_menu_item"/>
- <Div position="absolute 870 240 1088 295" id="group3" style="background:#99ccffff;">
- <Layouts>
- <Layout>
- <Static text="미비분과" position="absolute 5 5 59 25" align="align:center middle;" id="caption17" style="font:Dotum,9,bold;"/>
- <Button position="absolute 122 26 164 45" id="button9" class="btn2" text="확인" onclick="group3_button9_onclick"/>
- <Button position="absolute 166 26 208 45" id="button10" class="btn2" text="취소" onclick="group3_button10_onclick"/>
- <Combo position="absolute 64 5 208 24" id="cmb_detldeptcd" datacolumn="cdnm" codecolumn="cdid"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 812 193 1030 248" id="group1" style="background:#99ccffff;">
- <Layouts>
- <Layout>
- <Static text="미비과" position="absolute 5 5 46 25" align="align:center middle;" id="caption12" style="font:Dotum,9,bold;"/>
- <Button position="absolute 122 26 164 45" id="btn_cnfm" class="btn2" text="확인" onclick="group1_btn_cnfm_onclick"/>
- <Button position="absolute 166 26 208 45" id="button6" class="btn2" text="취소" onclick="group1_button6_onclick"/>
- <Combo position="absolute 52 5 208 24" id="combo1" innerdataset="@ds_init_orddept" datacolumn="depthngnm" codecolumn="deptcd"/>
- </Layout>
- </Layouts>
- </Div>
- <Combo id="cmb_formcd" taborder="4" position="absolute 762 50 917 70" index="-1" displaynulltext="미비서식" class="combo_search" innerdataset="@ds_init_cmb_formcd" codecolumn="formcd" datacolumn="formnm" onitemchanged="cmb_formcd_onitemchanged"/>
- <Combo id="cmb_itemcd" taborder="5" position="absolute 923 50 1023 70" displaynulltext="미비아이템" class="combo_search" innerdataset="@ds_init_cmb_itemcd" codecolumn="unprepitemcd" datacolumn="unprepitemnm"/>
- <Static id="caption00" text="미비서식 :" class="search_name" position="absolute 685 51 757 69"/>
- <PopupMenu id="pmn_popupMenu" innerdataset="ds_popupmenu" idcolumn="hardcd" captioncolumn="hardcdnm" levelcolumn="level" onmenuclick="pmn_popupMenu_onmenuclick" position="absolute 1116 193 1194 220"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_unpreprecinfo_unprepreclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_unpreprecinfo_unprepreclist_oncolumnchanged">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="indschflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="unprepstat" type="STRING" size="256"/>
- <Column id="doctkindflag" type="STRING" size="256"/>
- <Column id="drstate" type="STRING" size="256"/>
- <Column id="unprepdrnm" type="STRING" size="256"/>
- <Column id="unprepdeptnm" type="STRING" size="256"/>
- <Column id="formnm" type="STRING" size="256"/>
- <Column id="degnitemnm" type="STRING" size="256"/>
- <Column id="formrecdd" type="STRING" size="256"/>
- <Column id="medirecalertcnts" type="STRING" size="256"/>
- <Column id="drcnfmdt" type="STRING" size="256"/>
- <Column id="dralertcnts" type="STRING" size="256"/>
- <Column id="fstrgstrnm" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="lastupdtrnm" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="overchk" type="STRING" size="256"/>
- <Column id="cosignyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="status"/>
- <Col id="indschflag"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="dschdd"/>
- <Col id="indd"/>
- <Col id="unprepstat"/>
- <Col id="doctkindflag"/>
- <Col id="drstate"/>
- <Col id="unprepdrnm"/>
- <Col id="unprepdeptnm"/>
- <Col id="formnm"/>
- <Col id="degnitemnm"/>
- <Col id="formrecdd"/>
- <Col id="medirecalertcnts"/>
- <Col id="drcnfmdt"/>
- <Col id="dralertcnts"/>
- <Col id="fstrgstrnm"/>
- <Col id="fstrgstdt"/>
- <Col id="lastupdtrnm"/>
- <Col id="lastupdtdt"/>
- <Col id="overchk"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_unpreprecinfo_unprepreccnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="patcnt" type="STRING" size="256"/>
- <Column id="unprepcnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="patcnt"/>
- <Col id="unprepcnt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_unpreppatbase" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="scrnflag" type="STRING" size="256" sumtext="화면구분"/>
- <Column id="dschflag" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="unprepstat" type="STRING" size="256" sumtext="미비상태"/>
- <Column id="unprepdrid" type="STRING" size="256" sumtext="미비의사ID"/>
- <Column id="unprepdrnm" type="STRING" size="256" sumtext="미비의사명"/>
- <Column id="doctkindflag" type="STRING" size="256" sumtext="미비의사구분"/>
- <Column id="srchflag" type="STRING" size="256" sumtext="검색구분"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="deptflag" type="STRING" size="256" sumtext="부서구분"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="unprepsign" type="STRING" size="256" sumtext="StaffSign구분"/>
- <Column id="unprepstatlist" type="STRING" size="256" sumtext="미비상태리스트"/>
- <Column id="cosignflag" type="STRING" size="256" sumtext="인증구분"/>
- <Column id="drstate" type="STRING" size="256" sumtext="의사상태(파견, 종료)"/>
- <Column id="dayflag" type="STRING" size="256" sumtext="날짜조회구분"/>
- <Column id="scrnflag" type="STRING" size="256" sumtext="화면구분"/>
- <Column id="orderby" type="STRING" size="256" sumtext="정렬"/>
- <Column id="detldeptcd" type="STRING" size="256" sumtext="미비세부과"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="chosinfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_unprepdrbase" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dschflag" type="STRING" size="256"/>
- <Column id="unprepstat" type="STRING" size="256"/>
- <Column id="unprepdrnm" type="STRING" size="256"/>
- <Column id="unprepdrid" type="STRING" size="256"/>
- <Column id="doctkindflag" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="deptflag" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="unprepstatlist" type="STRING" size="256"/>
- <Column id="unprepsign" type="STRING" size="256"/>
- <Column id="dayflag" type="STRING" size="256"/>
- <Column id="orderby" type="STRING" size="256"/>
- <Column id="scrnflag" type="STRING" size="256"/>
- <Column id="detldept" type="STRING" size="256"/>
- <Column id="detldeptcd" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="unprepitemcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="dschflag">D</Col>
- <Col id="unprepstat">1 3</Col>
- <Col id="unprepdrnm"/>
- <Col id="unprepdrid"/>
- <Col id="doctkindflag">-</Col>
- <Col id="srchflag">dsch</Col>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="deptflag">unprep</Col>
- <Col id="orddeptcd">-</Col>
- <Col id="unprepstatlist"/>
- <Col id="unprepsign"/>
- <Col id="dayflag">N</Col>
- <Col id="orderby"/>
- <Col id="scrnflag"/>
- <Col id="detldept"/>
- <Col id="detldeptcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="patcnt" type="STRING" size="256"/>
- <Column id="reccnt" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="itemcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchflag"/>
- <Col id="patcnt"/>
- <Col id="reccnt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_patinfo_pathistlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_unprepdrinfo_unprepdrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="checkflag" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="jobposnm" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="checkflag"/>
- <Col id="orddeptnm"/>
- <Col id="orddeptcd"/>
- <Col id="jobposnm"/>
- <Col id="orddrid"/>
- <Col id="orddrnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_delivefact" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_delivefact_oncolumnchanged">
- <ColumnInfo>
- <Column id="medirecalertcnts" type="STRING" size="256"/>
- <Column id="dralertcnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="medirecalertcnts"/>
- <Col id="dralertcnts"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_unprepiteminfo_unprepiteminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_patreclist_patreclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_unprepdeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="detldeptcd" type="STRING" size="256"/>
- <Column id="unprepdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="detldeptcd"/>
- <Col id="unprepdeptcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_medalertinfo_medalertlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_dralertinfo_dralertlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_popupmenu_menu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="name" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">배치미비</Col>
- <Col id="func">fSetUnPrepRecInfo0</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">미비확인</Col>
- <Col id="func">fSetUnPrepRecInfo1</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">의사확인</Col>
- <Col id="func">fSetUnPrepRecInfo2</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">재미비</Col>
- <Col id="func">fSetUnPrepRecInfo3</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">완료</Col>
- <Col id="func">fSetUnPrepRecInfo4</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">미비삭제</Col>
- <Col id="func">fDelUnPrepRecInfo</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- <Col id="level"/>
- </Row>
- <Row>
- <Col id="name">의사변경</Col>
- <Col id="func">fChngUnPrepDrInfo</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">직종변경(I.)</Col>
- <Col id="func">fChngUnPrepInternPos</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">직종변경(R.)</Col>
- <Col id="func">fChngUnPrepResiPos</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">직종변경(St.)</Col>
- <Col id="func">fChngUnPrepStaffPos</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- <Col id="level"/>
- </Row>
- <Row>
- <Col id="name">미비과변경</Col>
- <Col id="func">fOpenUnPrepDeptCD</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">미비분과변경</Col>
- <Col id="func">fOpenUnPrepDeltDeptCD</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">변경취소</Col>
- <Col id="func">fCnclSetPrepRecInfo</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">기록연결 해제</Col>
- <Col id="func">fCnclFormRecSeq</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">권고상병보기</Col>
- <Col id="func">fGetDetlPropDiag</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="name">기록이력조회</Col>
- <Col id="func">fOpenMedirecList</Col>
- <Col id="level">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="unprepdeptcd" type="STRING" size="256"/>
- <Column id="openday" type="STRING" size="256"/>
- <Column id="hardcd" type="STRING" size="256"/>
- <Column id="merge" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="unprepdeptcd"/>
- <Col id="openday"/>
- <Col id="hardcd"/>
- <Col id="merge">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0501" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_M0502" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_M0503" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_M0504_M0504" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_unpreprecinfo_unprepreclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_userinfo_usercombo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="autoflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="srchcond"/>
- <Col id="autoflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_openday" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="indschflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="indschflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_excelcond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="startdate" type="STRING" size="256"/>
- <Column id="enddate" type="STRING" size="256"/>
- <Column id="steps" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="startdate"/>
- <Col id="enddate"/>
- <Col id="steps">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_openday_M0037M0546" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_recreqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_chk_unprepflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">전체</Col>
- <Col id="value">-</Col>
- </Row>
- <Row>
- <Col id="label">배치미비</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">미비확인</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">의사확인</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">재미비</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">완료</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">기록삭제</Col>
- <Col id="value">8</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbo_unprepstat" 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">0</Col>
- </Row>
- <Row>
- <Col id="label">미비확인</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">의사확인</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">재미비</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">완료</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">기록삭제</Col>
- <Col id="value">8</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_srchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_attachfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <PropertyAnimation id="PropertyAnimation00" endingmode="to" repeat="1" repeattype="normal" duration="0" starttime="0"/>
- <Dataset id="ds_init_cmb_formcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formnm" type="STRING"/>
- <Column id="formcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_itemcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="unprepitemnm" type="STRING"/>
- <Column id="unprepitemcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_popupmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hardcd" type="STRING" size="256"/>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="level">0</Col>
- <Col id="hardcdnm">기록비교</Col>
- <Col id="hardcd">lf_recCompare</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_pid" propid="value" datasetid="ds_main_cond_unpreppatbase" columnid="pid"/>
- <BindItem id="item1" compid="input1" propid="value" datasetid="ds_main_cond_unpreppatbase" columnid="hngnm"/>
- <BindItem id="item2" compid="cmb_chosinfo" propid="value" datasetid="ds_main_cond_unpreppatbase" columnid="chosinfo"/>
- <BindItem id="item3" compid="rdo_deptflag" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="deptflag"/>
- <BindItem id="item4" compid="cmb_orddept" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="orddeptcd"/>
- <BindItem id="item5" compid="cmb_detldept" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="detldeptcd"/>
- <BindItem id="item6" compid="ipt_unprepdrnm" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="unprepdrnm"/>
- <BindItem id="item7" compid="combo2" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="doctkindflag"/>
- <BindItem id="item8" compid="rdo_inoutflag" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="dschflag"/>
- <BindItem id="item16" compid="radio_detldept" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="detldept"/>
- <BindItem id="item17" compid="bool1" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="dayflag"/>
- <BindItem id="item18" compid="cmb_inoutddflag" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="srchflag"/>
- <BindItem id="item19" compid="ipt_fromdd" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="fromdd"/>
- <BindItem id="item20" compid="ipt_todd" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="todd"/>
- <BindItem id="item21" compid="opt_pid" propid="value" datasetid="ds_main_cond" columnid="patcnt"/>
- <BindItem id="item22" compid="opt_formcd" propid="value" datasetid="ds_main_cond" columnid="reccnt"/>
- <BindItem id="item23" compid="chk_merge" propid="value" datasetid="ds_init" columnid="merge"/>
- <BindItem id="item24" compid="group3.cmb_detldeptcd" propid="value" datasetid="ds_main_unprepdeptcd" columnid="detldeptcd"/>
- <BindItem id="item25" compid="group1.combo1" propid="value" datasetid="ds_init" columnid="unprepdeptcd"/>
- <BindItem id="item26" compid="textarea2" propid="value" datasetid="ds_main_delivefact" columnid="medirecalertcnts"/>
- <BindItem id="item27" compid="textarea1" propid="value" datasetid="ds_main_delivefact" columnid="dralertcnts"/>
- <BindItem id="item28" compid="group2.radio1" propid="value" datasetid="ds_main_cond_excelcond" columnid="steps"/>
- <BindItem id="item29" compid="group2.input3" propid="value" datasetid="ds_main_cond_excelcond" columnid="enddate"/>
- <BindItem id="item30" compid="group2.input2" propid="value" datasetid="ds_main_condition" columnid="startdate"/>
- <BindItem id="item9" compid="cmb_formcd" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="formcd"/>
- <BindItem id="item10" compid="cmb_itemcd" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="unprepitemcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs"
- include "emr_unprepmngtxp::SMMRI01700.xjs"
- include "emr_medirecxp::SPMMR07000.xjs";
- var arErrorCode = new HashArray();
- function SMMRI01700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- grdf_initGrid(grd_patreclist);
- }
- function SMMRI01700_onload(obj:Form, e:LoadEventInfo)
- {
- lf_getHardCDList("N", 1240, null, ds_init_hardcd);
-
- var sProp = "col=7,row=1,cellspacing=2,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- chk_unprepflag.setInitComp(sProp, ds_chk_unprepflag,"value","label", "fn_unprepflag");
- chk_unprepflag.setData(ds_main_cond_unprepdrbase.getColumn(0, "unprepstat").split(" "), " ", false);
-
- fReqGetFormList(); //서식명 조회
- ds_main_cond.setColumn(0, "formcd" ,"-");
-
- //미비기록리스트의 merge기본 설정을 false로 처리
- // grd_unprepreclist.autoMerge = false;
- // for(var i = 0; i < grd_unprepreclist.cols; i++){
- // grd_unprepreclist.mergeCol(i) = false;
- // }
- var arrParam = new Array();
- arrParam.push({bizId:"M0037", cdGrpId:"M0546", dsNm:"ds_init_openday", sortField:"cdnm", sortMehotd:"desc"});
- appf_getKindCodeList(arrParam);
-
- //그리드의 짝수행의 색변화를 제거
- //grd_unprepreclist.backColorAlternate = "#ffffff";
-
- //조회구분일자(퇴원, 작업) 설정
- ds_main_cond_unprepdrbase.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_main_cond_unprepdrbase.setColumn(0, "todd" , utlf_getCurrentDate());
-
- //미비과, 퇴원과설정
- lf_mmbfGetDeptCodeComboList(ds_init_orddept, "A", utlf_getCurrentDate()); //병동코드 콤보
-
- frmf_addComboItem("cmb_orddept", "전체", "-", "above");
- frmf_addComboItem("cmb_orddept", "호스피스과", "3100000000", "below");
-
- //Count예외 미비항목 조회
- reqGetUnPrepBaseExptCnt();
-
- //미비기록리스트 grid 초기화
- ds_main_unpreprecinfo_unprepreclist.clearData();
-
- group1.position.height = 0;
- group3.position.height = 0;
-
- fInitialize();
- }
- function ds_main_delivefact_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "dralertcnts"){
- if(ds_main_unpreprecinfo_unprepreclist.rowcount > 0){
- if(sDRALERT == textarea1.value){
- return;
- }
- }
- }else if(e.columnid == "medirecalertcnts"){
- if(ds_main_unpreprecinfo_unprepreclist.rowcount > 0){
- if(sMEDIALERT == textarea2.value){
- return;
- }else{
- var status = ds_main_unpreprecinfo_unprepreclist.getColumn(ds_main_unpreprecinfo_unprepreclist.rowposition, "status");
- if(utlf_isNull(status)){
- ds_main_unpreprecinfo_unprepreclist.enableevent = false;
- ds_main_unpreprecinfo_unprepreclist.setColumn(ds_main_unpreprecinfo_unprepreclist.rowposition, "status", "ua");
- ds_main_unpreprecinfo_unprepreclist.enableevent = true;
- }
- ds_main_unpreprecinfo_unprepreclist.enableevent = false;
- ds_main_unpreprecinfo_unprepreclist.setColumn(ds_main_unpreprecinfo_unprepreclist.rowposition, "medirecalertcnts", textarea2.value);
- ds_main_unpreprecinfo_unprepreclist.enableevent = true;
- }
- }
- }
- }
- function textarea1_onsetfocus(obj:TextArea, e:SetFocusEventInfo)
- {
- sDRALERT = textarea1.value;
- }
- function textarea2_onsetfocus(obj:TextArea, e:SetFocusEventInfo)
- {
- sMEDIALERT = textarea2.value;
- }
- function btn_unprepcert_onclick(obj:Button, e:ClickEventInfo)
- {
- //등록번호, 진료일자(입원일자), 생성번호, 진료과, 진료의, 입퇴원구분
- var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
- if(currow >= 0){
- var pid = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "pid");
- var orddd = "";
- var cretno = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "cretno");
-
- var indschflag = ds_main_condition.getColumn(0, "indschflag");
- if(indschflag != "O"){
- orddd = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "indd");
- }else{
- orddd = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "orddd");
- }
-
- //퇴원일자가 99991231이 아닌 경우는 퇴원처리, 그 이외는 입원
- var dschdd = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "dschdd");
- if(dschdd != '99991231'){
- indschflag = "D";
- }else{
- indschflag = "I";
- }
- }else{
- if(pid != ds_main_cond_unpreppatbase.getColumn(0, "pid")){
- if(!utlf_isNull(cmb_chosinfo.value)){
- var row = parseInt(cmb_chosinfo.value)-1;
- var pid = ds_main_patinfo_pathistlist.getColumn(row, "pid");
- var orddd = ds_main_patinfo_pathistlist.getColumn(row, "orddd");
- var cretno = ds_main_patinfo_pathistlist.getColumn(row, "cretno");
- var dschdd = ds_main_patinfo_pathistlist.getColumn(row, "dschdd");
- if(dschdd == "99991231"){
- indschflag = "I";
- }else{
- indschflag = "D";
- }
- }
- }
- }
- // 2010.01.08 이남익 추가
- // 조회하지 않고 미비추가시 또는 선택되지 않고 미비추가시
- if(utlf_isNull(indschflag)){
- indschflag = ds_main_cond_unprepdrbase.getColumn(0, "dschflag")
- }
-
- var wndobj = frmf_findPopup("SPMRI02600");
- if(utlf_isNull(wndobj)){
- frmf_setParameter("SPMRI02600_pid" , pid);
- frmf_setParameter("SPMRI02600_orddd" , orddd);
- frmf_setParameter("SPMRI02600_cretno" , cretno);
- frmf_setParameter("SPMRI02600_dschflag" , indschflag);
-
- frmf_open("SPMRI02600", "SPMRI02600", "", null, "", "", "", null, null, null, null, null, "M");
- }else{
- wndobj.gRecLoad = "N";
- wndobj.fSetPatInfo(pid, orddd, cretno, indschflag);
- }
- }
- function btn_ex_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_unprepreclist, "미비기록관리" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- function btn_del_onclick(obj:Button, e:ClickEventInfo)
- {
- fDelUnPrepRecInfo();
- }
- function btn_requnprepdrbase_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_cond_unprepdrbase.setColumn(0, "orderby", "");
- ds_main_delivefact.enableevent = false;
- ds_main_delivefact.setColumn(0, "medirecalertcnts", "");
- ds_main_delivefact.setColumn(0, "dralertcnts", "");
- ds_main_delivefact.enableevent = true;
- fReqGetUnPrepRecDrBaseList("N");
- }
- function btn_realunprep_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_cond_unprepdrbase.setColumn(0, "orderby", "");
- ds_main_delivefact.enableevent = false;
- ds_main_delivefact.setColumn(0, "medirecalertcnts", "");
- ds_main_delivefact.setColumn(0, "dralertcnts", "");
- ds_main_delivefact.enableevent = true;
- fReqGetUnPrepRecDrBaseList("Y");
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_unprepreclist.enable = false;
- btn_requnpreppatbase.enable = false;
- btn_requnprepdrbase.enable = false;
- btn_realunprep.enable = false;
- btn_opinfo.enable = false;
- btn_totrec.enable = false;
- btn_unprepcert.enable = false;
- btn_del.enable = false;
- btn_ex.enable = false;
- btn_save.enable = false;
- group2.position.height = 70;
-
- ds_main_delivefact.enableevent = false;
- ds_main_delivefact.setColumn(0, "medirecalertcnts", "");
- ds_main_delivefact.setColumn(0, "dralertcnts", "");
- ds_main_delivefact.enableevent = true;
- // 2009-07-25 이경희
- // 엑셀저장시 2009/07/01로 고정된 부분을 수정.
- var opendd = utlf_transNullToEmpty(ds_init_openday_M0037M0546.getColumn(0, "cdid")); // 병원별 오픈일
- var startDate = opendd.toDate().getDateFormat("YYYYMM") + "01"; // 오픈한 달의 첫날부터로 설정
-
- ds_main_cond_excelcond.setColumn(0, "startdate", startDate);
- ds_main_cond_excelcond.setColumn(0, "enddate" , utlf_getCurrentDate());
- }
- function btn_patreq_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_tmp.setColumn(0, "pid" , ds_main_cond_unpreppatbase.getColumn(0, "pid"));
- ds_tmp.setColumn(0, "hngnm" , ds_main_cond_unpreppatbase.getColumn(0, "hngnm"));
- if(utlf_isNull(ds_main_cond_unpreppatbase.getColumn(0, "pid"))){
- ds_tmp.setColumn(0, "srchcond", 1);
- }else{
- ds_tmp.setColumn(0, "srchcond", 2);
- }
- ds_tmp.setColumn(0, "autoflag", "Y");
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_tmp;
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, "1", "10", "10", null, null, null, null, null, "M");
- }
- function ipt_unprepdrnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- //enter입력시
- if(e.keycode == 13){
- obj.updateToDataset();
- ds_main_cond_unprepdrbase.setColumn(0, "unprepdrnm", ipt_unprepdrnm.text);
- var unprepdrnm = ipt_unprepdrnm.text;
- if((unprepdrnm.charAt(0)).isNumber()){
- fReqGetUnPrepDrSmplList("id", unprepdrnm);
- }else{
- fReqGetUnPrepDrSmplList("nm", unprepdrnm);
- }
-
- var nodelist = ds_temp_userinfo_usercombo.rowcount;
- if(nodelist == 0){
- sysf_messageBox("의사 정보가", "I004");
- return;
-
- }else if(nodelist == 1){
- ds_main_cond_unprepdrbase.setColumn(0, "unprepdrid", ds_temp_userinfo_usercombo.getColumn(0, "userid"));
- ds_main_cond_unprepdrbase.setColumn(0, "unprepdrnm", ds_temp_userinfo_usercombo.getColumn(0, "usernm"));
-
- }else if(nodelist > 1){
- frmf_setParameter("SPMRI02900_stnddd" , utlf_getCurrentDate());
- frmf_setParameter("SPMRI02900_orddrnm", ipt_unprepdrnm.text);
- frmf_modal("SPMRI02900", "SPMRI02900", "", null, "", "", "", null, null, null, null, null, "M");
-
- if(frmf_getParameter("SPMRI02900_useyn")=="Y"){
- var doctinfo = frmf_getParameter("SPMRI02900_rtnparam");
- doctinfo = utlf_transNullToEmpty(doctinfo).split("^");
- ds_main_cond_unprepdrbase.setColumn(0, "unprepdrid", doctinfo[3]);
- ds_main_cond_unprepdrbase.setColumn(0, "unprepdrnm", doctinfo[4]);
- }
- }else{
- ds_main_cond_unprepdrbase.setColumn(0, "unprepdrid", ds_main_unprepdrinfo_unprepdrlist.getColumn(0, "orddrid"));
- ds_main_cond_unprepdrbase.setColumn(0, "unprepdrnm", ds_main_unprepdrinfo_unprepdrlist.getColumn(0, "orddrnm"));
-
- }
- }
- }
- function ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- obj.updateToDataset();
- fReqGetUnPrepPatChosInfo(ipt_pid.text, "I", "A");
- cmb_chosinfo.index = 0;
- var pid = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "pid");
- var indd = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "orddd");
- var cretno = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "cretno");
- var hngnm = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "hngnm");
- var dschdd = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "dschdd");
- if(dschdd != '재원중'){
- indschflag = "D";
- }else{
- indschflag = "I";
- }
- ds_main_cond_unpreppatbase.setColumn(0, "pid" , pid);
- ds_main_cond_unpreppatbase.setColumn(0, "indd" , indd);
- ds_main_cond_unpreppatbase.setColumn(0, "cretno", cretno);
- ds_main_cond_unpreppatbase.setColumn(0, "hngnm" , hngnm);
-
- ds_main_delivefact.enableevent = false;
- ds_main_delivefact.setColumn(0, "medirecalertcnts", "");
- ds_main_delivefact.setColumn(0, "dralertcnts", "");
- ds_main_delivefact.enableevent = true;
-
- btn_requnpreppatbase_onclick();
-
- var wndobj = frmf_findPopup("SPMRI02700");
- if(!utlf_isNull(wndobj)){
- frmf_setParameter("SPMRI02700_pid", pid);
- wndobj.fReqGetUnPrepOpList();
- //wndobj.model.setFocus("grd_unprepoplist");
- }
-
- var wndobj2 = frmf_findPopup("SPMRI02600");
- if(!utlf_isNull(wndobj2)){
- wndobj2.gRecLoad = "N";
- wndobj2.fSetPatInfo(pid, indd, cretno, indschflag);
- }
-
- //미비기록 연동창이 떠 있는 경우, 재조회 처리함
- //2009. 02. 18 오지훈
- if(grd_patreclist.visible == true){
- fReqGetPatRecList(pid, indd, cretno);
- sBFPID = pid;
- sBFORDDD = indd;
- sBFCRETNO = cretno;
- }
- }
- }
- function btn_requnpreppatbase_onclick(obj:Button, e:ClickEventInfo)
- {
- fReqGetUnPrepRecList();
-
- ds_main_delivefact.enableevent = false;
- ds_main_delivefact.setColumn(0, "medirecalertcnts", "");
- ds_main_delivefact.setColumn(0, "dralertcnts", "");
- ds_main_delivefact.enableevent = true;
- }
- function rdo_inoutflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(rdo_inoutflag.value == "D"){
- ds_main_cond_unprepdrbase.setColumn(0, "srchflag", "dsch");
- }else if(rdo_inoutflag.value == "I"){
- ds_main_cond_unprepdrbase.setColumn(0, "srchflag", "indd");
- }else if(rdo_inoutflag.value == "O"){
- ds_main_cond_unprepdrbase.setColumn(0, "srchflag", "orddd");
- }else if(rdo_inoutflag.value == "E"){
- ds_main_cond_unprepdrbase.setColumn(0, "srchflag", "orddd");
- }
- }
- function cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- // 외과, 소아청소년과, 산부인과 세부 분과 활성화함.
- var orddeptcd = ds_main_cond_unprepdrbase.getColumn(0, "orddeptcd");
-
- if(orddeptcd == "2040000000"
- || orddeptcd == "2110000000"
- || orddeptcd == "2100000000")
- {
- radio_detldept.enable = true;
- radio_detldept.value = "Y";
- cmb_detldept.enable = true;
-
- //미비과에 따라 미비분과 combo정보를 변경
- if(orddeptcd == "2040000000"){ //외과
- cmb_detldept.innerdataset = "ds_init_M0501";
- }else if(orddeptcd == "2100000000"){ //산부인과
- cmb_detldept.innerdataset = "ds_init_M0502";
- }else if(orddeptcd == "2110000000"){ //소아과
- cmb_detldept.innerdataset = "ds_init_M0503";
- }
- frmf_addComboItem("cmb_detldept", "전체", "ALL", "above");
- cmb_detldept.index = 0;
- }
- else
- {
- radio_detldept.enable = false;
- radio_detldept.value = "N";
- cmb_detldept.innerdataset = "ds_init_M0504";
- ds_main_cond_unprepdrbase.setColumn(0, "detldeptcd", "");
- cmb_detldept.enable = false;
- }
- }
- function caption20_onclick(obj:Static, e:ClickEventInfo)
- {
- if(chk_merge.visible == false)
- {
- chk_merge.visible = true;
- return;
- }
-
- if(chk_merge.visible == true)
- {
- chk_merge.visible = false;
- return;
- }
- }
- function cmb_chosinfo_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var pid = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "pid");
- var indd = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "orddd");
- var cretno = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "cretno");
- var dschdd = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "dschdd");
-
- ds_main_cond_unpreppatbase.setColumn(0, "pid" , pid);
- ds_main_cond_unpreppatbase.setColumn(0, "indd" , indd);
- ds_main_cond_unpreppatbase.setColumn(0, "cretno" , cretno);
-
- btn_requnpreppatbase_onclick();
-
- if(dschdd != '재원중'){
- indschflag = "D";
- }else{
- indschflag = "I";
- }
-
- var wndobj = frmf_findPopup("SPMRI02700");
- if(!utlf_isNull(wndobj)){
- frmf_setParameter("SPMRI02700_pid", pid);
- wndobj.fReqGetUnPrepOpList();
- // wndobj.model.setFocus("grd_unprepoplist");
- // wndobj.model.refresh();
- }
-
- var wndobj2 = frmf_findPopup("SPMRI02600");
- if(!utlf_isNull(wndobj2)){
- wndobj2.gRecLoad = "N";
- wndobj2.fSetPatInfo(pid, indd, cretno, indschflag);
-
- }
-
- //미비기록 연동창이 떠 있는 경우, 재조회 처리함
- //2009. 02. 18 오지훈
- if(grd_patreclist.visible == true){
- fReqGetPatRecList(pid, indd, cretno);
- sBFPID = pid;
- sBFORDDD = indd;
- sBFCRETNO = cretno;
- }
- }
- function grd_unprepreclist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- grdf_setSelectedCell(obj, e);
- }
- function grd_unprepreclist_onexpandup(obj:Grid, e)
- {
- //grdf_setSelectedCell(obj, e);
- var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
- var curcol = grd_unprepreclist.currentcol;
- //의무기록 전달사항 설정
- if(curcol == grd_unprepreclist.getBindCellIndex("body", "medirecalertcnts")){
- var medirecalertcnts = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "medirecalertcnts");
- frmf_setParameter("SPMRI01900_scrnflag" , "m");
- frmf_setParameter("SPMRI01900_alertcnts", medirecalertcnts);
- frmf_modal("SPMRI01900", "SPMRI01900", "", null, "", "", "", null, null, null, null, null, "M");
- if(frmf_getParameter("SPMRI01900_useyn") == "Y"){
- ds_main_unpreprecinfo_unprepreclist.enableevent = false;
- ds_main_unpreprecinfo_unprepreclist.setColumn(currow, "medirecalertcnts", frmf_getParameter("SPMRI01900_alertcnts"));
- ds_main_unpreprecinfo_unprepreclist.enableevent = true;
- }
-
- //의사 전달사항 설정 -> 조회만 가능
- }else if(curcol == grd_unprepreclist.getBindCellIndex("body", "dralertcnts")){
- var dralertcnts = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "dralertcnts");
- frmf_setParameter("SPMRI01900_scrnflag" , "d");
- frmf_setParameter("SPMRI01900_alertcnts", dralertcnts);
- frmf_modal("SPMRI01900", "SPMRI01900", "", null, "", "", "", null, null, null, null, null, "M");
-
- /*
- if(frmf_getParameter("SPMRI01900_useyn") == "Y"){
- ds_main_unpreprecinfo_unprepreclist.enableevent = false;
- ds_main_unpreprecinfo_unprepreclist.setColumn(currow, "dralertcnts", frmf_getParameter("SPMRI01900_alertcnts"));
- ds_main_unpreprecinfo_unprepreclist.enableevent = true;
- }
- */
- }
-
- //의무기록, 의사전달사항이 수정된 경우, 의무기록 수정(ua)으로 변경
- //u는 미비상태변경을 의미, ua는 의무기록, 의사전달사항 변경을 의미한다.
- if(frmf_getParameter("SPMRI01900_useyn") == "Y"){
- var status = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "status");
- if(status != "i" || status != "u" || status !="d"){
- ds_main_unpreprecinfo_unprepreclist.enableevent = false;
- ds_main_unpreprecinfo_unprepreclist.setColumn(currow, "status", "ua");
- ds_main_unpreprecinfo_unprepreclist.enableevent = true;
- }
- }
-
- }
- function grd_unprepreclist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
- var curcol = grd_unprepreclist.currentcol;
-
- if(e.row >= 0 && e.col >= 0){
- var medirecalertcnts = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "medirecalertcnts");
- var dralertcnts = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "dralertcnts");
-
- ds_main_delivefact.updatecontrol = false;
- ds_main_delivefact.enableevent = false;
- ds_main_delivefact.setColumn(0, "medirecalertcnts", medirecalertcnts);
- ds_main_delivefact.setColumn(0, "dralertcnts" , dralertcnts);
- ds_main_delivefact.enableevent = true;
- ds_main_delivefact.updatecontrol = true;
-
-
- //미비기록관리 check 컬럼을 클릭한 경우, 환자의 기록을 조회
- //이전 환자수진 정보와 동일한 경우, 조회하지 않는다.
- //2008. 1. 7 오지훈
- if(curcol == grd_unprepreclist.getBindCellIndex("body", "check")){
- var pid = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "pid");
- var orddd = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "indd");
- var cretno = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "cretno");
-
- if(pid != sBFPID ||
- (utlf_isNull(sBFPID) && utlf_isNull(sBFORDDD) && utlf_isNull(sBFCRETNO)) ||
- (pid == sBFPID && (orddd != sBFORDDD || cretno != sBFCRETNO)))
- {
- fReqGetPatRecList(pid, orddd, cretno);
- sBFPID = pid;
- sBFORDDD = orddd;
- sBFCRETNO = cretno;
- }
- grd_patreclist.visible = true;
- }
-
- if( obj.getCellProperty("body", e.col, "expandshow") != "show"
- || (obj.getCellProperty("body", e.col, "edittype") != "expand" && obj.getCellProperty("body", e.col, "edittype").indexOf("expr") < 0)) return;
-
- var oRect = obj.getCellRect(e.row, e.col);
- if( !utlf_isNull(oRect) ){
- rSize = oRect.right;
- if (e.clientX >= (rSize - 20) && e.clientX < rSize){
- var userEvent = new EventInfo();
- userEvent.col = e.col;
- userEvent.row = e.row;
-
- grd_unprepreclist_onexpandup(grd_unprepreclist, userEvent);
- }
- }
- }
- }
- function grd_unprepreclist_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- //그리드 Header를 클릭한 경우,
- var srchflag = ds_main_cond.getColumn(0, "srchflag");
-
- if(sORDERBY == "desc"){
- sORDERBY = "asc";
- }else{
- sORDERBY = "desc";
- }
-
- //var orderby = grd_unprepreclist.colAttribute(curcol, "ref") + " " + sORDERBY;
- var orderby = grd_unprepreclist.getCellProperty("body", e.col, "text");
- orderby = orderby.replace("bind:", "");
- orderby = orderby + " " + sORDERBY;
-
- if(srchflag == "dr"){
- ds_main_cond_unprepdrbase.setColumn(0, "orderby", orderby);
- fReqGetUnPrepRecDrBaseList(ds_main_cond_unprepdrbase.getColumn(0, "unprepsign"));
- }else if(srchflag == "pat"){
- ds_main_cond_unpreppatbase.setColumn(0, "orderby", orderby);
- fReqGetUnPrepRecList();
- }
- }
- function ds_main_unpreprecinfo_unprepreclist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "medirecalertcnts"){
- var medirecalertcnts = ds_main_unpreprecinfo_unprepreclist.getColumn(ds_main_unpreprecinfo_unprepreclist.rowposition, e.col);
- if(!utlf_isNull(medirecalertcnts)){
- ds_send_savedata.copyData(ds_main_unpreprecinfo_unprepreclist);
- ds_send_savedata.clearData();
- ds_send_savedata.addRow();
- ds_send_savedata.copyRow(0, ds_main_unpreprecinfo_unprepreclist, ds_main_unpreprecinfo_unprepreclist.rowposition);
- dsf_makeValue(ds_send_savedata, "setuseflag", "string", "medi");
-
- var oParam = {};
- oParam.id = "TXMRI01802";
- oParam.service = "unprepmngtapp.ChrtUnprepMngt";
- oParam.method = "reqSetUnPrepAlertCnts";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- tranf_submit(oParam);
- }
- }
- }
- function grd_unprepreclist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- // 기록삭제 조회내용에서 더블클릭한 경우 진료기록을 열지 않음.
- // 2009. 8. 26 이경희
- var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
-
- //서식명을 더블클릭한 경우, 메인화면에 진료기록을 open
- //2008. 1. 16 오지훈
- var curcol = e.col;
- if(curcol == grd_unprepreclist.getBindCellIndex("body", "formnm")){
-
- var delyn = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "delyn");
-
- if(delyn == "Y")
- return;
-
- fLoadUnPrepFormRec();
- }
- }
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPMRI02300", "SPMRI02300", "", null, "", "", "", null, null, null, null, null, "M");
- }
- function group1_btn_cnfm_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_unprepreclist.enable = true;
- btn_requnpreppatbase.enable = true;
- btn_requnprepdrbase.enable = true;
- btn_realunprep.enable = true;
- btn_opinfo.enable = true;
- btn_totrec.enable = true;
- btn_unprepcert.enable = true;
- btn_del.enable = true;
- btn_ex.enable = true;
- btn_save.enable = true;
- group1.position.height = 0;
- fReqSetUnPrepDeptCD();
- }
- function group1_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_unprepreclist.enable = true;
- btn_requnpreppatbase.enable = true;
- btn_requnprepdrbase.enable = true;
- btn_realunprep.enable = true;
- btn_opinfo.enable = true;
- btn_totrec.enable = true;
- btn_unprepcert.enable = true;
- btn_del.enable = true;
- btn_ex.enable = true;
- btn_save.enable = true;
- group1.position.height = 0;
- }
- function btn_opinfo_onclick(obj:Button, e:ClickEventInfo)
- {
- var pid = "";
- if(ds_init_hardcd.getColumn(0, "hardcd") == "Y")
- {
- if(ds_main_unpreprecinfo_unprepreclist.rowcount > 0)
- {
- var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
- if(currow >= 0)
- pid = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "pid"); // 미비조회 버튼으로 조회한 환자의 PID로 검색
- else
- pid = ds_main_cond_unpreppatbase.getColumn(0, "pid"); // PID로 조회한 환자의 PID로 수술정보를 검색
- }
- }
- else
- {
- pid = ds_main_cond_unpreppatbase.getColumn(0, "pid"); // 조회한 환자의 PID로 검색
- }
-
- if(!utlf_isNull(pid)){
- frmf_setParameter("SPMRI02700_pid", pid);
- frmf_open("SPMRI02700", "SPMRI02700", null, null, "1", "400", "0", null, null, null, null, null, "M");
- }else{
- sysf_messageBox("등록번호를", "C001");
- return;
- }
- }
- function btn_totrec_onclick(obj:Button, e:ClickEventInfo)
- {
- var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
- var pid = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "pid");
- if(utlf_isNull(pid)){
- sysf_messageBox("통합기록조회를 검색할 환자를", "C002");
- return;
- }
- var monitorNumber = sysf_getCurrentMonitorNumber();
- // var monitorResolutions = app.monitorResolution;
- // var monitorResolutionsArr = monitorResolutions.split('|');
- //
- // var resolution = monitorResolutionsArr[monitorNumber-1];
- // var resolution_width = resolution.split(',')[0];
- // var resolution_height = resolution.split(',')[1];
-
- var wndobj = frmf_findPopup("SMMRI00400");
- if(wndobj != null){
- frmf_setParameter("SMMRI00400_param_pid", pid);
- wndobj.fInitalize();
- }else{
- frmf_setParameter("SMMRI00400_param_pid", pid);
- //open("SMMRI00400", monitorNumber, 0, 0);
- frmf_open("SMMRI00400", "SMMRI00400", null, null, monitorNumber, 0, 0, null, null, null, null, null, "M");
- }
- }
- function bool1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(bool1.value == "Y"){
- cmb_inoutddflag.enable = true;
- ipt_fromdd.enable = true;
- ipt_todd.enable = true;
- }else{
- cmb_inoutddflag.enable = false;
- ipt_fromdd.enable = false;
- ipt_todd.enable = false;
- }
- }
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_unprepreclist.setFormatColProperty(grd_unprepreclist.getBindCellIndex("body", "indd"), "size", 75);//75
- grd_unprepreclist.setFormatColProperty(grd_unprepreclist.getBindCellIndex("body", "formrecseq"), "size", 110);//106
- grd_unprepreclist.setFormatColProperty(grd_unprepreclist.getBindCellIndex("body", "cosignyn"), "size", 55);//106
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_unprepreclist.setFormatColProperty(grd_unprepreclist.getBindCellIndex("body", "indd"), "size", 0);//75
- grd_unprepreclist.setFormatColProperty(grd_unprepreclist.getBindCellIndex("body", "formrecseq"), "size", 0);//106
- }
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "root/main/unpreprecinfo/unprepreclist", ds_main_unpreprecinfo_unprepreclist); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/main/unpreprecinfo/unprepreccnt", ds_main_unpreprecinfo_unprepreccnt); // 데이터셋 2
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- //var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPMRI01700"],[objParam], option);
- }
- function grd_patreclist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var currow = ds_main_patreclist_patreclist.rowposition;
- var curcol = e.col;
- // 그리드 header의 X를 클릭하면 그리드 hidden
- if(currow == 0 && curcol == grd_patreclist.getBindCellIndex("body", "check")){
- grd_patreclist.visible = false;
- }
- }
- function grd_patreclist_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- var trgtrow = ds_main_unpreprecinfo_unprepreclist.rowposition;
- var srcrow = ds_main_patreclist_patreclist.rowposition;
- if(srcrow >= 0){
- var srcformcd = ds_main_patreclist_patreclist.getColumn(srcrow, "srcformcd");
- var trgtsrcformcd = ds_main_unpreprecinfo_unprepreclist.getColumn(srcrow, "srcformcd");
- }
- }
- }
- function grd_patreclist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row >= 0 && e.col >= 0){
- var trgtrow = ds_main_unpreprecinfo_unprepreclist.rowposition;
- var srcrow = ds_main_patreclist_patreclist.rowposition;
- var trgtformrecseq = ds_main_unpreprecinfo_unprepreclist.getColumn(trgtrow, "formrecseq");
- var trgtsrcformcd = ds_main_unpreprecinfo_unprepreclist.getColumn(trgtrow, "srcformcd");
-
- var formrecseq = ds_main_patreclist_patreclist.getColumn(srcrow, "formrecseq");
- var srcformcd = ds_main_patreclist_patreclist.getColumn(srcrow, "srcformcd");
- var oprsrvno = ds_main_patreclist_patreclist.getColumn(srcrow, "oprsrvno");
-
- if(formrecseq <= 0){
- return;
- }
-
- if(trgtsrcformcd == srcformcd){
- var checkcol = grd_unprepreclist.getBindCellIndex("body", "check");
- ds_main_unpreprecinfo_unprepreclist.setColumn(trgtrow, "formrecseq", formrecseq);
- ds_main_unpreprecinfo_unprepreclist.setColumn(trgtrow, "check" , "V");
- ds_main_unpreprecinfo_unprepreclist.setColumn(trgtrow, "status", "uf");
- ds_main_unpreprecinfo_unprepreclist.setColumn(trgtrow, "oprsrvno", oprsrvno);
-
- ds_main_patreclist_patreclist.setColumn(srcrow, "check", "<<");
- // ds_main_unpreprecinfo_unprepreclist.enableevent = false;
- // ds_main_unpreprecinfo_unprepreclist.updatecontrol = false;
- ds_main_unpreprecinfo_unprepreclist.setColumn(trgtrow, "bkcolorcheck", "#800080");
- // ds_main_unpreprecinfo_unprepreclist.updatecontrol = true;
- // ds_main_unpreprecinfo_unprepreclist.enableevent = true;
- }else{
- sysf_messageBox("서로 다른 서식", "I009");
- return;
- }
- }
- }
- function group2_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_unprepreclist.enable = true;
- btn_requnpreppatbase.enable = true;
- btn_requnprepdrbase.enable = true;
- btn_realunprep.enable = true;
- btn_opinfo.enable = true;
- btn_totrec.enable = true;
- btn_unprepcert.enable = true;
- btn_del.enable = true;
- btn_ex.enable = true;
- btn_save.enable = true;
- group2.position.height = 0;
-
- reqGetUnPrepCreateExcelFile();
- }
- function group2_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_unprepreclist.enable = true;
- btn_requnpreppatbase.enable = true;
- btn_requnprepdrbase.enable = true;
- btn_realunprep.enable = true;
- btn_opinfo.enable = true;
- btn_totrec.enable = true;
- btn_unprepcert.enable = true;
- btn_del.enable = true;
- btn_ex.enable = true;
- btn_save.enable = true;
- group2.position.height = 0;
- }
- function group3_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_unprepreclist.enable = true;
- btn_requnpreppatbase.enable = true;
- btn_requnprepdrbase.enable = true;
- btn_realunprep.enable = true;
- btn_opinfo.enable = true;
- btn_totrec.enable = true;
- btn_unprepcert.enable = true;
- btn_del.enable = true;
- btn_ex.enable = true;
- btn_save.enable = true;
- group3.position.height = 0;
-
- fSetDetlDeptCD();
- }
- function group3_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_unprepreclist.enable = true;
- btn_requnpreppatbase.enable = true;
- btn_requnprepdrbase.enable = true;
- btn_realunprep.enable = true;
- btn_opinfo.enable = true;
- btn_totrec.enable = true;
- btn_unprepcert.enable = true;
- btn_del.enable = true;
- btn_ex.enable = true;
- btn_save.enable = true;
- group3.position.height = 0;
- }
- function chk_merge_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "1"){
- fDoMergeUnPrepRecList();
- }else{
- fDoUnMergeUnPrepRecList();
- }
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveUnPrepInfo();
- }
- function grd_patreclist_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- var currow = ds_main_patreclist_patreclist.rowposition;
- var curcol = e.col;
- // 그리드 header의 X를 클릭하면 그리드 hidden
- if(curcol == 0){
- grd_patreclist.visible = false;
- }
- }
- function pmnmenu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- var clientX = 0;
- var clientY = 0;
- function grd_unprepreclist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
- grdf_setSelectedCell(obj, e);
- clientX = e.clientX;
- clientY = e.clientY;
-
- pmnmenu1.trackPopup(e.screenX,e.screenY);
- }
- function grd_unprepreclist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
- grdf_setSelectedCell(obj, e);
- }
- function grd_unprepreclist_onkeyup(obj:Grid, e:KeyEventInfo)
- {
- // if(e.keycode == 27)
- // {
- // var cloakval = grd_patreclist.visible;
- // if(cloakval == "visible")
- // {
- // grd_patreclist.visible = false;
- // }
- // else
- // {
- // var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
- // var pid = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "pid");
- // var orddd = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "indd");
- // var cretno= ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "cretno");
- //
- // if(pid != sBFPID ||(utlf_isNull(sBFPID) && utlf_isNull(sBFORDDD) && utlf_isNull(sBFCRETNO))|| (pid == sBFPID && (orddd != sBFORDDD || cretno != sBFCRETNO)))
- // {
- // fReqGetPatRecList(pid, orddd, cretno);
- //
- // sBFPID = pid;
- // sBFORDDD = orddd;
- // sBFCRETNO= cretno;
- // }
- //
- // grd_patreclist.visible = true;
- // }
- // }
- }
- function SMMRI01700_onkeydown(obj:Form, e:KeyEventInfo)
- {
- if(e.keycode == 27)
- {
- var cloakval = grd_patreclist.visible;
- if(cloakval == "visible")
- {
- grd_patreclist.visible = false;
- }
- else
- {
- var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
- var pid = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "pid");
- var orddd = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "indd");
- var cretno= ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "cretno");
-
- if(pid != sBFPID ||(utlf_isNull(sBFPID) && utlf_isNull(sBFORDDD) && utlf_isNull(sBFCRETNO))|| (pid == sBFPID && (orddd != sBFORDDD || cretno != sBFCRETNO)))
- {
- fReqGetPatRecList(pid, orddd, cretno);
-
- sBFPID = pid;
- sBFORDDD = orddd;
- sBFCRETNO= cretno;
- }
-
- grd_patreclist.visible = true;
- }
- }
- }
- function cmb_formcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- utlf_addLog("***** roundrect1_cmb_formcd_onitemchanged e.posvalue : " + e.postvalue + " *****");
- //if(e.postvalue != "-"){ //전체로 변경된 경우, 미비항목코드 조회하지 않음
- fReqGetFormItemList(e.postvalue);
- //}
- }
- function pmn_popupMenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function grd_patreclist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row == -1) return;
-
- grdf_setSelectedCell(obj, e);
-
- pmn_popupMenu.trackPopup(e.screenX,e.screenY);
- }
- ]]></Script>
- </Form>
- </FDL>
|