12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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="">
- <send>
- <sess_posinstcd/>
- <ioflag/>
- <orddeptcd/>
- <wardcd/>
- <fromdd/>
- <todd/>
- <holiflag/>
- <orddd/>
- <orddflag/>
- <selectordward/>
- <inpatflag/>
- <longinflag/>
- <indaycnt/>
- <insukind/>
- <monorddward/>
- <emrorddept/>
- <sendflag/>
- <flag/>
- <reportflag/>
- <exceptflag/>
- </send>
- <main>
- <wardbedinfo>
- <wardcd/>
- <roomcd/>
- <roomgrdecd/>
- <wardgrdecd/>
- <assorddeptcd/>
- <inpt_indschacptstat/>
- <pid/>
- <hngnm/>
- <sex/>
- <orddeptcd/>
- </wardbedinfo>
- <monwardinfo>
- <wardnm/>
- <roomcd/>
- <avgbedcnt/>
- <bedcnt/>
- <oprrate/>
- <totalinpatcnt/>
- </monwardinfo>
- <monorddinfo>
- <wardcd/>
- <wardnm/>
- <avgbedcnt/>
- <bedcnt/>
- <oprrate/>
- <totalinpatcnt/>
- </monorddinfo>
- <moncomnbedinfo>
- <wardcd/>
- <wardnm/>
- <avgbedcnt/>
- <bedcnt/>
- <oprrate/>
- <totalinpatcnt/>
- </moncomnbedinfo>
- <emrinpatinfo>
- <wardcd/>
- <wardnm/>
- <totalinpatcnt/>
- </emrinpatinfo>
- <fromdd/>
- <todd/>
- <drholiordsche>
- <drholiordschelist/>
- </drholiordsche>
- <moninpatordd>
- <wardcd/>
- <wardnm/>
- <avgbedcnt/>
- <bedcnt/>
- <oprrate/>
- <totalinpatcnt/>
- </moninpatordd>
- </main>
- <hidden>
- <roomgrdelist>
- <roomgrde>
- <cdid/>
- <cdnm/>
- <typecd/>
- <yn/>
- <cdyn/>
- </roomgrde>
- </roomgrdelist>
- </hidden>
- <temp>
- <monselect/>
- <monorddward/>
- </temp>
- <init>
- <orddeptcd>
- <nm/>
- <cd/>
- </orddeptcd>
- <wardcd>
- <nm/>
- <cd/>
- </wardcd>
- <roomcd>
- <nm/>
- <cd/>
- </roomcd>
- <P0037list>
- <P0037>
- <cdid/>
- <cdnm/>
- </P0037>
- </P0037list>
- <insukind>
- <nm/>
- <cd/>
- </insukind>
- <roomgrdecd>
- <nm/>
- <cd/>
- </roomgrdecd>
- </init>
- <list>
- <orddinpat>
- <orddeptcd/>
- <orddeptnm/>
- <bedcnt/>
- <deptinpatcnt/>
- <deptinpatrate/>
- <inpatcnt/>
- <vacantcnt/>
- <decicnt/>
- <inpatrate/>
- <ugcyrsrvcnt/>
- <rsrvcnt/>
- <sumrsrvcnt/>
- </orddinpat>
- <orddward>
- <orddeptcd/>
- <orddeptnm/>
- <wardcnt/>
- <inpatcnt/>
- <otherorddin/>
- <emptyward/>
- <orddrate/>
- <otherorddrate/>
- </orddward>
- <longinpat>
- <orddeptcd/>
- <orddeptnm/>
- <longincnt/>
- <inpatcnt/>
- <avginpatcnt/>
- <insukind/>
- <insukindnm/>
- </longinpat>
- <longinpatlist>
- <roomcd/>
- <pid/>
- <hngnm/>
- <indd/>
- <insukind/>
- <age/>
- <longincause/>
- <innd/>
- <medispclid/>
- <atdoctid/>
- <totmedcost/>
- <totpay/>
- <payapp/>
- <payme/>
- <nopay/>
- <ownbamt/>
- <gipayment/>
- <chapayment/>
- <uncollent/>
- <dschschdd/>
- <dschdelayresn/>
- <cretno/>
- </longinpatlist>
- <wardordd>
- <orddeptcd/>
- <orddeptnm/>
- <wardcd/>
- <wardnm/>
- <wardcnt/>
- <inpatcnt/>
- <otherorddin/>
- <emptyward/>
- <orddrate/>
- <otherorddrate/>
- </wardordd>
- <orddetail>
- <wardnm/>
- <roomcd/>
- <bedcd/>
- <patstat/>
- <pid/>
- <hngnm/>
- <sex/>
- <orddeptnm/>
- <indd/>
- <diaghngcd/>
- <diaghngnm/>
- <medispclid/>
- <atdoctid/>
- </orddetail>
- <wardbedinpat>
- <wardcd/>
- <totbedcnt/>
- <totinpatcnt/>
- <wardbedrate/>
- <wardnm/>
- <orddeptcd/>
- <orddeptnm/>
- <flag/>
- </wardbedinpat>
- <orddeptinpat>
- <orddeptnm/>
- <bedcnt/>
- <inpatcnt/>
- <operatingrate/>
- </orddeptinpat>
- </list>
- <source>
- <orddeptcd/>
- <orddeptnm/>
- <sendflag/>
- <insukindnm/>
- </source>
- <report>
- <rorddinpat>
- <orddeptnm/>
- <wardnm/>
- <bedcnt/>
- <inpatcnt/>
- <otherdeptinpatcnt/>
- <vacantcnt/>
- <inpatrate/>
- <otherdeptinpatrate/>
- </rorddinpat>
- <wardinpatrep>
- <wardnm/>
- <roomcd/>
- <bednm/>
- <roomgrdecd/>
- <pid/>
- <hngnm/>
- <sex/>
- <indd/>
- <diagcd/>
- <diagnm/>
- <medispclnm/>
- <atdoctnm/>
- <orddeptnm/>
- </wardinpatrep>
- <emptybed>
- <wardnm/>
- <roomcd/>
- <bednm/>
- <roomgrdecd/>
- <inrsrvstat/>
- </emptybed>
- <emerpat>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <medispclpf/>
- <inpredd/>
- <oppredd/>
- <diaghngnm/>
- <operahngnm/>
- <lpselect/>
- <medispclid/>
- <diagcd/>
- <wardcd/>
- <roomcd/>
- <bedcd/>
- <pubbed/>
- </emerpat>
- <genpat>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <orddrid/>
- <inrsrvacptdd/>
- <inhopedd/>
- <scheopdd/>
- <termengnm/>
- <opengnm/>
- <specordtype/>
- <termcd/>
- <assgward/>
- <assgroom/>
- <assgbed/>
- <punlicbedyn/>
- </genpat>
- <emerinpat>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <indd/>
- <diagcd/>
- <diagnm/>
- <medispclid/>
- <medispclnm/>
- </emerinpat>
- <orddstand>
- <orddeptnm/>
- <wardnm/>
- <roomcd/>
- <bedcd/>
- <bedid/>
- </orddstand>
- <relonginpatlist>
- <roomcd/>
- <pid/>
- <hngnm/>
- <indd/>
- <insukind/>
- <age/>
- <longincause/>
- <innd/>
- <medispclid/>
- <atdoctid/>
- <totmedcost/>
- <totpay/>
- <payapp/>
- <payme/>
- <nopay/>
- <share/>
- <gipayment/>
- <chapayment/>
- <uncollent/>
- </relonginpatlist>
- </report>
- <init1>
- <P0025list>
- <P0025/>
- </P0025list>
- <P0008list>
- <P0008/>
- </P0008list>
- <PAM>
- <PK117list>
- <PK117>
- <cdnm/>
- <cdid/>
- </PK117>
- </PK117list>
- </PAM>
- </init1>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
- <submission id="TRPMI05200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/list"/>
- <submission id="TRPMI05210" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/report"/>
- <submission id="TRPMI05220" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TRPMI05240" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TRPMI05245" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TRPMI05250" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TRPMB00904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/drholiordsche"/>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //메뉴파라미터 확인
- var menu = getScreenMenuParameter();
-
- if( menu == 'E' ){ //진료에서 호출할 경우
-
- btn_orddcdlist.selected = false;
- btn_wardbed.selected = true;
- btn_longinpat.selected = false;
- btn_profgonbz.selected = false;
- btn_orddwardbed.selected = false;
- btn_monorddward.selected = false;
- btn_emrorddin.selected = false;
- model.toggle("case_wardbed");
-
- btn_orddcdlist.visible = false;
- btn_wardbed.visible = false;
- btn_longinpat.visible = false;
- btn_profgonbz.visible = false;
- btn_orddwardbed.visible = false;
- btn_monorddward.visible = false;
- btn_emrorddin.visible = false;
-
- caption6.text = '진료과별/병동별 병상가동 현황';
- }else{
-
- }
-
- fShowComboBox();
- //combobox 선택시 case 이동을 위한 버튼 숨김
- btn_Sroomcd.visible = false;
- btn_Sorddeptcd.visible = false;
- btn_Sorddwardbed.visible = false;
- btn_Swardorddbed.visible = false;
- grd_inrsrvspec.colHidden(11) = true;
- model.setValue("/root/send/monorddward" , "orddeptcd");
- model.setValue("/root/send/fromdd" , getCurrentDate());
- model.setValue("/root/send/todd" , getCurrentDate());
- model.setValue("/root/send/orddd","20100101");
- model.setValue("/root/send/longinflag" , "orddept");
- model.setValue("/root/send/emrorddept" , "12");
- fGetUserInfosSampling();//세션정보
- model.setValue("/root/send/sess_posinstcd",model.getValue("/root/hidden/session/sess_dutplceinstcd"));
- model.setValue("/root/send/ioflag","I");
- submit("TRPMI00106");
- zbcfGetCodeList(new Array("P0008","P0025","P0037"),new Array("/root/init1/P0008list","/root/init1/P0025list","/root/init/P0037list"));
-
- // 원무공통코드 조회
- pamfGetCodeList(new Array("PK117"), new Array("/root/init1/PAM/PK117list"));
-
- var sWard = "■ 특수병상 목록 ■\r\n\r\n";
-
- for (i = 0; i < getNodesetCount("/root/init1/PAM/PK117list/PK117"); i++) {
-
- var ward = model.getValue("/root/init1/PAM/PK117list/PK117[" + i + "]/detl");
-
- if (!isNull(ward)) {
-
- sWard = sWard + ward + "\r\n";
- }
- }
-
- // 특수병상 제외 대상 표시
- // checkbox1.hint = sWard;
- // checkbox2.hint = sWard;
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // case 이동시 검색조건을 바꾸기위한 스크립트
- function fShowComboBox() {
- if(btn_orddcdlist.selected == true) {
- //btn_orddstand.visible = true;
- //btn_inpatmanage.visible = true;
- //btn_chk.visible = true;
- caption13.visible = false;
- }else if(btn_orddcdlist.selected == false) {
- btn_orddstand.visible = false;
- btn_inpatmanage.visible = false;
- btn_chk.visible = false;
- }if(btn_monorddward.selected == true) {
- cmb_roselect.visible = true;
- caption10.visible = true;
- //caption11.visible = true;
- caption12.visible = true;
- caption39.visible = true;
- fromdd.visible = true;
- todd.visible = true;
- caption13.visible = false;
- //월별진료과별 선택콤보
- cmb_roselect.select(0);
- var today = getCurrentDate();
- fromdd.value = today.substring(0,6) + "01";
- todd.value = today.substring(0,6) + today.toDate().getMonthDay();
- }else if(btn_monorddward.selected == false) {
- cmb_roselect.visible = false;
- caption10.visible = false;
- //caption11.visible = false;
- caption12.visible = false;
- caption39.visible = false;
- fromdd.visible = false;
- todd.visible = false;
- }if(btn_profgonbz.selected == true) {
- caption15.attribute("left") = "18px";
- ipt_fromdd.attribute("left") = "108px";
- caption14.attribute("left") = "202px";
- ipt_todd.attribute("left") = "218px";
- caption14.visible = true;
- caption15.visible = true;
- ipt_todd.visible = true;
- ipt_fromdd.visible = true;
- caption13.visible = false;
- }else if(btn_profgonbz.selected == false) {
- caption14.visible = false;
- caption15.visible = false;
- ipt_todd.visible = false;
- ipt_fromdd.visible = false;
- }if(btn_orddwardbed.selected == true) {
- caption16.attribute("left") = "18px";
- cmb_orddwardbed.attribute("left") = "108px";
- caption16.visible = true;
- cmb_orddwardbed.visible = true;
- //진료과별 병동별 선택콤보
- cmb_orddwardbed.select(0);
- checkbox1.visible = true;
- }else if(btn_orddwardbed.selected == false) {
- caption16.visible = false;
- cmb_orddwardbed.visible = false;
- checkbox1.visible = false;
- }if(btn_emrorddin.selected == true) {
- caption39.attribute("left") = "18px";
- cmb_emrorddept.attribute("left") = "107px";
- caption13.attribute("left") = "235px";
- fromdd.attribute("left") = "350px";
- caption12.attribute("left") = "445px";
- todd.attribute("left") = "460px";
- cmb_emrorddept.visible = true;
- caption39.visible = true;
- caption13.visible = true;
- caption12.visible = true;
- fromdd.visible = true;
- todd.visible = true;
- var today = getCurrentDate();
- fromdd.value = today.substring(0,6) + "01";
- todd.value = today.substring(0,6) + today.toDate().getMonthDay();
- }else if(btn_emrorddin.selected == false && btn_monorddward.selected == true) {
- cmb_emrorddept.visible = false;
- caption13.attribute("left") = "275px";
- fromdd.attribute("left") = "392px";
- caption12.attribute("left") = "487px";
- todd.attribute("left") = "502px";
- caption39.visible = true;
- caption12.visible = true;
- caption13.visible = true;
- fromdd.visible = true;
- todd.visible = true;
- }else if(btn_emrorddin.selected == false) {
- caption13.visible = false;
- cmb_emrorddept.visible = false;
- }
- if(btn_wardbed.selected == true) {
-
- caption17.visible = true;
- rdo_orddward.visible = true;
- caption17.attribute("left") = "18px";
- rdo_orddward.attribute("left") = "108px";
- checkbox2.visible = true;
- }else if(btn_wardbed.selected == false) {
- caption17.visible = false;
- rdo_orddward.visible = false;
- checkbox2.visible = false;
- }
- if(btn_longinpat.selected == true) {
- caption17.visible = true;
- caption17.attribute("left") = "18px";
- cmd_insukind.visible = true;
- cmd_insukind.attribute("left") = "109px";
- caption18.visible = true;
- caption18.attribute("left") = "240px";
- caption19.visible = true;
- caption19.attribute("left") = "364px";
- input_indaycnt.visible = true;
- input_indaycnt.attribute("left") = "330px";
- grd_longinpat.colHidden(0) = false;
- grd_longinpat.colHidden(1) = true;
- if(cmd_insukind.value == "orddept" ) {
- grd_longinpat.colHidden(0) = false;
- grd_longinpat.colHidden(1) = true;
- cap_orddept.visible = true;
- cap_insukind.visible = false;
- grd_longinpat.nodeset = "/root/list/longinpat";
- submit("TRPMI05200");
- }else if(cmd_insukind.value == "insukind" ) {
- grd_longinpat.colHidden(1) = false;
- grd_longinpat.colHidden(0) = true;
- cap_orddept.visible = false;
- cap_insukind.visible = true;
- grd_longinpat.nodeset = "/root/list/longinpat";
- submit("TRPMI05200");
- }
- }else if(btn_longinpat.selected == false && btn_wardbed.selected == false){
- caption17.visible = false;
- cmd_insukind.visible = false;
- caption18.visible = false;
- caption19.visible = false;
- input_indaycnt.visible = false;
- }else if(btn_wardbed.selected == true ) {
- caption17.visible = true;
- cmd_insukind.visible = false;
- caption18.visible = false;
- caption19.visible = false;
- input_indaycnt.visible = false;
- }
- }
- //grid 에 과별 합계구하기
- function fSubTot() {
- grd_wardorddbed.subtotalposition = "below";
- grd_orddwardbed.subtotalPosition = "below";
- grd_inrsrvspec.subtotalPosition = "below";
- grd_wardbed.subtotalPosition = "below";
- grd_monorddward.subtotalPosition = "below";
- grd_monorddeptcd.subtotalPosition = "below";
- grd_emrorddin.subtotalPosition = "below";
-
- grd_emrorddin.subtotal("sum" , -1 , 1 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 2 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 3 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 4 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 5 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 6 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 7 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 8 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 9 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 10 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 11 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 12 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 13 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 14 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 15 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 16 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 17 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 18 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 19 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 20 , "format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 21 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 22 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 23 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 24 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 25 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 26 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 27 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 28 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 29 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 30 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 31 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_emrorddin.subtotal("sum" , -1 , 32 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
-
- grd_monorddeptcd.subtotal("sum" , -1 , 1 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 2 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("average" , -1 , 3 ,"format:###%; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 4 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 5 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 6 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 7 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 8 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 9 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 10 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 11 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 12 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 13,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 14 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 15 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 16 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 17 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 18 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 19 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 20 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 21 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 22 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 23 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 24 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 25 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 26 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 27 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 28 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 29 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 30 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 31 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 32 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 33 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 34 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddeptcd.subtotal("sum" , -1 , 35 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
-
- grd_monorddward.subtotal("sum" , -1 , 2 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 3 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("average" , -1 , 4 ,"format:###%; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 5 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 6 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 7 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 8 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 9 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 10 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 11 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 12 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 13 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 14 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 15 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 16 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 17 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 18 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 19 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 20 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 21 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 22 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 23 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 24 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 25 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 26 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 27 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 28 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 29 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 30 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 31 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 32 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 33 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 34 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 35 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_monorddward.subtotal("sum" , -1 , 36 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
-
- //grd_wardbed.subtotal("sum",-1, 2 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- //grd_wardbed.subtotal("sum",-1, 3 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- //grd_wardbed.subtotal("average",-1, 4 ,"format:###%; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
-
- grd_inrsrvspec.subtotal("sum",-1, 1 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_inrsrvspec.subtotal("sum",-1, 2 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_inrsrvspec.subtotal("average",-1, 3 ,"format:###%; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_inrsrvspec.subtotal("sum",-1, 4 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_inrsrvspec.subtotal("sum",-1, 5 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_inrsrvspec.subtotal("sum",-1, 6 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_inrsrvspec.subtotal("average",-1, 7 ,"format:###%; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_inrsrvspec.subtotal("sum",-1, 8 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_inrsrvspec.subtotal("sum",-1, 9 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_inrsrvspec.subtotal("sum",-1, 10 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
-
- grd_orddwardbed.subtotal("sum",-1, 1 ,"format:#,###; roundmode:round; roundpostion:2", "font-weight:bold;", 0, "합계",true);
- grd_orddwardbed.subtotal("sum",-1, 2 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_orddwardbed.subtotal("sum",-1, 3 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_orddwardbed.subtotal("sum",-1, 4 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_orddwardbed.subtotal("average",-1, 5 ,"format:###%; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_orddwardbed.subtotal("average",-1, 6 ,"format:###%; roundmode:round; roundpostion:2", "", 0, "합계",true);
-
- grd_wardorddbed.subtotal("sum",0, 2 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "과별합계",true);
- grd_wardorddbed.subtotal("sum",0, 3 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "과별합계",true);
- grd_wardorddbed.subtotal("sum",0, 4 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "과별합계",true);
- grd_wardorddbed.subtotal("sum",0, 5 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "과별합계",true);
- grd_wardorddbed.subtotal("average",0, 6 ,"format:###%; roundmode:round; roundpostion:2", "", 0, "과별합계",true);
- grd_wardorddbed.subtotal("average",0, 7 ,"format:###%; roundmode:round; roundpostion:2", "", 0, "과별합계",true);
-
- grd_wardorddbed.multiTotals = true;
-
- grd_wardorddbed.subtotal("sum",-1, 2 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_wardorddbed.subtotal("sum",-1, 3 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_wardorddbed.subtotal("sum",-1, 4 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_wardorddbed.subtotal("sum",-1, 5 ,"format:#,###; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_wardorddbed.subtotal("average",-1, 6 ,"format:###%; roundmode:round; roundpostion:2", "", 0, "합계",true);
- grd_wardorddbed.subtotal("average",-1, 7 ,"format:###%; roundmode:round; roundpostion:2", "", 0, "합계",true);
- }
- function fMergerCol() {
- grd_wardorddbed.mergeCol(2) = false;
- grd_wardorddbed.mergeCol(3) = false;
- grd_wardorddbed.mergeCol(4) = false;
- grd_wardorddbed.mergeCol(5) = false;
- grd_wardorddbed.mergeCol(6) = false;
- grd_wardorddbed.mergeCol(7) = false;
- grd_wardorddbed.mergeCol(8) = false;
- grd_wardorddbed.mergeCells = "bycol";
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:204px; height:14px; ">진료과별 재원 및 예약환자 현황</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:15px; width:1175px; height:670px; ">
- <switch id="swt_aipmmngt" style="left:0px; top:65px; width:1170px; height:600px; ">
- <!-- 진료과별 재원 및 예약환자 현황-->
- <case id="case_inrsrvspec" style="left:0px; top:0px; width:1192px; height:600px; ">
- <line id="line19" class="line_1" style="x1:0px; y1:25px; x2:1170px; y2:25px; "/>
- <datagrid id="grd_inrsrvspec" nodeset="/root/list/orddinpat" scroll="auto" caption="진료과^병상수^과소속 전체 재원환자수^과소속 전체 재원환자수^배정병상기준 재원환자 및 빈병상^배정병상기준 재원환자 및 빈병상^배정병상기준 재원환자 및 빈병상^배정병상기준 재원환자 및 빈병상^입원 예약자 (30일 이내)^입원 예약자 (30일 이내)^입원 예약자 (30일 이내)^응급실|진료과^병상수^재원환자수^가동율^재원환자수^빈병상^(결정)^가동율^긴급환자^일반환자^합 계^재원환자" colsep="^" colwidth="145, 100, 100, 100, 100, 60, 40, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" subtotalposition="below" style="left:0px; top:30px; width:1170px; height:570px; text-align:center; ">
- <col ref="orddeptnm" type="output">
- <!-- 진료과별 재원및 예약환자현황(병상가동현황)-->
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell()) {
- //var sOrddeptnm = grd_inrsrvspec.labelMatrix(grd_inrsrvspec.row,grd_inrsrvspec.col);
- //var sOrddeptcd = grd_inrsrvspec.valueMatrix(grd_inrsrvspec.row,grd_inrsrvspec.col);
- var row = grd_inrsrvspec.row -1;
- var sOrddept = model.getValue("/root/list/orddinpat[" + row + "]/orddeptcd");
-
- model.setValue("/root/send/orddeptcd" , sOrddept);
-
- if(model.getValue("/root/send/orddeptcd") == "2500000000") {
- model.setValue("/root/send/reportflag" , "rorddinpat");
- submit("TRPMI05210");
- exeReportPreview("RPPMI05215", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- }else if(model.getValue("/root/send/orddeptcd") != "2500000000"){
- model.setValue("/root/send/reportflag" , "rorddinpat");
- submit("TRPMI05210");
- exeReportPreview("RPPMI05211", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- }
- }
- ]]>
- </script>
- </col>
- <col ref="bedcnt">
- <!-- 진료과별 재원및 예약환자현황(병상가동현황)-->
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell()) {
- //var sOrddeptcd = grd_inrsrvspec.labelMatrix(grd_inrsrvspec.row,0);
- //model.setValue("/root/source/orddeptcd", sOrddeptcd);
- //submit("TRPMI05220");
- var row = grd_inrsrvspec.row -1;
- var sOrddept = model.getValue("/root/list/orddinpat[" + row + "]/orddeptcd");
- model.setValue("/root/send/reportflag" , "rorddinpat");
- model.setValue("/root/send/orddeptcd" , sOrddept);
- exeReportPreview("RPPMI05211", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- }
- ]]>
- </script>
- </col>
- <col ref="deptinpatcnt">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()) {
- // var sOrddeptcd = grd_inrsrvspec.valueMatrix(grd_inrsrvspec.row,0);
- // var sOrddeptnm = grd_inrsrvspec.labelMatrix(grd_inrsrvspec.row,0);
- // model.setValue("/root/source/orddeptnm" , sOrddeptnm);
- // model.setValue("/root/send/orddeptcd", sOrddeptcd);
- var row = grd_inrsrvspec.row -1;
- var sOrddept = model.getValue("/root/list/orddinpat[" + row + "]/orddeptcd");
-
- model.setValue("/root/send/orddeptcd" , sOrddept);
- model.setValue("/root/send/inpatflag" ,"orddept");
- model.setValue("/root/send/reportflag" , "wardinpatrep");
- submit("TRPMI05210");
- exeReportPreview("RPPMI05212", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- }
- ]]>
- </script>
- </col>
- <col ref="deptinpatrate"/>
- <col ref="inpatcnt">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()) {
- // var sOrddeptcd = grd_inrsrvspec.valueMatrix(grd_inrsrvspec.row,0);
- // var sOrddeptnm = grd_inrsrvspec.labelMatrix(grd_inrsrvspec.row,0);
- // model.setValue("/root/source/orddeptnm" , sOrddeptnm);
- // model.setValue("/root/send/orddeptcd", sOrddeptcd);
- var row = grd_inrsrvspec.row -1;
- var sOrddept = model.getValue("/root/list/orddinpat[" + row + "]/orddeptcd");
-
- model.setValue("/root/send/orddeptcd" , sOrddept);
- model.setValue("/root/send/inpatflag" ,"wardbed");
- model.setValue("/root/send/reportflag" , "wardinpatrep");
- submit("TRPMI05210");
- exeReportPreview("RPPMI05212", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- }
- ]]>
- </script>
- </col>
- <col ref="vacantcnt">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()) {
- // var sOrddeptcd = grd_inrsrvspec.valueMatrix(grd_inrsrvspec.row,0);
- // var sOrddeptnm = grd_inrsrvspec.labelMatrix(grd_inrsrvspec.row,0);
- // model.setValue("/root/source/orddeptnm" , sOrddeptnm);
- // model.setValue("/root/send/orddeptcd", sOrddeptcd);
- var row = grd_inrsrvspec.row -1;
- var sOrddept = model.getValue("/root/list/orddinpat[" + row + "]/orddeptcd");
-
- model.setValue("/root/send/orddeptcd" , sOrddept);
- model.setValue("/root/send/reportflag" , "emptybed");
- submit("TRPMI05210");
- exeReportPreview("RPPMI05213", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- }
- ]]>
- </script>
- </col>
- <col ref="decicnt"/>
- <col ref="inpatrate"/>
- <col ref="ugcyrsrvcnt"/>
- <col ref="rsrvcnt">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()) {
- // var sOrddeptcd = grd_inrsrvspec.valueMatrix(grd_inrsrvspec.row,0);
- // var sOrddeptnm = grd_inrsrvspec.labelMatrix(grd_inrsrvspec.row,0);
- // model.setValue("/root/source/orddeptnm" , sOrddeptnm);
- // model.setValue("/root/send/orddeptcd", sOrddeptcd);
- var row = grd_inrsrvspec.row -1;
- var sOrddept = model.getValue("/root/list/orddinpat[" + row + "]/orddeptcd");
-
- model.setValue("/root/send/orddeptcd" , sOrddept);
- model.setValue("/root/send/reportflag" , "genpat");
- submit("TRPMI05210");
- exeReportPreview("RPPMI05214", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- }
- ]]>
- </script>
- </col>
- <col ref="sumrsrvcnt"/>
- <col/>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:5px; top:6px; width:206px; height:14px; ">진료과별 재원 및 예약환자 현황</caption>
- <button id="btn_print1" class="btn2_letter2" style="left:1050px; top:3px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPMI05210", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_inrsrvspec.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <caption id="caption20" style="left:210px; top:3px; width:100px; height:20px; font-weight:bold; color:#0000ff; ">(실시간 현황)</caption>
- </case>
- <!-- 병동별 병실별 재원환자 현황-->
- <case id="case_wardbed" selected="true" style="left:0px; top:0px; width:1192px; height:600px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1175px; y2:25px; "/>
- <datagrid id="grd_wardbed" caption="병동명^진료과^총 Bed수^현 재원수^가동율^flag" colsep="^" colwidth="130, 130, 70, 100, 80, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:402px; height:570px; text-align:center; ">
- <col disabled="true" ref="wardnm"/>
- <col disabled="true" ref="orddeptnm" type="output"/>
- <col ref="totbedcnt"/>
- <col ref="totinpatcnt"/>
- <col ref="wardbedrate"/>
- <col ref="flag" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //병동별 병실별 재원환자현황 조회후 결과값 더블클릭시 상세보기
- var row = grd_wardbed.row;
- var flag = model.getValue("/root/list/wardbedinpat[" + row + "]/flag");
- model.setValue("/root/send/flag" , flag);
- var sOrddeptcd = model.getValue("/root/list/wardbedinpat[" + row + "]/orddeptcd");
- model.setValue("/root/send/orddeptcd" , sOrddeptcd);
- submit("TRPMI05220");
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:5px; top:6px; width:195px; height:15px; ">진료과별 병상가동 현황</caption>
- <button id="btn_print2" class="btn2_letter2" style="left:1050px; top:3px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPMI05200");
- exeReportPreview("RPPMI05220", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- <button id="btn_saveexcel2" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_wardbed.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_subwardbed" nodeset="/root/main/wardbedinfo" scroll="auto" autoresize="true" caption="병동명^병실명^병실등급^병상명^배정진료과명^상태^등록번호^환자명^Sex^진료과" colsep="^" colwidth="120, 80, 120, 80, 120, 50, 100, 80, 30, 110" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:405px; top:30px; width:765px; height:570px; text-align:center; ">
- <col disabled="true" ref="wardcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="roomcd"/>
- <col disabled="true" ref="roomgrdecd" type="combo">
- <choices>
- <itemset nodeset="/root/init/roomgrdecd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="wardgrdecd"/>
- <col ref="assorddeptcd"/>
- <col ref="inpt_indschacptstat"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sex"/>
- <col ref="orddeptcd"/>
- </datagrid>
- <caption id="caption21" style="left:170px; top:3px; width:100px; height:20px; font-weight:bold; color:#0000ff; ">(실시간 현황)</caption>
- </case>
- <!--진료과별 장기 재원자 현황-->
- <case id="case_longinpat" style="left:0px; top:0px; width:1192px; height:600px; ">
- <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:1175px; y2:25px; "/>
- <datagrid id="grd_longinpat" caption="진료과^유형^장기재원자수^재원일^1인평균재원일수" colsep="^" colwidth="120, 120, 100, 100, 138" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:1170px; height:570px; text-align:center; ">
- <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="insukind" type="combo">
- <choices>
- <itemset nodeset="/root/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="longincnt"/>
- <col ref="inpatcnt"/>
- <col ref="avginpatcnt"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell()) {
- if(cmd_insukind.value == "orddept") {
- var sOrddeptcd = grd_longinpat.valueMatrix(grd_longinpat.row, 0);
- var sOrddeptnm = grd_longinpat.labelMatrix(grd_longinpat.row, 0);
- model.setValue("/root/send/orddeptcd", sOrddeptcd);
- model.setValue("/root/source/orddeptnm", sOrddeptnm);
- }else if(cmd_insukind.value == "insukind") {
- var sInsukindnm = grd_longinpat.labelMatrix(grd_longinpat.row , 1);
- var sInsukind = grd_longinpat.valueMatrix(grd_longinpat.row , 1);
- model.setValue("/root/send/insukind" , sInsukind);
- model.setValue("/root/source/insukindnm" , sInsukindnm);
- }
- model.setValue("/root/send/sendflag" , "LD")
- submit("TRPMI05200");
- //submit("TRPMI05210");
- btn_chaninpatlist.dispatch("onclick");
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:5px; top:6px; width:214px; height:14px; ">장기 재원환자 관리</caption>
- <button id="btn_print3" class="btn2_letter2" style="left:1050px; top:3px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPMI05235", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- <button id="btn_saveexcel3" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_longinpat.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <caption id="caption22" style="left:140px; top:3px; width:100px; height:20px; font-weight:bold; color:#0000ff; ">(실시간 현황)</caption>
- </case>
- <!-- 진료과별 장기 재원자 현황 상세 리스트-->
- <case id="case_longinpatlist" style="left:0px; top:0px; width:1192px; height:600px; ">
- <line id="line3" class="line_1" style="x1:0px; y1:25px; x2:1175px; y2:25px; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:6px; width:166px; height:15px; ">진료과별 장기재원자 현황</caption>
- <button id="button5" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_longinpatlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter2" style="left:1050px; top:3px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //submit("TRPMI05210");
- exeReportPreview("RPPMI05230", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- <datagrid id="grd_longinpatlist" nodeset="/root/list/longinpatlist" caption="병실명^환자번호^이름^입원일자^유형^나이^장기재원사유^재원일수^주치의^전문의^총진료비^급여총액^급여청구^급여본인^비급여^본인부담^기납부액^차인납부^미수금" colsep="^" colwidth="100, 100, 70, 100, 100, 50, 100, 80, 70, 70, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:1170px; height:570px; text-align:center; ">
- <col ref="roomcd"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="indd"/>
- <col disabled="true" ref="insukind" type="output"/>
- <col ref="age"/>
- <col ref="dschdelayresn"/>
- <col ref="innd"/>
- <col ref="atdoctid"/>
- <col ref="medispclid"/>
- <col ref="totmedcost"/>
- <col ref="totpay"/>
- <col ref="payapp"/>
- <col ref="payme"/>
- <col ref="nopay"/>
- <col ref="ownbamt"/>
- <col ref="gipayment"/>
- <col ref="chapayment"/>
- <col ref="uncollent"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( ! isDataCell() ){
- return false;
- }
-
- var row = grd_longinpatlist.row;
- //model.setValue("/root/list/longinpatlist/cretno" , "1");
- //model.setValue("/root/list/longinpatlist/dschschdd" , "99991231");
- setParameter("SPPMI04002_PID", model.getValue("/root/list/longinpatlist[" + row + "]/pid"));
- setParameter("SPPMI04002_INDD", model.getValue("/root/list/longinpatlist[" + row + "]/indd"));
- setParameter("SPPMI04002_CRETNO", model.getValue("/root/list/longinpatlist[" + row + "]/cretno"));
- setParameter("SPPMI04002_HNGNM", model.getValue("/root/list/longinpatlist[" + row + "]/hngnm"));
- setParameter("SPPMI04002_DSCHSCHDD", model.getValue("/root/list/longinpatlist[" + row + "]/dschschdd")); //퇴원 예정일
- setParameter("SPPMI04002_DSCHDELAYRESN", model.getValue("/root/list/longinpatlist[" + row + "]/dschdelayresn")); //퇴원지연사유
-
- modal("SPPMI04002", "1","", "", "SPPMI04002", "", "");
-
- model.setValue("/root/list/longinpatlist[" + row + "]/dschschdd", getParameter("SPPMI04002_DSCHSCHDD"));
- model.setValue("/root/list/longinpatlist[" + row + "]/dschdelayresn", getParameter("SPPMI04002_DSCHDELAYRESN"));
- ]]>
- </script>
- </datagrid>
- <caption id="cap_orddept" ref="/root/source/orddeptnm" style="left:165px; top:4px; width:140px; height:20px; font-weight:bold; "/>
- <caption id="cap_insukind" ref="/root/source/insukindnm" style="left:165px; top:4px; width:125px; height:20px; font-weight:bold; "/>
- </case>
- <!--교수 출장현황-->
- <case id="case_profgonbz" style="left:0px; top:0px; width:1192px; height:600px; ">
- <line id="line4" class="line_1" style="x1:0px; y1:25px; x2:1175px; y2:25px; "/>
- <caption id="caption5" class="tit_2" style="left:5px; top:6px; width:165px; height:14px; ">교수출장현황</caption>
- <button id="btn_print4" class="btn2_letter2" style="left:1050px; top:3px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/holiflag" , "H");
- model.setValue("/root/send/fromdd" , ipt_fromdd.value);
- model.setValue("/root/send/todd" , ipt_todd.value);
- submit("TRPMB00904");
- exeReportPreview("RPPMI05240", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- <button id="btn_saveexcel4" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_profgonbz.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_profgonbz" nodeset="/root/main/drholiordsche/drholiordschelist" caption="진료과^성명^출장시작일^출장종료일^사유" colsep="^" colwidth="120, 100, 120, 120, 100" dataheight="25" defaultrows="2" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:0px; top:30px; width:1170px; height:570px; text-align:center; vertical-align:middle; ">
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col ref="fromdd" format="yyyy-mm-dd"/>
- <col ref="todd" format="yyyy-mm-dd"/>
- <col ref="ordendresnnm" type="output"/>
- </datagrid>
- <caption id="caption23" style="left:110px; top:3px; width:235px; height:20px; font-weight:bold; color:#0000ff; ">(의사별 휴진일정관리 기준)</caption>
- </case>
- <!-- 진료과별 병동별 병상가동현황 - 과별 -->
- <case id="case_orddwardbed" style="left:0px; top:0px; width:1192px; height:600px; ">
- <line id="line5" class="line_1" style="x1:0px; y1:25px; x2:1170px; y2:25px; "/>
- <caption id="caption7" class="tit_2" style="left:5px; top:6px; width:239px; height:14px; ">진료과별 병동별 병상가동현황 - 과별</caption>
- <button id="btn_print5" class="btn2_letter2" style="left:1050px; top:3px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPMI05250", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- <button id="btn_saveexcel5" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_orddwardbed.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_orddwardbed" caption="진료과^병상수^환자수^타과환자^빈병상^가동율^타과율" colsep="^" colwidth="120, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:1170px; height:570px; text-align:center; ">
- <col disabled="true" ref="orddeptnm" type="output">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // 진료과별 병동별 병상가동현황 -과별에서 진료과 더블클릭시 리포트창 띄움
- if (isDataCell()) {
- var sOrddeptnm = grd_orddwardbed.labelMatrix(grd_orddwardbed.row, grd_orddwardbed.col);
- //var sOrddeptcd = grd_orddwardbed.valueMatrix(grd_orddwardbed.row, grd_orddwardbed.col);
- var row = grd_orddwardbed.row;
- var sOrddeptcd = model.getValue("/root/list/orddward[" + row + "]/orddeptcd");
-
- //if(sOrddeptnm == model.getValue("/root/list/orddward/orddeptnm")) {
- model.setValue("/root/source/orddeptnm", sOrddeptnm);
- model.setValue("/root/send/orddeptcd" , sOrddeptcd);
- model.setValue("/root/send/orddflag" , "orddept");
- model.setValue("/root/send/sendflag" , "OD");
- submit("TRPMI05200");
- exeReportPreview("RPPMI05251", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- // }
- }
- model.refresh();
- ]]>
- </script>
- </col>
- <col ref="wardcnt"/>
- <col ref="inpatcnt"/>
- <col ref="otherorddin">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()) {
- var sOrddeptnm = grd_orddwardbed.labelMatrix(grd_orddwardbed.row,0);
- //var sOrddeptcd = grd_orddwardbed.valueMatrix(grd_orddwardbed.row,0);
- var row = grd_orddwardbed.row;
- var sOrddeptcd = model.getValue("/root/list/orddward[" + row + "]/orddeptcd");
- model.setValue("/root/send/orddeptcd" , sOrddeptcd);
- model.setValue("/root/source/orddeptnm" , sOrddeptnm);
- //alert(model.getValue("/root/source/orddeptcd"));
- model.setValue("/root/send/orddflag" , "other");
- model.setValue("/root/send/sendflag" , "OD");
- submit("TRPMI05200");
- exeReportPreview("RPPMI05251", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- }
- model.refresh();
- ]]>
- </script>
- </col>
- <col ref="emptyward"/>
- <col ref="orddrate"/>
- <col ref="otherorddrate"/>
- </datagrid>
- <caption id="caption24" style="left:250px; top:3px; width:100px; height:20px; font-weight:bold; color:#0000ff; ">(실시간 현황)</caption>
- </case>
- <!-- 진료과별 병동별 병상가동현황 - 과별병동별 -->
- <case id="case_wardorddbed" style="left:0px; top:0px; width:1192px; height:600px; ">
- <line id="line6" class="line_1" style="x1:0px; y1:25px; x2:1175px; y2:25px; "/>
- <caption id="caption8" class="tit_2" style="left:5px; top:6px; width:283px; height:14px; ">진료과별 병동별 병상가동 현황 - 과별병동별</caption>
- <button id="button6" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_wardorddbed.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_wardorddbed" caption="진료과^병동^병상수^환자수^타과환자^빈병상^가동율^타과율" colsep="^" colwidth="120, 100, 100, 100, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:1170px; height:570px; text-align:center; ">
- <col ref="orddeptnm" type="output">
- <script type="javascript">
- <![CDATA[
- grd_wardorddbed.colSort(0) = "asc";
- ]]>
- </script>
- </col>
- <col ref="wardnm" type="output"/>
- <col ref="wardcnt"/>
- <col ref="inpatcnt"/>
- <col ref="otherorddin"/>
- <col ref="emptyward"/>
- <col ref="orddrate"/>
- <col ref="otherorddrate"/>
- </datagrid>
- <caption id="caption25" style="left:295px; top:3px; width:100px; height:20px; font-weight:bold; color:#0000ff; ">(실시간 현황)</caption>
- </case>
- <!-- 월별 진료과별 병상가동 현황 - 병실별 -->
- <case id="case_monorddward" style="left:0px; top:0px; width:1192px; height:600px; ">
- <line id="line7" class="line_1" style="x1:0px; y1:25px; x2:1175px; y2:25px; "/>
- <caption id="caption9" class="tit_2" style="left:5px; top:6px; width:265px; height:13px; ">월별 진료과별 병상가동 현황 - 병실별</caption>
- <datagrid id="grd_monorddward" nodeset="/root/main/monwardinfo" caption="병동명^병실명^기본^총병상^가동율^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^총가동수" colsep="^" colwidth="100, 100, 60, 60, 60, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 77" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:1170px; height:570px; text-align:center; ">
- <col ref="wardnm"/>
- <col ref="roomcd" type="output"/>
- <col ref="avgbedcnt"/>
- <col ref="bedcnt"/>
- <col ref="oprrate"/>
- <col ref="c01"/>
- <col ref="c02"/>
- <col ref="c03"/>
- <col ref="c04"/>
- <col ref="c05"/>
- <col ref="c06"/>
- <col ref="c07"/>
- <col ref="c08"/>
- <col ref="c09"/>
- <col ref="c10"/>
- <col ref="c11"/>
- <col ref="c12"/>
- <col ref="c13"/>
- <col ref="c14"/>
- <col ref="c15"/>
- <col ref="c16"/>
- <col ref="c17"/>
- <col ref="c18"/>
- <col ref="c19"/>
- <col ref="c20"/>
- <col ref="c21"/>
- <col ref="c22"/>
- <col ref="c23"/>
- <col ref="c24"/>
- <col ref="c25"/>
- <col ref="c26"/>
- <col ref="c27"/>
- <col ref="c28"/>
- <col ref="c29"/>
- <col ref="c30"/>
- <col ref="c31"/>
- <col ref="totalinpatcnt"/>
- </datagrid>
- <button id="btn_print6" class="btn2_letter2" style="left:1050px; top:3px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPMI05260", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- <button id="btn_saveexcel6" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_monorddward.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <caption id="caption26" style="left:255px; top:3px; width:100px; height:20px; font-weight:bold; color:#0000ff; ">(병상집계기준)</caption>
- </case>
- <!-- 월별 진료과별 병상가동 현황 - 진료과별 -->
- <case id="case_monorddeptcd" style="left:0px; top:0px; width:1192px; height:600px; ">
- <line id="line8" class="line_1" style="x1:0px; y1:25px; x2:1175px; y2:25px; "/>
- <caption id="caption10" class="tit_2" style="left:5px; top:6px; width:315px; height:13px; ">월별 진료과별 병상가동 현황 - 진료과별</caption>
- <button id="button1" class="btn2_letter2" style="left:1050px; top:3px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPMI05270", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_monorddeptcd.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_monorddeptcd" nodeset="/root/main/monorddinfo" caption="Deptname^기본^총병상^가동율^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^총가동수" colsep="^" colwidth="120, 100, 100, 100, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 77" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:1170px; height:570px; text-align:center; ">
- <col ref="wardnm" type="output"/>
- <col ref="avgbedcnt"/>
- <col ref="bedcnt"/>
- <col ref="oprrate"/>
- <col ref="c01"/>
- <col ref="c02"/>
- <col ref="c03"/>
- <col ref="c04"/>
- <col ref="c05"/>
- <col ref="c06"/>
- <col ref="c07"/>
- <col ref="c08"/>
- <col ref="c09"/>
- <col ref="c10"/>
- <col ref="c11"/>
- <col ref="c12"/>
- <col ref="c13"/>
- <col ref="c14"/>
- <col ref="c15"/>
- <col ref="c16"/>
- <col ref="c17"/>
- <col ref="c18"/>
- <col ref="c19"/>
- <col ref="c20"/>
- <col ref="c21"/>
- <col ref="c22"/>
- <col ref="c23"/>
- <col ref="c24"/>
- <col ref="c25"/>
- <col ref="c26"/>
- <col ref="c27"/>
- <col ref="c28"/>
- <col ref="c29"/>
- <col ref="c30"/>
- <col ref="c31"/>
- <col ref="totalinpatcnt"/>
- </datagrid>
- <caption id="caption27" style="left:270px; top:3px; width:100px; height:20px; font-weight:bold; color:#0000ff; ">(병상집계기준)</caption>
- </case>
- <!-- 응급실 진료과별 기간별 재원현황 -->
- <case id="case_emrorddin" style="left:0px; top:0px; width:1192px; height:600px; ">
- <line id="line9" class="line_1" style="x1:0px; y1:25px; x2:1170px; y2:25px; "/>
- <caption id="caption11" class="tit_2" style="left:5px; top:6px; width:214px; height:15px; ">응급실 진료과 기간별 재원현황</caption>
- <datagrid id="grd_emrorddin" nodeset="/root/main/emrinpatinfo" caption="Deptname^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^총재원수" colsep="^" colwidth="120, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 77" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:1170px; height:570px; ">
- <col ref="wardnm" type="output" style="text-align:center; "/>
- <col ref="c01"/>
- <col ref="c02"/>
- <col ref="c03"/>
- <col ref="c04"/>
- <col ref="c05"/>
- <col ref="c06"/>
- <col ref="c07"/>
- <col ref="c08"/>
- <col ref="c09"/>
- <col ref="c10"/>
- <col ref="c11"/>
- <col ref="c12"/>
- <col ref="c13"/>
- <col ref="c14"/>
- <col ref="c15"/>
- <col ref="c16"/>
- <col ref="c17"/>
- <col ref="c18"/>
- <col ref="c19"/>
- <col ref="c20"/>
- <col ref="c21"/>
- <col ref="c22"/>
- <col ref="c23"/>
- <col ref="c24"/>
- <col ref="c25"/>
- <col ref="c26"/>
- <col ref="c27"/>
- <col ref="c28"/>
- <col ref="c29"/>
- <col ref="c30"/>
- <col ref="c31"/>
- <col ref="totalinpatcnt"/>
- </datagrid>
- <button id="button2" class="btn2_letter2" style="left:1050px; top:3px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPMI05280", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" style="left:1098px; top:3px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_emrorddin.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <caption id="caption28" style="left:220px; top:3px; width:100px; height:20px; font-weight:bold; color:#0000ff; ">(병상집계기준)</caption>
- </case>
- </switch>
- <button id="btn_wardbed" class="btn_sw" group="tab" selected="false" style="left:195px; top:45px; width:170px; height:22px; ">
- <caption>진료과별 병상가동 현황</caption>
- <toggle case="case_wardbed" ev:event="xforms-activate"/>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- fShowComboBox();
- ]]>
- </script>
- </button>
- <button id="btn_longinpat" class="btn_sw" group="tab" selected="false" style="left:365px; top:45px; width:160px; height:22px; ">
- <caption>진료과별 장기재원자 현황</caption>
- <toggle case="case_longinpat" ev:event="xforms-activate"/>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- fShowComboBox();
- ]]>
- </script>
- </button>
- <group id="group5" style="left:0px; top:5px; width:1172px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1172px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1100px; y1:7px; x2:1100px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search2" class="btn1_letter2" style="left:1111px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_orddcdlist.selected == true) {
- grd_inrsrvspec.nodeset = "/root/list/orddinpat";
- model.setValue("/root/send/sendflag" , "O");
- submit("TRPMI05200");
-
- fSubTot();
- //grd_inrsrvspec.subtotal("sum", -1, grd_inrsrvspec.colRef("bedcnt"),"", "", 1, "Total");
- }else if(btn_longinpat.selected == true) {
- grd_longinpat.nodeset = "/root/list/longinpat";
- model.setValue("/root/send/sendflag" , "L");
- submit("TRPMI05200");
- }else if(btn_wardbed.selected == true) {
- if(model.getValue("/root/send/selectordward") == "") {
- messageBox("진료과와 병동중 하나를 ","C002");
- }else {
- grd_wardbed.nodeset = "/root/list/wardbedinpat";
- model.setValue("/root/send/sendflag" , "W");
- submit("TRPMI05200");
- fSubTot();
- }
- }else if(btn_orddwardbed.selected == true && cmb_orddwardbed.value == "orddcd") {
- grd_orddwardbed.nodeset = "/root/list/orddward";
- model.setValue("/root/send/sendflag" , "WO");
- submit("TRPMI05200");
- fSubTot();
- }else if(btn_orddwardbed.selected == true && cmb_orddwardbed.value == "orddwardcd") {
- grd_wardorddbed.nodeset = "/root/list/wardordd";
- model.setValue("/root/send/sendflag" , "OW");
- submit("TRPMI05200");
- //fSubTot();
- fMergerCol();
- // 월별 진료과별 병상가동 현황
- }else if(btn_monorddward.selected == true && cmb_roselect.value == "roomcd") {
- grd_monorddward.nodeset="/root/main/monwardinfo";
- submit("TRPMI05240");
- fSubTot();
- }else if(btn_monorddward.selected == true && cmb_roselect.value == "wardordd"){
- grd_monorddeptcd.nodeset="/root/main/monorddinfo";
- submit("TRPMI05240");
- fSubTot();
- }else if(btn_monorddward.selected == true && cmb_roselect.value == "comnbed"){
- grd_monorddeptcd.nodeset="/root/main/moncomnbedinfo";
- submit("TRPMI05240");
- fSubTot();
- }else if(btn_monorddward.selected == true && cmb_roselect.value == "inpatordd"){
- grd_monorddeptcd.nodeset="/root/main/moninpatordd";
- submit("TRPMI05245");
- fSubTot();
- }else if(btn_emrorddin.selected == true) {
- submit("TRPMI05250");
- fSubTot();
- }else if(btn_profgonbz.selected == true) {
- model.setValue("/root/send/holiflag" , "H");
- model.setValue("/root/send/fromdd" , ipt_fromdd.value);
- model.setValue("/root/send/todd" , ipt_todd.value);
- submit("TRPMB00904");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <caption id="caption39" class="search_name" visibility="hidden" style="left:18px; top:9px; width:87px; height:17px; ">검색조건 :</caption>
- <select1 id="cmb_roselect" ref="/root/send/monorddward" class="combo_default" visibility="hidden" appearance="minimal" style="left:108px; top:8px; width:150px; height:19px; ">
- <choices>
- <item>
- <label>진료과별(병상기준)</label>
- <value>wardordd</value>
- </item>
- <item>
- <label>진료과별(재원과기준)</label>
- <value>inpatordd</value>
- </item>
- <item>
- <label>병실별</label>
- <value>roomcd</value>
- </item>
- <item>
- <label>공용병상별(재원과기준)</label>
- <value>comnbed</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(cmb_roselect.value == "roomcd") {
- model.removeNodeset("/root/main/monwardinfo");
- model.refresh();
- btn_Sroomcd.dispatch("onclick");
- //btn_search2.dispatch("onclick");
- }else if(cmb_roselect.value == "wardordd" || cmb_roselect.value == "inpatordd"){
- model.removeNodeset("/root/main/monorddinfo");
- model.removeNodeset("/root/main/moninpatordd");
- model.refresh();
- btn_Sorddeptcd.dispatch("onclick");
- btn_Sorddeptcd.selected == true;
- //btn_search2.dispatch("onclick");
- }
- ]]>
- </script>
- </select1>
- <button id="btn_Sroomcd" visibility="hidden" style="left:975px; top:10px; width:15px; height:10px; ">
- <caption>.</caption>
- <toggle case="case_monorddward" ev:event="xforms-activate"/>
- </button>
- <button id="btn_Sorddeptcd" visibility="hidden" style="left:985px; top:20px; width:15px; height:10px; ">
- <caption>.</caption>
- <toggle case="case_monorddeptcd" ev:event="xforms-activate"/>
- </button>
- <input id="fromdd" ref="/root/send/fromdd" class="input_search" visibility="hidden" inputtype="date" style="left:342px; top:8px; width:90px; height:19px; ">
- <script type="javascript">
- <![CDATA[
- var befoDate = getCurrentDate();
- befoDate = befoDate.toDate().getAddDate(1,"M");
- //alert(befoDate);
- ]]>
- </script>
- </input>
- <input id="todd" ref="/root/send/todd" class="input_search" visibility="hidden" inputtype="date" style="left:452px; top:8px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- // btn_search.dispatch("DOMActivate");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption12" visibility="hidden" style="left:437px; top:8px; width:15px; height:20px; ">~</caption>
- <caption id="caption13" class="search_name" visibility="hidden" style="left:225px; top:9px; width:128px; height:17px; ">병실조회기간 :</caption>
- <caption id="caption14" visibility="hidden" style="left:219px; top:9px; width:15px; height:19px; text-align:center; vertical-align:middle; ">~</caption>
- <caption id="caption15" class="search_name" visibility="hidden" style="left:38px; top:9px; width:86px; height:17px; ">조회기간 :</caption>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" visibility="hidden" inputtype="date" style="left:235px; top:8px; width:90px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" visibility="hidden" inputtype="date" style="left:128px; top:8px; width:90px; height:19px; "/>
- <select1 id="cmb_orddwardbed" ref="/root/temp/monorddward" class="combo_default" visibility="hidden" appearance="minimal" style="left:560px; top:8px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>과별</label>
- <value>orddcd</value>
- </item>
- <item>
- <label>과별병동별</label>
- <value>orddwardcd</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(cmb_orddwardbed.value == "orddcd") {
- btn_Sorddwardbed.dispatch("onclick");
- }else if(cmb_orddwardbed.value == "orddwardcd"){
- btn_Swardorddbed.dispatch("onclick");
- btn_Swardorddbed.selected == true;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption16" class="search_name" visibility="hidden" style="left:500px; top:9px; width:87px; height:17px; ">검색조건 :</caption>
- <button id="btn_Sorddwardbed" visibility="hidden" style="left:1025px; top:5px; width:10px; height:15px; ">
- <caption>.</caption>
- <toggle case="case_orddwardbed" ev:event="xforms-activate"/>
- </button>
- <button id="btn_Swardorddbed" visibility="hidden" style="left:1040px; top:15px; width:10px; height:5px; ">
- <caption>.</caption>
- <toggle case="case_wardorddbed" ev:event="xforms-activate"/>
- </button>
- <button id="btn_chaninpatlist" visibility="hidden" style="left:735px; top:5px; width:30px; height:10px; ">
- <caption>.</caption>
- <toggle case="case_longinpatlist" ev:event="DOMActivate"/>
- </button>
- <select1 id="rdo_orddward" ref="/root/send/selectordward" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:690px; top:9px; width:135px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>진료과별</label>
- <value>orddept</value>
- </item>
- <item>
- <label>병동별</label>
- <value>ward</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var row = grd_wardbed.row;
- if(rdo_orddward.value == "orddept"){
- caption2.text = "진료과별 병상가동 현황";
- grd_wardbed.colHidden(0) = true;
- grd_subwardbed.colHidden(1) = false;
- grd_subwardbed.colHidden(5) = true;
- grd_wardbed.colHidden(1) = false;
- grd_wardbed.nodeset = "/root/list/wardbedinpat";
- submit("TRPMI05200");
-
- }else if(rdo_orddward.value == "ward") {
- caption2.text = "병동별 병상가동 현황";
- grd_wardbed.colHidden(1) = true;
- grd_subwardbed.colHidden(1) = true;
- grd_subwardbed.colHidden(5) = false;
- grd_wardbed.colHidden(0) = false;
- grd_wardbed.nodeset = "/root/list/wardbedinpat";
- //model.setValue("/root/list/wardbedinpat/flag" , "W");
- submit("TRPMI05200");
- }
- ]]>
- </script>
- </select1>
- <caption id="caption17" class="search_name" visibility="hidden" style="left:845px; top:9px; width:91px; height:17px; ">검색구분 :</caption>
- <select1 id="cmd_insukind" ref="/root/send/longinflag" visibility="hidden" appearance="minimal" style="left:930px; top:8px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>진료과별</label>
- <value>orddept</value>
- </item>
- <item>
- <label>유형별</label>
- <value>insukind</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(cmd_insukind.value == "orddept" ) {
- grd_longinpat.colHidden(0) = false;
- grd_longinpat.colHidden(1) = true;
- btn_longinpat.dispatch("onclick");
- grd_longinpat.nodeset = "/root/list/longinpat";
- submit("TRPMI05200");
- }else if(cmd_insukind.value == "insukind" ) {
- grd_longinpat.colHidden(1) = false;
- grd_longinpat.colHidden(0) = true;
- btn_longinpat.dispatch("onclick");
- grd_longinpat.nodeset = "/root/list/longinpat";
- submit("TRPMI05200");
- }
- ]]>
- </script>
- </select1>
- <caption id="caption18" class="search_name" visibility="hidden" style="left:905px; top:9px; width:91px; height:17px; ">재원일수 :</caption>
- <input id="input_indaycnt" ref="/root/send/indaycnt" class="input_search" visibility="hidden" style="left:995px; top:8px; width:30px; height:19px; text-align:right; ">
- <script type="javascript">
- <![CDATA[
- model.setValue("/root/send/indaycnt" , 30);
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption19" visibility="hidden" style="left:1030px; top:5px; width:55px; height:25px; ">일이상</caption>
- <select1 id="cmb_emrorddept" ref="/root/send/emrorddept" class="combo_default" visibility="hidden" appearance="minimal" style="left:800px; top:8px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>진료과별12시</label>
- <value>12</value>
- </item>
- <item>
- <label>진료과별12시10분</label>
- <value>1210</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(cmb_emrorddept.value == "12") {
- btn_search2.dispatch("onclick");
- }else if(cmb_emrorddept.value == "1210") {
- btn_search2.dispatch("onclick");
- }
- ]]>
- </script>
- </select1>
- <select id="checkbox1" ref="/root/send/exceptflag" visibility="hidden" overflow="visible" appearance="full" style="left:250px; top:10px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>특수병상 제외</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox2" ref="/root/send/exceptflag" visibility="hidden" overflow="visible" appearance="full" style="left:250px; top:10px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>특수병상 제외</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- <button id="btn_profgonbz" class="btn_sw" group="tab" selected="false" style="left:525px; top:45px; width:90px; height:22px; ">
- <caption>교수출장현황</caption>
- <toggle case="case_profgonbz" ev:event="xforms-activate"/>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- model.setValue("/root/send/fromdd", model.getValue("/root/main/fromdd"));
- model.setValue("/root/send/todd", model.getValue("/root/main/todd"));
- model.refresh();
- fShowComboBox();
- ]]>
- </script>
- </button>
- <button id="btn_orddcdlist" class="btn_sw" group="tab" selected="true" style="left:0px; top:45px; width:195px; height:22px; ">
- <caption>진료과별 재원 및 예약환자 현황</caption>
- <toggle case="case_inrsrvspec" ev:event="xforms-activate"/>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- fShowComboBox();
- ]]>
- </script>
- </button>
- <button id="btn_orddwardbed" class="btn_sw" group="tab" selected="false" style="left:615px; top:45px; width:190px; height:22px; ">
- <caption>진료과별 병동별 병상가동 현황</caption>
- <toggle case="case_orddwardbed" ev:event="xforms-activate"/>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- fShowComboBox();
- ]]>
- </script>
- </button>
- <button id="btn_monorddward" class="btn_sw" group="tab" selected="false" style="left:805px; top:45px; width:175px; height:22px; ">
- <caption>월별 진료과별 병상가동 현황</caption>
- <toggle case="case_monorddeptcd" ev:event="xforms-activate"/>
- <script type="javascript">
- <![CDATA[
- // for(var i = 1; i <= 31; i++) {
- // grd_monorddward.addColumn("ref:mon[" + i + "]; type:output; " , false);
- // grd_monorddward.caption = grd_monorddward.caption + "^"+i;
- // grd_monorddeptcd.addColumn("ref:mono[" + i + "]; type:output; " , false);
- // grd_monorddeptcd.caption = grd_monorddeptcd.caption + "^"+i;
- // }
- // for(var j = 4; j <= 35; j++) {
- // grd_monorddward.colWidth(j) = 30;
- // grd_monorddeptcd.colWidth(j) = 30;
- // }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- model.setValue("/root/send/fromdd" , getCurrentDate());
- model.setValue("/root/send/todd" , getCurrentDate());
- fShowComboBox();
- ]]>
- </script>
- </button>
- <button id="btn_emrorddin" class="btn_sw" group="tab" selected="false" style="left:980px; top:45px; width:190px; height:22px; ">
- <caption>응급실 진료과 기간별 재원현황</caption>
- <toggle case="case_emrorddin" ev:event="xforms-activate"/>
- <script type="javascript">
- <![CDATA[
- // for(var i = 1; i <= 31; i++) {
- // grd_emrorddin.addColumn("ref:emrordd[" + i + "]; type:output; " , false);
- // grd_emrorddin.caption = grd_emrorddin.caption + "^"+i;
- // }
- // for(var j = 1; j <= 31; j++) {
- // grd_emrorddin.colWidth(j) = 30;
- // }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- model.setValue("/root/send/fromdd" , getCurrentDate());
- model.setValue("/root/send/todd" , getCurrentDate());
- fShowComboBox();
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_orddstand" class="btn3_letter8" visibility="hidden" style="left:0px; top:697px; width:128px; height:22px; ">
- <caption>과별기준병상조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPMI05210");
- exeReportPreview("RPPMI05218", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- <button id="btn_inpatmanage" class="btn3_letter15" visibility="hidden" style="left:132px; top:697px; width:212px; height:22px; ">
- <caption>임상각과 입원관리 담당의사 명단</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/source/sendflag","inmanage");
- modal("../../../pam/ipatmngtweb/xrw/SPPMI05200", "1","50", "50", "SPPMI05200", "/root/source/sendflag", "/root/source/flag");
- ]]>
- </script>
- </button>
- <button id="btn_chk" class="btn3_letter3" visibility="hidden" style="left:347px; top:697px; width:68px; height:22px; ">
- <caption>CHK</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/source/sendflag","chk");
- modal("../../../pam/ipatmngtweb/xrw/SPPMI05200", "1","50", "50", "SPPMI05200", "/root/source/sendflag", "/root/source/flag");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|