SPMMO10500_치식.xrw 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671
  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. <diaglist>
  11. <diaglist>
  12. <diagcd/>
  13. <tootfact/>
  14. <rtntootfact/>
  15. <rowcnt/>
  16. </diaglist>
  17. </diaglist>
  18. <prcplist>
  19. <prcplist>
  20. <prcpcd/>
  21. <tootfact/>
  22. <rtntootfact/>
  23. <rowcnt/>
  24. </prcplist>
  25. </prcplist>
  26. <cond>
  27. <implantyn/>
  28. </cond>
  29. </main>
  30. <send>
  31. <reqdata/>
  32. <savedata/>
  33. </send>
  34. <hidden/>
  35. <init>
  36. <hardcd/>
  37. </init>
  38. <temp>
  39. <diagrtntootfact/>
  40. </temp>
  41. </root>
  42. </instance>
  43. <script type="javascript" ev:event="xforms-ready">
  44. <![CDATA[
  45. /*
  46. * opener : setParameter("param_tootfact") 치식사항 설정 #21#22#23#24 -> 화면 초기화 시, 선택된 치아 색깔로 표시됨
  47. * : setParameter("param_diaglist") 진단내역 설정 #당뇨병#치질 -> 화면 초기화 시, 진단명 그리드에 설정
  48. * : setParameter("param_prcplist") 처방내역 설정 #약물치료#정신치료 - > 화면 초기화시, 처방명 그리드에 설정
  49. *
  50. * getParameter("rtn_useyn") 사용여부를 확인(종료 혹은 X버튼 클릭으로 종료된 경우 처리)
  51. * getParameter("rtn_tootfact") 선택된 치식사항 리턴
  52. *
  53. */
  54. fInitialize();
  55. ]]>
  56. </script>
  57. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  58. </model>
  59. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  61. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  62. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO10500.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  64. </xhtml:head>
  65. <xhtml:body pagewidth="1176" pageheight="328" guideline="1,699;1,246;2,320;1,1160;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  66. <group id="group1" style="left:5px; top:51px; width:675px; height:200px; ">
  67. <caption id="caption81" _value="81" style="left:285px; top:115px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  68. <![CDATA[A]]>
  69. </caption>
  70. <caption id="caption82" _value="82" style="left:249px; top:115px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  71. <![CDATA[B]]>
  72. </caption>
  73. <caption id="caption71" _value="71" style="left:355px; top:115px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  74. <![CDATA[A]]>
  75. </caption>
  76. <caption id="caption72" _value="72" style="left:391px; top:115px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  77. <![CDATA[B]]>
  78. </caption>
  79. <caption id="caption83" _value="83" style="left:212px; top:115px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  80. <![CDATA[C]]>
  81. </caption>
  82. <caption id="caption61" _value="61" style="left:355px; top:50px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  83. <![CDATA[A]]>
  84. </caption>
  85. <caption id="caption73" _value="73" style="left:428px; top:115px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  86. <![CDATA[C]]>
  87. </caption>
  88. <caption id="caption84" _value="84" style="left:167px; top:115px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  89. <![CDATA[D]]>
  90. </caption>
  91. <caption id="caption62" _value="62" style="left:391px; top:50px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  92. <![CDATA[B]]>
  93. </caption>
  94. <caption id="caption51" _value="51" style="left:285px; top:50px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  95. <![CDATA[A]]>
  96. </caption>
  97. <caption id="caption85" _value="85" style="left:131px; top:115px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  98. <![CDATA[E]]>
  99. </caption>
  100. <caption id="caption74" _value="74" style="left:472px; top:115px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  101. <![CDATA[D]]>
  102. </caption>
  103. <caption id="caption63" _value="63" style="left:428px; top:50px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  104. <![CDATA[C]]>
  105. </caption>
  106. <caption id="caption52" _value="52" style="left:249px; top:50px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  107. <![CDATA[B]]>
  108. </caption>
  109. <caption id="caption41" _value="41" style="left:285px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  110. <![CDATA[1]]>
  111. </caption>
  112. <caption id="caption75" _value="75" style="left:508px; top:115px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  113. <![CDATA[E]]>
  114. </caption>
  115. <caption id="caption64" _value="64" style="left:472px; top:50px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  116. <![CDATA[D]]>
  117. </caption>
  118. <caption id="caption53" _value="53" style="left:212px; top:50px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  119. <![CDATA[C]]>
  120. </caption>
  121. <caption id="caption31" _value="31" style="left:355px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  122. <![CDATA[1]]>
  123. </caption>
  124. <caption id="caption42" _value="42" style="left:249px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  125. <![CDATA[2]]>
  126. </caption>
  127. <caption id="caption21" _value="21" style="left:355px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  128. <![CDATA[1]]>
  129. </caption>
  130. <caption id="caption65" _value="65" style="left:508px; top:50px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  131. <![CDATA[E]]>
  132. </caption>
  133. <caption id="caption54" _value="54" style="left:167px; top:50px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  134. <![CDATA[D]]>
  135. </caption>
  136. <caption id="caption43" _value="43" style="left:212px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  137. <![CDATA[3]]>
  138. </caption>
  139. <caption id="caption32" _value="32" style="left:391px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  140. <![CDATA[2]]>
  141. </caption>
  142. <caption id="caption22" _value="22" style="left:391px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  143. <![CDATA[2]]>
  144. </caption>
  145. <caption id="caption11" _value="11" style="left:285px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  146. <![CDATA[1]]>
  147. </caption>
  148. <caption id="caption55" _value="55" style="left:131px; top:50px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  149. <![CDATA[E]]>
  150. </caption>
  151. <caption id="caption44" _value="44" style="left:167px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  152. <![CDATA[4]]>
  153. </caption>
  154. <caption id="caption33" _value="33" style="left:428px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  155. <![CDATA[3]]>
  156. </caption>
  157. <caption id="caption23" _value="23" style="left:428px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  158. <![CDATA[3]]>
  159. </caption>
  160. <caption id="caption12" _value="12" style="left:249px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  161. <![CDATA[2]]>
  162. </caption>
  163. <caption id="caption45" _value="45" style="left:131px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  164. <![CDATA[5]]>
  165. </caption>
  166. <caption id="caption34" _value="34" style="left:472px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  167. <![CDATA[4]]>
  168. </caption>
  169. <caption id="caption24" _value="24" style="left:472px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  170. <![CDATA[4]]>
  171. </caption>
  172. <caption id="caption13" _value="13" style="left:212px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  173. <![CDATA[3]]>
  174. </caption>
  175. <caption id="caption35" _value="35" style="left:508px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  176. <![CDATA[5]]>
  177. </caption>
  178. <caption id="caption46" _value="46" style="left:86px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  179. <![CDATA[6]]>
  180. </caption>
  181. <caption id="caption25" _value="25" style="left:508px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  182. <![CDATA[5]]>
  183. </caption>
  184. <caption id="caption14" _value="14" style="left:167px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  185. <![CDATA[4]]>
  186. </caption>
  187. <caption id="caption36" _value="36" style="left:553px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  188. <![CDATA[6]]>
  189. </caption>
  190. <caption id="caption47" _value="47" style="left:50px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  191. <![CDATA[7]]>
  192. </caption>
  193. <line id="line1" style="x1:335px; y1:20px; x2:335px; y2:180px; border-color:#000000; border-width:1; "/>
  194. <caption id="caption26" _value="26" style="left:553px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  195. <![CDATA[6]]>
  196. </caption>
  197. <caption id="caption15" _value="15" style="left:131px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  198. <![CDATA[5]]>
  199. </caption>
  200. <line id="line2" style="x1:40px; y1:100px; x2:635px; y2:100px; border-color:#3366ff; border-width:2px; border-style:dotted; "/>
  201. <caption id="caption37" _value="37" style="left:589px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  202. <![CDATA[7]]>
  203. </caption>
  204. <caption id="caption48" _value="48" style="left:5px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  205. <![CDATA[8]]>
  206. </caption>
  207. <caption id="caption27" _value="27" style="left:589px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  208. <![CDATA[7]]>
  209. </caption>
  210. <caption id="caption16" _value="16" style="left:86px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  211. <![CDATA[6]]>
  212. </caption>
  213. <caption id="caption38" _value="38" style="left:633px; top:155px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  214. <![CDATA[8]]>
  215. </caption>
  216. <caption id="caption28" _value="28" style="left:633px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-style:solid; ">
  217. <![CDATA[8]]>
  218. </caption>
  219. <caption id="caption17" _value="17" style="left:50px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  220. <![CDATA[7]]>
  221. </caption>
  222. <caption id="caption18" _value="18" style="left:5px; top:10px; width:35px; height:35px; text-align:center; vertical-align:middle; border-color:#000000; border-style:solid; ">
  223. <![CDATA[8]]>
  224. </caption>
  225. <script type="javascript" ev:event="onmouseover">
  226. <![CDATA[
  227. //fDragChoiTeeth();
  228. ]]>
  229. </script>
  230. <script type="javascript" ev:event="onmousedown">
  231. <![CDATA[
  232. ]]>
  233. </script>
  234. <script type="javascript" ev:event="onclick">
  235. <![CDATA[
  236. fDragChoiTeeth(objCurGrdID);
  237. ]]>
  238. </script>
  239. </group>
  240. <button id="button1" class="btn2_letter6" style="left:9px; top:300px; width:86px; height:19px; ">
  241. <caption>전악(영구치)</caption>
  242. <script type="javascript" ev:event="DOMActivate">
  243. <![CDATA[
  244. var sTOTAL = sRIGHT_TOP_TEETH + sLEFT_TOP_TEETH + sRIGHT_BOTTOM_TEETH + sLEFT_BOTTOM_TEETH;
  245. if(bTOTAL == false){
  246. fFillColorCaption(sTOTAL, "#99ccff");
  247. bTOTAL = true;
  248. }else{
  249. fFillColorCaption(sTOTAL, "#ffffff");
  250. bTOTAL = false;
  251. }
  252. fGrdInptVal(objCurGrdID);
  253. ]]>
  254. </script>
  255. </button>
  256. <button id="button3" accesskey="f2" class="btn4_letter2" style="left:1045px; top:299px; width:56px; height:22px; ">
  257. <caption>확인</caption>
  258. <script type="javascript" ev:event="DOMActivate">
  259. <![CDATA[
  260. fCnfm_SPMMO10500();
  261. ]]>
  262. </script>
  263. </button>
  264. <button id="button4" class="btn4_letter2" style="left:1104px; top:299px; width:56px; height:22px; ">
  265. <caption>취소</caption>
  266. <script type="javascript" ev:event="DOMActivate">
  267. <![CDATA[
  268. fCncl_SPMMO010500();
  269. ]]>
  270. </script>
  271. </button>
  272. <shape id="rectangle1" appearance="rectangle" style="left:0px; top:0px; width:685px; height:297px; border-color:#B0B0B0; "/>
  273. <button id="button5" class="btn2_letter5" style="left:11px; top:3px; width:75px; height:19px; ">
  274. <caption>1/3(영구치)</caption>
  275. <script type="javascript" ev:event="DOMActivate">
  276. <![CDATA[
  277. if(bRIGHT_TOP_THIRD == false){
  278. fFillColorCaption(sRIGHT_TOP_THIRD_TEETH, "#99ccff");
  279. bRIGHT_TOP_THIRD = true;
  280. }else{
  281. fFillColorCaption(sRIGHT_TOP_THIRD_TEETH, "#ffffff");
  282. bRIGHT_TOP_THIRD = false;
  283. }
  284. fGrdInptVal(objCurGrdID);
  285. ]]>
  286. </script>
  287. </button>
  288. <button id="button7" class="btn2_letter5" style="left:306px; top:3px; width:75px; height:19px; ">
  289. <caption>1/3(영구치)</caption>
  290. <script type="javascript" ev:event="DOMActivate">
  291. <![CDATA[
  292. if(bMIDDLE_TOP_THIRD == false){
  293. fFillColorCaption(sMIDDLE_TOP_THIRD_TEETH, "#99ccff");
  294. bMIDDLE_TOP_THIRD = true;
  295. }else{
  296. fFillColorCaption(sMIDDLE_TOP_THIRD_TEETH, "#ffffff");
  297. bMIDDLE_TOP_THIRD = false;
  298. }
  299. fGrdInptVal(objCurGrdID);
  300. ]]>
  301. </script>
  302. </button>
  303. <button id="button8" class="btn2_letter5" style="left:306px; top:24px; width:75px; height:19px; ">
  304. <caption>1/3(유 치)</caption>
  305. <script type="javascript" ev:event="DOMActivate">
  306. <![CDATA[
  307. if(bMIDDLE_TOP_YOUNG_THIRD == false){
  308. fFillColorCaption(sMIDDLE_TOP_THIRD_YOUNG_TEETH, "#99ccff");
  309. bMIDDLE_TOP_YOUNG_THIRD = true;
  310. }else{
  311. fFillColorCaption(sMIDDLE_TOP_THIRD_YOUNG_TEETH, "#ffffff");
  312. bMIDDLE_TOP_YOUNG_THIRD = false;
  313. }
  314. fGrdInptVal(objCurGrdID);
  315. ]]>
  316. </script>
  317. </button>
  318. <button id="button9" class="btn2_letter5" style="left:601px; top:3px; width:75px; height:19px; ">
  319. <caption>1/3(영구치)</caption>
  320. <script type="javascript" ev:event="DOMActivate">
  321. <![CDATA[
  322. if(bLEFT_TOP_THIRD == false){
  323. fFillColorCaption(sLEFT_TOP_THIRD_TEETH, "#99ccff");
  324. bLEFT_TOP_THIRD = true;
  325. }else{
  326. fFillColorCaption(sLEFT_TOP_THIRD_TEETH, "#ffffff");
  327. bLEFT_TOP_THIRD = false;
  328. }
  329. fGrdInptVal(objCurGrdID);
  330. ]]>
  331. </script>
  332. </button>
  333. <button id="button10" class="btn2_letter5" style="left:10px; top:275px; width:75px; height:19px; ">
  334. <caption>1/3(영구치)</caption>
  335. <script type="javascript" ev:event="DOMActivate">
  336. <![CDATA[
  337. if(bRIGHT_BOTTOM_THIRD == false){
  338. fFillColorCaption(sRIGHT_BOTTOM_THIRD_TEETH, "#99ccff");
  339. bRIGHT_BOTTOM_THIRD = true;
  340. }else{
  341. fFillColorCaption(sRIGHT_BOTTOM_THIRD_TEETH, "#ffffff");
  342. bRIGHT_BOTTOM_THIRD = false;
  343. }
  344. fGrdInptVal(objCurGrdID);
  345. ]]>
  346. </script>
  347. </button>
  348. <button id="button12" class="btn2_letter5" style="left:306px; top:253px; width:75px; height:19px; ">
  349. <caption>1/3(유 치)</caption>
  350. <script type="javascript" ev:event="DOMActivate">
  351. <![CDATA[
  352. if(bMIDDLE_BOTTOM_YOUNG_THIRD == false){
  353. fFillColorCaption(sMIDDLE_BOTTOM_THIRD_YOUNG_TEETH, "#99ccff");
  354. bMIDDLE_BOTTOM_YOUNG_THIRD = true;
  355. }else{
  356. fFillColorCaption(sMIDDLE_BOTTOM_THIRD_YOUNG_TEETH, "#ffffff");
  357. bMIDDLE_BOTTOM_YOUNG_THIRD = false;
  358. }
  359. fGrdInptVal(objCurGrdID);
  360. ]]>
  361. </script>
  362. </button>
  363. <button id="button13" class="btn2_letter5" style="left:306px; top:274px; width:75px; height:19px; ">
  364. <caption>1/3(영구치)</caption>
  365. <script type="javascript" ev:event="DOMActivate">
  366. <![CDATA[
  367. if(bMIDDLE_BOTTOM_THIRD == false){
  368. fFillColorCaption(sMIDDLE_BOTTOM_THIRD_TEETH, "#99ccff");
  369. bMIDDLE_BOTTOM_THIRD = true;
  370. }else{
  371. fFillColorCaption(sMIDDLE_BOTTOM_THIRD_TEETH, "#ffffff");
  372. bMIDDLE_BOTTOM_THIRD = false;
  373. }
  374. fGrdInptVal(objCurGrdID);
  375. ]]>
  376. </script>
  377. </button>
  378. <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/implantyn" style="left:398px; top:300px; width:25px; height:20px; "/>
  379. <caption id="caption8" style="left:418px; top:300px; width:62px; height:20px; ">
  380. <![CDATA[임플란트]]>
  381. <script type="javascript" ev:event="onclick">
  382. <![CDATA[
  383. var implantyn = model.getValue("/root/main/cond/implantyn");
  384. if (implantyn =="Y") {
  385. model.setValue("/root/main/cond/implantyn", "N");
  386. } else {
  387. model.setValue("/root/main/cond/implantyn", "Y");
  388. }
  389. model.refresh();
  390. ]]>
  391. </script>
  392. </caption>
  393. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:475px; top:299px; width:210px; height:20px; background-color:#ffffff; border-color:#3366ff; "/>
  394. <shape id="rectangle2" appearance="rectangle" style="left:484px; top:303px; width:13px; height:13px; background-color:#99ccff; border-color:#000000; "/>
  395. <caption id="caption20" style="left:502px; top:301px; width:70px; height:19px; ">
  396. <![CDATA[#:일반치식]]>
  397. <hint>
  398. <![CDATA[일반치식]]>
  399. </hint>
  400. </caption>
  401. <shape id="rectangle3" appearance="rectangle" style="left:574px; top:303px; width:13px; height:13px; background-color:#ff9090; border-color:#000000; "/>
  402. <caption id="caption1" style="left:590px; top:301px; width:91px; height:19px; ">
  403. <![CDATA[ⓘ:임플란트치식]]>
  404. <hint>
  405. <![CDATA[일플란트치식]]>
  406. </hint>
  407. </caption>
  408. <button id="button15" class="btn4_letter3" style="left:974px; top:299px; width:68px; height:22px; ">
  409. <caption>초기화</caption>
  410. <script type="javascript" ev:event="DOMActivate">
  411. <![CDATA[
  412. fInitToothfact(objCurGrdID);
  413. ]]>
  414. </script>
  415. </button>
  416. <button id="button6" class="btn2_letter5" style="left:603px; top:274px; width:75px; height:19px; ">
  417. <caption>1/3(영구치)</caption>
  418. <script type="javascript" ev:event="DOMActivate">
  419. <![CDATA[
  420. if(bLEFT_BOTTOM_THIRD == false){
  421. fFillColorCaption(sLEFT_BOTTOM_THIRD_TEETH, "#99ccff");
  422. bLEFT_BOTTOM_THIRD = true;
  423. }else{
  424. fFillColorCaption(sLEFT_BOTTOM_THIRD_TEETH, "#ffffff");
  425. bLEFT_BOTTOM_THIRD = false;
  426. }
  427. fGrdInptVal(objCurGrdID);
  428. ]]>
  429. </script>
  430. </button>
  431. <button id="button11" class="btn2_letter4" style="left:12px; top:100px; width:64px; height:19px; ">
  432. <caption>우 상</caption>
  433. <script type="javascript" ev:event="DOMActivate">
  434. <![CDATA[
  435. if(bRIGHT_TOP == false){
  436. fFillColorCaption(sRIGHT_TOP_TEETH, "#99ccff");
  437. bRIGHT_TOP = true;
  438. }else{
  439. fFillColorCaption(sRIGHT_TOP_TEETH, "#ffffff");
  440. bRIGHT_TOP = false;
  441. }
  442. fGrdInptVal(objCurGrdID);
  443. ]]>
  444. </script>
  445. </button>
  446. <button id="button16" class="btn2_letter4" style="left:13px; top:160px; width:64px; height:19px; ">
  447. <caption>우하유치</caption>
  448. <script type="javascript" ev:event="DOMActivate">
  449. <![CDATA[
  450. if(bRIGHT_YOUTH_BOTTOM == false){
  451. fFillColorCaption(sRIGHT_BOTTOM_YOUNG_TEETH, "#99ccff");
  452. bRIGHT_YOUTH_BOTTOM = true;
  453. }else{
  454. fFillColorCaption(sRIGHT_BOTTOM_YOUNG_TEETH, "#ffffff");
  455. bRIGHT_YOUTH_BOTTOM = false;
  456. }
  457. fGrdInptVal(objCurGrdID);
  458. ]]>
  459. </script>
  460. </button>
  461. <button id="button18" class="btn2_letter4" style="left:607px; top:160px; width:64px; height:19px; ">
  462. <caption>좌하유치</caption>
  463. <script type="javascript" ev:event="DOMActivate">
  464. <![CDATA[
  465. if(bLEFT_YOUTH_BOTTOM == false){
  466. fFillColorCaption(sLEFT_BOTTOM_YOUNG_TEETH, "#99ccff");
  467. bLEFT_YOUTH_BOTTOM = true;
  468. }else{
  469. fFillColorCaption(sLEFT_BOTTOM_YOUNG_TEETH, "#ffffff");
  470. bLEFT_YOUTH_BOTTOM = false;
  471. }
  472. fGrdInptVal(objCurGrdID);
  473. ]]>
  474. </script>
  475. </button>
  476. <button id="button20" class="btn2_letter4" style="left:607px; top:101px; width:64px; height:19px; ">
  477. <caption>좌 상</caption>
  478. <script type="javascript" ev:event="DOMActivate">
  479. <![CDATA[
  480. if(bLEFT_TOP == false){
  481. fFillColorCaption(sLEFT_TOP_TEETH, "#99ccff");
  482. bLEFT_TOP = true;
  483. }else{
  484. fFillColorCaption(sLEFT_TOP_TEETH, "#ffffff");
  485. bLEFT_TOP = false;
  486. }
  487. fGrdInptVal(objCurGrdID);
  488. ]]>
  489. </script>
  490. </button>
  491. <button id="button2" class="btn2_letter4" style="left:12px; top:123px; width:64px; height:19px; ">
  492. <caption>우상유치</caption>
  493. <script type="javascript" ev:event="DOMActivate">
  494. <![CDATA[
  495. if(bRIGHT_YOUTH_TOP == false){
  496. fFillColorCaption(sRIGHT_TOP_YOUNG_TEETH, "#99ccff");
  497. bRIGHT_YOUTH_TOP = true;
  498. }else{
  499. fFillColorCaption(sRIGHT_TOP_YOUNG_TEETH, "#ffffff");
  500. bRIGHT_YOUTH_TOP = false;
  501. }
  502. fGrdInptVal(objCurGrdID);
  503. ]]>
  504. </script>
  505. </button>
  506. <button id="button14" class="btn2_letter4" style="left:13px; top:183px; width:64px; height:19px; ">
  507. <caption>우 하</caption>
  508. <script type="javascript" ev:event="DOMActivate">
  509. <![CDATA[
  510. if(bRIGHT_BOTTOM == false){
  511. fFillColorCaption(sRIGHT_BOTTOM_TEETH, "#99ccff");
  512. bRIGHT_BOTTOM = true;
  513. }else{
  514. fFillColorCaption(sRIGHT_BOTTOM_TEETH, "#ffffff");
  515. bRIGHT_BOTTOM = false;
  516. }
  517. fGrdInptVal(objCurGrdID);
  518. ]]>
  519. </script>
  520. </button>
  521. <button id="button17" class="btn2_letter4" style="left:607px; top:182px; width:64px; height:19px; ">
  522. <caption>좌 하</caption>
  523. <script type="javascript" ev:event="DOMActivate">
  524. <![CDATA[
  525. if(bLEFT_BOTTOM == false){
  526. fFillColorCaption(sLEFT_BOTTOM_TEETH, "#99ccff");
  527. bLEFT_BOTTOM = true;
  528. }else{
  529. fFillColorCaption(sLEFT_BOTTOM_TEETH, "#ffffff");
  530. bLEFT_BOTTOM = false;
  531. }
  532. fGrdInptVal(objCurGrdID);
  533. ]]>
  534. </script>
  535. </button>
  536. <button id="button19" class="btn2_letter4" style="left:607px; top:124px; width:64px; height:19px; ">
  537. <caption>좌상유치</caption>
  538. <script type="javascript" ev:event="DOMActivate">
  539. <![CDATA[
  540. if(bLEFT_YOUTH_TOP == false){
  541. fFillColorCaption(sLEFT_TOP_YOUNG_TEETH, "#99ccff");
  542. bLEFT_YOUTH_TOP = true;
  543. }else{
  544. fFillColorCaption(sLEFT_TOP_YOUNG_TEETH, "#ffffff");
  545. bLEFT_YOUTH_TOP = false;
  546. }
  547. fGrdInptVal(objCurGrdID);
  548. ]]>
  549. </script>
  550. </button>
  551. <button id="button21" class="btn2_letter5" style="left:99px; top:300px; width:75px; height:19px; ">
  552. <caption>전악(유치)</caption>
  553. <script type="javascript" ev:event="DOMActivate">
  554. <![CDATA[
  555. var sTOTAL_YOUTH = sRIGHT_TOP_YOUNG_TEETH +
  556. sLEFT_TOP_YOUNG_TEETH +
  557. sRIGHT_BOTTOM_YOUNG_TEETH +
  558. sLEFT_BOTTOM_YOUNG_TEETH;
  559. if(bTOTAL_YOUTH == false){
  560. fFillColorCaption(sTOTAL_YOUTH, "#99ccff");
  561. bTOTAL_YOUTH = true;
  562. }else{
  563. fFillColorCaption(sTOTAL_YOUTH, "#ffffff");
  564. bTOTAL_YOUTH = false;
  565. }
  566. fGrdInptVal(objCurGrdID);
  567. ]]>
  568. </script>
  569. </button>
  570. <button id="button22" class="btn2_letter5" style="left:11px; top:24px; width:75px; height:19px; ">
  571. <caption>1/3(유 치)</caption>
  572. <script type="javascript" ev:event="DOMActivate">
  573. <![CDATA[
  574. if(bRIGHT_TOP_YOUTH_THIRD == false){
  575. fFillColorCaption(sRIGHT_TOP_THIRD_YOUNG_TEETH, "#99ccff");
  576. bRIGHT_TOP_YOUTH_THIRD = true;
  577. }else{
  578. fFillColorCaption(sRIGHT_TOP_THIRD_YOUNG_TEETH, "#ffffff");
  579. bRIGHT_TOP_YOUTH_THIRD = false;
  580. }
  581. fGrdInptVal(objCurGrdID);
  582. ]]>
  583. </script>
  584. </button>
  585. <button id="button23" class="btn2_letter5" style="left:601px; top:24px; width:75px; height:19px; ">
  586. <caption>1/3(유 치)</caption>
  587. <script type="javascript" ev:event="DOMActivate">
  588. <![CDATA[
  589. if(bLEFT_TOP_THIRD_YOUTH == false){
  590. fFillColorCaption(sLEFT_TOP_THIRD_YOUTH_TEETH, "#99ccff");
  591. bLEFT_TOP_THIRD_YOUTH = true;
  592. }else{
  593. fFillColorCaption(sLEFT_TOP_THIRD_YOUTH_TEETH, "#ffffff");
  594. bLEFT_TOP_THIRD_YOUTH = false;
  595. }
  596. fGrdInptVal(objCurGrdID);
  597. ]]>
  598. </script>
  599. </button>
  600. <button id="button24" class="btn2_letter5" style="left:10px; top:253px; width:75px; height:19px; ">
  601. <caption>1/3(유 치)</caption>
  602. <script type="javascript" ev:event="DOMActivate">
  603. <![CDATA[
  604. if(bRIGHT_BOTTOM_YOUTH_THIRD == false){
  605. fFillColorCaption(sRIGHT_BOTTOM_THIRD_YOUNG_TEETH, "#99ccff");
  606. bRIGHT_BOTTOM_YOUTH_THIRD = true;
  607. }else{
  608. fFillColorCaption(sRIGHT_BOTTOM_THIRD_YOUNG_TEETH, "#ffffff");
  609. bRIGHT_BOTTOM_YOUTH_THIRD = false;
  610. }
  611. fGrdInptVal(objCurGrdID);
  612. ]]>
  613. </script>
  614. </button>
  615. <button id="button25" class="btn2_letter5" style="left:603px; top:253px; width:75px; height:19px; ">
  616. <caption>1/3(유 치)</caption>
  617. <script type="javascript" ev:event="DOMActivate">
  618. <![CDATA[
  619. if(bLEFT_BOTTOM_THIRD_YOUTH == false){
  620. fFillColorCaption(sLEFT_BOTTOM_THIRD_YOUTH_TEETH, "#99ccff");
  621. bLEFT_BOTTOM_THIRD_YOUTH = true;
  622. }else{
  623. fFillColorCaption(sLEFT_BOTTOM_THIRD_YOUTH_TEETH, "#ffffff");
  624. bLEFT_BOTTOM_THIRD_YOUTH = false;
  625. }
  626. fGrdInptVal(objCurGrdID);
  627. ]]>
  628. </script>
  629. </button>
  630. <line id="line3" style="x1:211px; y1:9px; x2:211px; y2:292px; border-color:#3366ff; border-width:2px; border-style:dotted; "/>
  631. <line id="line4" style="x1:471px; y1:9px; x2:471px; y2:292px; border-color:#3366ff; border-width:2px; border-style:dotted; "/>
  632. <datagrid id="grd_prcplist" nodeset="/root/main/prcplist/prcplist" caption="처방코드^치식사항^tootfact^rowcnt" colsep="^" colwidth="72, 396, 100, 100" ellipsis="true" extendlastcol="noscroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:689px; top:155px; width:471px; height:142px; ">
  633. <col ref="prcpcd"/>
  634. <col ref="tootfact"/>
  635. <col ref="rtntootfact"/>
  636. <col ref="rowcnt"/>
  637. <script type="javascript" ev:event="onclick">
  638. <![CDATA[
  639. if(objPrcpGrdID.row > 0){
  640. fFillColorCaption(objDiagGrdID.valueMatrix(iDiagBfRow, 2), "#ffffff");
  641. objDiagGrdID.select(objDiagGrdID.row,2, objDiagGrdID.row,2) = false;
  642. fFillColorCaption(objPrcpGrdID.valueMatrix(iPrcpBfRow, 2), "#ffffff");
  643. fFillColorCaption(objPrcpGrdID.valueMatrix(objPrcpGrdID.row, 2), "#99ccff");
  644. iPrcpBfRow = objPrcpGrdID.row;
  645. objCurGrdID = objPrcpGrdID;
  646. }
  647. ]]>
  648. </script>
  649. </datagrid>
  650. <datagrid id="grd_diaglist" nodeset="/root/main/diaglist/diaglist" caption="진단코드^치식사항^tootfact^rowcnt" colsep="^" colwidth="73, 395, 100, 100" ellipsis="true" extendlastcol="noscroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:689px; top:0px; width:471px; height:150px; ">
  651. <col ref="diagcd"/>
  652. <col ref="tootfact"/>
  653. <col ref="rtntootfact"/>
  654. <col ref="rowcnt"/>
  655. <script type="javascript" ev:event="onclick">
  656. <![CDATA[
  657. if(objDiagGrdID.row > 0){
  658. fFillColorCaption(objPrcpGrdID.valueMatrix(iPrcpBfRow, 2), "#ffffff");
  659. objPrcpGrdID.select(objPrcpGrdID.row,2,objPrcpGrdID.row,2) = false;
  660. fFillColorCaption(objDiagGrdID.valueMatrix(iDiagBfRow, 2), "#ffffff");
  661. fFillColorCaption(objDiagGrdID.valueMatrix(objDiagGrdID.row, 2), "#99ccff");
  662. iDiagBfRow = objDiagGrdID.row;
  663. objCurGrdID = objDiagGrdID;
  664. }
  665. ]]>
  666. </script>
  667. </datagrid>
  668. </xhtml:body>
  669. </xhtml:html>