123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391 |
- <?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>
- <cond>
- <currentdd/>
- <ordprcpnm/>
- <prcpclscd1/>
- <prcpclscd2/>
- <prcpclscd3/>
- <prcpclsnm/>
- <prcpinptflag>-</prcpinptflag>
- <prcpuseflag>-</prcpuseflag>
- </cond>
- <ordprcpcdinfo>
- <ordprcpcdinfo>
- <status/>
- <prcpcd/>
- <todd/>
- <instcd/>
- <fromdd/>
- <grupsnglflag>S</grupsnglflag>
- <prcpclscd1/>
- <prcpclscd2/>
- <prcpclscd3/>
- <prcpclsnm1/>
- <prcpclsnm2/>
- <prcpclsnm3/>
- <prcpinptflag>-</prcpinptflag>
- <prcpuseflag>A</prcpuseflag>
- <prcpessninptflag/>
- <prcpclscd/>
- <direcprcplnkno/>
- <prcpexecdeptcd/>
- <prcpexecdeptnm/>
- <prcpnm/>
- <prcpclsnm/>
- <prcpnmupdtflag>N</prcpnmupdtflag>
- </ordprcpcdinfo>
- </ordprcpcdinfo>
- <ordprcpcdlist>
- <ordprcpcdlist>
- <status/>
- <prcpcd/>
- <todd/>
- <instcd/>
- <fromdd/>
- <grupsnglflag/>
- <prcpclscd1/>
- <prcpclscd2/>
- <prcpclscd3/>
- <prcpclsnm1/>
- <prcpclsnm2/>
- <prcpclsnm3/>
- <prcpinptflag/>
- <prcpuseflag/>
- <prcpessninptflag/>
- <prcpclscd/>
- <direcprcplnkno/>
- <prcpexecdeptcd/>
- <prcpnm/>
- <prcpnmupdtflag/>
- </ordprcpcdlist>
- </ordprcpcdlist>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden/>
- <init>
- <today/>
- <M0005/>
- <orddept/>
- </init>
- <temp>
- <ordprcpcdinfo>
- <ordprcpcdlist/>
- </ordprcpcdinfo>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SMMMB02100();
- ]]>
- </script>
- <submission id="TRMMB02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ordprcpcdlist"/>
- <submission id="TXMMB02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/ordprcpcdlist"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZSD00109" 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="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMB02100.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1193;2,784;2,29;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:21px; width:1193px; height:39px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:124px; height:14px; ">지시처방코드 관리</caption>
- <caption id="caption1" class="search_name" style="left:205px; top:31px; width:105px; height:17px; ">지시처방명 :</caption>
- <input id="ipt_pid" ref="/root/main/cond/ordprcpnm" class="input_search" style="left:304px; top:29px; width:144px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_req", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line3" style="x1:1110px; y1:28px; x2:1110px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:65px; width:126px; height:14px; vertical-align:middle; ">지시처방코드</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:1193px; y2:80px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:85px; width:101px; height:23px; vertical-align:middle; ">처방명</caption>
- <caption id="caption4" class="cell_1" style="left:396px; top:157px; width:101px; height:23px; vertical-align:middle; ">그룹싱글구분</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:109px; width:101px; height:23px; vertical-align:middle; ">유효기간</caption>
- <caption id="caption10" class="cell_1" style="left:199px; top:181px; width:101px; height:23px; vertical-align:middle; ">사용구분</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:157px; width:101px; height:23px; vertical-align:middle; ">실시부서</caption>
- <caption id="caption14" class="cell_1" style="left:0px; top:133px; width:101px; height:23px; vertical-align:middle; ">처방분류명</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:204px; x2:1194px; y2:204px; "/>
- <caption id="caption18" class="tit_2" style="left:0px; top:235px; width:139px; height:13px; vertical-align:middle; ">지시처방코드 리스트</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:250px; x2:1193px; y2:250px; "/>
- <caption id="caption7" style="left:200px; top:110px; width:20px; height:20px; ">~</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:181px; width:101px; height:23px; vertical-align:middle; ">처방입력구분</caption>
- <input id="ipt_prcpnm" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpnm" class="input_search" style="left:102px; top:87px; width:788px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/fromdd" class="input_search" inputtype="date" style="left:102px; top:111px; width:95px; height:19px; "/>
- <input id="ipt_todd" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/todd" class="input_search" disabled="true" inputtype="date" style="left:213px; top:111px; width:95px; height:19px; "/>
- <input id="ipt_prcpclsnm" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpclsnm" class="input_search" disabled="true" style="left:102px; top:135px; width:293px; height:19px; "/>
- <select1 id="cmb_prcpinptflag" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpinptflag" class="combo_search" appearance="minimal" style="left:102px; top:183px; width:96px; height:19px; ">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_grupsnglflag" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/grupsnglflag" class="combo_search" appearance="minimal" style="left:498px; top:159px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>싱글</label>
- <value>S</value>
- </item>
- <item>
- <label>그룹</label>
- <value>J</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_prcpuseflag" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpuseflag" class="combo_search" appearance="minimal" style="left:301px; top:183px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>사용가능</label>
- <value>A</value>
- </item>
- <item>
- <label>사용불가</label>
- <value>X</value>
- </item>
- </choices>
- </select1>
- <button id="btn_save" class="btn4_letter2" style="left:1136px; top:207px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveOrdPrcpCD();
- ]]>
- </script>
- </button>
- <button id="btn_new" class="btn4_letter2" style="left:1020px; top:207px; width:56px; height:22px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRgstNewOrdPrcpCD();
- ]]>
- </script>
- </button>
- <button id="btn_req" class="btn1_letter2" style="left:1125px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReqOrdPrcpCD();
- ]]>
- </script>
- </button>
- <datagrid id="grd_ordprcpcdlist" nodeset="/root/main/ordprcpcdlist/ordprcpcdlist" caption="처방코드^처방명^유효시작일^유효종료일^처방분류명^처방구분^실시부서코드^실시부서^그룹싱글구분^prcpessninptflag^fromdd^사용구분" colsep="^" colwidth="100, 459, 100, 100, 0, 100, 0, 125, 86, 0, 0, 106" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:255px; width:1193px; height:529px; ">
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="fromdd" format="yyyy-mm-dd"/>
- <col ref="todd" format="yyyy-mm-dd"/>
- <col ref="prcpclsnm"/>
- <col disabled="true" ref="prcpclscd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0005/M0005">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpexecdeptcd"/>
- <col ref="prcpexecdeptnm"/>
- <col disabled="true" ref="grupsnglflag" type="combo">
- <choices>
- <item>
- <label>싱글</label>
- <value>S</value>
- </item>
- <item>
- <label>그룹</label>
- <value>J</value>
- </item>
- </choices>
- </col>
- <col ref="prcpessninptflag"/>
- <col ref="fromdd"/>
- <col disabled="true" ref="prcpuseflag" type="combo">
- <choices>
- <item>
- <label>사용가능</label>
- <value>A</value>
- </item>
- <item>
- <label>사용불가</label>
- <value>X</value>
- </item>
- </choices>
- </col>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var iRow = grd_ordprcpcdlist.row;
- if(iRow > 0){
- fDispOrdPrcpDetl(iRow);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_ordprcpcdlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption11" class="search_name" style="left:11px; top:31px; width:105px; height:17px; ">기준일자 :</caption>
- <input id="input1" ref="/root/main/cond/currentdd" class="input_search" inputtype="date" style="left:100px; top:29px; width:90px; height:19px; "/>
- <button id="btn_calscor" class="btn3_letter6" style="left:595px; top:157px; width:104px; height:22px; ">
- <caption>수가처방등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( isNull ( model.getValue ( "/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpcd" ) )) {
- model.alert ( "선택된 지시처방이 없습니다." );
- } else {
- setParameter ( "SMMMB02100_cond1", model.getValue ( "/root/main/ordprcpcdinfo/ordprcpcdinfo/direcprcplnkno" ));
- var prcpcd = model.getValue("/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpcd");
- var cur_grupsnglflag = model.getValue("/root/main/ordprcpcdinfo/ordprcpcdinfo/grupsnglflag");
- var grupsnglflag = model.getValue("/root/main/ordprcpcdlist/ordprcpcdlist[prcpcd='" + prcpcd + "']/grupsnglflag");
- if(cur_grupsnglflag == grupsnglflag && cur_grupsnglflag == 'J'){
- modal ( "SMMMB00900" );
- }else{
- messageBox("수가처방 등록은 그룹 이외는 처리", "E001");
- return;
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_prcpclsnm" class="icon_search" style="left:82px; top:136px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPrcpClsNm();
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpexecdeptcd" class="input_search" disabled="true" visibility="hidden" style="left:700px; top:158px; width:130px; height:19px; "/>
- <caption id="caption8" class="search_name" style="left:455px; top:30px; width:105px; height:17px; ">처방분류 :</caption>
- <input id="input3" ref="/root/main/cond/prcpclsnm" class="input_search" editable="false" style="left:540px; top:29px; width:125px; height:19px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- </input>
- <button id="button2" class="icon_search" style="left:670px; top:30px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPrcpClsNmCond();
- ]]>
- </script>
- </button>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpnmupdtflag" style="left:885px; top:87px; width:30px; height:20px; "/>
- <caption id="caption12" style="left:908px; top:88px; width:100px; height:20px; ">처방명 수정구분</caption>
- <caption id="caption15" class="cell_1" style="left:396px; top:133px; width:101px; height:23px; vertical-align:middle; ">처방구분</caption>
- <select1 id="cmb_prcpcls" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpclscd" class="combo_search" appearance="minimal" style="left:498px; top:136px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>V/S</label>
- <value>00</value>
- </item>
- <item>
- <label>활동</label>
- <value>01</value>
- </item>
- <item>
- <label>I/O</label>
- <value>02</value>
- </item>
- <item>
- <label>식이</label>
- <value>03</value>
- </item>
- <item>
- <label>HSCT</label>
- <value>04</value>
- </item>
- <item>
- <label>지시</label>
- <value>09</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngPrcpClsCD();
- ]]>
- </script>
- </select1>
- <button id="button3" class="btn4_letter2" style="left:1078px; top:207px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelOrdPrcpCD();
- ]]>
- </script>
- </button>
- <select1 id="combo2" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpexecdeptcd" appearance="minimal" itemcount="10" style="left:102px; top:159px; width:293px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption16" class="search_name" style="left:700px; top:30px; width:112px; height:17px; ">처방입력구분 :</caption>
- <select1 id="combo1" ref="/root/main/cond/prcpinptflag" class="combo_search" appearance="minimal" style="left:813px; top:29px; width:96px; height:19px; ">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/main/cond/prcpuseflag" class="combo_search" appearance="minimal" style="left:1006px; top:29px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>사용가능</label>
- <value>A</value>
- </item>
- <item>
- <label>사용불가</label>
- <value>X</value>
- </item>
- </choices>
- </select1>
- <caption id="caption17" class="search_name" style="left:920px; top:30px; width:112px; height:17px; ">사용구분 :</caption>
- </xhtml:body>
- </xhtml:html>
|