123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMPMO03100_영수증가야할곳예외사항관리.xrw
- * 설 명 : 영수증가야할곳예외사항관리
- * 설 계 자 : 정선영
- * 작 성 자 : 정선영
- * 작 성 일 : 2009.02.25
- * 수정이력 :
- -->
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <griddata>
- <togodata>
- <seq/>
- <centcd/>
- <orddeptcd/>
- <subdeptcd/>
- <teamcd/>
- <prcpcd/>
- <prcpkindcd/>
- <drugmthdspccd/>
- <prcpsetcd/>
- <selfprcpflag/>
- <hosinhosoutflag/>
- <drprcpetc2/>
- <rsrvplceflag/>
- <earncls1/>
- <earncls2/>
- <earncls3/>
- <spcldrug/>
- <drugkind/>
- <excudeptcd/>
- <hosindrugno/>
- <hosoutdrugno/>
- <prcprsrvflag/>
- <prcpexcuflag/>
- <temp1/>
- <temp2/>
- <temp3/>
- <dayprcpflag/>
- <erprcpflag/>
- <priority/>
- <togodeptcd/>
- <togodeptnm/>
- <remark/>
- <lastupdtrid/>
- <lastupdtdt/>
- <fstrgstrid/>
- <fstrgstdt/>
- </togodata>
- </griddata>
- </main>
- <init>
- <speccode>
- <speccodelist>
- <cdid/>
- <cdnm/>
- </speccodelist>
- </speccode>
- <combolist>
- <comboYN>
- <cdid/>
- <cdnm/>
- </comboYN>
- <comboYN>
- <cdid>Y</cdid>
- <cdnm>Y</cdnm>
- </comboYN>
- <comboYN>
- <cdid>N</cdid>
- <cdnm>N</cdnm>
- </comboYN>
- </combolist>
- <commlist>
- <M0525list>
- <M0525>
- <cdid/>
- <cdnm/>
- </M0525>
- </M0525list>
- <M0003list>
- <M0003>
- <cdid/>
- <cdnm/>
- </M0003>
- </M0003list>
- <A0073list>
- <A0073>
- <cdid/>
- <cdnm/>
- </A0073>
- </A0073list>
- <A0006list>
- <A0006>
- <cdid/>
- <cdnm/>
- </A0006>
- </A0006list>
- <A0014list>
- <A0014>
- <cdid/>
- <cdnm/>
- </A0014>
- </A0014list>
- <M0005list>
- <M0005>
- <cdid/>
- <cdnm/>
- </M0005>
- </M0005list>
- <M0011list>
- <M0011>
- <cdid/>
- <cdnm/>
- </M0011>
- </M0011list>
- </commlist>
- <codelist>
- <centcdlist>
- <code>
- <cdid/>
- <cdnm/>
- </code>
- </centcdlist>
- <orddeptcdlist>
- <code>
- <cdid/>
- <cdnm/>
- </code>
- </orddeptcdlist>
- <subdeptcdlist>
- <code>
- <cdid/>
- <cdnm/>
- </code>
- </subdeptcdlist>
- <lrgearnclslist>
- <code>
- <cdid/>
- <cdnm/>
- </code>
- </lrgearnclslist>
- <mdlearnclslist>
- <code>
- <cdid/>
- <cdnm/>
- </code>
- </mdlearnclslist>
- <smlearnclslist>
- <code>
- <cdid/>
- <cdnm/>
- </code>
- </smlearnclslist>
- <prcpexecdeptlist>
- <code>
- <cdid/>
- <cdnm/>
- </code>
- </prcpexecdeptlist>
- </codelist>
- </init>
- <hidden/>
- <send>
- <grupcd>02</grupcd>
- <updatedata>
- <seq/>
- <centcd/>
- <orddeptcd/>
- <subdeptcd/>
- <teamcd/>
- <prcpcd/>
- <prcpkindcd/>
- <drugmthdspccd/>
- <prcpsetcd/>
- <selfprcpflag/>
- <hosinhosoutflag/>
- <drprcpetc2/>
- <rsrvplceflag/>
- <earncls1/>
- <earncls2/>
- <earncls3/>
- <spcldrug/>
- <drugkind/>
- <excudeptcd/>
- <hosindrugno/>
- <hosoutdrugno/>
- <prcprsrvflag/>
- <prcpexcuflag/>
- <temp1/>
- <temp2/>
- <temp3/>
- <dayprcpflag/>
- <erprcpflag/>
- <priority/>
- <togodeptcd/>
- <togodeptnm/>
- <remark/>
- <workflag/>
- </updatedata>
- <codelist>
- </codelist>
- </send>
- <hidden>
- <togoinfo/>
- </hidden>
- </root>
- </instance>
- <submission id="TRPMB03100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/griddata"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRPMB03101");
-
- zbcfGetCodeList(
- new Array("M0525","M0003","A0073","A0006","A0014","M0005","M0011"),
- new Array("/root/init/commlist/M0525list", "/root/init/commlist/M0003list",
- "/root/init/commlist/A0073list", "/root/init/commlist/A0006list", "/root/init/commlist/A0014list", "/root/init/commlist/M0005list", "/root/init/commlist/M0011list")
- );
- ]]>
- </script>
- <submission id="TXPMB03100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedata"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPMB03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/codelist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- </xhtml:head>
- <xhtml:body>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:194px; height:14px; ">영수증가야할곳 예외사항 관리</caption>
- </group>
- <group id="group2" style="left:0px; top:25px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; ">re</shape>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:117px; height:17px; ">예외사항 분류 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/griddata/togodata");
- model.resetInstanceNode("/root/hidden/togoinfo");
- model.resetInstanceNode("/root/send/updatedata");
-
- model.refresh();
-
- if(submit("TRPMB03100")) {
-
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_insukind" ref="/root/send/grupcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:136px; top:8px; width:200px; height:19px; ">
- <choices>
- <item>
- <label>접수증-가야할곳</label>
- <value>01</value>
- </item>
- <item>
- <label>영수증-가야할곳</label>
- <value>02</value>
- </item>
- <item>
- <label>처방전-가야할곳</label>
- <value>03</value>
- </item>
- </choices>
- </select1>
- </group>
- <line id="line8" class="line_1" style="x1:0px; y1:340px; x2:1194px; y2:340px; "/>
- <caption id="caption20" class="tit_2" style="left:5px; top:324px; width:242px; height:13px; ">영수증-가야할곳 예외사항 리스트</caption>
- <caption id="caption60" class="cell_1" style="left:898px; top:91px; width:120px; height:23px; ">협진팀</caption>
- <caption id="caption61" class="cell_1" style="left:0px; top:116px; width:120px; height:23px; ">처방(수가)코드</caption>
- <caption id="caption62" class="cell_1" style="left:598px; top:116px; width:120px; height:23px; ">검체/용법코드</caption>
- <caption id="caption74" class="cell_1" style="left:598px; top:91px; width:120px; height:23px; vertical-align:middle; ">세부진료과</caption>
- <caption id="caption63" class="cell_1" style="left:898px; top:116px; width:120px; height:23px; ">처방SET코드</caption>
- <input id="input32" ref="/root/send/updatedata/prcpcd" class="input_default" appearance="input" style="left:122px; top:117px; width:150px; height:19px; "/>
- <caption id="caption64" class="cell_1" style="left:0px; top:141px; width:120px; height:23px; ">자가처방</caption>
- <caption id="caption65" class="cell_1" style="left:298px; top:116px; width:120px; height:23px; ">처방종류</caption>
- <input id="input35" ref="/root/send/updatedata/subdeptcd" class="input_default" appearance="input" style="left:720px; top:92px; width:150px; height:19px; "/>
- <input id="input24" ref="/root/send/updatedata/centcd" class="input_default" appearance="input" style="left:122px; top:92px; width:150px; height:19px; "/>
- <caption id="caption57" class="tit_2" style="left:5px; top:70px; width:203px; height:13px; ">영수증-가야할곳 예외사항 내역</caption>
- <input id="input25" ref="/root/send/updatedata/teamcd" class="input_default" style="left:1020px; top:92px; width:150px; height:19px; "/>
- <caption id="caption58" class="cell_1" style="left:0px; top:91px; width:120px; height:23px; ">센터</caption>
- <input id="input37" ref="/root/send/updatedata/prcpkindcd" class="input_default" appearance="input" style="left:420px; top:117px; width:150px; height:19px; "/>
- <line id="line18" class="line_1" style="x1:0px; y1:86px; x2:1194px; y2:86px; "/>
- <caption id="caption59" class="cell_1" style="left:298px; top:91px; width:120px; height:23px; ">진료과</caption>
- <input id="input29" ref="/root/send/updatedata/orddeptcd" class="input_default" appearance="input" style="left:420px; top:92px; width:150px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:166px; width:120px; height:23px; ">처방분류1</caption>
- <caption id="caption5" class="cell_1" style="left:298px; top:166px; width:120px; height:23px; ">처방분류2</caption>
- <caption id="caption9" class="cell_1" style="left:898px; top:166px; width:120px; height:23px; ">특별약품</caption>
- <caption id="caption10" class="cell_1" style="left:0px; top:191px; width:120px; height:23px; ">약품종류</caption>
- <caption id="caption11" class="cell_1" style="left:898px; top:141px; width:120px; height:23px; vertical-align:middle; ">예약주체</caption>
- <caption id="caption12" class="cell_1" style="left:298px; top:191px; width:120px; height:23px; ">실시부서</caption>
- <input id="input3" ref="/root/send/updatedata/earncls2" class="input_default" appearance="input" style="left:420px; top:167px; width:150px; height:19px; "/>
- <caption id="caption14" class="cell_1" style="left:598px; top:166px; width:120px; height:23px; ">처방분류3</caption>
- <button id="button1" class="icon_search" style="left:276px; top:93px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
- model.makeNode("/root/send/codelist");
- model.copyNode("/root/send/codelist", "/root/init/codelist/centcdlist");
-
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/centcd", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input7" ref="/root/send/updatedata/rsrvplceflag" class="input_default" appearance="input" style="left:1020px; top:142px; width:150px; height:19px; "/>
- <input id="input8" ref="/root/send/updatedata/earncls1" class="input_default" style="left:122px; top:167px; width:150px; height:19px; "/>
- <input id="input10" ref="/root/send/updatedata/drugkind" class="input_default" style="left:122px; top:192px; width:150px; height:19px; "/>
- <input id="input11" ref="/root/send/updatedata/earncls3" class="input_default" appearance="input" style="left:720px; top:167px; width:150px; height:19px; "/>
- <caption id="caption21" class="cell_1" style="left:298px; top:141px; width:120px; height:23px; ">원내/원외</caption>
- <caption id="caption22" class="cell_1" style="left:598px; top:141px; width:120px; height:23px; ">특수주사실</caption>
- <input id="input15" ref="/root/send/updatedata/excudeptcd" class="input_default" appearance="input" style="left:420px; top:192px; width:150px; height:19px; "/>
- <button id="button2" class="icon_search" style="left:574px; top:93px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
- model.makeNode("/root/send/codelist");
- model.copyNode("/root/send/codelist", "/root/init/codelist/orddeptcdlist");
-
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/orddeptcd", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption18" class="cell_1" style="left:598px; top:191px; width:120px; height:23px; ">원내투약번호</caption>
- <caption id="caption23" class="cell_1" style="left:298px; top:265px; width:120px; height:23px; ">가야할곳(부서명)</caption>
- <caption id="caption25" class="cell_1" style="left:897px; top:191px; width:120px; height:23px; ">원외투약번호</caption>
- <caption id="caption26" class="cell_1" style="left:0px; top:216px; width:120px; height:23px; vertical-align:middle; ">검사예약여부</caption>
- <caption id="caption27" class="cell_1" style="left:0px; top:290px; width:120px; height:23px; ">비고</caption>
- <caption id="caption30" class="cell_1" style="left:298px; top:216px; width:120px; height:23px; ">검사시행여부</caption>
- <caption id="caption31" class="cell_1" style="left:897px; top:241px; width:120px; height:23px; ">우선순위</caption>
- <line id="line2" class="line_2" style="x1:0px; y1:288px; x2:1196px; y2:288px; "/>
- <caption id="caption32" class="cell_1" style="left:598px; top:216px; width:120px; height:23px; ">귀가유치용처방여부</caption>
- <caption id="caption39" class="cell_1" style="left:0px; top:265px; width:120px; height:23px; ">가야할곳(부서코드)</caption>
- <button id="button3" class="icon_search" style="left:276px; top:120px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <button id="button5" class="icon_search" style="left:276px; top:170px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
- model.makeNode("/root/send/codelist");
- model.copyNode("/root/send/codelist", "/root/init/codelist/lrgearnclslist");
-
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/earncls1", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button6" class="icon_search" style="left:276px; top:195px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
-
- var nodeList = instance1.selectNodes("/root/init/commlist/A0014list/A0014");
- for (var i = 2; i <= nodeList.length; i++) {
- var sendRow = i -1;
-
- model.makeValue("/root/send/codelist/code["+ sendRow +"]/cdid", model.getValue("/root/init/commlist/A0014list/A0014["+ i +"]/cdid"));
- model.makeValue("/root/send/codelist/code["+ sendRow +"]/cdnm", model.getValue("/root/init/commlist/A0014list/A0014["+ i +"]/cdnm"));
- }
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/drugkind", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line16" class="line_2" style="top:89px; x1:0px; y1:114px; x2:1194px; y2:114px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:139px; x2:1194px; y2:139px; "/>
- <line id="line3" class="line_2" style="left:1019px; top:141px; width:150px; x1:1px; y1:164px; x2:1195px; y2:164px; "/>
- <line id="line4" class="line_2" style="top:166px; x1:0px; y1:189px; x2:1194px; y2:189px; "/>
- <line id="line5" class="line_2" style="x1:1px; y1:214px; x2:1195px; y2:214px; "/>
- <line id="line6" class="line_2" style="top:213px; x1:0px; y1:239px; x2:1194px; y2:239px; "/>
- <button id="button8" class="icon_search" style="left:574px; top:120px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
-
- var nodeList = instance1.selectNodes("/root/init/commlist/M0003list/M0003");
- for (var i = 2; i <= nodeList.length; i++) {
- var sendRow = i -1;
-
- model.makeValue("/root/send/codelist/code["+ sendRow +"]/cdid", model.getValue("/root/init/commlist/M0003list/M0003["+ i +"]/cdid"));
- model.makeValue("/root/send/codelist/code["+ sendRow +"]/cdnm", model.getValue("/root/init/commlist/M0003list/M0003["+ i +"]/cdnm"));
- }
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/prcpkindcd", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button10" class="icon_search" style="left:574px; top:170px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
- model.makeNode("/root/send/codelist");
- if (input8.value == "") {
- model.copyNode("/root/send/codelist", "/root/init/codelist/mdlearnclslist");
- } else {
- var earncls1 = input8.value;
-
- var nodeList = instance1.selectNodes("/root/init/codelist/mdlearnclslist/code[earncls1='" + earncls1 + "']");
- model.makeNode("/root/send/codelist");
- for (var i=0; i < nodeList.length; i++ ) {
- model.duplicate("/root/send/codelist", nodeList.item(i));
- }
- }
-
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/earncls2", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button11" class="icon_search" style="left:574px; top:195px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
- model.makeNode("/root/send/codelist");
- model.copyNode("/root/send/codelist", "/root/init/codelist/prcpexecdeptlist");
-
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/excudeptcd", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button14" class="icon_search" style="left:275px; top:269px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
- model.makeNode("/root/send/codelist");
- model.copyNode("/root/send/codelist", "/root/init/codelist/prcpexecdeptlist");
-
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/togodeptcd", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button17" class="icon_search" style="left:1174px; top:93px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
- var nodeList = instance1.selectNodes("/root/init/commlist/M0525list/M0525");
- for (var i = 2; i <= nodeList.length; i++) {
- var sendRow = i -1;
-
- model.makeValue("/root/send/codelist/code["+ sendRow +"]/cdid", model.getValue("/root/init/commlist/M0525list/M0525["+ i +"]/cdid"));
- model.makeValue("/root/send/codelist/code["+ sendRow +"]/cdnm", model.getValue("/root/init/commlist/M0525list/M0525["+ i +"]/cdnm"));
- }
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- if(iParam != "") {
- var iParam = getParameter("SMPMB03101_selectCode");
- }
-
- model.setValue("/root/send/updatedata/teamcd", iParam);
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button18" class="icon_search" style="left:1174px; top:120px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <button id="button19" class="icon_search" style="left:1174px; top:145px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
-
- var nodeList = instance1.selectNodes("/root/init/commlist/A0073list/A0073");
- for (var i = 2; i <= nodeList.length; i++) {
- var sendRow = i -1;
-
- model.makeValue("/root/send/codelist/code["+ sendRow +"]/cdid", model.getValue("/root/init/commlist/A0073list/A0073["+ i +"]/cdid"));
- model.makeValue("/root/send/codelist/code["+ sendRow +"]/cdnm", model.getValue("/root/init/commlist/A0073list/A0073["+ i +"]/cdnm"));
- }
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/rsrvplceflag", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button20" class="icon_search" style="left:1174px; top:170px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
-
- var nodeList = instance1.selectNodes("/root/init/commlist/A0006list/A0006");
- for (var i = 2; i <= nodeList.length; i++) {
- var sendRow = i -1;
-
- model.makeValue("/root/send/codelist/code["+ sendRow +"]/cdid", model.getValue("/root/init/commlist/A0006list/A0006["+ i +"]/cdid"));
- model.makeValue("/root/send/codelist/code["+ sendRow +"]/cdnm", model.getValue("/root/init/commlist/A0006list/A0006["+ i +"]/cdnm"));
- }
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/spcldrug", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button15" class="icon_search" style="left:874px; top:93px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
- model.makeNode("/root/send/codelist");
- model.copyNode("/root/send/codelist", "/root/init/codelist/subdeptcdlist");
-
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/subdeptcd", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button16" class="icon_search" style="left:874px; top:120px; width:16px; height:16px; text-align:right; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SMPMB03102_lrgcd", "spcm");
-
- modal("SMPMB03102", "1","150", "150", "SMPMB03102", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/drugmthdspccd", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button25" class="icon_search" style="left:874px; top:170px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
- model.makeNode("/root/send/codelist");
- if (input8.value == "" && input3.value== "") {
- model.copyNode("/root/send/codelist", "/root/init/codelist/smlearnclslist");
- } else if (input8.value == "" && input3.value != "") {
- var earncls2 = input3.value;
-
- var nodeList = instance1.selectNodes("/root/init/codelist/smlearnclslist/code[earncls2='" + earncls2 + "']");
- model.makeNode("/root/send/codelist");
- for (var i=0; i < nodeList.length; i++ ) {
- model.duplicate("/root/send/codelist", nodeList.item(i));
- }
- } else if (input8.value != "" && input3.value == "") {
- var earncls1 = input8.value;
-
- var nodeList = instance1.selectNodes("/root/init/codelist/smlearnclslist/code[earncls1='" + earncls1 + "']");
- model.makeNode("/root/send/codelist");
- for (var i=0; i < nodeList.length; i++ ) {
- model.duplicate("/root/send/codelist", nodeList.item(i));
- }
- } else {
- var earncls1 = input8.value;
- var earncls2 = input3.value;
-
- var nodeList = instance1.selectNodes("/root/init/codelist/smlearnclslist/code[earncls1='" + earncls1 + "' and earncls2 = '" + earncls2 + "']");
- model.makeNode("/root/send/codelist");
- for (var i=0; i < nodeList.length; i++ ) {
- model.duplicate("/root/send/codelist", nodeList.item(i));
- }
- }
-
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/earncls3", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="combo2" ref="/root/send/updatedata/selfprcpflag" class="input_default" appearance="minimal" style="left:122px; top:142px; width:173px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combolist/comboYN">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/send/updatedata/prcprsrvflag" class="input_default" appearance="minimal" style="left:122px; top:217px; width:173px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combolist/comboYN">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo4" ref="/root/send/updatedata/hosinhosoutflag" class="input_default" appearance="minimal" style="left:420px; top:142px; width:173px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>원내</label>
- <value>I</value>
- </item>
- <item>
- <label>원외</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo5" ref="/root/send/updatedata/prcpexcuflag" class="input_default" appearance="minimal" style="left:420px; top:217px; width:173px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combolist/comboYN">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo6" ref="/root/send/updatedata/hosindrugno" class="input_default" appearance="minimal" style="left:720px; top:192px; width:173px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combolist/comboYN">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo7" ref="/root/send/updatedata/temp1" class="input_default" appearance="minimal" style="left:720px; top:217px; width:173px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combolist/comboYN">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo8" ref="/root/send/updatedata/hosoutdrugno" class="input_default" appearance="minimal" style="left:1020px; top:192px; width:173px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combolist/comboYN">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input1" ref="/root/send/updatedata/togodeptcd" class="input_default" appearance="input" style="left:122px; top:266px; width:150px; height:19px; "/>
- <input id="input2" ref="/root/send/updatedata/drugmthdspccd" class="input_default" appearance="input" style="left:720px; top:117px; width:150px; height:19px; "/>
- <input id="input4" ref="/root/send/updatedata/prcpsetcd" class="input_default" style="left:1020px; top:117px; width:150px; height:19px; "/>
- <input id="input5" ref="/root/send/updatedata/spcldrug" class="input_default" style="left:1020px; top:167px; width:150px; height:19px; "/>
- <input id="input6" ref="/root/send/updatedata/remark" class="input_default" style="left:122px; top:291px; width:1072px; height:19px; "/>
- <input id="input9" ref="/root/send/updatedata/togodeptnm" class="input_default" style="left:420px; top:266px; width:473px; height:19px; "/>
- <datagrid id="grd_togo" nodeset="/root/main/griddata/togodata" class="datagrid2" autoresize="true" caption="일련번호^센터^진료과^세부진료과^협진팀^처방(수가)코드^처방종류^검체/용법코드^처방SET코드^자가처방^원내/원외^특수주사실^예약주체^처방분류1^처방분류명1^처방분류2^처방분류명2^처방분류3^특별약품^약품종류^실시부서^원내투약번호여부^원외투약번호여부^검사예약여부^검사시행여부^귀가유치용처방^자동
방배정^처방진행상태^당일검사여부^응급처방여부^우선순위^가야할곳(부서코드)^가야할곳(부서명)^비고^최종수정자ID^최종수정일시^최초등록자ID^최초등록일시" colsep="^" colwidth="29, 80, 80, 80, 80, 69, 70, 100, 80, 60, 60, 70, 60, 60, 74, 60, 74, 70, 70, 70, 80, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 120, 170, 250, 90, 120, 90, 120" dataheight="25" defaultrows="2" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:345px; width:1194px; height:410px; ">
- <col ref="seq" visibility="hidden" style="text-align:left; "/>
- <col disabled="true" ref="centcdnm" style="text-align:left; "/>
- <col disabled="true" ref="orddeptcdnm" style="text-align:left; "/>
- <col ref="subdeptcdnm" style="text-align:left; "/>
- <col ref="teamcd" style="text-align:left; "/>
- <col disabled="true" ref="prcpcd" style="text-align:left; "/>
- <col disabled="true" ref="prcpkindcd" style="text-align:left; "/>
- <col ref="drugmthdspccd" style="text-align:left; "/>
- <col ref="prcpsetcd" style="text-align:left; "/>
- <col ref="selfprcpflag" style="text-align:left; "/>
- <col ref="hosinhosoutflag" style="text-align:left; "/>
- <col ref="drprcpetc2" style="text-align:left; "/>
- <col ref="rsrvplceflag" style="text-align:left; "/>
- <col ref="earncls1" style="text-align:left; "/>
- <col ref="earncls1nm"/>
- <col ref="earncls2" style="text-align:left; "/>
- <col ref="earncls2nm"/>
- <col ref="earncls3" style="text-align:left; "/>
- <col ref="spcldrug" style="text-align:left; "/>
- <col ref="drugkind" style="text-align:left; "/>
- <col ref="excudeptcdnm" style="text-align:left; "/>
- <col ref="hosindrugno" style="text-align:left; "/>
- <col ref="hosoutdrugno" style="text-align:left; "/>
- <col ref="prcprsrvflag" style="text-align:left; "/>
- <col ref="prcpexcuflag" style="text-align:left; "/>
- <col ref="temp1" style="text-align:left; "/>
- <col ref="temp2" style="text-align:left; "/>
- <col ref="temp3" style="text-align:left; "/>
- <col ref="dayprcpflag" style="text-align:left; "/>
- <col ref="erprcpflag" style="text-align:left; "/>
- <col ref="priority" style="text-align:left; "/>
- <col ref="togodeptcd" style="text-align:left; "/>
- <col ref="togodeptnm" style="text-align:left; "/>
- <col ref="remark" style="text-align:left; "/>
- <col ref="lastupdtrid" style="text-align:left; "/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="fstrgstrid" style="text-align:center; "/>
- <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row = grd_togo.row;
- if(row > 0){
- model.resetInstanceNode("/root/hidden/togoinfo");
- model.resetInstanceNode("/root/main/togoinfo");
- model.copyNode("/root/hidden/togoinfo","/root/main/griddata/togodata[" + row + "]");
- model.copyNode("/root/send/updatedata","/root/main/griddata/togodata[" + row + "]");
-
- model.makeValue("/root/send/updatedata/workflag","U");
-
- model.refresh();
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //sorting 시 인스턴스 구조를 재구성
- grd_togo.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <input id="input12" ref="/root/send/updatedata/priority" class="input_default" style="left:1020px; top:242px; width:173px; height:19px; "/>
- <button id="button7" class="btn2_letter2" style="left:1148px; top:65px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 신규 입력을 위해 입력창을 초기화한다.
- model.resetInstanceNode("/root/hidden/togoinfo");
- model.resetInstanceNode("/root/send/updatedata");
-
- model.makeValue("/root/send/updatedata/workflag","I");
- model.refresh();
- ]]>
- </script>
- </button>
- <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="btn_update" class="btn4_letter2" style="left:1079px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 그룹코드 지정
- model.makeValue("/root/send/updatedata/grupcd", model.getValue("/root/send/grupcd"));
- // 작업구분이 없으면 Insert로 입력.
- if(model.getValue("/root/send/updatedata/workflag") == "") {
- model.setValue("/root/send/updatedata/workflag","I");
- }
-
- //예외처리내역 저장
- if (submit("TXPMB03100") == true) {
- model.resetInstanceNode("/root/hidden/togoinfo");
- model.resetInstanceNode("/root/send/updatedata");
-
- btn_search.dispatch("DOMActivate"); //저장처리 후, 내역 재조회(조회 이벤트 호출)
- }
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="btn4_letter2" style="left:1137px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //삭제확인-선택하신 예외사항 처리 내역를 삭제하시겠습니까? Yes(6),No(7)
- if (messageBox("선택하신 예외사항 처리 내역를 ", "Q001") == '6') {
- //Yes 이면, 미수코드 삭제처리
-
- //삭제 작업구분 : D 세팅
- model.makeValue("/root/send/updatedata/workflag","D");
- model.makeValue("/root/send/updatedata/grupcd", model.getValue("/root/send/grupcd"));
- if (submit("TXPMB03100") == true) {
- model.removeNodeset("/root/hidden/togoinfo");
- model.removeNodeset("/root/send/updatedata");
-
- btn_search.dispatch("DOMActivate"); //삭제처리 후, 내역 재조회(조회 이벤트 호출)
- }
- }
-
- ]]>
- </script>
- </button>
- </group>
- <select1 id="combo1" ref="/root/send/updatedata/drprcpetc2" class="input_default" appearance="minimal" style="left:720px; top:142px; width:173px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>Y(특수주사실)</label>
- <value>Y</value>
- </item>
- <item>
- <label>B(BMT센터)</label>
- <value>B</value>
- </item>
- </choices>
- </select1>
- <line id="line7" class="line_2" style="x1:0px; y1:313px; x2:1196px; y2:313px; "/>
- <caption id="caption1" class="cell_1" style="left:897px; top:216px; width:120px; height:23px; ">자동방배정여부</caption>
- <select1 id="combo9" ref="/root/send/updatedata/temp2" class="input_default" appearance="minimal" style="left:1020px; top:217px; width:173px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combolist/comboYN">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="cell_1" style="left:0px; top:241px; width:120px; height:23px; ">처방진행상태</caption>
- <button id="button9" class="icon_search" style="left:275px; top:245px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send/codelist");
-
- var nodeList = instance1.selectNodes("/root/init/commlist/M0011list/M0011");
- for (var i = 2; i <= nodeList.length; i++) {
- var sendRow = i -1;
-
- model.makeValue("/root/send/codelist/code["+ sendRow +"]/cdid", model.getValue("/root/init/commlist/M0011list/M0011["+ i +"]/cdid"));
- model.makeValue("/root/send/codelist/code["+ sendRow +"]/cdnm", model.getValue("/root/init/commlist/M0011list/M0011["+ i +"]/cdnm"));
- }
- modal("SMPMB03101", "1","150", "150", "SMPMB03101", "", "");
-
- var iParam = getParameter("SMPMB03101_selectCode");
-
- if(iParam != "") {
- model.setValue("/root/send/updatedata/temp3", iParam);
- }
- clearParameter("SMPMB03101_selectCode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input14" ref="/root/send/updatedata/temp3" class="input_default" appearance="input" style="left:122px; top:242px; width:150px; height:19px; "/>
- <line id="line9" class="line_2" style="top:213px; x1:0px; y1:263px; x2:1194px; y2:263px; "/>
- <caption id="caption3" class="cell_1" style="left:298px; top:241px; width:120px; height:23px; ">당일검사여부</caption>
- <caption id="caption8" class="cell_1" style="left:598px; top:241px; width:120px; height:23px; ">응급처방여부</caption>
- <select1 id="combo10" ref="/root/send/updatedata/dayprcpflag" class="input_default" appearance="minimal" style="left:420px; top:242px; width:173px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combolist/comboYN">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo11" ref="/root/send/updatedata/erprcpflag" class="input_default" appearance="minimal" style="left:720px; top:242px; width:173px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combolist/comboYN">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button4" class="btn2_letter2" style="left:1151px; top:319px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "가셔야할곳", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_togo.saveExcel(fileName, "sheet1");
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|