123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374 |
- <?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>
- </main>
- <init>
- <prcpkindcd/>
- <prcpclscd/>
- <prcpstatcd/>
- <hosinprcpresncd/>
- <payflagcd/>
- <orddept/>
- </init>
- <prcptemp/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
-
- var colHidnValue = grdBaseColHidn("D");
- grdBaseColHidn(colHidnValue, "grd_prcplist", 40, "prcpvol", "prcpqty", "drprcpetc7", "drprcpetc8");
-
- zbcfGetCodeList(new Array("M0003",
- "M0005",
- "M0011",
- "M0037",
- "M0029"),
- new Array("/root/init/prcpkindcd",
- "/root/init/prcpclscd",
- "/root/init/prcpstatcd",
- "/root/init/hosinprcpresncd",
- "/root/init/payflagcd"));
- //zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "insuuseyn", "", "/root/init/orddept" , "depthngnm"); //부서코드 콤보 조회
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept", "I");
-
- //약처방D/C처리
- var SPMMO00700_rtn1 = opener.javascript.getParameter ( "SPMMO00700_rtn1" );
- if ( SPMMO00700_rtn1 == "drugdc" ) {
- document.title ="간호반납요청";
- caption1.value = "간호반납요청";
- grd_prcplist.colHidden(0) = true;
- caption2.visible = false;
- } else if(SPMMO00700_rtn1 == "tellprcp" ) {
- document.title ="구두처방확인";
- caption1.value = "구두처방확인";
- grd_prcplist.colHidden(0) = true;
- caption2.visible = false;
- btn_save.visible = false; // 저장버튼
- btn_conf.visible = true; // 확인버튼
- }
-
- var srcNodeList = model.instances(0).selectNodes( "/root/main/prcp/prcplist" );
- //임시처방 C 세팅
- for ( var i=1; i <= srcNodeList.length; i++ ) {
- model.setValue ( "/root/main/prcp/prcplist[" + i + "]/status", "C" );
- }
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXMMO00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/prcp/prcplist" 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/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1000" pageheight="660" guideline="2,314;">
- <datagrid id="grd_prcplist" nodeset="/root/main/prcp/prcplist" dragmode="true" dropmode="true" caption="^상태^분류^종류^처방코드^처방명^총용량^1회용량^1회용량^총수량^1회수량^1회수량^횟수^일수^용법/검체^MIX^급비^전달^원내외^시행부서^희망일자^선택진료^등록일시^등록자^전달" colsep="^" colwidth="38, 55, 0, 50, 80, 250, 45, 45, 37, 37, 37, 37, 40, 37, 106, 38, 44, 40, 50, 100, 100, 60, 120, 80" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" selectionmode="byrow" tooltip="true" navindex="1" style="left:7px; top:21px; width:986px; height:607px; focus-rect:hidden; ">
- <col checkvalue="U,C" ref="status" type="checkbox" style="left:0px; top:23px; width:38px; height:23px; text-align:center; word-wrap:word; ">
- <choices>
- <item>
- <label>검색</label>
- <value>S</value>
- </item>
- <item>
- <label>신규</label>
- <value>I</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- <item>
- <label>D/C</label>
- <value>C</value>
- </item>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="prcpstatcd" type="combo" style="left:38px; top:23px; width:55px; height:23px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/prcpstatcd/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpclscd" type="combo" style="left:93px; top:23px; width:0px; height:23px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/prcpclscd/M0005">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="prcpkindcd" type="combo" style="left:93px; top:23px; width:0px; height:23px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/prcpkindcd/M0003">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpcd" type="output" style="left:93px; top:23px; width:80px; height:23px; text-align:left; "/>
- <col ref="prcpnm" style="left:173px; top:23px; width:250px; height:23px; text-align:left; "/>
- <col ref="prcpvol" style="left:423px; top:23px; width:45px; height:23px; text-align:center; "/>
- <col ref="drprcpetc7" style="left:423px; top:23px; width:45px; height:23px; text-align:center; "/>
- <col ref="prcpvolunitnm" style="left:468px; top:23px; width:37px; height:23px; text-align:center; "/>
- <col ref="prcpqty" format="#.###" maxlength=".3" style="left:505px; top:23px; width:37px; height:23px; text-align:center; "/>
- <col ref="drprcpetc8" style="left:423px; top:23px; width:45px; height:23px; text-align:center; "/>
- <col ref="prcpqtyunitnm" style="left:542px; top:23px; width:37px; height:23px; text-align:center; "/>
- <col ref="prcptims" style="left:579px; top:23px; width:40px; height:23px; text-align:center; "/>
- <col ref="prcpdayno" style="left:619px; top:23px; width:37px; height:23px; text-align:center; "/>
- <col checkvalue="Y,N" ref="drugmthdspccdnm" type="output" style="left:656px; top:23px; width:75px; height:23px; "/>
- <col ref="prcpmixno" style="left:731px; top:23px; width:38px; height:23px; "/>
- <col disabled="true" ref="payflagcd" type="combo" style="left:769px; top:23px; width:44px; height:23px; ">
- <choices>
- <itemset nodeset="/root/init/payflagcd/M0029">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpdelivefact" style="left:813px; top:23px; width:40px; height:23px; "/>
- <col disabled="true" ref="hosinhosoutflag" type="combo" style="left:853px; top:23px; width:50px; height:23px; text-align:center; ">
- <choices>
- <item>
- <label>원내</label>
- <value>I</value>
- </item>
- <item>
- <label>원외</label>
- <value>O</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="prcpexecdeptcd" type="combo" style="left:903px; top:23px; width:100px; height:23px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcphopedd" format="yyyy-mm-dd" style="left:1003px; top:23px; width:100px; height:23px; text-align:center; "/>
- <col ref="choiordflag" style="left:1103px; top:23px; width:60px; height:23px; text-align:center; ">
- <choices/>
- </col>
- <col ref="rgstdt" format="yyyy-mm-dd hh:mm:ss" style="left:1163px; top:23px; width:100px; height:23px; text-align:center; "/>
- <col ref="rgstridnm" style="left:1263px; top:23px; width:100px; height:23px; text-align:center; "/>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- //back 버튼 누르면 닫힘
- if ( event.keyCode == 8 ) {
- window.close();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line5" class="line_1" style="x1:7px; y1:17px; x2:992px; y2:18px; "/>
- <caption id="caption1" class="tit_2" style="left:12px; top:0px; width:171px; height:13px; ">예약처방</caption>
- <button id="btn_conf" class="btn4_letter2" visibility="hidden" style="left:934px; top:635px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( opener.javascript.getParameter ( "SPMMO00700_rtn1" ) == "tellprcp" ) { // 미확인 구두처방 확인
- submit("TXMMO00701")
- window.close();
- }
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:934px; top:635px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var destNode = opener.model.instances(0).selectSingleNode("/root/prcpdc");
- var srcNodeList = model.instances(0).selectNodes("/root/main/prcp/prcplist");
- for ( i=1; i <= srcNodeList.length; i++ ) {
- destNode.appendChild(srcNodeList.item(i-1).cloneNode(true));
- }
-
- if ( opener.javascript.getParameter ( "SPMMO00700_rtn1" ) == "drugdc" ) {
- if ( opener.javascript.fPrcpSave ( "", "", "", "drugdc" ) != false) {
- window.close();
- }
- } else {
- if ( opener.javascript.fPrcpSave ( "8" ) != false) {
- window.close();
- }
- }
- ]]>
- </script>
- </button>
- <caption id="caption2" style="left:710px; top:637px; width:220px; height:20px; ">* 체크안된 예약처방은 삭제처리 됩니다.</caption>
- </xhtml:body>
- </xhtml:html>
|