SPMMO22000_유전자검사동의서조회.xrw 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. <dnorinfo>
  11. <dnorinfo>
  12. <status/>
  13. <dnorid/>
  14. <instcd/>
  15. <dnornm/>
  16. <dnorsex/>
  17. <dnorage/>
  18. <dnorrela/>
  19. <remfact/>
  20. <fstrgstrid/>
  21. <fstrgstdt/>
  22. <lastupdtrid/>
  23. <lastupdtdt/>
  24. <pid/>
  25. <orddd/>
  26. <cretno/>
  27. <selectyn/>
  28. <existyn/>
  29. </dnorinfo>
  30. </dnorinfo>
  31. </main>
  32. <send>
  33. <reqdata/>
  34. <savedata/>
  35. <rtndata/>
  36. <cond1/>
  37. <cond2/>
  38. <cond3/>
  39. <cond4/>
  40. <cond5/>
  41. <cond6/>
  42. <cond99/>
  43. </send>
  44. <init>
  45. <dnorsex/>
  46. <dnorrela/>
  47. <paminfo/>
  48. <rcnt/>
  49. <closestat>N</closestat>
  50. </init>
  51. <result>
  52. <param/>
  53. </result>
  54. <reset>
  55. <dnorinfo>
  56. <status/>
  57. <dnorid/>
  58. <instcd/>
  59. <dnornm/>
  60. <dnorsex/>
  61. <dnorage/>
  62. <dnorrela/>
  63. <remfact/>
  64. <fstrgstrid/>
  65. <fstrgstdt/>
  66. <lastupdtrid/>
  67. <lastupdtdt/>
  68. <pid/>
  69. <orddd/>
  70. <cretno/>
  71. <selectyn/>
  72. <existyn/>
  73. </dnorinfo>
  74. </reset>
  75. <prcpsrch/>
  76. <prcptemp/>
  77. </root>
  78. </instance>
  79. <script type="javascript" ev:event="xforms-model-construct-done">
  80. <![CDATA[
  81. ]]>
  82. </script>
  83. <script type="javascript" ev:event="xforms-ready">
  84. <![CDATA[
  85. ]]>
  86. </script>
  87. <script type="javascript" ev:event="xforms-close">
  88. <![CDATA[
  89. ]]>
  90. </script>
  91. <submission id="TXMMO21001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/gene" resultref="/root/result"/>
  92. </model>
  93. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  94. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  95. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  96. </xhtml:head>
  97. <xhtml:body pagewidth="1100" pageheight="690">
  98. <caption id="caption3" class="cell_2" style="left:0px; top:11px; width:144px; height:59px; vertical-align:middle; ">유전자검사동의서</caption>
  99. <button id="btn_delete" class="btn2_letter10" style="left:525px; top:225px; width:115px; height:19px; ">
  100. <caption>유전자검사동의서</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. for(i=1;i<=5;i++){
  104. var vinstcd = "012";
  105. var vprcpdd = getCurrentDate();
  106. var vorddd = "20091210";
  107. var vcretno = "1"
  108. var vprcpcd = "drugcd"
  109. var vprcpnm = "drugnm"
  110. var vprcpno ="6";
  111. var vpid ="pid";
  112. var vpatnm ="patientnm";
  113. var vrrgstno ="197701021";
  114. var vdrnm ="drnm";
  115. var vdrbrthdd ="19991231";
  116. var vdeptengabbr ="mg";
  117. var vroomcd ="101-201";
  118. var vprcpgenrflag ="I";
  119. var vcentcd ="centcd";
  120. var vocrtag ="1234567890";
  121. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/instcd", vinstcd);
  122. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/prcpdd", vprcpdd);
  123. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/prcpno", vprcpno+i);
  124. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/orddd" , vorddd);
  125. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/cretno", vcretno);
  126. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/prcpcd", vprcpcd+i);
  127. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/prcpnm", vprcpnm+i);
  128. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/patnm", vpatnm);
  129. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/pid", vpid);
  130. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/rrgstno", vrrgstno);
  131. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/drnm", vdrnm);
  132. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/drbrthdd", vdrbrthdd);
  133. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/deptengabbr", vdeptengabbr);
  134. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/roomcd", vroomcd);
  135. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/prcpgenrflag", vprcpgenrflag);
  136. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/centcd", vcentcd);
  137. model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/ocrtag", vocrtag);
  138. }
  139. modal("SPMMO21000", "", "", "", "SPMMO21000", "/root/hidden/ocrprint_atad", "/root/main/prcplist","sysmenu:hidden;");
  140. if(submit("TXMMO21001")){
  141. var vcurdd =getCurrentDate();
  142. var vcurtm =getCurrentTime();
  143. //출력일자 & 출력일시 설정
  144. model.makeValue("/root/hidden/geneunitlist/curdd", vcurdd);
  145. model.makeValue("/root/hidden/geneunitlist/curtm", vcurtm);
  146. // rexpert 호출
  147. exeReportPreview("RPMMO21001", "XMLSTR", "/root/hidden/geneunitlist");
  148. }
  149. ]]>
  150. </script>
  151. </button>
  152. </xhtml:body>
  153. </xhtml:html>