SMLBD00900_검사결과판정조회.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLBD00900_검사결과판정조회.xrw
  4. * 설 명 : 검사결과판정조회
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 -
  7. * 작 성 일 : 2007.11.24
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>검사결과판정조회</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <dnorinfolist>
  20. <dnorno/>
  21. <dnornm/>
  22. <prcpdd2/>
  23. <dnorbtype/>
  24. <rslt/>
  25. <resn/>
  26. <readdoc/>
  27. <readdt/>
  28. <tnsrnm/>
  29. <tnsrpid/>
  30. <tnsrsexage/>
  31. <orddd/>
  32. <btype/>
  33. <dnorseqno/>
  34. <tnsrrgstno/>
  35. <dnorrgstno/>
  36. <cretno/>
  37. <orddeptcd/>
  38. <acptseqno/>
  39. <orgorddd/>
  40. <ordtype/>
  41. <instcd/>
  42. <prcpstat/>
  43. <postdd/>
  44. <postendyn/>
  45. <barcdprntdt/>
  46. <prcpdd/>
  47. <prcpseqno/>
  48. </dnorinfolist>
  49. <dnortestlist>
  50. <testcd/>
  51. <tclsnm/>
  52. <rsltunit/>
  53. <base/>
  54. <inptrslt/>
  55. <lastreptdt/>
  56. <plus/>
  57. <rsltstat/>
  58. <tclsnm/>
  59. <prcpview/>
  60. </dnortestlist>
  61. <patinfo>
  62. <patnm/>
  63. <pid/>
  64. <sexage/>
  65. <orddd/>
  66. <btype/>
  67. <tnsrrgstno/>
  68. </patinfo>
  69. <dnorinfo>
  70. <dnorno/>
  71. <dnornm/>
  72. <dnorrrgstno/>
  73. <dnorbtype/>
  74. </dnorinfo>
  75. <testddcnt>
  76. <y/>
  77. <n/>
  78. <r/>
  79. <allcnt/>
  80. </testddcnt>
  81. </main>
  82. <send>
  83. <fromdd/>
  84. <todd/>
  85. <patgbn/>
  86. <pattext/>
  87. <dnorgbn/>
  88. <dnortext/>
  89. <refgbn/>
  90. <basecdid/>
  91. <codeflag/>
  92. <testrslt/>
  93. <resncd/>
  94. <pid/>
  95. <dnorno/>
  96. <dnorseqno/>
  97. <testdt/>
  98. <prcpdd2/>
  99. <prcpseq/>
  100. </send>
  101. <init/>
  102. <hidden>
  103. <bacgroup>0</bacgroup>
  104. <bacnm/>
  105. <dt1>20071001</dt1>
  106. <gbn>1</gbn>
  107. <refgbn>
  108. <dt>
  109. <fromdd/>
  110. <todd/>
  111. </dt>
  112. <pat>
  113. <patgbn>1</patgbn>
  114. <pattext/>
  115. </pat>
  116. <dnor>
  117. <dnorgbn>1</dnorgbn>
  118. <dnortext/>
  119. </dnor>
  120. <testrslt>00</testrslt>
  121. <resn>-</resn>
  122. </refgbn>
  123. </hidden>
  124. </root>
  125. </instance>
  126. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  127. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  128. <script type="javascript" ev:event="xforms-ready">
  129. <![CDATA[
  130. // 초기화
  131. fSetInit();
  132. ]]>
  133. </script>
  134. <submission id="TRLBD00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dnorinfolist"/>
  135. <submission id="TRLBD00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dnortestlist"/>
  136. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0102"/>
  137. <submission id="TRLBD00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testddcnt"/>
  138. </model>
  139. <script type="javascript">
  140. <![CDATA[
  141. // 초기화
  142. function fSetInit(){
  143. model.removeNodeset("/root/main/dnorinfolist");
  144. grd_keepbaclist.rebuild();
  145. model.setValue("/root/hidden/gbn", "1");
  146. fSetTestgbn("1");
  147. var today = getCurrentDate();
  148. var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-14);
  149. //model.setValue("/root/hidden/refgbn/dt/fromdd", mDate.getDateFormat("YYYYMMDD"));
  150. model.setValue("/root/hidden/refgbn/dt/fromdd", today);
  151. model.setValue("/root/hidden/refgbn/dt/todd", today);
  152. // 초기정보 조회
  153. model.removeNodeset("/root/init/LB0118");
  154. model.setValue("/root/send/codeflag", "0118|"); // 0118=
  155. model.setValue("/root/send/basecdid", "LB002"); // LB002 = 부적합/재검사유목록
  156. submit("TRLZZ00101");
  157. model.resetInstanceNode("/root/main/dnorinfolist");
  158. model.resetInstanceNode("/root/main/dnortestlist");
  159. model.resetInstanceNode("/root/main/patinfo");
  160. model.resetInstanceNode("/root/main/dnorinfo");
  161. model.resetInstanceNode("/root/main/testddcnt");
  162. grd_keepbaclist.rebuild();
  163. datagrid1.rebuild();
  164. fGetPatInfo();
  165. if(getPatientInfo("pid") != ""){
  166. model.setValue("/root/hidden/gbn", "2");
  167. fSetTestgbn("2");
  168. model.setValue("/root/hidden/refgbn/pat/patgbn", "2");
  169. model.setValue("/root/hidden/refgbn/pat/pattext", getPatientInfo("pid"));
  170. rdo_1.refresh();
  171. combo3.refresh();
  172. //ipt_pid.refresh();
  173. //환자정보조회
  174. fGetDnorInfoList();
  175. return;
  176. }
  177. }
  178. // 검사구분
  179. function fSetTestgbn(gbn){
  180. if(gbn == "1" ) {
  181. grp_1.visible = "true";
  182. grp_2.visible = "false";
  183. grp_3.visible = "false";
  184. var today = getCurrentDate();
  185. var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-14);
  186. //model.setValue("/root/hidden/refgbn/dt/fromdd", mDate.getDateFormat("YYYYMMDD"));
  187. model.setValue("/root/hidden/refgbn/dt/fromdd", today);
  188. model.setValue("/root/hidden/refgbn/dt/todd", today);
  189. }else if (gbn == "2"){
  190. grp_1.visible = "false";
  191. grp_2.visible = "true";
  192. grp_3.visible = "false";
  193. }else if( gbn == "3"){
  194. grp_1.visible = "false";
  195. grp_2.visible = "false";
  196. grp_3.visible = "true";
  197. }
  198. model.refresh();
  199. }
  200. // 공여자정보 리스트 조회
  201. function fGetDnorInfoList(){
  202. model.setValue("/root/send/fromdd", model.getValue("/root/hidden/refgbn/dt/fromdd"));
  203. model.setValue("/root/send/todd", model.getValue("/root/hidden/refgbn/dt/todd"));
  204. model.setValue("/root/send/patgbn", model.getValue("/root/hidden/refgbn/pat/patgbn")); //환자구분 1= 환자명 2= 등록번호
  205. model.setValue("/root/send/pattext", model.getValue("/root/hidden/refgbn/pat/pattext")); //환자검색내용
  206. model.setValue("/root/send/dnorgbn", model.getValue("/root/hidden/refgbn/dnor/dnorgbn")); //공여자구분 1= 공여자명 2-공여자번호
  207. model.setValue("/root/send/dnortext", model.getValue("/root/hidden/refgbn/dnor/dnortext")); //공여자검색내용
  208. model.setValue("/root/send/refgbn", model.getValue("/root/hidden/gbn")); //검사구분 1= 검사일자 2= 환자별 3= 공여자별
  209. model.setValue("/root/send/testrslt", model.getValue("/root/hidden/refgbn/testrslt")); //검사결과
  210. model.setValue("/root/send/resncd", model.getValue("/root/hidden/refgbn/resn")); //사유
  211. if(model.getValue("/root/hidden/gbn")=="2"){ // 1= 검사일자 2= 환자별
  212. if(model.getValue("/root/hidden/refgbn/pat/patgbn")=="1"){
  213. if(model.getValue("/root/hidden/refgbn/pat/pattext")==""){
  214. alert("환자명을 입력하십시오.");
  215. return;
  216. }
  217. }else if(model.getValue("/root/hidden/refgbn/pat/patgbn")=="2"){
  218. if(model.getValue("/root/hidden/refgbn/pat/pattext")==""){
  219. alert("등록번호를 입력하십시오.");
  220. return;
  221. }
  222. }
  223. }else if(model.getValue("/root/hidden/gbn")=="3"){ // 공여자별
  224. if(model.getValue("/root/hidden/refgbn/dnor/dnorgbn")=="1"){
  225. if(model.getValue("/root/hidden/refgbn/dnor/dnortext")==""){
  226. alert("공여자명을 입력하십시오.");
  227. return;
  228. }
  229. }else if(model.getValue("/root/hidden/refgbn/dnor/dnorgbn")=="2"){
  230. if(model.getValue("/root/hidden/refgbn/dnor/dnortext")==""){
  231. alert("공여자번호를 입력하십시오.");
  232. return;
  233. }
  234. }
  235. } // 검사구분 end
  236. submit("TRLBD00901");
  237. // 검사일별현황조회
  238. if(model.getValue("/root/hidden/gbn")=="1"){
  239. fGetTestCnt();
  240. }else{
  241. model.resetInstanceNode("/root/main/testddcnt");
  242. }
  243. if(grd_keepbaclist.rows > 1){
  244. grd_keepbaclist.row = 1;
  245. fGetPatInfo();
  246. //fGetDnorTestList(); //fGetPatInfo(); 에서 조회함
  247. }else{
  248. delPatientInfos(); //환자정보 전체 삭제
  249. model.resetInstanceNode("/root/main/testddcnt");
  250. model.resetInstanceNode("/root/main/patinfo");
  251. model.resetInstanceNode("/root/main/dnorinfo");
  252. model.removeNodeset("/root/main/dnortestlist");
  253. datagrid1.rebuild();
  254. model.refresh();
  255. }
  256. }
  257. //검사일별현황조회
  258. function fGetTestCnt(){
  259. model.setValue("/root/send/fromdd", model.getValue("/root/hidden/refgbn/dt/fromdd"));
  260. model.setValue("/root/send/todd", model.getValue("/root/hidden/refgbn/dt/todd"));
  261. submit("TRLBD00903");
  262. }
  263. function fGetPatInfo(){
  264. if(grd_keepbaclist.row > 0 ) {
  265. model.setValue("/root/main/patinfo/patnm", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrnm"));
  266. model.setValue("/root/main/patinfo/pid", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrpid"));
  267. model.setValue("/root/main/patinfo/sexage", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrsexage"));
  268. model.setValue("/root/main/patinfo/orddd", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/orddd"));
  269. model.setValue("/root/main/patinfo/btype", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/btype"));
  270. model.setValue("/root/main/dnorinfo/dnorno", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/dnorno"));
  271. model.setValue("/root/main/dnorinfo/dnornm", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/dnornm"));
  272. model.setValue("/root/main/dnorinfo/dnorrrgstno", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/dnorrgstno"));
  273. model.setValue("/root/main/dnorinfo/dnorbtype", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/dnorbtype"));
  274. model.setValue("/root/main/patinfo/tnsrrgstno", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrrgstno"));
  275. }else{
  276. model.setValue("/root/main/patinfo/patnm", "");
  277. model.setValue("/root/main/patinfo/pid", "");
  278. model.setValue("/root/main/patinfo/sexage", "");
  279. model.setValue("/root/main/patinfo/orddd", "");
  280. model.setValue("/root/main/patinfo/btype", "");
  281. model.setValue("/root/main/dnorinfo/dnorno", "");
  282. model.setValue("/root/main/dnorinfo/dnornm", "");
  283. model.setValue("/root/main/dnorinfo/dnorrrgstno", "");
  284. model.setValue("/root/main/dnorinfo/dnorbtype", "");
  285. model.setValue("/root/main/patinfo/tnsrrgstno", "");
  286. }
  287. model.refresh();
  288. if(grd_keepbaclist.rows > 1){
  289. if(getPatientInfo("pid") != model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrpid")){
  290. fSetTopInfo();
  291. }
  292. fGetDnorTestList();
  293. }
  294. }
  295. // 공여자별 검사내역 조회
  296. function fGetDnorTestList(){
  297. var testdt = model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/prcpdd")
  298. + model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/barcdprntdt"); //20080904 승현 추가_안씀.. -_-
  299. model.setValue("/root/send/pid", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrpid"));
  300. model.setValue("/root/send/dnorno", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/dnorno"));
  301. model.setValue("/root/send/dnorseqno", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/dnorseqno"));
  302. model.setValue("/root/send/prcpseq", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/prcpseq"));
  303. model.setValue("/root/send/prcpdd2", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/prcpdd2")); //사전검사 일자(최초등록일시) 'YYYYMMDDHH24MI'
  304. model.setValue("/root/send/fromdd", model.getValue("/root/hidden/refgbn/dt/fromdd"));
  305. model.setValue("/root/send/todd", model.getValue("/root/hidden/refgbn/dt/todd"));
  306. model.setValue("/root/send/testdt", testdt); //20080904 승현 추가
  307. if(grd_keepbaclist.rows > 1){
  308. submit("TRLBD00902");
  309. //사후검사 색깔 구분 20080904_승현추가
  310. for( i = 1 ; i < datagrid1.rows; i++){
  311. var prcpview = model.getValue("/root/main/dnortestlist["+ i +"]/prcpview");
  312. if(prcpview == 1){ //1:사후검사, 2: NAT, 3:사전검사
  313. datagrid1.cellStyle("background-color", i, 1, i, datagrid1.cols-1) = "#b9e5fb";
  314. }else if(prcpview == 2){
  315. datagrid1.cellStyle("background-color", i, 1, i, datagrid1.cols-1) = "#f3e1bf";
  316. }else{
  317. datagrid1.cellStyle("background-color", i, 1, i, datagrid1.cols-1) = "#ffffff";
  318. }
  319. }
  320. }
  321. }
  322. // 탑정보
  323. function fSetTopInfo(){
  324. delPatientInfos(); //환자정보 전체 삭제
  325. var today = getCurrentDate();
  326. if(model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/ordtype")=="I"){
  327. setParameter("condparam", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/ordtype") + "▦" +
  328. model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrpid") + "▦" +
  329. model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/orddd") + "▦" +
  330. model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/cretno") + "▦" +
  331. model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/acptseqno") + "▦" + // seqno
  332. today + "▦" +
  333. model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/instcd"));
  334. }else if(model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/ordtype")=="O"){
  335. setParameter("condparam", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/ordtype") + "▦" +
  336. model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrpid") + "▦" +
  337. model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/orddd") + "▦" +
  338. model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/cretno") + "▦" +
  339. model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/instcd") + "▦" +
  340. model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/acptseqno") + "▦" +
  341. model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/orgorddd") + "▦");
  342. }
  343. //modal("SPMMO08900");
  344. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  345. }
  346. // 엔터키 이벤트
  347. function fKeyEvent(){
  348. if(event.keyCode == "13"){
  349. if(event.target=="input4"){
  350. model.setValue("/root/hidden/refgbn/pat/pattext", (input4.currentText).toUpperCase());
  351. // 공여자목록조회
  352. //fGetDnorList("A");
  353. fGetDnorInfoList();
  354. input4.selBegin = 0;
  355. input4.selEnd = input4.currentText.length;
  356. }
  357. if(event.target=="input5"){
  358. model.setValue("/root/hidden/refgbn/dnor/dnortext", (input5.currentText).toUpperCase());
  359. // 공여자목록조회
  360. //fGetDnorList("A");
  361. fGetDnorInfoList();
  362. input5.selBegin = 0;
  363. input5.selEnd = input5.currentText.length;
  364. }
  365. }
  366. }
  367. ]]>
  368. </script>
  369. </xhtml:head>
  370. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  371. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  372. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:224px; height:14px; ">검사결과 판정조회</caption>
  373. </group>
  374. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  375. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  376. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  377. <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  378. <caption>조회</caption>
  379. <script type="javascript" ev:event="DOMActivate">
  380. <![CDATA[
  381. fGetDnorInfoList();
  382. ]]>
  383. </script>
  384. </button>
  385. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  386. <caption id="caption7" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">검사구분 :</caption>
  387. <group id="grp_1" visibility="visible" style="left:345px; top:4px; width:224px; height:30px; color:transparent; background-color:#fffbf2; ">
  388. <input id="input8" ref="/root/hidden/refgbn/dt/fromdd" class="input_s_essential" inputtype="date" style="left:5px; top:5px; width:90px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
  389. <input id="input9" ref="/root/hidden/refgbn/dt/todd" class="input_s_essential" inputtype="date" style="left:113px; top:5px; width:90px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
  390. <caption id="caption11" class="search_n_b" style="left:98px; top:6px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  391. </group>
  392. <group id="grp_2" style="left:345px; top:4px; width:224px; height:30px; color:transparent; background-color:#fffbf2; ">
  393. <select1 id="combo3" ref="/root/hidden/refgbn/pat/patgbn" class="combo_search" appearance="minimal" style="left:5px; top:5px; width:90px; height:19px; ">
  394. <choices>
  395. <item>
  396. <label>환자명</label>
  397. <value>1</value>
  398. </item>
  399. <item>
  400. <label>환자등록번호</label>
  401. <value>2</value>
  402. </item>
  403. </choices>
  404. </select1>
  405. <input id="input4" ref="/root/hidden/refgbn/pat/pattext" class="input_search" style="left:100px; top:5px; width:100px; height:19px; ">
  406. <script type="javascript" ev:event="onkeypress">
  407. <![CDATA[
  408. fKeyEvent();
  409. ]]>
  410. </script>
  411. </input>
  412. </group>
  413. <select1 id="rdo_1" ref="/root/hidden/gbn" class="radio_search" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:110px; top:9px; width:220px; height:18px; border-style:none; ">
  414. <choices>
  415. <item>
  416. <label>검사일자</label>
  417. <value>1</value>
  418. </item>
  419. <item>
  420. <label>환자별</label>
  421. <value>2</value>
  422. </item>
  423. <item>
  424. <label>공여자별</label>
  425. <value>3</value>
  426. </item>
  427. </choices>
  428. <script type="javascript" ev:event="xforms-value-changed">
  429. <![CDATA[
  430. fSetTestgbn(rdo_1.value);
  431. ]]>
  432. </script>
  433. </select1>
  434. <caption id="caption8" class="search_name" style="left:575px; top:9px; width:92px; height:17px; ">검사결과 :</caption>
  435. <select1 id="combo4" ref="/root/hidden/refgbn/testrslt" class="combo_search" appearance="minimal" style="left:669px; top:8px; width:100px; height:19px; ">
  436. <choices>
  437. <item>
  438. <label>전체</label>
  439. <value>00</value>
  440. </item>
  441. <item>
  442. <label>미판정</label>
  443. <value>0</value>
  444. </item>
  445. <item>
  446. <label>적합</label>
  447. <value>1</value>
  448. </item>
  449. <item>
  450. <label>부적합</label>
  451. <value>2</value>
  452. </item>
  453. </choices>
  454. </select1>
  455. <select1 id="combo5" ref="/root/hidden/refgbn/resn" class="combo_search" appearance="minimal" style="left:879px; top:8px; width:100px; height:19px; ">
  456. <choices>
  457. <itemset nodeset="/root/init/LB0118">
  458. <label ref="nm"/>
  459. <value ref="cd"/>
  460. </itemset>
  461. </choices>
  462. </select1>
  463. <caption id="caption12" class="search_name" style="left:785px; top:9px; width:91px; height:17px; ">사유선택 :</caption>
  464. <group id="grp_3" style="left:345px; top:4px; width:224px; height:30px; color:transparent; background-color:#fffbf2; ">
  465. <select1 id="combo2" ref="/root/hidden/refgbn/dnor/dnorgbn" class="combo_search" appearance="minimal" style="left:5px; top:5px; width:90px; height:19px; ">
  466. <choices>
  467. <item>
  468. <label>공여자명</label>
  469. <value>1</value>
  470. </item>
  471. <item>
  472. <label>공여자번호</label>
  473. <value>2</value>
  474. </item>
  475. </choices>
  476. </select1>
  477. <input id="input5" ref="/root/hidden/refgbn/dnor/dnortext" class="input_search" style="left:100px; top:5px; width:100px; height:19px; ">
  478. <script type="javascript" ev:event="onkeypress">
  479. <![CDATA[
  480. fKeyEvent();
  481. ]]>
  482. </script>
  483. </input>
  484. </group>
  485. </group>
  486. <caption id="caption1" class="tit_2" style="left:5px; top:108px; width:96px; height:13px; ">공여자 정보</caption>
  487. <line id="line1" class="line_1" style="x1:0px; y1:123px; x2:1194px; y2:123px; "/>
  488. <datagrid id="grd_keepbaclist" nodeset="/root/main/dnorinfolist" caption="공여자명^공여자 주민번호^사전 검사일자^공여자혈액형^판정결과^부적합사유^판정의^판정일시^사후 검사처방일시^사후검사완료여부^바코드발행일시" colsep="^" colwidth="80, 100, 110, 90, 80, 150, 80, 130, 130, 140^80" defaultrows="1" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:128px; width:1194px; height:232px; ">
  489. <col ref="dnornm"/>
  490. <col ref="dnorrgstno"/>
  491. <col ref="prcpdd2" format="yyyy-mm-dd hh:nn"/>
  492. <col ref="dnorbtype"/>
  493. <col disabled="true" ref="rslt" type="combo">
  494. <choices>
  495. <item>
  496. <label>미판정</label>
  497. <value>0</value>
  498. </item>
  499. <item>
  500. <label>적합</label>
  501. <value>1</value>
  502. </item>
  503. <item>
  504. <label>부적합</label>
  505. <value>2</value>
  506. </item>
  507. </choices>
  508. </col>
  509. <col ref="resn"/>
  510. <col ref="readdoc"/>
  511. <col ref="readdt" format="yyyy-mm-dd hh:nn"/>
  512. <col ref="postdd" format="yyyy-mm-dd hh:nn"/>
  513. <col ref="postendyn"/>
  514. <col ref="barcdprntdt" visibility="hidden"/>
  515. <script type="javascript" ev:event="onclick">
  516. <![CDATA[
  517. if(grd_keepbaclist.isCell(event.target) && grd_keepbaclist.row >= grd_keepbaclist.fixedRows){
  518. // 환자정보 표시
  519. fGetPatInfo();
  520. // 공여자별 검사내역
  521. //fGetDnorTestList(); //fGetPatInfo();에서 조회해서 주석처리 함
  522. }
  523. ]]>
  524. </script>
  525. </datagrid>
  526. <caption id="caption9" class="tit_2" style="left:5px; top:475px; width:131px; height:13px; ">공여자별 검사내역</caption>
  527. <datagrid id="datagrid1" nodeset="/root/main/dnortestlist" caption="검사코드^검사명^결과치^단위^기준치^결과등록일^상태^검사구분" colsep="^" colwidth="100, 250, 190, 110, 170, 130, 100^30" defaultrows="1" explorerbar="sortshow" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:495px; width:1194px; height:232px; ">
  528. <col ref="testcd"/>
  529. <col ref="tclsnm"/>
  530. <col ref="inptrslt"/>
  531. <col ref="rsltunit" format="yyyy-mm-dd hh:nn"/>
  532. <col ref="base"/>
  533. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
  534. <col ref="rsltstat"/>
  535. <col ref="prcpview" visibility="hidden"/>
  536. </datagrid>
  537. <line id="line2" class="line_1" style="x1:0px; y1:490px; x2:1194px; y2:490px; "/>
  538. <caption id="caption18" class="cell_1" style="left:0px; top:75px; width:100px; height:23px; vertical-align:middle; ">환자명</caption>
  539. <caption id="caption10" class="tit_2" style="left:5px; top:55px; width:131px; height:13px; ">환자정보</caption>
  540. <line id="line3" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  541. <output id="output1" ref="/root/main/patinfo/patnm" class="output_fix" appearance="output" style="left:103px; top:76px; width:130px; height:19px; "/>
  542. <output id="output2" ref="/root/main/patinfo/pid" class="output_fix" appearance="output" style="left:339px; top:76px; width:130px; height:19px; "/>
  543. <caption id="caption3" class="cell_1" style="left:236px; top:75px; width:100px; height:23px; vertical-align:middle; ">등록번호</caption>
  544. <caption id="caption4" class="cell_1" style="left:472px; top:75px; width:100px; height:23px; vertical-align:middle; ">성별 / 나이</caption>
  545. <output id="output3" ref="/root/main/patinfo/sexage" class="output_fix" appearance="output" style="left:575px; top:76px; width:130px; height:19px; "/>
  546. <caption id="caption5" class="cell_1" style="left:708px; top:75px; width:100px; height:23px; vertical-align:middle; ">입원일자</caption>
  547. <output id="output4" ref="/root/main/patinfo/orddd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:811px; top:76px; width:130px; height:19px; "/>
  548. <output id="output5" ref="/root/main/patinfo/btype" class="output_fix" appearance="output" style="left:1047px; top:76px; width:147px; height:19px; "/>
  549. <caption id="caption13" class="cell_1" style="left:944px; top:75px; width:100px; height:23px; vertical-align:middle; ">혈액형</caption>
  550. <line id="line4" class="line_3" style="x1:0px; y1:97px; x2:1194px; y2:97px; "/>
  551. <caption id="caption14" style="left:123px; top:108px; width:312px; height:13px; ">* 검사일자로부터 14일간 검사 유효한 것으로 인정합니다.</caption>
  552. <caption id="caption15" class="tit_2" style="left:5px; top:370px; width:100px; height:14px; ">검사일별 현황</caption>
  553. <line id="line5" class="line_1" style="x1:0px; y1:385px; x2:495px; y2:385px; "/>
  554. <caption id="caption16" class="cell_1" style="left:166px; top:390px; width:70px; height:23px; vertical-align:middle; ">적합자</caption>
  555. <output id="output6" ref="/root/main/testddcnt/allcnt" class="output_fix" appearance="output" style="left:73px; top:391px; width:90px; height:19px; "/>
  556. <caption id="caption17" class="cell_1" style="left:0px; top:390px; width:70px; height:23px; vertical-align:middle; ">전체</caption>
  557. <output id="output7" ref="/root/main/testddcnt/y" class="output_fix" appearance="output" style="left:239px; top:391px; width:90px; height:19px; "/>
  558. <output id="output8" ref="/root/main/testddcnt/n" class="output_fix" appearance="output" style="left:405px; top:391px; width:90px; height:19px; "/>
  559. <caption id="caption20" class="cell_1" style="left:332px; top:390px; width:70px; height:23px; vertical-align:middle; ">부적합자</caption>
  560. <caption id="caption21" class="tit_2" style="left:5px; top:423px; width:96px; height:14px; ">공여자 정보</caption>
  561. <line id="line6" class="line_1" style="x1:0px; y1:438px; x2:670px; y2:438px; "/>
  562. <line id="line8" class="line_3" style="x1:0px; y1:412px; x2:495px; y2:412px; "/>
  563. <caption id="caption22" class="tit_2" style="left:680px; top:423px; width:106px; height:13px; ">환자 정보</caption>
  564. <line id="line9" class="line_1" style="x1:680px; y1:438px; x2:1195px; y2:438px; "/>
  565. <output id="output10" ref="/root/main/dnorinfo/dnorno" class="output_fix" appearance="output" style="left:73px; top:444px; width:90px; height:19px; "/>
  566. <caption id="caption23" class="cell_1" style="left:0px; top:443px; width:70px; height:23px; vertical-align:middle; ">공여자번호</caption>
  567. <output id="output11" ref="/root/main/dnorinfo/dnornm" class="output_fix" appearance="output" style="left:229px; top:444px; width:80px; height:19px; "/>
  568. <caption id="caption24" class="cell_1" style="left:166px; top:443px; width:60px; height:23px; vertical-align:middle; ">공여자명</caption>
  569. <output id="output12" ref="/root/main/dnorinfo/dnorrrgstno" class="output_fix" appearance="output" style="left:405px; top:444px; width:120px; height:19px; "/>
  570. <caption id="caption25" class="cell_1" style="left:312px; top:443px; width:90px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  571. <output id="output13" ref="/root/main/patinfo/patnm" class="output_fix" appearance="output" style="left:743px; top:444px; width:80px; height:19px; "/>
  572. <output id="output14" ref="/root/main/patinfo/tnsrrgstno" class="output_fix" appearance="output" style="left:914px; top:444px; width:120px; height:19px; "/>
  573. <output id="output15" ref="/root/main/patinfo/btype" class="output_fix" appearance="output" style="left:1100px; top:444px; width:94px; height:19px; "/>
  574. <caption id="caption26" class="cell_1" style="left:680px; top:443px; width:60px; height:23px; vertical-align:middle; ">환자명</caption>
  575. <caption id="caption27" class="cell_1" style="left:826px; top:443px; width:85px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  576. <caption id="caption28" class="cell_1" style="left:1037px; top:443px; width:60px; height:23px; vertical-align:middle; ">혈액형</caption>
  577. <output id="output16" ref="/root/main/dnorinfo/dnorbtype" class="output_fix" appearance="output" style="left:591px; top:444px; width:79px; height:19px; "/>
  578. <caption id="caption29" class="cell_1" style="left:528px; top:443px; width:60px; height:23px; vertical-align:middle; ">혈액형</caption>
  579. <line id="line10" class="line_3" style="x1:0px; y1:465px; x2:670px; y2:465px; "/>
  580. <line id="line11" class="line_3" style="x1:680px; y1:465px; x2:1195px; y2:465px; "/>
  581. <button id="btn_excel" class="btn2_letter2" style="left:1060px; top:18px; width:42px; height:19px; ">
  582. <caption>엑셀</caption>
  583. <script type="javascript" ev:event="DOMActivate">
  584. <![CDATA[
  585. var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
  586. if(filename != "") {
  587. grd_keepbaclist.saveExcel(filename);
  588. }
  589. ]]>
  590. </script>
  591. </button>
  592. </group>
  593. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  594. <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  595. <caption>초기화</caption>
  596. <script type="javascript" ev:event="onclick">
  597. <![CDATA[
  598. //model.reset();
  599. fSetInit();
  600. ]]>
  601. </script>
  602. </button>
  603. <line id="line7" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  604. </group>
  605. </xhtml:body>
  606. </xhtml:html>