SMMNA01600_혈액불출등록.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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. <apuinfo>
  11. <apulist>
  12. <chk/>
  13. <execdt/>
  14. <tnsrpid/>
  15. <dnorno/>
  16. <dnorseqno/>
  17. <instcd/>
  18. <bizmdlkindnm/>
  19. <wardcd/>
  20. <roomcd/>
  21. <tnsrhngnm/>
  22. <tnsrsexage/>
  23. <tnsrbtype/>
  24. <dnorhngnm/>
  25. <dnorsexage/>
  26. <dnorbtype/>
  27. <remark/>
  28. <bizstartdd/>
  29. <bizenddd/>
  30. <bizstarttm/>
  31. <bizendtm/>
  32. <outflag/>
  33. <apuoutdd/>
  34. <apuouttm/>
  35. <apuoutid/>
  36. <apuoutnm/>
  37. <confdd/>
  38. <conftm/>
  39. <confid/>
  40. <confnm/>
  41. <bizlrgkind/>
  42. <bizmdlkind/>
  43. <status/>
  44. <phqty/>
  45. <yieldqty/>
  46. <outremark/>
  47. </apulist>
  48. </apuinfo>
  49. <userpopupinfo/>
  50. </main>
  51. <cond>
  52. <iogbn>A</iogbn>
  53. <wardcd/>
  54. <fromdd/>
  55. <todd/>
  56. <outflag>N</outflag>
  57. </cond>
  58. <hidden>
  59. <wardlist>
  60. </wardlist>
  61. <bizlrgkind>1</bizlrgkind>
  62. </hidden>
  63. <send>
  64. <reqdata/>
  65. <savedata/>
  66. </send>
  67. </root>
  68. </instance>
  69. <submission id="TRMNA01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/apuinfo"/>
  70. <submission id="TRMNA01602" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/hidden/wardlist"/>
  71. <submission id="TXMNA01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  72. <script type="javascript" ev:event="xforms-ready">
  73. <![CDATA[
  74. fInit();
  75. ]]>
  76. </script>
  77. </model>
  78. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  79. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  81. <script type="javascript" src="../../../emr/carecomweb/js/SPMNP00001.js"/>
  82. <script type="javascript" src="../../../emr/apumngtweb/js/SMMNA01600.js"/>
  83. </xhtml:head>
  84. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  85. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  86. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:113px; height:14px; ">혈액불출등록</caption>
  87. </group>
  88. <group id="grp_sea" style="left:0px; top:20px; width:1194px; height:35px; vertical-align:top; ">
  89. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  90. <caption id="caption7" class="search_name" style="left:271px; top:11px; width:89px; height:17px; ">병동 :</caption>
  91. <input id="ipt_Enddd" ref="/root/cond/todd" class="input_search" inputtype="date" style="left:663px; top:8px; width:85px; height:19px; "/>
  92. <caption id="caption3" class="search_name" style="left:475px; top:9px; width:90px; height:17px; ">헌혈일자 :</caption>
  93. <caption id="caption5" style="left:650px; top:12px; width:12px; height:13px; ">~</caption>
  94. <input id="ipt_Fromdd" ref="/root/cond/fromdd" class="input_search" inputtype="date" style="left:563px; top:8px; width:85px; height:19px; "/>
  95. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  96. <button id="btn_select" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  97. <caption>조회</caption>
  98. <script type="javascript" ev:event="DOMActivate">
  99. <![CDATA[
  100. fSearch();
  101. ]]>
  102. </script>
  103. </button>
  104. <select1 id="cmb_wardcd" ref="/root/cond/wardcd" appearance="minimal" style="left:335px; top:10px; width:110px; height:19px; ">
  105. <choices>
  106. <itemset nodeset="/root/hidden/wardlist">
  107. <label ref="nm"/>
  108. <value ref="cd"/>
  109. </itemset>
  110. </choices>
  111. <script type="javascript" ev:event="xforms-value-changed">
  112. <![CDATA[
  113. fSearch();
  114. ]]>
  115. </script>
  116. </select1>
  117. <caption id="caption1" class="search_name" style="left:10px; top:10px; width:65px; height:17px; ">구분 :</caption>
  118. <select1 id="rdo_iogbn" ref="/root/cond/iogbn" appearance="full" cols="3" overflow="visible" style="left:75px; top:9px; width:160px; height:20px; border-style:none; ">
  119. <choices>
  120. <item>
  121. <label>전체</label>
  122. <value>A</value>
  123. </item>
  124. <item>
  125. <label>외래</label>
  126. <value>O</value>
  127. </item>
  128. <item>
  129. <label>입원</label>
  130. <value>I</value>
  131. </item>
  132. </choices>
  133. <script type="javascript" ev:event="xforms-value-changed">
  134. <![CDATA[
  135. fDisabledCondWardCd(model.getValue(xCondPath + '/iogbn'));//외래입원구분에따른병동선택화면처리
  136. fSearch();
  137. ]]>
  138. </script>
  139. </select1>
  140. <caption id="caption2" class="search_name" style="left:775px; top:10px; width:65px; height:17px; ">구분 :</caption>
  141. <select1 id="rdo_outflag" ref="/root/cond/outflag" appearance="full" cols="3" overflow="visible" style="left:840px; top:9px; width:160px; height:20px; border-style:none; ">
  142. <choices>
  143. <item>
  144. <label>전체</label>
  145. <value>A</value>
  146. </item>
  147. <item>
  148. <label>불출</label>
  149. <value>Y</value>
  150. </item>
  151. <item>
  152. <label>미불출</label>
  153. <value>N</value>
  154. </item>
  155. </choices>
  156. <script type="javascript" ev:event="xforms-value-changed">
  157. <![CDATA[
  158. fSearch();
  159. ]]>
  160. </script>
  161. </select1>
  162. </group>
  163. <caption id="caption4" class="tit_2" style="left:5px; top:64px; width:113px; height:13px; ">혈액불출 리스트</caption>
  164. <line id="line2" class="line_1" style="x1:0px; y1:180px; x2:1194px; y2:180px; "/>
  165. <group id="grp_edu" style="left:0px; top:80px; width:1194px; height:700px; ">
  166. <datagrid id="grd_apulist" nodeset="/root/main/apuinfo/apulist" class="datagrid2" autoresize="true" caption="선택^혈액&#xA;성분명^ 병동^호실^수혜자&#xA;등록번호^환자명^환자&#xA;S/A^환자&#xA;혈액형^공여자순번^공여자^공여자&#xA;S/A^공여자&#xA;혈액형^비고^시작&#xA;일자^시작&#xA;시간^종료&#xA;일자^종료&#xA;시간^불출&#xA;여부^불출일자^불출&#xA;시간^불출자^불출자&#xA;아이디^확인일자^확인&#xA;시간^확인자^확인자&#xA;아이디^수행일시^공여자순번^기관코드^업무대분류^업무중분류^update상태^ph^yield^불출remark" colsep="^" colwidth="36, 60, 69, 55, 76, 67, 48, 49, 100, 56, 57, 50, 60, 41, 42, 43, 45, 45, 67, 44, 72, 76, 67, 46, 72, 100, 119, 100, 100, 100, 100, 100, 100, 100, 200" explorerbar="sortshow" frozencols="9" mergecellsfixedrows="bycol" rowheader="seq" rowsep="|" selectionmode="free" style="left:0px; top:3px; width:1194px; height:697px; text-align:center; vertical-align:middle; ">
  167. <col ref="chk" type="checkbox"/>
  168. <col ref="bizmdlkindnm"/>
  169. <col ref="wardcd" visibility="hidden" style="text-align:center; "/>
  170. <col ref="roomcd" style="text-align:center; "/>
  171. <col ref="tnsrpid" style="text-align:center; "/>
  172. <col ref="tnsrhngnm"/>
  173. <col ref="tnsrsexage" style="text-align:center; "/>
  174. <col ref="tnsrbtype" style="text-align:center; "/>
  175. <col ref="dnorno" style="text-align:center; "/>
  176. <col ref="dnorhngnm" style="text-align:center; "/>
  177. <col ref="dnorsexage" style="text-align:center; "/>
  178. <col ref="dnorbtype" style="text-align:center; "/>
  179. <col ref="remark" visibility="hidden" style="text-align:left; "/>
  180. <col ref="bizstartdd" visibility="hidden" style="left:930px; top:23px; width:43px; height:23px; "/>
  181. <col ref="bizstarttm" format="hh:nn" style="text-align:center; "/>
  182. <col ref="bizenddd" visibility="hidden" style="text-align:center; "/>
  183. <col ref="bizendtm" format="hh:nn" style="text-align:center; "/>
  184. <col ref="outflag" style="text-align:center; "/>
  185. <col ref="apuoutdd" type="input" format="yyyy-mm-dd"/>
  186. <col ref="apuouttm" type="input" format="hh:nn"/>
  187. <col ref="apuoutnm" type="inputbutton"/>
  188. <col ref="apuoutid" visibility="hidden"/>
  189. <col ref="confdd" format="yyyy-mm-dd"/>
  190. <col ref="conftm" format="hh:nn"/>
  191. <col ref="confnm"/>
  192. <col ref="confid" visibility="hidden"/>
  193. <col ref="execdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  194. <col ref="dnorseqno" visibility="hidden" style="text-align:center; "/>
  195. <col ref="instcd" visibility="hidden"/>
  196. <col ref="bizlrgkind" visibility="hidden"/>
  197. <col ref="bizmdlkind" visibility="hidden"/>
  198. <col ref="status" visibility="hidden" style="text-align:center; "/>
  199. <col ref="phqty" type="input" format="#,###" style="text-align:right; "/>
  200. <col ref="yieldqty" type="input" format="#,###" style="text-align:rigth; "/>
  201. <col ref="outremark" type="input" style="text-align:left; "/>
  202. <script type="javascript" ev:event="ondblclick">
  203. <![CDATA[
  204. /*
  205. var sSearchdd = model.getValue("/root/main/operation/list/opcnfmdd");
  206. var sChargerNm = model.getValue(sGridXpath+"["+iRow+"]/actnm");
  207. fUseridPopup("", sGridXpath+"["+iRow+"]/actid", sGridXpath+"["+iRow+"]/actnm", "", sChargerNm, datagrid1, "", sSearchdd);
  208. */
  209. if(grd_apulist.col == grd_apulist.colRef("apuoutnm")){
  210. //불출자선택팝업
  211. fGetWorkerId('out');
  212. } else if (grd_apulist.col == grd_apulist.colRef("confnm")){
  213. //확인자선택팝업
  214. //fGetWorkerId('conf');
  215. }
  216. ]]>
  217. </script>
  218. <script type="javascript" ev:event="xforms-value-changed">
  219. <![CDATA[
  220. fSetUpdateState();
  221. ]]>
  222. </script>
  223. <script type="javascript" ev:event="onbuttonclick">
  224. <![CDATA[
  225. if(grd_apulist.col == grd_apulist.colRef("apuoutnm")){
  226. //불출자선택팝업
  227. fGetWorkerId('out');
  228. } else if (grd_apulist.col == grd_apulist.colRef("confnm")){
  229. //확인자선택팝업
  230. //fGetWorkerId('conf');
  231. }
  232. ]]>
  233. </script>
  234. <script type="javascript" ev:event="ondelayclick">
  235. <![CDATA[
  236. if(grd_apulist.col == grd_apulist.colRef("apuoutnm")){
  237. //불출자선택팝업
  238. fGetWorkerId('out');
  239. } else if (grd_apulist.col == grd_apulist.colRef("confnm")){
  240. //확인자선택팝업
  241. //fGetWorkerId('conf');
  242. }
  243. ]]>
  244. </script>
  245. <script type="javascript" ev:event="onkeydown">
  246. <![CDATA[
  247. if(event.keyCode==13){
  248. if(grd_apulist.col == grd_apulist.colRef("apuoutnm")){
  249. //불출자선택팝업
  250. fGetWorkerId('out');
  251. } else if (grd_apulist.col == grd_apulist.colRef("confnm")){
  252. //확인자선택팝업
  253. //fGetWorkerId('conf');
  254. }
  255. }
  256. ]]>
  257. </script>
  258. <script type="javascript" ev:event="onaftersort">
  259. <![CDATA[
  260. grd_apulist.gridToInstance();
  261. ]]>
  262. </script>
  263. </datagrid>
  264. </group>
  265. <button id="btn_save" class="btn5_letter2" style="left:1149px; top:58px; width:42px; height:19px; ">
  266. <caption>저장</caption>
  267. <script type="javascript" ev:event="DOMActivate">
  268. <![CDATA[
  269. fRemarkSave();
  270. ]]>
  271. </script>
  272. </button>
  273. <button id="btn_excel" class="btn5_letter2" style="left:1035px; top:58px; width:42px; height:19px; ">
  274. <caption>엑셀</caption>
  275. <script type="javascript" ev:event="DOMActivate">
  276. <![CDATA[
  277. var file = window.fileDialog("save","","true","","xls","All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  278. if(file != "") {
  279. grd_apulist.saveExcel(file);
  280. }
  281. ]]>
  282. </script>
  283. </button>
  284. <button id="button1" class="btn5_letter4" style="left:1081px; top:58px; width:64px; height:19px; ">
  285. <caption>불출등록</caption>
  286. <script type="javascript" ev:event="DOMActivate">
  287. <![CDATA[
  288. fSave();
  289. ]]>
  290. </script>
  291. </button>
  292. </xhtml:body>
  293. </xhtml:html>