SMMNR07600_혈액미불출리스트조회.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  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>혈액미불출리스트조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <wardcdgrup>
  12. <wardcdgruplist>
  13. <wardnm/>
  14. <wardcd/>
  15. </wardcdgruplist>
  16. </wardcdgrup>
  17. <roomcdgrup>
  18. <roomcdgruplist>
  19. <roomnm/>
  20. <roomcd/>
  21. </roomcdgruplist>
  22. </roomcdgrup>
  23. <patientgrup>
  24. <patientgruplist>
  25. <patientnm/>
  26. <pid/>
  27. </patientgruplist>
  28. </patientgrup>
  29. <patientgrupInfo>
  30. <patientgruplistInfo>
  31. <patientnm/>
  32. <pid/>
  33. <sexage/>
  34. <abo/>
  35. <rhname/>
  36. <rh/>
  37. <btype/>
  38. <reptrslt/>
  39. </patientgruplistInfo>
  40. </patientgrupInfo>
  41. <prcpddfrom/>
  42. <prcdddto/>
  43. <dateflag>prcpddselect</dateflag>
  44. <wardpatientflag>patient</wardpatientflag>
  45. <deliveflag>1</deliveflag>
  46. <execdetlgrup>
  47. <execdetlgruplist>
  48. <wardcd/>
  49. <roomcd/>
  50. <pid/>
  51. <patnm/>
  52. <grdrage/>
  53. <aborh/>
  54. <prcpstat/>
  55. <prcpstatcd/>
  56. <prcppreptfflag/>
  57. <prcpcd/>
  58. <prcpnm/>
  59. <irr/>
  60. <fil/>
  61. <blodno/>
  62. <prcphoeyn/>
  63. <validt/>
  64. <prcphopedd/>
  65. <rgstdt/>
  66. <orddeptcd/>
  67. <depthngnm/>
  68. <orddrid/>
  69. <orddridnm/>
  70. <fstrgstrid/>
  71. <fstrgstrnm/>
  72. <execdt/>
  73. <testexecid/>
  74. <testexecnm/>
  75. <testexecdt/>
  76. <deliveexecid/>
  77. <deliveexecnm/>
  78. <deliveexecdt/>
  79. <acptid/>
  80. <acptnm/>
  81. <acptdt/>
  82. <prcpdelivefact/>
  83. <nurseremark/>
  84. <prcpdd/>
  85. <prcpno/>
  86. <prcphistno/>
  87. <execprcpuniqno/>
  88. <instcd/>
  89. <prepprcpflag/>
  90. <prcplnkdd/>
  91. <prcplnkno/>
  92. <prcpauthflag/>
  93. <prcpinptflag/>
  94. <prepblodseqno/>
  95. <blodbarcd/>
  96. <tnsreqacptno/>
  97. <blodcomcd/>
  98. <blodvol/>
  99. <alttest/>
  100. <alttestdt/>
  101. <antihcvtest/>
  102. <antihcvtestdt/>
  103. <hivtest/>
  104. <hivtestdt/>
  105. <vdrltest/>
  106. <vdrltestdt/>
  107. <hbsagtest/>
  108. <hbsagtestdt/>
  109. <nattest/>
  110. <nattestdt/>
  111. </execdetlgruplist>
  112. </execdetlgrup>
  113. </cond>
  114. </main>
  115. </root>
  116. </instance>
  117. <script type="javascript" ev:event="xforms-ready">
  118. <![CDATA[
  119. model.removeNodeset("/root/main/cond/execdetlgrup/execdetlgruplist");
  120. input2.value = getCurrentDate() ;// 기준일에 현재날짜(디폴트)
  121. var addDy = model.getValue("/root/main/cond/prcpddfrom");
  122. addDy = addDy.toDate().getAddDate(-3,"D");
  123. addDy = addDy.getDateFormat();
  124. input2.value = addDy;
  125. input11.value = getCurrentDate();// 기준일에 현재날짜(디폴트)
  126. fInit();
  127. ]]>
  128. </script>
  129. <submission id="TRMNR07602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cond/wardcdgrup"/>
  130. <submission id="TRMNR07603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cond/roomcdgrup"/>
  131. <submission id="TRMNR07604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cond/patientgrup"/>
  132. <submission id="TRMNR07605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cond/patientgrupInfo"/>
  133. <submission id="TRMNR07606" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cond/execdetlgrup"/>
  134. </model>
  135. <script type="javascript" src="../../../emr/carerecweb/js/SMMNR07600.js"/>
  136. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  137. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  138. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  139. </xhtml:head>
  140. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  141. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  142. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; ">혈액미불출리스트조회</caption>
  143. </group>
  144. <group id="grp_biz" scroll="l" style="left:0px; top:13px; width:1195px; height:757px; ">
  145. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:55px; vertical-align:top; ">
  146. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
  147. <button id="button3" class="btn1_letter2" style="left:1030px; top:15px; width:56px; height:22px; ">
  148. <caption>조회</caption>
  149. <script type="javascript" ev:event="DOMActivate">
  150. <![CDATA[
  151. fGetBlodNoDeliveList();//혈액미불출 리스트 조회버튼
  152. ]]>
  153. </script>
  154. </button>
  155. <line id="line13" class="line_4" style="x1:1020px; y1:15px; x2:1020px; y2:37px; "/>
  156. <caption id="caption2" class="search_name" style="left:521px; top:7px; width:105px; height:17px; ">병동 :</caption>
  157. <select1 id="combo1" ref="/root/main/cond/dateflag" appearance="minimal" style="left:111px; top:6px; width:103px; height:19px; ">
  158. <choices>
  159. <item>
  160. <label>처방일</label>
  161. <value>prcpddselect</value>
  162. </item>
  163. <item>
  164. <label>불출일</label>
  165. <value>deliveselect</value>
  166. </item>
  167. <item>
  168. <label>폐기예정일</label>
  169. <value>abnselect</value>
  170. </item>
  171. </choices>
  172. <script type="javascript" ev:event="xforms-value-changed">
  173. <![CDATA[
  174. // if(radio1.value == "patient") {
  175. // if (input3.value == ""){
  176. // messageBox("등록번호를 ","C001");
  177. // model.setfocus("input3");
  178. // return;
  179. // }
  180. // }
  181. //
  182. // fGetBlodNoDeliveList();//혈액미불출 리스트 조회버튼
  183. ]]>
  184. </script>
  185. </select1>
  186. <caption id="caption1" style="left:318px; top:7px; width:15px; height:20px; ">~</caption>
  187. <select1 id="radio1" ref="/root/main/cond/wardpatientflag" class="radio_search" appearance="full" rows="2" overflow="visible" style="left:446px; top:6px; width:60px; height:45px; line-spacing:5; border-style:none; ">
  188. <choices>
  189. <item>
  190. <label>병동별</label>
  191. <value>ward</value>
  192. </item>
  193. <item>
  194. <label>환자별</label>
  195. <value>patient</value>
  196. </item>
  197. </choices>
  198. <script type="javascript" ev:event="xforms-value-changed">
  199. <![CDATA[
  200. if( radio1.value == 'ward') {
  201. combo2.disabled = true ;
  202. combo8.disabled = true ;
  203. input3.disabled = true ;
  204. combo2.value = "" ;
  205. combo8.value = "" ;
  206. input3.value = "" ;
  207. output3.value = "" ;
  208. output2.value = "" ;
  209. combo7.selectedIndex = 0 ;
  210. model.setfocus("combo7");
  211. } else {
  212. combo2.disabled = false ;
  213. combo8.disabled = false ;
  214. input3.disabled = false ;
  215. output2.visible = false;
  216. combo2.value = "" ;
  217. combo8.value = "" ;
  218. input3.value = "" ;
  219. output3.value = "" ;
  220. output2.value = "" ;
  221. combo7.selectedIndex = 0 ;
  222. model.setfocus("combo7");
  223. }
  224. model.removeNodeset("/root/main/cond/execdetlgrup");
  225. model.refresh();
  226. ]]>
  227. </script>
  228. </select1>
  229. <caption id="caption4" class="search_name" style="left:715px; top:7px; width:69px; height:17px; ">병실 :</caption>
  230. <caption id="caption3" class="search_name" style="left:715px; top:31px; width:69px; height:17px; ">성명 :</caption>
  231. <caption id="caption5" class="search_name" style="left:885px; top:31px; width:71px; height:17px; ">S/A :</caption>
  232. <caption id="caption7" class="search_name" style="left:520px; top:31px; width:86px; height:17px; ">등록번호 :</caption>
  233. <select1 id="radio2" ref="/root/main/cond/deliveflag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:22px; top:34px; width:157px; height:15px; border-style:none; ">
  234. <choices>
  235. <item>
  236. <label>전체</label>
  237. <value>1</value>
  238. </item>
  239. <item>
  240. <label>불출</label>
  241. <value>2</value>
  242. </item>
  243. <item>
  244. <label>미불출</label>
  245. <value>3</value>
  246. </item>
  247. </choices>
  248. <script type="javascript" ev:event="xforms-value-changed">
  249. <![CDATA[
  250. fGetBlodNoDeliveList();//혈액미불출 리스트 조회버튼
  251. ]]>
  252. </script>
  253. </select1>
  254. <input id="input2" ref="/root/main/cond/prcpddfrom" class="input_default" inputtype="date" style="left:218px; top:6px; width:95px; height:19px; ">
  255. <script type="javascript" ev:event="xforms-value-changed">
  256. <![CDATA[
  257. // if(radio1.value == "patient") {
  258. // if (input3.value == ""){
  259. // messageBox("등록번호를 ","C001");
  260. // model.setfocus("input3");
  261. // return;
  262. // }
  263. // }
  264. //
  265. // fGetPatientInfo();// 환자 개인정보를 가져온다.
  266. // fGetBlodNoDeliveList();//혈액미불출 리스트 조회버튼
  267. ]]>
  268. </script>
  269. </input>
  270. <input id="input11" ref="/root/main/cond/prcdddto" class="input_default" inputtype="date" style="left:334px; top:6px; width:95px; height:19px; ">
  271. <script type="javascript" ev:event="xforms-value-changed">
  272. <![CDATA[
  273. // if(radio1.value == "patient") {
  274. // if (input3.value == ""){
  275. // messageBox("등록번호를 ","C001");
  276. // model.setfocus("input3");
  277. // return;
  278. // }
  279. // }
  280. //
  281. // fGetPatientInfo();// 환자 개인정보를 가져온다.
  282. // fGetBlodNoDeliveList();//혈액미불출 리스트 조회버튼
  283. ]]>
  284. </script>
  285. </input>
  286. <select1 id="combo7" ref="/root/main/cond/wardcdgrup/wardcdgruplist" class="combo_s_essential" appearance="minimal" style="left:610px; top:6px; width:90px; height:19px; ">
  287. <choices>
  288. <itemset nodeset="/root/main/cond/wardcdgrup/wardcdgruplist">
  289. <label ref="wardnm"/>
  290. <value ref="wardcd"/>
  291. </itemset>
  292. </choices>
  293. <script type="javascript" ev:event="xforms-value-changed">
  294. <![CDATA[
  295. if( radio1.value == 'ward') {
  296. fGetBlodNoDeliveList();//혈액미불출 리스트 조회버튼
  297. } else {
  298. input3.value = "" ;
  299. output2.value = "" ;
  300. output3.value = "" ;
  301. output2.visible = false;
  302. combo8.value = "";
  303. fGetRoomList();// 병실정보를 가져온다.
  304. }
  305. ]]>
  306. </script>
  307. </select1>
  308. <select1 id="combo2" ref="/root/main/cond/roomcdgrup/roomcdgruplist" class="combo_search" appearance="minimal" style="left:780px; top:6px; width:85px; height:19px; ">
  309. <choices>
  310. <itemset nodeset="/root/main/cond/roomcdgrup/roomcdgruplist">
  311. <label ref="roomnm"/>
  312. <value ref="roomcd"/>
  313. </itemset>
  314. </choices>
  315. <script type="javascript" ev:event="xforms-value-changed">
  316. <![CDATA[
  317. input3.value = "" ;
  318. output2.value = "" ;
  319. output3.value = "" ;
  320. fGetPatientList();// 환자리스트 정보를 가져온다.
  321. ]]>
  322. </script>
  323. </select1>
  324. <select1 id="combo8" ref="/root/main/cond/patientgrup/patientgruplist" class="combo_search" appearance="minimal" style="left:780px; top:30px; width:85px; height:19px; ">
  325. <choices>
  326. <itemset nodeset="/root/main/cond/patientgrup/patientgruplist">
  327. <label ref="patientnm"/>
  328. <value ref="pid"/>
  329. </itemset>
  330. </choices>
  331. <script type="javascript" ev:event="xforms-value-changed">
  332. <![CDATA[
  333. input3.value = "" ;
  334. output2.value = "" ;
  335. output3.value = "" ;
  336. fGetPatientInfo();// 환자 개인정보를 가져온다.
  337. fGetBlodNoDeliveList();//혈액미불출 리스트 조회버튼
  338. ]]>
  339. </script>
  340. </select1>
  341. <output id="output3" ref="/root/main/cond/patientgrupInfo/patientgruplistInfo/sexage" class="output_search" style="left:948px; top:30px; width:50px; height:19px; "/>
  342. <input id="input3" ref="/root/main/cond/patientgrupInfo/patientgruplistInfo/pid" class="input_search" maxlength="10" style="left:610px; top:30px; width:90px; height:19px; ">
  343. <script type="javascript" ev:event="onkeyup">
  344. <![CDATA[
  345. inputEnterKey("button3", "DOMActivate");
  346. if(event.keyCode == "13") {
  347. fGetPatientInfo("entr");
  348. output2.visible = true;
  349. model.removenodeSet("/root/main/cond/roomcdgrup/roomcdgruplist");
  350. }
  351. ]]>
  352. </script>
  353. </input>
  354. <output id="output2" ref="/root/main/cond/patientgrupInfo/patientgruplistInfo/patientnm" class="output_search" visibility="hidden" style="left:780px; top:30px; width:85px; height:19px; "/>
  355. <caption id="caption9" class="search_name" style="left:22px; top:7px; width:92px; height:17px; ">조회기준 :</caption>
  356. <button id="button1" class="btn1_letter4" style="left:1094px; top:15px; width:80px; height:22px; ">
  357. <caption>엑셀저장</caption>
  358. <script type="javascript" ev:event="DOMActivate">
  359. <![CDATA[
  360. fSaveExcel();
  361. ]]>
  362. </script>
  363. </button>
  364. </group>
  365. <datagrid id="datagrid5" nodeset="/root/main/cond/execdetlgrup/execdetlgruplist" caption="병실^등록번호^환자명^S/A^ABO RH^상태^처방구분^처방코드^처방명^Irr^Fil^혈액번호^폐기예정일^예약일시^처방일시^처방의^불출신청일시^불출신청자^불출일시^불출자^검사자^전달사항^간호사 remark^ALT^ALT 검사시간^Anti-HCV^Anti-HCV 검사시간^HIV^HIV 검사시간^VDRL^VDRL 검사시간^HbsAg^HbsAg 검사시간^NAT(사후)^NAT(사후) 검사시간" colsep="^" colwidth="50, 80, 60, 45, 53, 65, 60, 70, 230, 30, 30, 80, 105, 105, 105, 70, 105, 70, 105, 70, 70, 110, 110, 90, 105, 90, 105, 90, 105, 90, 105, 90, 105, 90, 105" ellipsis="true" explorerbar="sort" frozencols="9" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:93px; width:1190px; height:634px; ">
  366. <col ref="roomcd" style="text-align:center; "/>
  367. <col ref="pid" style="text-align:center; "/>
  368. <col ref="patnm" style="text-align:center; "/>
  369. <col ref="grdrage" style="text-align:center; "/>
  370. <col ref="aborh" style="text-align:center; "/>
  371. <col ref="prcpstat" style="text-align:center; "/>
  372. <col ref="prcppreptfflag" style="text-align:center; "/>
  373. <col ref="prcpcd" style="text-align:center; "/>
  374. <col ref="prcpnm"/>
  375. <col disabled="true" ref="irr" type="checkbox" style="text-align:center; "/>
  376. <col disabled="true" ref="fil" type="checkbox" style="text-align:center; "/>
  377. <col ref="blodno" style="text-align:center; "/>
  378. <col ref="validt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  379. <col ref="prcphopedd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  380. <col ref="rgstdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  381. <col ref="orddridnm" style="text-align:center; "/>
  382. <col ref="execdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  383. <col ref="fstrgstrnm" style="text-align:center; "/>
  384. <col ref="deliveexecdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  385. <col ref="deliveexecnm" style="text-align:center; "/>
  386. <col ref="testexecnm" style="text-align:center; "/>
  387. <col ref="prcpdelivefact"/>
  388. <col ref="nurseremark"/>
  389. <col ref="alttest" style="text-align:center; "/>
  390. <col ref="alttestdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  391. <col ref="antihcvtest" style="text-align:center; "/>
  392. <col ref="antihcvtestdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  393. <col ref="hivtest" style="text-align:center; "/>
  394. <col ref="hivtestdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  395. <col ref="vdrltest" style="text-align:center; "/>
  396. <col ref="vdrltestdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  397. <col ref="hbsagtest" style="text-align:center; "/>
  398. <col ref="hbsagtestdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  399. <col ref="nattest" style="text-align:center; "/>
  400. <col ref="nattestdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  401. </datagrid>
  402. <line id="line16" class="line_1" style="x1:0px; y1:88px; x2:1190px; y2:88px; "/>
  403. <caption id="caption26" class="tit_2" style="left:5px; top:73px; width:109px; height:13px; vertical-align:middle; ">수행처방내역</caption>
  404. <caption id="caption8" style="left:1090px; top:730px; width:100px; height:20px; text-align:right; ">[표]</caption>
  405. </group>
  406. </xhtml:body>
  407. </xhtml:html>