SMAHA03200_패키지별문진관리.xrw 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHA03200.xrw
  4. * 설 명 : 패키지별문진관리
  5. * 설 계 자 : 손범성
  6. * 작 성 자 : 손범성
  7. * 작 성 일 : 2009.04.13
  8. * 기 타 :
  9. -->
  10. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>패키지별문진관리</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <pkglst>
  19. <item>
  20. <healexamflag/>
  21. <healexamdetlflag/>
  22. <pkgflag/>
  23. <pkgcd/>
  24. <oldordcd/>
  25. <pkgnm/>
  26. <pkgengnm/>
  27. <calcscorcd/>
  28. <calcscornm/>
  29. <brthareacnts/>
  30. <pkgamt/>
  31. <gndrflag/>
  32. <useyn/>
  33. <uncoflag/>
  34. <earnclscd/>
  35. <remcnts/>
  36. <pkgdesc/>
  37. <inetyn/>
  38. </item>
  39. </pkglst>
  40. <pkgdetl>
  41. <inqr>
  42. <inqrflag/>
  43. <inqrcd/>
  44. <inqrnm/>
  45. <answflag/>
  46. <answcnt/>
  47. <useyn/>
  48. <answclscd/>
  49. <defltval/>
  50. <pkginqrseqno/>
  51. <inqretcflag1/>
  52. <inqretcflag2/>
  53. </inqr>
  54. <medi>
  55. <inqrflag/>
  56. <inqrcd/>
  57. <inqrnm/>
  58. <answflag/>
  59. <answcnt/>
  60. <useyn/>
  61. <answclscd/>
  62. <defltval/>
  63. <pkginqrseqno/>
  64. <inqretcflag1/>
  65. <inqretcflag2/>
  66. </medi>
  67. <judg>
  68. <inqrflag/>
  69. <inqrcd/>
  70. <inqrnm/>
  71. <answflag/>
  72. <answcnt/>
  73. <useyn/>
  74. <answclscd/>
  75. <defltval/>
  76. <pkginqrseqno/>
  77. <inqretcflag1/>
  78. <inqretcflag2/>
  79. </judg>
  80. </pkgdetl>
  81. <inqrlst>
  82. <item>
  83. <sel/>
  84. <inqrflag/>
  85. <inqrcd/>
  86. <inqrnm/>
  87. <answflag/>
  88. <answcnt/>
  89. <useyn/>
  90. <answclscd/>
  91. <defltval/>
  92. <inqrdipseq/>
  93. <inqretcflag1/>
  94. <inqretcflag2/>
  95. </item>
  96. </inqrlst>
  97. </main>
  98. <send>
  99. <srchhealexamflag/>
  100. <srchhealexamdetlflag/>
  101. <srchpkgcd/>
  102. <srchpkgnm/>
  103. <save/>
  104. <pkginfo/>
  105. <inqrinfo>
  106. <inqrflag/>
  107. </inqrinfo>
  108. <save>
  109. <healexamflag/>
  110. <healexamdetlflag/>
  111. <pkgcd/>
  112. <saveinqr/>
  113. <savemedi/>
  114. <savejudg/>
  115. </save>
  116. </send>
  117. <init>
  118. <baseinfo>
  119. <healexamflag/>
  120. <chealexamdetlflag/>
  121. <ghealexamdetlflag/>
  122. <ahealexamdetlflag>
  123. <item/>
  124. </ahealexamdetlflag>
  125. <healexamdetlflag>
  126. <item/>
  127. </healexamdetlflag>
  128. <uncolst/>
  129. <earnclslst/>
  130. <brthareacnts/>
  131. <inqrflaglst/>
  132. <answflaglst/>
  133. </baseinfo>
  134. </init>
  135. <hidden>
  136. <savecnt/>
  137. </hidden>
  138. </root>
  139. </instance>
  140. <submission id="TRZBC00101"/>
  141. <submission id="TRAHA03200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/pkglst"/>
  142. <submission id="TRAHA03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/pkginfo" resultref="/root/main/pkgdetl"/>
  143. <submission id="TRAHA03202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/inqrinfo" resultref="/root/main/inqrlst"/>
  144. <submission id="TXAHA03200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/savecnt"/>
  145. </model>
  146. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  147. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  148. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  149. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  150. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  151. <script type="javascript" ev:event="xforms-ready">
  152. <![CDATA[
  153. var sFlag = getScreenMenuParameter(); // 메뉴파라미터(건진구분을 셋팅)
  154. vHealexamFlag = sFlag.substr(0,1);
  155. vHealexamdetlFlag = sFlag;
  156. fGetBasicCdList();
  157. fSetInit();
  158. btn_search.disabled = !checkAuth("R") ;
  159. btn_save.disabled = !checkAuth("X");
  160. model.refresh();
  161. ]]>
  162. </script>
  163. <script type="javascript">
  164. <![CDATA[
  165. var vHealexamFlag = "";
  166. var vHealexamdetlFlag = "";
  167. /****************************************************************************************************************************************
  168. * 기본코드 정보를 조회한다.
  169. ****************************************************************************************************************************************/
  170. function fGetBasicCdList() {
  171. zbcfGetCodeList( new Array("A0068" ,"A0069", "A0070", "A0067","A0435","A0465" ,"A0106" ,"A0066")
  172. ,new Array("/root/init/baseinfo/healexamflag"
  173. , "/root/init/baseinfo/chealexamdetlflag"
  174. ,"/root/init/baseinfo/ghealexamdetlflag"
  175. , "/root/init/baseinfo/uncolst"
  176. ,"/root/init/baseinfo/earnclslst"
  177. ,"/root/init/baseinfo/brthareacnts"
  178. ,"/root/init/baseinfo/inqrflaglst"
  179. ,"/root/init/baseinfo/answflaglst"));
  180. copyNodesetType("/root/init/baseinfo/ahealexamdetlflag/item" , "/root/init/baseinfo/chealexamdetlflag/A0069","replace");
  181. copyNodesetType("/root/init/baseinfo/ahealexamdetlflag/item" , "/root/init/baseinfo/ghealexamdetlflag/A0070","after");
  182. model.refresh();
  183. }
  184. /****************************************************************************************************************************************
  185. * 화면의 인스턴스,컨트롤를 초기화 한다.
  186. ****************************************************************************************************************************************/
  187. function fSetInit() {
  188. if(vHealexamFlag != "" && vHealexamdetlFlag != "") {
  189. cmb_healexamflag.value = vHealexamFlag;
  190. fSetHealExamDetlFlag();
  191. cmb_healexamdetlflag.value = vHealexamdetlFlag;
  192. }else {
  193. cmb_healexamflag.select(0);
  194. }
  195. }
  196. /****************************************************************************************************************************************
  197. * 건진구분에 따른 건진상세정보를 셋팅한다.
  198. ****************************************************************************************************************************************/
  199. function fSetHealExamDetlFlag() {
  200. if(cmb_healexamflag.value == "C") {
  201. copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/chealexamdetlflag/A0069","replace");
  202. }else {
  203. copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/ghealexamdetlflag/A0070","replace");
  204. }
  205. cmb_healexamdetlflag.refresh();
  206. cmb_healexamdetlflag.select(0);
  207. }
  208. /****************************************************************************************************************************************
  209. * 조회 조건에 따른 패키지 리스트를 조회한다.
  210. ****************************************************************************************************************************************/
  211. function fGetPkagList() {
  212. submit("TRAHA03200");
  213. }
  214. /****************************************************************************************************************************************
  215. * 패키지 문진 별 문진 리스트를 조회한다.
  216. ****************************************************************************************************************************************/
  217. function fGetPkgInqrList() {
  218. copyNodesetType( "/root/send/pkginfo", grd_pkglst.nodeset + "[" + grd_pkglst.row + "]" , "replace");
  219. model.resetInstanceNode(grd_baseinqrlst.nodeset);
  220. if(submit("TRAHA03201")) {
  221. btn_inqr.dispatch("onclick");
  222. }
  223. }
  224. /****************************************************************************************************************************************
  225. * 탭에 따라 해당 문진 마스터 정보를 조회한다.
  226. ****************************************************************************************************************************************/
  227. function fGetInqrList(vFlag) {
  228. if(vFlag == "") return;
  229. model.makeValue("/root/send/inqrinfo/inqrflag", vFlag);
  230. submit("TRAHA03202");
  231. }
  232. /****************************************************************************************************************************************
  233. *문진을 패키지별 문진,진찰,판정에 등록한다.
  234. ****************************************************************************************************************************************/
  235. function fSetInqrList(vGrd) {
  236. var dupChk = false;
  237. for(var i=1; i < grd_baseinqrlst.rows; i++) {
  238. dupChk = true;
  239. var sel = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("sel"));
  240. if(sel == "Y") {
  241. var srcInqrFlag = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("inqrflag"));
  242. var srcInqrCd = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("inqrcd"));
  243. var inqrnm = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("inqrnm"));
  244. for(j=1; j < vGrd.rows; j++) {
  245. var desInqrFlag = vGrd.valueMatrix(j , vGrd.colRef("inqrflag"));
  246. var desInqrCd = vGrd.valueMatrix(j , vGrd.colRef("inqrcd"));
  247. if(srcInqrFlag == desInqrFlag && srcInqrCd == desInqrCd) {
  248. messageBox("선택한 [" + inqrnm + "]는","E006");
  249. dupChk = false;
  250. }
  251. }
  252. if(dupChk) {
  253. vGrd.addRow();
  254. var insRow = vGrd.rows - 1 ;
  255. vGrd.valueMatrix( insRow , vGrd.colRef("inqrflag")) = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("inqrflag"));
  256. vGrd.valueMatrix( insRow , vGrd.colRef("inqrcd")) = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("inqrcd"));
  257. vGrd.valueMatrix( insRow , vGrd.colRef("inqrnm")) = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("inqrnm"));
  258. vGrd.valueMatrix( insRow , vGrd.colRef("answflag")) = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("answflag"));
  259. vGrd.valueMatrix( insRow , vGrd.colRef("answcnt")) = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("answcnt"));
  260. vGrd.valueMatrix( insRow , vGrd.colRef("useyn")) = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("useyn"));
  261. vGrd.valueMatrix( insRow , vGrd.colRef("answclscd")) = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("answclscd"));
  262. vGrd.valueMatrix( insRow , vGrd.colRef("defltval")) = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("defltval"));
  263. vGrd.valueMatrix( insRow , vGrd.colRef("inqretcflag1")) = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("inqretcflag1"));
  264. vGrd.valueMatrix( insRow , vGrd.colRef("inqretcflag2")) = grd_baseinqrlst.valueMatrix(i , grd_baseinqrlst.colRef("inqretcflag2"));
  265. }
  266. }
  267. }
  268. }
  269. /****************************************************************************************************************************************
  270. *패키지 별 등록한 문진 정보르 저장한다.
  271. ****************************************************************************************************************************************/
  272. function fSavePkgInqr() {
  273. var inqrsave = getGridUpdateData(grd_inqrlst);
  274. var medisave = getGridUpdateData(grd_medilst);
  275. var judgsave = getGridUpdateData(grd_judglst);
  276. if(inqrsave == "" && medisave == "" && judgsave == "") {
  277. messageBox("저장할 내역이" , "I004");
  278. return;
  279. }else {
  280. model.makeValue("/root/send/save/healexamflag" , model.getValue("/root/send/pkginfo/healexamflag"));
  281. model.makeValue("/root/send/save/healexamdetlflag" , model.getValue("/root/send/pkginfo/healexamdetlflag"));
  282. model.makeValue("/root/send/save/pkgcd" , model.getValue("/root/send/pkginfo/pkgcd"));
  283. model.makeValue("/root/send/save/saveinqr" , inqrsave);
  284. model.makeValue("/root/send/save/savemedi" , medisave);
  285. model.makeValue("/root/send/save/savejudg" ,judgsave);
  286. if(submit("TXAHA03200")) {
  287. submit("TRAHA03201");
  288. }
  289. }
  290. }
  291. ]]>
  292. </script>
  293. </xhtml:head>
  294. <xhtml:body>
  295. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  296. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">패키지별문진관리</caption>
  297. </group>
  298. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  299. <datagrid id="grd_baseinqrlst" nodeset="/root/main/inqrlst/item" caption="선택^문진구분^코드^문진내역^답안구분^단압선택수^사용여부^답안분류코드^기본값^출력순서^기타구분1^기타구분2" colsep="^" colwidth="30, 100, 100, 250, 70, 100, 60, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:550px; top:75px; width:640px; height:241px; ">
  300. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  301. <col disabled="true" ref="inqrflag" type="combo">
  302. <choices>
  303. <itemset nodeset="/root/init/baseinfo/inqrflaglst/A0106">
  304. <label ref="cdnm"/>
  305. <value ref="cdid"/>
  306. </itemset>
  307. </choices>
  308. </col>
  309. <col ref="inqrcd"/>
  310. <col ref="inqrnm"/>
  311. <col disabled="true" ref="answflag" type="combo">
  312. <choices>
  313. <itemset nodeset="/root/init/baseinfo/answflaglst/A0066">
  314. <label ref="cdnm"/>
  315. <value ref="cdid"/>
  316. </itemset>
  317. </choices>
  318. </col>
  319. <col ref="answcnt" visibility="hidden"/>
  320. <col checkvalue="Y,N" disabled="true" ref="useyn" type="checkbox"/>
  321. <col ref="answclscd" visibility="hidden"/>
  322. <col ref="defltval" visibility="hidden"/>
  323. <col ref="inqrdipseq" visibility="hidden"/>
  324. <col ref="inqretcflag1" visibility="hidden"/>
  325. <col ref="inqretcflag2" visibility="hidden"/>
  326. </datagrid>
  327. <group id="group6" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  328. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  329. <caption id="caption21" class="search_name" style="left:16px; top:8px; width:86px; height:17px; ">건진구분:</caption>
  330. <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  331. <caption>조회</caption>
  332. <script type="javascript" ev:event="DOMActivate">
  333. <![CDATA[
  334. fGetPkagList();
  335. ]]>
  336. </script>
  337. </button>
  338. <line id="line18" class="line_4" style="x1:1104px; y1:7px; x2:1104px; y2:29px; border-left-style:solid; "/>
  339. <caption id="caption22" class="search_name" style="left:246px; top:8px; width:112px; height:17px; ">건진상세구분 :</caption>
  340. <caption id="caption2" class="search_name" style="left:506px; top:8px; width:112px; height:17px; ">패키지코드 :</caption>
  341. <caption id="caption3" class="search_name" style="left:761px; top:8px; width:112px; height:17px; ">패키지명 :</caption>
  342. <select1 id="cmb_healexamflag" ref="/root/send/srchhealexamflag" appearance="minimal" style="left:105px; top:8px; width:115px; height:19px; ">
  343. <choices>
  344. <itemset nodeset="/root/init/baseinfo/healexamflag/A0068">
  345. <label ref="cdnm"/>
  346. <value ref="cdid"/>
  347. </itemset>
  348. </choices>
  349. <script type="javascript" ev:event="xforms-select">
  350. <![CDATA[
  351. fSetHealExamDetlFlag();
  352. ]]>
  353. </script>
  354. </select1>
  355. <select1 id="cmb_healexamdetlflag" ref="/root/send/srchhealexamdetlflag" appearance="minimal" style="left:366px; top:8px; width:115px; height:19px; ">
  356. <choices>
  357. <itemset nodeset="/root/init/baseinfo/healexamdetlflag/item">
  358. <label ref="cdnm"/>
  359. <value ref="cdid"/>
  360. </itemset>
  361. </choices>
  362. </select1>
  363. <input id="ipt_pkgcd" ref="/root/send/srchpkgcd" style="left:611px; top:8px; width:125px; height:19px; ">
  364. <script type="javascript" ev:event="onkeyup">
  365. <![CDATA[
  366. inputEnterKey("btn_search", "DOMActivate");
  367. ]]>
  368. </script>
  369. </input>
  370. <input id="ipt_pkgnm" ref="/root/send/srchpkgnm" style="left:856px; top:8px; width:190px; height:19px; ">
  371. <script type="javascript" ev:event="onkeyup">
  372. <![CDATA[
  373. inputEnterKey("btn_search", "DOMActivate");
  374. ]]>
  375. </script>
  376. </input>
  377. </group>
  378. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:115px; height:14px; ">패키지 내역</caption>
  379. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:545px; y2:70px; "/>
  380. <switch id="swt_detl" style="left:549px; top:341px; width:640px; height:398px; ">
  381. <case id="case_inqr" selected="true">
  382. <caption id="caption4" class="tit_2" style="left:10px; top:5px; width:115px; height:14px; ">문진내역</caption>
  383. <line id="line2" class="line_1" style="x1:5px; y1:20px; x2:633px; y2:20px; "/>
  384. <datagrid id="grd_inqrlst" nodeset="/root/main/pkgdetl/inqr" caption="문진구분^코드^문진내역^단압구분^단압선택수^사용여부^답안분류코드^기본값^출력순서^기타구분1^기타구분2" colsep="^" colwidth="100, 80, 200, 70, 100, 60, 100, 100, 70, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:25px; width:628px; height:366px; ">
  385. <col disabled="true" ref="inqrflag" type="combo">
  386. <choices>
  387. <itemset nodeset="/root/init/baseinfo/inqrflaglst/A0106">
  388. <label ref="cdnm"/>
  389. <value ref="cdid"/>
  390. </itemset>
  391. </choices>
  392. </col>
  393. <col ref="inqrcd"/>
  394. <col ref="inqrnm"/>
  395. <col disabled="true" ref="answflag" type="combo">
  396. <choices>
  397. <itemset nodeset="/root/init/baseinfo/answflaglst/A0066">
  398. <label ref="cdnm"/>
  399. <value ref="cdid"/>
  400. </itemset>
  401. </choices>
  402. </col>
  403. <col ref="answcnt" visibility="hidden"/>
  404. <col checkvalue="Y,N" disabled="true" ref="useyn" type="checkbox"/>
  405. <col ref="answclscd" visibility="hidden"/>
  406. <col ref="defltval" visibility="hidden"/>
  407. <col ref="pkginqrseqno" type="input"/>
  408. <col ref="inqretcflag1" visibility="hidden"/>
  409. <col ref="inqretcflag2" visibility="hidden"/>
  410. </datagrid>
  411. </case>
  412. <case id="case_medi">
  413. <caption id="caption5" class="tit_2" style="left:10px; top:5px; width:115px; height:14px; ">진찰내역</caption>
  414. <line id="line3" class="line_1" style="x1:5px; y1:20px; x2:632px; y2:20px; "/>
  415. <datagrid id="grd_medilst" nodeset="/root/main/pkgdetl/medi" caption="문진구분^코드^문진내역^답안구분^단압선택수^사용여부^답안분류코드^기본값^출력순서^기타구분1^기타구분2" colsep="^" colwidth="100, 80, 200, 70, 100, 60, 100, 100, 70, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:25px; width:628px; height:366px; ">
  416. <col disabled="true" ref="inqrflag" type="combo">
  417. <choices>
  418. <itemset nodeset="/root/init/baseinfo/inqrflaglst/A0106">
  419. <label ref="cdnm"/>
  420. <value ref="cdid"/>
  421. </itemset>
  422. </choices>
  423. </col>
  424. <col ref="inqrcd"/>
  425. <col ref="inqrnm"/>
  426. <col disabled="true" ref="answflag" type="combo">
  427. <choices>
  428. <itemset nodeset="/root/init/baseinfo/answflaglst/A0066">
  429. <label ref="cdnm"/>
  430. <value ref="cdid"/>
  431. </itemset>
  432. </choices>
  433. </col>
  434. <col ref="answcnt" visibility="hidden"/>
  435. <col checkvalue="Y,N" disabled="true" ref="useyn" type="checkbox"/>
  436. <col ref="answclscd" visibility="hidden"/>
  437. <col ref="defltval" visibility="hidden"/>
  438. <col ref="pkginqrseqno" type="input"/>
  439. <col ref="inqretcflag1" visibility="hidden"/>
  440. <col ref="inqretcflag2" visibility="hidden"/>
  441. </datagrid>
  442. </case>
  443. <case id="case_judg">
  444. <caption id="caption7" class="tit_2" style="left:10px; top:5px; width:115px; height:14px; ">판정내역</caption>
  445. <line id="line4" class="line_1" style="x1:5px; y1:20px; x2:632px; y2:20px; "/>
  446. <datagrid id="grd_judglst" nodeset="/root/main/pkgdetl/judg" caption="문진구분^코드^문진내역^답안구분^단압선택수^사용여부^답안분류코드^기본값^출력순서^기타구분1^기타구분2" colsep="^" colwidth="100, 80, 200, 70, 100, 60, 100, 100, 70, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:25px; width:628px; height:366px; ">
  447. <col disabled="true" ref="inqrflag" type="combo">
  448. <choices>
  449. <itemset nodeset="/root/init/baseinfo/inqrflaglst/A0106">
  450. <label ref="cdnm"/>
  451. <value ref="cdid"/>
  452. </itemset>
  453. </choices>
  454. </col>
  455. <col ref="inqrcd"/>
  456. <col ref="inqrnm"/>
  457. <col disabled="true" ref="answflag" type="combo">
  458. <choices>
  459. <itemset nodeset="/root/init/baseinfo/answflaglst/A0066">
  460. <label ref="cdnm"/>
  461. <value ref="cdid"/>
  462. </itemset>
  463. </choices>
  464. </col>
  465. <col ref="answcnt" visibility="hidden"/>
  466. <col checkvalue="Y,N" disabled="true" ref="useyn" type="checkbox"/>
  467. <col ref="answclscd" visibility="hidden"/>
  468. <col ref="defltval" visibility="hidden"/>
  469. <col ref="pkginqrseqno" type="input"/>
  470. <col ref="inqretcflag1" visibility="hidden"/>
  471. <col ref="inqretcflag2" visibility="hidden"/>
  472. </datagrid>
  473. </case>
  474. </switch>
  475. <button id="btn_inqr" class="btn_sw" group="tab" selected="true" style="left:555px; top:320px; width:56px; height:22px; ">
  476. <caption>문진</caption>
  477. <script type="javascript" ev:event="onclick">
  478. <![CDATA[
  479. model.toggle("case_inqr");
  480. btn_inqr.selected = true;
  481. fGetInqrList("E");
  482. ]]>
  483. </script>
  484. </button>
  485. <button id="btn_medi" class="btn_sw" group="tab" selected="true" style="left:611px; top:320px; width:56px; height:22px; ">
  486. <caption>진찰</caption>
  487. <script type="javascript" ev:event="onclick">
  488. <![CDATA[
  489. model.toggle("case_medi");
  490. btn_medi.selected = true;
  491. fGetInqrList("F");
  492. ]]>
  493. </script>
  494. </button>
  495. <button id="btn_judg" class="btn_sw" group="tab" selected="true" style="left:667px; top:320px; width:56px; height:22px; ">
  496. <caption>판정</caption>
  497. <script type="javascript" ev:event="onclick">
  498. <![CDATA[
  499. model.toggle("case_judg");
  500. btn_medi.selected = true;
  501. fGetInqrList("G");
  502. ]]>
  503. </script>
  504. </button>
  505. <datagrid id="grd_pkglst" nodeset="/root/main/pkglst/item" caption="건진구분^건진상세구분^코드구분^패키지코드^구코드^패키지명^패키지명(영문)^수가코드^수가명칭^비자국가코드^가격^남여구분^사용여부^미수분류^수익분류^비고^검사설명^인터넷 적용여부" colsep="^" colwidth="100, 80, 70, 80, 100, 100, 100, 70, 80, 80, 80, 60, 60, 100, 100, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:75px; width:545px; height:663px; ">
  506. <col disabled="true" ref="healexamflag" type="combo" visibility="hidden">
  507. <choices>
  508. <itemset nodeset="/root/init/baseinfo/healexamflag/A0068">
  509. <label ref="cdnm"/>
  510. <value ref="cdid"/>
  511. </itemset>
  512. </choices>
  513. </col>
  514. <col id="colflag" disabled="true" ref="healexamdetlflag" type="combo">
  515. <choices>
  516. <itemset nodeset="/root/init/baseinfo/ahealexamdetlflag/item">
  517. <label ref="cdnm"/>
  518. <value ref="cdid"/>
  519. </itemset>
  520. </choices>
  521. </col>
  522. <col disabled="true" ref="pkgflag" type="combo">
  523. <choices>
  524. <item>
  525. <label>패키지</label>
  526. <value>P</value>
  527. </item>
  528. <item>
  529. <label>묶음처방</label>
  530. <value>G</value>
  531. </item>
  532. </choices>
  533. </col>
  534. <col disabled="true" imemode="disabled" ref="pkgcd" maxlength="12" _chartype="upper"/>
  535. <col ref="oldordcd" visibility="hidden"/>
  536. <col ref="pkgnm" maxlength="50"/>
  537. <col ref="pkgengnm" maxlength="50" style="left:512px; top:23px; width:100px; height:23px; "/>
  538. <col ref="calcscorcd" visibility="hidden" maxlength="12"/>
  539. <col ref="calcscornm" visibility="hidden"/>
  540. <col disabled="true" ref="brthareacnts" type="combo" visibility="hidden">
  541. <choices>
  542. <itemset nodeset="/root/init/baseinfo/brthareacnts/A0465">
  543. <label ref="cdnm"/>
  544. <value ref="cdid"/>
  545. </itemset>
  546. </choices>
  547. </col>
  548. <col ref="pkgamt" format="#,###" style="text-align:right; "/>
  549. <col disabled="true" ref="gndrflag" type="combo">
  550. <choices>
  551. <item>
  552. <label>공통</label>
  553. <value>M</value>
  554. </item>
  555. <item>
  556. <label>남</label>
  557. <value>C</value>
  558. </item>
  559. <item>
  560. <label>여</label>
  561. <value>F</value>
  562. </item>
  563. </choices>
  564. </col>
  565. <col checkvalue="Y,N" disabled="true" ref="useyn" type="checkbox" style="left:926px; top:23px; width:79px; height:23px; "/>
  566. <col ref="uncoflag" type="combo" visibility="hidden" style="left:1105px; top:23px; width:128px; height:23px; ">
  567. <choices>
  568. <itemset nodeset="/root/init/baseinfo/uncolst/A0067">
  569. <label ref="cdnm"/>
  570. <value ref="cdid"/>
  571. </itemset>
  572. </choices>
  573. </col>
  574. <col ref="earnclscd" type="combo" visibility="hidden">
  575. <choices>
  576. <itemset nodeset="/root/init/baseinfo/earnclslst/A0435">
  577. <label ref="cdnm"/>
  578. <value ref="cdid"/>
  579. </itemset>
  580. </choices>
  581. </col>
  582. <col ref="remcnts"/>
  583. <col ref="pkgdesc"/>
  584. <col checkvalue="Y,N" disabled="true" ref="inetyn" type="checkbox"/>
  585. <script type="javascript" ev:event="ondblclick">
  586. <![CDATA[
  587. fGetPkgInqrList();
  588. ]]>
  589. </script>
  590. </datagrid>
  591. <caption id="caption8" class="tit_2" style="left:555px; top:55px; width:115px; height:14px; ">문진코드 내역</caption>
  592. <line id="line5" class="line_1" style="x1:550px; y1:70px; x2:1190px; y2:70px; "/>
  593. </group>
  594. <button id="btn_del" class="btn2_letter3" style="left:1135px; top:334px; width:53px; height:19px; ">
  595. <caption>행삭제</caption>
  596. <script type="javascript" ev:event="DOMActivate">
  597. <![CDATA[
  598. if(case_inqr.selected == true) {
  599. deleteSelectedRows(grd_inqrlst,true);
  600. }else if(case_medi.selected == true) {
  601. deleteSelectedRows(grd_medilst,true);
  602. }else if(case_judg.selected== true) {
  603. deleteSelectedRows(grd_judglst,true);
  604. }
  605. ]]>
  606. </script>
  607. </button>
  608. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  609. <line id="line14" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  610. <button id="btn_save" class="btn4_letter2" disabled="false" style="left:1132px; top:3px; width:56px; height:22px; ">
  611. <caption>저장</caption>
  612. <script type="javascript" ev:event="DOMActivate">
  613. <![CDATA[
  614. fSavePkgInqr();
  615. ]]>
  616. </script>
  617. </button>
  618. </group>
  619. <button id="btn_reduce" class="btn2_letter3" visibility="hidden" style="left:491px; top:63px; width:53px; height:19px; ">
  620. <caption>줄이기</caption>
  621. <script type="javascript" ev:event="DOMActivate">
  622. <![CDATA[
  623. btn_spread.visible = true;
  624. btn_reduce.visible = false;
  625. grd_pkglst.attribute("width") = parseInt(grd_pkglst.attribute("width")) - parseInt(swt_detl.attribute("width")) - 5;
  626. ]]>
  627. </script>
  628. </button>
  629. <button id="btn_spread" class="btn2_letter3" style="left:491px; top:63px; width:53px; height:19px; ">
  630. <caption>펼치기</caption>
  631. <script type="javascript" ev:event="DOMActivate">
  632. <![CDATA[
  633. btn_spread.visible = false;
  634. btn_reduce.visible = true;
  635. grd_pkglst.attribute("width") = parseInt(grd_pkglst.attribute("width")) + parseInt(swt_detl.attribute("width")) + 5;
  636. ]]>
  637. </script>
  638. </button>
  639. <button id="button1" class="btn2_letter4" style="left:1124px; top:63px; width:64px; height:19px; ">
  640. <caption>문진등록</caption>
  641. <script type="javascript" ev:event="DOMActivate">
  642. <![CDATA[
  643. if(case_inqr.selected == true) {
  644. fSetInqrList(grd_inqrlst);
  645. }else if(case_medi.selected == true) {
  646. fSetInqrList(grd_medilst);
  647. }else if(case_judg.selected== true) {
  648. fSetInqrList(grd_judglst);
  649. }
  650. ]]>
  651. </script>
  652. </button>
  653. </xhtml:body>
  654. </xhtml:html>