SPANC00303_영양상태판정기준표.xrw 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. <data>
  11. <cddiv1>Alb(g/dl)</cddiv1>
  12. <cddiv2><2.5</cddiv2>
  13. <item1>Severe Protein Energy malnutrition</item1>
  14. <item2>Severe Protein Energy malnutrition</item2>
  15. <item3>Moderate malnutrition</item3>
  16. <item4>Protein malnutrition</item4>
  17. </data>
  18. <data>
  19. <cddiv1/>
  20. <cddiv2>2.5-3.0</cddiv2>
  21. <item1>Severe Protein Energy malnutrition</item1>
  22. <item2>Moderate malnutrition</item2>
  23. <item3>Moderate malnutrition</item3>
  24. <item4>Protein malnutrition</item4>
  25. </data>
  26. <data>
  27. <cddiv1/>
  28. <cddiv2>3.1-3.5</cddiv2>
  29. <item1>Moderate malnutrition</item1>
  30. <item2>Moderate malnutrition</item2>
  31. <item3>Mild malnutrition</item3>
  32. <item4>Mild malnutrition</item4>
  33. </data>
  34. <data>
  35. <cddiv1/>
  36. <cddiv2>&gt;3.5</cddiv2>
  37. <item1>Energy malnutrition</item1>
  38. <item2>Energy malnutrition</item2>
  39. <item3>Mild malnutrition</item3>
  40. <item4>No malnutrition present</item4>
  41. </data>
  42. <receivedata/>
  43. </main>
  44. </root>
  45. </instance>
  46. <script type="javascript" ev:event="xforms-ready">
  47. <![CDATA[
  48. //fopensearch();
  49. ]]>
  50. </script>
  51. <script type="javascript">
  52. <![CDATA[
  53. // function fopensearch() {
  54. // //항목별,위험도별로 최저값과 최고값을 hidden 컬럼에 setting
  55. // for ( i=1; i<13; i++ ) {
  56. // var cd = model.getValue("/root/main/receivedata/data[" + i + "]/cd"); //항목코드
  57. // var dngrcd = model.getValue("/root/main/receivedata/data[" + i + "]/dngrcd"); //위험수준코드
  58. // var min = model.getValue("/root/main/receivedata/data[" + i + "]/min"); //최저값
  59. // var max = model.getValue("/root/main/receivedata/data[" + i + "]/max"); //최고값
  60. //
  61. // //PIBW 일 경우
  62. // if ( cd == 1 ) {
  63. // if ( dngrcd == 1 ) { //양호
  64. // min = min.toString().getRound(-1, "DOWN");
  65. // model.setValue("/root/main/data[1]/good", "≥" + min);
  66. // } else if ( dngrcd == 2 ) { //저위험
  67. // min = min.toString().getRound(-1, "DOWN");
  68. // max = max.toString().getRound(-1, "DOWN");
  69. // model.setValue("/root/main/data[1]/low", min + " ~ " + max);
  70. // } else if ( dngrcd == 3 ) { //중위험
  71. // min = min.toString().getRound(-1, "DOWN");
  72. // max = max.toString().getRound(-1, "DOWN");
  73. // model.setValue("/root/main/data[1]/mid", min + " ~ " + max);
  74. // } else if ( dngrcd == 4 ) { //고위험
  75. // max = max.toString().getRound(-1, "DOWN");
  76. // model.setValue("/root/main/data[1]/high", "< " + max);
  77. // }
  78. // }
  79. //
  80. // //Alb 일 경우
  81. // else if ( cd == 2 ) {
  82. // if ( dngrcd == 1 ) { //양호
  83. // model.setValue("/root/main/data[2]/good", "≥" + min);
  84. // } else if ( dngrcd == 2 ) { //저위험
  85. // model.setValue("/root/main/data[2]/low", min + " ~ " + max);
  86. // } else if ( dngrcd == 3 ) { //중위험
  87. // model.setValue("/root/main/data[2]/mid", min + " ~ " + max);
  88. // } else if ( dngrcd == 4 ) { //고위험
  89. // model.setValue("/root/main/data[2]/high", "< " + max);
  90. // }
  91. // }
  92. //
  93. // //TLC 일 경우
  94. // else if ( cd == 3 ) {
  95. // if ( dngrcd == 1 ) { //양호
  96. // min = min.toString().getRound(-1, "DOWN");
  97. // model.setValue("/root/main/data[3]/good", "≥" + min);
  98. // } else if ( dngrcd == 2 ) { //저위험
  99. // min = min.toString().getRound(-1, "DOWN");
  100. // max = max.toString().getRound(-1, "DOWN");
  101. // model.setValue("/root/main/data[3]/low", min + " ~ " + max);
  102. // } else if ( dngrcd == 3 ) { //중위험
  103. // min = min.toString().getRound(-1, "DOWN");
  104. // max = max.toString().getRound(-1, "DOWN");
  105. // model.setValue("/root/main/data[3]/mid", min + " ~ " + max);
  106. // } else if ( dngrcd == 4 ) { //고위험
  107. // max = max.toString().getRound(-1, "DOWN");
  108. // model.setValue("/root/main/data[3]/high", "< " + max);
  109. // }
  110. // }
  111. // }
  112. //
  113. // model.refresh();
  114. // }
  115. ]]>
  116. </script>
  117. </model>
  118. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  119. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  120. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  121. </xhtml:head>
  122. <xhtml:body pagewidth="900" pageheight="343" guideline="2,13;1,1194;2,784;2,757;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  123. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:900px; height:170px; ">
  124. <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:155px; height:13px; ">영양상태판정기준표</caption>
  125. <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:790px; y2:26px; "/>
  126. <datagrid id="grd_data" nodeset="/root/main/data" caption="^ ^PIBW(%)^PIBW(%)^PIBW(%)^PIBW(%)|^ ^<60^60-75^76-90^&gt;90" colsep="^" colwidth="60, 60, 200, 200, 130, 140" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:31px; width:792px; height:137px; text-align:center; ">
  127. <col ref="cddiv1"/>
  128. <col ref="cddiv2"/>
  129. <col ref="item1"/>
  130. <col ref="item2"/>
  131. <col ref="item3"/>
  132. <col ref="item4"/>
  133. </datagrid>
  134. </group>
  135. <group id="grp_btn" scroll="auto" style="left:0px; top:171px; width:900px; height:27px; ">
  136. <button id="btn_close" class="btn4_letter2" style="left:734px; top:5px; width:56px; height:22px; ">
  137. <caption>닫기</caption>
  138. <script type="javascript" ev:event="DOMActivate">
  139. <![CDATA[
  140. window.close();
  141. ]]>
  142. </script>
  143. </button>
  144. </group>
  145. </xhtml:body>
  146. </xhtml:html>