123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- <?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>
- <list>
- <item>
- <orddeptcd/>
- <sickclscd/>
- <sickclsnm/>
- <ioflag/>
- <prtlcd/>
- <prtlnm/>
- <drugprid/>
- <antimetprtlcd/>
- <antimetprtlnm/>
- <insuqualid/>
- <insuqualdt/>
- <ordqualid/>
- <ordqualdt/>
- <pharmqualid/>
- <pharmqualdt/>
- <remark/>
- </item>
- </list>
- <userinfo>
- <userjobflag/>
- </userinfo>
- <orddeptlist>
- <item>
- <orddeptcd/>
- <orddeptnm/>
- </item>
- </orddeptlist>
- </main>
- <send>
- <srchdata>
- <srchkind>C</srchkind>
- <userjpbflag/>
- <popsign/>
- </srchdata>
- <popdata>
- <orddeptcd/>
- </popdata>
- </send>
- <init/>
- <hidden/>
- </root>
- </instance>
- <submission id="TRADB00901" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/list"/>
- <submission id="TRADB00801" ref="/root/send/srchdata" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/orddeptlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- submit("TRADB00801");
-
- // 권한 관리 버트 없음.
-
- var jobkindcd = getUserInfo("jobkindcd"); // jobkindcd = 0330 / jobkindnm = 의사
- var jobkindnm = getUserInfo("jobkindnm");
- var dutplcecd = getUserInfo("dutplcecd"); // 근무지코드 = 4070300000 - 보험팀
-
- if(jobkindcd == "0330") { //의사일 경우
- model.setValue("/root/send/srchdata/userjpbflag","dr");
- }
- if(dutplcecd == "4070300000") { // 보험팀일경우
- model.setValue("/root/send/srchdata/userjpbflag","insu");
- }
- if( dutplcecd.substring(0,5) == "32421") { // 약제팀일경우 ( 32421~~~)
- model.setValue("/root/send/srchdata/userjpbflag","pharm");
- }
-
- // alert ("jobkindcd==>"+ jobkindcd);
- // alert ("dutplcecd==>"+ dutplcecd);
- // alert(model.getValue("/root/send/srchdata/userjpbflag"));
- var userjpbflag = model.getValue("/root/send/srchdata/userjpbflag")
- if ( userjpbflag =="dr" || userjpbflag =="insu" || userjpbflag=="pharm" ) {
- btn_sea.dispatch ("DOMActivate");
- }else{
- messageBox("해당 로그인ID 는 신규프로토콜 확인 작업을", "E001");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1194;1,1195;2,782;1,1195;" 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:129px; height:14px; ">신규 프로토콜 조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <datagrid id="datagrid2" nodeset="/root/new" caption="진료과 ^질병코드^질병명^프로토콜 코드^프로토콜명^약국승인^승인일^보험승인^승인일^진료승인^승인일" colwidth="78, 77, 130, 90, 220, 70, 100, 70, 100, 70, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" style="left:4px; top:80px; width:1190px; height:662px; ">
- <col ref="j"/>
- <col ref="code"/>
- <col ref="name"/>
- <col ref="code2"/>
- <col ref="pname"/>
- <col ref="ok"/>
- <col ref="date"/>
- <col ref="per"/>
- <col ref="bo"/>
- <col/>
- <col/>
- </datagrid>
- <group id="group2" style="left:0px; top:5px; width:1195px; height:40px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" style="x1:1115px; y1:10px; x2:1115px; y2:32px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1125px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var userjpbflag = model.getValue("/root/send/srchdata/userjpbflag")
- if ( userjpbflag =="dr" || userjpbflag =="insu" || userjpbflag=="pharm" ) {
- submit("TRADB00901");
- }else{
- messageBox("해당 로그인ID 는 신규프로토콜 확인 작업을", "E001");
- }
- ]]>
- </script>
- </button>
- </group>
- <button id="button51" class="btn2_letter2" style="left:1151px; top:55px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- </button>
- <datagrid id="grd_protocol" nodeset="/root/main/list/item" class="datagrid2" caption="진료과 ^질병코드^질병명^입원외래구분^프로토콜 코드^프로토콜명^투여주기^진토제코드^진토제명^보험팀확인^보험팀확인일시^진료확인^진료확인일시^약제팀확인^약제팀확인일시^Remark" colwidth="70, 70, 130, 48, 55, 189, 35, 66, 113, 73, 93, 61, 94, 68, 103, 315" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" style="left:4px; top:75px; width:1190px; height:662px; ">
- <col ref="orddeptcd" type="combo" disabled="true">
- <choices>
- <itemset nodeset="/root/main/orddeptlist/item">
- <label ref="orddeptnm"/>
- <value ref="orddeptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="sickclscd"/>
- <col ref="sickclsnm"/>
- <col ref="ioflag" type="combo">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col ref="prtlcd"/>
- <col ref="prtlnm"/>
- <col ref="drugprid"/>
- <col ref="antimetprtlcd"/>
- <col ref="antimetprtlnm"/>
- <col ref="insuqualid" style="text-align:center; "/>
- <col ref="insuqualdt" type="inputdate"/>
- <col ref="ordqualid" style="text-align:center; "/>
- <col ref="ordqualdt" type="inputdate"/>
- <col ref="pharmqualid" style="text-align:center; "/>
- <col ref="pharmqualdt" type="inputdate"/>
- <col ref="remark"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var userjpbflag = model.getValue("/root/send/srchdata/userjpbflag")
- if ( userjpbflag =="dr" || userjpbflag =="insu" || userjpbflag=="pharm" ) {
- model.makeNode("/root/main/list/item["+grd_protocol.row+"]/userjpbflag");
- model.setValue("/root/main/list/item["+grd_protocol.row+"]/userjpbflag",model.getValue("/root/send/srchdata/userjpbflag"));
-
- // alert (model.getValue("/root/send/srchdata/userjpbflag"));
- modal("SPADB00800","","","","","/root/main/list/item["+grd_protocol.row+"]","/root/send/popdata");
- }else{
- messageBox("해당 로그인ID 는 신규프로토콜 확인 작업을", "E001");
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_prt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|