SMADC03400_TDM회신내용조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>TDM회신내용조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <repllist>
  11. <statflag/>
  12. <chosflag/>
  13. <repldd/>
  14. <pid/>
  15. <hngnm/>
  16. <age/>
  17. <sex/>
  18. <sikcnm/>
  19. <reqdeptcd/>
  20. <reqresn/>
  21. <cnstdrugnm/>
  22. <replrsltflag/>
  23. <cnstcnts/>
  24. <cmt/>
  25. <prestregmcnts/>
  26. <recmregmcnts/>
  27. <trghbcoldt/>
  28. <peakbcoldt/>
  29. <trghblodconcen/>
  30. <peakblodconcen/>
  31. <t12val/>
  32. <vdval/>
  33. <clval/>
  34. <kmval/>
  35. <vmaxval/>
  36. <analymthdcnts/>
  37. <ht/>
  38. <wt/>
  39. <scrval/>
  40. <ccrval/>
  41. <albuminval/>
  42. <sugastat/>
  43. <jamonstat/>
  44. </repllist>
  45. </main>
  46. <send>
  47. <srchinfo>
  48. <startrepldd/>
  49. <endrepldd/>
  50. <dateflag>day</dateflag>
  51. <replstat>all</replstat>
  52. <chosflag>all</chosflag>
  53. </srchinfo>
  54. </send>
  55. </root>
  56. </instance>
  57. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  61. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  62. <script type="javascript" ev:event="xforms-ready">
  63. <![CDATA[
  64. model.setValue("/root/send/srchinfo/startrepldd", getCurrentDate());
  65. model.setValue("/root/send/srchinfo/endrepldd", getCurrentDate());
  66. model.refresh();
  67. ]]>
  68. </script>
  69. <script type="javascript">
  70. <![CDATA[
  71. //의뢰이유를 코드명으로 나열하기
  72. function fCnstResn() {
  73. var rowcount = getNodesetCount("/root/main/repllist");
  74. for ( var k = 1 ; k <= rowcount; k++) {
  75. var cnstresn = model.getValue("/root/main/repllist[" + k +"]/reqresn");
  76. var temp = "";
  77. if ( cnstresn != "" ) {
  78. for ( i = 0; i < cnstresn.length; i+=2 ) {
  79. if (cnstresn.substr(i,1) != "" && cnstresn.substr(i,1)=="1") {
  80. temp = temp + "적정용량 확인, "
  81. } else if (cnstresn.substr(i,1) != "" && cnstresn.substr(i,1)=="2") {
  82. temp = temp + "독성의심, "
  83. } else if (cnstresn.substr(i,1) != "" && cnstresn.substr(i,1)=="3") {
  84. temp = temp + "기대이하의 약효, "
  85. } else if (cnstresn.substr(i,1) != "" && cnstresn.substr(i,1)=="4") {
  86. temp = temp + "상호작용약물 추가/중단, "
  87. } else if (cnstresn.substr(i,1) != "" && cnstresn.substr(i,1)=="5") {
  88. temp = temp + "입원시 초기 농도 확인, "
  89. } else if (cnstresn.substr(i,1) != "" && cnstresn.substr(i,1)=="6") {
  90. temp = temp + "중단 후 감소된 농도확인, "
  91. }
  92. }
  93. model.setValue("/root/main/repllist[" + k +"]/reqresn", temp.substr(0, temp.length-2));
  94. }
  95. }
  96. }
  97. ]]>
  98. </script>
  99. <submission id="TRADC03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/repllist"/>
  100. </model>
  101. </xhtml:head>
  102. <xhtml:body print-leftmargin="&quot;" guideline="2,13;1,1194;2,784;2,743;2,752;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  103. <group id="group4" scroll="auto" style="left:0px; top:740px; width:1195px; height:44px; "/>
  104. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:122px; height:14px; ">TDM회신내용조회</caption>
  105. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:730px; ">
  106. <group id="group2" style="left:0px; top:10px; width:1194px; height:40px; vertical-align:top; ">
  107. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  108. <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; ">
  109. <choices>
  110. <item>
  111. <label>일자별</label>
  112. <value>day</value>
  113. </item>
  114. <item>
  115. <label>월별</label>
  116. <value>month</value>
  117. </item>
  118. <item>
  119. <label>연별</label>
  120. <value>year</value>
  121. </item>
  122. </choices>
  123. <script type="javascript" ev:event="onclick">
  124. <![CDATA[
  125. model.setValue("/root/send/srchinfo/startrepldd", getCurrentDate());
  126. model.setValue("/root/send/srchinfo/endrepldd", getCurrentDate());
  127. if (model.getValue("/root/send/srchinfo/dateflag") =="day" ) { //일자별
  128. ipt_startreqdd.attribute("format") = "yyyy-mm-dd";
  129. ipt_endreqdd.attribute("format") = "yyyy-mm-dd";
  130. }
  131. if (model.getValue("/root/send/srchinfo/dateflag") =="month" ) { //월별
  132. ipt_startreqdd.attribute("format") = "yyyy-mm";
  133. ipt_endreqdd.attribute("format") = "yyyy-mm";
  134. }
  135. if (model.getValue("/root/send/srchinfo/dateflag") =="year" ) { //연별
  136. ipt_startreqdd.attribute("format") = "yyyy";
  137. ipt_endreqdd.attribute("format") = "yyyy";
  138. }
  139. model.refresh();
  140. ]]>
  141. </script>
  142. </select1>
  143. <caption id="caption5" class="search_name" style="left:5px; top:6px; width:88px; height:17px; ">회신일자 :</caption>
  144. <input id="ipt_startreqdd" ref="/root/send/srchinfo/startrepldd" class="input_search" inputtype="date" style="left:101px; top:5px; width:104px; height:19px; "/>
  145. <input id="ipt_endreqdd" ref="/root/send/srchinfo/endrepldd" class="input_search" inputtype="date" style="left:220px; top:5px; width:105px; height:19px; "/>
  146. <line id="line13" style="x1:1115px; y1:4px; x2:1115px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  147. <caption id="caption7" class="search_name" style="left:544px; top:7px; width:86px; height:17px; ">회신상태 :</caption>
  148. <button id="btn_sea" class="btn1_letter2" style="left:1130px; top:5px; width:56px; height:22px; ">
  149. <caption>조회</caption>
  150. <script type="javascript" ev:event="DOMActivate">
  151. <![CDATA[
  152. submit("TRADC03401");
  153. fCnstResn(); //의뢰이유를 코드명으로 나열하기
  154. model.refresh();
  155. ]]>
  156. </script>
  157. </button>
  158. <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; ">
  159. <choices>
  160. <item>
  161. <label>전체</label>
  162. <value>all</value>
  163. </item>
  164. <item>
  165. <label>자문회신</label>
  166. <value>z</value>
  167. </item>
  168. <item>
  169. <label>회신제외</label>
  170. <value>zr</value>
  171. </item>
  172. </choices>
  173. </select1>
  174. <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; ">
  175. <choices>
  176. <item>
  177. <label>전체</label>
  178. <value>all</value>
  179. </item>
  180. <item>
  181. <label>입원</label>
  182. <value>I</value>
  183. </item>
  184. <item>
  185. <label>응급</label>
  186. <value>E</value>
  187. </item>
  188. <item>
  189. <label>외래</label>
  190. <value>O</value>
  191. </item>
  192. </choices>
  193. </select1>
  194. <caption id="caption1" class="search_name" style="left:839px; top:8px; width:86px; height:17px; ">의뢰경로 :</caption>
  195. </group>
  196. <button id="button7" class="btn2_letter2" style="left:1145px; top:50px; width:42px; height:19px; ">
  197. <caption>엑셀</caption>
  198. <script type="javascript" ev:event="DOMActivate">
  199. <![CDATA[
  200. var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
  201. grd_repllist.saveExcel(file);
  202. ]]>
  203. </script>
  204. </button>
  205. <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; ">
  206. <col disabled="true" ref="statflag" type="combo" style="text-align:center; ">
  207. <choices>
  208. <item>
  209. <label>자문회신</label>
  210. <value>z</value>
  211. </item>
  212. <item>
  213. <label>회신제외</label>
  214. <value>zr</value>
  215. </item>
  216. </choices>
  217. </col>
  218. <col disabled="true" ref="chosflag" type="combo" style="text-align:center; ">
  219. <choices>
  220. <item>
  221. <label>입원</label>
  222. <value>I</value>
  223. </item>
  224. <item>
  225. <label>응급</label>
  226. <value>E</value>
  227. </item>
  228. <item>
  229. <label>외래</label>
  230. <value>O</value>
  231. </item>
  232. </choices>
  233. </col>
  234. <col ref="repldd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  235. <col ref="pid" style="text-align:center; "/>
  236. <col ref="hngnm" style="text-align:center; "/>
  237. <col ref="age" style="text-align:center; "/>
  238. <col ref="sex" style="text-align:center; "/>
  239. <col ref="sikcnm"/>
  240. <col ref="reqdeptcd" style="text-align:center; "/>
  241. <col ref="reqresn"/>
  242. <col ref="cnstdrugnm"/>
  243. <col ref="replrsltflag"/>
  244. <col ref="cnstcnts"/>
  245. <col ref="cmt"/>
  246. <col ref="prestregmcnts"/>
  247. <col ref="recmregmcnts"/>
  248. <col ref="trghbcoldt" format="yyyy-mm-dd hh:nn"/>
  249. <col ref="peakbcoldt" format="yyyy-mm-dd hh:nn"/>
  250. <col ref="trghblodconcen"/>
  251. <col ref="peakblodconcen"/>
  252. <col ref="t12val"/>
  253. <col ref="vdval"/>
  254. <col ref="clval"/>
  255. <col ref="kmval"/>
  256. <col ref="vmaxval"/>
  257. <col ref="analymthdcnts"/>
  258. <col ref="ht"/>
  259. <col ref="wt"/>
  260. <col ref="scrval"/>
  261. <col ref="ccrval"/>
  262. <col ref="albuminval"/>
  263. <col ref="sugastat" style="text-align:center; "/>
  264. <col ref="jamonstat" style="text-align:center; "/>
  265. <script type="javascript" ev:event="onaftersort">
  266. <![CDATA[
  267. grd_repllist.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
  268. ]]>
  269. </script>
  270. </datagrid>
  271. </group>
  272. </xhtml:body>
  273. </xhtml:html>