123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612 |
- <?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>
- <prcp>
- <prcplist>
- <status/>
- <prcpstatcd/>
- <prcpclscd/>
- <prcpkindcd/>
- <prcpcd/>
- <prcpnm/>
- <prcpvol/>
- <prcpvolunitnm/>
- <prcpqty/>
- <prcpqtyunitnm/>
- <prcptims/>
- <prcpdayno/>
- <drugmthdspccdnm/>
- <prcpmixno/>
- <payflagcd/>
- <prcpdelivefact/>
- <hosinhosoutflag/>
- <prcpexecdeptcd/>
- <prcphopedd/>
- <choiordflag/>
- <rgstdt/>
- <rgstridnm/>
- <testrsltunit/>
- <testrsltcnts/>
- <prcpgenrflag/>
- <prcphistcd/>
- <tempprcpflag/>
- <prcpsetcd/>
- <prcpvolunitflag/>
- <prcpqtyunitflag/>
- <orgprcpqty/>
- <drugspd/>
- <drugspdunitflag/>
- <powdflag/>
- <prnprcpflag/>
- <prepprcpflag/>
- <selfprcpflag/>
- <selfdrugflag/>
- <drugpackflag/>
- <erprcpflag/>
- <precureprcpflag/>
- <nigtprcpflag/>
- <portprcpflag/>
- <fixprcpflag/>
- <anamneflag/>
- <fastprcpflag/>
- <erreadflag/>
- <prcpdirecflag/>
- <tnsuseflag/>
- <tnsfiltflag/>
- <trnptbftestflag/>
- <offictourhealexamflag/>
- <stemcellflag/>
- <angioflagcd/>
- <opansflagcd/>
- <ansttm/>
- <mealcalrcnts/>
- <mealprotcnts/>
- <mealupdtflag/>
- <hosinprcpresncd/>
- <etcprcpresncd/>
- <drugmthdspccd/>
- <issdeptcd/>
- <prcpauthflag/>
- <prcpinptflag/>
- <prcpsignflag/>
- <rateprcpflag/>
- <prcprefseq/>
- <ordreqlnkno/>
- <testreqlnkno/>
- <prcplnkdd/>
- <prcplnkno/>
- <oprsrvno/>
- <tootfact/>
- <clinccmtcnts/>
- <prcpessninptflag/>
- <grupsnglflag/>
- <drugrateqty/>
- <asttestflag/>
- <clincstdyflag/>
- <prtlno/>
- <clincstdycd/>
- <optermcd/>
- <prcpflag/>
- <hscttempprcpflag/>
- <inclprcpcd/>
- <inclprcpno/>
- <pampkspec/>
- <prcppkspec/>
- <calcscormastspec/>
- <drugmastspec/>
- <rateprcpspec/>
- <matrsetprcpspec/>
- <suppdeptspec/>
- <contprcpspec/>
- <etclnkspec/>
- <srchcondcnts/>
- <orgprcpnm/>
- <chkcol/>
- <hsctdelivepos/>
- <hsctlnkno/>
- <etcprcpflag/>
- <aftcertflag/>
- <aftcertdrid/>
- <prcpvalidd/>
- <insukind/>
- <specdrid/>
- <anticncrprtlno/>
- <anticncrdayno/>
- <druglnkno/>
- <drprcpetc1/>
- <drprcpetc2/>
- <drprcpetc3/>
- <drprcpetc4/>
- <drprcpetc5/>
- <drprcpetc6/>
- <drprcpetc7/>
- <drprcpetc8/>
- <drprcpetc9/>
- <drprcpetc10/>
- <tempcol1/>
- <tempcol2/>
- <tempcol3/>
- <tempcol4/>
- <tempcol5/>
- <tempcol6/>
- <tempcol7/>
- <tempcol8/>
- <tempcol9/>
- <tempcol10/>
- <tempcol11/>
- <tempcol12/>
- <tempcol13/>
- <tempcol14/>
- <tempcol15/>
- <tempcol16/>
- <tempcol17/>
- <tempcol18/>
- <tempcol19/>
- <tempcol20/>
- <tempcol21/>
- <tempcol22/>
- <tempcol23/>
- <tempcol24/>
- <tempcol25/>
- </prcplist>
- </prcp>
- <ordprcpcdlist>
- <ordprcpcdlist>
- <status/>
- <prcpcd/>
- <todd/>
- <instcd/>
- <fromdd/>
- <grupsnglflag/>
- <prcpclscd1/>
- <prcpclscd2/>
- <prcpclscd3/>
- <prcpclsnm1/>
- <prcpclsnm2/>
- <prcpclsnm3/>
- <prcpinptflag/>
- <prcpuseflag/>
- <prcpessninptflag/>
- <prcpclscd/>
- <direcprcplnkno/>
- <prcpexecdeptcd/>
- <prcpexecdeptnm/>
- <prcpnm/>
- <prcpclsnm/>
- <prcpnmupdtflag/>
- </ordprcpcdlist>
- </ordprcpcdlist>
- <mechcdinfo>
- <mechcdlist>
- <calcscorcd/>
- <ordnm/>
- </mechcdlist>
- </mechcdinfo>
- <cond>
- <stnddd/>
- <ordprcpnm/>
- <prcpclsnm/>
- <prcpinptflag>-</prcpinptflag>
- <prcpuseflag>-</prcpuseflag>
- <prcpclscd/>
- </cond>
- <iptbox>
- <prcpclsnm/>
- </iptbox>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- <cond1/>
- </send>
- <hidden/>
- <init>
- <payflagcd/>
- <prcpclscd/>
- <hsctdelivepos/>
- <orddept/>
- </init>
- <temp>
- <prcpclscdlist>
- <lvl>1</lvl>
- <prcpclscd/>
- <supprcpclscd/>
- <refseq/>
- <prcpclscd1/>
- <prcpclscd2/>
- <prcpclscd3/>
- <prcpclsnm>처방분류</prcpclsnm>
- <path/>
- </prcpclscdlist>
- </temp>
- <popupmenu>
- <meun>
- <item>
- <name>실시부서 변경</name>
- <func>fChngExecDept</func>
- </item>
- </meun>
- </popupmenu>
- <trvprcpcdlist/>
- <popupmenu2>
- <meun>
- <item>
- <name>신규</name>
- <func>fAddPrcpCls</func>
- </item>
- <item>
- <name>수정</name>
- <func>fUpdtPrcpCls</func>
- </item>
- <item>
- <name>삭제</name>
- <func>fDelPrcpCls</func>
- </item>
- </meun>
- </popupmenu2>
- <orddept/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SMMMB02300();
- ]]>
- </script>
- <submission id="TRMMB00911" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prcp"/>
- <submission id="TRMMB02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ordprcpcdlist"/>
- <submission id="TRMMB02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prcpclscdlist"/>
- <submission id="TRMMB02303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ordprcpcdlist"/>
- <submission id="TRMMO00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/orddept"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXMMB02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/prcpclscdlist"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- group1.attribute("height") = 0;
- ]]>
- </script>
- <submission id="TXMMB02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
- <submission id="TRMMB04101" 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="../../../emr/prcpmngtweb/js/SMMMB02300.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- </xhtml:head>
- <xhtml:body guideline="2,784;1,1194;1,300;" style="margin-left:8; margin-right:8; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:21px; width:1193px; height:49px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">지시처방조회</caption>
- <treeview id="trv_prcpclscdlist" ref="/root/trvprcpcdlist" expanddepth="4" itemsettype="depth" style="left:0px; top:105px; width:300px; height:679px; margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <itemset nodeset="/root/main/prcpclscdlist/prcpclscdlist">
- <label ref="prcpclsnm"/>
- <value ref="prcpclscd"/>
- <depth ref="lvl"/>
- </itemset>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSelectPrcpClsCD();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("trv_prcpclscdlist", false, "/root/popupmenu2/meun/item", "name", "func");
- ]]>
- </script>
- </treeview>
- <caption id="caption1" class="tit_2" style="left:307px; top:86px; width:161px; height:13px; vertical-align:middle; ">지시처방 리스트</caption>
- <line id="line2" class="line_1" style="x1:306px; y1:100px; x2:1193px; y2:100px; "/>
- <input id="ipt_pid" ref="/root/main/cond/ordprcpnm" class="input_search" style="left:730px; top:35px; width:355px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_req", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:631px; top:35px; width:105px; height:17px; ">지시처방명 :</caption>
- <select1 id="combo1" ref="/root/main/cond/prcpinptflag" class="combo_search" appearance="minimal" style="left:304px; top:35px; width:96px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- </select1>
- <caption id="caption11" class="search_name" style="left:11px; top:35px; width:105px; height:17px; ">기준일자 :</caption>
- <button id="btn_req" class="btn1_letter2" style="left:1125px; top:37px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/cond/prcpclscd", "genr");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMMB02101");
- ]]>
- </script>
- </button>
- <select1 id="combo3" ref="/root/main/cond/prcpuseflag" class="combo_search" appearance="minimal" style="left:505px; top:35px; 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>
- <input id="input1" ref="/root/main/cond/stnddd" class="input_search" inputtype="date" style="left:100px; top:35px; width:90px; height:19px; "/>
- <caption id="caption16" class="search_name" style="left:216px; top:35px; width:112px; height:17px; ">입력구분 :</caption>
- <line id="line4" style="x1:1110px; y1:28px; x2:1110px; y2:64px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption17" class="search_name" style="left:419px; top:35px; width:112px; height:17px; ">사용구분 :</caption>
- <button id="button1" class="btn2_letter2" style="left:1062px; top:80px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnNew();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter2" style="left:1106px; top:80px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnDel();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn5_letter2" style="left:1150px; top:80px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnSave();
- ]]>
- </script>
- </button>
- <group id="group1" style="left:75px; top:255px; width:218px; height:55px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
- <caption id="caption5" style="left:5px; top:5px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">분류명</caption>
- <button id="btn_cnfm" class="btn2_letter2" style="left:122px; top:26px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group1.attribute("height") = 0;
- model.setFocus("trv_prcpclscdlist");
- model.makeValue("/root/send/savedata/prcpclsnm", model.getValue("/root/main/iptbox/prcpclsnm"));
- if(btn_genr.selected == true){
- model.makeValue("/root/send/savedata/clsflag", "genr");
- }else{
- model.makeValue("/root/send/savedata/clsflag", "bmt");
- }
- submit("TXMMB02102");
- model.refresh();
- trv_prcpclscdlist.rebuild();
- ]]>
- </script>
- </button>
- <button id="btn_cncl" class="btn2_letter2" style="left:166px; top:26px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/savedata");
- group1.attribute("height") = 0;
- ]]>
- </script>
- </button>
- <input id="ipt_prcpclsnm" ref="/root/main/iptbox/prcpclsnm" class="input_default" style="left:55px; top:5px; width:154px; height:19px; border-color:#3366ff; border-style:solid; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_cnfm", "DOMActivate");
- ]]>
- </script>
- </input>
- </group>
- <datagrid id="grd_ordprcpcdlist" nodeset="/root/main/ordprcpcdlist/ordprcpcdlist" caption="^처방코드^처방명^명칭수정^시작일자^종료일자^instcd^처방분류^실시부서^그룹/싱글^사용구분^처방입력^권한부서^prcpessninptflag^oldfromdd^oldgrupsnglflag^prcpclscd1^prcpclscd2^prcpclscd3^direcprcplnkno^oldfromdd^oldgrupsnglflag" colsep="^" colwidth="49, 100, 282, 60, 74, 74, 0, 63, 100, 65, 67, 63, 96, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:307px; top:105px; width:887px; height:679px; ">
- <col disabled="true" ref="status" type="combo">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>신규</label>
- <value>i</value>
- </item>
- <item>
- <label>수정</label>
- <value>u</value>
- </item>
- <item>
- <label>삭제</label>
- <value>d</value>
- </item>
- </choices>
- </col>
- <col ref="prcpcd"/>
- <col ref="prcpnm" type="input"/>
- <col checkvalue="Y,N" ref="prcpnmupdtflag" type="checkbox"/>
- <col ref="fromdd" format="yyyy-mm-dd"/>
- <col ref="todd" format="yyyy-mm-dd"/>
- <col ref="instcd"/>
- <col ref="prcpclscd" type="combo">
- <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>BMT</label>
- <value>04</value>
- </item>
- <item>
- <label>지시</label>
- <value>09</value>
- </item>
- </choices>
- </col>
- <col editmode="inputsearch" itemcount="8" ref="prcpexecdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="grupsnglflag" type="combo">
- <choices>
- <item>
- <label>그룹</label>
- <value>J</value>
- </item>
- <item>
- <label>싱글</label>
- <value>S</value>
- </item>
- </choices>
- </col>
- <col ref="prcpuseflag" type="combo">
- <choices>
- <item>
- <label>사용불가</label>
- <value>X</value>
- </item>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- </choices>
- </col>
- <col ref="prcpinptflag" type="combo">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- </col>
- <col editmode="inputsearch" ref="prcpauthdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpessninptflag"/>
- <col ref="oldtodd"/>
- <col ref="oldgrupsnglflag"/>
- <col ref="prcpclscd1"/>
- <col ref="prcpclscd2"/>
- <col ref="prcpclscd3"/>
- <col ref="direcprcplnkno"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fDbClkOrdPrcpGrd();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("trv_prcpclscdlist", false, "/root/popupmenu2/meun/item", "name", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngGrdOrdPrcp();
- ]]>
- </script>
- </datagrid>
- <button id="btn_genr" class="btn_sw" group="tab" selected="true" style="left:0px; top:83px; width:60px; height:22px; ">
- <caption>일반</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/reqdata");
- model.makeValue("/root/send/reqdata/clsflag", "genr");
- model.makeValue("/root/temp/prcpclscdlist/lvl", 1);
- model.makeValue("/root/temp/prcpclscdlist/prcpclscd", 1);
- model.makeValue("/root/temp/prcpclscdlist/supprcpclscd", 1);
- model.makeValue("/root/temp/prcpclscdlist/refseq", 1);
- model.makeNode("/root/temp/prcpclscdlist/prcpclscd1");
- model.makeNode("/root/temp/prcpclscdlist/prcpclscd2");
- model.makeNode("/root/temp/prcpclscdlist/prcpclscd3");
- model.makeValue("/root/temp/prcpclscdlist/prcpclsnm", "처방분류");
- model.makeNode("/root/temp/prcpclscdlist/path");
- if(submit("TRMMB02102")){
- addCopyNodeset("/root/main/prcpclscdlist/prcpclscdlist", "/root/temp/prcpclscdlist", "before");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <!--
- <button id="btn_bmt" class="btn_sw" group="tab" selected="false" style="left:60px; top:83px; width:60px; height:22px; ">
- <caption>BMT</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/reqdata");
- model.makeValue("/root/send/reqdata/clsflag", "bmt");
- model.makeValue("/root/temp/prcpclscdlist/lvl", 1);
- model.makeValue("/root/temp/prcpclscdlist/prcpclscd", 1);
- model.makeValue("/root/temp/prcpclscdlist/supprcpclscd", 1);
- model.makeValue("/root/temp/prcpclscdlist/refseq", 1);
- model.makeNode("/root/temp/prcpclscdlist/prcpclscd1");
- model.makeNode("/root/temp/prcpclscdlist/prcpclscd2");
- model.makeNode("/root/temp/prcpclscdlist/prcpclscd3");
- model.makeValue("/root/temp/prcpclscdlist/prcpclsnm", "처방분류");
- model.makeNode("/root/temp/prcpclscdlist/path");
- if(submit("TRMMB02102")){
- }
- model.refresh();
- ]]>
- </script>
- </button>
- -->
- <button id="button2" style="left:615px; top:5px; width:50px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/cond/prcpclscd", "testcode");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMMB02101");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|