123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779 |
- <?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>
- <patinfo>
- <patlist>
- <tmedcnst/>
- <req/>
- <stat/>
- <replpharmst/>
- <inyn/>
- <roomcd/>
- <drugno/>
- <orddeptnm/>
- <orddeptcd/>
- <orddrnm/>
- <orddrid/>
- <fsexamflag/>
- <pid/>
- <patnm/>
- <agesex/>
- <prcpdd/>
- <prtlnm/>
- <anticncrdayno/>
- <orddd/>
- <lastcnstdd/>
- <fstdrugcd/>
- <hd_pod/>
- <dschstat/>
- <dschdd/>
- <diagnm/>
- <srchflag/>
- <cretno/>
- <prcpgenrflag/>
- <exptypeyn/>
- <prntdt/>
- <difflagcd/>
- <wardcd/>
- <brthdd/>
- </patlist>
- </patinfo>
- <tmedinfo>
- <tmedlist/>
- </tmedinfo>
- <autoprntinfo>
- <aprntlist/>
- </autoprntinfo>
- </main>
- <send>
- <srchinfo/>
- <deptinfo>
- <deptflag/>
- </deptinfo>
- <orddrinfo>
- <deptcd/>
- <userflag/>
- </orddrinfo>
- <tmedinfo>
- <tmedlisth/>
- <tmedlistd/>
- </tmedinfo>
- </send>
- <init>
- <orddept>
- <dept>
- <deptcd/>
- <deptnm/>
- </dept>
- </orddept>
- <deptlist>
- <ward>
- <deptcd/>
- <deptnm/>
- </ward>
- </deptlist>
- <orddrlist>
- <user>
- <userid/>
- <usernm/>
- </user>
- </orddrlist>
- <difflagcd>1</difflagcd>
- <baseinfo>
- <tmedcnst>
- <A0036/>
- </tmedcnst>
- </baseinfo>
- </init>
- <hidden>
- <chkitem>
- <count/>
- </chkitem>
- <receivedrugcd>/root/temp/srchinfo/speccode</receivedrugcd>
- </hidden>
- <temp>
- <printlabel>
- <prtgubun/>
- <prthosinhosoutflag/>
- <prtprcpclscd/>
- <prttmedcnst/>
- <prtorddeptcd/>
- <prtwardroom/>
- <prtorddrid/>
- </printlabel>
- <srchinfo>
- <prcpddstart/>
- <prcpddend/>
- <srchflag/>
- <srchflagall/>
- <newdrugflag/>
- <hosinhosoutflag/>
- <hosinhosoutflagall/>
- <prcpclscd/>
- <tmedcnst/>
- <speccode/>
- <orddeptcd/>
- <wardcd/>
- <ward/>
- <orddrid/>
- <wardnm/>
- <pid/>
- <tmedprntdt/>
- <sortcol/>
- <drugno/>
- <prtflag>|3</prtflag>
- <autoprntflag/>
- <macheckflag/>
- </srchinfo>
- <receivedata>
- <receiveref/>
- <srchflag/>
- <srchcnts/>
- <drugkind/>
- </receivedata>
- <prtnlist>
- <prtnlist/>
- </prtnlist>
- </temp>
- </root>
- </instance>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/pharmacyconsultweb/js/SMADC02100.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- document.controls("Base64_Preview1").attribute("visibility") = "hidden";
- model.makeValue("/root/temp/srchinfo/macheckflag", "Y");
-
- fInit();
- makeReportPreview("5","10", "350","370","grp_report");
- ]]>
- </script>
- <submission id="TRADC02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptinfo/deptflag" replace="instance" resultref="/root/init/orddept"/>
- <submission id="TRADC02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/patinfo"/>
- <submission id="TRADC02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptinfo/deptflag" replace="instance" resultref="/root/init/deptlist"/>
- <submission id="TRADC02104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/orddrinfo" replace="instance" resultref="/root/init/orddrlist"/>
- <submission id="TRADC02105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tmedinfo/tmedlisth" replace="instance" resultref="/root/main/tmedinfo"/>
- <submission id="TXADC02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tmedinfo" replace="instance" resultref="/root/hidden/chkitem"/>
- <submission id="TRADB00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/baseinfo/tmedcnst"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1209;" 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:310px; height:14px; ">복약 지도 환자 조회(간호) ver.2.1 20090713</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:2px; top:711px; width:268px; height:30px; background-color:transparent; border-color:#7cbbdd; border-style:solid; "/>
- <caption id="caption51" visibility="hidden" style="left:975px; top:720px; width:50px; height:14px; vertical-align:middle; ">퇴원예고</caption>
- <caption id="caption53" class="color_4" visibility="hidden" style="left:1037px; top:719px; width:15px; height:15px; vertical-align:middle; "/>
- <group id="group2" style="left:0px; top:5px; width:1195px; height:120px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:120px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button4" class="icon_search" style="left:610px; top:75px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(chk_ward.visible){
- chk_ward.visible = false;
- }else {
- chk_ward.visible = true;
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button5" class="icon_search" visibility="hidden" style="left:845px; top:50px; width:16px; height:16px; ">
- <caption/>
- </button>
- <caption id="caption1" class="search_name" style="left:15px; top:10px; width:72px; height:17px; ">일자 :</caption>
- <line id="line13" style="x1:1115px; y1:10px; x2:1115px; y2:75px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select id="checkbox4" ref="/root/chk1" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" cols="3" rows="1" style="left:750px; top:10px; width:150px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>의뢰</label>
- <value>1</value>
- </item>
- <item>
- <label>미의뢰</label>
- <value>2</value>
- </item>
- <item>
- <label>전체</label>
- <value>3</value>
- </item>
- </choices>
- </select>
- <caption id="caption2" class="search_name" style="left:330px; top:10px; width:72px; height:17px; ">구분 :</caption>
- <select id="checkbox5" ref="/root/chk2" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" cols="3" rows="1" style="left:905px; top:100px; width:150px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>회신</label>
- <value>1</value>
- </item>
- <item>
- <label>미회신</label>
- <value>2</value>
- </item>
- <item>
- <label>전체</label>
- <value>3</value>
- </item>
- </choices>
- </select>
- <button id="button61" class="icon_search" style="left:610px; top:50px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/temp/receivedata/receiveref", model.getValue("/root/hidden/receivedrugcd"));
- model.setValue("/root/temp/receivedata/srchflag", "");
- model.setValue("/root/temp/receivedata/srchcnts", "");
- model.setValue("/root/temp/receivedata/drugkind","");
- // 약품코드 검색
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:640px; top:75px; width:86px; height:17px; ">진료과 :</caption>
- <button id="button9" class="icon_search" visibility="hidden" style="left:1070px; top:50px; width:16px; height:16px; ">
- <caption/>
- </button>
- <caption id="caption4" class="search_name" style="left:875px; top:75px; width:73px; height:17px; ">주치의 :</caption>
- <select1 id="radio1" ref="/root/optGu" class="radio_search" visibility="hidden" appearance="full" cols="2" rows="1" overflow="hidden" style="left:1095px; top:70px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>AND</label>
- <value>1</value>
- </item>
- <item>
- <label>OR</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:330px; top:75px; width:70px; height:17px; ">병 동 :</caption>
- <caption id="caption6" class="search_name" style="left:405px; top:50px; width:89px; height:17px; ">특정코드 :</caption>
- <caption id="caption7" class="search_name" visibility="hidden" style="left:15px; top:50px; width:89px; height:17px; ">복약분류 :</caption>
- <caption id="caption8" class="search_name" visibility="hidden" style="left:638px; top:50px; width:88px; height:17px; ">팀교육 :</caption>
- <caption id="caption9" class="search_name" visibility="hidden" style="left:875px; top:50px; width:83px; height:17px; ">상병군 :</caption>
- <input id="input4" class="input_search" visibility="hidden" style="left:725px; top:50px; width:108px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <input id="input6" class="input_search" visibility="hidden" style="left:957px; top:50px; width:108px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_sea" class="btn1_letter2" style="left:1125px; top:35px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fSrchPatList();
-
- fPrntCnt(); //2008-11-25 출력건수 조회
-
- ]]>
- </script>
- </button>
- <select id="chk_srchflag" ref="/root/temp/srchinfo/srchflag" class="checkbox_search" overflow="visible" appearance="full" cols="4" rows="1" sep="|" style="left:395px; top:10px; width:135px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>재원</label>
- <value>1</value>
- </item>
- <item>
- <label>퇴원</label>
- <value>2</value>
- </item>
- <item>
- <label>외래</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkSrchflag();
- ]]>
- </script>
- </select>
- <select id="chk_srchflagall" ref="/root/temp/srchinfo/srchflagall" overflow="visible" appearance="full" style="left:527px; top:10px; width:49px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkSrchflagAll();
- ]]>
- </script>
- </select>
- <select id="chk_hosinhosoutflag" ref="/root/temp/srchinfo/hosinhosoutflag" class="checkbox_search" overflow="visible" appearance="full" cols="3" rows="1" sep="|" style="left:590px; top:10px; width:95px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>원내</label>
- <value>I</value>
- </item>
- <item>
- <label>원외</label>
- <value>O</value>
- </item>
- </choices>
- </select>
- <select id="chk_hosinhosoutflagall" ref="/root/temp/srchinfo/hosinhosoutflagall" overflow="visible" appearance="full" style="left:685px; top:10px; width:49px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var allflag = model.getValue("/root/temp/srchinfo/hosinhosoutflagall");
-
- if(allflag == "Y"){
- model.setValue("/root/temp/srchinfo/hosinhosoutflag","I|O");
- }else{
- model.setValue("/root/temp/srchinfo/hosinhosoutflag","");
- }
- model.refresh();
-
- ]]>
- </script>
- </select>
- <select id="chk_prcpclscd" ref="/root/temp/srchinfo/prcpclscd" class="checkbox_search" overflow="visible" appearance="full" cols="4" rows="1" sep="|" style="left:590px; top:30px; width:265px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>일반약(</label>
- <value>A2</value>
- </item>
- <item>
- <label>외용제)</label>
- <value>A4</value>
- </item>
- <item>
- <label>항암주사</label>
- <value>D</value>
- </item>
- <item>
- <label>일반주사</label>
- <value>A6</value>
- </item>
- </choices>
- </select>
- <select id="chk_tmedcnst" ref="/root/temp/srchinfo/tmedcnst" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" cols="7" rows="1" sep="|" style="left:30px; top:30px; width:285px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>항암</label>
- <value>1</value>
- </item>
- <item>
- <label>결핵</label>
- <value>2</value>
- </item>
- <item>
- <label>이식</label>
- <value>B</value>
- </item>
- <item>
- <label>흡입기</label>
- <value>3</value>
- </item>
- <item>
- <label>HIV</label>
- <value>4</value>
- </item>
- <item>
- <label>파킨슨</label>
- <value>5</value>
- </item>
- </choices>
- </select>
- <input id="ipt_speccode" ref="/root/temp/srchinfo/speccode" class="input_search" style="left:497px; top:50px; width:108px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cbo_orddeptcd" ref="/root/temp/srchinfo/orddeptcd" class="combo_search" appearance="minimal" style="left:725px; top:75px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- model.setValue("/root/temp/srchinfo/orddrid",""); //2008-11-18 주치의 Clear어 안되는 현상이 있음.
- model.setValue("/root/send/orddrinfo/userflag", "03%");
- model.setValue("/root/send/orddrinfo/deptcd", model.getValue("/root/temp/srchinfo/orddeptcd"));
- submit("TRADC02104");
-
- model.makeValue("/root/init/orddrlist/user", model.getValue("/root/init/orddrlist/user")); //2008-11-18 진료과별 조회후 전체조회시 오류발생 추가
- astfAddCombo("/root/init/orddrlist", "user", "userid,usernm", ",");
-
- ]]>
- </script>
- </select1>
- <input id="ipt_wardcd" ref="/root/temp/srchinfo/wardcd" class="input_search" visibility="hidden" style="left:270px; top:90px; width:140px; height:19px; "/>
- <select1 id="cbo_orddrid" ref="/root/temp/srchinfo/orddrid" class="combo_search" appearance="minimal" style="left:957px; top:75px; width:108px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrlist/user">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_prcpddstart" ref="/root/temp/srchinfo/prcpddstart" class="input_search" inputtype="date" style="left:105px; top:10px; width:110px; height:19px; "/>
- <input id="ipt_prcpddend" ref="/root/temp/srchinfo/prcpddend" class="input_search" inputtype="date" style="left:220px; top:10px; width:105px; height:19px; "/>
- <select1 id="rdo_newdrugflag" ref="/root/temp/srchinfo/newdrugflag" appearance="full" cols="2" overflow="visible" style="left:395px; top:30px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>새처방</label>
- <value>1</value>
- </item>
- <item>
- <label>모두</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_wardnm" ref="/root/temp/srchinfo/wardnm" class="input_search" disabled="true" style="left:415px; top:74px; width:185px; height:19px; "/>
- <caption id="caption12" class="search_name" style="left:15px; top:98px; width:94px; height:17px; ">등록번호 :</caption>
- <input id="ipt_pid" ref="/root/temp/srchinfo/pid" class="input_search" style="left:110px; top:98px; width:140px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption15" class="search_name" visibility="hidden" style="left:15px; top:100px; width:99px; height:17px; ">투약번호 :</caption>
- <input id="input1" ref="/root/temp/srchinfo/drugno" class="input_search" visibility="hidden" style="left:110px; top:98px; width:140px; height:19px; "/>
- <select id="checkbox1" ref="/root/temp/srchinfo/prtflag" class="checkbox_search" overflow="visible" appearance="full" cols="4" rows="1" sep="|" style="left:915px; top:30px; width:150px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>출력</label>
- <value>1</value>
- </item>
- <item>
- <label>미출력</label>
- <value>2</value>
- </item>
- <item>
- <label>전체</label>
- <value>3</value>
- </item>
- </choices>
- </select>
- <select id="checkbox2" ref="/root/temp/srchinfo/tmedcnst" visibility="hidden" overflow="visible" appearance="full" cellspacing="4" cols="5" style="left:105px; top:50px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/tmedcnst/A0036">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/temp/srchinfo/macheckflag" class="checkbox_search" overflow="visible" appearance="full" cols="1" rows="1" style="left:915px; top:10px; width:155px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>마취통증의학과 제외</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- <caption id="caption55" visibility="hidden" style="left:1055px; top:720px; width:50px; height:14px; vertical-align:middle; ">퇴원계산</caption>
- <caption id="caption35" class="color_9" visibility="hidden" style="left:1112px; top:719px; width:15px; height:15px; vertical-align:middle; "/>
- <caption id="caption36" visibility="hidden" style="left:1130px; top:720px; width:50px; height:14px; vertical-align:middle; ">퇴원수납</caption>
- <caption id="caption47" class="cell_2" style="left:7px; top:717px; width:70px; height:20px; vertical-align:middle; ">범 례</caption>
- <caption id="caption49" class="color_1" visibility="hidden" style="left:957px; top:719px; width:15px; height:15px; vertical-align:middle; "/>
- <datagrid id="grd_patlist" nodeset="/root/main/patinfo/patlist" caption="복약분류^의뢰^상태^회신약사^inyn^병실^투약번호^진료과^orddeptcd^등록번호^환자명^생년월일^orddrid^A/S^적용일자^프로토콜명^D#^입원일^초재진^주치의^최종상담일^최초복용약^HD/POD^퇴원상태^퇴원일^상병명^prcpkindcd^cretno^prcpgenrflag^exptypeyn^ 출력일시^difflagcd^wardcd" colsep="^" colwidth="56, 49, 51, 62, 36, 49, 60, 84, 100, 75, 84, 81, 100, 57, 81, 190, 29, 82, 56, 63, 80, 100, 70, 59, 82, 130, 100, 100, 100, 88, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:127px; width:1194px; height:583px; ">
- <col ref="tmedcnst" visibility="hidden" style="text-align:center; "/>
- <col ref="req" visibility="hidden" style="text-align:center; "/>
- <col ref="stat" visibility="hidden" style="text-align:center; "/>
- <col ref="replpharmst" visibility="hidden" style="text-align:center; "/>
- <col ref="inyn" visibility="hidden" style="text-align:center; "/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="drugno" style="text-align:center; "/>
- <col ref="orddeptnm"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="brthdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="agesex" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prtlnm" visibility="hidden"/>
- <col ref="anticncrdayno" visibility="hidden"/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="fsexamflag" style="text-align:center; "/>
- <col ref="orddrnm"/>
- <col ref="lastcnstdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="fstdrugcd"/>
- <col ref="hd_pod" style="text-align:center; "/>
- <col ref="dschstat" visibility="hidden" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="diagnm"/>
- <col ref="srchflag" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="prcpgenrflag" visibility="hidden"/>
- <col ref="exptypeyn" visibility="hidden"/>
- <col ref="prntdt" format="yyyy-mm-dd hh:mm"/>
- <col ref="prntdt" visibility="hidden"/>
- <col ref="wardcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_patlist.iscell(event.target) && grd_patlist.row != 0 ){
- model.setValue("/root/temp/srchinfo/tmedprntdt","");
- model.makeValue("/root/main/patinfo/patlist[" + grd_patlist.row + "]/difflagcd", model.getValue("/root/init/difflagcd")); //복약설명서 출력조건[병원자료:1 , DIF한글:2, DIF영문:2]
- modal("SMADC02201", 0, 50, 50, "", "/root/main/patinfo/patlist[" + grd_patlist.row + "]", "/root/temp/srchinfo");
- }
-
- btn_sea.dispatch("DOMActivate");
- /*
- if (model.getValue("/root/temp/srchinfo/tmedprntdt") != '' ) {
- model.setValue( "/root/main/patinfo/patlist[" + datagrid1.row + "]/prntdt",model.getValue("/root/temp/srchinfo/tmedprntdt"));
- datagrid1.rowstyle(datagrid1.row, "data", "background-color") = "#7BE6B7" ; // 색깔표시
- }
- fPrntCnt(); //2008-11-25 출력건수 조회
- */
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_patlist.gridToInstance();
- /* 화면에서 정렬한 사항이 그대로 유지되도록 설정 */
- var sortcol = grd_patlist.colAttribute(grd_patlist.col, "ref") + " " + grd_patlist.sort(1,1, grd_patlist.rows, grd_patlist.cols) ;
- model.setValue("/root/temp/srchinfo/sortcol", sortcol);
- ]]>
- </script>
- </datagrid>
- <select id="chk_ward" ref="/root/temp/srchinfo/ward" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" cols="2" sep="|" style="left:415px; top:100px; width:205px; height:15px; background-color:#e5eae9; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/deptlist/ward">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(chk_ward.mouseRow == 0 && chk_ward.mouseCol == 0){
- if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
- //ipt_wardcd.value = "2100300000|2110200000|2110201000|2280200000|2360800000|2361501000|3050107000|3050108000|3050109000|3050110000|3050112000|3050113000|3050115000|3050116000|3050118000|3050119000|3050120000|3050121000|3050122000|3050123000|3050135000|3050136000|3060000000|3060100000|3060200000|3060300000|3060400000|3060600000|3120400000";
- //ipt_wardnm.value = "분만실|신생아실|신생아중환자실|응급의료센터|통원수술센터|임상시험센터병동|04층동병동|04층서병동|05층동병동|05층서병동|06층동병동|06층서병동|07층동병동|07층서병동|08층동병동|08층서병동|09층동병동|09층서병동|10층동병동|10층서병동|응급병동|호스피스병동|중환자실|내과중환자실|외과중환자실|신경외과중환자실|순환기계중환자실|2층중환자실|특수주사실특수주사";
- //model.setValue("/root/temp/srchinfo/ward", "T|2100300000|2110200000|2110201000|2280200000|2360800000|2361501000|3050107000|3050108000|3050109000|3050110000|3050112000|3050113000|3050115000|3050116000|3050118000|3050119000|3050120000|3050121000|3050122000|3050123000|3050135000|3050136000|3060000000|3060100000|3060200000|3060300000|3060400000|3060600000|3120400000");
- var ward = "";
- for(var i = 1; i <= getNodesetCount("/root/init/deptlist/ward"); i++){
- if(i == (getNodesetCount("/root/init/deptlist/ward"))){
- ward += model.getValue("/root/init/deptlist/ward["+i+"]/deptcd");
- }else{
- ward += model.getValue("/root/init/deptlist/ward["+i+"]/deptcd")+"|";
- }
- }
- model.setValue("/root/temp/srchinfo/ward", ward);
- } else {
- model.setValue("/root/temp/srchinfo/ward", "");
- }
- model.refresh();
- }
- if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
- ipt_wardcd.value = chk_ward.value.substr(2,chk_ward.value.length);
- ipt_wardnm.value = chk_ward.label.substr(3,chk_ward.label.length);
- } else {
- ipt_wardcd.value = chk_ward.value;
- ipt_wardnm.value = chk_ward.label;
- }
- //input3.refresh();
- //검사실 체크박스 감추기
- //chk_excuroom.visible = false;
- ]]>
- </script>
- </select>
- <caption id="caption10" class="color_6" vertical-galign="middle" style="left:97px; top:719px; width:15px; height:15px; "/>
- <caption id="caption11" style="left:120px; top:720px; width:100px; height:14px; vertical-align:middle; ">일괄출력불가</caption>
- <group id="grp_report" visibility="hidden" style="left:745px; top:220px; width:300px; height:275px; "/>
- <caption id="caption13" class="color_4" style="left:207px; top:719px; width:15px; height:15px; vertical-align:middle; "/>
- <caption id="caption14" style="left:230px; top:720px; width:50px; height:14px; vertical-align:middle; ">출력</caption>
- <caption id="txtCnt" style="left:955px; top:100px; width:235px; height:20px; font-size:11pt; text-align:right; "/>
- <select1 id="rdo_difflagcd" ref="/root/init/difflagcd" appearance="full" cellspacing="5" cols="3" rows="1" overflow="visible" style="left:365px; top:720px; width:255px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>병원복약기준자료</label>
- <value>1</value>
- </item>
- <!-- <item>
- <label>DIF한글</label>
- <value>2</value>
- </item>
- <item>
- <label>DIF영문</label>
- <value>3</value>
- </item> -->
- </choices>
- </select1>
- <object id="Base64_Preview1" clsid="{72e5d9ed-0d6a-46e8-aead-23144bfef878}" style="left:200px; top:290px; width:415px; height:380px; background-color:transparent; "/>
- <select id="chk_autoprnt" ref="/root/temp/srchinfo/autoprntflag" visibility="hidden" overflow="visible" appearance="full" cols="1" rows="1" sep="|" style="left:645px; top:720px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>자동출력</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 20100223_laboru_복약설명서 자동출력
- fChkAutoDescPrnt();
- ]]>
- </script>
- </select>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button1" class="btn6_letter9" style="left:564px; top:5px; width:140px; height:22px; ">
- <caption>복약설명서일괄출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTmedlist();
- fPrntCnt(); //2008-11-25 출력건수 조회
- ]]>
- </script>
- </button>
- <button id="button2" class="btn3_letter6" style="left:270px; top:5px; width:80px; height:22px; ">
- <caption>통합결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMAER00800 ","","","","","/root/main/patinfo/patlist["+grd_patlist.row+"]/pid","/root/send/data/singdata/srchpid");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn3_letter6" style="left:376px; top:5px; width:104px; height:22px; ">
- <caption>투약기록조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMMNR04500");
- ]]>
- </script>
- </button>
- <button id="button7" class="btn3_letter4" style="left:82px; top:5px; width:80px; height:22px; ">
- <caption>약력조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMADB10100",0,0,0,"SMADB10100","/root/main/patinfo/patlist["+grd_patlist.row+"]/pid","/root/temp/patinfo/pid");
- ]]>
- </script>
- </button>
- <button id="button8" class="btn3_letter4" style="left:0px; top:5px; width:80px; height:22px; ">
- <caption>처방조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter ("SPMMO14900_pid" , model.getValue("/root/main/patinfo/patlist["+grd_patlist.row+"]/pid")); //등록번호
- setParameter ("SPMMO14900_hngnm" , model.getValue("/root/main/patinfo/patlist["+grd_patlist.row+"]/patnm")); //성명
- open("SPMMO14900");
- ]]>
- </script>
- </button>
- <button id="button10" class="btn4_letter6" visibility="hidden" style="left:970px; top:5px; width:56px; height:22px; ">
- <caption>일괄상담완료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.load( "SPADC61000_복약상담일괄완료.xrw","modal","code", "left:800px; top:500px; width:400px; height:250px;min:hidden;max:hidden;resize:false;" );
-
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn6_letter2" style="left:706px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //exeReportPreview("RPADC02101", "XMLSTR", "", "", "true","","","","","true");
- exeReportPreview("RPADC02101", "XMLSTR", "", "", "false","","","","","false");
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:1078px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- </button>
- <button id="btn_del" class="btn4_letter2" visibility="hidden" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- </button>
- <button id="btn_prtndept" class="btn6_letter5" style="left:764px; top:5px; width:92px; height:22px; ">
- <caption>병동별 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var sRoomCd = "";
- //병실코드로 Sorting
- grd_patlist.colSort(grd_patlist.colRef("wardcd")) = "asc";
- grd_patlist.sort(1, 1, (grd_patlist.rows - 1), (grd_patlist.cols - 1))="usersort";
- grd_patlist.gridToInstance();
- grd_patlist.sortClear();
-
- //보고서 출력시 다음 페이지로 넘기기 위하여 각 병실의 마지막에 플로그 표시.
- sRoomCd = model.getValue("/root/main/patinfo/patlist[1]/wardcd");
- for(var iRowNo = 1 ; iRowNo < grd_patlist.rows ; iRowNo++ ) {
-
- if(iRowNo < (grd_patlist.rows - 1)) {
- if(model.getValue("/root/main/patinfo/patlist["+iRowNo+"]/wardcd") != model.getValue("/root/main/patinfo/patlist["+(iRowNo+1)+"]/wardcd")) {
- model.makeValue("/root/main/patinfo/patlist["+ iRowNo +"]/newpageyn", "Y");
- } else {
- model.makeValue("/root/main/patinfo/patlist["+ iRowNo +"]/newpageyn", "N");
- }
- } else {
- model.makeValue("/root/main/patinfo/patlist["+ iRowNo +"]/newpageyn", "N");
- }
-
- }
- grd_patlist.refresh();
-
- exeReportPreview("RPADC02101", "XMLSTR", "", "", "false","","","","","false");
-
- //초기화
- for(var iRowNo = 1 ; iRowNo < grd_patlist.rows ; iRowNo++ ) {
- model.makeValue("/root/main/patinfo/patlist["+ iRowNo +"]/newpageyn", "N");
- }
- ]]>
- </script>
- </button>
- <button id="button6" class="btn3_letter6" style="left:164px; top:5px; width:80px; height:22px; ">
- <caption>통합기록조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SMMRI00400_param_pid", model.getValue("/root/main/patinfo/patlist["+grd_patlist.row+"]/pid"));
- open("SMMRI00400");
- ]]>
- </script>
- </button>
- <button id="button11" class="btn3_letter4" style="left:482px; top:5px; width:80px; height:22px; ">
- <caption>약품편람</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMADB01900");
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" visibility="hidden" style="left:735px; top:732px; width:130px; height:20px; background-color:#ffff99; ">
- <caption id="caption16" style="left:1px; top:2px; width:110px; height:15px; font-weight:bold; color:#ff0000; ">자동 출력 중</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|