SMMNR00400_중증도및위험사정기준점수관리.xrw 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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. <cond>
  11. <recflag>1</recflag>
  12. <clsflag/>
  13. <fromdd/>
  14. </cond>
  15. <detlgrup>
  16. <detlgruplist>
  17. <recflag/>
  18. <clsflag/>
  19. <bspntcd/>
  20. <bspntnm/>
  21. <frompnt/>
  22. <topnt/>
  23. <fromdd/>
  24. <todd/>
  25. <stat/>
  26. </detlgruplist>
  27. </detlgrup>
  28. </main>
  29. <send/>
  30. <hidden/>
  31. <asd/>
  32. </root>
  33. </instance>
  34. <script type="javascript" ev:event="xforms-ready">
  35. <![CDATA[
  36. rdo_recflag.value="1";
  37. fShowSearchCombo(rdo_recflag.value, 'caption3', 'cmb_clsflag1', 'cmb_clsflag2');
  38. fSearch();
  39. ]]>
  40. </script>
  41. <!-- 분류군조회 -->
  42. <submission id="TRMNR00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detlgrup"/>
  43. <!-- 분류군저장 -->
  44. <submission id="TXMNR00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detlgrup"/>
  45. </model>
  46. <!-- 중증도위험사정분류군기준점수스크립트 -->
  47. <script type="javascript" src="../../../emr/carerecweb/js/SMMNR004.js"/>
  48. <!-- 중증도공통스크립트 -->
  49. <script type="javascript" src="../../../emr/carerecweb/js/SerDiag.js"/>
  50. <!-- 개발공통스크립트 -->
  51. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  54. </xhtml:head>
  55. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  56. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  57. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:270px; height:13px; ">중증도 및 위험사정 기준점수 관리</caption>
  58. </group>
  59. <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:752px; ">
  60. <!-- 조회영역 시작 -->
  61. <group id="grp_sea" style="left:1px; top:0px; width:1194px; height:35px; vertical-align:top; ">
  62. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; ">3</shape>
  63. <caption id="caption2" class="search_name" style="left:16px; top:9px; width:71px; height:17px; ">종 류 :</caption>
  64. <select1 id="rdo_recflag" ref="/root/main/cond/recflag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:90px; top:11px; width:255px; height:19px; border-style:none; ">
  65. <choices>
  66. <item>
  67. <label>중증도</label>
  68. <value>1</value>
  69. </item>
  70. <item>
  71. <label>낙상 위험사정</label>
  72. <value>2</value>
  73. </item>
  74. <item>
  75. <label>욕창 위험사정</label>
  76. <value>3</value>
  77. </item>
  78. </choices>
  79. <script type="javascript" ev:event="xforms-value-changed">
  80. <![CDATA[
  81. fShowSearchCombo(rdo_recflag.value, 'caption3', 'cmb_clsflag1', 'cmb_clsflag2');
  82. fSearch();
  83. ]]>
  84. </script>
  85. </select1>
  86. <caption id="caption3" class="search_name" style="left:376px; top:9px; width:72px; height:17px; ">분 류 :</caption>
  87. <!-- 라디오버튼 중증도 선택했을때 보여줄 콤보 -->
  88. <select1 id="cmb_clsflag1" ref="/root/main/cond/clsflag" class="combo_search" visibility="hidden" appearance="minimal" style="left:451px; top:8px; width:150px; height:19px; ">
  89. <choices>
  90. <item>
  91. <label>일반병동</label>
  92. <value>1</value>
  93. </item>
  94. <item>
  95. <label>신생아 ICU</label>
  96. <value>2</value>
  97. </item>
  98. <item>
  99. <label>혈액투석</label>
  100. <value>3</value>
  101. </item>
  102. <item>
  103. <label>중환자실</label>
  104. <value>4</value>
  105. </item>
  106. <item>
  107. <label>정신과병동</label>
  108. <value>5</value>
  109. </item>
  110. </choices>
  111. <script type="javascript" ev:event="xforms-value-changed">
  112. <![CDATA[
  113. fSearch();
  114. ]]>
  115. </script>
  116. </select1>
  117. <!-- 라디오버튼 낙상위험사정 선택했을때 보여줄 콤보 -->
  118. <select1 id="cmb_clsflag2" ref="/root/main/cond/clsflag" class="combo_search" visibility="hidden" appearance="minimal" style="left:451px; top:8px; width:150px; height:19px; ">
  119. <choices>
  120. <item>
  121. <!-- 낙상-아동 -> Humpty Dumpty Scale 변경 (2014.11.10)-->
  122. <label>Humpty Dumpty Scale</label>
  123. <value>1</value>
  124. </item>
  125. <!-- 낙상-성인 -> Morse Scale 변경 (2011.03.25 ahn)-->
  126. <item>
  127. <label>Morse Scale</label>
  128. <value>2</value>
  129. </item>
  130. </choices>
  131. <script type="javascript" ev:event="xforms-value-changed">
  132. <![CDATA[
  133. fSearch();
  134. ]]>
  135. </script>
  136. </select1>
  137. <caption id="caption4" class="search_name" style="left:644px; top:9px; width:86px; height:17px; ">기 준 일 :</caption>
  138. <input id="input5" ref="/root/main/cond/fromdd" class="input_search" imemode="alpha" inputtype="date" style="left:730px; top:8px; width:120px; height:19px; ">
  139. <script type="javascript" ev:event="xforms-value-changed">
  140. <![CDATA[
  141. fSearch();
  142. ]]>
  143. </script>
  144. </input>
  145. <line id="line13" class="line_4" style="x1:935px; y1:7px; x2:935px; y2:29px; "/>
  146. <button id="button1" class="btn1_letter2" style="left:955px; top:7px; width:56px; height:22px; ">
  147. <caption>조회</caption>
  148. <script type="javascript" ev:event="DOMActivate">
  149. <![CDATA[
  150. fSearch();
  151. ]]>
  152. </script>
  153. </button>
  154. <button id="button2" class="btn1_letter6" style="left:1014px; top:7px; width:104px; height:22px; ">
  155. <caption>1차분류추가</caption>
  156. <script type="javascript" ev:event="DOMActivate">
  157. <![CDATA[
  158. fAddRow();
  159. ]]>
  160. </script>
  161. </button>
  162. <button id="button10" class="btn1_letter2" style="left:1121px; top:7px; width:56px; height:22px; ">
  163. <caption>저장</caption>
  164. <script type="javascript" ev:event="DOMActivate">
  165. <![CDATA[
  166. fSave();
  167. ]]>
  168. </script>
  169. </button>
  170. </group>
  171. <!-- 조회영역종료 -->
  172. <!-- 그리드시작 -->
  173. <datagrid id="grd_detlgrup" nodeset="/root/main/detlgrup/detlgruplist" allowselection="false" autoresize="true" caption="분류군코드^분류군명^시작점수^종료점수^시작일자^종료일자^stat^clsflag^recflag" colsep="^" colwidth="171, 200, 200, 200, 200, 200, 100, 100, 100" mergecellsfixedrows="byrowrec" rowheader="update" rowsep="|" style="left:0px; top:42px; width:1195px; height:708px; ">
  174. <col ref="bspntcd" type="input" style="text-align:center; "/>
  175. <col imemode="alpha" ref="bspntnm" type="input" maxlength="10" style="text-align:center; "/>
  176. <col imemode="hangul" ref="frompnt" type="input" maxlength="3" style="text-align:center; "/>
  177. <col imemode="hangul" ref="topnt" type="input" maxlength="3" style="text-align:center; "/>
  178. <col imemode="alpha" ref="fromdd" type="inputdate" style="text-align:center; "/>
  179. <col imemode="alpha" ref="todd" type="inputdate" style="text-align:center; "/>
  180. <col ref="stat" type="combo" visibility="hidden" style="text-align:center; ">
  181. <choices>
  182. <item>
  183. <label>i</label>
  184. <value>i</value>
  185. </item>
  186. <item>
  187. <label>u</label>
  188. <value>u</value>
  189. </item>
  190. <item>
  191. <label>d</label>
  192. <value>d</value>
  193. </item>
  194. </choices>
  195. </col>
  196. <col ref="clsflag" type="input" visibility="hidden" style="text-align:center; "/>
  197. <col ref="recflag" visibility="hidden"/>
  198. <script type="javascript" ev:event="xforms-value-changed">
  199. <![CDATA[
  200. var row = grd_detlgrup.row;
  201. var stat = model.getValue(xClsListPath+"["+row+"]/stat");
  202. if(stat == '-'){
  203. model.setValue(xClsListPath+"["+row+"]/stat", 'u');
  204. }
  205. ]]>
  206. </script>
  207. </datagrid>
  208. <!-- 그리드종료 -->
  209. </group>
  210. </xhtml:body>
  211. </xhtml:html>