SPMMO15200_퇴원예고.xrw 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. <dschdclrt>
  11. <dschdclrt>
  12. <pid/>
  13. <indd/>
  14. <cretno/>
  15. <seqno/>
  16. <dschdclrtyn/>
  17. <dschdclrdt/>
  18. <dschdclrdd/>
  19. <dschdclrtrgstid/>
  20. <dschdclrtrgstnm/>
  21. <dschdclrtrgstdt/>
  22. </dschdclrt>
  23. </dschdclrt>
  24. </main>
  25. </root>
  26. </instance>
  27. <script type="javascript" ev:event="xforms-ready">
  28. <![CDATA[
  29. fReqDschDclrtInfo();
  30. ]]>
  31. </script>
  32. <submission id="TRMMO04304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/dschdclrt"/>
  33. <submission id="TXMMO00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
  34. </model>
  35. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  38. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  39. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  40. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO15200.js"/>
  41. </xhtml:head>
  42. <xhtml:body pagewidth="238" pageheight="121" guideline="1,222;2,121;1,238;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  43. <button id="btn_dschrgst" class="btn4_letter4" style="left:2px; top:82px; width:80px; height:22px; ">
  44. <caption>예고등록</caption>
  45. <script type="javascript" ev:event="DOMActivate">
  46. <![CDATA[
  47. fAskDschDclrYn("Y");
  48. ]]>
  49. </script>
  50. </button>
  51. <input id="ipt_dclrtm" ref="/root/main/cond/dclrtm" visibility="hidden" format="hh:nn" style="left:166px; top:8px; width:56px; height:19px; "/>
  52. <caption id="caption11" class="cell_1" style="left:1px; top:7px; width:67px; height:23px; vertical-align:middle; ">예정일시</caption>
  53. <caption id="caption12" class="cell_1" style="left:1px; top:31px; width:67px; height:23px; vertical-align:middle; ">등 록 자</caption>
  54. <caption id="caption13" class="cell_1" style="left:1px; top:55px; width:67px; height:23px; vertical-align:middle; ">등록일시</caption>
  55. <button id="btn_close" class="btn4_letter2" style="left:166px; top:82px; width:56px; height:22px; ">
  56. <caption>종료</caption>
  57. <script type="javascript" ev:event="DOMActivate">
  58. <![CDATA[
  59. window.close();
  60. ]]>
  61. </script>
  62. </button>
  63. <input id="ipt_dclrdd" ref="/root/main/dschdclrt/dschdclrt/dschdclrdd" navindex="-1" inputtype="date" style="left:70px; top:8px; width:94px; height:19px; ">
  64. <script type="javascript" ev:event="xforms-value-changed">
  65. <![CDATA[
  66. var dschdclrdd = model.getValue("/root/main/dschdclrt/dschdclrt/dschdclrdd");
  67. if(dschdclrdd < getCurrentDate()){
  68. messageBox("과거일자로 퇴원예고를", "E001");
  69. model.setValue("/root/main/dschdclrt/dschdclrt/dschdclrdd", getCurrentDate());
  70. model.refresh();
  71. return;
  72. }
  73. ]]>
  74. </script>
  75. </input>
  76. <line id="line2" class="line_1" style="x1:1px; y1:1px; x2:222px; y2:1px; "/>
  77. <output id="opt_dclrtrgstnm" ref="/root/main/dschdclrt/dschdclrt/dschdclrtrgstnm" class="output_fix" style="left:70px; top:32px; width:152px; height:19px; "/>
  78. <output id="opt_dclrtrgstdt" ref="/root/main/dschdclrt/dschdclrt/dschdclrtrgstdt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" style="left:70px; top:57px; width:152px; height:19px; "/>
  79. <button id="btn_dschcncl" class="btn4_letter4" style="left:84px; top:82px; width:80px; height:22px; ">
  80. <caption>예고취소</caption>
  81. <script type="javascript" ev:event="DOMActivate">
  82. <![CDATA[
  83. fAskDschDclrYn("N");
  84. ]]>
  85. </script>
  86. </button>
  87. </xhtml:body>
  88. </xhtml:html>