SMAZZ00601_방사선종양자동접수.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../ast/commonweb/css/astcommon.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. </main>
  11. <send>
  12. <pid/>
  13. <suppdeptcd/>
  14. <globalinstance>
  15. <instance1/>
  16. </globalinstance>
  17. </send>
  18. <init>
  19. </init>
  20. <hidden>
  21. <item>
  22. <count/>
  23. <noncount/>
  24. <hngnm/>
  25. <execcnt/>
  26. <totalcnt/>
  27. </item>
  28. </hidden>
  29. <temp>
  30. </temp>
  31. <images>
  32. <logoimg/>
  33. </images>
  34. <chktime>
  35. <timevalue/>
  36. </chktime>
  37. </root>
  38. </instance>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. window.maximize();
  42. //커서 위치 setting
  43. model.setfocus( "ipt_pid" );
  44. //지원부서코드 setting
  45. var suppdeptcd = "";
  46. suppdeptcd = getScreenMenuParameter();
  47. if (suppdeptcd == "" || suppdeptcd == null || suppdeptcd == "null"){
  48. aezfSetSuppDeptcd();
  49. }else{
  50. model.setValue("/root/send/globalinstance/instance1", suppdeptcd);
  51. }
  52. model.setValue("/root/send/suppdeptcd",model.getValue("/root/send/globalinstance/instance1"));
  53. //병원로고 이미지
  54. model.makeValue("/root/images/logoimg", getImageURL("biglogo"+getUserInfo("dutplceinstcd"), "jpg"));
  55. model.refresh();
  56. ]]>
  57. </script>
  58. <submission id="TRAZZ00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
  59. </model>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  63. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  66. <script type="javascript">
  67. <![CDATA[
  68. var gTimer;
  69. //=====================================================================================================================================================================================
  70. // @ Timer Set (10초뒤에 Main 화면으로 전환됨)
  71. //=====================================================================================================================================================================================
  72. function fIntervalSetting(){
  73. var interval = 10000; //10초
  74. gTimer = window.setInterval("finitScreen()", interval );
  75. }
  76. //=====================================================================================================================================================================================
  77. // @ 초기 화면 Set
  78. //=====================================================================================================================================================================================
  79. function finitScreen(){
  80. model.toggle("case1");
  81. window.clearinterval(gTimer );
  82. gTimer = null;
  83. //커서 위치 setting
  84. model.setfocus( "ipt_pid" );
  85. model.setValue("/root/send/pid","");
  86. model.refresh();
  87. }
  88. ]]>
  89. </script>
  90. </xhtml:head>
  91. <xhtml:body class="datagrid2" guideline="1,1253;2,154;1,150;" style="width:1280px; height:990px; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  92. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:1250px; height:950px; ">
  93. <switch id="switch1" class="sw_box" style="left:0px; top:0px; width:1235px; height:925px; ">
  94. <case id="case1" selected="true">
  95. <img id="img3" src="../../../ast/commonweb/images/up_wave.gif" style="left:355px; top:0px; width:878px; height:300px; background-stretch:stretch; "/>
  96. <img id="img2" src="../../../ast/commonweb/images/under_wave.gif" style="left:0px; top:623px; width:878px; height:300px; background-stretch:stretch; "/>
  97. <img id="img1" ref="/root/images/logoimg" src="../../../ast/commonweb/images/SSMH_Signature_01.gif" style="left:30px; top:35px; width:455px; height:105px; background-stretch:stretch; "/>
  98. <caption id="caption1" style="left:145px; top:300px; width:925px; height:110px; font-family:굴림; font-size:55ptpt; font-weight:bold; color:#3366ff; text-align:center; ">치료 예약환자 자동접수</caption>
  99. <caption id="caption2" style="left:140px; top:430px; width:965px; height:255px; font-family:굴림; font-size:48pt; font-weight:bold; color:#cc99ff; text-align:center; ">
  100. <![CDATA[진료카드를 바코드리더기에
  101. 접촉시켜 주십시오.]]>
  102. </caption>
  103. <caption id="caption13" style="left:155px; top:195px; width:925px; height:110px; font-family:굴림; font-size:55ptpt; font-weight:bold; color:#3366ff; text-align:center; ">방사선종양학과</caption>
  104. <button id="btn_sea" class="btn1_letter2" visibility="hidden" style="left:805px; top:700px; width:56px; height:22px; ">
  105. <caption>접수</caption>
  106. <script type="javascript" ev:event="DOMActivate">
  107. <![CDATA[
  108. if( gTimer != null ){
  109. //messageBox(" 잠시만 기다려 주십시오! ", "E999");
  110. model.toggle("case4");
  111. }
  112. else{
  113. //접수처리
  114. submit("TRAZZ00601");
  115. if(model.getValue("/root/hidden/item/count") > 0 ){ //당일예약처방을 접수함.
  116. model.toggle("case2");
  117. fIntervalSetting();
  118. model.refresh();
  119. }else if(model.getValue("/root/hidden/item/count") == 0){ //당일예약처방 접수할 처방 없음.
  120. if(model.getValue("/root/hidden/item/noncount") == 0 ){//당일예약 X, 당일접수X
  121. model.toggle("case3");
  122. fIntervalSetting();
  123. model.refresh();
  124. }else if(model.getValue("/root/hidden/item/noncount") > 0 ){ // 이미 당일접수 함
  125. model.toggle("case5");
  126. fIntervalSetting();
  127. model.refresh();
  128. }
  129. }
  130. }
  131. ]]>
  132. </script>
  133. </button>
  134. <caption id="cpt_pid" ref="/root/hidden/item/totalcnt" style="left:410px; top:660px; width:380px; height:95px; font-family:굴림; font-size:54pt; font-weight:bold; color:#800000; text-align:center; background-image:../../../ast/commonweb/images/patnm_caption_new.gif; background-stretch:stretch; "/>
  135. <input id="ipt_pid" ref="/root/send/pid" class="input_search" visibility="visible" style="left:415px; top:665px; width:370px; height:85px; font-family:굴림; font-size:36pt; font-weight:bold; color:#800080; text-align:center; background-color:#ffffd9; ">
  136. <script type="javascript" ev:event="onkeydown">
  137. <![CDATA[
  138. inputEnterKey("btn_sea","DOMActivate");
  139. ]]>
  140. </script>
  141. </input>
  142. </case>
  143. <case id="case2">
  144. <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:60px; top:80px; width:1105px; height:775px; "/>
  145. <caption id="caption6" ref="/root/hidden/item/hngnm" style="left:149px; top:154px; width:300px; height:95px; font-family:굴림; font-size:54pt; font-weight:bold; color:#800000; text-align:center; background-image:../../../ast/commonweb/images/patnm_caption_new.gif; background-stretch:stretch; "/>
  146. <caption id="caption10" style="left:454px; top:169px; width:105px; height:75px; font-family:굴림; font-size:50ptpt; font-weight:bold; color:#0000ff; text-align:center; ">님</caption>
  147. <caption id="caption3" style="left:147px; top:290px; width:965px; height:75px; font-family:굴림; font-size:50ptpt; font-weight:bold; color:#0000ff; text-align:left; ">정상적으로 접수되었습니다.</caption>
  148. <caption id="caption18" style="left:130px; top:450px; width:960px; height:265px; background-color:#fee5cc; "/>
  149. <caption id="caption7" ref="/root/hidden/item/execcnt" style="left:767px; top:494px; width:135px; height:75px; font-family:굴림; font-size:54pt; font-weight:bold; color:#800000; text-align:center; background-image:../../../ast/commonweb/images/patnm_caption_new.gif; background-stretch:stretch; "/>
  150. <button id="button1" visibility="hidden" style="left:445px; top:630px; width:290px; height:150px; font-family:굴림; font-size:84pt; font-weight:bold; color:#ff6600; text-align:center; vertical-align:middle; word-wrap:hard; background-image:../../../ast/commonweb/images/error_example_cnfmbtn_new.gif; background-stretch:stretch; ">
  151. <caption>확인</caption>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. model.toggle("case1");
  155. //커서 위치 setting
  156. model.setfocus( "ipt_pid" );
  157. model.refresh();
  158. ]]>
  159. </script>
  160. </button>
  161. <caption id="caption4" style="left:232px; top:495px; width:803px; height:154px; font-family:굴림; font-size:50 ptpt; font-weight:bold; color:#993300; text-align:left; ">
  162. <![CDATA[총 ( )회 중 ( )회
  163. 치료하셨습니다.]]>
  164. </caption>
  165. <caption id="caption5" ref="/root/hidden/item/totalcnt" style="left:376px; top:493px; width:135px; height:75px; font-family:굴림; font-size:54pt; font-weight:bold; color:#800000; text-align:center; background-image:../../../ast/commonweb/images/patnm_caption_new.gif; background-stretch:stretch; "/>
  166. </case>
  167. <case id="case4">
  168. <shape id="roundrect3" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:60px; top:80px; width:1105px; height:775px; "/>
  169. <caption id="caption14" style="left:147px; top:285px; width:922px; height:276px; font-family:굴림; font-size:60ptpt; font-weight:bold; color:#0000ff; text-align:center; ">
  170. <![CDATA[처리중입니다.
  171. 잠시만 기다려 주십시오!]]>
  172. </caption>
  173. </case>
  174. <case id="case5">
  175. <shape id="roundrect4" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:60px; top:80px; width:1105px; height:775px; "/>
  176. <caption id="caption16" ref="/root/hidden/item/hngnm" style="left:200px; top:230px; width:300px; height:100px; font-family:굴림; font-size:54pt; font-weight:bold; color:#800000; text-align:center; background-image:../../../ast/commonweb/images/patnm_caption_new.gif; background-stretch:stretch; "/>
  177. <caption id="caption17" style="left:500px; top:260px; width:105px; height:75px; font-family:굴림; font-size:48pt; font-weight:bold; color:#0000ff; text-align:center; ">님</caption>
  178. <caption id="caption15" style="left:190px; top:390px; width:830px; height:150px; font-family:굴림; font-size:50ptpt; font-weight:bold; color:#0000ff; text-align:left; ">당일 접수가 되어있습니다.</caption>
  179. </case>
  180. <case id="case3">
  181. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:60px; top:80px; width:1105px; height:775px; "/>
  182. <caption id="caption9" style="left:147px; top:395px; width:935px; height:95px; font-family:굴림; font-size:50ptpt; font-weight:bold; color:#0000ff; text-align:left; ">치료예약이 되어있지 않습니다.</caption>
  183. <caption id="caption12" style="left:147px; top:500px; width:915px; height:95px; font-family:굴림; font-size:50ptpt; font-weight:bold; color:#0000ff; text-align:left; ">접수에 문의하시기 바랍니다.</caption>
  184. <caption id="caption8" style="left:449px; top:275px; width:105px; height:75px; font-family:굴림; font-size:50ptpt; font-weight:bold; color:#0000ff; text-align:center; ">님</caption>
  185. <caption id="caption11" ref="/root/hidden/item/hngnm" style="left:149px; top:245px; width:300px; height:100px; font-family:굴림; font-size:54pt; font-weight:bold; color:#800000; text-align:center; background-image:../../../ast/commonweb/images/patnm_caption_new.gif; background-stretch:stretch; "/>
  186. <button id="button19" visibility="hidden" style="left:445px; top:630px; width:290px; height:150px; font-family:굴림; font-size:84pt; font-weight:bold; color:#ff6600; text-align:center; vertical-align:middle; word-wrap:hard; background-image:../../../ast/commonweb/images/error_example_cnfmbtn_new.gif; background-stretch:stretch; ">
  187. <caption>확인</caption>
  188. <script type="javascript" ev:event="DOMActivate">
  189. <![CDATA[
  190. model.toggle("case1");
  191. //커서 위치 setting
  192. model.setfocus( "ipt_pid" );
  193. model.refresh();
  194. ]]>
  195. </script>
  196. </button>
  197. </case>
  198. </switch>
  199. </group>
  200. </xhtml:body>
  201. </xhtml:html>