SPMMO04100_협진회의록.xrw 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <cnstconf>
  11. <cnstconf>
  12. <screenflag/>
  13. <status/>
  14. <genrdd/>
  15. <genrno/>
  16. <confrecno/>
  17. <confdd/>
  18. <conftm/>
  19. <diagcd/>
  20. <diagnm/>
  21. <smokhist/>
  22. <ecogscale/>
  23. <conftitl/>
  24. <confplce>협진회의실</confplce>
  25. <confcnts/>
  26. <pid/>
  27. <hngnm/>
  28. <sa/>
  29. <orddeptcd/>
  30. <orddrid/>
  31. <orgdiagcd/>
  32. <roomcd/>
  33. <rsltcnts/>
  34. <asumresn/>
  35. <writnm/>
  36. <rgstrid/>
  37. <stagecd/>
  38. <tnmcd1/>
  39. <tnmcd2/>
  40. <tnmcd3/>
  41. <writid/>
  42. <maxconfrecno/>
  43. <smokstrtyear/>
  44. <smokendyear/>
  45. <smokday/>
  46. <smokyear/>
  47. <smokyn>3</smokyn>
  48. <smokhist1/>
  49. <smokday1/>
  50. <smokyear1/>
  51. <smokhist2/>
  52. <smokday2/>
  53. <smokyear2/>
  54. <conf>Y</conf>
  55. <rslt>Y</rslt>
  56. <subdiagnm/>
  57. <orddrnm/>
  58. </cnstconf>
  59. </cnstconf>
  60. <cnstconfinfo>
  61. <cnstconfinfo/>
  62. </cnstconfinfo>
  63. <diaginfo>
  64. <diagcdlist/>
  65. </diaginfo>
  66. <cnststageinfo/>
  67. </main>
  68. <send>
  69. <reqdata/>
  70. <savedata/>
  71. </send>
  72. <hidden/>
  73. <init>
  74. <orddept/>
  75. <userlist/>
  76. <M0445/>
  77. <M0062/>
  78. </init>
  79. </root>
  80. </instance>
  81. <submission id="TRMMO04110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnstconfinfo"/>
  82. <submission id="TXMMO04110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
  83. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  84. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  85. <submission id="TRMMO00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/diaginfo"/>
  86. <submission id="TRMMO04111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/maxcnst"/>
  87. <submission id="TRMMO04112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnstconfinfo"/>
  88. <submission id="TRMMO04113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnststageinfo"/>
  89. <script type="javascript" ev:event="xforms-ready">
  90. <![CDATA[
  91. var scrng_flag = opener.javascript.getParameter("SPMMO04100_scrngflag");
  92. if (scrng_flag == "P") {
  93. fGetLastCnstConfRecInfo();
  94. } else {
  95. btn_prev.visible = false;
  96. btn_next.visible = false;
  97. btn_last.visible = false;
  98. fInitialize_SPMMO04100();
  99. }
  100. ]]>
  101. </script>
  102. <bind id="bind1" ref="/root/main/cnstconf/cnstconf/smokhist1" calculate="/root/main/cnstconf/cnstconf/smokday1*/root/main/cnstconf/cnstconf/smokyear1"/>
  103. <bind id="bind2" ref="/root/main/cnstconf/cnstconf/smokhist2" calculate="/root/main/cnstconf/cnstconf/smokday2*/root/main/cnstconf/cnstconf/smokyear2"/>
  104. <bind id="bind3" ref="/root/main/cnstconf/cnstconf/smokyear1" calculate="/root/main/cnstconf/cnstconf/smokendyear - /root/main/cnstconf/cnstconf/smokstrtyear"/>
  105. </model>
  106. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  107. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  108. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  109. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  110. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  111. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO04100.js"/>
  112. </xhtml:head>
  113. <xhtml:body pagewidth="781" pageheight="660" guideline="1,781;2,579;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  114. <caption id="caption1" class="tit_2" style="left:4px; top:6px; width:121px; height:13px; ">협진회의록</caption>
  115. <caption id="caption2" class="cell_1" style="left:0px; top:52px; width:70px; height:23px; ">상정과</caption>
  116. <caption id="caption12" class="cell_1" style="left:0px; top:77px; width:70px; height:23px; ">진단명</caption>
  117. <caption id="caption5" class="cell_1" style="left:273px; top:173px; width:70px; height:24px; ">회의일시</caption>
  118. <caption id="caption9" class="cell_1" style="left:0px; top:26px; width:70px; height:24px; ">등록번호</caption>
  119. <line id="line1" class="line_1" style="x1:0px; y1:21px; x2:764px; y2:21px; "/>
  120. <caption id="caption13" class="cell_1" style="left:213px; top:52px; width:70px; height:23px; ">진료의</caption>
  121. <select1 id="cmb_cnstorddeptcd" ref="/root/main/cnstconf/cnstconf/orddeptcd" disabled="true" appearance="minimal" style="left:73px; top:54px; width:138px; height:19px; ">
  122. <choices>
  123. <itemset nodeset="/root/init/orddept/dept">
  124. <label ref="depthngnm"/>
  125. <value ref="deptcd"/>
  126. </itemset>
  127. </choices>
  128. <!--
  129. <script type="javascript" ev:event="xforms-value-changed">
  130. <![CDATA[
  131. mmbfGetUserComboList("/root/send/reqdata" ,"/root/init/userlist", cmb_cnstorddeptcd.value, "0330");
  132. cmb_cnstorddrid.select(0);
  133. mmofReqGetCnstTypeComboList("/root/send/reqdata", "/root/init/cnsttypecombo", cmb_cnstorddeptcd.value);
  134. ]]>
  135. </script>
  136. -->
  137. </select1>
  138. <caption id="caption3" class="cell_1" style="left:522px; top:173px; width:70px; height:24px; ">회의장소</caption>
  139. <caption id="caption4" class="cell_1" style="left:213px; top:26px; width:70px; height:24px; ">환자명</caption>
  140. <caption id="caption6" class="cell_1" style="left:401px; top:26px; width:70px; height:24px; ">성별/나이</caption>
  141. <button id="button1" class="icon_clock" style="left:502px; top:176px; width:16px; height:16px; ">
  142. <caption/>
  143. <script type="javascript" ev:event="DOMActivate">
  144. <![CDATA[
  145. model.setValue("/root/main/cnstconf/cnstconf/confdd", getCurrentDate());
  146. model.setValue("/root/main/cnstconf/cnstconf/conftm", getCurrentTime().substr(0, 4));
  147. model.refresh();
  148. ]]>
  149. </script>
  150. </button>
  151. <caption id="caption7" class="cell_1" style="left:0px; top:102px; width:70px; height:23px; ">ECOG</caption>
  152. <caption id="caption8" class="cell_1" style="left:0px; top:127px; width:70px; height:43px; ">흡연력</caption>
  153. <line id="line2" class="line_1" style="x1:0px; y1:199px; x2:764px; y2:199px; "/>
  154. <textarea id="ipt_confcnts" ref="/root/main/cnstconf/cnstconf/confcnts" scroll="autovscroll" style="left:72px; top:206px; width:690px; height:227px; "/>
  155. <caption id="caption11" class="cell_1" style="left:0px; top:173px; width:70px; height:24px; ">회의제목</caption>
  156. <button id="btn_save" class="btn4_letter2" style="left:650px; top:633px; width:56px; height:22px; ">
  157. <caption>저장</caption>
  158. <script type="javascript" ev:event="DOMActivate">
  159. <![CDATA[
  160. fReqExeSaveCnstConfRecInfo();
  161. //model.close();
  162. ]]>
  163. </script>
  164. </button>
  165. <button id="btn_close" class="btn4_letter2" style="left:708px; top:633px; width:56px; height:22px; ">
  166. <caption>종료</caption>
  167. <script type="javascript" ev:event="DOMActivate">
  168. <![CDATA[
  169. model.close();
  170. ]]>
  171. </script>
  172. </button>
  173. <input id="ipt_hngnm" ref="/root/main/cnstconf/cnstconf/hngnm" disabled="true" style="left:285px; top:28px; width:114px; height:19px; "/>
  174. <input id="ipt_conftm" ref="/root/main/cnstconf/cnstconf/conftm" navindex="1" autonext="false" imemode="disabled" format="hh:nn" style="left:440px; top:175px; width:58px; height:19px; "/>
  175. <input id="ipt_confdd" ref="/root/main/cnstconf/cnstconf/confdd" navindex="1" autonext="false" imemode="disabled" inputtype="date" format="yyyy-mm-dd" style="left:345px; top:175px; width:93px; height:19px; text-align:center; "/>
  176. <input id="ipt_confplce" ref="/root/main/cnstconf/cnstconf/confplce" navindex="1" style="left:594px; top:174px; width:169px; height:19px; "/>
  177. <input id="ipt_titl" ref="/root/main/cnstconf/cnstconf/conftitl" navindex="1" autonext="false" style="left:72px; top:176px; width:197px; height:19px; "/>
  178. <input id="ipt_diagcd" ref="/root/main/cnstconf/cnstconf/diagcd" style="left:72px; top:78px; width:83px; height:19px; ">
  179. <script type="javascript" ev:event="onkeypress">
  180. <![CDATA[
  181. if(event.keyCode == 13){
  182. fReqGetDiagTermASCode(ipt_diagcd.currentText);
  183. }
  184. ]]>
  185. </script>
  186. </input>
  187. <input id="ipt_diagnm" ref="/root/main/cnstconf/cnstconf/diagnm" style="left:157px; top:78px; width:238px; height:19px; ">
  188. <script type="javascript" ev:event="onkeypress">
  189. <![CDATA[
  190. if(event.keyCode == 13){
  191. fReqGetDiagTermAsNm(ipt_diagnm.currentText);
  192. }
  193. ]]>
  194. </script>
  195. </input>
  196. <input id="ipt_pid" ref="/root/main/cnstconf/cnstconf/pid" disabled="true" navindex="1" autonext="false" imemode="disabled" style="left:73px; top:28px; width:138px; height:19px; "/>
  197. <input id="ipt_sa" ref="/root/main/cnstconf/cnstconf/sa" disabled="true" style="left:473px; top:28px; width:70px; height:19px; "/>
  198. <caption id="caption14" class="cell_1" style="left:0px; top:607px; width:70px; height:24px; ">상정이유</caption>
  199. <caption id="caption15" class="cell_1" style="left:0px; top:206px; width:70px; height:227px; text-align:center; ">
  200. <![CDATA[회
  201. 용]]>
  202. <script type="javascript" ev:event="onclick">
  203. <![CDATA[
  204. var conf = model.getValue("/root/main/cnstconf/cnstconf/conf");
  205. if (conf == "Y") {
  206. ipt_confcnts.attribute("top") = 206;
  207. ipt_confcnts.attribute("height") = 399;
  208. model.makeValue("/root/main/cnstconf/cnstconf/conf", "N");
  209. model.makeValue("/root/main/cnstconf/cnstconf/rslt", "Y");
  210. ipt_rsltcnts.attribute("top") = 435;
  211. ipt_rsltcnts.attribute("height") = 171;
  212. ipt_rsltcnts.visible = false;
  213. ipt_confcnts.visible = true;
  214. caption15.attribute("background-color") = "#99ccff";
  215. caption19.attribute("background-color") = "#cce8ff";
  216. } else {
  217. ipt_confcnts.attribute("top") = 206;
  218. ipt_confcnts.attribute("height") = 227;
  219. model.makeValue("/root/main/cnstconf/cnstconf/conf", "Y");
  220. model.makeValue("/root/main/cnstconf/cnstconf/rslt", "Y");
  221. ipt_rsltcnts.attribute("top") = 435;
  222. ipt_rsltcnts.attribute("height") = 171;
  223. ipt_rsltcnts.visible = true;
  224. ipt_confcnts.visible = true;
  225. caption15.attribute("background-color") = "#cce8ff";
  226. caption19.attribute("background-color") = "#cce8ff";
  227. }
  228. ]]>
  229. </script>
  230. </caption>
  231. <input id="input1" ref="/root/main/cnstconf/cnstconf/asumresn" navindex="1" autonext="false" style="left:73px; top:609px; width:691px; height:19px; "/>
  232. <caption id="caption16" class="cell_1" style="left:545px; top:26px; width:70px; height:24px; ">병실</caption>
  233. <input id="input3" ref="/root/main/cnstconf/cnstconf/roomcd" disabled="true" style="left:617px; top:28px; width:78px; height:19px; "/>
  234. <caption id="caption17" class="cell_1" style="left:401px; top:102px; width:70px; height:24px; ">병기</caption>
  235. <input id="input4" ref="/root/main/cnstconf/cnstconf/stagecd" disabled="true" imemode="alpha" maxlength="2" style="left:476px; top:105px; width:44px; height:19px; "/>
  236. <caption id="caption18" class="cell_1" style="left:0px; top:633px; width:70px; height:24px; ">작성자</caption>
  237. <output id="output1" ref="/root/main/cnstconf/cnstconf/writnm" style="left:73px; top:635px; width:96px; height:19px; "/>
  238. <input id="input5" ref="/root/main/cnstconf/cnstconf/tnmcd1" disabled="true" imemode="disabled" maxlength="3" style="left:543px; top:105px; width:32px; height:19px; "/>
  239. <input id="input7" ref="/root/main/cnstconf/cnstconf/tnmcd2" disabled="true" imemode="disabled" maxlength="3" style="left:597px; top:105px; width:32px; height:19px; "/>
  240. <input id="input8" ref="/root/main/cnstconf/cnstconf/tnmcd3" disabled="true" imemode="disabled" maxlength="3" style="left:651px; top:105px; width:32px; height:19px; "/>
  241. <button id="btn_prev" class="btn2_letter2" style="left:92px; top:1px; width:42px; height:19px; ">
  242. <caption>이전</caption>
  243. <script type="javascript" ev:event="DOMActivate">
  244. <![CDATA[
  245. var pid = model.getValue("/root/main/cnstconf/cnstconf/pid");
  246. var confdd = model.getValue("/root/main/cnstconf/cnstconf/confdd");
  247. var conftm = model.getValue("/root/main/cnstconf/cnstconf/conftm");
  248. var confdt = confdd + conftm;
  249. fReqCnstConfRecInfo(pid, confdt, "P");
  250. ]]>
  251. </script>
  252. </button>
  253. <button id="btn_next" class="btn2_letter2" style="left:136px; top:1px; width:42px; height:19px; ">
  254. <caption>이후</caption>
  255. <script type="javascript" ev:event="DOMActivate">
  256. <![CDATA[
  257. var pid = model.getValue("/root/main/cnstconf/cnstconf/pid");
  258. var confdd = model.getValue("/root/main/cnstconf/cnstconf/confdd");
  259. var conftm = model.getValue("/root/main/cnstconf/cnstconf/conftm");
  260. var confdt = confdd + conftm;
  261. fReqCnstConfRecInfo(pid, confdt, "N");
  262. ]]>
  263. </script>
  264. </button>
  265. <button id="btn_last" class="btn2_letter2" style="left:190px; top:1px; width:42px; height:19px; ">
  266. <caption>최근</caption>
  267. <script type="javascript" ev:event="DOMActivate">
  268. <![CDATA[
  269. fGetLastCnstConfRecInfo();
  270. ]]>
  271. </script>
  272. </button>
  273. <caption id="caption19" class="cell_1" style="left:0px; top:435px; width:70px; height:170px; text-align:center; ">
  274. <![CDATA[결
  275. 과]]>
  276. <script type="javascript" ev:event="onclick">
  277. <![CDATA[
  278. var rslt = model.getValue("/root/main/cnstconf/cnstconf/rslt");
  279. if (rslt == "Y") {
  280. ipt_rsltcnts.attribute("top") = 206;
  281. ipt_rsltcnts.attribute("height") = 399;
  282. model.makeValue("/root/main/cnstconf/cnstconf/rslt", "N");
  283. model.makeValue("/root/main/cnstconf/cnstconf/conf", "Y");
  284. ipt_confcnts.attribute("top") = 206;
  285. ipt_confcnts.attribute("height") = 227;
  286. ipt_confcnts.visible = false;
  287. ipt_rsltcnts.visible = true;
  288. caption19.attribute("background-color") = "#99ccff";
  289. caption15.attribute("background-color") = "#cce8ff";
  290. } else {
  291. ipt_rsltcnts.attribute("top") = 435;
  292. ipt_rsltcnts.attribute("height") = 171;
  293. model.makeValue("/root/main/cnstconf/cnstconf/rslt", "Y");
  294. model.makeValue("/root/main/cnstconf/cnstconf/conf", "Y");
  295. ipt_confcnts.attribute("top") = 206;
  296. ipt_confcnts.attribute("height") = 227;
  297. ipt_confcnts.visible = true;
  298. ipt_rsltcnts.visible = true;
  299. caption19.attribute("background-color") = "#cce8ff";
  300. caption15.attribute("background-color") = "#cce8ff";
  301. }
  302. ]]>
  303. </script>
  304. </caption>
  305. <textarea id="ipt_rsltcnts" ref="/root/main/cnstconf/cnstconf/rsltcnts" scroll="autovscroll" style="left:72px; top:435px; width:690px; height:171px; "/>
  306. <select1 id="radio1" ref="/root/main/cnstconf/cnstconf/ecogscale" appearance="full" cellspacing="15" cols="5" overflow="visible" style="left:75px; top:105px; width:215px; height:15px; border-style:none; ">
  307. <choices>
  308. <item>
  309. <label>0</label>
  310. <value>0</value>
  311. </item>
  312. <item>
  313. <label>1</label>
  314. <value>1</value>
  315. </item>
  316. <item>
  317. <label>2</label>
  318. <value>2</value>
  319. </item>
  320. <item>
  321. <label>3</label>
  322. <value>3</value>
  323. </item>
  324. <item>
  325. <label>4</label>
  326. <value>4</value>
  327. </item>
  328. </choices>
  329. </select1>
  330. <caption id="caption20" style="left:525px; top:105px; width:20px; height:20px; text-align:center; ">T:</caption>
  331. <caption id="caption21" style="left:578px; top:105px; width:21px; height:20px; text-align:center; ">N:</caption>
  332. <caption id="caption22" style="left:632px; top:105px; width:25px; height:20px; text-align:center; ">M:</caption>
  333. <select1 id="radio2" ref="/root/main/cnstconf/cnstconf/smokyn" appearance="full" cellspacing="5" cols="2" rows="2" vcellspacing="5" overflow="visible" style="left:75px; top:128px; width:205px; height:40px; border-style:none; ">
  334. <choices>
  335. <item>
  336. <label>Never-smoker</label>
  337. <value>3</value>
  338. </item>
  339. <item>
  340. <label>Ex-smoker</label>
  341. <value>1</value>
  342. </item>
  343. <item>
  344. <label>Current</label>
  345. <value>2</value>
  346. </item>
  347. </choices>
  348. <script type="javascript" ev:event="xforms-value-changed">
  349. <![CDATA[
  350. var smokyn = model.getValue("/root/main/cnstconf/cnstconf/smokyn");
  351. if (smokyn == "3") {
  352. group1.disabled = true;
  353. group2.disabled = true;
  354. model.makeValue("/root/main/cnstconf/cnstconf/smokstrtyear" , "");
  355. model.makeValue("/root/main/cnstconf/cnstconf/smokendyear" , "");
  356. model.removenode("/root/main/cnstconf/cnstconf/smokhist1");
  357. //model.makeValue("/root/main/cnstconf/cnstconf/smokhist1" , "");
  358. model.makeValue("/root/main/cnstconf/cnstconf/smokday1" , "");
  359. model.removenode("/root/main/cnstconf/cnstconf/smokyear1");
  360. //model.makeValue("/root/main/cnstconf/cnstconf/smokyear1" , "");
  361. model.removenode("/root/main/cnstconf/cnstconf/smokhist2");
  362. //model.makeValue("/root/main/cnstconf/cnstconf/smokhist2" , "");
  363. model.makeValue("/root/main/cnstconf/cnstconf/smokday2" , "");
  364. model.makeValue("/root/main/cnstconf/cnstconf/smokyear2" , "");
  365. } else if (smokyn == "1"){
  366. group1.disabled = false;
  367. ipt_smokhist1.disabled =true;
  368. group2.disabled = true;
  369. model.makeValue("/root/main/cnstconf/cnstconf/smokstrtyear" , "");
  370. model.makeValue("/root/main/cnstconf/cnstconf/smokendyear" , "");
  371. model.makeValue("/root/main/cnstconf/cnstconf/smokhist1" , "");
  372. model.makeValue("/root/main/cnstconf/cnstconf/smokday1" , "");
  373. model.makeValue("/root/main/cnstconf/cnstconf/smokyear1" , "");
  374. //model.makeValue("/root/main/cnstconf/cnstconf/smokhist2" , "");
  375. model.makeValue("/root/main/cnstconf/cnstconf/smokday2" , "");
  376. model.makeValue("/root/main/cnstconf/cnstconf/smokyear2" , "");
  377. model.setFocus("ipt_smokstrtyear") ;
  378. } else if (smokyn == "2"){
  379. group1.disabled = true;
  380. group2.disabled = false;
  381. ipt_smokhist2.disabled =true;
  382. model.makeValue("/root/main/cnstconf/cnstconf/smokstrtyear" , "");
  383. model.makeValue("/root/main/cnstconf/cnstconf/smokendyear" , "");
  384. model.removenode("/root/main/cnstconf/cnstconf/smokhist1" );
  385. //model.makeValue("/root/main/cnstconf/cnstconf/smokhist1" , "");
  386. model.makeValue("/root/main/cnstconf/cnstconf/smokday1" , "");
  387. model.removenode("/root/main/cnstconf/cnstconf/smokyear1");
  388. //model.makeValue("/root/main/cnstconf/cnstconf/smokyear1" , "");
  389. model.makeValue("/root/main/cnstconf/cnstconf/smokhist2" , "");
  390. model.makeValue("/root/main/cnstconf/cnstconf/smokday2" , "");
  391. model.makeValue("/root/main/cnstconf/cnstconf/smokyear2" , "");
  392. model.setFocus("ipt_smokday2") ;
  393. }
  394. model.refresh();
  395. ]]>
  396. </script>
  397. </select1>
  398. <line id="line19" class="line_2" style="x1:0px; y1:50px; x2:764px; y2:50px; "/>
  399. <line id="line3" class="line_2" style="x1:0px; y1:75px; x2:764px; y2:75px; "/>
  400. <line id="line4" class="line_2" style="x1:0px; y1:100px; x2:764px; y2:100px; "/>
  401. <line id="line5" class="line_2" style="x1:0px; y1:170px; x2:764px; y2:170px; "/>
  402. <line id="line7" class="line_2" style="x1:0px; y1:606px; x2:764px; y2:606px; "/>
  403. <line id="line8" class="line_2" style="x1:0px; y1:631px; x2:764px; y2:631px; "/>
  404. <group id="group1" style="left:257px; top:130px; width:505px; height:20px; ">
  405. <input id="ipt_smokstrtyear" ref="/root/main/cnstconf/cnstconf/smokstrtyear" disabled="true" format="yyyy" style="left:83px; top:0px; width:35px; height:19px; ">
  406. <script type="javascript" ev:event="onkeyup">
  407. <![CDATA[
  408. if(event.keyCode == 13){
  409. model.setFocus("ipt_smokendyear") ;
  410. }
  411. ]]>
  412. </script>
  413. </input>
  414. <input id="ipt_smokendyear" ref="/root/main/cnstconf/cnstconf/smokendyear" disabled="true" format="yyyy" style="left:198px; top:0px; width:35px; height:19px; ">
  415. <script type="javascript" ev:event="onkeyup">
  416. <![CDATA[
  417. if(event.keyCode == 13){
  418. model.setFocus("ipt_smokday1") ;
  419. }
  420. ]]>
  421. </script>
  422. </input>
  423. <caption id="caption10" style="left:440px; top:0px; width:65px; height:20px; ">pack year)</caption>
  424. <caption id="caption23" style="left:-2px; top:0px; width:90px; height:20px; ">(흡연시작년도:</caption>
  425. <caption id="caption24" style="left:118px; top:0px; width:85px; height:20px; ">,흡연중단년도:</caption>
  426. <caption id="caption25" style="left:233px; top:0px; width:80px; height:20px; ">,흡연량: 하루</caption>
  427. <input id="ipt_smokhist1" ref="/root/main/cnstconf/cnstconf/smokhist1" disabled="true" editable="false" imemode="disabled" format="#" style="left:403px; top:0px; width:38px; height:19px; background-color:#ffffff; "/>
  428. <caption id="caption26" style="left:333px; top:0px; width:35px; height:20px; ">값X</caption>
  429. <caption id="caption27" style="left:383px; top:0px; width:35px; height:20px; ">년=</caption>
  430. <input id="ipt_smokday1" ref="/root/main/cnstconf/cnstconf/smokday1" disabled="true" style="left:308px; top:0px; width:25px; height:19px; ">
  431. <!--
  432. <script type="javascript" ev:event="onkeypress">
  433. <![CDATA[
  434. inputEnterKey("button2", "DOMActivate");
  435. ]]>
  436. </script>
  437. -->
  438. <script type="javascript" ev:event="onkeyup">
  439. <![CDATA[
  440. if(event.keyCode == 13){
  441. model.setFocus("ipt_smokyear1") ;
  442. }
  443. ]]>
  444. </script>
  445. </input>
  446. <input id="ipt_smokyear1" ref="/root/main/cnstconf/cnstconf/smokyear1" disabled="true" style="left:358px; top:0px; width:25px; height:19px; ">
  447. <!--
  448. <script type="javascript" ev:event="onkeyup">
  449. <![CDATA[
  450. inputEnterKey("button2", "DOMActivate");
  451. ]]>
  452. </script>
  453. -->
  454. </input>
  455. </group>
  456. <group id="group2" style="left:155px; top:150px; width:295px; height:20px; ">
  457. <input id="ipt_smokday2" ref="/root/main/cnstconf/cnstconf/smokday2" disabled="true" style="left:75px; top:0px; width:25px; height:19px; ">
  458. <!--
  459. <script type="javascript" ev:event="onkeypress">
  460. <![CDATA[
  461. inputEnterKey("button2", "DOMActivate");
  462. ]]>
  463. </script>
  464. -->
  465. <script type="javascript" ev:event="onkeyup">
  466. <![CDATA[
  467. if(event.keyCode == 13){
  468. model.setFocus("ipt_smokyear2") ;
  469. }
  470. ]]>
  471. </script>
  472. </input>
  473. <caption id="caption30" style="left:100px; top:0px; width:35px; height:20px; ">값 X</caption>
  474. <caption id="caption31" style="left:155px; top:0px; width:35px; height:20px; ">년=</caption>
  475. <input id="ipt_smokyear2" ref="/root/main/cnstconf/cnstconf/smokyear2" disabled="true" style="left:130px; top:0px; width:25px; height:19px; ">
  476. <!--
  477. <script type="javascript" ev:event="onkeyup">
  478. <![CDATA[
  479. inputEnterKey("button2", "DOMActivate");
  480. ]]>
  481. </script>
  482. -->
  483. </input>
  484. <input id="ipt_smokhist2" ref="/root/main/cnstconf/cnstconf/smokhist2" disabled="true" editable="false" imemode="disabled" format="#" style="left:180px; top:0px; width:38px; height:19px; "/>
  485. <caption id="caption28" style="left:220px; top:0px; width:72px; height:20px; ">pack year)</caption>
  486. <caption id="caption29" style="left:0px; top:0px; width:80px; height:20px; ">(흡연량: 하루</caption>
  487. </group>
  488. <!--
  489. <button id="button2" style="left:495px; top:150px; width:20px; height:20px; ">
  490. <caption/>
  491. <script type="javascript" ev:event="DOMActivate">
  492. <![CDATA[
  493. var smokday = model.getValue("/root/main/cnstconf/cnstconf/smokday2");
  494. if (smokday == "") {
  495. var smokday = model.getValue("/root/main/cnstconf/cnstconf/smokday1");
  496. var smokyear = model.getValue("/root/main/cnstconf/cnstconf/smokyear1");
  497. var smokhist = smokday * smokyear ;
  498. model.setValue("/root/main/cnstconf/cnstconf/smokhist1", smokhist);
  499. } else {
  500. var smokday = model.getValue("/root/main/cnstconf/cnstconf/smokday2");
  501. var smokyear = model.getValue("/root/main/cnstconf/cnstconf/smokyear2");
  502. var smokhist = smokday * smokyear ;
  503. model.setValue("/root/main/cnstconf/cnstconf/smokhist2", smokhist);
  504. }
  505. model.refresh();
  506. ]]>
  507. </script>
  508. </button>
  509. -->
  510. <line id="line6" class="line_2" style="x1:0px; y1:125px; x2:764px; y2:125px; "/>
  511. <button id="button2" class="btn2_letter4" style="left:697px; top:105px; width:64px; height:19px; ">
  512. <caption>STAGE</caption>
  513. <script type="javascript" ev:event="DOMActivate">
  514. <![CDATA[
  515. modal("SPMMO08400");
  516. fGetLastStageInfo();
  517. model.refresh();
  518. ]]>
  519. </script>
  520. </button>
  521. <caption id="caption33" class="cell_1" style="left:401px; top:77px; width:70px; height:24px; ">부진단</caption>
  522. <input id="input2" ref="/root/main/cnstconf/cnstconf/subdiagnm" style="left:475px; top:78px; width:285px; height:19px; "/>
  523. <output id="output2" ref="/root/main/cnstconf/cnstconf/orddrnm" style="left:285px; top:54px; width:114px; height:19px; "/>
  524. </xhtml:body>
  525. </xhtml:html>