123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634 |
- <?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>
- <cond>
- <inlvflag>0</inlvflag>
- <fromdd/>
- <todd/>
- <menuflag/>
- <patnm/>
- </cond>
- <inlvinfo/>
- <dschlvinfo/>
- <testlvinfo/>
- <medilvinfo/>
- <rtninfo>
- <rtnmsg>
- <resultflag/>
- </rtnmsg>
- <patinfolist>
- <pid/>
- <patnm/>
- <sexage/>
- </patinfolist>
- </rtninfo>
- </main>
- <send/>
- <hidden/>
- <comcodelist>
- <bdtppartcd_cmblist/>
- <bdbtype_cmblist/>
- <rsrvflag_cmblist/>
- <insukind_cmblist/>
- <suppkind_cmblist/>
- </comcodelist>
- <init/>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmblist"/>
- <submission id="TRMNW18000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/inlvinfo/inlvlist"/>
- <submission id="TRMNW18010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/dschlvinfo/dschlvlist"/>
- <submission id="TRMNW18020" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/testlvinfo/testlvlist"/>
- <submission id="TRMNW18030" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/medilvinfo/medilvlist"/>
- <submission id="TXMNW18000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/inlvinfo"/>
- <submission id="TXMNW18001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/inlvinfo"/>
- <submission id="TXMNW18002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/inlvinfo"/>
- <submission id="TXMNW18003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/patinfolist"/>
- <submission id="TXMNW18010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/dschlvinfo"/>
- <submission id="TXMNW18011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/dschlvinfo"/>
- <submission id="TXMNW18020" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/testlvinfo"/>
- <submission id="TXMNW18021" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/testlvinfo"/>
- <submission id="TXMNW18030" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/medilvinfo"/>
- <submission id="TXMNW18031" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/medilvinfo"/>
- <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/init"/>
- <submission id="TRPMI00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/hidden/roomgrdelist"/>
- </model>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/wardcareweb/js/SMMNW18000.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </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:119px; height:15px; ">입퇴원라운지메인</caption>
- </group>
- <group id="group3" style="left:0px; top:13px; width:1195px; height:762px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:370px; top:8px; width:86px; height:17px; font-family:굴림; ">방문여부 :</caption>
- <line id="line2" class="line_4" style="x1:1053px; y1:7px; x2:1053px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_search" editable="false" inputtype="date" format="yyyy-mm-dd" style="left:122px; top:8px; width:98px; height:19px; font-family:굴림; "/>
- <input id="ipt_todd" ref="/root/main/cond/todd" class="input_search" editable="false" inputtype="date" style="left:242px; top:8px; width:98px; height:19px; font-family:굴림; "/>
- <caption id="cpt_line" class="search_no_b" style="left:225px; top:8px; width:12px; height:17px; font-family:굴림; ">~</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1068px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <select1 id="rdo_inlvflag" ref="/root/main/cond/inlvflag" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:465px; top:8px; width:185px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>방문</label>
- <value>1</value>
- </item>
- <item>
- <label>미방문</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <button id="btn_excsave" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; ">
- <caption>액셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExcel();
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:675px; top:8px; width:86px; height:17px; font-family:굴림; ">환자명 :</caption>
- <input id="input1" ref="/root/main/cond/patnm" class="input_search" style="left:760px; top:8px; width:100px; height:19px; font-family:굴림; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="cap_ddnm" class="search_name" style="left:20px; top:8px; width:90px; height:17px; font-family:굴림; ">입원일자 :</caption>
- </group>
- <switch id="switch1" style="left:0px; top:75px; width:1192px; height:685px; ">
- <case id="inlv" selected="true">
- <button id="button1" class="btn5_letter6" style="left:905px; top:5px; width:86px; height:19px; ">
- <caption>방문저장취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDel(); // 취소
- ]]>
- </script>
- </button>
- <button id="button2" class="btn5_letter4" style="left:839px; top:5px; width:64px; height:19px; ">
- <caption>방문저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave(); // 등록,수정
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter10" style="left:1059px; top:5px; width:130px; height:19px; ">
- <caption>간호정보조사 임시저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fNrInfoSave(); // 간호정보조사지 임시저장,수정
- ]]>
- </script>
- </button>
- <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:300px; height:14px; font-family:돋움; vertical-align:middle; ">입원 방문관리</caption>
- <datagrid id="grd_inlvlist" nodeset="/root/main/inlvinfo/inlvlist" caption="^등록번호^환자명^성별^나이^병동^병상^병실^병실등급^진료과^진료의^진단코드^진단명^방문저장일시^방문저장일시^입실일시^입실일시^간호정보조사^혈압(고/저)^혈압(고/저)^맥박^호흡^체온^체온^신장^체중^SPO2^혈액형^인증저장여부^instcd^indd^cretno^ordtype^tocntctel^방문저장여부^진료과코드^진료의ID^진료의핸드폰번호^담당의ID^담당의^담당의핸드폰번호" colsep="^" colwidth="22, 65, 70, 40, 35, 75, 60, 45, 110, 100, 70, 90, 210, 90, 60, 80, 45, 100, 45, 45, 45, 45, 45, 60, 45, 45, 45, 100, 80, 50, 50, 50, 50, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sort" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1190px; height:650px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox" style="font-family:굴림; "/>
- <col ref="pid" style="left:287px; top:23px; width:90px; height:23px; text-align:center; "/>
- <col ref="hngnm" style="text-align:left; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col disabled="true" ref="wardcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="bedcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/bedcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="roomcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/roomcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="roomgrdecd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/roomgrdelist/roomgrde">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col ref="diagcd"/>
- <col ref="diagnm"/>
- <col ref="inrecdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="inrectm" type="inputbutton" format="hh:nn" style="text-align:center; "/>
- <col ref="careinrmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="careinrmtm" format="hh:nn" style="text-align:center; "/>
- <col ref="recflag" type="combo" visibility="hidden" readonly="true" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/codeinfo/codelist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="highbp" type="input"/>
- <col ref="lowbp" type="input"/>
- <col ref="pulse" type="input"/>
- <col ref="breth" type="input"/>
- <col ref="bdtp" type="input"/>
- <col ref="bdtppartcd" type="combo" readonly="true" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/comcodelist/bdtppartcd_cmblist/M0375">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="bdht" type="input"/>
- <col ref="bdwt" type="input"/>
- <col ref="spo2" type="input"/>
- <col ref="bdbtype" type="combo" readonly="true" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/comcodelist/bdbtype_cmblist/M0376">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="signinfoyn" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="indd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="ordtype" visibility="hidden"/>
- <col ref="tocntctel" visibility="hidden"/>
- <col ref="inrecyn" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="medispclid" visibility="hidden"/>
- <col ref="medispclphonno" visibility="hidden"/>
- <col ref="atdoctid" visibility="hidden"/>
- <col ref="atdoctnm" visibility="hidden"/>
- <col ref="atdoctidphonno" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_inlvlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var xInlvlistPath = "/root/main/inlvinfo/inlvlist";
-
- if(grd_inlvlist.col == grd_inlvlist.colRef("inrectm")) {
- model.setValue(xInlvlistPath+"["+(grd_inlvlist.row)+"]/inrecdd", getCurrentDate());
- model.setValue(xInlvlistPath+"["+(grd_inlvlist.row)+"]/inrectm", getCurrentDateTime().substring(9,13));
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var condparam = "";
-
- // 상단정보 올림
- condparam = model.getValue("/root/main/inlvinfo/inlvlist["+grd_inlvlist.row+"]/ordtype")
- + "▦" + model.getValue("/root/main/inlvinfo/inlvlist["+grd_inlvlist.row+"]/pid")
- + "▦" + model.getValue("/root/main/inlvinfo/inlvlist["+grd_inlvlist.row+"]/indd")
- + "▦" + model.getValue("/root/main/inlvinfo/inlvlist["+grd_inlvlist.row+"]/cretno")
- + "▦" + model.getValue("/root/main/inlvinfo/inlvlist["+grd_inlvlist.row+"]/instcd")
- + "▦" + getCurrentDate();
-
- setParameter("condparam", condparam);
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
-
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1190px; y2:25px; "/>
- <button id="button10" class="btn2_letter4" style="left:993px; top:5px; width:64px; height:19px; ">
- <caption>입실저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveInroom(); // 입실저장
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter9" style="left:718px; top:5px; width:119px; height:19px; ">
- <caption>중증도 및 위험사정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMMNW04000");
- ]]>
- </script>
- </button>
- </case>
- <case id="dschlv">
- <button id="button4" class="btn5_letter6" style="left:1101px; top:5px; width:86px; height:19px; ">
- <caption>방문저장취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDel(); // 취소
- ]]>
- </script>
- </button>
- <button id="button5" class="btn5_letter4" style="left:1035px; top:5px; width:64px; height:19px; ">
- <caption>방문저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave(); // 등록,수정
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:5px; top:10px; width:300px; height:14px; font-family:돋움; vertical-align:middle; ">퇴원 방문관리</caption>
- <datagrid id="grd_dschlvlist" nodeset="/root/main/dschlvinfo/dschlvlist" caption="^등록번호^환자명^성별^나이^입원일자^병동^병상^병실^병실등급^진료과^진료의^방문저장일시^방문저장일시^진단코드^진단명^instcd^cretno^ordtype^방문저장여부^진료과코드^진료의ID" colsep="^" colwidth="22, 60, 60, 40, 35, 80, 75, 60, 45, 110, 100, 70, 90, 60, 90, 175, 50, 50, 50, 100, 100, 100" explorerbar="sort" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1190px; height:650px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox" style="font-family:굴림; "/>
- <col ref="pid" style="left:287px; top:23px; width:90px; height:23px; text-align:center; "/>
- <col ref="hngnm" style="text-align:left; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="wardcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="bedcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/bedcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="roomcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/roomcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="roomgrdecd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/roomgrdelist/roomgrde">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col ref="inrecdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="inrectm" type="inputbutton" format="hh:nn" style="text-align:center; "/>
- <col ref="diagcd"/>
- <col ref="diagnm"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="ordtype" visibility="hidden"/>
- <col ref="inrecyn" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="medispclid" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_dschlvlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var xDschlvlistPath = "/root/main/dschlvinfo/dschlvlist";
-
- if(grd_dschlvlist.col == grd_dschlvlist.colRef("inrectm")) {
- model.setValue(xDschlvlistPath+"["+(grd_dschlvlist.row)+"]/inrecdd", getCurrentDate());
- model.setValue(xDschlvlistPath+"["+(grd_dschlvlist.row)+"]/inrectm", getCurrentDateTime().substring(9,13));
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var condparam = "";
-
- // 상단정보 올림
- condparam = model.getValue("/root/main/dschlvinfo/dschlvlist["+grd_dschlvlist.row+"]/ordtype")
- + "▦" + model.getValue("/root/main/dschlvinfo/dschlvlist["+grd_dschlvlist.row+"]/pid")
- + "▦" + model.getValue("/root/main/dschlvinfo/dschlvlist["+grd_dschlvlist.row+"]/indd")
- + "▦" + model.getValue("/root/main/dschlvinfo/dschlvlist["+grd_dschlvlist.row+"]/cretno")
- + "▦" + model.getValue("/root/main/dschlvinfo/dschlvlist["+grd_dschlvlist.row+"]/instcd")
- + "▦" + getCurrentDate();
-
- setParameter("condparam", condparam);
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
-
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:25px; x2:1190px; y2:25px; "/>
- <button id="button12" class="btn2_letter9" style="left:914px; top:5px; width:119px; height:19px; ">
- <caption>중증도 및 위험사정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMMNW04000");
- ]]>
- </script>
- </button>
- </case>
- <case id="testlv">
- <button id="button6" class="btn5_letter6" style="left:1101px; top:5px; width:86px; height:19px; ">
- <caption>방문저장취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDel(); // 취소
- ]]>
- </script>
- </button>
- <button id="button7" class="btn5_letter4" style="left:1035px; top:5px; width:64px; height:19px; ">
- <caption>방문저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave(); // 등록,수정
- ]]>
- </script>
- </button>
- <datagrid id="grd_testlvlist" nodeset="/root/main/testlvinfo/testlvlist" caption="^등록번호^환자명^성별^나이^센터^진료과^진료의^검사명^처방일자^예약일자^방문저장일시^방문저장일시^진단코드^진단명^instcd^orddd^cretno^prcpno^방문저장여부^진료과코드^진료의ID" colsep="^" colwidth="22, 60, 60, 40, 35, 100, 100, 70, 190, 80, 80, 90, 60, 90, 175, 50, 50, 50, 50, 100, 100, 100" explorerbar="sort" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1190px; height:650px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox" style="font-family:굴림; "/>
- <col ref="pid" style="left:287px; top:23px; width:90px; height:23px; text-align:center; "/>
- <col ref="hngnm" style="text-align:left; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col disabled="true" ref="centcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/centcd/centcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col ref="prcpnm"/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rsrvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="inrecdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="inrectm" type="inputbutton" format="hh:nn" style="text-align:center; "/>
- <col ref="diagcd"/>
- <col ref="diagnm"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="inrecyn" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_testlvlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var xTestlvlistPath = "/root/main/testlvinfo/testlvlist";
-
- if(grd_testlvlist.col == grd_testlvlist.colRef("inrectm")) {
- model.setValue(xTestlvlistPath+"["+(grd_testlvlist.row)+"]/inrecdd", getCurrentDate());
- model.setValue(xTestlvlistPath+"["+(grd_testlvlist.row)+"]/inrectm", getCurrentDateTime().substring(9,13));
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:5px; top:10px; width:300px; height:14px; font-family:돋움; vertical-align:middle; ">검사대기 방문관리</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:25px; x2:1190px; y2:25px; "/>
- </case>
- <case id="medilv">
- <button id="button8" class="btn5_letter6" style="left:1101px; top:5px; width:86px; height:19px; ">
- <caption>방문저장취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDel(); // 취소
- ]]>
- </script>
- </button>
- <button id="button9" class="btn5_letter4" style="left:1035px; top:5px; width:64px; height:19px; ">
- <caption>방문저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave(); // 등록,수정
- ]]>
- </script>
- </button>
- <caption id="caption7" class="tit_2" style="left:5px; top:10px; width:300px; height:14px; font-family:돋움; vertical-align:middle; ">진료대기 방문관리</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:25px; x2:1190px; y2:25px; "/>
- <datagrid id="grd_medilvlist" nodeset="/root/main/medilvinfo/medilvlist" caption="^등록번호^환자명^성별^나이^센터^진료과^진료의^예약구분^재진예약참고사항^보험유형^보조유형^방문저장일시^방문저장일시^진단코드^진단명^instcd^orddd^cretno^방문저장여부^진료과코드^진료의ID" colsep="^" colwidth="22, 60, 60, 40, 35, 100, 100, 60, 80, 110, 80, 100, 90, 60, 90, 175, 50, 50, 50, 100, 100, 100" explorerbar="sort" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1190px; height:650px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox" style="font-family:굴림; "/>
- <col ref="pid" style="left:287px; top:23px; width:90px; height:23px; text-align:center; "/>
- <col ref="hngnm" style="text-align:left; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col disabled="true" ref="centcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/centcd/centcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col disabled="true" ref="rsrvflag" type="combo">
- <choices>
- <itemset nodeset="/root/comcodelist/rsrvflag_cmblist/P0341">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="remfact"/>
- <col disabled="true" ref="insukind" type="combo">
- <choices>
- <itemset nodeset="/root/comcodelist/insukind_cmblist/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="suppkind" type="combo">
- <choices>
- <itemset nodeset="/root/comcodelist/suppkind_cmblist/P0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="inrecdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="inrectm" type="inputbutton" format="hh:nn" style="text-align:center; "/>
- <col ref="diagcd"/>
- <col ref="diagnm"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="inrecyn" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_medilvlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var xMedilvlistPath = "/root/main/medilvinfo/medilvlist";
-
- if(grd_medilvlist.col == grd_medilvlist.colRef("inrectm")) {
- model.setValue(xMedilvlistPath+"["+(grd_medilvlist.row)+"]/inrecdd", getCurrentDate());
- model.setValue(xMedilvlistPath+"["+(grd_medilvlist.row)+"]/inrectm", getCurrentDateTime().substring(9,13));
- }
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_testlv" class="btn_sw" group="tab" style="left:198px; top:54px; width:107px; height:22px; ">
- <caption>검사대기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- cap_ddnm.attribute("left") = "20";
- cap_ddnm.attribute("width") = "90";
- cap_ddnm.text = "예약일자 :";
- model.setValue("/root/main/cond/menuflag", "testlv");
- model.setValue("/root/main/cond/fromdd",getCurrentDate());
- model.setValue("/root/main/cond/todd",getCurrentDate());
- model.refresh();
- fSearch();
- ]]>
- </script>
- <toggle case="testlv" ev:event="onclick"/>
- </button>
- <button id="btn_inlv" class="btn_sw" group="tab" selected="true" style="left:0px; top:54px; width:100px; height:22px; ">
- <caption>입원</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- cap_ddnm.attribute("left") = "20";
- cap_ddnm.attribute("width") = "90";
- cap_ddnm.text = "입원일자 :";
- model.setValue("/root/main/cond/menuflag", "inlv");
- model.setValue("/root/main/cond/fromdd",getCurrentDate());
- model.setValue("/root/main/cond/todd",getCurrentDate());
- model.refresh();
- fSearch();
- ]]>
- </script>
- <toggle case="inlv" ev:event="onclick"/>
- </button>
- <button id="btn_dschlv" class="btn_sw" group="tab" style="left:99px; top:54px; width:100px; height:22px; ">
- <caption>퇴원</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- cap_ddnm.attribute("left") = "10";
- cap_ddnm.attribute("width") = "100";
- cap_ddnm.text = "퇴원예고일 : ";
- model.setValue("/root/main/cond/menuflag", "dschlv");
- model.setValue("/root/main/cond/fromdd",getCurrentDate());
- model.setValue("/root/main/cond/todd",getCurrentDate());
- model.refresh();
- fSearch();
- ]]>
- </script>
- <toggle case="dschlv" ev:event="onclick"/>
- </button>
- <button id="btn_medilv" class="btn_sw" group="tab" style="left:304px; top:54px; width:107px; height:22px; ">
- <caption>진료대기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- cap_ddnm.attribute("left") = "20";
- cap_ddnm.attribute("width") = "90";
- cap_ddnm.text = "진료일자 :";
- model.setValue("/root/main/cond/menuflag", "medilv");
- model.setValue("/root/main/cond/fromdd",getCurrentDate());
- model.setValue("/root/main/cond/todd",getCurrentDate());
- model.refresh();
- fSearch();
- ]]>
- </script>
- <toggle case="medilv" ev:event="onclick"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|