SMASI01600_급성호흡기감염증.xrw 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <patlist>
  11. <pid/>
  12. <hngnm/>
  13. <sex/>
  14. <age/>
  15. <prcpdd/>
  16. <rsltdd/>
  17. <prcpcd/>
  18. <prcpnm/>
  19. <spccd/>
  20. <baccd/>
  21. <reptrslt/>
  22. <depthngnm/>
  23. <wardnm/>
  24. <diagnm/>
  25. </patlist>
  26. </main>
  27. <send>
  28. <reqdata>
  29. <srchkind/>
  30. <srchfromdd/>
  31. <srchtodd/>
  32. </reqdata>
  33. </send>
  34. <init/>
  35. <hidden/>
  36. <temp/>
  37. </root>
  38. </instance>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. model.setValue("/root/send/reqdata/srchkind", "ALL");
  42. model.setValue("/root/send/reqdata/srchfromdd", getCurrentDate());
  43. model.setValue("/root/send/reqdata/srchtodd", getCurrentDate());
  44. model.refresh();
  45. ]]>
  46. </script>
  47. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  48. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  49. <submission id="TRASI01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patlist"/>
  50. </model>
  51. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  57. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  58. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  59. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  60. <script type="javascript">
  61. <![CDATA[
  62. function date_add(sDate, nDays){
  63. var yy = parseInt(sDate.substr(0,4), 10);
  64. var mm = parseInt(sDate.substr(4,2), 10);
  65. var dd = parseInt(sDate.substr(6,2), 10);
  66. var d = new Date(yy, mm - 1, dd + nDays);
  67. yy = d.getFullYear().toString();
  68. mm = d.getMonth() + 1; mm = (mm < 10) ? '0' + mm : mm.toString();
  69. dd = d.getDate(); dd = (dd < 10) ? '0' + dd : dd.toString();
  70. return yy + mm + dd;
  71. }
  72. ]]>
  73. </script>
  74. </xhtml:head>
  75. <xhtml:body pagewidth="1200" pageheight="800" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  76. <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:130px; height:13px; ">급성호흡기감염증</caption>
  77. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:12px; top:25px; width:733px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  78. <caption id="lbl_PID" class="search_name" style="left:21px; top:31px; width:69px; height:17px; vertical-align:middle; ">구 분 :</caption>
  79. <select1 id="cmb_srchkind" ref="/root/send/reqdata/srchkind" appearance="minimal" style="left:95px; top:31px; width:125px; height:19px; text-align:center; ">
  80. <choices>
  81. <item>
  82. <label>전체</label>
  83. <value>ALL</value>
  84. </item>
  85. <item>
  86. <label>LPD301</label>
  87. <value>LPD301</value>
  88. </item>
  89. <item>
  90. <label>LMV113</label>
  91. <value>LMV113</value>
  92. </item>
  93. <item>
  94. <label>LPD122</label>
  95. <value>LPD122</value>
  96. </item>
  97. <item>
  98. <label>LPD154</label>
  99. <value>LPD154</value>
  100. </item>
  101. <item>
  102. <label>LMR801</label>
  103. <value>LMR801</value>
  104. </item>
  105. </choices>
  106. </select1>
  107. <caption id="caption1" class="search_name" style="left:225px; top:31px; width:118px; height:17px; vertical-align:middle; ">검 색 기 간 :</caption>
  108. <caption id="caption10" style="left:442px; top:31px; width:15px; height:20px; ">~</caption>
  109. <input id="ipt_fromdd" ref="/root/send/reqdata/srchfromdd" class="input_s_essential" inputtype="date" style="left:335px; top:31px; width:100px; height:19px; ">
  110. <script type="javascript" ev:event="xforms-value-changed">
  111. <![CDATA[
  112. model.makeValue("/root/send/reqdata/srchtodd", date_add(ipt_fromdd.value, 6));
  113. ipt_todd.refresh();
  114. ]]>
  115. </script>
  116. </input>
  117. <input id="ipt_todd" ref="/root/send/reqdata/srchtodd" class="input_s_essential" disabled="true" inputtype="date" style="left:464px; top:31px; width:100px; height:19px; "/>
  118. <button id="btn_srch" class="btn1_letter2" style="left:575px; top:30px; width:56px; height:22px; ">
  119. <caption>조회</caption>
  120. <script type="javascript" ev:event="DOMActivate">
  121. <![CDATA[
  122. submit("TRASI01004");
  123. ]]>
  124. </script>
  125. </button>
  126. <button id="button1" class="btn1_letter4" style="left:635px; top:30px; width:80px; height:22px; ">
  127. <caption>엑셀저장</caption>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. var fileName = window.fileDialog("save", "|", true, "", "", "Excel Files(*.xlsx)|*.xls");
  131. if (fileName != ""){
  132. datagrid1.saveExcel(fileName, "SheetName", false, false, "", "", false);
  133. }
  134. ]]>
  135. </script>
  136. </button>
  137. <datagrid id="datagrid1" nodeset="/root/main/patlist" caption="환자번호^환자명^성별^나이^처방일^결과보고일^처방코드^처방명^검체^균명^결과값^진료과^병동명^진단명" colsep="^" colwidth="76, 72, 30, 58, 56, 70, 71, 138, 48, 45, 75, 118, 95, 148" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:11px; top:62px; width:1139px; height:708px; text-align:center; ">
  138. <col ref="pid"/>
  139. <col ref="hngnm"/>
  140. <col ref="sex"/>
  141. <col ref="age"/>
  142. <col ref="prcpdd"/>
  143. <col ref="rsltdd"/>
  144. <col ref="prcpcd"/>
  145. <col ref="prcpnm"/>
  146. <col ref="spccd"/>
  147. <col ref="baccd"/>
  148. <col ref="reptrslt"/>
  149. <col ref="depthngnm"/>
  150. <col ref="wardnm"/>
  151. <col ref="diagnm"/>
  152. </datagrid>
  153. </xhtml:body>
  154. </xhtml:html>