123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>환자등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <right_cond>
- <orddeptcd/>
- <medispclid/>
- <srch_flag/>
- <pid/>
- <srch_fromdd/>
- <srch_todd/>
- <hngnm/>
- <diagcd/>
- </right_cond>
- <left_cond>
- <pid/>
- <srch_flag/>
- <srch_fromdd/>
- <srch_todd/>
- <hngnm/>
- </left_cond>
- <grd_right>
- <chkbox/>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <orddd/>
- <depthngnm/>
- <maindocnm/>
- <subdocnm/>
- <diagengnm/>
- <room/>
- <dschdd/>
- <telno/>
- <cretno/>
- <diagcd/>
- <ordtype/>
- </grd_right>
- <grd_left>
- <saveyn/>
- <indxyn/>
- <fuyn/>
- <eduyn/>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <diagengnm/>
- <orddd/>
- <dschdd/>
- <telno/>
- <followup/>
- <cretno/>
- <ordtype/>
- <recflag/>
- </grd_left>
- <patinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- </patinfolist>
- </patinfo>
- </main>
- <send>
- <left>
- <savedata/>
- <srchdata/>
- </left>
- <right>
- <reqdata/>
- </right>
- </send>
- <hidden/>
- <init>
- <userlist/>
- <orddept/>
- </init>
- <temp>
- <selectdiaglist>
- <diagcd/>
- <diagengnm/>
- </selectdiaglist>
- <right_chkyn/>
- </temp>
- <popupmenu>
- <menu>
- <item>
- <name>대상자 삭제</name>
- <func>fDeletePat</func>
- </item>
- </menu>
- </popupmenu>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMRH00400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/right" resultref="/root/main/grd_right"/>
- <submission id="TXMRH00400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/left" resultref="/root/main/grd_left"/>
- <submission id="TXMRH00410" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/left" resultref="/root/main/grd_left"/>
- <submission id="TRMRH00410" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/left" resultref="/root/main/grd_left"/>
- </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="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../emr/hartbranbldweb/js/MRH00400.js"/>
- <script type="javascript" src="../../../emr/hartbranbldweb/js/hartbranbldCommon.js"/>
- </xhtml:head>
- <xhtml:body scroll="none" pagewidth="1190" pageheight="760">
- <group id="grp_1" visibility="visible" scroll="none" style="left:0px; top:0px; width:11908px; height:760px; font-family:바탕; ">
- <datagrid id="grd_right" nodeset="/root/main/grd_right" removehscroll="true" removevscroll="true" scroll="auto" caption="^등록번호^환자명^성별^나이^입원일^퇴원일^진료과^주치의^담당의^진단명^병실^전화번호^원무키^진단코드^수진형태" colsep="^" colwidth="30, 55, 55, 30, 30, 70, 69, 70, 50, 50, 150, 50, 30, 30, 30" explorerbar="sortmove" frozencols="3" mergecellsfixedrows="bycolrec" rowsep="|" style="left:535px; top:60px; width:645px; height:690px; font-family:바탕; ">
- <col checkvalue="Y,N" ref="chkbox" type="checkbox"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="orddd"/>
- <col ref="dschdd"/>
- <col ref="depthngnm"/>
- <col ref="maindocnm" style="left:330px; top:23px; width:50px; height:23px; "/>
- <col ref="subdocnm"/>
- <col ref="diagengnm"/>
- <col ref="room"/>
- <col ref="telno" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="diagcd" visibility="hidden"/>
- <col ref="ordtype" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fOpenRec();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_left.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <group id="grp_left" scroll="none" style="left:1px; top:3px; width:525px; height:52px; ">
- <input id="input6" ref="/root/main/left_cond/pid" autonext="false" imemode="disabled" maxlength="10" style="left:81px; top:5px; width:102px; height:19px; "/>
- <input id="input7" ref="/root/main/left_cond/hngnm" style="left:185px; top:5px; width:80px; height:20; "/>
- <caption id="caption15" class="cell_1" style="left:5px; top:5px; width:74px; height:20px; vertical-align:middle; ">등록번호</caption>
- <caption id="caption16" class="cell_1" style="left:190px; top:30px; width:75px; height:20; vertical-align:middle; ">검색기간</caption>
- <caption id="caption17" style="left:374px; top:30px; width:20px; height:20px; ">~</caption>
- <caption id="caption18" class="cell_1" style="left:5px; top:30px; width:74px; height:20px; vertical-align:middle; ">검색구분</caption>
- <input id="input8" ref="/root/main/left_cond/srch_fromdd" inputtype="date" style="left:270px; top:30px; width:100px; height:20; "/>
- <input id="input9" ref="/root/main/left_cond/srch_todd" inputtype="date" style="left:390px; top:30px; width:95px; height:20; "/>
- <button id="button2" class="btn2_letter2" style="left:385px; top:5px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fLeftSearch();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter2" style="left:430px; top:5px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- fLeftSearch();
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/main/left_cond/srch_flag" appearance="minimal" style="left:81px; top:30px; width:103px; height:19px; ">
- <choices>
- <item>
- <label>입원일</label>
- <value>I</value>
- </item>
- <item>
- <label>퇴원일</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <button id="button5" class="icon_search" style="left:270px; top:5px; 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/left_cond/pid", sPid);
- model.setValue("/root/main/left_cond/hngnm", sHngnm);
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter2" style="left:475px; top:5px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- excel_save();
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_left" nodeset="/root/main/grd_left" removehscroll="true" removevscroll="true" scroll="auto" caption="저장구분^지표^F/U^교육^상태^등록번호^환자명^성별^나이^진단명^ 주호소^입원일자^퇴원일자^입원경로^전화번호^F/U^원무키^수진형태^구분" colsep="^" colwidth="55, 30, 30, 30, 57, 55, 55, 30, 30, 167, 100, 59, 58, 60, 94, 50, 30, 30, 30" explorerbar="sortmove" frozencols="7" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:60px; width:530px; height:690px; ">
- <col checkvalue="Y,N" ref="saveyn" type="checkbox" visibility="hidden"/>
- <col checkvalue="Y,N" ref="indxyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="fuyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="eduyn" type="checkbox"/>
- <col ref="status" visibility="hidden" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="diagengnm"/>
- <col ref="cc"/>
- <col ref="orddd" style="text-align:center; "/>
- <col ref="dschdd" style="text-align:center; "/>
- <col ref="orgordtype" style="text-align:center; "/>
- <col ref="telno" style="text-align:center; "/>
- <col ref="followup" style="text-align:center; "/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="ordtype" visibility="hidden"/>
- <col ref="recflag" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChangeData();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_left", false, "/root/popupmenu/menu/item", "name", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_left.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <group id="grp_right" scroll="none" style="left:533px; top:3px; width:640px; height:52px; border-color:#ffff700; ">
- <caption id="caption9" class="cell_1" style="left:5px; top:4px; width:60px; height:20px; text-align:left; vertical-align:middle; ">등록번호</caption>
- <input id="input5" ref="/root/main/right_cond/pid" autonext="false" imemode="disabled" maxlength="10" style="left:75px; top:5px; width:102px; height:20; "/>
- <caption id="caption5" class="cell_1" style="left:290px; top:5px; width:55px; height:20; text-align:left; vertical-align:middle; ">진 료 과</caption>
- <button id="button1" class="btn2_letter2" style="left:557px; top:28px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRightSearch();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:475px; top:5px; width:55px; height:20; text-align:left; vertical-align:middle; ">주치의</caption>
- <caption id="caption10" class="cell_1" style="left:190px; top:29px; width:40px; height:20px; text-align:left; vertical-align:middle; ">구 분:</caption>
- <select1 id="cmb_orddept" ref="/root/main/right_cond/orddeptcd" class="combo_search" appearance="minimal" style="left:350px; top:5px; width:120px; height:20; ">
- <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.makeNode("/root/init/userlist/usercombo");
-
- if(cmb_orddept.value == "-"){
- model.removeNode("/root/init/userlist/usercombo");
- model.makeValue("/root/init/userlist/usercombo/userid", "-");
- model.makeValue("/root/init/userlist/usercombo/usernm", "전체");
- model.removeNode("/root/init/userlist2/usercombo");
- model.makeValue("/root/init/userlist2/usercombo/userid", "-");
- model.makeValue("/root/init/userlist2/usercombo/usernm", "전체");
- }else{
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , cmb_orddept.value, "0330", "", ""); //진료과 의사콤보 조회
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
- }
- model.setValue("/root/main/right_cond/medispclid", "-");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_medispclid" ref="/root/main/right_cond/medispclid" appearance="minimal" style="left:535px; top:5px; width:85px; height:20; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption11" class="cell_1" style="left:308px; top:29px; width:40px; height:20px; text-align:left; vertical-align:middle; ">기 간:</caption>
- <input id="input2" ref="/root/main/right_cond/srch_fromdd" inputtype="date" style="left:350px; top:28px; width:90px; height:19px; "/>
- <caption id="caption12" style="left:444px; top:30px; width:20px; height:20px; ">~</caption>
- <input id="input4" ref="/root/main/right_cond/srch_todd" inputtype="date" style="left:460px; top:28px; width:90px; height:19px; "/>
- <button id="btn_patsrch" class="icon_search" style="left:265px; top:5px; 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/right_cond/pid", sPid);
- model.setValue("/root/main/right_cond/hngnm", sHngnm);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/main/right_cond/hngnm" autonext="false" imemode="disabled" maxlength="10" style="left:180px; top:5px; width:80px; height:20; "/>
- <select1 id="cmb_ioflag" ref="/root/main/right_cond/srch_flag" appearance="minimal" style="left:235px; top:28px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Z</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>재원</label>
- <value>A</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- <item>
- <label>퇴원</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" class="cell_1" style="left:5px; top:27px; width:60px; height:20px; text-align:left; vertical-align:middle; ">진단코드:</caption>
- <input id="input3" ref="/root/main/right_cond/diagcd" autonext="false" imemode="disabled" maxlength="10" style="left:75px; top:28px; width:85px; height:19px; "/>
- <button id="button4" class="icon_search" visibility="hidden" style="left:165px; top:27px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClickPopUp("1");
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_1" class="icon_left" style="left:501px; top:40px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fCopyData();
- ]]>
- </script>
- </button>
- <bool id="bool1" checkvalue="Y,N" ref="/root/temp/right_chkyn" style="left:535px; top:60px; width:30px; height:25px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fStatusyn();
- ]]>
- </script>
- </bool>
- </group>
- </xhtml:body>
- </xhtml:html>
|