123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487 |
- <?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>
- <cond>
- <wardcd/>
- <roomcd/>
- <patnm/>
- <pid/>
- <indd/>
- <cretno/>
- <medfromdd/>
- <medtodd/>
- <prcpkindcd/>
- <prcpcd/>
- <acpstatflag>D</acpstatflag>
- <drugstat/>
- <settingrnid/>
- <pid_search/>
- <hngnm_search/>
- <roomflag/>
- <popyn>N</popyn>
- <acpstatyn/>
- <dtflag>1</dtflag>
- <hisindd/>
- </cond>
- <druglist>
- <druglist>
- <pid/>
- <hngnm/>
- <execdd/>
- <execprcphistcd/>
- <execprcphistnm/>
- <prcpkindnm/>
- <prcpmixno/>
- <prcpcd/>
- <prcpnm/>
- <prcpvol/>
- <prcpvolunitflag/>
- <prcpqty/>
- <prcpqtyunitflag/>
- <abbrnm/>
- <exectm/>
- <nursnm/>
- <execcarestatnm/>
- <prcpdd/>
- <prcpno/>
- <carecfact/>
- <prcpdelivefact/>
- <drugflag/>
- <drugstatnm/>
- <drugno/>
- <prntdt/>
- <orddrnm/>
- </druglist>
- </druglist>
- <wardpatinfo>
- <wardpatlist>
- <roomcd/>
- <patnm/>
- <sexage/>
- <pid/>
- <indd/>
- <cretno/>
- <seqno/>
- <instcd/>
- <wardcd/>
- <rrgstno/>
- </wardpatlist>
- </wardpatinfo>
- <paminfo/>
- <pidinfo>
- <roomcd/>
- <pid/>
- <patnm/>
- <sa/>
- <rrgstno/>
- </pidinfo>
- <popupendflag/>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <reqdata/>
- </send>
- <init>
- <ward>
- <wardcd/>
- <wardnm/>
- </ward>
- <room>
- <room>
- <roomcd/>
- </room>
- </room>
- </init>
- <hidden>
- <wardpatinfo>
- <wardpatlist>
- <patnm>-</patnm>
- <pid/>
- <wardcd/>
- <roomcd/>
- <sexage/>
- <indd/>
- <cretno/>
- <seqno/>
- <instcd/>
- </wardpatlist>
- </wardpatinfo>
- <cond>
- <wardcd/>
- <pid/>
- <indd/>
- <cretno/>
- <medrfromdd/>
- <medrtodd/>
- </cond>
- </hidden>
- <temp>
- <hisinddinfo>
- <hisinddlist>
- <hisinddnm/>
- <hisinddcd/>
- </hisinddlist>
- </hisinddinfo>
- <pidinfo/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMNR00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init"/>
- <submission id="TRMNR00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/room"/>
- <submission id="TRMNR00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/wardpatinfo"/>
- <submission id="TRMNR04501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/druglist"/>
- <submission id="TRMNR04502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/hisinddinfo"/>
- </model>
- <script type="javascript" src="../../../emr/caremedirecweb/js/SMMNR04500.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:257px; height:14px; ">투약기록 조회</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <caption id="caption14" style="left:1160px; top:0px; width:30px; height:20px; ">[표]</caption>
- </group>
- <group id="group5" class="datagrid2" scroll="auto" style="left:0px; top:13px; width:1195px; height:742px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:60px; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:89px; height:17px; ">병 동 :</caption>
- <line id="line13" class="line_4" style="x1:1070px; y1:15px; x2:1070px; y2:47px; "/>
- <caption id="caption5" class="search_name" style="left:640px; top:9px; width:86px; height:17px; ">조회일시 :</caption>
- <input id="inp_medfromdd" ref="/root/main/cond/medfromdd" class="input_search" inputtype="date" style="left:731px; top:8px; width:90px; height:19px; "/>
- <caption id="caption7" style="left:826px; top:10px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="inp_medtodd" ref="/root/main/cond/medtodd" class="input_search" inputtype="date" style="left:841px; top:8px; width:90px; height:19px; "/>
- <caption id="caption8" class="search_name" style="left:15px; top:35px; width:109px; height:17px; ">약제별 조회 :</caption>
- <select1 id="combo3" ref="/root/main/cond/prcpkindcd" class="combo_search" navindex="2" appearance="minimal" style="left:129px; top:34px; width:111px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>약</label>
- <value>A</value>
- </item>
- <item>
- <label>주사</label>
- <value>A6</value>
- </item>
- <item>
- <label>수액</label>
- <value>S</value>
- </item>
- <item>
- <label>항암제</label>
- <value>D</value>
- </item>
- <item>
- <label>마약</label>
- <value>M</value>
- </item>
- <item>
- <label>향정</label>
- <value>H</value>
- </item>
- <item>
- <label>항생제 전체</label>
- <value>NA</value>
- </item>
- <item>
- <label>항생제 경구</label>
- <value>NO</value>
- </item>
- <item>
- <label>항생제 주사</label>
- <value>NI</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetDrugList();
- ]]>
- </script>
- </select1>
- <caption id="caption9" class="search_name" style="left:256px; top:35px; width:86px; height:17px; ">약품코드 :</caption>
- <input id="input4" ref="/root/main/cond/prcpcd" class="input_search" navindex="3" style="left:345px; top:34px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keycode == "13"){
- model.setfocus("btn_DrugList");
- fGetDrugList();
- }
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:440px; top:9px; width:85px; height:17px; ">병 실 :</caption>
- <select1 id="combo4" ref="/root/main/cond/roomcd" class="combo_search" appearance="minimal" style="left:530px; top:8px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/room/room">
- <label ref="roomnm"/>
- <value ref="roomcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetPatList();
- ]]>
- </script>
- </select1>
- <select1 id="combo5" ref="/root/main/cond/wardcd" class="combo_search" appearance="minimal" style="left:130px; top:8px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ward/">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/cond/roomcd", "");
- model.setValue("/root/main/cond/settingrnid", "");
- model.setValue("/root/main/cond/pid_search", "");
- model.setValue("/root/main/cond/hngnm_search", "");
- model.setValue("/root/main/cond/hisindd","");
-
- //submit("TRMNR00601");
- fQueryinit(); //-----------(20080819)
- fGetPatList();
- fGetRoomList();
- ]]>
- </script>
- </select1>
- <button id="btn_DrugList" class="btn1_letter2" style="left:1076px; top:6px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetDrugList();
- ]]>
- </script>
- </button>
- <button id="btn_ExcelSave" class="btn1_letter2" style="left:1135px; top:6px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var file = window.fileDialog("save","","true","","xls","All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if(file != "") {
- grd_druglist.saveExcel(file);
- }
- ]]>
- </script>
- </button>
- <caption id="caption10" class="search_name" style="left:440px; top:35px; width:86px; height:17px; ">투약상태 :</caption>
- <select1 id="cmb_settingrn" ref="/root/main/cond/settingrnid" class="combo_search" appearance="minimal" style="left:346px; top:8px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/wardpatinfo/settingrn">
- <label ref="settingrnnm"/>
- <value ref="settingrnid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetRoomList();
- fGetPatList();
- ]]>
- </script>
- </select1>
- <caption id="caption17" class="search_name" style="left:255px; top:9px; width:83px; height:17px; ">내 환 자 :</caption>
- <caption id="caption3" visibility="hidden" style="left:940px; top:35px; width:105px; height:22px; font-size:8pt; ">(등록번호로 조회시)</caption>
- <select1 id="cmb_drugstat" ref="/root/main/cond/drugstat" class="combo_search" navindex="2" appearance="minimal" style="left:530px; top:35px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>투약</label>
- <value>D</value>
- </item>
- <item>
- <label>미투약</label>
- <value>N</value>
- </item>
- <item>
- <label>반환약</label>
- <value>R</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetDrugList();
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:640px; top:34px; width:86px; height:17px; ">등록번호 :</caption>
- <input id="ipt_pid_search" ref="/root/main/cond/pid_search" class="input_search" navindex="3" style="left:730px; top:35px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
-
- if(event.keycode == "13"){
-
- //환자팝업으로 포커스이동
- model.setFocus("bnt_pid");
-
- //(20080514) : 팝업
- fSearchPatInfo("1");
- //콤보열기
- fSearchPatInddInfo();
- //조회기능막음
- // model.setfocus("btn_DrugList");
- // model.setValue("/root/main/cond/acpstatyn", "true");
- // fGetDrugList();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <bool id="bool_acptstat" visibility="hidden" ref="/root/main/cond/acpstatyn" style="left:1044px; top:37px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fnhisindd();
- ]]>
- </script>
- </bool>
- <select1 id="rdo_dtflag" ref="/root/main/cond/dtflag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:947px; top:8px; width:115px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>처방일</label>
- <value>1</value>
- </item>
- <item>
- <label>투약일</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetDrugList();
- ]]>
- </script>
- </select1>
- <button id="bnt_pid" class="icon_search" navindex="6" style="left:815px; top:37px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fSearchPatInfo("1");
- fSearchPatInfo("");
- //콤보열기
- fSearchPatInddInfo();
- ]]>
- </script>
- </button>
- <output id="opt_hngnm" ref="/root/main/cond/hngnm_search" class="output_fix" style="left:836px; top:35px; width:95px; height:19px; "/>
- <button id="button3" class="btn1_letter2" style="left:1077px; top:30px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExecPrint();
- ]]>
- </script>
- </button>
- </group>
- <line id="line1" class="line_1" style="x1:250px; y1:95px; x2:1194px; y2:95px; "/>
- <datagrid id="grd_druglist" nodeset="/root/main/druglist/druglist" class="datagrid2" scroll="auto" allowselection="true" caption="환자번호^환자명^투약일자^변경이력코드^변경이력^처방종류^Mix^처방코드^처방명[* : 혼동주의/고위험 약제]^용량^단위^수량^단위^경로^투약시간^간호사^투약기록^처방일자^처방번호^간호사
Remark^의사
Remark^약제
종류^조제
상태^투약번호^처방전 
출력시간^처방의^효능코드^효능명" colsep="^" colwidth="69, 70, 70, 100, 100, 60, 27, 80, 230, 40, 30, 40, 30, 50, 60, 65, 81, 80, 66, 108, 132, 69, 65, 60, 92, 60, 100, 100" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" tooltip="true" style="left:250px; top:100px; width:944px; height:635px; ">
- <col ref="pid" visibility="hidden" style="text-align:right; padding-right:3; "/>
- <col ref="hngnm" visibility="hidden" style="padding-left:3; "/>
- <col ref="execdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="execprcphistcd" visibility="hidden" style="text-align:center; "/>
- <col ref="execprcphistnm" visibility="hidden" style="text-align:center; "/>
- <col ref="prcpkindnm" style="text-align:center; "/>
- <col ref="prcpmixno" style="text-align:center; "/>
- <col ref="prcpcd" style="text-align:left; "/>
- <col ref="prcpnm" style="border-right-width:0; "/>
- <col ref="prcpvol" format="#,###.##" style="text-align:right; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpvolunitflag" style="text-align:left; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpqty" format="#,###.##" style="text-align:right; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpqtyunitflag" style="text-align:left; border-left-width:0; "/>
- <col ref="abbrnm"/>
- <col ref="exectm" format="hh:nn" style="text-align:center; "/>
- <col ref="nursnm" style="text-align:center; "/>
- <col ref="execcarestatnm"/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpno" visibility="hidden" style="text-align:center; "/>
- <col ref="carecfact"/>
- <col ref="prcpdelivefact"/>
- <col ref="drugflag"/>
- <col ref="drugstatnm"/>
- <col ref="drugno" style="text-align:right; "/>
- <col ref="prntdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="orddrnm"/>
- <col ref="efcycd"/>
- <col ref="efcynm"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_druglist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_patlist" nodeset="/root/main/wardpatinfo/wardpatlist" class="datagrid2" allowbigselection="false" allowselection="false" backcoloralternate="#ffffff" caption="병실^등록
번호^환자명^S/A" colsep="^" colwidth="46, 68, 64, 39" frozencols="0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:100px; width:240px; height:640px; ">
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="pid" style="text-align:left; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="sexage" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_druglist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(isDataCell()){
- fGetDrugList();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line5" class="line_1" style="x1:0px; y1:95px; x2:240px; y2:95px; "/>
- <caption id="caption11" class="tit_2" style="left:0px; top:80px; width:90px; height:13px; ">환자 리스트</caption>
- <caption id="caption12" class="tit_2" style="left:255px; top:80px; width:113px; height:14px; ">리스트</caption>
- <output id="output32" ref="/root/main/pidinfo/pid" style="left:423px; top:74px; width:67px; height:19px; font-weight:bold; text-align:center; "/>
- <output id="output33" ref="/root/main/pidinfo/sa" style="left:571px; top:74px; width:44px; height:19px; font-weight:bold; text-align:center; "/>
- <caption id="caption13" ref="/root/main/pidinfo/patnm" class="cell_1" style="left:490px; top:75px; width:81px; height:18px; font-weight:bold; text-align:center; vertical-align:middle; "/>
- <caption id="caption57" ref="/root/main/pidinfo/roomcd" class="cell_1" style="left:355px; top:75px; width:68px; height:18px; font-weight:bold; vertical-align:middle; "/>
- <caption id="cap_hisindd" class="search_name" visibility="hidden" style="left:641px; top:74px; width:86px; height:17px; ">입원이력 :</caption>
- <select1 id="cbo_hisindd" ref="/root/main/cond/hisindd" class="combo_search" visibility="hidden" appearance="minimal" style="left:731px; top:73px; width:199px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/hisinddinfo/hisinddlist">
- <label ref="hisinddnm"/>
- <value ref="hisinddcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fnhisinddmove();
- fGetDrugList(); //------(20081114)
- ]]>
- </script>
- </select1>
- <line id="line27" class="line_3" style="x1:354px; y1:74px; x2:616px; y2:74px; "/>
- <line id="line3" class="line_3" style="x1:353px; y1:74px; x2:353px; y2:94px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line4" class="line_3" style="x1:353px; y1:92px; x2:616px; y2:92px; "/>
- <line id="line7" class="line_3" style="x1:615px; y1:74px; x2:615px; y2:92px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="input1" ref="/root/main/pidinfo/rrgstno" visibility="hidden" style="left:150px; top:75px; width:100px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|