SPMMO10500_치식.xfdl 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMO10500" position="absolute 0 0 1176 328" titletext="치식" onload="SPMMO10500_onload" oninit="SPMMO10500_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Shape position="absolute 0 0 685 297" id="rectangle1" type="rectangle"/>
  8. <Div position="absolute 5 51 680 251" id="group1" onclick="group1_onclick">
  9. <Layouts>
  10. <Layout>
  11. <Static text="A" position="absolute 285 115 320 150" align="align:center middle;" id="caption81" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  12. <Static text="B" position="absolute 249 115 284 150" align="align:center middle;" id="caption82" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  13. <Static text="A" position="absolute 355 115 390 150" align="align:center middle;" id="caption71" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  14. <Static text="B" position="absolute 391 115 426 150" align="align:center middle;" id="caption72" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  15. <Static text="C" position="absolute 212 115 247 150" align="align:center middle;" id="caption83" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  16. <Static text="A" position="absolute 355 50 390 85" align="align:center middle;" id="caption61" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  17. <Static text="C" position="absolute 428 115 463 150" align="align:center middle;" id="caption73" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  18. <Static text="D" position="absolute 167 115 202 150" align="align:center middle;" id="caption84" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  19. <Static text="B" position="absolute 391 50 426 85" align="align:center middle;" id="caption62" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  20. <Static text="A" position="absolute 285 50 320 85" align="align:center middle;" id="caption51" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  21. <Static text="E" position="absolute 131 115 166 150" align="align:center middle;" id="caption85" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  22. <Static text="D" position="absolute 472 115 507 150" align="align:center middle;" id="caption74" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  23. <Static text="C" position="absolute 428 50 463 85" align="align:center middle;" id="caption63" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  24. <Static text="B" position="absolute 249 50 284 85" align="align:center middle;" id="caption52" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  25. <Static text="1" position="absolute 285 155 320 190" align="align:center middle;" id="caption41" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  26. <Static text="E" position="absolute 508 115 543 150" align="align:center middle;" id="caption75" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  27. <Static text="D" position="absolute 472 50 507 85" align="align:center middle;" id="caption64" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  28. <Static text="C" position="absolute 212 50 247 85" align="align:center middle;" id="caption53" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  29. <Static text="1" position="absolute 355 155 390 190" align="align:center middle;" id="caption31" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  30. <Static text="2" position="absolute 249 155 284 190" align="align:center middle;" id="caption42" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  31. <Static text="1" position="absolute 355 10 390 45" align="align:center middle;" id="caption21" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  32. <Static text="E" position="absolute 508 50 543 85" align="align:center middle;" id="caption65" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  33. <Static text="D" position="absolute 167 50 202 85" align="align:center middle;" id="caption54" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  34. <Static text="3" position="absolute 212 155 247 190" align="align:center middle;" id="caption43" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  35. <Static text="2" position="absolute 391 155 426 190" align="align:center middle;" id="caption32" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  36. <Static text="2" position="absolute 391 10 426 45" align="align:center middle;" id="caption22" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  37. <Static text="1" position="absolute 285 10 320 45" align="align:center middle;" id="caption11" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  38. <Static text="E" position="absolute 131 50 166 85" align="align:center middle;" id="caption55" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  39. <Static text="4" position="absolute 167 155 202 190" align="align:center middle;" id="caption44" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  40. <Static text="3" position="absolute 428 155 463 190" align="align:center middle;" id="caption33" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  41. <Static text="3" position="absolute 428 10 463 45" align="align:center middle;" id="caption23" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  42. <Static text="2" position="absolute 249 10 284 45" align="align:center middle;" id="caption12" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  43. <Static text="5" position="absolute 131 155 166 190" align="align:center middle;" id="caption45" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  44. <Static text="4" position="absolute 472 155 507 190" align="align:center middle;" id="caption34" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  45. <Static text="4" position="absolute 472 10 507 45" align="align:center middle;" id="caption24" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  46. <Static text="3" position="absolute 212 10 247 45" align="align:center middle;" id="caption13" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  47. <Static text="5" position="absolute 508 155 543 190" align="align:center middle;" id="caption35" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  48. <Static text="6" position="absolute 86 155 121 190" align="align:center middle;" id="caption46" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  49. <Static text="5" position="absolute 508 10 543 45" align="align:center middle;" id="caption25" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  50. <Static text="4" position="absolute 167 10 202 45" align="align:center middle;" id="caption14" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  51. <Static text="6" position="absolute 553 155 588 190" align="align:center middle;" id="caption36" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  52. <Static text="7" position="absolute 50 155 85 190" align="align:center middle;" id="caption47" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  53. <Shape position="absolute 335 20 341 180" linetype="vertical" id="line1" style="strokepen:1 dashed black;"/>
  54. <Static text="6" position="absolute 553 10 588 45" align="align:center middle;" id="caption26" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  55. <Static text="5" position="absolute 131 10 166 45" align="align:center middle;" id="caption15" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  56. <Shape position="absolute 40 97 635 103" linetype="horizontal" id="line2" style="strokepen:3 dotted #9ebed4ff;"/>
  57. <Static text="7" position="absolute 589 155 624 190" align="align:center middle;" id="caption37" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  58. <Static text="8" position="absolute 5 155 40 190" align="align:center middle;" id="caption48" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  59. <Static text="7" position="absolute 589 10 624 45" align="align:center middle;" id="caption27" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  60. <Static text="6" position="absolute 86 10 121 45" align="align:center middle;" id="caption16" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  61. <Static text="8" position="absolute 633 155 668 190" align="align:center middle;" id="caption38" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  62. <Static text="8" position="absolute 633 10 668 45" align="align:center middle;" id="caption28" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  63. <Static text="7" position="absolute 50 10 85 45" align="align:center middle;" id="caption17" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  64. <Static text="8" position="absolute 5 10 40 45" align="align:center middle;" id="caption18" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
  65. </Layout>
  66. </Layouts>
  67. </Div>
  68. <Button position="absolute 9 300 95 319" id="button1" class="btn2" text="전악(영구치)" onclick="button1_onclick"/>
  69. <Button position="absolute 1045 299 1101 321" id="button3" class="btn4" text="확인" onclick="button3_onclick"/>
  70. <Button position="absolute 1104 299 1160 321" id="button4" class="btn4" text="취소" onclick="button4_onclick"/>
  71. <Button position="absolute 11 3 86 22" id="button5" class="btn2" text="1/3(영구치)" onclick="button5_onclick"/>
  72. <Button position="absolute 306 3 381 22" id="button7" class="btn2" text="1/3(영구치)" onclick="button7_onclick"/>
  73. <Button position="absolute 306 24 381 43" id="button8" class="btn2" text="1/3(유 치)" onclick="button8_onclick"/>
  74. <Button position="absolute 601 3 676 22" id="button9" class="btn2" text="1/3(영구치)" onclick="button9_onclick"/>
  75. <Button position="absolute 10 275 85 294" id="button10" class="btn2" text="1/3(영구치)" onclick="button10_onclick"/>
  76. <Button position="absolute 306 253 381 272" id="button12" class="btn2" text="1/3(유 치)" onclick="button12_onclick"/>
  77. <Button position="absolute 306 274 381 293" id="button13" class="btn2" text="1/3(영구치)" onclick="button13_onclick"/>
  78. <CheckBox position="absolute 398 300 471 320" id="bool1" text="임플란트" truevalue="Y" falsevalue="N"/>
  79. <Shape position="absolute 475 299 685 319" id="roundrect1" type="roundrectangle"/>
  80. <Shape position="absolute 484 303 497 316" id="rectangle2" type="rectangle" style="fillbrush:solid #99ccffff true;background:transparent;border:1 solid #000000ff ;"/>
  81. <Static text="#:일반치식" position="absolute 502 301 572 320" id="caption20" tooltiptext="일반치식"/>
  82. <Shape position="absolute 574 303 587 316" id="rectangle3" type="rectangle" style="fillbrush:solid #ff9090ff true;border:1 solid #000000ff ;"/>
  83. <Static text="ⓘ:임플란트치식" position="absolute 590 301 681 320" id="caption1" tooltiptext="일플란트치식"/>
  84. <Button position="absolute 974 299 1042 321" id="button15" class="btn4" text="초기화" onclick="button15_onclick"/>
  85. <Button position="absolute 603 274 678 293" id="button6" class="btn2" text="1/3(영구치)" onclick="button6_onclick"/>
  86. <Button position="absolute 12 100 76 119" id="button11" class="btn2" text="우 상" onclick="button11_onclick"/>
  87. <Button position="absolute 13 160 77 179" id="button16" class="btn2" text="우하유치" onclick="button16_onclick"/>
  88. <Button position="absolute 607 160 671 179" id="button18" class="btn2" text="좌하유치" onclick="button18_onclick"/>
  89. <Button position="absolute 607 101 671 120" id="button20" class="btn2" text="좌 상" onclick="button20_onclick"/>
  90. <Button position="absolute 12 123 76 142" id="button2" class="btn2" text="우상유치" onclick="button2_onclick"/>
  91. <Button position="absolute 13 183 77 202" id="button14" class="btn2" text="우 하" onclick="button14_onclick"/>
  92. <Button position="absolute 607 182 671 201" id="button17" class="btn2" text="좌 하" onclick="button17_onclick"/>
  93. <Button position="absolute 607 124 671 143" id="button19" class="btn2" text="좌상유치" onclick="button19_onclick"/>
  94. <Button position="absolute 99 300 174 319" id="button21" class="btn2" text="전악(유치)" onclick="button21_onclick"/>
  95. <Button position="absolute 11 24 86 43" id="button22" class="btn2" text="1/3(유 치)" onclick="button22_onclick"/>
  96. <Button position="absolute 601 24 676 43" id="button23" class="btn2" text="1/3(유 치)" onclick="button23_onclick"/>
  97. <Button position="absolute 10 253 85 272" id="button24" class="btn2" text="1/3(유 치)" onclick="button24_onclick"/>
  98. <Button position="absolute 603 253 678 272" id="button25" class="btn2" text="1/3(유 치)" onclick="button25_onclick"/>
  99. <Shape position="absolute 209 9 215 292" linetype="vertical" id="line3" style="strokepen:3 dotted #9ebed4ff;"/>
  100. <Shape position="absolute 470 9 476 292" linetype="vertical" id="line4" style="strokepen:3 dotted #9ebed4ff;"/>
  101. <Grid position="absolute 689 155 1160 297" id="grd_prcplist" binddataset="ds_main_prcplist" onlbuttonup="grd_prcplist_onlbuttonup">
  102. <Formats>
  103. <Format id="default">
  104. <Columns>
  105. <Column size="80"/>
  106. <Column size="391"/>
  107. <Column size="0"/>
  108. <Column size="0"/>
  109. </Columns>
  110. <Rows>
  111. <Row size="24" band="head"/>
  112. <Row size="24"/>
  113. </Rows>
  114. <Band id="head">
  115. <Cell text="처방코드"/>
  116. <Cell col="1" text="치식사항"/>
  117. <Cell col="2" text="rtntootfact"/>
  118. <Cell col="3" text="rowcnt"/>
  119. </Band>
  120. <Band id="body">
  121. <Cell style="align:left middle;padding:0 3 0 3;" text="bind:prcpcd"/>
  122. <Cell col="1" style="align:left middle;padding:0 3 0 3;" text="bind:tootfact"/>
  123. <Cell col="2" text="bind:rtntootfact"/>
  124. <Cell col="3" text="bind:rowcnt"/>
  125. </Band>
  126. </Format>
  127. </Formats>
  128. </Grid>
  129. <Grid position="absolute 689 0 1160 150" id="grd_diaglist" binddataset="ds_main_diaglist" onlbuttonup="grd_diaglist_onlbuttonup">
  130. <Formats>
  131. <Format id="default">
  132. <Columns>
  133. <Column size="80"/>
  134. <Column size="391"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. </Columns>
  138. <Rows>
  139. <Row size="24" band="head"/>
  140. <Row size="24"/>
  141. </Rows>
  142. <Band id="head">
  143. <Cell text="진단코드"/>
  144. <Cell col="1" text="치식사항"/>
  145. <Cell col="2" text="rtntootfact"/>
  146. <Cell col="3" text="rowcnt"/>
  147. </Band>
  148. <Band id="body">
  149. <Cell style="align:left middle;padding:0 3 0 3;" text="bind:diagcd"/>
  150. <Cell col="1" style="align:left middle;padding:0 3 0 3;" text="bind:tootfact"/>
  151. <Cell col="2" text="bind:rtntootfact"/>
  152. <Cell col="3" text="bind:rowcnt"/>
  153. </Band>
  154. </Format>
  155. </Formats>
  156. </Grid>
  157. </Layout>
  158. </Layouts>
  159. <Objects>
  160. <Dataset id="ds_main_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  161. <ColumnInfo>
  162. <Column id="prcpcd" type="STRING"/>
  163. <Column id="tootfact" type="STRING"/>
  164. <Column id="rtntootfact" type="STRING"/>
  165. <Column id="rowcnt" type="STRING"/>
  166. </ColumnInfo>
  167. </Dataset>
  168. <Dataset id="ds_main_diaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  169. <ColumnInfo>
  170. <Column id="diagcd" type="STRING"/>
  171. <Column id="tootfact" type="STRING"/>
  172. <Column id="rtntootfact" type="STRING"/>
  173. <Column id="rowcnt" type="STRING"/>
  174. </ColumnInfo>
  175. </Dataset>
  176. <Dataset id="ds_init_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  177. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  178. <ColumnInfo>
  179. <Column id="implantyn" type="STRING" size="256"/>
  180. </ColumnInfo>
  181. <Rows>
  182. <Row/>
  183. </Rows>
  184. </Dataset>
  185. </Objects>
  186. <Bind>
  187. <BindItem id="item0" compid="bool1" propid="value" datasetid="ds_main_cond" columnid="implantyn"/>
  188. </Bind>
  189. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  190. * System Name :
  191. * Job Name :
  192. * Creator :
  193. * Make Date : 2015-01-16
  194. * Description :
  195. *---------------------------------------------------------------------------------------
  196. * Modify Date Modifier Modify Description
  197. *---------------------------------------------------------------------------------------
  198. * 2015-01-16 Live Converter TF->XP
  199. *
  200. *---------------------------------------------------------------------------------------
  201. ****************************************************************************************/
  202. //=======================================================================================
  203. // Lib Include
  204. //---------------------------------------------------------------------------------------
  205. include "com_commonxp::comm_main.xjs";
  206. include "emr_prcpmngtxp::MMOCommon.xjs";
  207. include "emr_prcpmngtxp::SPMMO10500.xjs";
  208. //=======================================================================================
  209. // Event
  210. //---------------------------------------------------------------------------------------
  211. /****************************************************************************************
  212. * Components : Form
  213. * Components ID : SPMMO10500
  214. * Event : onload
  215. * Argument : 01.obj : Object Event has occurred
  216. * : 02.e : Event Object
  217. * Description : 화면오픈시 폼load이후 실행
  218. ****************************************************************************************/
  219. function SPMMO10500_onload(obj:Form, e:LoadEventInfo)
  220. {
  221. /*
  222. * opener : frmf_setParameter("param_tootfact") 치식사항 설정 #21#22#23#24 -> 화면 초기화 시, 선택된 치아 색깔로 표시됨
  223. * : frmf_setParameter("param_diaglist") 진단내역 설정 #당뇨병#치질 -> 화면 초기화 시, 진단명 그리드에 설정
  224. * : frmf_setParameter("param_prcplist") 처방내역 설정 #약물치료#정신치료-> 화면 초기화시, 처방명 그리드에 설정
  225. * : frmf_getParameter("rtn_useyn") 사용여부를 확인(종료 혹은 X버튼 클릭으로 종료된 경우 처리)
  226. * : frmf_getParameter("rtn_tootfact") 선택된 치식사항 리턴
  227. *
  228. */
  229. frmf_initForm(obj); // 폼 초기화
  230. fInitialize();
  231. button1.setFocus();
  232. }
  233. /****************************************************************************************
  234. * Components : Grid
  235. * Components ID : grd_prcplist
  236. * Event : onlbuttonup
  237. * Argument : 01.obj : Object Event has occurred
  238. * : 02.e : Event Object
  239. * Description : 처방리스트 그리드 클릭시
  240. ****************************************************************************************/
  241. function grd_prcplist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  242. {
  243. var currow = objects[objPrcpGrdID.binddataset].rowposition;
  244. if(currow > -1){
  245. fFillColorCaption(objects[objDiagGrdID.binddataset].getColumn(iDiagBfRow,1), "#ffffff");
  246. //objDiagGrdID.select(objDiagGrdID.row,2, objDiagGrdID.row,2) = false; //선택해제?
  247. objects[objDiagGrdID.binddataset].rowposition = -1;
  248. fFillColorCaption(objects[objPrcpGrdID.binddataset].getColumn(iPrcpBfRow,1), "#ffffff");
  249. fFillColorCaption(objects[objPrcpGrdID.binddataset].getColumn(currow,1), "#99ccff");
  250. iPrcpBfRow = currow;
  251. objCurGrdID = objPrcpGrdID;
  252. }
  253. }
  254. /****************************************************************************************
  255. * Components : Grid
  256. * Components ID : grd_diaglist
  257. * Event : onlbuttonup
  258. * Argument : 01.obj : Object Event has occurred
  259. * : 02.e : Event Object
  260. * Description : 진단리스트 그리드 클릭시
  261. ****************************************************************************************/
  262. function grd_diaglist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  263. {
  264. var currow = objects[objDiagGrdID.binddataset].rowposition;
  265. if(currow > -1){
  266. fFillColorCaption(objects[objPrcpGrdID.binddataset].getColumn(iPrcpBfRow,1), "#ffffff");
  267. //objPrcpGrdID.select(objPrcpGrdID.row,2,objPrcpGrdID.row,2) = false; //선택해제?
  268. objects[objPrcpGrdID.binddataset].rowposition = -1;
  269. fFillColorCaption(objects[objDiagGrdID.binddataset].getColumn(iDiagBfRow,1), "#ffffff");
  270. fFillColorCaption(objects[objDiagGrdID.binddataset].getColumn(currow,1), "#99ccff");
  271. iDiagBfRow = currow;
  272. objCurGrdID = objDiagGrdID;
  273. }
  274. }
  275. /****************************************************************************************
  276. * Components : Static
  277. * Components ID : group1.caption(치식전체)
  278. * Event : onclick
  279. * Argument : 01.obj : Object Event has occurred
  280. * : 02.e : Event Object
  281. * Description : 치식선택 생삭 변경
  282. ****************************************************************************************/
  283. function group1_caption_onclick(obj:Static, e:ClickEventInfo)
  284. {
  285. fDragChoiTeeth(objCurGrdID, obj);
  286. }
  287. /****************************************************************************************
  288. * Components : Button
  289. * Components ID : button5
  290. * Event : onclick
  291. * Argument : 01.obj : Object Event has occurred
  292. * : 02.e : Event Object
  293. * Description : 우상 1/3(영구치)
  294. ****************************************************************************************/
  295. function button5_onclick(obj:Button, e:ClickEventInfo)
  296. {
  297. if(bRIGHT_TOP_THIRD == false){
  298. fFillColorCaption(sRIGHT_TOP_THIRD_TEETH, "#99ccff");
  299. bRIGHT_TOP_THIRD = true;
  300. }else{
  301. fFillColorCaption(sRIGHT_TOP_THIRD_TEETH, "#ffffff");
  302. bRIGHT_TOP_THIRD = false;
  303. }
  304. fGrdInptVal(objCurGrdID);
  305. }
  306. /****************************************************************************************
  307. * Components : Button
  308. * Components ID : button22
  309. * Event : onclick
  310. * Argument : 01.obj : Object Event has occurred
  311. * : 02.e : Event Object
  312. * Description : 우상 1/3(유치)
  313. ****************************************************************************************/
  314. function button22_onclick(obj:Button, e:ClickEventInfo)
  315. {
  316. if(bRIGHT_TOP_YOUTH_THIRD == false){
  317. fFillColorCaption(sRIGHT_TOP_THIRD_YOUNG_TEETH, "#99ccff");
  318. bRIGHT_TOP_YOUTH_THIRD = true;
  319. }else{
  320. fFillColorCaption(sRIGHT_TOP_THIRD_YOUNG_TEETH, "#ffffff");
  321. bRIGHT_TOP_YOUTH_THIRD = false;
  322. }
  323. fGrdInptVal(objCurGrdID);
  324. }
  325. /****************************************************************************************
  326. * Components : Button
  327. * Components ID : button7
  328. * Event : onclick
  329. * Argument : 01.obj : Object Event has occurred
  330. * : 02.e : Event Object
  331. * Description : 중상 1/3(영구치)
  332. ****************************************************************************************/
  333. function button7_onclick(obj:Button, e:ClickEventInfo)
  334. {
  335. if(bMIDDLE_TOP_THIRD == false){
  336. fFillColorCaption(sMIDDLE_TOP_THIRD_TEETH, "#99ccff");
  337. bMIDDLE_TOP_THIRD = true;
  338. }else{
  339. fFillColorCaption(sMIDDLE_TOP_THIRD_TEETH, "#ffffff");
  340. bMIDDLE_TOP_THIRD = false;
  341. }
  342. fGrdInptVal(objCurGrdID);
  343. }
  344. /****************************************************************************************
  345. * Components : Button
  346. * Components ID : button8
  347. * Event : onclick
  348. * Argument : 01.obj : Object Event has occurred
  349. * : 02.e : Event Object
  350. * Description : 중상 1/3(유치)
  351. ****************************************************************************************/
  352. function button8_onclick(obj:Button, e:ClickEventInfo)
  353. {
  354. if(bMIDDLE_TOP_YOUNG_THIRD == false){
  355. fFillColorCaption(sMIDDLE_TOP_THIRD_YOUNG_TEETH, "#99ccff");
  356. bMIDDLE_TOP_YOUNG_THIRD = true;
  357. }else{
  358. fFillColorCaption(sMIDDLE_TOP_THIRD_YOUNG_TEETH, "#ffffff");
  359. bMIDDLE_TOP_YOUNG_THIRD = false;
  360. }
  361. fGrdInptVal(objCurGrdID);
  362. }
  363. /****************************************************************************************
  364. * Components : Button
  365. * Components ID : button9
  366. * Event : onclick
  367. * Argument : 01.obj : Object Event has occurred
  368. * : 02.e : Event Object
  369. * Description : 좌상 1/3(영구치)
  370. ****************************************************************************************/
  371. function button9_onclick(obj:Button, e:ClickEventInfo)
  372. {
  373. if(bLEFT_TOP_THIRD == false){
  374. fFillColorCaption(sLEFT_TOP_THIRD_TEETH, "#99ccff");
  375. bLEFT_TOP_THIRD = true;
  376. }else{
  377. fFillColorCaption(sLEFT_TOP_THIRD_TEETH, "#ffffff");
  378. bLEFT_TOP_THIRD = false;
  379. }
  380. fGrdInptVal(objCurGrdID);
  381. }
  382. /****************************************************************************************
  383. * Components : Button
  384. * Components ID : button23
  385. * Event : onclick
  386. * Argument : 01.obj : Object Event has occurred
  387. * : 02.e : Event Object
  388. * Description : 좌상 1/3(유치)
  389. ****************************************************************************************/
  390. function button23_onclick(obj:Button, e:ClickEventInfo)
  391. {
  392. if(bLEFT_TOP_THIRD_YOUTH == false){
  393. fFillColorCaption(sLEFT_TOP_THIRD_YOUTH_TEETH, "#99ccff");
  394. bLEFT_TOP_THIRD_YOUTH = true;
  395. }else{
  396. fFillColorCaption(sLEFT_TOP_THIRD_YOUTH_TEETH, "#ffffff");
  397. bLEFT_TOP_THIRD_YOUTH = false;
  398. }
  399. fGrdInptVal(objCurGrdID);
  400. }
  401. /****************************************************************************************
  402. * Components : Button
  403. * Components ID : button24
  404. * Event : onclick
  405. * Argument : 01.obj : Object Event has occurred
  406. * : 02.e : Event Object
  407. * Description : 우하 1/3(유치)
  408. ****************************************************************************************/
  409. function button24_onclick(obj:Button, e:ClickEventInfo)
  410. {
  411. if(bRIGHT_BOTTOM_YOUTH_THIRD == false){
  412. fFillColorCaption(sRIGHT_BOTTOM_THIRD_YOUNG_TEETH, "#99ccff");
  413. bRIGHT_BOTTOM_YOUTH_THIRD = true;
  414. }else{
  415. fFillColorCaption(sRIGHT_BOTTOM_THIRD_YOUNG_TEETH, "#ffffff");
  416. bRIGHT_BOTTOM_YOUTH_THIRD = false;
  417. }
  418. fGrdInptVal(objCurGrdID);
  419. }
  420. /****************************************************************************************
  421. * Components : Button
  422. * Components ID : button10
  423. * Event : onclick
  424. * Argument : 01.obj : Object Event has occurred
  425. * : 02.e : Event Object
  426. * Description : 우하 1/3(영구치)
  427. ****************************************************************************************/
  428. function button10_onclick(obj:Button, e:ClickEventInfo)
  429. {
  430. if(bRIGHT_BOTTOM_THIRD == false){
  431. fFillColorCaption(sRIGHT_BOTTOM_THIRD_TEETH, "#99ccff");
  432. bRIGHT_BOTTOM_THIRD = true;
  433. }else{
  434. fFillColorCaption(sRIGHT_BOTTOM_THIRD_TEETH, "#ffffff");
  435. bRIGHT_BOTTOM_THIRD = false;
  436. }
  437. fGrdInptVal(objCurGrdID);
  438. }
  439. /****************************************************************************************
  440. * Components : Button
  441. * Components ID : button12
  442. * Event : onclick
  443. * Argument : 01.obj : Object Event has occurred
  444. * : 02.e : Event Object
  445. * Description : 중하 1/3(유치)
  446. ****************************************************************************************/
  447. function button12_onclick(obj:Button, e:ClickEventInfo)
  448. {
  449. if(bMIDDLE_BOTTOM_YOUNG_THIRD == false){
  450. fFillColorCaption(sMIDDLE_BOTTOM_THIRD_YOUNG_TEETH, "#99ccff");
  451. bMIDDLE_BOTTOM_YOUNG_THIRD = true;
  452. }else{
  453. fFillColorCaption(sMIDDLE_BOTTOM_THIRD_YOUNG_TEETH, "#ffffff");
  454. bMIDDLE_BOTTOM_YOUNG_THIRD = false;
  455. }
  456. fGrdInptVal(objCurGrdID);
  457. }
  458. /****************************************************************************************
  459. * Components : Button
  460. * Components ID : button13
  461. * Event : onclick
  462. * Argument : 01.obj : Object Event has occurred
  463. * : 02.e : Event Object
  464. * Description : 중하 1/3(영구치)
  465. ****************************************************************************************/
  466. function button13_onclick(obj:Button, e:ClickEventInfo)
  467. {
  468. if(bMIDDLE_BOTTOM_THIRD == false){
  469. fFillColorCaption(sMIDDLE_BOTTOM_THIRD_TEETH, "#99ccff");
  470. bMIDDLE_BOTTOM_THIRD = true;
  471. }else{
  472. fFillColorCaption(sMIDDLE_BOTTOM_THIRD_TEETH, "#ffffff");
  473. bMIDDLE_BOTTOM_THIRD = false;
  474. }
  475. fGrdInptVal(objCurGrdID);
  476. }
  477. /****************************************************************************************
  478. * Components : Button
  479. * Components ID : button25
  480. * Event : onclick
  481. * Argument : 01.obj : Object Event has occurred
  482. * : 02.e : Event Object
  483. * Description : 우하 1/3(유치)
  484. ****************************************************************************************/
  485. function button25_onclick(obj:Button, e:ClickEventInfo)
  486. {
  487. if(bLEFT_BOTTOM_THIRD_YOUTH == false){
  488. fFillColorCaption(sLEFT_BOTTOM_THIRD_YOUTH_TEETH, "#99ccff");
  489. bLEFT_BOTTOM_THIRD_YOUTH = true;
  490. }else{
  491. fFillColorCaption(sLEFT_BOTTOM_THIRD_YOUTH_TEETH, "#ffffff");
  492. bLEFT_BOTTOM_THIRD_YOUTH = false;
  493. }
  494. fGrdInptVal(objCurGrdID);
  495. }
  496. /****************************************************************************************
  497. * Components : Button
  498. * Components ID : button6
  499. * Event : onclick
  500. * Argument : 01.obj : Object Event has occurred
  501. * : 02.e : Event Object
  502. * Description : 우하 1/3(영구치)
  503. ****************************************************************************************/
  504. function button6_onclick(obj:Button, e:ClickEventInfo)
  505. {
  506. if(bLEFT_BOTTOM_THIRD == false){
  507. fFillColorCaption(sLEFT_BOTTOM_THIRD_TEETH, "#99ccff");
  508. bLEFT_BOTTOM_THIRD = true;
  509. }else{
  510. fFillColorCaption(sLEFT_BOTTOM_THIRD_TEETH, "#ffffff");
  511. bLEFT_BOTTOM_THIRD = false;
  512. }
  513. fGrdInptVal(objCurGrdID);
  514. }
  515. /****************************************************************************************
  516. * Components : Button
  517. * Components ID : button11
  518. * Event : onclick
  519. * Argument : 01.obj : Object Event has occurred
  520. * : 02.e : Event Object
  521. * Description : 우상
  522. ****************************************************************************************/
  523. function button11_onclick(obj:Button, e:ClickEventInfo)
  524. {
  525. if(bRIGHT_TOP == false){
  526. fFillColorCaption(sRIGHT_TOP_TEETH, "#99ccff");
  527. bRIGHT_TOP = true;
  528. }else{
  529. fFillColorCaption(sRIGHT_TOP_TEETH, "#ffffff");
  530. bRIGHT_TOP = false;
  531. }
  532. fGrdInptVal(objCurGrdID);
  533. }
  534. /****************************************************************************************
  535. * Components : Button
  536. * Components ID : button2
  537. * Event : onclick
  538. * Argument : 01.obj : Object Event has occurred
  539. * : 02.e : Event Object
  540. * Description : 우상유치
  541. ****************************************************************************************/
  542. function button2_onclick(obj:Button, e:ClickEventInfo)
  543. {
  544. if(bRIGHT_YOUTH_TOP == false){
  545. fFillColorCaption(sRIGHT_TOP_YOUNG_TEETH, "#99ccff");
  546. bRIGHT_YOUTH_TOP = true;
  547. }else{
  548. fFillColorCaption(sRIGHT_TOP_YOUNG_TEETH, "#ffffff");
  549. bRIGHT_YOUTH_TOP = false;
  550. }
  551. fGrdInptVal(objCurGrdID);
  552. }
  553. /****************************************************************************************
  554. * Components : Button
  555. * Components ID : button16
  556. * Event : onclick
  557. * Argument : 01.obj : Object Event has occurred
  558. * : 02.e : Event Object
  559. * Description : 우하유치
  560. ****************************************************************************************/
  561. function button16_onclick(obj:Button, e:ClickEventInfo)
  562. {
  563. if(bRIGHT_YOUTH_BOTTOM == false){
  564. fFillColorCaption(sRIGHT_BOTTOM_YOUNG_TEETH, "#99ccff");
  565. bRIGHT_YOUTH_BOTTOM = true;
  566. }else{
  567. fFillColorCaption(sRIGHT_BOTTOM_YOUNG_TEETH, "#ffffff");
  568. bRIGHT_YOUTH_BOTTOM = false;
  569. }
  570. fGrdInptVal(objCurGrdID);
  571. }
  572. /****************************************************************************************
  573. * Components : Button
  574. * Components ID : button14
  575. * Event : onclick
  576. * Argument : 01.obj : Object Event has occurred
  577. * : 02.e : Event Object
  578. * Description : 우하
  579. ****************************************************************************************/
  580. function button14_onclick(obj:Button, e:ClickEventInfo)
  581. {
  582. if(bRIGHT_BOTTOM == false){
  583. fFillColorCaption(sRIGHT_BOTTOM_TEETH, "#99ccff");
  584. bRIGHT_BOTTOM = true;
  585. }else{
  586. fFillColorCaption(sRIGHT_BOTTOM_TEETH, "#ffffff");
  587. bRIGHT_BOTTOM = false;
  588. }
  589. fGrdInptVal(objCurGrdID);
  590. }
  591. /****************************************************************************************
  592. * Components : Button
  593. * Components ID : button20
  594. * Event : onclick
  595. * Argument : 01.obj : Object Event has occurred
  596. * : 02.e : Event Object
  597. * Description : 좌상
  598. ****************************************************************************************/
  599. function button20_onclick(obj:Button, e:ClickEventInfo)
  600. {
  601. if(bLEFT_TOP == false){
  602. fFillColorCaption(sLEFT_TOP_TEETH, "#99ccff");
  603. bLEFT_TOP = true;
  604. }else{
  605. fFillColorCaption(sLEFT_TOP_TEETH, "#ffffff");
  606. bLEFT_TOP = false;
  607. }
  608. fGrdInptVal(objCurGrdID);
  609. }
  610. /****************************************************************************************
  611. * Components : Button
  612. * Components ID : button19
  613. * Event : onclick
  614. * Argument : 01.obj : Object Event has occurred
  615. * : 02.e : Event Object
  616. * Description : 좌상유치
  617. ****************************************************************************************/
  618. function button19_onclick(obj:Button, e:ClickEventInfo)
  619. {
  620. if(bLEFT_YOUTH_TOP == false){
  621. fFillColorCaption(sLEFT_TOP_YOUNG_TEETH, "#99ccff");
  622. bLEFT_YOUTH_TOP = true;
  623. }else{
  624. fFillColorCaption(sLEFT_TOP_YOUNG_TEETH, "#ffffff");
  625. bLEFT_YOUTH_TOP = false;
  626. }
  627. fGrdInptVal(objCurGrdID);
  628. }
  629. /****************************************************************************************
  630. * Components : Button
  631. * Components ID : button18
  632. * Event : onclick
  633. * Argument : 01.obj : Object Event has occurred
  634. * : 02.e : Event Object
  635. * Description : 좌하유치
  636. ****************************************************************************************/
  637. function button18_onclick(obj:Button, e:ClickEventInfo)
  638. {
  639. if(bLEFT_YOUTH_BOTTOM == false){
  640. fFillColorCaption(sLEFT_BOTTOM_YOUNG_TEETH, "#99ccff");
  641. bLEFT_YOUTH_BOTTOM = true;
  642. }else{
  643. fFillColorCaption(sLEFT_BOTTOM_YOUNG_TEETH, "#ffffff");
  644. bLEFT_YOUTH_BOTTOM = false;
  645. }
  646. fGrdInptVal(objCurGrdID);
  647. }
  648. /****************************************************************************************
  649. * Components : Button
  650. * Components ID : button17
  651. * Event : onclick
  652. * Argument : 01.obj : Object Event has occurred
  653. * : 02.e : Event Object
  654. * Description : 좌하
  655. ****************************************************************************************/
  656. function button17_onclick(obj:Button, e:ClickEventInfo)
  657. {
  658. if(bLEFT_BOTTOM == false){
  659. fFillColorCaption(sLEFT_BOTTOM_TEETH, "#99ccff");
  660. bLEFT_BOTTOM = true;
  661. }else{
  662. fFillColorCaption(sLEFT_BOTTOM_TEETH, "#ffffff");
  663. bLEFT_BOTTOM = false;
  664. }
  665. fGrdInptVal(objCurGrdID);
  666. }
  667. /****************************************************************************************
  668. * Components : Button
  669. * Components ID : button1
  670. * Event : onclick
  671. * Argument : 01.obj : Object Event has occurred
  672. * : 02.e : Event Object
  673. * Description : 전악(영구치)
  674. ****************************************************************************************/
  675. function button1_onclick(obj:Button, e:ClickEventInfo)
  676. {
  677. var sTOTAL = sRIGHT_TOP_TEETH + sLEFT_TOP_TEETH + sRIGHT_BOTTOM_TEETH + sLEFT_BOTTOM_TEETH;
  678. if(bTOTAL == false){
  679. fFillColorCaption(sTOTAL, "#99ccff");
  680. bTOTAL = true;
  681. }else{
  682. fFillColorCaption(sTOTAL, "#ffffff");
  683. bTOTAL = false;
  684. }
  685. fGrdInptVal(objCurGrdID);
  686. }
  687. /****************************************************************************************
  688. * Components : Button
  689. * Components ID : button21
  690. * Event : onclick
  691. * Argument : 01.obj : Object Event has occurred
  692. * : 02.e : Event Object
  693. * Description : 전악(유치)
  694. ****************************************************************************************/
  695. function button21_onclick(obj:Button, e:ClickEventInfo)
  696. {
  697. var sTOTAL_YOUTH = sRIGHT_TOP_YOUNG_TEETH + sLEFT_TOP_YOUNG_TEETH + sRIGHT_BOTTOM_YOUNG_TEETH + sLEFT_BOTTOM_YOUNG_TEETH;
  698. if(bTOTAL_YOUTH == false){
  699. fFillColorCaption(sTOTAL_YOUTH, "#99ccff");
  700. bTOTAL_YOUTH = true;
  701. }else{
  702. fFillColorCaption(sTOTAL_YOUTH, "#ffffff");
  703. bTOTAL_YOUTH = false;
  704. }
  705. fGrdInptVal(objCurGrdID);
  706. }
  707. /****************************************************************************************
  708. * Components : Button
  709. * Components ID : button15
  710. * Event : onclick
  711. * Argument : 01.obj : Object Event has occurred
  712. * : 02.e : Event Object
  713. * Description : 초기화 버튼
  714. ****************************************************************************************/
  715. function button15_onclick(obj:Button, e:ClickEventInfo)
  716. {
  717. fInitToothfact(objCurGrdID);
  718. }
  719. /****************************************************************************************
  720. * Components : Button
  721. * Components ID : button3
  722. * Event : onclick
  723. * Argument : 01.obj : Object Event has occurred
  724. * : 02.e : Event Object
  725. * Description : 확인 버튼
  726. ****************************************************************************************/
  727. function button3_onclick(obj:Button, e:ClickEventInfo)
  728. {
  729. fCnfm_SPMMO10500();
  730. }
  731. /****************************************************************************************
  732. * Components : Button
  733. * Components ID : button4
  734. * Event : onclick
  735. * Argument : 01.obj : Object Event has occurred
  736. * : 02.e : Event Object
  737. * Description : 취소 버튼
  738. ****************************************************************************************/
  739. function button4_onclick(obj:Button, e:ClickEventInfo)
  740. {
  741. fCncl_SPMMO010500();
  742. }
  743. ]]></Script>
  744. </Form>
  745. </FDL>