SPMRT01700_암환자용어검색.xfdl 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMRT01700" position="absolute 0 0 1150 680" titletext="암등록용어검색" oninit="SPMRT01700_oninit" onload="SPMRT01700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape position="absolute 8 44 380 74" id="roundrect1" type="roundrectangle"/>
  8. <Static text="T-Code" position="absolute 8 0 85 18" align="align:center middle;" id="caption2" class="tit_2"/>
  9. <Shape position="absolute 8 39 380 45" linetype="horizontal" id="line2" class="line_10"/>
  10. <Shape position="absolute 385 39 757 45" linetype="horizontal" id="line3" class="line_10"/>
  11. <Shape position="absolute 8 370 380 376" linetype="horizontal" id="line4" class="line_10"/>
  12. <Static text="선택 T-Code" position="absolute 8 354 121 372" align="align:center middle;" id="caption1" class="tit_2"/>
  13. <Button position="absolute 323 49 379 71" id="btn_search" class="btn1" text="조회" onclick="btn_search_onclick"/>
  14. <Combo position="absolute 241 50 301 69" id="combo2" class="combo_search" enable="true" codecolumn="codecolumn" datacolumn="datacolumn">
  15. <Dataset id="innerdataset">
  16. <ColumnInfo>
  17. <Column id="codecolumn"/>
  18. <Column id="datacolumn"/>
  19. </ColumnInfo>
  20. <Rows>
  21. <Row>
  22. <Col id="codecolumn">code</Col>
  23. <Col id="datacolumn">코드</Col>
  24. </Row>
  25. <Row>
  26. <Col id="codecolumn">word</Col>
  27. <Col id="datacolumn">단어</Col>
  28. </Row>
  29. </Rows>
  30. </Dataset>
  31. </Combo>
  32. <Static text="검색어 :" position="absolute 16 52 102 69" id="caption4" class="search_name"/>
  33. <Button position="absolute 259 350 312 369" id="btn_CTerm" class="btn2" text="초기화" onclick="btn_CTerm_onclick"/>
  34. <Button position="absolute 315 350 379 369" id="btn_Tterm" class="btn2" text="용어추가" onclick="btn_Tterm_onclick"/>
  35. <Button position="absolute 1076 643 1132 665" id="btn_mophocncl" class="btn4" text="취소" onclick="btn_mophocncl_onclick"/>
  36. <Button position="absolute 1018 643 1074 665" id="btn_moph" class="btn4" text="등록" onclick="btn_moph_onclick"/>
  37. <Static text="M-Code" position="absolute 385 0 460 18" align="align:center middle;" id="caption3" class="tit_2"/>
  38. <Static text="검색어 :" position="absolute 568 55 654 72" id="caption5" class="search_name"/>
  39. <Shape position="absolute 385 44 757 74" id="roundrect3" type="roundrectangle"/>
  40. <Button position="absolute 698 49 754 71" id="btn_MophoSearch" class="btn1" text="조회" onclick="btn_MophoSearch_onclick"/>
  41. <Combo position="absolute 620 50 680 69" id="combo3" class="combo_search" enable="true" codecolumn="codecolumn" datacolumn="datacolumn">
  42. <Dataset id="innerdataset">
  43. <ColumnInfo>
  44. <Column id="codecolumn"/>
  45. <Column id="datacolumn"/>
  46. </ColumnInfo>
  47. <Rows>
  48. <Row>
  49. <Col id="codecolumn">code</Col>
  50. <Col id="datacolumn">코드</Col>
  51. </Row>
  52. <Row>
  53. <Col id="codecolumn">word</Col>
  54. <Col id="datacolumn">단어</Col>
  55. </Row>
  56. </Rows>
  57. </Dataset>
  58. </Combo>
  59. <Static text="검색어 :" position="absolute 392 52 473 69" id="caption6" class="search_name"/>
  60. <Button position="absolute 637 350 690 369" id="button1" class="btn2" text="초기화" onclick="button1_onclick"/>
  61. <Button position="absolute 693 350 757 369" id="button3" class="btn2" text="용어추가" onclick="button3_onclick"/>
  62. <Static text="선택 M-Code" position="absolute 385 354 498 371" align="align:center middle;" id="caption7" class="tit_2"/>
  63. <Shape position="absolute 385 370 757 376" linetype="horizontal" id="line1" class="line_10"/>
  64. <Button position="absolute 204 350 257 369" id="button8" class="btn2" text="행삭제" onclick="button8_onclick"/>
  65. <Button position="absolute 148 350 201 369" id="button9" class="btn2" taborder="35" text="행추가" onclick="button9_onclick"/>
  66. <Button position="absolute 583 350 636 369" id="button6" class="btn2" text="행삭제" onclick="button6_onclick"/>
  67. <Button position="absolute 527 350 580 369" id="button7" class="btn2" taborder="35" text="행추가" onclick="button7_onclick"/>
  68. <Grid position="absolute 760 375 1132 632" id="grd_selectdiag" binddataset="ds_param_selectdiaginfo_selectdiaglist">
  69. <Formats>
  70. <Format id="default">
  71. <Columns>
  72. <Column size="1"/>
  73. <Column size="100"/>
  74. <Column size="141"/>
  75. <Column size="87"/>
  76. </Columns>
  77. <Rows>
  78. <Row size="24" band="head"/>
  79. <Row size="24"/>
  80. </Rows>
  81. <Band id="head">
  82. <Cell text="diagcd"/>
  83. <Cell col="1" text="진단코드"/>
  84. <Cell col="2" text="영문명"/>
  85. <Cell col="3" text="한글명"/>
  86. </Band>
  87. <Band id="body">
  88. <Cell text="bind:diagcd"/>
  89. <Cell col="1" style="align:left top;padding:5 2 1 2;" text="bind:dispdiagcd" wordwrap="word"/>
  90. <Cell col="2" style="align:left top;padding:5 2 1 2;" text="bind:diagengnm" wordwrap="word"/>
  91. <Cell col="3" style="align:left top;padding:5 2 1 2;" text="bind:diaghngnm" wordwrap="word"/>
  92. </Band>
  93. </Format>
  94. </Formats>
  95. </Grid>
  96. <Grid position="absolute 385 75 757 345" id="grd_icdo3list" binddataset="ds_main_diagcdinfo_kcd4m" oncelldblclick="grd_icdo3list_oncelldblclick" selecttype="multirow" cellsizingtype="col">
  97. <Formats>
  98. <Format id="default">
  99. <Columns>
  100. <Column size="0"/>
  101. <Column size="84"/>
  102. <Column size="0"/>
  103. <Column size="138"/>
  104. <Column size="113"/>
  105. </Columns>
  106. <Rows>
  107. <Row size="24" band="head"/>
  108. <Row size="24"/>
  109. </Rows>
  110. <Band id="head">
  111. <Cell text="진단코드"/>
  112. <Cell col="1" text="형태학적 코드"/>
  113. <Cell col="2" text="일련번호"/>
  114. <Cell col="3" text="영문명"/>
  115. <Cell col="4" text="한글명"/>
  116. </Band>
  117. <Band id="body">
  118. <Cell/>
  119. <Cell col="1" style="align:left top;padding:5 2 1 2;" text="bind:morphlgccd" wordwrap="word"/>
  120. <Cell col="2" text="bind:kcd4mseqno"/>
  121. <Cell col="3" style="align:left top;padding:5 2 1 2;" text="bind:kcd4mengnm" wordwrap="word"/>
  122. <Cell col="4" style="align:left top;padding:5 2 1 2;" text="bind:kcd4mhngnm" wordwrap="word"/>
  123. </Band>
  124. </Format>
  125. </Formats>
  126. </Grid>
  127. <Edit position="absolute 465 50 608 69" id="ipt_mophosearch" class="input_search" autoselect="true" onkeydown="ipt_mophosearch_onkeydown"/>
  128. <Edit position="absolute 92 50 235 69" id="ipt_search" class="input_search" autoselect="true" onkeydown="ipt_search_onkeydown"/>
  129. <Grid position="absolute 761 75 1133 345" id="grd_diaglist" binddataset="ds_main_deptdiagcdlist_deptdiagcdinfo" oncelldblclick="grd_diaglist_oncelldblclick" selecttype="multirow" cellsizingtype="col">
  130. <Formats>
  131. <Format id="default">
  132. <Columns>
  133. <Column size="100"/>
  134. <Column size="153"/>
  135. <Column size="101"/>
  136. </Columns>
  137. <Rows>
  138. <Row size="24" band="head"/>
  139. <Row size="24"/>
  140. </Rows>
  141. <Band id="head">
  142. <Cell text="진단코드"/>
  143. <Cell col="1" text="영문명"/>
  144. <Cell col="2" text="한글명"/>
  145. </Band>
  146. <Band id="body">
  147. <Cell style="align:left top;padding:5 2 1 2;" text="bind:termcd" wordwrap="word"/>
  148. <Cell col="1" style="align:left top;padding:5 2 1 2;" text="bind:termengnm" wordwrap="word"/>
  149. <Cell col="2" style="align:left top;padding:5 2 1 2;" text="bind:termhngnm" wordwrap="word"/>
  150. </Band>
  151. </Format>
  152. </Formats>
  153. </Grid>
  154. <Grid position="absolute 385 375 757 632" id="grd_mophoinfo" binddataset="ds_param_mopho_mophoinfo">
  155. <Formats>
  156. <Format id="default">
  157. <Columns>
  158. <Column size="1"/>
  159. <Column size="100"/>
  160. <Column size="141"/>
  161. <Column size="87"/>
  162. <Column size="0"/>
  163. </Columns>
  164. <Rows>
  165. <Row size="24" band="head"/>
  166. <Row size="24"/>
  167. </Rows>
  168. <Band id="head">
  169. <Cell text="diagcd"/>
  170. <Cell col="1" text="형태학적 코드"/>
  171. <Cell col="2" text="영문명"/>
  172. <Cell col="3" text="한글명"/>
  173. <Cell col="4" text="일련번호"/>
  174. </Band>
  175. <Band id="body">
  176. <Cell text="bind:diagcd"/>
  177. <Cell col="1" style="align:left top;padding:5 2 1 2;" text="bind:dispdiagcd" wordwrap="word"/>
  178. <Cell col="2" style="align:left top;padding:5 2 1 2;" text="bind:diagengnm" wordwrap="word"/>
  179. <Cell col="3" style="align:left top;padding:5 2 1 2;" text="bind:diaghngnm" wordwrap="word"/>
  180. <Cell col="4" text="bind:seqno"/>
  181. </Band>
  182. </Format>
  183. </Formats>
  184. </Grid>
  185. <Grid position="absolute 8 375 380 632" id="grd_tophoinfo" binddataset="ds_param_topho_tophoinfo">
  186. <Formats>
  187. <Format id="default">
  188. <Columns>
  189. <Column size="0"/>
  190. <Column size="0"/>
  191. <Column size="82"/>
  192. <Column size="150"/>
  193. <Column size="111"/>
  194. </Columns>
  195. <Rows>
  196. <Row size="24" band="head"/>
  197. <Row size="24"/>
  198. </Rows>
  199. <Band id="head">
  200. <Cell text="진단코드"/>
  201. <Cell col="1" text="일련번호"/>
  202. <Cell col="2" text="원발장기코드"/>
  203. <Cell col="3" text="영문명"/>
  204. <Cell col="4" text="한글명"/>
  205. </Band>
  206. <Band id="body">
  207. <Cell text="bind:stat"/>
  208. <Cell col="1" text="bind:seqno"/>
  209. <Cell col="2" style="align:left top;padding:5 2 1 2;" text="bind:tophlgcd" wordwrap="word"/>
  210. <Cell col="3" style="align:left top;padding:5 2 1 2;" text="bind:engnm" wordwrap="word"/>
  211. <Cell col="4" style="align:left top;padding:5 2 1 2;" text="bind:hngnm" wordwrap="word"/>
  212. </Band>
  213. </Format>
  214. </Formats>
  215. </Grid>
  216. <Shape position="absolute 760 370 1132 376" linetype="horizontal" id="line5" class="line_10"/>
  217. <Static text="선택 ICD-10" position="absolute 760 354 873 372" align="align:center middle;" id="caption8" class="tit_2"/>
  218. <Button position="absolute 1012 350 1065 369" id="button2" class="btn2" text="초기화" onclick="button2_onclick"/>
  219. <Button position="absolute 1068 350 1132 369" id="button4" class="btn2" text="용어추가" onclick="button4_onclick"/>
  220. <Button position="absolute 958 350 1011 369" id="button5" class="btn2" text="행삭제" onclick="button5_onclick"/>
  221. <Button position="absolute 902 350 955 369" id="button10" class="btn2" taborder="35" text="행추가" onclick="button10_onclick"/>
  222. <Shape position="absolute 761 45 1133 75" id="roundrect2" type="roundrectangle"/>
  223. <Button position="absolute 1075 50 1131 72" id="btn_DiagSearch" class="btn1" text="조회" onclick="btn_DiagSearch_onclick"/>
  224. <Static text="ICD-10" position="absolute 761 1 831 20" align="align:center middle;" id="caption9" class="tit_2"/>
  225. <Combo position="absolute 997 51 1057 70" id="combo1" class="combo_search" enable="true" codecolumn="codecolumn" datacolumn="datacolumn">
  226. <Dataset id="innerdataset">
  227. <ColumnInfo>
  228. <Column id="codecolumn"/>
  229. <Column id="datacolumn"/>
  230. </ColumnInfo>
  231. <Rows>
  232. <Row>
  233. <Col id="codecolumn">code</Col>
  234. <Col id="datacolumn">코드</Col>
  235. </Row>
  236. <Row>
  237. <Col id="codecolumn">word</Col>
  238. <Col id="datacolumn">단어</Col>
  239. </Row>
  240. </Rows>
  241. </Dataset>
  242. </Combo>
  243. <Static text="검색어 :" position="absolute 768 52 849 69" id="caption10" class="search_name"/>
  244. <Edit position="absolute 842 51 985 70" id="input1" class="input_search" autoselect="true" onkeydown="input1_onkeydown"/>
  245. <Shape position="absolute 761 40 1133 46" linetype="horizontal" id="line6" class="line_10"/>
  246. <Grid position="absolute 10 75 382 345" id="grd_tophlglist" binddataset="ds_main_tophlginfo_tophlglist" selecttype="multirow" oncelldblclick="grd_tophlglist_oncelldblclick" cellsizingtype="col">
  247. <Formats>
  248. <Format id="default">
  249. <Columns>
  250. <Column size="0"/>
  251. <Column size="82"/>
  252. <Column size="0"/>
  253. <Column size="145"/>
  254. <Column size="121"/>
  255. </Columns>
  256. <Rows>
  257. <Row size="24" band="head"/>
  258. <Row size="24"/>
  259. </Rows>
  260. <Band id="head">
  261. <Cell text="진단코드"/>
  262. <Cell col="1" text="원발장기코드"/>
  263. <Cell col="2" text="일련번호"/>
  264. <Cell col="3" text="영문명"/>
  265. <Cell col="4" text="한글명"/>
  266. </Band>
  267. <Band id="body">
  268. <Cell text="bind:stat"/>
  269. <Cell col="1" style="align:left top;padding:5 2 1 2;" text="bind:tophlgcd" wordwrap="word"/>
  270. <Cell col="2" text="bind:seqno"/>
  271. <Cell col="3" style="align:left top;padding:5 2 1 2;" text="bind:engnm" wordwrap="word"/>
  272. <Cell col="4" style="align:left top;padding:5 2 1 2;" text="bind:hngnm" wordwrap="word"/>
  273. </Band>
  274. </Format>
  275. </Formats>
  276. </Grid>
  277. <Button id="btn_tophology" taborder="36" text="Tophology" position="absolute 8 19 108 39" onclick="btn_tophology_onclick"/>
  278. <Button id="btn_morphology" taborder="37" text="Morphology" position="absolute 384 19 484 39"/>
  279. <Button id="button12" taborder="38" text="진단용어" position="absolute 760 19 860 39" onclick="button12_onclick"/>
  280. </Layout>
  281. </Layouts>
  282. <Objects>
  283. <Dataset id="ds_main_tophlginfo_tophlglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  284. <Dataset id="ds_main_diagcdinfo_kcd4m" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  285. <Dataset id="ds_main_deptdiagcdlist_deptdiagcdinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  286. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cond_oncolumnchanged">
  287. <ColumnInfo>
  288. <Column id="diagflag" type="STRING" size="256"/>
  289. <Column id="tophodata" type="STRING" size="256"/>
  290. <Column id="tophosrchflag" type="STRING" size="256"/>
  291. <Column id="mophodata" type="STRING" size="256"/>
  292. <Column id="mophosrchflag" type="STRING" size="256"/>
  293. <Column id="reqdata" type="STRING" size="256"/>
  294. <Column id="srchflag" type="STRING" size="256"/>
  295. </ColumnInfo>
  296. <Rows>
  297. <Row>
  298. <Col id="diagflag">C</Col>
  299. <Col id="tophodata"/>
  300. <Col id="tophosrchflag">code</Col>
  301. <Col id="mophodata"/>
  302. <Col id="mophosrchflag">code</Col>
  303. <Col id="reqdata"/>
  304. <Col id="srchflag">code</Col>
  305. </Row>
  306. </Rows>
  307. </Dataset>
  308. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  309. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  310. <Dataset id="ds_hidden_diagcase_icd10indxcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  311. <Dataset id="ds_param_mopho_mophoinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  312. <ColumnInfo>
  313. <Column id="diagcd" type="STRING" size="256"/>
  314. <Column id="dispdiagcd" type="STRING" size="256"/>
  315. <Column id="diagengnm" type="STRING" size="256"/>
  316. <Column id="diaghngnm" type="STRING" size="256"/>
  317. <Column id="seqno" type="STRING" size="256"/>
  318. </ColumnInfo>
  319. </Dataset>
  320. <Dataset id="ds_param_selectdiaginfo_selectdiaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  321. <ColumnInfo>
  322. <Column id="diagcd" type="STRING" size="256"/>
  323. <Column id="dispdiagcd" type="STRING" size="256"/>
  324. <Column id="diagengnm" type="STRING" size="256"/>
  325. <Column id="diaghngnm" type="STRING" size="256"/>
  326. </ColumnInfo>
  327. </Dataset>
  328. <Dataset id="ds_param_topho_tophoinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  329. <ColumnInfo>
  330. <Column id="stat" type="STRING" size="256"/>
  331. <Column id="seqno" type="STRING" size="256"/>
  332. <Column id="tophlgcd" type="STRING" size="256"/>
  333. <Column id="engnm" type="STRING" size="256"/>
  334. <Column id="hngnm" type="STRING" size="256"/>
  335. </ColumnInfo>
  336. </Dataset>
  337. <Dataset id="ds_temp_dutplcecd_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  338. <Dataset id="ds_hidden_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  339. <Dataset id="ds_hidden_diagcase_" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  340. <Dataset id="ds_hidden_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  341. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  342. <Dataset id="ds_init_hardcd5940" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  343. <Dataset id="ds_temp_diaginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  344. <Dataset id="ds_init_hardcd5940_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  345. </Objects>
  346. <Bind>
  347. <BindItem id="item0" compid="ipt_search" propid="value" datasetid="ds_main_cond" columnid="tophodata"/>
  348. <BindItem id="item1" compid="combo2" propid="value" datasetid="ds_main_cond" columnid="tophosrchflag"/>
  349. <BindItem id="item2" compid="ipt_mophosearch" propid="value" datasetid="ds_main_cond" columnid="mophodata"/>
  350. <BindItem id="item3" compid="combo3" propid="value" datasetid="ds_main_cond" columnid="mophosrchflag"/>
  351. <BindItem id="item4" compid="input1" propid="value" datasetid="ds_main_cond" columnid="reqdata"/>
  352. <BindItem id="item5" compid="combo1" propid="value" datasetid="ds_main_cond" columnid="srchflag"/>
  353. </Bind>
  354. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  355. * System Name :
  356. * Job Name :
  357. * Creator :
  358. * Make Date : 2015-05-01
  359. * Description :
  360. *---------------------------------------------------------------------------------------
  361. * Modify Date Modifier Modify Description
  362. *---------------------------------------------------------------------------------------
  363. * 2015-05-01 Live Converter TF->XP
  364. *
  365. *---------------------------------------------------------------------------------------
  366. ****************************************************************************************/
  367. include "com_commonxp::comm_main.xjs";
  368. include "emr_prcpmngtxp::MMOCommon.xjs";
  369. include "emr_termmngtxp::SPMRT01700.xjs";
  370. var arErrorCode = new HashArray();
  371. function SPMRT01700_oninit(obj:Form, e:InitEventInfo)
  372. {
  373. frmf_initForm(obj); //폼 초기화
  374. grdf_initGrid(grd_diaglist);
  375. grdf_setToolTipBind(grd_tophlglist);
  376. grdf_setToolTipBind(grd_icdo3list);
  377. grdf_setToolTipBind(grd_diaglist);
  378. }
  379. function SPMRT01700_onload(obj:Form, e:LoadEventInfo)
  380. {
  381. fInitialize_SPMRT01700();
  382. }
  383. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  384. {
  385. ds_hidden_search.clearData();
  386. dsf_makeValue(ds_hidden_search, "flag", "string", "1");
  387. fDiagSearch();
  388. }
  389. function btn_CTerm_onclick(obj:Button, e:ClickEventInfo)
  390. {
  391. fCleanTerm("T");
  392. }
  393. function btn_Tterm_onclick(obj:Button, e:ClickEventInfo)
  394. {
  395. fAddBtnTerm("grd_tophlglist");
  396. }
  397. function btn_mophocncl_onclick(obj:Button, e:ClickEventInfo)
  398. {
  399. if(frmf_checkOpener()){
  400. opener.frmf_setParameter("SPMRT01700_FLAG", "");
  401. opener.frmf_setParameter("SPMRT01700_SEARCHDATA", "");
  402. }else{
  403. sysf_messageBox("상위 화면이 변경되어 데이터를 전달", "E001");
  404. }
  405. this.close();
  406. }
  407. function btn_moph_onclick(obj:Button, e:ClickEventInfo)
  408. {
  409. fSendTermCd();
  410. }
  411. function btn_MophoSearch_onclick(obj:Button, e:ClickEventInfo)
  412. {
  413. ds_hidden_search.clearData();
  414. dsf_makeValue(ds_hidden_search, "flag", "string", "2");
  415. fDiagSearch();
  416. }
  417. function button1_onclick(obj:Button, e:ClickEventInfo)
  418. {
  419. fCleanTerm("M");
  420. }
  421. function button3_onclick(obj:Button, e:ClickEventInfo)
  422. {
  423. fAddBtnTerm("grd_icdo3list");
  424. }
  425. function button8_onclick(obj:Button, e:ClickEventInfo)
  426. {
  427. fDelRow_Termlist("grd_tophoinfo");
  428. }
  429. function button9_onclick(obj:Button, e:ClickEventInfo)
  430. {
  431. fAddRow_Termlist("grd_tophoinfo");
  432. }
  433. function button6_onclick(obj:Button, e:ClickEventInfo)
  434. {
  435. fDelRow_Termlist("grd_mophoinfo");
  436. }
  437. function button7_onclick(obj:Button, e:ClickEventInfo)
  438. {
  439. fAddRow_Termlist("grd_mophoinfo");
  440. }
  441. function grd_icdo3list_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  442. {
  443. var mRow = ds_main_diagcdinfo_kcd4m.rowposition;
  444. if(mRow < 0){
  445. return;
  446. }
  447. fAddMophoHist(mRow);
  448. }
  449. function btn_tophology_onclick(obj:Button, e:ClickEventInfo)
  450. {
  451. ds_hidden_search.clearData();
  452. dsf_makeValue(ds_hidden_search, "flag", "string", "1");
  453. }
  454. function ds_main_cond_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  455. {
  456. if(e.columnid == "mophodata"){
  457. ds_hidden_search.clearData();
  458. dsf_makeValue(ds_hidden_search, "flag", "string", "2");
  459. btn_MophoSearch_onclick();
  460. }else if(e.columnid == "tophodata"){
  461. ds_hidden_search.clearData();
  462. dsf_makeValue(ds_hidden_search, "flag", "string", "1");
  463. btn_search_onclick();
  464. }else if(e.columnid == "reqdata"){
  465. ds_hidden_search.clearData();
  466. dsf_makeValue(ds_hidden_search, "flag", "string", "3");
  467. btn_DiagSearch_onclick();
  468. }
  469. }
  470. function grd_diaglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  471. {
  472. var dgRow = ds_main_deptdiagcdlist_deptdiagcdinfo.rowposition;
  473. if(dgRow < 0){
  474. return;
  475. }
  476. fAddDiagHist(dgRow);
  477. }
  478. function button2_onclick(obj:Button, e:ClickEventInfo)
  479. {
  480. fCleanTerm("D");
  481. }
  482. function button4_onclick(obj:Button, e:ClickEventInfo)
  483. {
  484. fAddBtnTerm("grd_diaglist");
  485. }
  486. function button5_onclick(obj:Button, e:ClickEventInfo)
  487. {
  488. fDelRow_Termlist("grd_selectdiag");
  489. }
  490. function button10_onclick(obj:Button, e:ClickEventInfo)
  491. {
  492. fAddRow_Termlist("grd_selectdiag");
  493. }
  494. function btn_DiagSearch_onclick(obj:Button, e:ClickEventInfo)
  495. {
  496. ds_hidden_search.clearData();
  497. dsf_makeValue(ds_hidden_search, "flag", "string", "3");
  498. fDiagSearch();
  499. }
  500. function button12_onclick(obj:Button, e:ClickEventInfo)
  501. {
  502. ds_hidden_search.clearData();
  503. dsf_makeValue(ds_hidden_search, "flag", "string", "2");
  504. ds_main_cond.setColumn(0, "reqdata","");
  505. //model.toggle("mopho");
  506. }
  507. function grd_tophlglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  508. {
  509. toRow = ds_main_tophlginfo_tophlglist.rowposition;
  510. if(toRow < 0){
  511. return;
  512. }
  513. fAddTophoHist(toRow);
  514. //grd_tophlglist.colDisabled(22) = true;
  515. //grd_tophlglist.colDisabled(24) = true;
  516. }
  517. function ipt_search_onkeydown(obj:Edit, e:KeyEventInfo)
  518. {
  519. if (e.keycode == 13) {
  520. obj.updateToDataset();
  521. btn_search.click();
  522. }
  523. }
  524. function ipt_mophosearch_onkeydown(obj:Edit, e:KeyEventInfo)
  525. {
  526. if (e.keycode == 13) {
  527. obj.updateToDataset();
  528. btn_MophoSearch.click();
  529. }
  530. }
  531. function input1_onkeydown(obj:Edit, e:KeyEventInfo)
  532. {
  533. if (e.keycode == 13) {
  534. obj.updateToDataset();
  535. btn_DiagSearch.click();
  536. }
  537. }
  538. ]]></Script>
  539. </Form>
  540. </FDL>