12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>연구용 검색</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <instcd/>
- <opkind>N</opkind>
- <partrtnkind>N</partrtnkind>
- <allwomntypecd/>
- <chngdeptkind>N</chngdeptkind>
- <cnstkind>N</cnstkind>
- <dschfromdd/>
- <dschtodd/>
- <dschdeptcd/>
- <dschmedispclid/>
- <dschmedispclnm/>
- <dschatdoctid/>
- <dschatdoctnm/>
- <dschclsdept/>
- <infromdd/>
- <intodd/>
- <indeptcd/>
- <inmedispclid/>
- <inmedispclnm/>
- <inatdoctid/>
- <inatdoctnm/>
- <inclsdept/>
- <dschwardnm/>
- <inhospfromdd/>
- <inhosptodd/>
- <opfromdd/>
- <optodd/>
- <opdeptcd/>
- <opclsdept/>
- <perfdrid/>
- <perfdrnm/>
- <agefrom/>
- <ageto/>
- <sex/>
- <religncd/>
- <marystatcd/>
- <jobcd/>
- <insukind/>
- <fsexam/>
- <specordyn/>
- <cptrgt>-</cptrgt>
- <wundcasclscd/>
- <curersltcd/>
- <dethtypecd/>
- <dschtypecd/>
- <opdethtypecd/>
- <chosprogcd/>
- <reinresncd/>
- <inpathcd/>
- <reinyn/>
- <reopresncd/>
- <infccascd/>
- <infcpartcd/>
- <cncrrgstyn/>
- <cmplcd/>
- <indxinfo/>
- <icucd/>
- <icuroomcd/>
- <partrtnfromdd/>
- <partrtntodd/>
- <womntypecd/>
- <stlborncd/>
- <partrtnkindcd/>
- <prgweekfrom/>
- <prgweekto/>
- <nbabybdwtqtyfrom/>
- <nbabybdwtqtyto/>
- <chngdeptfromdd/>
- <chngdepttodd/>
- <chngdeptcd/>
- <chngclsdept/>
- <cnstreqfromdd/>
- <cnstreqtodd/>
- <cnstreqdeptcd/>
- <cnstclsdept/>
- <cnstexecfromdd/>
- <cnstexectodd/>
- <cnstexecdeptcd/>
- <cnstexeclrsdeptcd/>
- <cncrflag/>
- <infdisyn/>
- <tmpcodeyn/>
- <prmycncryn/>
- <dethyn/>
- <seer/>
- <staging/>
- <rerntmetstaspart/>
- <ecog/>
- <regimen/>
- <chosbfcuremthd/>
- <prmypart/>
- <metstaspart/>
- <icd10>I</icd10>
- <cctermcd/>
- <diagtermcd/>
- <optermcd/>
- <chngdeptcdlist/>
- <diagcd/>
- <dethcd/>
- <kinddethcd/>
- <tophcd/>
- <morphcd/>
- <rerntmetstaspartcd/>
- <baseinfo>Y</baseinfo>
- <duplelmn/>
- <addr/>
- <rrgstno/>
- <cntctel/>
- <dschanaly/>
- <sickandop/>
- <cncrpat/>
- <patinfoprtc/>
- <section1/>
- <section2/>
- <section3/>
- <section4/>
- <section5/>
- <section6/>
- <section7/>
- <offset>0</offset>
- <pagesize>10000</pagesize>
- <condnm/>
- <conduserid/>
- <dscdno/>
- <lglydiskind/>
- <rgstuserid/>
- <rgstusernm/>
- <rgstfromdd/>
- <rgsttodd/>
- <snum/>
- <enum/>
- <lastrow>Y</lastrow>
- <cnt/>
- <filepath/>
- <filenm/>
- <chkopt/>
- <!-- NOT node 추가 -->
- <n_cctermcd/>
- <n_diagtermcd/>
- <n_optermcd/>
- <n_chngdeptcd/>
- <n_rectermcd/>
- <n_dethcd/>
- <n_tophcd/>
- <n_morphcd/>
- <n_rerntmetstaspartcd/>
- </cond>
- <cclist>
- <rows>
- <cdid1/>
- <cdid2/>
- <cond/>
- <condflag/>
- </rows>
- </cclist>
- <diagcdlist>
- <rows>
- <cdid1/>
- <cdid2/>
- <cond/>
- <condflag/>
- <exceptro/>
- </rows>
- </diagcdlist>
- <opcdlist>
- <rows>
- <cdid1/>
- <cdid2/>
- <cond/>
- <condflag/>
- </rows>
- </opcdlist>
- <chngcdlist>
- <rows>
- <cdid1/>
- <cdid2/>
- <cond/>
- <condflag/>
- </rows>
- </chngcdlist>
- <cnstcdlist>
- <rows>
- <cdid1/>
- <cdid2/>
- <cond/>
- <condflag/>
- </rows>
- </cnstcdlist>
- <directcdlist>
- <rows>
- <cdid1/>
- <cdid2/>
- <cond/>
- <condflag/>
- </rows>
- </directcdlist>
- <tcdlist>
- <rows>
- <cdid1/>
- <cdid2/>
- <cond/>
- <condflag/>
- </rows>
- </tcdlist>
- <mcdlist>
- <rows>
- <cdid1/>
- <cdid2/>
- <cond/>
- <condflag/>
- </rows>
- </mcdlist>
- <metstascdlist>
- <rows>
- <cdid1/>
- <cdid2/>
- <cond/>
- <condflag/>
- </rows>
- </metstascdlist>
- <userpopupinfo>
- <param/>
- <flag/>
- <searchitem/>
- </userpopupinfo>
- <tempuserinfo/>
- <tempgrid>
- <prgmnm/>
- <prcsstat/>
- <fromdt/>
- <enddt/>
- </tempgrid>
- </main>
- <send>
- <reqdata/>
- <userinfo>
- <userid/>
- </userinfo>
- <wardcd/>
- <condsave/>
- <srchcond/>
- </send>
- <init>
- <orddept/>
- <relignList/>
- <maryStatList/>
- <jobList/>
- <insukindList/>
- <jobList/>
- <cureRsltList/>
- <dethTypeList/>
- <opDethTypeList/>
- <DschTypeList/>
- <chosProgList/>
- <inPathList/>
- <reInResnList/>
- <reOpResnList/>
- <infccaselist/>
- <infdcpartinfo/>
- <cmpllist/>
- <infccaselist/>
- <womntypeList/>
- <partrtntypeList/>
- <cncrlist/>
- <seer/>
- <staging/>
- <init>
- <ward>
- <wardcd/>
- <wardnm/>
- </ward>
- </init>
- <useynlist>
- <yn>
- <cd>-</cd>
- <nm>전체</nm>
- </yn>
- <yn>
- <cd>01</cd>
- <nm>Y</nm>
- </yn>
- <yn>
- <cd>02</cd>
- <nm>N</nm>
- </yn>
- </useynlist>
- <icudeptlist>
- <icudept>
- <deptcd/>
- <deptnm/>
- </icudept>
- </icudeptlist>
- <indxlist>
- <indx>
- <indxcd>01</indxcd>
- <indxnm>수술전후진단불일치</indxnm>
- </indx>
- </indxlist>
- <condition>
- <rows>
- <cdid>AND</cdid>
- <cdnm>AND</cdnm>
- </rows>
- <rows>
- <cdid>OR</cdid>
- <cdnm>OR</cdnm>
- </rows>
- <rows>
- <cdid>NOT</cdid>
- <cdnm>NOT</cdnm>
- </rows>
- </condition>
- <mdclrsdeptlist/>
- <gsclrsdeptlist/>
- <gyclrsdeptlist/>
- <pdclrsdeptlist/>
- <nulllist>
- <M503>
- <cdid>-</cdid>
- <cdnm>전체</cdnm>
- </M503>
- </nulllist>
- <wundcasclslist/>
- </init>
- <tmp>
- </tmp>
- <hidden>
- <infdcpartinfo>
- <infdcpartlist/>
- </infdcpartinfo>
- </hidden>
- <temp>
- <initlist/>
- </temp>
- <attachfile>
- <datacnt/>
- <fileYn/>
- <filesrc/>
- <list>
- <stdysrchlist/>
- </list>
- </attachfile>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/ward"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMRD00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/stnddd" replace="instance" resultref="/root/temp/initlist"/>
- <submission id="TRMRD01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condsave" resultref="/root/tmp"/>
- <submission id="TRMRD01603" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/indxlist"/>
- <submission id="TRMRD01604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/attachfile"/>
- <submission id="TRMRD01605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" add="bottom" resultref="/root/attachfile"/>
- </model>
- <script type="javascript" src="../../../emr/qiweb/js/SMMQR00000.js"/>
- <script type="javascript" src="../../../emr/dschanalyweb/js/SMMRD01600.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript">
- <![CDATA[
- /*
- * 파일생성현황 변경
- */
- function setPrg(fileNm, sts) {
-
- var row = grd_prglist.rows;
- if(sts == "s"){
- grd_prglist.addRow();
- grd_prglist.valueMatrix(row, grd_prglist.colRef("prgmnm")) = fileNm;
- grd_prglist.valueMatrix(row, grd_prglist.colRef("prcsstat")) = sts;
- grd_prglist.valueMatrix(row, grd_prglist.colRef("fromdt")) = fGetCurrentTime();
- }else{
- var findRow = grd_prglist.findRow(fileNm, 1, grd_prglist.colRef("prgmnm"), false, true);
- grd_prglist.valueMatrix(findRow, grd_prglist.colRef("enddt")) = fGetCurrentTime();
- grd_prglist.valueMatrix(findRow, grd_prglist.colRef("prcsstat")) = sts;
- }
-
- grd_prglist.refresh();
- }
-
- /*
- * 현재시간 가져오기
- */
- function fGetCurrentTime() {
- var nDate = new Date();
- var clock = nDate.getFullYear() + "-";
- clock += (nDate.getMonth() + 1) + "-";
- clock += nDate.getDate();
- var m = nDate.getMinutes();
- var s = nDate.getSeconds();
-
- if(m.length < 2){
- m = "0" + m;
- }
-
- if(s.length < 2){
- s = "0" + s;
- }
-
- var nTime = nDate.getHours() + ":";
- nTime += m + ":";
- nTime += s;
-
- var toDate = clock + " " + nTime;
- return toDate;
- }
-
- function fSetGrpDg(val){
-
- grp_prg.attribute("left") = "270px";
- grp_prg.attribute("top") = "180px";
- grp_prg.visible = val;
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="border-color:#00ccff; border-width:1px; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <iviewer id="iviewer_list" visibility="hidden" src="SMMRD01800_연구용검색 리스트.xrw" style="left:0px; top:45px; width:1186; height:695; "/>
- <group id="grp_cond" style="left:0px; top:45px; width:1186px; height:695px; border-color:#c0c0c0; border-width:1px; border-style:solid; ">
- <line id="line53" class="line_2" style="x1:1px; y1:663px; x2:366px; y2:663px; "/>
- <datagrid id="grd_mcdlist" nodeset="/root/main/mcdlist/rows" caption="M-Code1^M-Code2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:952px; top:260px; width:231px; height:116px; ">
- <col ref="cdid1" type="input"/>
- <col ref="cdid2" type="input"/>
- <col ref="cond" type="combo">
- <choices>
- <itemset nodeset="/root/init/condition/rows">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="condflag" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_mcdlist.col == "1" ){
- //코드2에 데이터가있는데 코드1의 내용을 지울경우
- if(grd_mcdlist.valueMatrix(grd_mcdlist.row, 1) == "" && grd_mcdlist.valueMatrix(grd_mcdlist.row, 2) != ""){
- model.setValue("/root/main/mcdlist/rows["+ grd_mcdlist.row +"]/cdid1", model.getValue("/root/main/mcdlist/rows["+ grd_mcdlist.row +"]/cdid2"));
- model.setValue("/root/main/mcdlist/rows["+ grd_mcdlist.row +"]/cdid2", "");
- }
- }
-
- //코드1이 비었는데 코드2를 입력 불가
- if(grd_mcdlist.col == "2" ){
- if(grd_mcdlist.valueMatrix(grd_mcdlist.row, 1) == ""){
- model.setValue("/root/main/mcdlist/rows["+ grd_mcdlist.row +"]/cdid1", model.getValue("/root/main/mcdlist/rows["+ grd_mcdlist.row +"]/cdid2"));
- model.setValue("/root/main/mcdlist/rows["+ grd_mcdlist.row +"]/cdid2", "");
- }
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <line id="line73" class="line_3" style="x1:717px; y1:338px; x2:947px; y2:338px; "/>
- <caption id="caption102" class="tit_2" style="left:722px; top:238px; width:79px; height:13px; ">주호소</caption>
- <line id="line62" class="line_1" style="x1:716px; y1:496px; x2:947px; y2:496px; "/>
- <line id="line51" class="line_1" style="x1:374px; y1:664px; x2:709px; y2:664px; "/>
- <select id="chk_dschanaly" ref="/root/main/cond/dschanaly" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:374px; top:606px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>퇴원분석</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var dschanaly = model.getValue("/root/main/cond/dschanaly");
- if(dschanaly == "Y"){
- model.setValue("/root/main/cond/baseinfo", "");
- // chk_duplelmn.disabled = true;
- //model.refresh();
- // 2010.11.26. 이은영 컨트롤 초기화하기..
- chk_baseinfo.refresh();
- }
- ]]>
- </script>
- </select>
- <datagrid id="grd_metstascdlist" nodeset="/root/main/metstascdlist/rows" caption="전이코드1^전이코드2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:950px; top:547px; width:231px; height:116px; ">
- <col ref="cdid1" type="input"/>
- <col ref="cdid2" type="input"/>
- <col ref="cond" type="combo">
- <choices>
- <itemset nodeset="/root/init/condition/rows">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="condflag" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_metstascdlist.col == "1" ){
- //코드2에 데이터가있는데 코드1의 내용을 지울경우
- if(grd_metstascdlist.valueMatrix(grd_metstascdlist.row, 1) == "" && grd_metstascdlist.valueMatrix(grd_metstascdlist.row, 2) != ""){
- model.setValue("/root/main/metstascdlist/rows["+ grd_metstascdlist.row +"]/cdid1", model.getValue("/root/main/metstascdlist/rows["+ grd_metstascdlist.row +"]/cdid2"));
- model.setValue("/root/main/metstascdlist/rows["+ grd_metstascdlist.row +"]/cdid2", "");
- }
- }
-
- //코드1이 비었는데 코드2를 입력 불가
- if(grd_metstascdlist.col == "2" ){
- if(grd_metstascdlist.valueMatrix(grd_metstascdlist.row, 1) == ""){
- model.setValue("/root/main/metstascdlist/rows["+ grd_metstascdlist.row +"]/cdid1", model.getValue("/root/main/metstascdlist/rows["+ grd_metstascdlist.row +"]/cdid2"));
- model.setValue("/root/main/metstascdlist/rows["+ grd_metstascdlist.row +"]/cdid2", "");
- }
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_diagcdlist" nodeset="/root/main/diagcdlist/rows" caption="질병코드1^질병코드2^조건^R/O제외^caption1" colsep="^" colwidth="61, 61, 50, 63, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:717px; top:28px; width:230px; height:202px; ">
- <col editable="true" ref="cdid1" type="input"/>
- <col editable="true" ref="cdid2" type="input"/>
- <col ref="cond" type="combo">
- <choices>
- <itemset nodeset="/root/init/condition/rows">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col checkvalue="Y,N" ref="exceptro" type="checkbox"/>
- <col ref="condflag" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_diagcdlist.col == "1" ){
- //코드2에 데이터가있는데 코드1의 내용을 지울경우
- if(grd_diagcdlist.valueMatrix(grd_diagcdlist.row, 1) == "" && grd_diagcdlist.valueMatrix(grd_diagcdlist.row, 2) != ""){
- model.setValue("/root/main/diagcdlist/rows["+ grd_diagcdlist.row +"]/cdid1", model.getValue("/root/main/diagcdlist/rows["+ grd_diagcdlist.row +"]/cdid2"));
- model.setValue("/root/main/diagcdlist/rows["+ grd_diagcdlist.row +"]/cdid2", "");
- model.refresh();
- }
- }
-
- //코드1이 비었는데 코드2를 입력 불가
- if(grd_diagcdlist.col == "2" ){
- if(grd_diagcdlist.valueMatrix(grd_diagcdlist.row, 1) == ""){
- model.setValue("/root/main/diagcdlist/rows["+ grd_diagcdlist.row +"]/cdid1", model.getValue("/root/main/diagcdlist/rows["+ grd_diagcdlist.row +"]/cdid2"));
- model.setValue("/root/main/diagcdlist/rows["+ grd_diagcdlist.row +"]/cdid2", "");
- model.refresh();
- }
- }
-
- ]]>
- </script>
- </datagrid>
- <line id="line63" class="line_3" style="x1:716px; y1:554px; x2:946px; y2:554px; "/>
- <button id="button1" class="btn2_letter3" navindex="8" style="left:1085px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_opcdlist.deleteRow(grd_opcdlist.row, true);
- ]]>
- </script>
- </button>
- <line id="line52" class="line_1" style="x1:717px; y1:23px; x2:948px; y2:23px; "/>
- <button id="button28" class="btn2_letter3" navindex="8" style="left:850px; top:235px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_cclist.deleteRow(grd_cclist.row, true);
- ]]>
- </script>
- </button>
- <button id="button17" class="btn2_letter3" navindex="8" style="left:1083px; top:522px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_metstascdlist.deleteRow(grd_metstascdlist.row, true);
- ]]>
- </script>
- </button>
- <line id="line64" class="line_3" style="x1:951px; y1:519px; x2:1181px; y2:519px; "/>
- <button id="button2" class="btn2_letter3" navindex="7" style="left:1030px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_opcdlist.valueMatrix(grd_opcdlist.rows - 1, 1) == "" || grd_opcdlist.valueMatrix(grd_opcdlist.rows - 1, 3) == ""){
- return;
- }
- grd_opcdlist.addRow();
- var iRow = grd_opcdlist.rows - grd_opcdlist.fixedrows;
- model.setValue("/root/main/opcdlist/rows["+ iRow+"]/cond" , "AND");
- model.setValue("/root/main/opcdlist/rows["+ iRow+"]/condflag" , "F");
- ]]>
- </script>
- </button>
- <select id="checkbox24" ref="/root/main/cond/addr" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:520px; top:586px; width:47px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>주소</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="button29" class="btn2_letter3" navindex="7" style="left:795px; top:235px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_cclist.valueMatrix(grd_cclist.rows - 1, 1) == "" || grd_cclist.valueMatrix(grd_cclist.rows - 1, 3) == ""){
- return;
- }
- grd_cclist.addRow();
- var iRow = grd_cclist.rows - grd_cclist.fixedrows;
- model.setValue("/root/main/cclist/rows["+ iRow+"]/cond" , "AND");
- model.setValue("/root/main/cclist/rows["+ iRow+"]/condflag" , "B");
-
- ]]>
- </script>
- </button>
- <line id="line43" class="line_1" style="x1:717px; y1:255px; x2:948px; y2:255px; "/>
- <button id="button18" class="btn2_letter3" navindex="7" style="left:1028px; top:522px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_metstascdlist.valueMatrix(grd_metstascdlist.rows - 1, 1) == "" || grd_metstascdlist.valueMatrix(grd_metstascdlist.rows - 1, 3) == ""){
- return;
- }
- grd_metstascdlist.addRow();
- var iRow = grd_metstascdlist.rows - grd_metstascdlist.fixedrows;
- model.setValue("/root/main/metstascdlist/rows["+ iRow+"]/cond" , "AND");
- model.setValue("/root/main/metstascdlist/rows["+ iRow+"]/condflag" , "I");
-
- ]]>
- </script>
- </button>
- <caption id="caption95" class="tit_2" style="left:956px; top:386px; width:79px; height:13px; ">T-Code</caption>
- <line id="line65" class="line_1" style="x1:951px; y1:401px; x2:1182px; y2:401px; "/>
- <caption id="caption51" class="tit_2" style="left:722px; top:350px; width:79px; height:13px; ">전과코드</caption>
- <button id="button3" class="btn2_letter3" navindex="8" style="left:850px; top:557px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_cnstcdlist.deleteRow(grd_cnstcdlist.row, true);
- ]]>
- </script>
- </button>
- <line id="line54" class="line_3" style="x1:717px; y1:232px; x2:947px; y2:232px; "/>
- <button id="button19" class="btn2_letter3" navindex="8" style="left:1085px; top:235px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_mcdlist.deleteRow(grd_mcdlist.row, true);
- ]]>
- </script>
- </button>
- <select id="chk_baseinfo" ref="/root/main/cond/baseinfo" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:374px; top:586px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>기본정보</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var baseinfo = model.getValue("/root/main/cond/baseinfo");
- if(baseinfo == "Y"){
- model.setValue("/root/main/cond/dschanaly", "");
- model.setValue("/root/main/cond/sickandop", "");
- model.setValue("/root/main/cond/cncrpat", "");
- model.setValue("/root/main/cond/opkind", "N");
- model.setValue("/root/main/cond/partrtnkind", "N");
- model.setValue("/root/main/cond/chngdeptkind", "N");
- model.setValue("/root/main/cond/cnstkind", "N");
- // chk_duplelmn.disabled = false;
- chk_opt.value = "";
- //model.refresh();
- // 2010.11.26. 이은영 컨트롤 초기화하기..
- chk_dschanaly.refresh();
- chk_sickandop.refresh();
- chk_cncrpat.refresh();
- rdo_opkind.refresh();
- rdo_partrtnkind.refresh();
- rdo_chngdeptkind.refresh();
- rdo_cnstkind.refresh();
- chk_baseinfo.refresh();
- }
-
- ]]>
- </script>
- </select>
- <select id="checkbox1" ref="/root/main/cond/kinddethcd" overflow="visible" appearance="full" cols="3" rows="1" sep="','" style="left:719px; top:458px; width:205px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>선행사인</label>
- <value>B</value>
- </item>
- <item>
- <label>중간사인</label>
- <value>M</value>
- </item>
- <item>
- <label>직접사인</label>
- <value>D</value>
- </item>
- </choices>
- </select>
- <line id="line66" class="line_3" style="x1:716px; y1:665px; x2:946px; y2:665px; "/>
- <button id="button4" class="btn2_letter3" navindex="7" style="left:795px; top:557px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_cnstcdlist.valueMatrix(grd_cnstcdlist.rows - 1, 1) == "" || grd_cnstcdlist.valueMatrix(grd_cnstcdlist.rows - 1, 3) == ""){
- return;
- }
- grd_cnstcdlist.addRow();
- var iRow = grd_cnstcdlist.rows - grd_cnstcdlist.fixedrows;
- model.setValue("/root/main/cnstcdlist/rows["+ iRow+"]/cond" , "AND");
- model.setValue("/root/main/cnstcdlist/rows["+ iRow+"]/condflag" , "E");
-
-
- ]]>
- </script>
- </button>
- <line id="line55" class="line_1" style="x1:717px; y1:365px; x2:948px; y2:365px; "/>
- <select id="checkbox26" ref="/root/main/cond/rrgstno" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:570px; top:586px; width:73px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>주민번호</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <line id="line56" class="line_3" style="x1:374px; y1:643px; x2:709px; y2:643px; "/>
- <datagrid id="grd_tcdlist" nodeset="/root/main/tcdlist/rows" caption="T-Code1^T-Code2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:951px; top:406px; width:231px; height:111px; ">
- <col ref="cdid1" type="input"/>
- <col ref="cdid2" type="input"/>
- <col ref="cond" type="combo">
- <choices>
- <itemset nodeset="/root/init/condition/rows">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="condflag" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_tcdlist.col == "1" ){
- //코드2에 데이터가있는데 코드1의 내용을 지울경우
- if(grd_tcdlist.valueMatrix(grd_tcdlist.row, 1) == "" && grd_tcdlist.valueMatrix(grd_tcdlist.row, 2) != ""){
- model.setValue("/root/main/tcdlist/rows["+ grd_tcdlist.row +"]/cdid1", model.getValue("/root/main/tcdlist/rows["+ grd_tcdlist.row +"]/cdid2"));
- model.setValue("/root/main/tcdlist/rows["+ grd_tcdlist.row +"]/cdid2", "");
- }
- }
-
- //코드1이 비었는데 코드2를 입력 불가
- if(grd_tcdlist.col == "2" ){
- if(grd_tcdlist.valueMatrix(grd_tcdlist.row, 1) == ""){
- model.setValue("/root/main/tcdlist/rows["+ grd_tcdlist.row +"]/cdid1", model.getValue("/root/main/tcdlist/rows["+ grd_tcdlist.row +"]/cdid2"));
- model.setValue("/root/main/tcdlist/rows["+ grd_tcdlist.row +"]/cdid2", "");
- }
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <caption id="caption97" class="tit_2" style="left:955px; top:527px; width:79px; height:13px; ">전이코드</caption>
- <button id="button5" class="btn2_letter3" navindex="8" style="left:850px; top:345px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_chngcdlist.deleteRow(grd_chngcdlist.row, true);
- ]]>
- </script>
- </button>
- <caption id="caption86" class="tit_2" style="left:379px; top:566px; width:123px; height:13px; ">출력옵션</caption>
- <line id="line68" class="line_1" style="x1:952px; y1:255px; x2:1183px; y2:255px; "/>
- <caption id="caption98" class="tit_2" style="left:957px; top:240px; width:79px; height:13px; ">M-Code</caption>
- <select id="checkbox27" ref="/root/main/cond/cntctel" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:642px; top:586px; width:73px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전화번호</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <line id="line57" class="line_3" style="x1:372px; y1:689px; x2:707px; y2:689px; "/>
- <datagrid id="grd_opcdlist" nodeset="/root/main/opcdlist/rows" caption="수술코드1^수술코드2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:952px; top:27px; width:230px; height:203px; ">
- <col ref="cdid1" type="input"/>
- <col ref="cdid2" type="input"/>
- <col ref="cond" type="combo">
- <choices>
- <itemset nodeset="/root/init/condition/rows">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="condflag" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_opcdlist.col == "1" ){
- //코드2에 데이터가있는데 코드1의 내용을 지울경우
- if(grd_opcdlist.valueMatrix(grd_opcdlist.row, 1) == "" && grd_opcdlist.valueMatrix(grd_opcdlist.row, 2) != ""){
- model.setValue("/root/main/opcdlist/rows["+ grd_opcdlist.row +"]/cdid1", model.getValue("/root/main/opcdlist/rows["+ grd_opcdlist.row +"]/cdid2"));
- model.setValue("/root/main/opcdlist/rows["+ grd_opcdlist.row +"]/cdid2", "");
- }
- }
-
- //코드1이 비었는데 코드2를 입력 불가
- if(grd_opcdlist.col == "2" ){
- if(grd_opcdlist.valueMatrix(grd_opcdlist.row, 1) == ""){
- model.setValue("/root/main/opcdlist/rows["+ grd_opcdlist.row +"]/cdid1", model.getValue("/root/main/opcdlist/rows["+ grd_opcdlist.row +"]/cdid2"));
- model.setValue("/root/main/opcdlist/rows["+ grd_opcdlist.row +"]/cdid2", "");
- }
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="button6" class="btn2_letter3" navindex="7" style="left:795px; top:345px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_chngcdlist.valueMatrix(grd_chngcdlist.rows - 1, 1) == "" || grd_chngcdlist.valueMatrix(grd_chngcdlist.rows - 1, 3) == ""){
- return;
- }
- grd_chngcdlist.addRow();
- var iRow = grd_chngcdlist.rows - grd_chngcdlist.fixedrows;
- model.setValue("/root/main/chngcdlist/rows["+ iRow+"]/cond" , "AND");
- model.setValue("/root/main/chngcdlist/rows["+ iRow+"]/condflag" , "C");
-
-
- ]]>
- </script>
- </button>
- <caption id="caption87" class="tit_2" style="left:379px; top:647px; width:126px; height:13px; ">확장코드 검색조건</caption>
- <line id="line69" class="line_3" style="x1:952px; y1:377px; x2:1182px; y2:377px; "/>
- <line id="line58" class="line_1" style="x1:716px; y1:577px; x2:947px; y2:577px; "/>
- <caption id="caption88" class="tit_2" style="left:722px; top:8px; width:79px; height:13px; ">질병코드</caption>
- <group id="group4" style="left:372px; top:52px; width:340px; height:293px; ">
- <line id="line31" class="line_2" style="x1:0px; y1:266px; x2:335px; y2:266px; "/>
- <line id="line39" class="line_2" style="x1:0px; y1:242px; x2:335px; y2:242px; "/>
- <line id="line38" class="line_2" style="x1:0px; y1:218px; x2:335px; y2:218px; "/>
- <line id="line36" class="line_2" style="x1:0px; y1:194px; x2:335px; y2:194px; "/>
- <line id="line60" class="line_2" style="x1:0px; y1:144px; x2:335px; y2:144px; "/>
- <select1 id="combo16" ref="/root/main/cond/cnstexecdeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:82px; top:245px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var deptcd = model.getValue("/root/main/cond/cnstexecdeptcd");
- switch(deptcd){
- case "2010000000":
- cmb_cnstexeclrsdeptcd.choices.itemset.attribute("nodeset") = "/root/init/mdclrsdeptlist/M0500";
- break;
- case "2040000000":
- cmb_cnstexeclrsdeptcd.choices.itemset.attribute("nodeset") = "/root/init/gsclrsdeptlist/M0501";
- break;
- case "2100000000":
- cmb_cnstexeclrsdeptcd.choices.itemset.attribute("nodeset") = "/root/init/gyclrsdeptlist/M0502";
- break;
- case "2110000000":
- cmb_cnstexeclrsdeptcd.choices.itemset.attribute("nodeset") = "/root/init/pdclrsdeptlist/M0503";
- break;
- default:
- cmb_cnstexeclrsdeptcd.choices.itemset.attribute("nodeset") = "/root/init/nulllist/M503";
- break;
- }
- cmb_cnstexeclrsdeptcd.refresh();
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption93" class="search_no_b" style="left:284px; top:74px; width:12px; height:17px; ">~</caption>
- <caption id="caption60" class="cell_1" style="left:0px; top:122px; width:80px; height:23px; ">전출과</caption>
- <line id="line30" class="line_2" style="x1:0px; y1:46px; x2:335px; y2:46px; "/>
- <input id="input9" ref="/root/main/cond/prgweekto" class="input_search" navindex="40" format="999" appearance="input" style="left:300px; top:49px; width:30px; height:19px; "/>
- <caption id="caption61" class="cell_1" style="left:0px; top:24px; width:80px; height:23px; ">산모형태</caption>
- <caption id="caption62" class="cell_1" style="left:0px; top:196px; width:80px; height:23px; ">협진의뢰과</caption>
- <line id="line32" class="line_2" style="x1:0px; y1:120px; x2:335px; y2:120px; "/>
- <caption id="caption63" class="cell_1" style="left:167px; top:196px; width:80px; height:23px; ">분과</caption>
- <line id="line33" class="line_2" style="x1:0px; y1:70px; x2:335px; y2:70px; "/>
- <caption id="caption52" class="cell_1" style="left:167px; top:72px; width:80px; height:23px; ">신생아체중</caption>
- <input id="input20" ref="/root/main/cond/nbabybdwtqtyfrom" class="input_search" navindex="39" appearance="input" style="left:249px; top:73px; width:30px; height:19px; "/>
- <caption id="caption64" class="search_no_b" style="left:184px; top:174px; width:12px; height:17px; ">~</caption>
- <caption id="caption53" class="cell_1" style="left:167px; top:122px; width:80px; height:23px; ">분과</caption>
- <input id="input21" ref="/root/main/cond/nbabybdwtqtyto" class="input_search" navindex="40" appearance="input" style="left:300px; top:73px; width:30px; height:19px; "/>
- <input id="input22" ref="/root/main/cond/cnstreqtodd" class="input_search" inputtype="date" style="left:197px; top:173px; width:100px; height:19px; "/>
- <caption id="caption65" class="cell_1" style="left:0px; top:172px; width:80px; height:23px; ">협진의뢰일</caption>
- <caption id="caption54" class="cell_1" style="left:0px; top:48px; width:80px; height:23px; ">분만형태</caption>
- <caption id="caption66" class="cell_1" style="left:0px; top:244px; width:80px; height:23px; ">협진시행과</caption>
- <input id="input23" ref="/root/main/cond/cnstreqfromdd" class="input_search" inputtype="date" style="left:82px; top:173px; width:100px; height:19px; "/>
- <caption id="caption55" class="search_no_b" style="left:184px; top:100px; width:12px; height:17px; ">~</caption>
- <input id="input24" ref="/root/main/cond/cnstexectodd" class="input_search" inputtype="date" style="left:197px; top:221px; width:100px; height:19px; "/>
- <caption id="caption67" class="cell_1" style="left:167px; top:243px; width:80px; height:23px; ">분과</caption>
- <caption id="caption56" class="search_no_b" style="left:184px; top:2px; width:12px; height:17px; ">~</caption>
- <input id="input25" ref="/root/main/cond/cnstexecfromdd" class="input_search" inputtype="date" style="left:82px; top:221px; width:100px; height:19px; "/>
- <caption id="caption68" class="search_no_b" style="left:184px; top:222px; width:12px; height:17px; ">~</caption>
- <caption id="caption69" class="cell_1" style="left:0px; top:220px; width:80px; height:23px; ">협진시행일</caption>
- <select id="checkbox7" ref="/root/main/cond/stlborncd" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:249px; top:26px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <caption id="caption58" class="cell_1" style="left:0px; top:0px; width:80px; height:23px; ">분만일</caption>
- <input id="input27" ref="/root/main/cond/partrtntodd" class="input_search" inputtype="date" style="left:197px; top:1px; width:100; height:19px; "/>
- <caption id="caption59" class="cell_1" style="left:0px; top:98px; width:80px; height:23px; ">전출일</caption>
- <line id="line29" class="line_2" style="x1:0px; y1:22px; x2:335px; y2:22px; "/>
- <input id="input17" ref="/root/main/cond/prgweekfrom" class="input_search" navindex="39" format="999" appearance="input" style="left:249px; top:49px; width:30px; height:19px; "/>
- <input id="input28" ref="/root/main/cond/partrtnfromdd" class="input_search" inputtype="date" style="left:82px; top:1px; width:100; height:19px; "/>
- <caption id="caption49" class="cell_1" style="left:167px; top:48px; width:80px; height:23px; ">임신주수</caption>
- <input id="input18" ref="/root/main/cond/chngdepttodd" class="input_search" inputtype="date" style="left:197px; top:99px; width:100px; height:19px; "/>
- <select1 id="combo12" ref="/root/main/cond/chngdeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:82px; top:123px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var deptcd = model.getValue("/root/main/cond/chngdeptcd");
- switch(deptcd){
- case "2010000000":
- cmb_chngclsdept.choices.itemset.attribute("nodeset") = "/root/init/mdclrsdeptlist/M0500";
- break;
- case "2040000000":
- cmb_chngclsdept.choices.itemset.attribute("nodeset") = "/root/init/gsclrsdeptlist/M0501";
- break;
- case "2100000000":
- cmb_chngclsdept.choices.itemset.attribute("nodeset") = "/root/init/gyclrsdeptlist/M0502";
- break;
- case "2110000000":
- cmb_chngclsdept.choices.itemset.attribute("nodeset") = "/root/init/pdclrsdeptlist/M0503";
- break;
- default:
- cmb_chngclsdept.choices.itemset.attribute("nodeset") = "/root/init/nulllist/M503";
- break;
- }
- cmb_chngclsdept.refresh();
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="input19" ref="/root/main/cond/chngdeptfromdd" class="input_search" inputtype="date" style="left:82px; top:99px; width:100px; height:19px; "/>
- <caption id="caption100" class="search_no_b" style="left:284px; top:49px; width:12px; height:17px; ">~</caption>
- <select1 id="combo14" ref="/root/main/cond/cnstreqdeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:82px; top:197px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var deptcd = model.getValue("/root/main/cond/cnstreqdeptcd");
- switch(deptcd){
- case "2010000000":
- cmb_cnstclsdept.choices.itemset.attribute("nodeset") = "/root/init/mdclrsdeptlist/M0500";
- break;
- case "2040000000":
- cmb_cnstclsdept.choices.itemset.attribute("nodeset") = "/root/init/gsclrsdeptlist/M0501";
- break;
- case "2100000000":
- cmb_cnstclsdept.choices.itemset.attribute("nodeset") = "/root/init/gyclrsdeptlist/M0502";
- break;
- case "2110000000":
- cmb_cnstclsdept.choices.itemset.attribute("nodeset") = "/root/init/pdclrsdeptlist/M0503";
- break;
- default:
- cmb_cnstclsdept.choices.itemset.attribute("nodeset") = "/root/init/nulllist/M503";
- break;
- }
- cmb_cnstclsdept.refresh();
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption91" class="cell_1" style="left:167px; top:24px; width:80px; height:23px; ">사산여부</caption>
- <select1 id="cmb_womntypeList" ref="/root/main/cond/womntypecd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:82px; top:25px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/womntypeList/M0165">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_partrtntypeList" ref="/root/main/cond/partrtnkindcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:82px; top:49px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/partrtntypeList/M0086">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption92" class="cell_1" style="left:0px; top:72px; width:80px; height:23px; ">분류</caption>
- <caption id="caption94" class="cell_1" style="left:0px; top:146px; width:80px; height:23px; ">분류</caption>
- <line id="line35" class="line_3" style="x1:0px; y1:169px; x2:335px; y2:169px; "/>
- <caption id="caption96" class="cell_1" style="left:0px; top:268px; width:80px; height:23px; ">분류</caption>
- <line id="line37" class="line_3" style="x1:0px; y1:291px; x2:335px; y2:291px; "/>
- <line id="line34" class="line_3" style="x1:0px; y1:95px; x2:335px; y2:95px; "/>
- <select1 id="cmb_chngclsdept" ref="/root/main/cond/chngclsdept" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:250px; top:123px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/pdclrsdeptlist/M0503">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_cnstclsdept" ref="/root/main/cond/cnstclsdept" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:250px; top:197px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/pdclrsdeptlist/M0503">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_cnstexeclrsdeptcd" ref="/root/main/cond/cnstexeclrsdeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:250px; top:245px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/pdclrsdeptlist/M0503">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_partrtnkind" ref="/root/main/cond/partrtnkind" appearance="full" cols="2" overflow="visible" style="left:80px; top:75px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- <item>
- <label>회차</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_partrtnkind.value == "Y"){
- model.setValue("/root/main/cond/opkind", "N");
- model.setValue("/root/main/cond/chngdeptkind", "N");
- model.setValue("/root/main/cond/cnstkind", "N");
- model.setValue("/root/main/cond/baseinfo", "");
- // chk_duplelmn.disabled = true;
- }
- //model.refresh();
- // 2010.11.26. 이은영 컨트롤 초기화하기..
- rdo_opkind.refresh();
- rdo_partrtnkind.refresh();
- rdo_chngdeptkind.refresh();
- rdo_cnstkind.refresh();
- chk_baseinfo.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_chngdeptkind" ref="/root/main/cond/chngdeptkind" appearance="full" cols="2" overflow="visible" style="left:80px; top:149px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- <item>
- <label>회차</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_chngdeptkind.value == "Y"){
- model.setValue("/root/main/cond/opkind", "N");
- model.setValue("/root/main/cond/partrtnkind", "N");
- model.setValue("/root/main/cond/cnstkind", "N");
- model.setValue("/root/main/cond/baseinfo", "");
- // chk_duplelmn.disabled = true;
- }
- //model.refresh();
- // 2010.11.26. 이은영 컨트롤 초기화하기..
- rdo_opkind.refresh();
- rdo_partrtnkind.refresh();
- rdo_chngdeptkind.refresh();
- rdo_cnstkind.refresh();
- chk_baseinfo.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_cnstkind" ref="/root/main/cond/cnstkind" appearance="full" cols="2" overflow="visible" style="left:80px; top:271px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- <item>
- <label>회차</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_cnstkind.value == "Y"){
- model.setValue("/root/main/cond/opkind", "N");
- model.setValue("/root/main/cond/partrtnkind", "N");
- model.setValue("/root/main/cond/chngdeptkind", "N");
- model.setValue("/root/main/cond/baseinfo", "");
- // chk_duplelmn.disabled = true;
- }
- //model.refresh();
- // 2010.11.26. 이은영 컨트롤 초기화하기..
- rdo_opkind.refresh();
- rdo_partrtnkind.refresh();
- rdo_chngdeptkind.refresh();
- rdo_cnstkind.refresh();
- chk_baseinfo.refresh();
- ]]>
- </script>
- </select1>
- <group id="group3" scroll="autovscroll" style="left:55px; top:74px; width:18px; height:19px; border-color:#00ccff; border-style:solid; ">
- <select id="chk_partrtnkind" ref="/root/main/cond/allwomntypecd" overflow="visible" appearance="full" style="left:0px; top:0px; width:85px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>분만정보만</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- group3.attribute("width") = "125";
- group3.attribute("height") = "46";
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseout">
- <![CDATA[
- group3.attribute("width") = "18";
- group3.attribute("height") = "19";
- ]]>
- </script>
- </group>
- </group>
- <caption id="caption89" class="tit_2" style="left:722px; top:562px; width:79px; height:13px; ">협진코드</caption>
- <line id="line59" class="line_3" style="x1:952px; y1:232px; x2:1182px; y2:232px; "/>
- <line id="line26" class="line_1" style="x1:952px; y1:22px; x2:1183px; y2:22px; "/>
- <datagrid id="grd_directcdlist" nodeset="/root/main/directcdlist/rows" caption="직접사인1^직접사인2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:716px; top:501px; width:231px; height:51px; ">
- <col ref="cdid1" type="input"/>
- <col ref="cdid2" type="input"/>
- <col ref="cond" type="combo">
- <choices>
- <itemset nodeset="/root/init/condition/rows">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="condflag" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_directcdlist.col == "1" ){
- //코드2에 데이터가있는데 코드1의 내용을 지울경우
- if(grd_directcdlist.valueMatrix(grd_directcdlist.row, 1) == "" && grd_directcdlist.valueMatrix(grd_directcdlist.row, 2) != ""){
- model.setValue("/root/main/directcdlist/rows["+ grd_directcdlist.row +"]/cdid1", model.getValue("/root/main/directcdlist/rows["+ grd_directcdlist.row +"]/cdid2"));
- model.setValue("/root/main/directcdlist/rows["+ grd_directcdlist.row +"]/cdid2", "");
- }
- }
-
- //코드1이 비었는데 코드2를 입력 불가
- if(grd_directcdlist.col == "2" ){
- if(grd_directcdlist.valueMatrix(grd_directcdlist.row, 1) == ""){
- model.setValue("/root/main/directcdlist/rows["+ grd_directcdlist.row +"]/cdid1", model.getValue("/root/main/directcdlist/rows["+ grd_directcdlist.row +"]/cdid2"));
- model.setValue("/root/main/directcdlist/rows["+ grd_directcdlist.row +"]/cdid2", "");
- }
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <group id="group5" style="left:372px; top:347px; width:340px; height:70px; ">
- <caption id="caption70" class="tit_2" style="left:5px; top:-1px; width:123px; height:13px; ">질병 및 수술 분류</caption>
- <caption id="caption71" class="cell_1" style="left:0px; top:44px; width:80px; height:23px; ">전염병</caption>
- <line id="line41" class="line_1" style="x1:0px; y1:14px; x2:335px; y2:14px; "/>
- <line id="line42" class="line_2" style="x1:0px; y1:42px; x2:335px; y2:42px; "/>
- <caption id="caption72" class="cell_1" style="left:0px; top:20px; width:80px; height:23px; ">종양구분</caption>
- <caption id="caption73" class="cell_1" style="left:167px; top:20px; width:105px; height:23px; ">법정전염병 종류</caption>
- <caption id="caption74" class="cell_1" style="left:167px; top:44px; width:80px; height:23px; ">가코딩</caption>
- <select id="checkbox8" ref="/root/main/cond/infdisyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:81px; top:45px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <select id="checkbox9" ref="/root/main/cond/tmpcodeyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" sep="','" style="left:248px; top:44px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <select1 id="cmb_cncrflag" ref="/root/main/cond/cncrflag" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:82px; top:21px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cncrlist/M0433">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line40" class="line_3" style="x1:0px; y1:67px; x2:335px; y2:67px; "/>
- </group>
- <button id="button9" class="btn2_letter3" navindex="8" style="left:1084px; top:381px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_tcdlist.deleteRow(grd_tcdlist.row, true);
- ]]>
- </script>
- </button>
- <datagrid id="grd_cclist" nodeset="/root/main/cclist/rows" caption="주호소1^주호소2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:717px; top:260px; width:230px; height:76px; ">
- <col ref="cdid1" type="input"/>
- <col ref="cdid2" type="input"/>
- <col ref="cond" type="combo">
- <choices>
- <itemset nodeset="/root/init/condition/rows">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="condflag" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_cclist.col == "1" ){
- //코드2에 데이터가있는데 코드1의 내용을 지울경우
- if(grd_cclist.valueMatrix(grd_cclist.row, 1) == "" && grd_cclist.valueMatrix(grd_cclist.row, 2) != ""){
- model.setValue("/root/main/cclist/rows["+ grd_cclist.row +"]/cdid1", model.getValue("/root/main/cclist/rows["+ grd_cclist.row +"]/cdid2"));
- model.setValue("/root/main/cclist/rows["+ grd_cclist.row +"]/cdid2", "");
- }
- }
-
- //코드1이 비었는데 코드2를 입력 불가
- if(grd_cclist.col == "2" ){
- if(grd_cclist.valueMatrix(grd_cclist.row, 1) == ""){
- model.setValue("/root/main/cclist/rows["+ grd_cclist.row +"]/cdid1", model.getValue("/root/main/cclist/rows["+ grd_cclist.row +"]/cdid2"));
- model.setValue("/root/main/cclist/rows["+ grd_cclist.row +"]/cdid2", "");
- }
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <select1 id="radio1" ref="/root/main/cond/icd10" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:377px; top:669px; width:150px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>ICD10</label>
- <value>I</value>
- </item>
- <item>
- <label>확장코드</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- <datagrid id="grd_chngcdlist" nodeset="/root/main/chngcdlist/rows" caption="전과코드1^전과코드2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:717px; top:370px; width:231px; height:81px; ">
- <col ref="cdid1" type="input"/>
- <col ref="cdid2" type="input"/>
- <col ref="cond" type="combo">
- <choices>
- <itemset nodeset="/root/init/condition/rows">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="condflag" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_chngcdlist.col == "1" ){
- //코드2에 데이터가있는데 코드1의 내용을 지울경우
- if(grd_chngcdlist.valueMatrix(grd_chngcdlist.row, 1) == "" && grd_chngcdlist.valueMatrix(grd_chngcdlist.row, 2) != ""){
- model.setValue("/root/main/chngcdlist/rows["+ grd_chngcdlist.row +"]/cdid1", model.getValue("/root/main/chngcdlist/rows["+ grd_chngcdlist.row +"]/cdid2"));
- model.setValue("/root/main/chngcdlist/rows["+ grd_chngcdlist.row +"]/cdid2", "");
- }
- }
-
- //코드1이 비었는데 코드2를 입력 불가
- if(grd_chngcdlist.col == "2" ){
- if(grd_chngcdlist.valueMatrix(grd_chngcdlist.row, 1) == ""){
- model.setValue("/root/main/chngcdlist/rows["+ grd_chngcdlist.row +"]/cdid1", model.getValue("/root/main/chngcdlist/rows["+ grd_chngcdlist.row +"]/cdid2"));
- model.setValue("/root/main/chngcdlist/rows["+ grd_chngcdlist.row +"]/cdid2", "");
- }
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <group id="group6" style="left:372px; top:420px; width:340px; height:143px; ">
- <caption id="caption81" class="cell_1" style="left:167px; top:69px; width:80px; height:23px; ">ECOG</caption>
- <select id="checkbox10" ref="/root/main/cond/prmycncryn" overflow="visible" appearance="full" cellspacing="8" cols="2" rows="1" style="left:96px; top:23px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <caption id="caption82" class="cell_1" style="left:167px; top:93px; width:80px; height:23px; ">내원전치료</caption>
- <select id="checkbox11" ref="/root/main/cond/dethyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:249px; top:22px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <caption id="caption83" class="cell_1" style="left:0px; top:93px; width:80px; height:23px; ">Regimen</caption>
- <select id="checkbox12" ref="/root/main/cond/rerntmetstaspart" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:81px; top:71px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <caption id="caption84" class="cell_1" style="left:167px; top:117px; width:95px; height:23px; ">본원치료(전이)</caption>
- <select id="checkbox13" ref="/root/main/cond/ecog" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:249px; top:70px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <caption id="caption85" class="cell_1" style="left:0px; top:117px; width:95px; height:23px; ">본원치료(원발)</caption>
- <select id="checkbox14" ref="/root/main/cond/regimen" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:81px; top:95px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <line id="line44" class="line_1" style="x1:0px; y1:15px; x2:335px; y2:15px; "/>
- <select id="checkbox15" ref="/root/main/cond/chosbfcuremthd" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:249px; top:94px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <line id="line45" class="line_2" style="x1:0px; y1:43px; x2:335px; y2:43px; "/>
- <caption id="caption75" class="tit_2" style="left:5px; top:0px; width:123px; height:13px; ">암환자 관리</caption>
- <select id="checkbox16" ref="/root/main/cond/prmypart" overflow="visible" appearance="full" cellspacing="8" cols="2" rows="1" style="left:96px; top:119px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <line id="line46" class="line_2" style="x1:0px; y1:67px; x2:335px; y2:67px; "/>
- <caption id="caption76" class="cell_1" style="left:0px; top:21px; width:95px; height:23px; ">다발성 원발암</caption>
- <select id="checkbox17" ref="/root/main/cond/metstaspart" overflow="visible" appearance="full" cellspacing="8" cols="2" rows="1" style="left:264px; top:119px; width:65px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <line id="line47" class="line_2" style="x1:0px; y1:91px; x2:335px; y2:91px; "/>
- <caption id="caption77" class="cell_1" style="left:167px; top:21px; width:80px; height:23px; ">사망여부</caption>
- <line id="line48" class="line_2" style="x1:0px; y1:115px; x2:335px; y2:115px; "/>
- <caption id="caption78" class="cell_1" style="left:167px; top:45px; width:80px; height:23px; vertical-align:middle; ">병기</caption>
- <line id="line49" class="line_3" style="x1:0px; y1:140px; x2:335px; y2:140px; "/>
- <caption id="caption79" class="cell_1" style="left:0px; top:45px; width:80px; height:23px; vertical-align:middle; ">SEER</caption>
- <caption id="caption80" class="cell_1" style="left:0px; top:69px; width:80px; height:23px; ">전이여부</caption>
- <select1 id="cmb_staging" ref="/root/main/cond/staging" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:47px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dethTypeList/M0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_seer" ref="/root/main/cond/seer" class="combo_search" appearance="minimal" showvalue="false" style="left:82px; top:47px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/seer/M0184">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:2px; y1:22px; x2:713px; y2:22px; "/>
- <button id="button20" class="btn2_letter3" navindex="7" style="left:1030px; top:235px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_mcdlist.valueMatrix(grd_mcdlist.rows - 1, 1) == "" || grd_mcdlist.valueMatrix(grd_mcdlist.rows - 1, 3) == ""){
- return;
- }
- grd_mcdlist.addRow();
- var iRow = grd_mcdlist.rows - grd_mcdlist.fixedrows;
- model.setValue("/root/main/mcdlist/rows["+ iRow+"]/cond" , "AND");
- model.setValue("/root/main/mcdlist/rows["+ iRow+"]/condflag" , "G");
-
-
- ]]>
- </script>
- </button>
- <caption id="caption48" class="tit_2" style="left:957px; top:5px; width:79px; height:13px; ">수술코드</caption>
- <datagrid id="grd_cnstcdlist" nodeset="/root/main/cnstcdlist/rows" caption="협진코드1^협진코드2^조건^caption1" colsep="^" colwidth="75, 75, 50, 0" dataheight="23" extendlastcol="scroll" rowheader="update" rowheight="23" rowsep="|" selectionmode="free" style="left:716px; top:582px; width:231px; height:81px; ">
- <col ref="cdid1" type="input"/>
- <col ref="cdid2" type="input"/>
- <col ref="cond" type="combo">
- <choices>
- <itemset nodeset="/root/init/condition/rows">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="condflag" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_cnstcdlist.col == "1" ){
- //코드2에 데이터가있는데 코드1의 내용을 지울경우
- if(grd_cnstcdlist.valueMatrix(grd_cnstcdlist.row, 1) == "" && grd_cnstcdlist.valueMatrix(grd_cnstcdlist.row, 2) != ""){
- model.setValue("/root/main/cnstcdlist/rows["+ grd_cnstcdlist.row +"]/cdid1", model.getValue("/root/main/cnstcdlist/rows["+ grd_cnstcdlist.row +"]/cdid2"));
- model.setValue("/root/main/cnstcdlist/rows["+ grd_cnstcdlist.row +"]/cdid2", "");
- }
- }
-
- //코드1이 비었는데 코드2를 입력 불가
- if(grd_cnstcdlist.col == "2" ){
- if(grd_cnstcdlist.valueMatrix(grd_cnstcdlist.row, 1) == ""){
- model.setValue("/root/main/cnstcdlist/rows["+ grd_cnstcdlist.row +"]/cdid1", model.getValue("/root/main/cnstcdlist/rows["+ grd_cnstcdlist.row +"]/cdid2"));
- model.setValue("/root/main/cnstcdlist/rows["+ grd_cnstcdlist.row +"]/cdid2", "");
- }
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="button21" class="btn4_letter9" style="left:1037px; top:669px; width:140px; height:22px; ">
- <caption>저장 조건 불러오기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- setParameter("flag", "L");
- modal("SMMRD01700", "1", "", "");
-
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter3" navindex="8" style="left:850px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_diagcdlist.deleteRow(grd_diagcdlist.row, true);
- ]]>
- </script>
- </button>
- <select id="chk_sickandop" ref="/root/main/cond/sickandop" disabled="false" visibility="visible" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:448px; top:606px; width:120px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>질병 및 수술 코드</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sickandop = model.getValue("/root/main/cond/sickandop");
- if(sickandop == "Y"){
- model.setValue("/root/main/cond/baseinfo", "");
- // chk_duplelmn.disabled = true;
- //model.refresh();
- // 2010.11.26. 이은영 컨트롤 초기화하기..
- chk_baseinfo.refresh();
- }
- ]]>
- </script>
- </select>
- <button id="button11" class="btn2_letter3" navindex="7" style="left:795px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_diagcdlist.valueMatrix(grd_diagcdlist.rows - 1, 1) == "" || grd_diagcdlist.valueMatrix(grd_diagcdlist.rows - 1, 3) == ""){
- return;
- }
- grd_diagcdlist.addRow();
- var iRow = grd_diagcdlist.rows - grd_diagcdlist.fixedrows;
- model.setValue("/root/main/diagcdlist/rows["+ iRow+"]/cond" , "AND");
- model.setValue("/root/main/diagcdlist/rows["+ iRow+"]/condflag" , "A");
- model.setValue("/root/main/diagcdlist/rows["+ iRow+"]/exceptro" , "N"); //20101110-김양수-R/O제외추가
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter4" disabled="false" style="left:953px; top:669px; width:80px; height:22px; ">
- <caption>조건저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("flag", "S");
- modal("SMMRD01700", "1", "", "");
-
-
- ]]>
- </script>
- </button>
- <line id="line70" class="line_3" style="x1:950px; y1:665px; x2:1180px; y2:665px; "/>
- <button id="button12" class="btn2_letter3" navindex="7" style="left:1029px; top:381px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_tcdlist.valueMatrix(grd_tcdlist.rows - 1, 1) == "" || grd_tcdlist.valueMatrix(grd_tcdlist.rows - 1, 3) == ""){
- return;
- }
- grd_tcdlist.addRow();
-
- var iRow = grd_tcdlist.rows - grd_tcdlist.fixedrows;
- model.setValue("/root/main/tcdlist/rows["+ iRow+"]/cond" , "AND");
- model.setValue("/root/main/tcdlist/rows["+ iRow+"]/condflag" , "H");
-
- ]]>
- </script>
- </button>
- <line id="line71" class="line_1" style="x1:950px; y1:542px; x2:1181px; y2:542px; "/>
- <button id="button13" class="btn2_letter3" navindex="8" style="left:850px; top:476px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_directcdlist.deleteRow(grd_directcdlist.row, true);
- ]]>
- </script>
- </button>
- <caption id="caption90" class="tit_2" style="left:722px; top:481px; width:79px; height:13px; ">사인코드</caption>
- <select id="chk_cncrpat" ref="/root/main/cond/cncrpat" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:570px; top:606px; width:93px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>암환자 관리</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var cncrpat = model.getValue("/root/main/cond/cncrpat");
- if(cncrpat == "Y"){
- model.setValue("/root/main/cond/baseinfo", "");
- // chk_duplelmn.disabled = true;
- //model.refresh();
- // 2010.11.26. 이은영 컨트롤 초기화하기..
- chk_baseinfo.refresh();
- }
- ]]>
- </script>
- </select>
- <button id="button14" class="btn2_letter3" navindex="7" style="left:795px; top:476px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_directcdlist.valueMatrix(grd_directcdlist.rows - 1, 1) == "" || grd_directcdlist.valueMatrix(grd_directcdlist.rows - 1, 3) == ""){
- return;
- }
- grd_directcdlist.addRow();
- var iRow = grd_directcdlist.rows - grd_directcdlist.fixedrows;
- model.setValue("/root/main/directcdlist/rows["+ iRow+"]/cond" , "AND");
- model.setValue("/root/main/directcdlist/rows["+ iRow+"]/condflag" , "D");
-
-
- ]]>
- </script>
- </button>
- <line id="line61" class="line_3" style="x1:716px; y1:453px; x2:949px; y2:453px; "/>
- <line id="line50" class="line_1" style="x1:374px; y1:581px; x2:709px; y2:581px; "/>
- <caption id="caption1" class="tit_2" style="left:7px; top:8px; width:111px; height:13px; ">퇴원분석</caption>
- <select id="checkbox18" ref="/root/main/cond/patinfoprtc" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:374px; top:624px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>환자 정보 보호</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="button7" class="btn4_letter3" disabled="false" style="left:879px; top:669px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.reload();
-
- ]]>
- </script>
- </button>
- <caption id="cap_condnm" style="left:204px; top:1px; width:450px; height:20px; "/>
- <select id="chk_duplelmn" ref="/root/main/cond/duplelmn" disabled="false" overflow="visible" appearance="full" cellspacing="5" cols="5" rows="1" style="left:448px; top:586px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>중복제거</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="rdo_opkind" ref="/root/main/cond/opkind" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:83px; top:301px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- <item>
- <label>회차</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_opkind.value == "Y"){
- model.setValue("/root/main/cond/partrtnkind", "N");
- model.setValue("/root/main/cond/chngdeptkind", "N");
- model.setValue("/root/main/cond/cnstkind", "N");
- model.setValue("/root/main/cond/baseinfo", "");
- // chk_duplelmn.disabled = true;
- }
- //model.refresh();
- // 2010.11.26. 이은영 컨트롤 초기화하기..
- rdo_opkind.refresh();
- rdo_partrtnkind.refresh();
- rdo_chngdeptkind.refresh();
- rdo_cnstkind.refresh();
- chk_baseinfo.refresh();
- ]]>
- </script>
- </select1>
- <output id="output4" ref="/root/main/cond/inmedispclid" class="output_fix" navindex="39" appearance="output" style="left:239px; top:127px; width:58px; height:19px; "/>
- <button id="button26" class="icon_search" navindex="3" style="left:196px; top:275px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDrSearch("perfdrid", "perfdrnm");
- ]]>
- </script>
- </button>
- <select1 id="cmb_reopresncd" ref="/root/main/cond/reopresncd" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:542px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reOpResnList/M0159">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_marystatcd" ref="/root/main/cond/marystatcd" class="combo_search" navindex="19" appearance="minimal" showvalue="false" style="left:249px; top:348px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/maryStatList/M0151">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input7" ref="/root/main/cond/opfromdd" class="input_search" inputtype="date" style="left:83px; top:226px; width:100px; height:19px; "/>
- <line id="line8" class="line_2" style="x1:1px; y1:197px; x2:366px; y2:197px; "/>
- <line id="line9" class="line_3" style="x1:1px; y1:222px; x2:366px; y2:222px; "/>
- <output id="output5" ref="/root/main/cond/inmedispclnm" class="output_fix" navindex="40" appearance="output" style="left:299px; top:127px; width:50px; height:19px; "/>
- <select1 id="cmb_infcpartcd" ref="/root/main/cond/infcpartcd" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:568px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/infdcpartinfo/infdcpartlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_dethtypecd" ref="/root/main/cond/dethtypecd" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:446px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dethTypeList/M0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input8" ref="/root/main/cond/agefrom" class="input_default" format="999" maxbyte="3" style="left:83px; top:324px; width:30px; height:19px; "/>
- <output id="output6" ref="/root/main/cond/inatdoctid" class="output_fix" navindex="39" appearance="output" style="left:239px; top:151px; width:58px; height:19px; "/>
- <caption id="caption50" class="cell_1" style="left:167px; top:591px; width:80px; height:23px; vertical-align:middle; ">합병증</caption>
- <select1 id="cmb_dschtypecd" ref="/root/main/cond/dschtypecd" class="combo_search" appearance="minimal" showvalue="false" style="left:83px; top:470px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/DschTypeList/M0157">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_opdethtypecd" ref="/root/main/cond/opdethtypecd" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:470px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/opDethTypeList/M0413">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line20" class="line_2" style="x1:1px; y1:491px; x2:366px; y2:491px; "/>
- <select1 id="cmb_cptrgt" ref="/root/main/cond/cptrgt" class="combo_search" navindex="21" appearance="minimal" showvalue="false" style="left:83px; top:420px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>DROP</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <output id="output7" ref="/root/main/cond/inatdoctnm" class="output_fix" navindex="40" appearance="output" style="left:299px; top:151px; width:50px; height:19px; "/>
- <caption id="caption40" class="cell_1" style="left:1px; top:567px; width:80px; height:23px; vertical-align:middle; ">감염종류1</caption>
- <select1 id="cmb_cmplcd" ref="/root/main/cond/cmplcd" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:592px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmpllist/M0414">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_religncd" ref="/root/main/cond/religncd" class="combo_search" navindex="17" appearance="minimal" showvalue="false" style="left:83px; top:348px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/relignList/M0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line21" class="line_2" style="x1:1px; y1:515px; x2:366px; y2:515px; "/>
- <line id="line10" class="line_2" style="x1:1px; y1:247px; x2:366px; y2:247px; "/>
- <select1 id="cmb_opclsdept" ref="/root/main/cond/opclsdept" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:250px; top:250px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/gyclrsdeptlist/M0502">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_dschwardnm" ref="/root/main/cond/dschwardnm" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:83px; top:176px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/init/ward">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption41" class="cell_1" style="left:167px; top:445px; width:80px; height:23px; vertical-align:middle; ">사망형태</caption>
- <caption id="caption30" class="cell_1" style="left:167px; top:371px; width:80px; height:23px; ">보험유형</caption>
- <line id="line11" class="line_2" style="x1:1px; y1:271px; x2:366px; y2:271px; "/>
- <line id="line12" class="line_3" style="x1:1px; y1:320px; x2:366px; y2:320px; "/>
- <input id="input10" ref="/root/main/cond/ageto" class="input_default" format="999" maxbyte="3" style="left:133px; top:324px; width:30px; height:19px; "/>
- <caption id="caption42" class="cell_1" style="left:536px; top:27px; width:80px; height:23px; vertical-align:middle; ">중환자실</caption>
- <select1 id="cmb_infccascd" ref="/root/main/cond/infccascd" class="combo_search" appearance="minimal" showvalue="false" style="left:83px; top:568px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/infccaselist/M0484">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCheckItemInputYN("infccascd");
- ]]>
- </script>
- </select1>
- <line id="line23" class="line_2" style="x1:1px; y1:539px; x2:366px; y2:539px; "/>
- <caption id="caption31" class="cell_1" style="left:167px; top:395px; width:80px; height:23px; ">선택진료</caption>
- <select id="checkbox2" ref="/root/main/cond/fsexam" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:83px; top:397px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>초</label>
- <value>F</value>
- </item>
- <item>
- <label>재</label>
- <value>S</value>
- </item>
- </choices>
- </select>
- <caption id="caption20" class="cell_1" style="left:1px; top:249px; width:80px; height:23px; ">수술과</caption>
- <select1 id="cmb_dschclsdept" ref="/root/main/cond/dschclsdept" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:84px; top:76px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mdclrsdeptlist/M0500">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_wundcasclscd" ref="/root/main/cond/wundcasclscd" class="combo_search" navindex="36" appearance="minimal" showvalue="false" style="left:249px; top:420px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/wundcasclslist/M0415">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption43" class="cell_1" style="left:1px; top:517px; width:80px; height:23px; vertical-align:middle; ">입원경로</caption>
- <caption id="caption32" class="cell_1" style="left:167px; top:419px; width:80px; height:23px; ">상해원인분류</caption>
- <select id="checkbox3" ref="/root/main/cond/sex" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" sep="','" style="left:249px; top:326px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>M</label>
- <value>M</value>
- </item>
- <item>
- <label>F</label>
- <value>F</value>
- </item>
- </choices>
- </select>
- <caption id="caption21" class="cell_1" style="left:167px; top:249px; width:80px; height:23px; ">분과</caption>
- <caption id="caption10" class="search_no_b" style="left:187px; top:103px; width:12px; height:17px; ">~</caption>
- <line id="line24" class="line_2" style="x1:1px; y1:589px; x2:366px; y2:589px; "/>
- <line id="line13" class="line_2" style="x1:1px; y1:295px; x2:366px; y2:295px; "/>
- <caption id="caption44" class="cell_1" style="left:1px; top:493px; width:80px; height:23px; vertical-align:middle; ">내원경위</caption>
- <caption id="caption33" class="cell_1" style="left:1px; top:419px; width:80px; height:23px; ">CP대상</caption>
- <select id="checkbox4" ref="/root/main/cond/specordyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" sep="','" style="left:249px; top:397px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <caption id="caption22" class="cell_1" style="left:1px; top:297px; width:80px; height:23px; ">분류</caption>
- <caption id="caption11" class="cell_1" style="left:1px; top:101px; width:80px; height:23px; ">입원일</caption>
- <caption id="caption2" class="cell_1" style="left:1px; top:75px; width:80px; height:23px; ">분과</caption>
- <line id="line14" class="line_2" style="x1:1px; y1:417px; x2:366px; y2:417px; "/>
- <line id="line25" class="line_2" style="x1:1px; y1:613px; x2:366px; y2:613px; "/>
- <select id="checkbox5" ref="/root/main/cond/cncrrgstyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:83px; top:594px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <caption id="caption34" class="cell_1" style="left:167px; top:567px; width:80px; height:23px; vertical-align:middle; ">감염종류2</caption>
- <caption id="caption45" class="cell_1" style="left:167px; top:541px; width:80px; height:23px; vertical-align:middle; ">재수술(U)</caption>
- <select1 id="cmb_insukind" ref="/root/main/cond/insukind" class="combo_search" navindex="36" appearance="minimal" style="left:249px; top:372px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/insukindList/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption23" class="cell_1" style="left:1px; top:273px; width:80px; height:23px; ">집도의</caption>
- <caption id="caption12" class="cell_1" style="left:1px; top:125px; width:80px; height:23px; ">입원과</caption>
- <caption id="caption3" class="cell_1" style="left:167px; top:75px; width:70px; height:23px; ">퇴원담당의</caption>
- <line id="line15" class="line_2" style="x1:1px; y1:345px; x2:366px; y2:345px; "/>
- <select id="checkbox6" ref="/root/main/cond/icucd" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:454px; top:30px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <output id="ipt_dschdrnm" ref="/root/main/cond/dschmedispclnm" class="output_fix" navindex="40" appearance="output" style="left:299px; top:53px; width:50px; height:19px; "/>
- <caption id="caption35" class="cell_1" style="left:1px; top:615px; width:80px; height:23px; vertical-align:middle; ">지표관리</caption>
- <caption id="caption57" class="cell_1" style="left:1px; top:591px; width:80px; height:23px; vertical-align:middle; ">암등록여부</caption>
- <caption id="caption46" class="cell_1" style="left:1px; top:469px; width:80px; height:23px; vertical-align:middle; ">퇴원형태</caption>
- <select1 id="cmb_curersltcd" ref="/root/main/cond/curersltcd" class="combo_search" appearance="minimal" showvalue="false" style="left:83px; top:446px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cureRsltList/M0152">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fCheckItemInputYN("curerslt");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_inpathcd" ref="/root/main/cond/inpathcd" class="combo_search" appearance="minimal" showvalue="false" style="left:83px; top:518px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/inPathList/M0153">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption24" class="cell_1" style="left:1px; top:347px; width:80px; height:23px; ">종교</caption>
- <line id="line16" class="line_2" style="x1:1px; y1:369px; x2:366px; y2:369px; "/>
- <caption id="caption4" class="cell_1" style="left:167px; top:51px; width:70px; height:23px; font-size:8pt; padding-left:0; padding-bottom:0; ">퇴원담당교수</caption>
- <line id="line17" class="line_3" style="x1:1px; y1:442px; x2:366px; y2:442px; "/>
- <input id="ipt_todd" ref="/root/main/cond/dschtodd" class="input_search" inputtype="date" style="left:202px; top:27px; width:100px; height:19px; "/>
- <select1 id="cmb_icuroomcd" ref="/root/main/cond/icuroomcd" class="combo_search" appearance="minimal" showvalue="false" style="left:618px; top:28px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/icudeptlist/icudept">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption47" class="cell_1" style="left:1px; top:445px; width:80px; height:23px; vertical-align:middle; ">치료결과</caption>
- <caption id="caption36" class="cell_1" style="left:167px; top:517px; width:80px; height:23px; vertical-align:middle; ">재입원(P)</caption>
- <output id="input15" ref="/root/main/cond/perfdrid" class="output_fix" navindex="39" appearance="output" style="left:83px; top:274px; width:58px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:167px; top:323px; width:80px; height:23px; ">성별</caption>
- <caption id="caption14" class="cell_1" style="left:1px; top:199px; width:80px; height:23px; ">재원일</caption>
- <caption id="caption5" class="cell_1" style="left:1px; top:149px; width:80px; height:23px; ">분과</caption>
- <select1 id="combo4" ref="/root/main/cond/indeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:83px; top:126px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var deptcd = model.getValue("/root/main/cond/indeptcd");
- switch(deptcd){
- case "2010000000":
- cmb_inclsdept.choices.itemset.attribute("nodeset") = "/root/init/mdclrsdeptlist/M0500";
- break;
- case "2040000000":
- cmb_inclsdept.choices.itemset.attribute("nodeset") = "/root/init/gsclrsdeptlist/M0501";
- break;
- case "2100000000":
- cmb_inclsdept.choices.itemset.attribute("nodeset") = "/root/init/gyclrsdeptlist/M0502";
- break;
- case "2110000000":
- cmb_inclsdept.choices.itemset.attribute("nodeset") = "/root/init/pdclrsdeptlist/M0503";
- break;
- default:
- cmb_inclsdept.choices.itemset.attribute("nodeset") = "/root/init/nulllist/M503";
- break;
- }
- cmb_inclsdept.refresh();
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_reinyn" ref="/root/main/cond/reinyn" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:518px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/useynlist/yn">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCheckItemInputYN("reinyn");
- ]]>
- </script>
- </select1>
- <caption id="caption37" class="cell_1" style="left:167px; top:469px; width:80px; height:23px; vertical-align:middle; ">수술사망</caption>
- <output id="input16" ref="/root/main/cond/perfdrnm" class="output_fix" navindex="40" appearance="output" style="left:143px; top:274px; width:50px; height:19px; "/>
- <caption id="caption26" class="cell_1" style="left:1px; top:371px; width:80px; height:23px; ">직업</caption>
- <line id="line18" class="line_2" style="x1:1px; y1:393px; x2:366px; y2:393px; "/>
- <caption id="caption15" class="cell_1" style="left:1px; top:175px; width:80px; height:23px; ">퇴원병동</caption>
- <input id="input1" ref="/root/main/cond/intodd" class="input_search" inputtype="date" style="left:202px; top:102px; width:100px; height:19px; "/>
- <line id="line2" class="line_2" style="x1:1px; y1:49px; x2:366px; y2:49px; "/>
- <select1 id="cmb_inclsdept" ref="/root/main/cond/inclsdept" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:83px; top:150px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/gsclrsdeptlist/M0501">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption16" class="cell_1" style="left:1px; top:27px; width:80px; height:23px; ">퇴원일</caption>
- <caption id="caption38" class="cell_1" style="left:167px; top:493px; width:80px; height:23px; vertical-align:middle; ">재입원(U)</caption>
- <caption id="caption27" class="cell_1" style="left:1px; top:395px; width:80px; height:23px; ">초재진</caption>
- <caption id="caption7" class="search_no_b" style="left:187px; top:28px; width:12px; height:17px; ">~</caption>
- <line id="line3" class="line_2" style="x1:1px; y1:73px; x2:366px; y2:73px; "/>
- <line id="line19" class="line_2" style="x1:1px; y1:467px; x2:366px; y2:467px; "/>
- <select1 id="cmb_dschdeptcd" ref="/root/main/cond/dschdeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:83px; top:52px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var deptcd = model.getValue("/root/main/cond/dschdeptcd");
- switch(deptcd){
- case "2010000000":
- cmb_dschclsdept.choices.itemset.attribute("nodeset") = "/root/init/mdclrsdeptlist/M0500";
- break;
- case "2040000000":
- cmb_dschclsdept.choices.itemset.attribute("nodeset") = "/root/init/gsclrsdeptlist/M0501";
- break;
- case "2100000000":
- cmb_dschclsdept.choices.itemset.attribute("nodeset") = "/root/init/gyclrsdeptlist/M0502";
- break;
- case "2110000000":
- cmb_dschclsdept.choices.itemset.attribute("nodeset") = "/root/init/pdclrsdeptlist/M0503";
- break;
- default:
- cmb_dschclsdept.choices.itemset.attribute("nodeset") = "/root/init/nulllist/M503";
- break;
- }
- cmb_dschclsdept.refresh();
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="button22" class="icon_search" navindex="3" style="left:353px; top:52px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDrSearch("dschmedispclid", "dschmedispclnm");
- ]]>
- </script>
- </button>
- <caption id="caption39" class="cell_1" style="left:372px; top:27px; width:80px; height:23px; vertical-align:middle; ">중환자실재원</caption>
- <select1 id="cmb_reinresncd" ref="/root/main/cond/reinresncd" class="combo_search" appearance="minimal" showvalue="false" style="left:249px; top:494px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reInResnList/M0158">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_jobcd" ref="/root/main/cond/jobcd" class="combo_search" navindex="21" appearance="minimal" showvalue="false" style="left:83px; top:372px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/jobList/M0149">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption28" class="cell_1" style="left:167px; top:347px; width:80px; height:23px; ">결혼상태</caption>
- <caption id="caption17" class="search_no_b" style="left:187px; top:227px; width:12px; height:17px; ">~</caption>
- <input id="input3" ref="/root/main/cond/infromdd" class="input_search" inputtype="date" style="left:83px; top:102px; width:100px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:1px; y1:123px; x2:366px; y2:123px; "/>
- <caption id="caption8" class="cell_1" style="left:167px; top:149px; width:70px; height:23px; ">입원담당의</caption>
- <output id="output1" ref="/root/main/cond/dschatdoctid" class="output_fix" navindex="39" appearance="output" style="left:239px; top:77px; width:58px; height:19px; "/>
- <button id="button23" class="icon_search" navindex="3" style="left:353px; top:77px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDrSearch("dschatdoctid", "dschatdoctnm");
- ]]>
- </script>
- </button>
- <caption id="caption9" class="cell_1" style="left:167px; top:125px; width:70px; height:23px; font-size:8pt; padding-left:0; ">입원담당교수</caption>
- <select1 id="cmb_chosprogcd" ref="/root/main/cond/chosprogcd" class="combo_search" appearance="minimal" showvalue="false" style="left:83px; top:494px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/chosProgList/M0156">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption29" class="cell_1" style="left:1px; top:323px; width:80px; height:23px; ">나이</caption>
- <line id="line5" class="line_2" style="x1:1px; y1:147px; x2:366px; y2:147px; "/>
- <caption id="caption18" class="cell_1" style="left:1px; top:51px; width:80px; height:23px; ">퇴원과</caption>
- <output id="output2" ref="/root/main/cond/dschmedispclid" class="output_fix" navindex="39" appearance="output" style="left:239px; top:53px; width:58px; height:19px; "/>
- <button id="button24" class="icon_search" navindex="3" style="left:353px; top:126px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDrSearch("inmedispclid", "inmedispclnm");
- ]]>
- </script>
- </button>
- <select1 id="combo9" ref="/root/main/cond/opdeptcd" class="combo_default" navindex="3" appearance="minimal" _required="true" style="left:83px; top:250px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var deptcd = model.getValue("/root/main/cond/opdeptcd");
- switch(deptcd){
- case "2010000000":
- cmb_opclsdept.choices.itemset.attribute("nodeset") = "/root/init/mdclrsdeptlist/M0500";
- break;
- case "2040000000":
- cmb_opclsdept.choices.itemset.attribute("nodeset") = "/root/init/gsclrsdeptlist/M0501";
- break;
- case "2100000000":
- cmb_opclsdept.choices.itemset.attribute("nodeset") = "/root/init/gyclrsdeptlist/M0502";
- break;
- case "2110000000":
- cmb_opclsdept.choices.itemset.attribute("nodeset") = "/root/init/pdclrsdeptlist/M0503";
- break;
- default:
- cmb_opclsdept.choices.itemset.attribute("nodeset") = "/root/init/nulllist/M503";
- break;
- }
- cmb_opclsdept.refresh();
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption19" class="cell_1" style="left:1px; top:225px; width:80px; height:23px; ">수술일</caption>
- <line id="line6" class="line_3" style="x1:1px; y1:98px; x2:366px; y2:98px; "/>
- <line id="line7" class="line_3" style="x1:1px; y1:172px; x2:366px; y2:172px; "/>
- <caption id="caption101" class="search_no_b" style="left:117px; top:325px; width:12px; height:17px; ">~</caption>
- <output id="output3" ref="/root/main/cond/dschatdoctnm" class="output_fix" navindex="40" appearance="output" style="left:299px; top:77px; width:50px; height:19px; "/>
- <button id="button25" class="icon_search" navindex="3" style="left:353px; top:149px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDrSearch("inatdoctid", "inatdoctnm");
- ]]>
- </script>
- </button>
- <input id="input6" ref="/root/main/cond/optodd" class="input_search" inputtype="date" style="left:202px; top:226px; width:100px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/main/cond/dschfromdd" class="input_search" inputtype="date" style="left:83px; top:27px; width:100px; height:19px; "/>
- <line id="line28" class="line_3" style="x1:372px; y1:50px; x2:707px; y2:50px; "/>
- <input id="input2" ref="/root/main/cond/rgstfromdd" class="input_search" inputtype="date" style="left:83px; top:642px; width:100px; height:19px; "/>
- <caption id="caption99" class="search_no_b" style="left:187px; top:643px; width:12px; height:17px; ">~</caption>
- <caption id="caption103" class="cell_1" style="left:1px; top:641px; width:80px; height:23px; ">작성일</caption>
- <input id="input11" ref="/root/main/cond/rgsttodd" class="input_search" inputtype="date" style="left:202px; top:642px; width:100px; height:19px; "/>
- <button id="button8" class="icon_search" navindex="3" style="left:196px; top:667px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDrSearch("rgstuserid", "rgstusernm");
- ]]>
- </script>
- </button>
- <caption id="caption104" class="cell_1" style="left:1px; top:665px; width:80px; height:23px; ">작성자</caption>
- <output id="output8" ref="/root/main/cond/rgstuserid" class="output_fix" navindex="39" appearance="output" style="left:83px; top:666px; width:58px; height:19px; "/>
- <output id="output9" ref="/root/main/cond/rgstusernm" class="output_fix" navindex="40" appearance="output" style="left:143px; top:666px; width:50px; height:19px; "/>
- <line id="line67" class="line_3" style="x1:-1px; y1:688px; x2:364px; y2:688px; "/>
- <line id="line27" class="line_3" style="x1:1px; y1:638px; x2:366px; y2:638px; "/>
- <line id="line22" class="line_3" style="x1:1px; y1:564px; x2:366px; y2:564px; "/>
- <input id="input12" ref="/root/main/cond/inhospfromdd" class="input_default" format="99999999" maxbyte="8" style="left:83px; top:200px; width:60; height:19px; "/>
- <input id="input13" ref="/root/main/cond/inhosptodd" class="input_default" format="99999999" maxbyte="8" style="left:163px; top:200px; width:60px; height:19px; "/>
- <caption id="caption105" class="search_no_b" style="left:147px; top:200px; width:12px; height:17px; ">~</caption>
- <group id="group2" scroll="vertical" style="left:82px; top:616px; width:250px; height:21px; ">
- <select id="chk_indxlist" ref="/root/main/cond/indxinfo" overflow="visible" appearance="full" cellspacing="100" cols="2" direction="acrossdown" rows="*" sep="','" style="left:0px; top:0px; width:245px; height:25px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/indxlist/indx">
- <label ref="indxnm"/>
- <value ref="indxcd"/>
- </itemset>
- </choices>
- </select>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- chk_indxlist.attribute("height") = "72";
- chk_indxlist.attribute("width") = "600";
- group2.attribute("height") = "73";
- group2.attribute("width") = "605";
- group2.attribute("border-style") = "solid";
- group2.attribute("border-color") = "#00ccff";
- chk_indxlist.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseout">
- <![CDATA[
- chk_indxlist.attribute("height") = "16";
- chk_indxlist.attribute("width") = "244";
- group2.attribute("height") = "16";
- group2.attribute("width") = "245";
- group2.attribute("border-style") = "";
- group2.attribute("border-color") = "";
- ]]>
- </script>
- </group>
- <group id="grp_prg" visibility="hidden" style="left:489px; top:79px; width:645px; height:303px; border-color:#808080; border-style:solid; ">
- <line id="line72" class="line_1" style="x1:6px; y1:20px; x2:636px; y2:20px; "/>
- <datagrid id="grd_prglist" nodeset="/root/main/tempgrid" caption="파일명^실행상태^시작시간^종료시간" colsep="^" colwidth="290, 55, 120, 120" dataheight="23" datatype="xml" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:6px; top:25px; width:630px; height:270px; ">
- <col ref="prgmnm"/>
- <col disabled="true" ref="prcsstat" type="combo">
- <choices>
- <item>
- <label>실행중</label>
- <value>s</value>
- </item>
- <item>
- <label>완료</label>
- <value>e</value>
- </item>
- <item>
- <label>오류</label>
- <value>r</value>
- </item>
- </choices>
- </col>
- <col ref="fromdt"/>
- <col ref="enddt" style="left:446px; top:23px; width:126px; height:23px; "/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var cur_col = grd_batlog.col;
-
- if (cur_col == 3) { // 로그 조회
- fOpenLogDetailPopup();
- } else if (cur_col == 12) { // 결과 파일 조회
- fOpenResultFilePopup();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption13" class="tit_2" style="left:11px; top:5px; width:131px; height:13px; ">엑셀파일 현황</caption>
- </group>
- </group>
- <group id="group1" style="left:0px; top:5px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:5px; width:800px; height:13px; ">연구용 검색</caption>
- </group>
- <button id="btn_cond" class="btn_sw" visibility="visible" group="tab" selected="false" style="left:2px; top:23px; width:90px; height:22px; ">
- <caption>검색조건</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_cond.visible = true;
- iviewer_list.visible = false;
- button16.visible=false;
-
- ]]>
- </script>
- </button>
- <button id="button27" class="btn1_letter2" navindex="2" style="left:1124px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // var gridNode = iviewer_list.grd_list.nodeset;
- // iviewer_list.model.removeNodeset(gridNode);
- // openLoadingBar("검색결과");
- fSearch();
- // closeLoadingBar();
- ]]>
- </script>
- </button>
- <button id="btn_rlst" class="btn_sw" visibility="visible" group="tab" selected="false" style="left:92px; top:23px; width:90px; height:22px; ">
- <caption>검색결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_cond.visible = false;
- iviewer_list.visible = true;
- button16.visible=true;
- ]]>
- </script>
- </button>
- <button id="org_excel_btn" class="btn6_letter7" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:730px; top:20px; width:116px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
- <caption>Old_엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var files = window.fileDialog("save", "|", true, "", "", "Excel Files(*.xls)|*.xls");
- //var files = window.fileDialog("save", "|", true, "", "", "CSV Files(*.csv)|*.csv");
- if(files != ""){
- model.removeNodeset("/root/send/reqdata");
-
- //화일 디렉토리 위치, 화일명을 받는다.
- var filesarr= files.split("\\");
- var filenm = filesarr[filesarr.length-1];
- var filepath= files.split(filenm);
-
- if(!doChkSrchCond()){
- return;
- }
- doSetSrchCond();
-
- var startdate = model.getValue("/root/main/cond/dschfromdd");
- var enddate = model.getValue("/root/main/cond/dschtodd");
- var orgstartdate = startdate;
- var orgenddate = enddate;
-
- do{
-
- var monthcnt = getMonthInterval(startdate.substring(0, 6), enddate.substring(0, 6));
- if(monthcnt == 0){
- var monthend = enddate;
- }else{
- var monthend = startdate.substring(0, 6).concat("31");
- }
-
- var condnode = model.instance1.selectNodes("/root/main/cond");
-
- model.setValue("/root/main/cond/dschfromdd", startdate);
- model.setValue("/root/main/cond/dschtodd" , monthend);
- model.makeValue("/root/send/reqdata/srchcond", doSrchCondCSV(condnode, "^", "|"));
-
-
-
- var orgSrchCond = model.getValue("/root/send/reqdata/srchcond");
-
- var chngSrchCond = orgSrchCond.setReplaceWord("%", "%25")
- var param = "&srchcond=" + chngSrchCond;
- model.download(getActionURL("TRMRD01601")+param, files + "_"+ startdate + "_" + monthend +".xls", false);
-
- startdate = addMonth(startdate.substring(0, 6)).concat("01");
- }
- while(enddate > startdate);
-
- model.setValue("/root/main/cond/dschfromdd", orgstartdate);
- model.setValue("/root/main/cond/dschtodd" , orgenddate);
- //조회후 section Data 삭제
- doSetNullSrchCond();
- model.refresh();
- }
- else{
- return;
- }
- ]]>
- </script>
- </button>
- <button id="0225" class="btn6_letter4" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:645px; top:20px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- img_loadbar.visible = true;
- // openLoadingBar(msg);
- if(!doChkSrchCond()){
- return;
- }
- doSetSrchCond();
-
- var condnode = model.instance1.selectNodes("/root/main/cond");
- var orgSrchCond = "";
- var chngSrchCond = "";
- var param = "";
-
- model.makeValue("/root/send/reqdata/srchcond", doSrchCondCSV(condnode, "^", "|"));
-
- orgSrchCond = model.getValue("/root/send/reqdata/srchcond");
- chngSrchCond = orgSrchCond.setReplaceWord("%", "%25");
- model.setValue("/root/send/srchcond", chngSrchCond);
-
- if(submit("TRMRD01604") != true) {
- return;
- }
-
- img_loadbar.visible = false;
- // closeLoadingBar();
- var cnt = model.getValue("/root/attachfile/datacnt");
- model.setValue("/root/main/cond/cnt", cnt);
- var url = document.url;
- var s_url = url.split("/");
- var setUrl = s_url[0]+"//"+s_url[2]
-
- if(cnt > 0) {
- var msg = messageBox(cnt+"건의 데이타가 조회되었습니다.엑셀저장을", "Q003", "");
-
- if(msg != "6"){
- return;
- }
-
- var files = window.fileDialog("save", "|", true, "", "", "CSV Files(*.csv)|*.csv");
-
- if(files != ""){
-
- //화일 디렉토리 위치, 화일명을 받는다.
- var filesarr= files.split("\\");
- var filenm = filesarr[filesarr.length-1];
- var filepath= files.split(filenm);
-
- var startdate = model.getValue("/root/main/cond/dschfromdd");
- var enddate = model.getValue("/root/main/cond/dschtodd");
- var orgstartdate = startdate;
- var orgenddate = enddate;
-
- //파일생성현황
- // model.removeNodeset(grd_prglist.nodeset);
- // grd_prglist.deleteRow(1);
- // fSetGrpDg(true);
-
- do{
- var yearcnt = eval(enddate.substring(0, 4)) - eval(startdate.substring(0, 4));
- var monthend = "";
- //1년단위
- if(yearcnt > 0) {
- monthend = eval(startdate.substring(0, 4))+"1231";
- }else {
- monthend = enddate;
- }
-
- var filenm1 = filenm + "_"+ startdate + "_" + monthend;
- var dfileNm = files+"_"+ startdate + "_" + monthend+".csv";
-
- model.setValue("/root/main/cond/filepath", filepath);
- // model.setValue("/root/main/cond/filenm", filenm1 +".xls");
- model.setValue("/root/main/cond/filenm", filenm1);
- param = setReqNode(startdate, monthend);
-
- /* if(submit("TRMRD01604") == true) {
- var cnt = model.getValue("/root/attachfile/datacnt");
- if(cnt > 0){
- var subloop = eval(cnt)/30000;
- var offset = 0;*/
-
- /* if(subloop >1){
-
- for(k=0; k<parseInt(subloop)+1; k++){
- model.addLog("offset========================>"+offset);
- model.setValue("/root/main/cond/offset", offset);
- model.setValue("/root/main/cond/filenm", filenm1 +"("+k+")");
- var dfileNm = files+"_"+ startdate + "_" + enddate+"("+k+").csv";
-
- //진행상태 정보
- // setPrg("SPMRD02300", filenm1 +"("+k+").csv", "s", row);
-
- //파일생성
- if(submit("TRMRD01605") == true){
- //진행상태 정보
- // setPrg("SPMRD02300", filenm1 +"("+k+").csv", "e", row);
- }
-
- // var respath = "/emr/dschanaly/20100226/"+filenm1 +"("+k+").csv";
- // model.download(getActionURL("TRMRD01606")+"&filepath="+respath, dfileNm, false);
- //파일다운로드
- model.download(setUrl+"/attach/emr/"+filenm1+"("+k+").csv", dfileNm, false);
- offset = eval(offset)+30000;
-
- //날짜 세팅
- // startdate = addMonth(nextend.substring(0, 6))+"01";
- // m = eval(mn)+m;
- }
- }else {
- */
- //진행상태 정보
- // setPrg( filenm1 +".csv", "s");
- // model.setValue("/root/main/cond/offset", "0");
- if(submit("TRMRD01605") == true){
- //진행상태 정보
- // setPrg("SPMRD02300", filenm1 +".csv", "e", row);
- }
-
- // var respath = "/emr/dschanaly/20100226/"+filenm1+".csv";
- // model.download(getActionURL("TRMRD01606")+"&filepath="+respath, dfileNm, false);
- model.download(setUrl+"/attach/emr/"+filenm1+".csv", dfileNm, false);
- /* }
- } */
-
- var nextyear = eval(monthend.substring(0, 4))+1;
- startdate = nextyear+"0101";
-
- // setPrg( filenm1 +".csv", "e");
-
- //}
- }while(enddate > startdate);
-
- model.setValue("/root/main/cond/dschfromdd", orgstartdate);
- model.setValue("/root/main/cond/dschtodd" , orgenddate);
- //조회후 section Data 삭제
- doSetNullSrchCond();
- model.refresh();
- var err_msg = model.getValue("/root/properties/error/type");
- // fSetGrpDg(false);
- if(err_msg != "error") {
-
- messageBox("엑셀저장이 ", "I002", "");
- }
- }else{
- return;
- }
- }else {
- messageBox("엑셀저장가능한 ", "E013", "");
- }
-
- function setReqNode(startdate, monthend) {
- var condnode = model.instance1.selectNodes("/root/main/cond");
- model.setValue("/root/main/cond/dschfromdd", startdate);
- model.setValue("/root/main/cond/dschtodd" , monthend);
- model.makeValue("/root/send/reqdata/srchcond", doSrchCondCSV(condnode, "^", "|"));
-
- orgSrchCond = model.getValue("/root/send/reqdata/srchcond");
- chngSrchCond = orgSrchCond.setReplaceWord("%", "%25")
- param = "&srchcond=" + chngSrchCond;
-
- return param;
- }
-
- ]]>
- </script>
- </button>
- <img id="img_loadbar" visibility="hidden" src="../../../com/commonweb/images/loadingBar.gif" style="left:450px; top:285px; width:311px; height:102px; background-stretch:stretch; "/>
- <select id="chk_opt" ref="/root/main/cond/chkopt" appearance="full" cellspacing="5" style="left:476px; top:670px; width:133px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>진단명, 수술명 조회</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="button16" class="btn6_letter4" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:1040px; top:22px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- excel_save();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|