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>
- <mercd>
- <mercdlist>
- <levl/>
- <displaynm/>
- <hardcdno/>
- <hardcdnm/>
- <suphardcdno/>
- <rmk/>
- </mercdlist>
- </mercd>
- <errcdinfo>
- <errcodeinfo>
- <status/>
- <errcd/>
- <errnm/>
- <superrcd/>
- <fromdd/>
- <todd/>
- <errmsg/>
- <errdisc/>
- <rmk/>
- <path/>
- <resnflag/>
- <multiyn/>
- <resnlistcd/>
- <excls/>
- <errsql/>
- </errcodeinfo>
- <exdeptinfo>
- <deptlist/>
- </exdeptinfo>
- <exuserinfo>
- <userlist/>
- </exuserinfo>
- <expatinfo>
- <patlist/>
- </expatinfo>
- </errcdinfo>
- <cond>
- <deptcd/>
- <userid/>
- <errcd/>
- <errnm/>
- </cond>
- <objectinfo>
- <user>
- <orddept/>
- <orddrid/>
- </user>
- <dept>
- <orddept/>
- </dept>
- </objectinfo>
- <patinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- </patinfolist>
- </patinfo>
- </main>
- <send>
- <reqdata/>
- <savedata>
- <mercdinfo/>
- </savedata>
- </send>
- <recv>
- </recv>
- <hidden>
- </hidden>
- <init>
- <resnflag/>
- <orddept>
- <dept/>
- </orddept>
- <userlist>
- <usercombo/>
- </userlist>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SMMMB08500();
- ]]>
- </script>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB08501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/mercd"/>
- <submission id="TRMMB08502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/errcdinfo"/>
- <submission id="TXMMB08501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
- <submission id="TXMMB08502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp"/>
- </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/stringHelper.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="../../../emr/prcpmngtweb/js/SMMMB08500.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1020" pageheight="720" guideline="1,430;1,421;1,1003;2,696;" style="margin-left:8; margin-right:8; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:140px; height:13px; ">진료 오류코드 관리</caption>
- <group id="grp_left" style="left:20px; top:19px; width:401px; height:680px; ">
- <caption id="caption6" class="tit_2" style="left:0px; top:5px; width:220px; height:15px; text-align:left; ">진료 오류코드 항목</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:22px; x2:400px; y2:23px; "/>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:28px; width:401px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:5px; top:35px; width:70px; height:17px; ">코드</caption>
- <input id="ipt_search_hardcdno" ref="/root/main/cond/errcd" class="input_search" style="left:61px; top:35px; width:69px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search_mercd", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption9" class="search_name" style="left:140px; top:35px; width:70px; height:17px; ">코드명</caption>
- <input id="ipt_search_hardcdnm" ref="/root/main/cond/errnm" class="input_search" imemode="hangul" style="left:210px; top:36px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search_mercd", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line1" style="x1:325px; y1:33px; x2:325px; y2:61px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search_mercd" class="btn1_letter2" style="left:336px; top:34px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetMercdList();
- ]]>
- </script>
- </button>
- <datagrid id="grd_mercdlist" nodeset="/root/main/mercd/mercdlist" autoresize="true" caption="level^오류코드-오류코드명^오류코드^오류코드명^상위코드" colwidth="0, 380, 0, 0, 0" dataheight="23" ellipsis="false" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" tooltip="true" style="left:0px; top:65px; width:401px; height:615px; ">
- <col ref="levl"/>
- <col ref="displaynm"/>
- <col ref="errcd" visibility="hidden"/>
- <col ref="errcdnm" visibility="hidden"/>
- <col ref="superrcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSetErrCodeInfo();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_right_top" style="left:430px; top:19px; width:570px; height:416px; ">
- <caption id="caption3" class="tit_2" style="left:0px; top:5px; width:220px; height:13px; text-align:left; ">기본정보</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:23px; x2:570px; y2:23px; "/>
- <button id="button2" class="btn2_letter2" style="left:464px; top:3px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/errcdinfo/errcodeinfo");
- model.removeNodeset("/root/main/errcdinfo/exdeptinfo/deptlist");
- model.removeNodeset("/root/main/errcdinfo/exuserinfo/userlist");
- model.removeNodeset("/root/main/errcdinfo/expatinfo/patlist");
- model.refresh();
-
- model.setValue("/root/main/errcdinfo/errcodeinfo/status", "i"); // 입력 설정
- model.setValue("/root/main/errcdinfo/errcodeinfo/fromdd", getCurrentDate()); // 시작일자
- model.setValue("/root/main/errcdinfo/errcodeinfo/todd", "99991231"); // 종료일자
- model.setValue("/root/main/errcdinfo/errcodeinfo/multiyn", "N"); // 멀티선택여부
- model.setValue("/root/main/errcdinfo/errcodeinfo/resnflag", "-"); // 사유구분
- model.setValue("/root/main/errcdinfo/errcodeinfo/resnlistcd", "0"); // 사유코드
- model.setValue("/root/main/errcdinfo/errcodeinfo/excls", "E"); // 예외처리
- ipt_errcd.disabled = false;
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_SaveMercd" class="btn4_letter2" style="left:511px; top:0px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveErrCodeInfo();
- ]]>
- </script>
- </button>
- <caption id="caption4" class="cell_1" style="left:0px; top:28px; width:60px; height:23px; vertical-align:middle; ">오류코드</caption>
- <input id="ipt_errcd" ref="/root/main/errcdinfo/errcodeinfo/errcd" class="input" imemode="disabled" maxlength="10" style="left:65px; top:30px; width:155px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:225px; top:28px; width:60px; height:23px; vertical-align:middle; ">코드명</caption>
- <input id="ipt_errnm" ref="/root/main/errcdinfo/errcodeinfo/errnm" class="input" style="left:290px; top:30px; width:280px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:52px; width:60px; height:23px; vertical-align:middle; ">상위코드</caption>
- <input id="ipt_superrcd" ref="/root/main/errcdinfo/errcodeinfo/superrcd" class="input" imemode="disabled" maxlength="10" style="left:65px; top:55px; width:155px; height:19px; "/>
- <line id="line4" class="line_3" style="x1:0px; y1:412px; x2:570px; y2:412px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:76px; width:60px; height:44px; vertical-align:middle; ">메세지</caption>
- <textarea id="txt_errmsg" ref="/root/main/errcdinfo/errcodeinfo/errmsg" style="left:65px; top:77px; width:505px; height:42px; "/>
- <caption id="caption13" class="cell_1" style="left:0px; top:121px; width:60px; height:44px; vertical-align:middle; ">설명</caption>
- <textarea id="txt_errdisc" ref="/root/main/errcdinfo/errcodeinfo/errdisc" style="left:65px; top:121px; width:505px; height:42px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:166px; width:60px; height:39px; vertical-align:middle; ">비고</caption>
- <textarea id="txt_rmk" ref="/root/main/errcdinfo/errcodeinfo/rmk" style="left:65px; top:166px; width:505px; height:39px; "/>
- <caption id="caption22" class="cell_1" style="left:0px; top:206px; width:60px; height:23px; vertical-align:middle; ">소스위치</caption>
- <input id="input1" ref="/root/main/errcdinfo/errcodeinfo/path" class="input" imemode="disabled" style="left:65px; top:209px; width:505px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:225px; top:52px; width:60px; height:23px; vertical-align:middle; ">적용기간</caption>
- <input id="ipt_fromdd" ref="/root/main/errcdinfo/errcodeinfo/fromdd" inputtype="date" format="yyyy-mm-dd" style="left:290px; top:55px; width:100px; height:19px; font-weight:normal; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCompareDate();
- ]]>
- </script>
- </input>
- <caption id="caption14" style="left:394px; top:56px; width:15px; height:20px; ">~</caption>
- <input id="ipt_todd" ref="/root/main/errcdinfo/errcodeinfo/todd" inputtype="date" format="yyyy-mm-dd" style="left:410px; top:55px; width:100px; height:19px; font-weight:normal; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCompareDate();
- ]]>
- </script>
- </input>
- <caption id="caption15" class="cell_1" style="left:0px; top:230px; width:60px; height:23px; vertical-align:middle; ">사유구분</caption>
- <select1 id="cmb_resnflag" ref="/root/main/errcdinfo/errcodeinfo/resnflag" appearance="minimal" style="left:65px; top:232px; width:240px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/resnflag/M0530">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption16" class="cell_1" style="left:312px; top:230px; width:60px; height:23px; vertical-align:middle; ">사유코드</caption>
- <input id="ipt_resnlistcd" ref="/root/main/errcdinfo/errcodeinfo/resnlistcd" class="input" imemode="disabled" maxlength="5" style="left:375px; top:232px; width:70px; height:19px; "/>
- <caption id="caption17" class="cell_1" style="left:448px; top:230px; width:60px; height:23px; vertical-align:middle; ">사유멀티</caption>
- <select1 id="cbo_multiyn" ref="/root/main/errcdinfo/errcodeinfo/multiyn" appearance="minimal" style="left:510px; top:232px; width:60px; height:19px; font-weight:normal; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption18" class="cell_1" style="left:0px; top:255px; width:60px; height:130px; vertical-align:middle; ">쿼리</caption>
- <textarea id="txt_errsql" ref="/root/main/errcdinfo/errcodeinfo/errsql" style="left:65px; top:255px; width:505px; height:130px; "/>
- <caption id="caption19" class="cell_1" style="left:0px; top:387px; width:60px; height:23px; vertical-align:middle; ">예외처리</caption>
- <select1 id="cbo_excls" ref="/root/main/errcdinfo/errcodeinfo/excls" appearance="minimal" style="left:65px; top:390px; width:160px; height:19px; font-weight:normal; ">
- <choices>
- <item>
- <label>예외조건 제외 처리</label>
- <value>E</value>
- </item>
- <item>
- <label>예외조건 포함 처리</label>
- <value>I</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="grp_right_bottom" style="left:431px; top:434px; width:570px; height:262px; ">
- <caption id="caption12" class="tit_2" style="left:0px; top:5px; width:220px; height:15px; text-align:left; ">예외조건</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:23px; x2:570px; y2:23px; "/>
- <button id="btn_SaveDhrcd" class="btn4_letter2" style="left:511px; top:1px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveErrCdExInfo();
- ]]>
- </script>
- </button>
- <caption id="caption26" class="cell_1" style="left:0px; top:29px; width:188px; height:20px; font-weight:bold; text-align:left; ">진료과</caption>
- <select1 id="combo1" ref="/root/main/objectinfo/dept/orddept" appearance="minimal" style="left:0px; top:52px; width:188px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_dept_addrow" class="btn2_letter2" style="left:97px; top:30px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridAdd(grd_notapply_dept, "D");
- ]]>
- </script>
- </button>
- <button id="btn_dept_delrow" class="btn2_letter2" style="left:142px; top:30px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridDel(grd_notapply_dept, "D");
- ]]>
- </script>
- </button>
- <datagrid id="grd_notapply_dept" nodeset="/root/main/errcdinfo/exdeptinfo/deptlist" caption="errcd^fromdd^exno^extype^부서코드^부서명^비고" colsep="^" colwidth="0, 0, 0, 0, 0, 146, 200" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:73px; width:188px; height:189px; font-weight:normal; ">
- <col ref="errcd" visibility="hidden"/>
- <col ref="fromdd" visibility="hidden"/>
- <col ref="exno" visibility="hidden"/>
- <col ref="extype" visibility="hidden"/>
- <col ref="exid"/>
- <col ref="exidnm"/>
- <col ref="rmk" type="input"/>
- </datagrid>
- <caption id="caption20" class="cell_1" style="left:191px; top:29px; width:188px; height:20px; font-weight:bold; text-align:left; ">진료의</caption>
- <button id="btn_user_addrow" class="btn2_letter2" style="left:290px; top:30px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridAdd(grd_notapply_user,"U");
- ]]>
- </script>
- </button>
- <button id="btn_user_delrow" class="btn2_letter2" style="left:335px; top:30px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridDel(grd_notapply_user,"U");
- ]]>
- </script>
- </button>
- <select1 id="cmb_exuer_dept" ref="/root/main/objectinfo/user/orddept" appearance="minimal" style="left:191px; top:52px; width:119px; 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[
- if(cmb_exuer_dept.value != ""){
- model.removeNodeset("/root/init/userlist");
- model.makeNode("/root/init/userlist/usercombo");
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_exuer_dept.value, "0330");
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_exuser" ref="/root/main/objectinfo/user/orddrid" appearance="minimal" style="left:312px; top:52px; width:67px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_notapply_user" nodeset="/root/main/errcdinfo/exuserinfo/userlist" caption="errcd^fromdd^exno^extype^사번^사용자^비고" colsep="^" colwidth="0, 0, 0, 0, 70, 78, 200" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:191px; top:73px; width:188px; height:189px; font-weight:normal; ">
- <col ref="errcd" visibility="hidden"/>
- <col ref="fromdd" visibility="hidden"/>
- <col ref="exno" visibility="hidden"/>
- <col ref="extype" visibility="hidden"/>
- <col ref="exid"/>
- <col ref="exidnm"/>
- <col ref="rmk" type="input"/>
- </datagrid>
- <caption id="caption21" class="cell_1" style="left:382px; top:29px; width:188px; height:20px; font-weight:bold; text-align:left; ">환자</caption>
- <button id="btn_pat_addrow" class="btn2_letter2" style="left:480px; top:30px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridAdd(grd_notapply_pat,"P");
- ]]>
- </script>
- </button>
- <button id="btn_pat_delrow" class="btn2_letter2" style="left:525px; top:30px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridDel(grd_notapply_pat,"P");
- ]]>
- </script>
- </button>
- <datagrid id="grd_notapply_pat" nodeset="/root/main/errcdinfo/expatinfo/patlist" caption="errcd^fromdd^exno^extype^환자번호^환자명^비고" colsep="^" colwidth="0, 0, 0, 0, 70, 78, 200" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:382px; top:52px; width:188px; height:210px; font-weight:normal; ">
- <col ref="errcd" visibility="hidden"/>
- <col ref="fromdd" visibility="hidden"/>
- <col ref="exno" visibility="hidden"/>
- <col ref="extype" visibility="hidden"/>
- <col ref="exid"/>
- <col ref="exidnm"/>
- <col ref="rmk" type="input"/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|