123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280 |
- <?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>TDM회신내용조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <repllist>
- <statflag/>
- <chosflag/>
- <repldd/>
- <pid/>
- <hngnm/>
- <age/>
- <sex/>
- <sikcnm/>
- <reqdeptcd/>
- <reqresn/>
- <cnstdrugnm/>
- <replrsltflag/>
- <cnstcnts/>
- <cmt/>
- <prestregmcnts/>
- <recmregmcnts/>
- <trghbcoldt/>
- <peakbcoldt/>
- <trghblodconcen/>
- <peakblodconcen/>
- <t12val/>
- <vdval/>
- <clval/>
- <kmval/>
- <vmaxval/>
- <analymthdcnts/>
- <ht/>
- <wt/>
- <scrval/>
- <ccrval/>
- <albuminval/>
- <sugastat/>
- <jamonstat/>
- </repllist>
- </main>
- <send>
- <srchinfo>
- <startrepldd/>
- <endrepldd/>
- <dateflag>day</dateflag>
- <replstat>all</replstat>
- <chosflag>all</chosflag>
- </srchinfo>
- </send>
- </root>
- </instance>
- <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"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- model.setValue("/root/send/srchinfo/startrepldd", getCurrentDate());
- model.setValue("/root/send/srchinfo/endrepldd", getCurrentDate());
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //의뢰이유를 코드명으로 나열하기
- function fCnstResn() {
- var rowcount = getNodesetCount("/root/main/repllist");
- for ( var k = 1 ; k <= rowcount; k++) {
- var cnstresn = model.getValue("/root/main/repllist[" + k +"]/reqresn");
- var temp = "";
- if ( cnstresn != "" ) {
- for ( i = 0; i < cnstresn.length; i+=2 ) {
- if (cnstresn.substr(i,1) != "" && cnstresn.substr(i,1)=="1") {
- temp = temp + "적정용량 확인, "
- } else if (cnstresn.substr(i,1) != "" && cnstresn.substr(i,1)=="2") {
- temp = temp + "독성의심, "
- } else if (cnstresn.substr(i,1) != "" && cnstresn.substr(i,1)=="3") {
- temp = temp + "기대이하의 약효, "
- } else if (cnstresn.substr(i,1) != "" && cnstresn.substr(i,1)=="4") {
- temp = temp + "상호작용약물 추가/중단, "
- } else if (cnstresn.substr(i,1) != "" && cnstresn.substr(i,1)=="5") {
- temp = temp + "입원시 초기 농도 확인, "
- } else if (cnstresn.substr(i,1) != "" && cnstresn.substr(i,1)=="6") {
- temp = temp + "중단 후 감소된 농도확인, "
- }
- }
- model.setValue("/root/main/repllist[" + k +"]/reqresn", temp.substr(0, temp.length-2));
- }
- }
- }
-
- ]]>
- </script>
- <submission id="TRADC03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/repllist"/>
- </model>
- </xhtml:head>
- <xhtml:body print-leftmargin=""" guideline="2,13;1,1194;2,784;2,743;2,752;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group4" scroll="auto" style="left:0px; top:740px; width:1195px; height:44px; "/>
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:122px; height:14px; ">TDM회신내용조회</caption>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:730px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <select1 id="rdo_ioflag" ref="/root/send/srchinfo/dateflag" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:338px; top:7px; width:175px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>일자별</label>
- <value>day</value>
- </item>
- <item>
- <label>월별</label>
- <value>month</value>
- </item>
- <item>
- <label>연별</label>
- <value>year</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send/srchinfo/startrepldd", getCurrentDate());
- model.setValue("/root/send/srchinfo/endrepldd", getCurrentDate());
- if (model.getValue("/root/send/srchinfo/dateflag") =="day" ) { //일자별
- ipt_startreqdd.attribute("format") = "yyyy-mm-dd";
- ipt_endreqdd.attribute("format") = "yyyy-mm-dd";
- }
- if (model.getValue("/root/send/srchinfo/dateflag") =="month" ) { //월별
- ipt_startreqdd.attribute("format") = "yyyy-mm";
- ipt_endreqdd.attribute("format") = "yyyy-mm";
- }
- if (model.getValue("/root/send/srchinfo/dateflag") =="year" ) { //연별
- ipt_startreqdd.attribute("format") = "yyyy";
- ipt_endreqdd.attribute("format") = "yyyy";
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:5px; top:6px; width:88px; height:17px; ">회신일자 :</caption>
- <input id="ipt_startreqdd" ref="/root/send/srchinfo/startrepldd" class="input_search" inputtype="date" style="left:101px; top:5px; width:104px; height:19px; "/>
- <input id="ipt_endreqdd" ref="/root/send/srchinfo/endrepldd" class="input_search" inputtype="date" style="left:220px; top:5px; width:105px; height:19px; "/>
- <line id="line13" style="x1:1115px; y1:4px; x2:1115px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption7" class="search_name" style="left:544px; top:7px; width:86px; height:17px; ">회신상태 :</caption>
- <button id="btn_sea" class="btn1_letter2" style="left:1130px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- submit("TRADC03401");
- fCnstResn(); //의뢰이유를 코드명으로 나열하기
- model.refresh();
-
- ]]>
- </script>
- </button>
- <select1 id="radio1" ref="/root/send/srchinfo/replstat" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:635px; top:7px; width:190px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>all</value>
- </item>
- <item>
- <label>자문회신</label>
- <value>z</value>
- </item>
- <item>
- <label>회신제외</label>
- <value>zr</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio2" ref="/root/send/srchinfo/chosflag" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:930px; top:8px; width:190px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>all</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:839px; top:8px; width:86px; height:17px; ">의뢰경로 :</caption>
- </group>
- <button id="button7" class="btn2_letter2" style="left:1145px; top:50px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
- grd_repllist.saveExcel(file);
- ]]>
- </script>
- </button>
- <datagrid id="grd_repllist" nodeset="/root/main/repllist" caption="회신상태^의뢰경로^회신일자^환자번호^성명^나이^성별^주상병^의뢰과^의뢰이유^의뢰약물^회신결과^자문내용^참고사항^현재 Regimen^추천 Regimen^채혈시간(Trough)^채혈시간(Peak)^혈중농도(Trough)^혈중농도(Peak)^반감기(TI/2)^분포용적(V/d)^Clearancel(CL)^Km^Vmax^분석방법^키^체중^Scr^Ccr^Albumin^수가상태^자문상태" colsep="^" colwidth="73, 62, 100, 77, 70, 39, 35, 100, 92, 119, 88, 82, 110, 103, 100, 100, 103, 100, 100, 100, 100, 100, 100, 100, 100, 100, 40, 50, 100, 100, 100, 72, 67" explorerbar="sortshow" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:5px; top:75px; width:1189px; height:645px; ">
- <col disabled="true" ref="statflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>자문회신</label>
- <value>z</value>
- </item>
- <item>
- <label>회신제외</label>
- <value>zr</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="chosflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col ref="repldd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="sikcnm"/>
- <col ref="reqdeptcd" style="text-align:center; "/>
- <col ref="reqresn"/>
- <col ref="cnstdrugnm"/>
- <col ref="replrsltflag"/>
- <col ref="cnstcnts"/>
- <col ref="cmt"/>
- <col ref="prestregmcnts"/>
- <col ref="recmregmcnts"/>
- <col ref="trghbcoldt" format="yyyy-mm-dd hh:nn"/>
- <col ref="peakbcoldt" format="yyyy-mm-dd hh:nn"/>
- <col ref="trghblodconcen"/>
- <col ref="peakblodconcen"/>
- <col ref="t12val"/>
- <col ref="vdval"/>
- <col ref="clval"/>
- <col ref="kmval"/>
- <col ref="vmaxval"/>
- <col ref="analymthdcnts"/>
- <col ref="ht"/>
- <col ref="wt"/>
- <col ref="scrval"/>
- <col ref="ccrval"/>
- <col ref="albuminval"/>
- <col ref="sugastat" style="text-align:center; "/>
- <col ref="jamonstat" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_repllist.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|