SMAHA03150_건진별기본정보관리.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHB01400.xrw
  4. * 설 명 : 기관및판정의관리
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 : 2007.08.01
  8. * 수정이력 : 2007.10.04 김다영 화면권한추가
  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>Untitle</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <send>
  19. <srchassoflag>01</srchassoflag>
  20. <srchinstcd/>
  21. <save>
  22. <saveasso/>
  23. <savedrlist/>
  24. <assoflag/>
  25. <instcd/>
  26. <userid/>
  27. </save>
  28. </send>
  29. <main>
  30. <stdval>
  31. <item>
  32. <stdm_healexamflag/>
  33. <stdm_healexamdetlflag/>
  34. <stdm_instcd/>
  35. <stdm_todd/>
  36. <stdm_fromdd/>
  37. <stdm_addtestcalcflag/>
  38. <stdm_insukind/>
  39. <stdm_suppkind/>
  40. <stdm_suppkindresn/>
  41. <stdm_meddeptcd/>
  42. <stdm_orddrid/>
  43. <stdm_orddrnm/>
  44. <stdm_totalscheyn/>
  45. <stdm_rsltcnstscheyn/>
  46. <stdm_roomscheyn/>
  47. <stdm_calcflag/>
  48. <stdm_multiacptyn/>
  49. <stdm_duplacptyn/>
  50. <stdm_prcptdayaftrcptyn/>
  51. <stdm_examformyn/>
  52. </item>
  53. </stdval>
  54. <assolist>
  55. <item>
  56. <assocd/>
  57. <assonm/>
  58. <telno/>
  59. <faxno/>
  60. <zipcd1/>
  61. <zipcd2/>
  62. <detladdr/>
  63. <zipcdseq/>
  64. </item>
  65. </assolist>
  66. </main>
  67. <init>
  68. <baseinfo>
  69. <assocd/>
  70. <healexamflaglst/>
  71. <ghealexamdetlflaglst/>
  72. <chealexamdetlflaglst/>
  73. <healexamdetlflaglst>
  74. <item/>
  75. </healexamdetlflaglst>
  76. <comcode/>
  77. </baseinfo>
  78. </init>
  79. <hidden/>
  80. <case_mode/>
  81. <temp>
  82. <addr>
  83. <zipcd1/>
  84. <zipcd2/>
  85. <addr/>
  86. <zipcdseq/>
  87. </addr>
  88. </temp>
  89. </root>
  90. </instance>
  91. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  92. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  93. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  94. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  95. <script type="javascript" src="../../../ast/healexamweb/js/healexam.js"/>
  96. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  97. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  98. <!-- <submission id="TRAHB00201" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/inqrlst"/>
  99. <submission id="TRZBC00101"/> -->
  100. <script type="javascript" ev:event="xforms-ready">
  101. <![CDATA[
  102. fGetBaseInfo();
  103. model.removeNodeset("/root/main/stdval");
  104. fGetStdVal();
  105. model.refresh();
  106. ]]>
  107. </script>
  108. <submission id="TRAHA03151" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/assolist"/>
  109. <submission id="TRAHA31502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/drlist"/>
  110. <submission id="TXAHA03151" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  111. <submission id="TXAHA31502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  112. <submission id="TRZBC00101"/>
  113. </model>
  114. <script type="javascript">
  115. <![CDATA[
  116. function fGetBaseInfo(){
  117. // 건진기관구분
  118. zbcfGetCodeList( new Array("A0068","A0069","A0070","P0008","P0010","P0032"),
  119. new Array("/root/init/baseinfo/healexamflaglst"
  120. ,"/root/init/baseinfo/chealexamdetlflaglst"
  121. ,"/root/init/baseinfo/ghealexamdetlflaglst"
  122. ,"/root/init/baseinfo/comcode"
  123. ,"/root/init/baseinfo/comcode"
  124. ,"/root/init/baseinfo/comcode") );
  125. submit("TRZBC00101");
  126. copyNodesetType("/root/init/baseinfo/healexamdetlflaglst/item","/root/init/baseinfo/chealexamdetlflaglst/A0069", "after");
  127. copyNodesetType("/root/init/baseinfo/healexamdetlflaglst/item","/root/init/baseinfo/ghealexamdetlflaglst/A0070", "after");
  128. }
  129. function fGetStdVal(){
  130. model.removeNodeset("/root/main/stdval");
  131. submit("TRAHA03151");
  132. }
  133. function fSaveVal() {
  134. if( messageBox("기준정보를 ","Q002") == 6){
  135. model.setValue("/root/send/save/savedrlist" , grd_stdval.getUpdateData());
  136. if (submit("TXAHA03151")){
  137. grd_stdval.clearStatus();
  138. fGetStdVal();
  139. }
  140. }
  141. }
  142. ]]>
  143. </script>
  144. </xhtml:head>
  145. <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  146. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  147. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">건진별 기본정보 관리</caption>
  148. </group>
  149. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  150. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  151. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  152. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  153. <caption>조회</caption>
  154. <script type="javascript" ev:event="DOMActivate">
  155. <![CDATA[
  156. fGetStdVal();
  157. ]]>
  158. </script>
  159. </button>
  160. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  161. </group>
  162. <datagrid id="grd_stdval" nodeset="/root/main/stdval/item" autoresize="true" caption="건진구분^건진상세구분^기관코드^데이터만기일^데이터시작일^추가검사수가^보험유형^보조유형^보조유형사유^진료과^진료과코드^진료의^진료의ID^건진일정관리^결과상담일정관리^검사실별일정관리^계산^다중접수^이중접수^처방당일후수납여부^검사동의서자동출력" colsep="^" colwidth="80, 120, 25, 25, 25, 100, 100, 100, 100, 90, 80, 80, 80, 80, 80, 80, 80, 80, 100, 120, 120" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:55px; width:1194px; height:675px; ">
  163. <col disabled="true" ref="stdm_healexamflag" type="combo">
  164. <choices>
  165. <itemset nodeset="/root/init/baseinfo/healexamflaglst/A0068">
  166. <label ref="cdnm"/>
  167. <value ref="cdid"/>
  168. </itemset>
  169. </choices>
  170. </col>
  171. <col disabled="true" ref="stdm_healexamdetlflag" type="combo">
  172. <choices>
  173. <itemset nodeset="/root/init/baseinfo/healexamdetlflaglst/item">
  174. <label ref="cdnm"/>
  175. <value ref="cdid"/>
  176. </itemset>
  177. </choices>
  178. </col>
  179. <col ref="stdm_instcd" type="input" visibility="hidden"/>
  180. <col ref="stdm_todd" type="input" visibility="hidden"/>
  181. <col ref="stdm_fromdd" type="input" visibility="hidden"/>
  182. <col ref="stdm_addtestcalcflag" type="combo" visibility="hidden">
  183. <choices>
  184. <item>
  185. <label>일반수가</label>
  186. <value>0</value>
  187. </item>
  188. <item>
  189. <label>보험수가</label>
  190. <value>1</value>
  191. </item>
  192. </choices>
  193. </col>
  194. <col ref="stdm_insukind" type="combo" visibility="hidden">
  195. <choices>
  196. <itemset nodeset="/root/init/baseinfo/comcode/P0008">
  197. <label ref="cdnm"/>
  198. <value ref="cdid"/>
  199. </itemset>
  200. </choices>
  201. </col>
  202. <col ref="stdm_suppkind" type="combo" visibility="hidden">
  203. <choices>
  204. <itemset nodeset="/root/init/baseinfo/comcode/P0010">
  205. <label ref="cdnm"/>
  206. <value ref="cdid"/>
  207. </itemset>
  208. </choices>
  209. </col>
  210. <col ref="stdm_suppkindresn" type="combo" visibility="hidden">
  211. <choices>
  212. <itemset nodeset="/root/init/baseinfo/comcode/P0032">
  213. <label ref="cdnm"/>
  214. <value ref="cdid"/>
  215. </itemset>
  216. </choices>
  217. </col>
  218. <col ref="stdm_meddeptnm"/>
  219. <col ref="stdm_meddeptcd" type="input"/>
  220. <col ref="stdm_orddrnm"/>
  221. <col ref="stdm_orddrid" type="input"/>
  222. <col checkvalue="Y,N" ref="stdm_totalscheyn" type="checkbox" visibility="hidden"/>
  223. <col checkvalue="Y,N" ref="stdm_rsltcnstscheyn" type="checkbox" visibility="hidden"/>
  224. <col checkvalue="Y,N" ref="stdm_roomscheyn" type="checkbox" visibility="hidden"/>
  225. <col ref="stdm_calcflag" type="checkbox" visibility="hidden"/>
  226. <col checkvalue="Y,N" ref="stdm_multiacptyn" type="checkbox"/>
  227. <col checkvalue="Y,N" ref="stdm_duplacptyn" type="checkbox"/>
  228. <col checkvalue="Y,N" ref="stdm_prcptdayaftrcptyn" type="checkbox"/>
  229. <col checkvalue="Y,N" ref="stdm_examformyn" type="checkbox"/>
  230. <script type="javascript" ev:event="xforms-value-changed">
  231. <![CDATA[
  232. if(grd_stdval.col == grd_stdval.colRef("healexamdetlflag")) {
  233. var healexamdetl = grd_stdval.valueMatrix(grd_stdval.row, grd_stdval.colRef("healexamdetlflag"));
  234. grd_stdval.valueMatrix(grd_stdval.row , grd_stdval.colRef("healexamflag")) = healexamdetl.substr(0,1);
  235. }
  236. ]]>
  237. </script>
  238. </datagrid>
  239. <line id="line3" class="line_1" style="x1:0px; y1:50px; x2:1194px; y2:50px; "/>
  240. </group>
  241. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  242. <button id="button8" class="btn3_letter4" style="left:59px; top:5px; width:80px; height:22px; ">
  243. <caption>화면이동</caption>
  244. </button>
  245. <button id="btn_print" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
  246. <caption>출력</caption>
  247. </button>
  248. <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  249. <caption>저장</caption>
  250. <script type="javascript" ev:event="DOMActivate">
  251. <![CDATA[
  252. fSaveVal();
  253. messageBox("저장 ", "I002");
  254. ]]>
  255. </script>
  256. </button>
  257. </group>
  258. </xhtml:body>
  259. </xhtml:html>