SMAHB02800_일검자동판정코드관리.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHR01000.xrw
  4. * 설 명 : 판정코드 관리
  5. * 설 계 자 : 김호익
  6. * 작 성 자 : 김호익
  7. * 작 성 일 : 2007.07.13
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>판정코드 설정</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <init>
  19. <baseinfo>
  20. <healexamdetlflag/>
  21. </baseinfo>
  22. </init>
  23. <main>
  24. <codeinfo>
  25. <item>
  26. <healexamdetlflag/>
  27. <judgseq/>
  28. <judgflag/>
  29. <judgdetlflag/>
  30. <judgflagnm/>
  31. <testcd/>
  32. <testnm/>
  33. <manwomflag/>
  34. <agemax/>
  35. <agemin/>
  36. <dgflag/>
  37. <judgcd/>
  38. <judgdetlcd/>
  39. <judgnm/>
  40. <judgrslt/>
  41. <onersltref/>
  42. <refmax/>
  43. <refmin/>
  44. <charref1/>
  45. <charref2/>
  46. <charref3/>
  47. <charref4/>
  48. <charref5/>
  49. <etcrslt/>
  50. <rems/>
  51. <instcd/>
  52. <dulppkgcd/>
  53. <dulppkgnm/>
  54. </item>
  55. </codeinfo>
  56. </main>
  57. <send>
  58. <item>
  59. <healexamdetlflag/>
  60. <instcd/>
  61. </item>
  62. </send>
  63. </root>
  64. </instance>
  65. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  69. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  70. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  71. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  72. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  73. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  74. <script type="javascript" ev:event="xforms-ready">
  75. <![CDATA[
  76. fGetBaseInfo();
  77. ]]>
  78. </script>
  79. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/healexamdetlflag"/>
  80. <submission id="TXAHB00104" method="post" ref="/root/main/codeinfo/item" replace="instance" resultref="/root/send/item"/>
  81. <submission id="TRAHA02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/codeinfo"/>
  82. </model>
  83. <script type="javascript">
  84. <![CDATA[
  85. /**
  86. *기본정보 가져오기
  87. */
  88. function fGetBaseInfo(){
  89. zbcfGetCodeList( new Array("A0070"),
  90. new Array("/root/init/baseinfo/healexamdetlflag" // 일반건진상세구분
  91. ) );
  92. model.makeValue("/root/send/item/instcd",getUserInfo("dutplceinstcd"));
  93. model.makeValue("/root/send/item/healexamdetlflag","G01");
  94. // submit("TRAHA02701");
  95. model.refresh();
  96. }
  97. ]]>
  98. </script>
  99. </xhtml:head>
  100. <xhtml:body guideline="1,1207;">
  101. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  102. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:212px; height:14px; ">일반건강검진 자동판정 코드 관리</caption>
  103. </group>
  104. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:15px; width:1194px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  105. <caption id="caption4" class="search_name" style="left:5px; top:21px; width:86px; height:17px; ">검진구분 :</caption>
  106. <select1 id="radio1" ref="/root/send/item/healexamdetlflag" overflow="visible" appearance="full" cols="10" style="left:95px; top:20px; width:865px; height:20px; border-style:none; ">
  107. <choices>
  108. <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
  109. <label ref="cdnm"/>
  110. <value ref="cdid"/>
  111. </itemset>
  112. </choices>
  113. </select1>
  114. <datagrid id="grd_rsrvlst" nodeset="/root/main/codeinfo/item" caption="판정구분^판정일련번호^판정구분^판정세부코드^판정명^검사코드^검사명^남여구분^나이상^나이하^1/2차구분^판정코드^판정상세코드^판정명^판정결과^1차검사참조여부^참고치상^참고치하^문자결과1^문자결과2^문자결과3^문자결과4^문자결과5^기타결과^2차검사패키지코드^2차검사패키지명^기관코드^brthareacnts" colsep="^" colwidth="89, 56, 54, 72, 120, 74, 82, 55, 44, 49, 49, 59, 76, 120, 132, 64, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:1195px; height:675px; ">
  115. <col explorerbar="sortshow" ref="healexamdetlflag" type="combo">
  116. <choices>
  117. <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
  118. <label ref="cdnm"/>
  119. <value ref="cdid"/>
  120. </itemset>
  121. </choices>
  122. </col>
  123. <col explorerbar="sortshow" ref="judgseq" type="input" visibility="hidden"/>
  124. <col ref="judgflag"/>
  125. <col ref="judgdetlflag"/>
  126. <col ref="judgflagnm" type="inputbutton"/>
  127. <col ref="testcd" type="inputbutton"/>
  128. <col ref="testnm" type="input"/>
  129. <col ref="manwomflag" type="combo" format="yyyy-mm-dd hh:nn">
  130. <choices>
  131. <item>
  132. <label>남</label>
  133. <value>1</value>
  134. </item>
  135. <item>
  136. <label>여</label>
  137. <value>2</value>
  138. </item>
  139. </choices>
  140. </col>
  141. <col ref="agemax" type="input" format="yyyy-mm-dd"/>
  142. <col ref="agemin" type="input"/>
  143. <col ref="dgflag" type="combo">
  144. <choices>
  145. <item>
  146. <label>1차</label>
  147. <value>1</value>
  148. </item>
  149. <item>
  150. <label>2차</label>
  151. <value>2</value>
  152. </item>
  153. </choices>
  154. </col>
  155. <col ref="judgcd" format="yyyy-mm-dd hh:nn:ss"/>
  156. <col ref="judgdetlcd"/>
  157. <col ref="judgnm" type="inputbutton"/>
  158. <col ref="judgrslt" type="input"/>
  159. <col ref="onersltref" type="combo">
  160. <choices>
  161. <item>
  162. <label>참조</label>
  163. <value>1</value>
  164. </item>
  165. <item>
  166. <label>참조하지 않음</label>
  167. <value>2</value>
  168. </item>
  169. </choices>
  170. </col>
  171. <col ref="refmax" type="input"/>
  172. <col ref="refmin" type="input"/>
  173. <col ref="charref1" type="input"/>
  174. <col ref="charref2" type="input"/>
  175. <col ref="charref3" type="input"/>
  176. <col ref="charref4" type="input"/>
  177. <col ref="charref5" type="input"/>
  178. <col ref="etcrslt" type="input"/>
  179. <col ref="dulppkgcd" type="input"/>
  180. <col ref="dulppkgnm" type="inputbutton"/>
  181. <col ref="instcd" type="input"/>
  182. <script type="javascript" ev:event="onbuttonclick">
  183. <![CDATA[
  184. if( grd_rsrvlst.col == grd_rsrvlst.colRef("testcd")) {
  185. model.removenode("/root/tmp");
  186. fGetCalScorCd( "cd", "", "U"/*bMultiyn*/ , "/root/temp/templst" /*vMultiDestXPath*/, "" /*vCdDestXPath*/, "" /*vNmDestXPath*/, "" /*vAmtDestXPath*/);
  187. if (model.getValue("/root/tmp/sel/testcd")!=""){
  188. var idx = grd_rsrvlst.row;
  189. model.makeValue("/root/main/codeinfo/item["+idx+"]/testcd",model.getValue("/root/tmp/sel/testcd"));
  190. model.makeValue("/root/main/codeinfo/item["+idx+"]/testnm",model.getValue("/root/tmp/sel/testnm"));
  191. }
  192. } else if (grd_rsrvlst.col==grd_rsrvlst.colRef("judgflagnm")){
  193. fGetAutoCode("1"); //세부정보구분 , 1/2차구분
  194. } else if (grd_rsrvlst.col==grd_rsrvlst.colRef("dulppkgnm")){
  195. fGetPkgCd("SMAHA00100", "P", "N","nm" , "" , model.getValue("/root/send/item/healexamdetlflag"), "" , "/root/main/info/rsrvacptinfo/item");
  196. var idx = grd_rsrvlst.row;
  197. model.makeValue("/root/main/codeinfo/item["+idx+"]/dulppkgcd",model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd"));
  198. model.makeValue("/root/main/codeinfo/item["+idx+"]/dulppkgnm",model.getValue("/root/main/info/rsrvacptinfo/item/pkgnm"));
  199. model.refresh();
  200. }else {
  201. if (model.getValue("/root/main/codeinfo/item["+grd_rsrvlst.row+"]/dgflag")!=""){
  202. fGetAutoCode("2",model.getValue("/root/main/codeinfo/item["+grd_rsrvlst.row+"]/dgflag")); //세부정보구분 , 1/2차구분
  203. }else{
  204. messageBox("1/2차구분을", "E007");
  205. }
  206. }
  207. ]]>
  208. </script>
  209. </datagrid>
  210. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  211. <button id="btn_save" class="btn4_letter2" style="left:1130px; top:3px; width:56px; height:22px; ">
  212. <caption>저장</caption>
  213. <script type="javascript" ev:event="DOMActivate">
  214. <![CDATA[
  215. for(var i=1;i<grd_rsrvlst.rows;i++){
  216. model.makeValue("/root/main/item["+i+"]/instcd",getUserInfo("dutplceinstcd"));
  217. // model.makeValue("/root/main/item["+i+"]/judgseq",i);
  218. }
  219. submit("TXAHB00104");
  220. model.removeNodeset("/root/main/codeinfo");
  221. model.removenodeset("root/send/item");
  222. model.removenodeset("root/send");
  223. model.makeValue("/root/send/instcd",getUserInfo("dutplceinstcd"));
  224. model.makeValue("/root/send/healexamdetlflag","G01");
  225. model.makeValue("/root/send/item/instcd",getUserInfo("dutplceinstcd"));
  226. model.makeValue("/root/send/item/healexamdetlflag","G01");
  227. submit("TRAHA02701");
  228. model.refresh();
  229. ]]>
  230. </script>
  231. </button>
  232. </group>
  233. <button id="btn_del" class="btn2_letter3" style="left:1136px; top:50px; width:53px; height:19px; ">
  234. <caption>행삭제</caption>
  235. <script type="javascript" ev:event="DOMActivate">
  236. <![CDATA[
  237. //grd_sicklst.addStatus(grd_sicklst.row, "delete");
  238. deleteSelectedRows(grd_rsrvlst,true);
  239. grd_rsrvlst.addStatus(grd_rsrvlst.row, "delete");
  240. grd_rsrvlst.rowStatus(grd_rsrvlst.row) = 4;
  241. model.makeValue("/root/main/codeinfo/item["+grd_rsrvlst.row+"]/mode" , "D");
  242. ]]>
  243. </script>
  244. </button>
  245. <button id="btn_add" class="btn2_letter3" style="left:1080px; top:50px; width:53px; height:19px; ">
  246. <caption>행추가</caption>
  247. <script type="javascript" ev:event="DOMActivate">
  248. <![CDATA[
  249. grd_rsrvlst.addRow();
  250. grd_rsrvlst.valueMatrix(grd_rsrvlst.rows -1,grd_rsrvlst.colRef("manwomflag")) = "1";
  251. grd_rsrvlst.valueMatrix(grd_rsrvlst.rows-1,grd_rsrvlst.colRef("agemax")) = "200";
  252. grd_rsrvlst.valueMatrix(grd_rsrvlst.rows-1,grd_rsrvlst.colRef("agemin")) = "0";
  253. grd_rsrvlst.valueMatrix(grd_rsrvlst.rows-1,grd_rsrvlst.colRef("dgflag")) = "1";
  254. grd_rsrvlst.valueMatrix(grd_rsrvlst.rows-1,grd_rsrvlst.colRef("onersltref")) = "2";
  255. grd_rsrvlst.editCell();
  256. ]]>
  257. </script>
  258. </button>
  259. <button id="button1" class="btn2_letter9" style="left:958px; top:50px; width:119px; height:19px; ">
  260. <caption>질환별 2차검진설정</caption>
  261. <script type="javascript" ev:event="DOMActivate">
  262. <![CDATA[
  263. modal("SPAHB01200");
  264. ]]>
  265. </script>
  266. </button>
  267. </xhtml:body>
  268. </xhtml:html>