SMAHB00800_종합판정문구관리.xfdl 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHB00800" position="absolute 0 0 1200 805" titletext="판정소견예문관리" oninit="SMAHB00800_oninit" onload="SMAHB00800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="판정소견예문관리" class="tit_1" position="absolute 0 0 175 25"/>
  8. <Static id="caption1" text="예문입력" class="tit_2" position="absolute 716 76 794 98" anchor="top right"/>
  9. <Grid id="grd_judgexmplst" taborder="1" binddataset="ds_main_judgexmpcdlst_item" useinputpanel="false" position="absolute 0 97 710 761" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="grd_judgexmplst_oncelldblclick" onrbuttondown="grd_judgexmplst_onrbuttondown" selecttype="row">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="20"/>
  14. <Column size="0"/>
  15. <Column size="30"/>
  16. <Column size="66"/>
  17. <Column size="220"/>
  18. <Column size="120"/>
  19. <Column size="100"/>
  20. <Column size="100"/>
  21. <Column size="80"/>
  22. <Column size="100"/>
  23. </Columns>
  24. <Rows>
  25. <Row size="24" band="head"/>
  26. <Row size="24"/>
  27. </Rows>
  28. <Band id="head">
  29. <Cell/>
  30. <Cell col="1" text="sel"/>
  31. <Cell col="2" text="USE"/>
  32. <Cell col="3" text="소견코드"/>
  33. <Cell col="4" text="한글소견"/>
  34. <Cell col="5" text="영문소견"/>
  35. <Cell col="6" text="소견그룹코드"/>
  36. <Cell col="7" text="소견그룹명"/>
  37. <Cell col="8" text="최종수정자"/>
  38. <Cell col="9" text="최종수정일시"/>
  39. </Band>
  40. <Band id="body">
  41. <Cell celltype="head" expr="currow+1"/>
  42. <Cell col="1" text="bind:sel"/>
  43. <Cell col="2" text="bind:useyn"/>
  44. <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:judgexmpcd"/>
  45. <Cell col="4" style="align:left middle;padding:0 0 0 3;" text="bind:judghangshrtcnts"/>
  46. <Cell col="5" style="align:left middle;padding:0 0 0 3;" text="bind:judgengshrtcnts"/>
  47. <Cell col="6" style="align:left middle;padding:0 0 0 3;" text="bind:judgexmpgrpcd"/>
  48. <Cell col="7" style="align:left middle;padding:0 0 0 3;" text="bind:judgexmpgrpnm"/>
  49. <Cell col="8" style="align:left middle;padding:0 0 0 3;" text="bind:lastupdtrid"/>
  50. <Cell col="9" displaytype="date" style="align:left middle;padding:0 0 0 3;" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
  51. </Band>
  52. </Format>
  53. </Formats>
  54. </Grid>
  55. <Shape id="line10" linetype="horizontal" class="line_3" position="absolute 715 758 1194 764" anchor="top right"/>
  56. <Shape id="line1" class="line_10" position="absolute 715 92 1195 98" anchor="top right"/>
  57. <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 715 119 1195 125" anchor="top right"/>
  58. <Shape id="line3" linetype="horizontal" class="line_2" position="absolute 715 145 1195 151" anchor="top right"/>
  59. <Static id="caption11" text="한글소견" class="cell_1" position="absolute 715 123 802 146" anchor="top right"/>
  60. <Static id="caption7" text="예문코드" class="cell_1" position="absolute 715 97 802 120" anchor="top right"/>
  61. <Static id="caption3" text="예문내역" class="tit_2" position="absolute 0 76 90 98"/>
  62. <Shape id="line4" class="line_10" position="absolute 0 92 710 98" anchor="left top right"/>
  63. <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 715 171 1195 177" anchor="top right"/>
  64. <Static id="caption9" text="한글판정소견" class="cell_1" position="absolute 715 378 802 562" anchor="top right"/>
  65. <Shape id="line8" linetype="horizontal" class="line_2" position="absolute 715 282 1195 288" anchor="top right"/>
  66. <Static id="caption18" text="질환코드" class="cell_1" position="absolute 715 175 802 283" anchor="top right"/>
  67. <Static id="caption14" text="영문소견" class="cell_1" position="absolute 715 149 802 172" anchor="top right"/>
  68. <Edit id="ipt_exmpcd" taborder="2" class="input_essential" position="absolute 804 99 919 118" autoselect="true" autoskip="true" anchor="top right" onkeyup="ipt_exmpcd_onkeyup"/>
  69. <Edit id="ipt_shrthang" taborder="3" class="input" position="absolute 804 124 1196 143" autoselect="true" autoskip="true" anchor="top right" onkeyup="ipt_shrthang_onkeyup"/>
  70. <Edit id="ipt_shrteng" taborder="4" class="input" position="absolute 804 151 1196 170" autoselect="true" autoskip="true" anchor="top right" onkeyup="ipt_shrteng_onkeyup"/>
  71. <TextArea id="tar_hangcnts" taborder="5" position="absolute 803 379 1195 560" acceptstab="true" autoselect="true" wordwrap="word" anchor="top right"/>
  72. <TextArea id="tar_engcnts" taborder="6" position="absolute 803 567 1195 758" acceptstab="true" autoselect="true" wordwrap="word" anchor="top right"/>
  73. <Button id="btn_sickcd" taborder="7" text="질환코드" class="btn2" position="absolute 724 220 796 242" anchor="top right" onclick="btn_sickcd_onclick"/>
  74. <Static id="caption10" text="영문판정소견" class="cell_1" position="absolute 715 565 802 759" anchor="top right"/>
  75. <Shape id="line9" linetype="horizontal" class="line_2" position="absolute 715 561 1194 567" anchor="top right"/>
  76. <Div id="grp_search" taborder="8" class="div_SA" position="absolute 0 25 1195 65" anchor="left top right">
  77. <Layouts>
  78. <Layout width="1195" height="40">
  79. <Edit id="ipt_examcd" taborder="3" autoselect="true" autoskip="true" class="input_search" position="absolute 105 11 270 30" onkeyup="grp_search_ipt_examcd_onkeyup"/>
  80. <Static id="caption21" text="예문코드 :" class="search_name" position="absolute 17 13 103 30"/>
  81. <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1122 9 1178 31" anchor="top right" onclick="grp_search_btn_search_onclick"/>
  82. <Shape id="line18" linetype="vertical" class="line_4" position="absolute 1101 9 1107 31" anchor="top right"/>
  83. <Edit id="ipt_examcnts" taborder="2" autoselect="true" autoskip="true" class="input_search" position="absolute 412 10 702 29" onkeyup="grp_search_ipt_examcnts_onkeyup"/>
  84. <Static id="caption22" text="단문내용:" class="search_name" position="absolute 333 12 419 29"/>
  85. <Static id="caption13" text="건진상세:" class="search_name" position="absolute 770 12 856 29"/>
  86. <Combo id="cmb_healexamdetlflag" taborder="4" innerdataset="ds_init_cmb_healexamdetlflag" codecolumn="cdid" datacolumn="cdnm" class="combo_s_essential" position="absolute 850 11 935 30"/>
  87. </Layout>
  88. </Layouts>
  89. </Div>
  90. <Grid id="grd_sicklst" taborder="9" binddataset="ds_main_judgexmpdetl_itemsick" useinputpanel="false" position="absolute 803 196 1195 283" anchor="top right" autoenter="select" cellsizingtype="col">
  91. <Formats>
  92. <Format id="default">
  93. <Columns>
  94. <Column size="23"/>
  95. <Column size="83"/>
  96. <Column size="168"/>
  97. <Column size="100"/>
  98. <Column size="100"/>
  99. </Columns>
  100. <Rows>
  101. <Row size="24" band="head"/>
  102. <Row size="24"/>
  103. </Rows>
  104. <Band id="head">
  105. <Cell/>
  106. <Cell col="1" text="질환코드"/>
  107. <Cell col="2" text="질환명"/>
  108. <Cell col="3" text="판정코드"/>
  109. <Cell col="4" text="사업체코드"/>
  110. </Band>
  111. <Band id="body">
  112. <Cell celltype="head"/>
  113. <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:sickcd"/>
  114. <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:sicknm"/>
  115. <Cell col="3" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:judgcd" combodataset="ds_cmb_judgcd" combocodecol="value" combodatacol="label"/>
  116. <Cell col="4" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:cmpycd"/>
  117. </Band>
  118. </Format>
  119. </Formats>
  120. </Grid>
  121. <Static id="caption2" text="사용여부" class="cell_1" position="absolute 921 97 988 120" anchor="top right"/>
  122. <CheckBox id="chk_useyn" taborder="10" position="absolute 991 98 1036 118" text="사용" truevalue="Y" anchor="top right" onclick="chk_useyn_onclick"/>
  123. <Button id="btn_rsltdel" taborder="11" text="선택행삭제" class="btn2" position="absolute 1120 176 1195 195" anchor="top right" onclick="btn_rsltdel_onclick"/>
  124. <Button id="btn_copy" taborder="12" text="행복사" class="btn2" position="absolute 657 73 710 92" anchor="top right" onclick="btn_copy_onclick"/>
  125. <Static id="caption4" text="질환코드" class="cell_1" position="absolute 715 286 802 375" anchor="top right" onclick="caption4_onclick"/>
  126. <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 715 374 1195 380" anchor="top right"/>
  127. <Grid id="grd_testlst" taborder="13" binddataset="ds_main_judgexmpdetl_itemtest" useinputpanel="false" position="absolute 803 306 1195 374" autoenter="select" autofittype="col" cellsizingtype="col" anchor="top right">
  128. <Formats>
  129. <Format id="default">
  130. <Columns>
  131. <Column size="19"/>
  132. <Column size="150"/>
  133. <Column size="200"/>
  134. </Columns>
  135. <Rows>
  136. <Row size="24" band="head"/>
  137. <Row size="24"/>
  138. </Rows>
  139. <Band id="head">
  140. <Cell/>
  141. <Cell col="1" text="검사코드"/>
  142. <Cell col="2" text="검사명"/>
  143. </Band>
  144. <Band id="body">
  145. <Cell celltype="head"/>
  146. <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:testcd"/>
  147. <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:testnm"/>
  148. </Band>
  149. </Format>
  150. </Formats>
  151. </Grid>
  152. <Button id="ipt_testcd" taborder="14" text="검사코드" class="btn2" position="absolute 723 321 795 343" anchor="top right" onclick="ipt_testcd_onclick"/>
  153. <Button id="button3" taborder="15" text="선택행삭제" class="btn2" position="absolute 1120 286 1195 305" anchor="top right" onclick="button3_onclick"/>
  154. <Div id="grp_judgexmpgrp" taborder="17" visible="false" position="absolute 144 243 585 322" style="background:white;border:1 solid #808080ff ;">
  155. <Layouts>
  156. <Layout>
  157. <Static id="caption5" text="소견그룹코드" class="cell_1" position="absolute 3 25 90 48" anchor="default"/>
  158. <Static id="caption8" text="소견그룹등록" class="tit_2" position="absolute 3 4 122 26" anchor="default"/>
  159. <Shape id="line7" linetype="horizontal" class="line_10" position="absolute 3 20 435 26" anchor="default"/>
  160. <Edit id="ipt_judgexmpgrpcd" taborder="1" class="input_essential" position="absolute 93 26 213 45" anchor="default" autoselect="true" autoskip="true"/>
  161. <Static id="caption12" text="소견그룹명" class="cell_1" position="absolute 216 25 295 48" anchor="default"/>
  162. <Edit id="ipt_judgexmpgrpnm" taborder="2" class="input_essential" position="absolute 298 26 432 45" anchor="default" autoselect="true" autoskip="true"/>
  163. <Button id="btn_savepopup" taborder="3" text="저장" class="btn4" position="absolute 380 51 436 73" anchor="default" onclick="grp_judgexmpgrp_btn_savepopup_onclick"/>
  164. <Shape id="line11" linetype="horizontal" class="line_2" position="absolute 4 47 436 53" anchor="default"/>
  165. <Button id="btn_rsltexmp" taborder="4" class="icon_plus" position="absolute 421 5 434 20" anchor="default" onclick="grp_judgexmpgrp_btn_rsltexmp_onclick"/>
  166. </Layout>
  167. </Layouts>
  168. </Div>
  169. <Static id="caption15" text="건진상세" class="cell_1" position="absolute 1036 97 1103 120" anchor="top right"/>
  170. <Combo id="cmb_healexamdetlflag2" taborder="19" innerdataset="@ds_init_baseinfo_hedetflaglst_A0070" codecolumn="cdid" datacolumn="cdnm" class="combo_s_essential" position="absolute 1104 99 1195 118" anchor="top right"/>
  171. <Button id="btn_save" taborder="20" text="저장" class="btn4" position="absolute 1007 768 1063 790" anchor="right bottom" onclick="btn_save_onclick"/>
  172. <Button id="btn_del" taborder="21" text="삭제" class="btn4" position="absolute 1067 768 1123 790" anchor="right bottom" onclick="btn_del_onclick"/>
  173. <Button id="btn_clear" taborder="22" text="초기화" class="btn4" position="absolute 1126 768 1194 790" anchor="right bottom" onclick="btn_clear_onclick"/>
  174. <PopupMenu id="pmn_menu1" position="absolute 1222 81 1310 123" innerdataset="@ds_menu" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu1_onmenuclick"/>
  175. </Layout>
  176. </Layouts>
  177. <Objects>
  178. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  179. <ColumnInfo>
  180. <Column id="srchjudgexmpcd" type="STRING" size="256"/>
  181. <Column id="srchjudgexmpcnts" type="STRING" size="256"/>
  182. <Column id="srchjudgexmpcd2" type="STRING" size="256"/>
  183. <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
  184. <Column id="srchinstcd" type="STRING" size="256"/>
  185. <Column id="srchhealexamflag" type="STRING" size="256"/>
  186. <Column id="srchjudgexmpcd2" type="STRING" size="256"/>
  187. </ColumnInfo>
  188. <Rows>
  189. <Row>
  190. <Col id="srchjudgexmpcd"/>
  191. <Col id="srchjudgexmpcnts"/>
  192. <Col id="srchjudgexmpcd2"/>
  193. <Col id="srchhealexamdetlflag"/>
  194. <Col id="srchinstcd"/>
  195. <Col id="srchhealexamflag"/>
  196. <Col id="srchjudgexmpcd2"/>
  197. </Row>
  198. </Rows>
  199. </Dataset>
  200. <Dataset id="ds_main_judgexmpcdlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  201. <ColumnInfo>
  202. <Column id="sel" type="STRING" size="256" sumtext="선택"/>
  203. <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
  204. <Column id="judgexmpcd" type="STRING" size="256" sumtext="판정문구코드"/>
  205. <Column id="judghangshrtcnts" type="STRING" size="256" sumtext="판정단문내용(한글)"/>
  206. <Column id="judgengshrtcnts" type="STRING" size="256" sumtext="판정단문내용(영문)"/>
  207. <Column id="judghangcnts" type="STRING" size="256" sumtext="판정장문내용(한글)"/>
  208. <Column id="judgengcnts" type="STRING" size="256" sumtext="판정장문내용(영문)"/>
  209. <Column id="judgexmpgrpcd" type="STRING" size="256" sumtext="판정문구그룹코드"/>
  210. <Column id="judgexmpgrpnm" type="STRING" size="256" sumtext="판정문구그룹명"/>
  211. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
  212. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  213. </ColumnInfo>
  214. </Dataset>
  215. <Dataset id="ds_main_judgexmpdetl_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  216. <ColumnInfo>
  217. <Column id="judgexmpcd" type="STRING" size="256" sumtext="판정문구코드"/>
  218. <Column id="judghangshrtcnts" type="STRING" size="256" sumtext="판정단문내용(한글)"/>
  219. <Column id="judgengshrtcnts" type="STRING" size="256" sumtext="판정단문내용(영문)"/>
  220. <Column id="judghangcnts" type="STRING" size="256" sumtext="장문판정내용(한글)"/>
  221. <Column id="judgengcnts" type="STRING" size="256" sumtext="장문판정내용(영문)"/>
  222. <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
  223. <Column id="copyyn" type="STRING" size="256" sumtext="행복사여부"/>
  224. </ColumnInfo>
  225. <Rows>
  226. <Row/>
  227. </Rows>
  228. </Dataset>
  229. <Dataset id="ds_init_baseinfo_hedetflaglst_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  230. <Dataset id="ds_main_judgexmpdetl_itemsick" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  231. <ColumnInfo>
  232. <Column id="sickcd" type="STRING" size="256" sumtext="질환코드"/>
  233. <Column id="sicknm" type="STRING" size="256" sumtext="질환명"/>
  234. <Column id="judgcd" type="STRING" size="256" sumtext="판정코드"/>
  235. <Column id="cmpycd" type="STRING" size="256" sumtext="업체코드"/>
  236. </ColumnInfo>
  237. </Dataset>
  238. <Dataset id="ds_cmb_judgcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  239. <ColumnInfo>
  240. <Column id="label" type="STRING" size="256"/>
  241. <Column id="value" type="STRING" size="256"/>
  242. </ColumnInfo>
  243. <Rows>
  244. <Row>
  245. <Col id="label">A</Col>
  246. <Col id="value">A</Col>
  247. </Row>
  248. <Row>
  249. <Col id="label">B</Col>
  250. <Col id="value">B</Col>
  251. </Row>
  252. <Row>
  253. <Col id="label">C</Col>
  254. <Col id="value">C</Col>
  255. </Row>
  256. <Row>
  257. <Col id="label">R</Col>
  258. <Col id="value">R</Col>
  259. </Row>
  260. </Rows>
  261. </Dataset>
  262. <Dataset id="ds_main_judgexmpdetl_itemtest" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="false" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  263. <ColumnInfo>
  264. <Column id="healexamflag" type="STRING" size="256" sumtext="검진구분"/>
  265. <Column id="judgexmpcd" type="STRING" size="256" sumtext="판정문구 코드"/>
  266. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  267. <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
  268. <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
  269. </ColumnInfo>
  270. </Dataset>
  271. <Dataset id="ds_popup_jugdgexmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  272. <ColumnInfo>
  273. <Column id="judgexmpgrpcd" type="STRING" size="256"/>
  274. <Column id="judgexmpgrpnm" type="STRING" size="256"/>
  275. </ColumnInfo>
  276. <Rows>
  277. <Row>
  278. <Col id="judgexmpgrpcd"/>
  279. <Col id="judgexmpgrpnm"/>
  280. </Row>
  281. </Rows>
  282. </Dataset>
  283. <Dataset id="ds_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  284. <ColumnInfo>
  285. <Column id="label" type="STRING" size="256"/>
  286. <Column id="func" type="STRING" size="256"/>
  287. <Column id="level" type="STRING" size="256"/>
  288. </ColumnInfo>
  289. <Rows>
  290. <Row>
  291. <Col id="label">판정소견그룹등록</Col>
  292. <Col id="func">addjudgegrp</Col>
  293. </Row>
  294. <Row>
  295. <Col id="label">판정소견그룹삭제</Col>
  296. <Col id="func">deljudgegrp</Col>
  297. </Row>
  298. </Rows>
  299. </Dataset>
  300. <Dataset id="ds_send_savegrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  301. <ColumnInfo>
  302. <Column id="healexamflag" type="STRING" size="256"/>
  303. <Column id="instcd" type="STRING" size="256"/>
  304. <Column id="grpdata" type="STRING" size="256"/>
  305. </ColumnInfo>
  306. <Rows>
  307. <Row>
  308. <Col id="healexamflag"/>
  309. <Col id="instcd"/>
  310. <Col id="grpdata"/>
  311. </Row>
  312. </Rows>
  313. </Dataset>
  314. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  315. <ColumnInfo>
  316. <Column id="okflag" type="STRING" size="256"/>
  317. </ColumnInfo>
  318. <Rows>
  319. <Row/>
  320. </Rows>
  321. </Dataset>
  322. <Dataset id="ds_main_info_rsrvacptinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  323. <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  324. </Objects>
  325. <Bind>
  326. <BindItem id="item0" compid="grp_search.ipt_examcd" propid="value" datasetid="ds_send" columnid="srchjudgexmpcd"/>
  327. <BindItem id="item1" compid="grp_search.ipt_examcnts" propid="value" datasetid="ds_send" columnid="srchjudgexmpcnts"/>
  328. <BindItem id="item2" compid="grp_search.cmb_healexamdetlflag" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
  329. <BindItem id="item3" compid="ipt_exmpcd" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgexmpcd"/>
  330. <BindItem id="item4" compid="chk_useyn" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="useyn"/>
  331. <BindItem id="item5" compid="cmb_healexamdetlflag2" propid="value" datasetid="ds_send" columnid=""/>
  332. <BindItem id="item6" compid="ipt_shrthang" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judghangshrtcnts"/>
  333. <BindItem id="item7" compid="ipt_shrteng" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgengshrtcnts"/>
  334. <BindItem id="item8" compid="tar_hangcnts" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judghangcnts"/>
  335. <BindItem id="item9" compid="tar_engcnts" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgengcnts"/>
  336. <BindItem id="item10" compid="grp_judgexmpgrp.ipt_judgexmpgrpcd" propid="value" datasetid="ds_popup_jugdgexmp" columnid="judgexmpgrpcd"/>
  337. <BindItem id="item11" compid="grp_judgexmpgrp.ipt_judgexmpgrpnm" propid="value" datasetid="ds_popup_jugdgexmp" columnid="judgexmpgrpnm"/>
  338. </Bind>
  339. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  340. * System Name :
  341. * Job Name :
  342. * Creator :
  343. * Make Date : 2015-11-13
  344. * Description :
  345. *---------------------------------------------------------------------------------------
  346. * Modify Date Modifier Modify Description
  347. *---------------------------------------------------------------------------------------
  348. * 2015-11-13 Live Converter TF->XP
  349. *
  350. *---------------------------------------------------------------------------------------
  351. ****************************************************************************************/
  352. include "com_commonxp::comm_main.xjs";
  353. include "ast_healexamxp::AHA001.xjs";
  354. include "ast_healthexambasexp::healcombolist.xjs";
  355. function SMAHB00800_oninit(obj:Form, e:InitEventInfo)
  356. {
  357. frmf_initForm(obj);
  358. }
  359. function SMAHB00800_onload(obj:Form, e:LoadEventInfo)
  360. {
  361. grdf_initGrid(grd_judgexmplst);
  362. grdf_initGrid(grd_sicklst);
  363. grdf_setRowTypeIcon(grd_sicklst, 0);
  364. grdf_initGrid(grd_testlst);
  365. grdf_setRowTypeIcon(grd_testlst, 0);
  366. fGetJudgExmpList();
  367. grp_search.btn_search.enable = frmf_checkAuth("R");
  368. btn_save.enable = frmf_checkAuth("X");
  369. btn_clear.enable = frmf_checkAuth("X");
  370. btn_del.enable = frmf_checkAuth("X");
  371. }
  372. function fGetJudgExmpList()
  373. {
  374. //fInit(false);
  375. //ds_main_judgexmpcdlst_item.clearData();
  376. ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
  377. ds_send.setColumn(0, "srchhealexamflag", fGetHealExamFlag());
  378. var arrParam = [{dsNm: "ds_init_baseinfo_hedetflaglst_A0070", cdGrpId: "A0070"}]
  379. appf_getCodeList(arrParam);
  380. if(fGetHealExamFlag() == "G")
  381. {
  382. grp_search.caption13.visible = true;
  383. grp_search.cmb_healexamdetlflag.visible = true;
  384. caption15.visible = true;
  385. cmb_healexamdetlflag2.visible = true;
  386. ds_send.setColumn(0, "srchhealexamdetlflag", cmb_healexamdetlflag2.value);
  387. }
  388. else
  389. {
  390. grp_search.caption13.visible = false;
  391. grp_search.cmb_healexamdetlflag.visible = false;
  392. caption15.visible = false;
  393. cmb_healexamdetlflag2.visible = false;
  394. }
  395. var currow = ds_main_judgexmpcdlst_item.rowposition;
  396. var oParam = {};
  397. oParam.id = "TRAHB00801";
  398. oParam.service = "healexambaseapp.CmtCode";
  399. oParam.method = "reqGetCmtCdList";
  400. oParam.inds = "req=ds_send";
  401. oParam.outds = "ds_main_judgexmpcdlst_item=item";
  402. oParam.async = false;
  403. oParam.callback = "cf_TRAHB00801";
  404. tranf_submit(oParam);
  405. ds_main_judgexmpcdlst_item.rowposition = currow;
  406. }
  407. function cf_TRAHB00801(sSvcId, nErrorCode, sErrorMsg)
  408. {
  409. if(nErrorCode < 0) return;
  410. }
  411. function fInit(vInput)
  412. {
  413. ipt_exmpcd.enable = true;
  414. if( vInput == false )
  415. {
  416. ds_main_judgexmpcdlst_item.clearData();
  417. }
  418. ds_main_judgexmpdetl_itemsick.clearData();
  419. ds_main_judgexmpdetl_itemtest.clearData();
  420. ds_main_judgexmpdetl_item.clearData();
  421. ds_main_judgexmpdetl_item.addRow();
  422. ipt_exmpcd.setFocus();
  423. }
  424. function grp_search_ipt_examcd_onkeyup(obj:Edit, e:KeyEventInfo)
  425. {
  426. if(e.keycode == 13)
  427. {
  428. obj.updateToDataset();
  429. grp_search.btn_search.click();
  430. }
  431. }
  432. function grp_search_ipt_examcnts_onkeyup(obj:Edit, e:KeyEventInfo)
  433. {
  434. if(e.keycode == 13)
  435. {
  436. obj.updateToDataset();
  437. grp_search.btn_search.click();
  438. }
  439. }
  440. function grp_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
  441. {
  442. fGetJudgExmpList();
  443. }
  444. function grd_judgexmplst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  445. {
  446. fGetExmpDetlInfo(false);
  447. }
  448. function fGetExmpDetlInfo(bCopy)
  449. {
  450. var idx = ds_main_judgexmpcdlst_item.rowposition;
  451. if( idx < 0) return ;
  452. ipt_exmpcd.enable = bCopy ;
  453. ds_send.setColumn(0, "srchinstcd",sysf_getUserInfo("dutplceinstcd"));
  454. ds_send.setColumn(0, "srchhealexamflag",fGetHealExamFlag());
  455. ds_send.setColumn(0, "srchjudgexmpcd",ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd"));
  456. ds_send.setColumn(0, "srchjudgexmpcd2",ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd"));
  457. var oParam = {};
  458. oParam.id = "TRAHB00802";
  459. oParam.service = "healexambaseapp.CmtCode";
  460. oParam.method = "reqGetCmtCdDetl";
  461. oParam.inds = "req=ds_send";
  462. oParam.outds = "ds_main_judgexmpdetl_item=item ds_main_judgexmpdetl_itemsick=itemsick ds_main_judgexmpdetl_itemtest=itemtest";
  463. oParam.async = false;
  464. //oParam.callback = "cf_TRAHB00802";
  465. tranf_submit(oParam);
  466. ds_send.setColumn(0, "srchjudgexmpcd", "");
  467. if(bCopy == true )
  468. {
  469. ds_main_judgexmpdetl_item.setColumn(0, "judgexmpcd","");
  470. ipt_exmpcd.setFocus();
  471. }
  472. }
  473. function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  474. {
  475. if(e.id == "addjudgegrp")
  476. {
  477. fSetJudgeGrp("A");
  478. }
  479. if(e.id == "deljudgegrp")
  480. {
  481. fSetJudgeGrp("D");
  482. }
  483. }
  484. function grd_judgexmplst_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  485. {
  486. pmn_menu1.trackPopup(e.screenX,e.screenY);
  487. }
  488. function fSetJudgeGrp(vMode)
  489. {
  490. var selIdxs = grdf_getSelectedRows(grd_judgexmplst);
  491. if(vMode == "A")
  492. {
  493. grp_judgexmpgrp.visible = true;
  494. ds_popup_jugdgexmp.setColumn(0, "judgexmpgrpcd","");
  495. ds_popup_jugdgexmp.setColumn(0, "judgexmpgrpnm","");
  496. }
  497. else if(vMode == "D")
  498. {
  499. for(var i = 0; i < selIdxs.length; i++)
  500. {
  501. var idx = selIdxs[i];
  502. ds_main_judgexmpcdlst_item.setColumn(idx,"judgexmpgrpcd", "");
  503. ds_main_judgexmpcdlst_item.setColumn(idx,"judgexmpgrpnm", "");
  504. ds_main_judgexmpcdlst_item.updatecontrol = false;
  505. ds_main_judgexmpcdlst_item.setRowType(idx, "u");
  506. ds_main_judgexmpcdlst_item.updatecontrol = true;
  507. }
  508. ds_send_savegrp.copyData(grdf_getGridUpdateData(grd_judgexmplst));
  509. dsf_makeValue(ds_send_savegrp, "healexamflag", "string" , ds_send.getColumn(0, "srchhealexamflag"));
  510. dsf_makeValue(ds_send_savegrp, "instcd", "string", ds_send.getColumn(0, "srchinstcd"));
  511. var oParam = {};
  512. oParam.id = "TXAHB00804";
  513. oParam.service = "healexambaseapp.CmtCode";
  514. oParam.method = "reqExeJudgExmpGrp";
  515. oParam.inds = "req=ds_send_savegrp:u";
  516. oParam.outds = "ds_=item";
  517. oParam.typeStr = "m";
  518. oParam.async = false;
  519. oParam.callback = "cf_TXAHB00804";
  520. tranf_submit(oParam);
  521. }
  522. }
  523. function cf_TXAHB00804(sSvcId, nErrorCode, sErrorMsg)
  524. {
  525. if(nErrorCode < 0) return;
  526. else
  527. {
  528. ds_main_judgexmpcdlst_item.applyChange();
  529. }
  530. }
  531. function grp_judgexmpgrp_btn_rsltexmp_onclick(obj:Button, e:ClickEventInfo)
  532. {
  533. grp_judgexmpgrp.visible = false;
  534. }
  535. function grp_judgexmpgrp_btn_savepopup_onclick(obj:Button, e:ClickEventInfo)
  536. {
  537. var selIdxs = grdf_getSelectedRows(grd_judgexmplst);
  538. var judgexmpgrpcd = grp_judgexmpgrp.ipt_judgexmpgrpcd.value;
  539. var judgexmpgrpnm = grp_judgexmpgrp.ipt_judgexmpgrpnm.value;
  540. for(var i = 0; i < selIdxs.length; i++)
  541. {
  542. var selIdx = selIdxs[i];
  543. if(!utlf_isNull(judgexmpgrpcd)) ds_main_judgexmpcdlst_item.setColumn(selIdx, "judgexmpgrpcd", judgexmpgrpcd);
  544. if(!utlf_isNull(judgexmpgrpnm)) ds_main_judgexmpcdlst_item.setColumn(selIdx, "judgexmpgrpnm", judgexmpgrpnm);
  545. ds_main_judgexmpcdlst_item.updatecontrol = false;
  546. ds_main_judgexmpcdlst_item.setRowType(selIdx, "u");
  547. ds_main_judgexmpcdlst_item.updatecontrol = true;
  548. }
  549. ds_send_savegrp.copyData(grdf_getGridUpdateData(grd_judgexmplst));
  550. dsf_makeValue(ds_send_savegrp, "healexamflag", "string" , ds_send.getColumn(0, "srchhealexamflag"));
  551. dsf_makeValue(ds_send_savegrp, "instcd", "string", ds_send.getColumn(0, "srchinstcd"));
  552. grp_judgexmpgrp.visible = false;
  553. var oParam = {};
  554. oParam.id = "TXAHB00804";
  555. oParam.service = "healexambaseapp.CmtCode";
  556. oParam.method = "reqExeJudgExmpGrp";
  557. oParam.inds = "req=ds_send_savegrp:u";
  558. oParam.outds = "ds_=item";
  559. oParam.typeStr = "m";
  560. oParam.async = false;
  561. oParam.callback = "cf_TXAHB00804";
  562. tranf_submit(oParam);
  563. }
  564. function btn_copy_onclick(obj:Button, e:ClickEventInfo)
  565. {
  566. fGetExmpDetlInfo(true);
  567. ds_main_judgexmpdetl_item.setColumn(0, "copyyn", "Y");
  568. }
  569. function btn_sickcd_onclick(obj:Button, e:ClickEventInfo)
  570. {
  571. var cnt = ds_main_judgexmpdetl_itemsick.rowcount;
  572. ahafGetSickCd("SMAHB00800", "", "", cnt , "ds_main_judgexmpdetl_itemsick");
  573. if( ds_temp.getColumn(0, "okflag") == "Y" )
  574. {
  575. for( var i = cnt ; i < ds_main_judgexmpdetl_itemsick.rowcount; i++)
  576. {
  577. ds_main_judgexmpdetl_itemsick.updatecontrol = false;
  578. ds_main_judgexmpdetl_itemsick.setRowType(i, "i");
  579. ds_main_judgexmpdetl_itemsick.updatecontrol = true;
  580. }
  581. }
  582. }
  583. function ipt_testcd_onclick(obj:Button, e:ClickEventInfo)
  584. {
  585. var cnt = ds_main_judgexmpdetl_itemtest.rowcount;
  586. var vjudgexmpcd = ds_main_judgexmpcdlst_item.getColumn(ds_main_judgexmpcdlst_item.rowposition, "judgexmpcd");
  587. ahafGetTestCd("SMAHB00800", "", "", cnt , ds_main_judgexmpdetl_itemtest,vjudgexmpcd);
  588. if( ds_temp.getColumn(0, "okflag") == "Y" )
  589. {
  590. for( var i = cnt ; i < ds_main_judgexmpdetl_itemtest.rowcount; i++)
  591. {
  592. ds_main_judgexmpdetl_itemtest.updatecontrol = false;
  593. ds_main_judgexmpdetl_itemtest.setRowType(i, "i");
  594. ds_main_judgexmpdetl_itemtest.updatecontrol = true;
  595. }
  596. }
  597. }
  598. function caption4_onclick(obj:Static, e:ClickEventInfo)
  599. {
  600. }
  601. function ipt_exmpcd_onkeyup(obj:Edit, e:KeyEventInfo)
  602. {
  603. if(e.keycode == 13)
  604. {
  605. obj.updateToDataset();
  606. ipt_shrthang.setFocus();
  607. }
  608. }
  609. function chk_useyn_onclick(obj:CheckBox, e:ClickEventInfo)
  610. {
  611. if(obj.value == "Y")
  612. {
  613. }
  614. else
  615. {
  616. ds_main_judgexmpdetl_item.setColumn(0, "useyn", "");
  617. }
  618. }
  619. function ipt_shrthang_onkeyup(obj:Edit, e:KeyEventInfo)
  620. {
  621. if(e.keycode == 13)
  622. {
  623. obj.updateToDataset();
  624. ipt_shrteng.setFocus();
  625. }
  626. }
  627. function ipt_shrteng_onkeyup(obj:Edit, e:KeyEventInfo)
  628. {
  629. if(e.keycode == 13)
  630. {
  631. obj.updateToDataset();
  632. tar_hangcnts.setFocus();
  633. }
  634. }
  635. function btn_rsltdel_onclick(obj:Button, e:ClickEventInfo)
  636. {
  637. if(ds_main_judgexmpdetl_itemsick.getRowType(ds_main_judgexmpdetl_itemsick.rowposition) == 2)
  638. {
  639. ds_main_judgexmpdetl_itemsick.deleteRow(ds_main_judgexmpdetl_itemsick.rowposition);
  640. }
  641. else
  642. {
  643. ds_main_judgexmpdetl_itemsick.updatecontrol = false;
  644. ds_main_judgexmpdetl_itemsick.setRowType(ds_main_judgexmpdetl_itemsick.rowposition, "d");
  645. ds_main_judgexmpdetl_itemsick.updatecontrol = true;
  646. }
  647. }
  648. function button3_onclick(obj:Button, e:ClickEventInfo)
  649. {
  650. if(ds_main_judgexmpdetl_itemtest.getRowType(ds_main_judgexmpdetl_itemtest.rowposition) == 2)
  651. {
  652. ds_main_judgexmpdetl_itemtest.deleteRow(ds_main_judgexmpdetl_itemtest.rowposition);
  653. }
  654. else
  655. {
  656. ds_main_judgexmpdetl_itemtest.updatecontrol = false;
  657. ds_main_judgexmpdetl_itemtest.setRowType(ds_main_judgexmpdetl_itemtest.rowposition, "d");
  658. ds_main_judgexmpdetl_itemtest.updatecontrol = true;
  659. }
  660. }
  661. function btn_clear_onclick(obj:Button, e:ClickEventInfo)
  662. {
  663. fInit(true);
  664. }
  665. function btn_del_onclick(obj:Button, e:ClickEventInfo)
  666. {
  667. fSaveExmp(true);
  668. grp_search.btn_search.click();
  669. btn_clear.click();
  670. }
  671. function fSaveExmp(vDel)
  672. {
  673. if(vDel == true )
  674. {
  675. if ( sysf_messageBox("판정소견정보를","Q001") !=6 ) return ;
  676. }
  677. else
  678. {
  679. if ( sysf_messageBox("판정소견정보를","Q002") !=6 ) return ;
  680. }
  681. if(!fCheckVal()) return ;
  682. ds_send_save.copyData(ds_main_judgexmpdetl_item);
  683. dsf_makeValue(ds_send_save, "mode", "string", "");
  684. if( ipt_exmpcd.enable == false)
  685. {
  686. if(vDel == false )
  687. {
  688. ds_send_save.setColumn(0, "mode", "u");
  689. }
  690. else
  691. {
  692. ds_send_save.setColumn(0, "mode", "d");
  693. }
  694. }
  695. else
  696. {
  697. ds_send_save.setColumn(0, "mode", "i");
  698. }
  699. dsf_makeValue(ds_send_save,"healexamflag", "string",fGetHealExamFlag());
  700. if(fGetHealExamFlag() == "G")
  701. {
  702. dsf_makeValue(ds_send_save, "healexamdetlflag", grp_search.cmb_healexamdetlflag.value);
  703. }
  704. if(ds_send_save.getColumn(0, "copyyn") == "Y"){
  705. ds_main_judgexmpdetl_itemsick.updatecontrol = false;
  706. for(var i = 0; i < ds_main_judgexmpdetl_itemsick.rowcount; i++){
  707. ds_main_judgexmpdetl_itemsick.setRowType(i, "i");
  708. }
  709. ds_main_judgexmpdetl_itemsick.updatecontrol = true;
  710. ds_main_judgexmpdetl_itemtest.updatecontrol = false;
  711. for(var i = 0; i < ds_main_judgexmpdetl_itemtest.rowcount; i++){
  712. ds_main_judgexmpdetl_itemtest.setRowType(i, "i");
  713. }
  714. ds_main_judgexmpdetl_itemtest.updatecontrol = true;
  715. }
  716. var oParam = {};
  717. oParam.id = "TXAHB00801";
  718. oParam.service = "healexambaseapp.CmtCode";
  719. oParam.method = "reqExeCmtCode";
  720. oParam.inds = "req=ds_send_save reqsick=ds_main_judgexmpdetl_itemsick:u reqtest=ds_main_judgexmpdetl_itemtest:u";
  721. oParam.outds = "ds_=item ds_=itemsick ds_=itemtest";
  722. oParam.typeStr = "m";
  723. oParam.async = false;
  724. oParam.callback = "cf_TXAHB00801";
  725. tranf_submit(oParam);
  726. ds_main_judgexmpdetl_item.setColumn(0, "copyyn", "");
  727. }
  728. function cf_TXAHB00801(sSvcId, nErrorCode, sErrorMsg)
  729. {
  730. if(nErrorCode < 0) return;
  731. }
  732. function fCheckVal()
  733. {
  734. var vCd = ds_main_judgexmpdetl_item.getColumn(0, "judgexmpcd");
  735. if(utlf_isNull(vCd))
  736. {
  737. sysf_messageBox("예문코드는","I003");
  738. ipt_exmpcd.setFocus();
  739. }
  740. return true;
  741. }
  742. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  743. {
  744. for ( var i = 0; i < ds_main_judgexmpdetl_itemsick.rowcount; i ++)
  745. {
  746. if(utlf_isNull(ds_main_judgexmpdetl_itemsick.getColumn(i, "sickcd")))
  747. {
  748. sysf_messageBox("질환코드는 필수 선택항목 입니다.", "E999", "");
  749. return;
  750. }
  751. if(utlf_isNull(ds_main_judgexmpdetl_itemsick.getColumn(i, "judgcd")))
  752. {
  753. sysf_messageBox("판정코드는 필수 선택항목 입니다.", "E999", "");
  754. return;
  755. }
  756. }
  757. var judgexmpcd = ds_main_judgexmpdetl_item.getColumn(0, "judgexmpcd");
  758. fSaveExmp(false);
  759. grp_search.btn_search.click();
  760. grd_judgexmplst.setFocus();
  761. grd_judgexmplst_oncelldblclick();
  762. }
  763. ]]></Script>
  764. </Form>
  765. </FDL>