123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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="">
- <main>
- <inpatinfo>
- <inpatlist>
- <pid/>
- <indd/>
- <cretno/>
- <seqno/>
- <instcd/>
- <hngnm/>
- <fsexamflag/>
- <orddeptcd/>
- <sa/>
- <hd/>
- <ad/>
- <pos/>
- <refer/>
- <replstat/>
- <deptnm/>
- <medispclnm/>
- <atdoctnm/>
- <diagnm/>
- <opnm/>
- <testrslt/>
- <cnst/>
- <dayregular/>
- <lastprcpdd/>
- <cpnm/>
- <insukind/>
- <dschnoti/>
- <preworkup/>
- <hsctpreday/>
- <trsntype/>
- <hsctday/>
- <postcxday/>
- <memo/>
- <roomcd/>
- <drginfo/>
- </inpatlist>
- </inpatinfo>
- <cond>
- <pid/>
- <indd/>
- <orddeptcd/>
- <atdoctid/>
- <medispclid/>
- <wardcd/>
- <patflagstat>-</patflagstat>
- <scrnid>inpatlist</scrnid>
- <hngnm/>
- <srchdd/>
- <sortcol/>
- <orderby/>
- <mypatflag>Y</mypatflag>
- <totcnt/>
- <transfer>Y</transfer>
- <subdeptcd/>
- </cond>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <dschdclrt>
- <dschdclrt>
- <pid/>
- <indd/>
- <cretno/>
- <seqno/>
- <dschdclrtyn/>
- <dschdclrdt/>
- <dschdclrdd/>
- <dschdclrtrgstid/>
- <dschdclrtrgstnm/>
- <dschdclrtrgstdt/>
- </dschdclrt>
- </dschdclrt>
- <opprcpinfo>
- <opprcpinfo/>
- </opprcpinfo>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden>
- <srchcond/>
- <pid/>
- <hngnm/>
- </hidden>
- <init>
- <wardlist>
- </wardlist>
- <P0008/>
- <orddept/>
- <orddept2/>
- <userlist/>
- <userlist2/>
- <rsltgetdata>
- <getdata/>
- </rsltgetdata>
- <userscrnenvinfo/>
- <getdata/>
- <hardcdno/>
- <jobhardcdno/>
- <M0525/>
- <opdrugresn/>
- <subdeptinfo/>
- <reqphardcdno/>
- <npdeptcd/>
- <M0623/>
- </init>
- <temp>
- <cond/>
- <cpflag/>
- <dschdclrt>
- <pid/>
- <indd/>
- <cretno/>
- <seqno/>
- <dschdclrtyn/>
- <dschdclrdt/>
- <dschdclrrgstid/>
- <dschdclrrgstnm/>
- <dschdclrrgstdt/>
- </dschdclrt>
- </temp>
- <popupmenu>
- <menu>
- <item>
- <name>관심환자등록</name>
- <func>fCallWndConcPatRgst</func>
- </item>
- <item>
- <name>주의요망환자관리</name>
- <func>fCallWndWarnPat</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>미수행처방관리</name>
- <func>fOpenInFinPrcp</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>전공의 적용</name>
- <func>fRgstCnclAtDoct</func>
- </item>
- <item>
- <name>내 환자 적용</name>
- <func>fRgstCnclMyPat</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>협진관리</name>
- <func>fOpenCnstPat</func>
- </item>
- <item>
- <name>간호TPR 조회</name>
- <func>fCallCareTPRInfo</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>환자바코드 출력</name>
- <func>fPrintPatLabel</func>
- </item>
- <item>
- <name>안전사고보고</name>
- <func>fPatQi</func>
- </item>
- <!--
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>퇴원 예고</name>
- <func>fReqDschDclrtInfo</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>RC환자정보</name>
- <func>fA</func>
- </item>
- <item>
- <name>V/S조회</name>
- <func>fC</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>ICU입실적정성</name>
- <func>fOpenIcuINChk</func>
- </item>
- -->
- </menu>
- </popupmenu>
- <recv>
- <selcheck/>
- </recv>
- </root>
- </instance>
- <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
- <submission id="TRMMO04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/inpatinfo"/>
- <submission id="TRMMO04302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/topinfo"/>
- <submission id="TRMMO04303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/rsltgetdata"/>
- <submission id="TRMMB01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/userscrnenvinfo"/>
- <submission id="TRMMO04106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/wardlist"/>
- <submission id="TXMMO04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04106" mediatype="application/x-www-form-urlencoded" method="post"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fInitialize_SMMMO04300();
- ]]>
- </script>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXMMO04302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
- <submission id="TRMMO04304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/dschdclrt"/>
- <submission id="TXMMO00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
- <submission id="TRMMO04109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opprcpinfo"/>
- <submission id="TRMMO04309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opprcpinfo"/>
- <submission id="TRMMO04305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/getdata"/>
- <submission id="TRMMO04129" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/recinfo"/>
- <submission id="TRMMO02705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/aftcert" resultref="/root/hidden/aftcert"/>
- <submission id="TRMMB04107" 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/dateHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04100.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04300.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,5;1,1174;2,716;2,62;2,38;2,10;2,62;1,206;1,692;1,913;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1174px; height:62px; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:64px; width:113px; height:13px; ">입원환자 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:79px; x2:1174px; y2:79px; "/>
- <datagrid id="grd_inpatlist" nodeset="/root/main/inpatinfo/inpatlist" caption="indd^cretno^seqno^질병군분류^메모^병실^color^성명^환자명^등록번호^S/A^HD^POD^AD^의료협력^회신상태^orddeptcd^진료과^세부과^전문의^MEDISPCLID^담당의^진단명^수술명^검사조회^의뢰^특이^익일정규^최종처방일^DRG^CP여부^보험유형^퇴원구분^관심^Transfer^협진팀^제한항생제^PreWork Up^BMT예정일^이식형태^BMT Day^Post Cx Day^선택진료여부^ordtype^전일기록 SO^전일기록 A^전일기록 P" colsep="^" colwidth="0, 0, 0, 70, 30, 55, 0, 0, 100, 65, 45, 35, 35, 75, 70, 65, 0, 90, 0, 55, 0, 55, 150, 100, 0, 39, 41, 55, 75, 50, 50, 63, 66, 64, 70, 70, 70, 76, 0, 64, 0, 0, 100, 0, 140, 140, 140" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:84px; width:1174px; height:632px; text-align:center; ">
- <col ref="indd"/>
- <col ref="cretno"/>
- <col ref="seqno"/>
- <col class="text_center;" ref="drginfo" style="text-align:center; "/>
- <col class="text_center;" ref="memo"/>
- <col class="text_center;" ref="roomcd"/>
- <col ref="color"/>
- <col class="text_center;" ref="hngnm" style="text-align:center; "/>
- <col class="text_center;" ref="dispnm2" style="text-align:center; "/>
- <col class="text_center;" ref="pid"/>
- <col class="text_center;" ref="sa" style="text-align:center; "/>
- <col class="text_center;" ref="hd" style="text-align:center; "/>
- <col class="text_center;" ref="pod" style="text-align:center; "/>
- <col class="text_center;" ref="ad" format="yyyy-mm-dd"/>
- <col class="text_center;" ref="refer"/>
- <col class="text_center;" ref="replstat"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col class="text_center;" ref="deptnm"/>
- <col class="text_center;" ref="subdeptnm"/>
- <col class="text_center;" ref="medispclnm" style="text-align:center; "/>
- <col ref="medispclid" visibility="hidden"/>
- <col class="text_center;" ref="atdoctnm" style="text-align:center; "/>
- <col class="text_center;" ref="diagnm" style="text-align:left; "/>
- <col class="text_center;" ref="opnm" style="text-align:left; "/>
- <col ref="testrslt"/>
- <col class="text_center;" ref="cnst"/>
- <col ref="spclflag"/>
- <col ref="dayregular"/>
- <col class="text_center;" ref="lastprcpdd" format="yyyy-mm-dd"/>
- <col class="text_center;" ref="drgyn"/>
- <col class="text_center;" ref="cpyn"/>
- <col class="text_center;" disabled="true" ref="insukind" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0008/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col class="text_center;" ref="dschnoti"/>
- <col ref="conctypenm"/>
- <col ref="transfer"/>
- <col disabled="true" ref="coopteamcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0525/M0525">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="antidrugflag"/>
- <col ref="preworkup"/>
- <col ref="hsctpreday"/>
- <col ref="transtype"/>
- <col ref="hsctday"/>
- <col ref="postcxday"/>
- <col disabled="true" ref="specordtype" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0623/M0623">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="ordtype" visibility="hidden"/>
- <col ref="recsubjective"/>
- <col ref="recaccess"/>
- <col ref="recplan"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell() == true) {
- setGlobalVariable("OrderMainRefresh", "Y"); // 처방 메인 refresh 단일화를 위한 글로벌 변수 셋팅 - 20081212 by Moonsh
- if ( fChkBfPrcpLoad("I") == false ) {
- return;
- }
- fSelectInPat();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_inpatlist", false, "/root/popupmenu/menu/item", "name", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_inpatlist.isCell(event.target)) {
- var currow = grd_inpatlist.row;
- var curcol = grd_inpatlist.col;
-
- if(currow == 0){ //grid sort
- if(sORDERBY == "asc"){
- sORDERBY = "desc";
- }else{
- sORDERBY = "asc";
- }
- model.setValue("/root/main/cond/sortcol", curcol);
- model.setValue("/root/main/cond/orderby", sORDERBY);
- model.copyNode(opener.root.cond.inpatlist, root.main.cond);
- model.copyNode(opener.root.reopen.condlist, root.main.cond);
- //nodeListSort(grd_inpatlist.nodeset, grd_inpatlist.colAttribute(curcol, "ref"), sORDERBY);
- //grd_inpatlist.refresh();
-
- fChngGrdCellColor();
-
- }else{
- var pid = model.getValue("/root/main/inpatinfo/inpatlist[" + grd_inpatlist.row + "]/pid");
- model.setValue(opener.root.source.pid, pid);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_inpatlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption3" class="search_name" style="left:511px; top:38px; width:76px; height:17px; ">병 동</caption>
- <select1 id="combo3" ref="/root/main/cond/wardcd" class="combo_search" appearance="minimal" itemcount="30" style="left:590px; top:38px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept2/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" imemode="disabled" maxlength="10" style="left:795px; top:38px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_reqpatnm", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:716px; top:38px; width:76px; height:17px; ">등록번호</caption>
- <select1 id="combo4" ref="/root/main/cond/atdoctid" class="combo_search" appearance="minimal" style="left:974px; top:9px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist2/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:5px; top:9px; width:60px; height:17px; ">총</caption>
- <input id="input2" ref="/root/main/cond/indd" class="input" inputtype="date" style="left:204px; top:9px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset("/root/init/orddept");
- model.makeNode("/root/init/orddept/dept");
-
- model.removeNodeset("/root/init/orddept2");
- model.makeNode("/root/init/orddept2/dept");
-
- var sOrdDd = model.getValue("/root/main/cond/indd");
- var sOrdDeptCd = model.getValue("/root/main/cond/orddeptcd");
-
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept", "D", sOrdDd); // 진료일자 기준으로 진료과를 다시 조회
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept2", "W", sOrdDd); // 진료일자 기준으로 병동를 다시 조회
-
- addComboInstance("/root/init/orddept" , "deptcd^depthngnm", "-^전체", "dept"); //부서콤보 Item '전체'추가
- addComboInstance("/root/init/orddept2" , "deptcd^depthngnm", "-^전체", "dept"); //병동콤보 전체항목 추가
-
- if(isNull(model.getValue("/root/init/orddept/dept[deptcd='"+sOrdDeptCd+"']/deptcd"))) {
- if(fContainsHardCD("445", sOrdDeptCd)) { // 소아청소년과 분과 이면 소아청소년과로 설정.
- model.setValue("/root/main/cond/orddeptcd", "2110000000");
- cmb_orddept.dispatch("xforms-value-changed");
- } else {
- messageBox ( "선택일자에 존재하지 않는 진료과 입니다.\n\n진료과를 다시 선택 하세요.", "I" );
- model.setValue("/root/main/cond/orddeptcd", "");
- }
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption6" class="search_name" style="left:125px; top:9px; width:76px; height:17px; ">진 료 일</caption>
- <caption id="caption7" class="search_name" style="left:301px; top:9px; width:76px; height:17px; ">진 료 과</caption>
- <caption id="caption8" class="search_name" style="left:895px; top:9px; width:76px; height:17px; ">담 당 의</caption>
- <output id="input3" ref="/root/main/cond/totcnt" format="yyyy-mm-dd" appearance="output" style="left:55px; top:9px; width:35px; height:19px; text-align:center; background-color:transparent; border-color:#ffffff; "/>
- <caption id="caption1" style="left:96px; top:9px; width:30px; height:20px; font-weight:bold; vertical-align:middle; ">명</caption>
- <select1 id="radio1" ref="/root/main/cond/patflagstat" class="radio_search" appearance="full" cellspacing="5" cols="4" rows="1" overflow="visible" style="left:215px; top:38px; width:253px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>재원</label>
- <value>-</value>
- </item>
- <item>
- <label>퇴원</label>
- <value>D</value>
- </item>
- <item>
- <label>입원예정</label>
- <value>P</value>
- </item>
- <item>
- <label>입실완료</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <caption id="caption9" class="search_name" style="left:716px; top:9px; width:76px; height:17px; ">전 문 의</caption>
- <line id="line3" style="x1:1100px; y1:7px; x2:1100px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption10" class="search_name" style="left:895px; top:38px; width:76px; height:17px; ">환 자 명</caption>
- <input id="input1" ref="/root/main/cond/hngnm" class="input_search" style="left:974px; top:38px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13){
- model.setValue("/root/hidden/srchcond", "2");
- model.setValue("/root/hidden/hngnm", input1.currentText);
-
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden", "/root/send");
- var pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var hngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
-
- model.setValue("/root/main/cond/pid", pid);
- model.setValue("/root/main/cond/hngnm", hngnm);
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <button id="btn_prcpclsnm" class="icon_search" style="left:1067px; top:38px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500");
-
- var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- model.setValue("/root/main/cond/pid", sPid);
- model.setValue("/root/main/cond/hngnm", sHngnm);
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_reqpatnm" disabled="true" style="left:490px; top:30px; width:45px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPidTrim("/root/main/cond/pid");
- var pid = model.getValue("/root/main/cond/pid");
- if(pid == ""){
- return;
- }
- var pid = model.getValue("/root/main/cond/pid");
- if(reqPatInfo("pid", "ptbs", pid)==true){
- var hngnm = model.getValue("/root/init/patnm/patnm/hngnm");
- model.setValue("/root/main/cond/hngnm", hngnm);
- model.refresh();
-
- fReqInPatList();
- }
- ]]>
- </script>
- </button>
- <button id="btn_req" class="btn1_letter2" style="left:1110px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.setValue("/root/main/cond/sortcol", "");
- //model.setValue("/root/main/cond/orderby", "");
- var orddeptcd = model.getValue("/root/main/cond/orddeptcd");
- var medispclid = model.getValue("/root/main/cond/medispclid");
- var atdoctid = model.getValue("/root/main/cond/atdoctid");
- var wardcd = model.getValue("/root/main/cond/wardcd");
-
- if (orddeptcd == "-" && medispclid == "-" && atdoctid == "-" && wardcd == "-" ) {
- messageBox("조회조건 전부가 전체가 될수는", "I004");
- return;
- } else {
- fReqInPatList();
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_orddept" ref="/root/main/cond/orddeptcd" class="combo_search" appearance="minimal" style="left:380px; top:9px; width:115px; 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[
- model.removeNodeset("/root/init/userlist");
- model.removeNodeset("/root/init/userlist2");
- model.makeNode("/root/init/userlist/usercombo");
- model.makeNode("/root/init/userlist2/usercombo");
-
- var rtorddeptcd = model.getValue("/root/init/hardcdno/hardcd/hardcd");
- var sOrdDd = model.getValue("/root/main/cond/indd");
- var orddeptcd = model.getValue("/root/main/cond/orddeptcd");
- if (orddeptcd == rtorddeptcd) {
- caption13.visible = true;
- } else {
- caption13.visible = false;
- }
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , cmb_orddept.value, "0330", "", "M", sOrdDd, "", "P");
- if(fContainsHardCD("515", cmb_orddept.value)) { // 담당의 항목에 교수도 조회해야 하는 부서
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist2", cmb_orddept.value, "0330", "", "T", sOrdDd, "", "P"); // 담당의에 주치의도 포함 되도록 수정 -2015.11.06 엄영만 요청서:20151102005
- } else {
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist2", cmb_orddept.value, "0330", "", "A", sOrdDd, "", "P");
- }
-
- if (model.getValue("/root/main/cond/orddeptcd") == "-") {
- model.makeValue("/root/init/userlist/usercombo/userid", "-");
- model.makeValue("/root/init/userlist/usercombo/usernm", "전체");
- model.makeValue("/root/init/userlist2/usercombo/userid", "-");
- model.makeValue("/root/init/userlist2/usercombo/usernm", "전체");
- } else {
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
- addComboInstance("/root/init/userlist2", "userid^usernm", "-^전체", "usercombo");//의사콤보 전체항목 추가
- }
-
- model.setValue("/root/main/cond/medispclid", "-");
- model.setValue("/root/main/cond/atdoctid", "-");
-
- var orddeptcd = model.getValue("/root/main/cond/orddeptcd");
- var medispclid = model.getValue("/root/main/cond/medispclid");
- var atdoctid = model.getValue("/root/main/cond/atdoctid");
- var wardcd = model.getValue("/root/main/cond/wardcd");
- mmbfGetSubDeptComboList("/root/send/reqdata", "/root/init/subdeptinfo", orddeptcd);
- addComboInstance("/root/init/subdeptinfo", "subdeptnm^subdeptcd", "전체^-", "subdeptlist"); //의사콤보 전체항목 추가
- model.setValue("/root/main/cond/subdeptcd", "-");
- model.refresh();
-
- if (orddeptcd == "-" && medispclid == "-" && atdoctid == "-" && wardcd == "-" ) {
- messageBox("조회조건 전부가 전체가 될수는", "I004");
- return;
- } else {
- fReqInPatList();
- }
-
- ]]>
- </script>
- </select1>
- <select1 id="cmb_medispclid" ref="/root/main/cond/medispclid" class="combo_search" appearance="minimal" itemcount="30" style="left:795px; top:9px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/mypatflag" style="left:5px; top:35px; width:25px; height:20px; "/>
- <caption id="caption11" style="left:30px; top:37px; width:79px; height:17px; font-weight:bold; ">
- <![CDATA[내환자 포함]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var mypatflag = model.getValue("/root/main/cond/mypatflag");
- if(mypatflag == "Y"){
- model.setValue("/root/main/cond/mypatflag", "N");
- }else{
- model.setValue("/root/main/cond/mypatflag", "Y");
- }
- model.refresh();
- ]]>
- </script>
- </caption>
- <bool id="bool2" checkvalue="Y,N" ref="/root/main/cond/transfer" style="left:110px; top:38px; width:15px; height:15px; "/>
- <caption id="caption12" style="left:125px; top:38px; width:90px; height:15px; font-weight:bold; ">
- <![CDATA[당일전과포함]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var transfer = model.getValue("/root/main/cond/transfer");
- if (transfer == "Y") {
- model.setValue("/root/main/cond/transfer", "N");
- } else {
- model.setValue("/root/main/cond/transfer", "Y");
- }
- model.refresh();
- ]]>
- </script>
- </caption>
- <caption id="caption13" visibility="hidden" style="left:140px; top:65px; width:425px; height:15px; ">타과 방사선종양처방환자는 노란색으로 보입니다.</caption>
- <caption id="caption14" class="search_name" style="left:511px; top:9px; width:76px; height:17px; ">세 부 과</caption>
- <select1 id="cmb_subdept" ref="/root/main/cond/subdeptcd" class="combo" appearance="minimal" style="left:590px; top:9px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/subdeptinfo/subdeptlist">
- <label ref="subdeptnm"/>
- <value ref="subdeptcd"/>
- </itemset>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|