123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <orddeptlist>
- <item>
- <orddeptcd/>
- <orddeptnm/>
- </item>
- </orddeptlist>
- <sicklist>
- <item>
- <sickclscd/>
- <sickclsnm/>
- </item>
- </sicklist>
- <prtllist>
- <itemin>
- <prtlcd/>
- <prtlnm/>
- <drugprid/>
- <remark/>
- <drugstage/>
- <drugcycle/>
- </itemin>
- <itemout>
- <prtlcd/>
- <prtlnm/>
- <drugprid/>
- <remark/>
- <drugstage/>
- <drugcycle/>
- </itemout>
- </prtllist>
- </main>
- <send>
- <srchdata>
- <loguser/>
- <sickclscd/>
- <orddeptcd/>
- </srchdata>
- <req>
- <sickdata/>
- <prtlindata/>
- <prtloutdata/>
- <orddeptdata/>
- </req>
- </send>
- <init/>
- <hidden>
- <ret>
- <item/>
- </ret>
- <data>
- <orddeptcd/>
- <orddeptnm/>
- </data>
- <receivesickcls>/root/hidden/data/sickclscd</receivesickcls>
- <data>
- <sickclscd/>
- </data>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // 권한 관리
- button7.disabled =! checkAuth("X"); // 저장
- button8.disabled =! checkAuth("X"); // 질병분류정보
-
- submit("TRADB00701");
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TXADB00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/ret"/>
- <submission id="TRADB00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/orddeptlist"/>
- <submission id="TRADB00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/sicklist"/>
- <submission id="TRADB00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/prtllist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1194;2,785;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:180px; height:14px; ">질병별 항암프로토콜 등록</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <button id="button1" class="btn2_letter3" style="left:402px; top:285px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_prtlin.addItem();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter3" style="left:511px; top:285px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_prtlin.addStatus(grd_prtlin.row,"delete");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter3" style="left:457px; top:285px; width:53px; height:19px; ">
- <caption>행복사</caption>
- </button>
- <button id="button4" class="btn2_letter3" style="left:1028px; top:285px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_prtlout.addItem();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter3" style="left:1137px; top:285px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_prtlout.addStatus(grd_prtlout.row,"delete");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter3" style="left:1083px; top:285px; width:53px; height:19px; ">
- <caption>행복사</caption>
- </button>
- <caption id="caption1" class="tit_2" style="left:380px; top:10px; width:95px; height:13px; ">질병정보</caption>
- <caption id="caption2" class="tit_2" style="left:630px; top:264px; width:95px; height:13px; ">외래</caption>
- <button id="button8" class="btn2_letter6" style="left:935px; top:30px; width:86px; height:19px; ">
- <caption>질병분류정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPADB61600",0,600,150,"SPADB61600","/root/hidden/receivesickcls","/root/hidden/receiveref");
- ]]>
- </script>
- </button>
- <button id="button9" class="icon_left" style="left:579px; top:445px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_prtlin.addItem();
- model.copyNode( "/root/main/prtllist/itemin["+grd_prtlin.row+"]","/root/main/prtllist/itemout["+grd_prtlout.row+"]");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_3" style="x1:0px; y1:742px; x2:565px; y2:742px; "/>
- <button id="button52" class="btn2_letter3" style="left:1026px; top:30px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_sicklist.addItem();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:280px; x2:565px; y2:280px; "/>
- <button id="button53" class="btn2_letter3" style="left:1140px; top:30px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_sicklist.addStatus(grd_sicklist.row,"delete");
- ]]>
- </script>
- </button>
- <button id="button10" class="icon_right" style="left:579px; top:475px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_prtlout.addItem();
- model.copyNode( "/root/main/prtllist/itemout["+grd_prtlout.row+"]","/root/main/prtllist/itemin["+grd_prtlin.row+"]");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:375px; y1:25px; x2:1194px; y2:25px; "/>
- <caption id="caption7" class="tit_2" style="left:5px; top:264px; width:95px; height:13px; ">입원</caption>
- <button id="button54" class="btn2_letter3" style="left:1083px; top:30px; width:53px; height:19px; ">
- <caption>행복사</caption>
- </button>
- <line id="line4" class="line_3" style="x1:1px; y1:255px; x2:1194px; y2:255px; "/>
- <line id="line5" class="line_3" style="x1:625px; y1:742px; x2:1190px; y2:742px; "/>
- <line id="line6" class="line_1" style="x1:625px; y1:280px; x2:1190px; y2:280px; "/>
- <datagrid id="grd_sicklist" nodeset="/root/main/sicklist/item" caption="질병분류코드^질병분류명" colsep="^" colwidth="131, 644" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:375px; top:50px; width:819px; height:200px; ">
- <col ref="sickclscd" type="input"/>
- <col ref="sickclsnm"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send/srchdata/sickclscd", model.getValue("/root/main/sicklist/item["+grd_sicklist.row+"]/sickclscd"));
- submit("TRADB00703");
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_prtlin" nodeset="/root/main/prtllist/itemin" caption="프로토콜 코드^프로토콜 명^투여주기^Remark^투여단계^Cycle" colsep="^" colwidth="82, 200, 54, 83, 55, 48" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:305px; width:565px; height:435px; ">
- <col ref="prtlcd" type="input"/>
- <col ref="prtlnm" type="input"/>
- <col ref="drugprid" type="input"/>
- <col ref="remark" type="input"/>
- <col ref="drugstage" type="input"/>
- <col ref="drugcycle" type="input"/>
- </datagrid>
- <datagrid id="grd_prtlout" nodeset="/root/main/prtllist/itemout" caption="프로토콜 코드^프로토콜 명^투여주기^Remark^투여단계^Cycle" colsep="^" colwidth="88, 200, 54, 83, 55, 46" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:625px; top:305px; width:565px; height:435px; ">
- <col ref="prtlcd" type="input"/>
- <col ref="prtlnm" type="input"/>
- <col ref="drugprid" type="input"/>
- <col ref="remark" type="input"/>
- <col ref="drugstage" type="input"/>
- <col ref="drugcycle" type="input"/>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">진료과정보</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:25px; x2:370px; y2:25px; "/>
- <button id="button90" class="btn2_letter2" style="left:270px; top:30px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = "deptnm";
- var search_term = ""; // model.getValue("/root/main/sample1/deptcd");
- var receive_deptcd_path = "/root/hidden/data/orddeptcd";
- var receive_deptnm_path = "/root/hidden/data/orddeptnm";
- var standard_yn = "orduseyn";
- var ord_deptflag = ""; //D
- model.setValue("/root/hidden/data/orddeptcd","");
- model.setValue("/root/hidden/data/orddeptnm","");
- zbcfOpenInstDeptCodeList(search_condition, search_term, receive_deptcd_path, receive_deptnm_path, standard_yn, ord_deptflag);
- if (model.getValue("/root/hidden/data/orddeptcd")!=""){
- grd_orddeptlist.addRow();
- model.setValue( "/root/main/orddeptlist/item["+grd_orddeptlist.row+"]/orddeptcd", model.getValue("/root/hidden/data/orddeptcd"));
- model.setValue( "/root/main/orddeptlist/item["+grd_orddeptlist.row+"]/orddeptnm", model.getValue("/root/hidden/data/orddeptnm"));
- }
- grd_orddeptlist.refresh();
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter3" style="left:316px; top:30px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_orddeptlist.addStatus(grd_orddeptlist.row,"delete");
- ]]>
- </script>
- </button>
- <datagrid id="grd_orddeptlist" nodeset="/root/main/orddeptlist/item" caption="진료과코드^진료과명" colsep="^" colwidth="103, 247" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:50px; width:370px; height:200px; ">
- <col ref="orddeptcd" type="input"/>
- <col ref="orddeptnm"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send/srchdata/orddeptcd", model.getValue("/root/main/orddeptlist/item["+grd_orddeptlist.row+"]/orddeptcd"));
- submit("TRADB00702");
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button7" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/req/orddeptdata", grd_orddeptlist.getUpdateData());
- model.setValue("/root/send/req/sickdata", grd_sicklist.getUpdateData());
- model.setValue("/root/send/req/prtlindata", grd_prtlin.getUpdateData());
- model.setValue("/root/send/req/prtloutdata", grd_prtlout.getUpdateData());
- submit("TXADB00701");
- submit("TRADB00701");
- submit("TRADB00702");
- submit("TRADB00703");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|