SPASB01600_격리주의안내문.xrw 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. <isolguidedocuinfo>
  11. <isolguidedoculist/>
  12. </isolguidedocuinfo>
  13. <cond>
  14. <isolkind/>
  15. <patpid/>
  16. <isoldispkind/>
  17. </cond>
  18. <isoldispdisplists/>
  19. </main>
  20. <send/>
  21. <hidden/>
  22. <init>
  23. <A0140list>
  24. </A0140list>
  25. </init>
  26. </root>
  27. </instance>
  28. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. fInitialize();
  32. ]]>
  33. </script>
  34. <submission id="TRASB01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/isoldispdisplists"/>
  35. </model>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  39. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  40. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  41. <script type="javascript">
  42. <![CDATA[
  43. function fInitialize() {
  44. // 공통코드를 조회한다.
  45. zbcfGetCodeList( new Array("A0140"), new Array("/root/init/A0140list"));
  46. //var getPara = opener.window.javascript.getParameter("SPASB01600_param"); 김홍점 수정 20071015
  47. var isolkind = model.getValue("/root/main/cond/isolkind");
  48. if(isolkind == "B"){
  49. //model.setValue("/root/main/cond/isolkind", getPara);
  50. ivw_isolguidedoculist.attribute("src") = "../../../ast/infcmngtweb/xrw/SPASB01700_혈액주의안내문.xrw"
  51. } else if(isolkind == "C"){
  52. //model.setValue("/root/main/cond/isolkind", getPara);
  53. ivw_isolguidedoculist.attribute("src") = "../../../ast/infcmngtweb/xrw/SPASB01800_접촉주의안내문.xrw"
  54. } else if(isolkind == "A"){
  55. //model.setValue("/root/main/cond/isolkind", getPara);
  56. ivw_isolguidedoculist.attribute("src") = "../../../ast/infcmngtweb/xrw/SPASB01900_공기주의안내문.xrw"
  57. }
  58. if ( getPatientInfo("pid") != '' ) {
  59. model.setValue("/root/main/cond/patpid", getPatientInfo("pid") );
  60. }
  61. model.setValue("/root/main/cond/isoldispkind",model.getValue("/root/main/cond/isolkind"));
  62. model.makeNode("/root/send/reqdata");
  63. model.copyNode("/root/send/reqdata", "/root/main/cond");
  64. // if(submit('TRASB01201')) {
  65. // btn_rgcn.text = '해제';
  66. // }
  67. model.refresh();
  68. }
  69. ]]>
  70. </script>
  71. </xhtml:head>
  72. <xhtml:body pagewidth="425" pageheight="366" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  73. <group id="group3" scroll="auto" style="left:0px; top:15px; width:405px; height:305px; ">
  74. <group id="group2" style="left:0px; top:0px; width:405px; height:35px; vertical-align:top; ">
  75. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:401px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  76. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">격리종류 :</caption>
  77. <select1 id="rdo_isolkind" ref="/root/main/cond/isolkind" navindex="3" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:110px; top:10px; width:265px; height:15px; border-style:none; ">
  78. <choices>
  79. <itemset nodeset="/root/init/A0140list/A0140">
  80. <label ref="cdnm"/>
  81. <value ref="cdid"/>
  82. </itemset>
  83. </choices>
  84. <script type="javascript" ev:event="xforms-value-changed">
  85. <![CDATA[
  86. if(model.getValue("/root/main/cond/isolkind") == "B") {
  87. model.setValue("/root/main/cond/isoldispkind",model.getValue("/root/main/cond/isolkind"));
  88. model.copyNode("/root/send/reqdata", "/root/main/cond");
  89. ivw_isolguidedoculist.attribute("src") = "../../../ast/infcmngtweb/xrw/SPASB01700_혈액주의안내문.xrw"
  90. } else if(model.getValue("/root/main/cond/isolkind") == "C"){
  91. model.setValue("/root/main/cond/isoldispkind",model.getValue("/root/main/cond/isolkind"));
  92. model.copyNode("/root/send/reqdata", "/root/main/cond");
  93. ivw_isolguidedoculist.attribute("src") = "../../../ast/infcmngtweb/xrw/SPASB01800_접촉주의안내문.xrw"
  94. } else if(model.getValue("/root/main/cond/isolkind") == "A"){
  95. model.setValue("/root/main/cond/isoldispkind",model.getValue("/root/main/cond/isolkind"));
  96. model.copyNode("/root/send/reqdata", "/root/main/cond");
  97. ivw_isolguidedoculist.attribute("src") = "../../../ast/infcmngtweb/xrw/SPASB01900_공기주의안내문.xrw"
  98. }
  99. ]]>
  100. </script>
  101. </select1>
  102. </group>
  103. <caption id="caption1" class="tit_2" style="left:5px; top:46px; width:113px; height:14px; ">격리주의 안내문</caption>
  104. <line id="line1" class="line_1" style="x1:0px; y1:61px; x2:400px; y2:61px; "/>
  105. <iviewer id="ivw_isolguidedoculist" style="left:0px; top:66px; width:400px; height:230px; border-style:sunken; "/>
  106. </group>
  107. <group id="grp_tle" style="left:0px; top:0px; width:405px; height:13px; ">
  108. <caption id="caption14" class="tit_1" style="left:0px; top:0px; width:162px; height:14px; ">격리주의 안내문</caption>
  109. </group>
  110. <group id="grp_btn" style="left:0px; top:320px; width:405px; height:30px; ">
  111. <button id="btn_close" class="btn4_letter2" style="left:345px; top:5px; width:56px; height:22px; ">
  112. <caption>닫기</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. model.close();
  116. ]]>
  117. </script>
  118. </button>
  119. <button id="btn_rgcn" class="btn4_letter2" style="left:289px; top:5px; width:56px; height:22px; ">
  120. <caption>등록</caption>
  121. <script type="javascript" ev:event="DOMActivate">
  122. <![CDATA[
  123. setParameter("SMASB01100_dispcd", model.getValue("/root/main/cond/isolkind"));
  124. open("SMASB01100", 1,10,10, "SMASB01100");
  125. ]]>
  126. </script>
  127. </button>
  128. </group>
  129. </xhtml:body>
  130. </xhtml:html>