SMMNR01200_ICNP 용어관리.xfdl 50 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNR01200" position="absolute 0 0 1205 805" titletext="ICNP 용어 관리" oninit="SMMNR01200_oninit" onload="SMMNR01200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="swt_icnpsrch" taborder="22" tabindex="0" position="absolute 0 29 1195 509" anchor="all" onchanged="swt_icnpsrch_onchanged">
  8. <Tabpages>
  9. <Tabpage id="smntTypeSrch" text="ICNP Semantic Type검색">
  10. <Layouts>
  11. <Layout>
  12. <Static id="caption4" text="ICNP Semantic Type" class="tit_2" position="absolute 0 9 174 30"/>
  13. <Shape id="line17" linetype="horizontal" class="line_10" position="absolute 0 25 355 31"/>
  14. <Static id="caption42" text="ICNP Semantic Type Tree Info" class="tit_2" position="absolute 363 9 585 30"/>
  15. <Shape id="line18" linetype="horizontal" class="line_10" position="absolute 363 25 1187 31"/>
  16. <Grid id="trv_icnptree1" taborder="3" useinputpanel="false" treeusecheckbox="false" position="absolute 363 30 1187 435" autofit="col" autoenter="select" cellsizingtype="col" binddataset="ds_main_icnptreeinfo_icnptreelist" treeuseline="false" oncellclick="swt_icnpsrch_smntTypeSrch_trv_icnptree1_oncellclick" cantreestatuschange="swt_icnpsrch_smntTypeSrch_trv_icnptree1_cantreestatuschange">
  17. <Formats>
  18. <Format id="default">
  19. <Columns>
  20. <Column size="689"/>
  21. </Columns>
  22. <Rows>
  23. <Row size="24"/>
  24. </Rows>
  25. <Band id="body">
  26. <Cell displaytype="tree" edittype="tree" text="bind:hngnm" treestartlevel="1" treelevel="bind:levl"/>
  27. </Band>
  28. </Format>
  29. </Formats>
  30. </Grid>
  31. <Grid id="grd_smnttype" taborder="4" binddataset="ds_main_smnttypeinfo_smnttypelist" useinputpanel="false" position="absolute 0 30 355 435" autoenter="select" autofittype="col" cellsizingtype="col" oncellclick="swt_icnpsrch_smntTypeSrch_grd_smnttype_oncellclick">
  32. <Formats>
  33. <Format id="default">
  34. <Columns>
  35. <Column size="23"/>
  36. <Column size="100"/>
  37. <Column size="112"/>
  38. <Column size="91"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. </Columns>
  42. <Rows>
  43. <Row size="24" band="head"/>
  44. <Row size="24"/>
  45. </Rows>
  46. <Band id="head">
  47. <Cell/>
  48. <Cell col="1" text="한글명"/>
  49. <Cell col="2" text="영문명"/>
  50. <Cell col="3" text="등록일자"/>
  51. <Cell col="4" text="semantic type cd"/>
  52. <Cell col="5" text="종료일자"/>
  53. </Band>
  54. <Band id="body">
  55. <Cell celltype="head" expr="currow+1"/>
  56. <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:hngnm"/>
  57. <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:engnm"/>
  58. <Cell col="3" displaytype="date" style="align:left middle;padding:0 0 0 3;" text="bind:fstrgstdt" calendardisplaynulltype="nulltext"/>
  59. <Cell col="4" text="bind:smnttypecd"/>
  60. <Cell col="5" text="bind:todd"/>
  61. </Band>
  62. </Format>
  63. </Formats>
  64. </Grid>
  65. </Layout>
  66. </Layouts>
  67. </Tabpage>
  68. <Tabpage id="icnpcdSrch" text="ICNP Code 조회">
  69. <Layouts>
  70. <Layout>
  71. <Div id="grp_sea" taborder="4" position="absolute 0 10 1195 50" anchor="left top right" class="div_SA2">
  72. <Layouts>
  73. <Layout>
  74. <Static id="caption54" text="검색용어:" class="search_name" position="absolute 11 11 95 28"/>
  75. <Shape id="line30" linetype="vertical" class="line_4" position="absolute 1094 9 1100 31" anchor="top right"/>
  76. <Static id="caption55" text="구분:" class="search_name" position="absolute 241 11 281 28"/>
  77. <Radio id="radio2" taborder="6" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 292 10 482 30">
  78. <Dataset id="innerdataset">
  79. <ColumnInfo>
  80. <Column id="codecolumn"/>
  81. <Column id="datacolumn"/>
  82. </ColumnInfo>
  83. <Rows>
  84. <Row>
  85. <Col id="codecolumn">%</Col>
  86. <Col id="datacolumn">모두</Col>
  87. </Row>
  88. <Row>
  89. <Col id="codecolumn">1</Col>
  90. <Col id="datacolumn">국가표준</Col>
  91. </Row>
  92. <Row>
  93. <Col id="codecolumn">2</Col>
  94. <Col id="datacolumn">CMC표준</Col>
  95. </Row>
  96. </Rows>
  97. </Dataset>
  98. </Radio>
  99. <Static id="caption56" text="상태:" class="search_name" position="absolute 496 11 539 28"/>
  100. <Radio id="radio3" taborder="7" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 549 10 704 30">
  101. <Dataset id="innerdataset">
  102. <ColumnInfo>
  103. <Column id="codecolumn"/>
  104. <Column id="datacolumn"/>
  105. </ColumnInfo>
  106. <Rows>
  107. <Row>
  108. <Col id="codecolumn">%</Col>
  109. <Col id="datacolumn">전체</Col>
  110. </Row>
  111. <Row>
  112. <Col id="codecolumn">Y</Col>
  113. <Col id="datacolumn">Valid</Col>
  114. </Row>
  115. <Row>
  116. <Col id="codecolumn">N</Col>
  117. <Col id="datacolumn">InValid</Col>
  118. </Row>
  119. </Rows>
  120. </Dataset>
  121. </Radio>
  122. <Static id="caption57" text="검색범위:" class="search_name" position="absolute 716 12 786 29"/>
  123. <Radio id="radio4" taborder="8" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 791 10 1076 30">
  124. <Dataset id="innerdataset">
  125. <ColumnInfo>
  126. <Column id="codecolumn"/>
  127. <Column id="datacolumn"/>
  128. </ColumnInfo>
  129. <Rows>
  130. <Row>
  131. <Col id="codecolumn">1</Col>
  132. <Col id="datacolumn">Concept ID</Col>
  133. </Row>
  134. <Row>
  135. <Col id="codecolumn">2</Col>
  136. <Col id="datacolumn">한글검색</Col>
  137. </Row>
  138. <Row>
  139. <Col id="codecolumn">3</Col>
  140. <Col id="datacolumn">영문검색</Col>
  141. </Row>
  142. <Row>
  143. <Col id="codecolumn">4</Col>
  144. <Col id="datacolumn">Definition</Col>
  145. </Row>
  146. </Rows>
  147. </Dataset>
  148. </Radio>
  149. <Edit id="ipt_srchtermnm" taborder="9" class="input_s_essential" position="absolute 95 10 225 29" autoselect="true" autoskip="true" onkeyup="swt_icnpsrch_icnpcdSrch_grp_sea_ipt_srchtermnm_onkeyup"/>
  150. <Button id="btn_srch" taborder="10" text="조회" class="btn1" position="absolute 1113 9 1169 31" anchor="top right" onclick="swt_icnpsrch_icnpcdSrch_grp_sea_btn_srch_onclick"/>
  151. </Layout>
  152. </Layouts>
  153. </Div>
  154. <Static id="caption58" text="ICNP Code" class="tit_2" position="absolute 0 58 174 80"/>
  155. <Shape id="line31" linetype="horizontal" class="line_10" position="absolute 0 74 1195 80" anchor="left top right"/>
  156. <Grid id="trv_icnptree2" taborder="5" useinputpanel="false" treeusecheckbox="false" position="absolute 763 79 1195 439" autofit="col" autoenter="select" cellsizingtype="col" oncellclick="swt_icnpsrch_icnpcdSrch_trv_icnptree2_oncellclick" binddataset="ds_main_icnptreeinfo_icnptreelist" treeuseline="false" cantreestatuschange="swt_icnpsrch_icnpcdSrch_trv_icnptree2_cantreestatuschange" selecttype="multirow">
  157. <Formats>
  158. <Format id="default">
  159. <Columns>
  160. <Column size="0"/>
  161. <Column size="402"/>
  162. </Columns>
  163. <Rows>
  164. <Row size="24"/>
  165. </Rows>
  166. <Band id="body">
  167. <Cell/>
  168. <Cell col="1" displaytype="tree" edittype="tree" text="bind:hngnm" treestartlevel="1" treelevel="bind:levl"/>
  169. </Band>
  170. </Format>
  171. </Formats>
  172. </Grid>
  173. <Grid id="grd_icnp" class="datagrid2" taborder="6" binddataset="ds_main_icnpsrchinfo_icnplist" useinputpanel="false" position="absolute 0 79 756 438" autoenter="select" autofittype="col" cellsizingtype="col" oncellclick="swt_icnpsrch_icnpcdSrch_grd_icnp_oncellclick">
  174. <Formats>
  175. <Format id="default">
  176. <Columns>
  177. <Column size="28" band="left"/>
  178. <Column size="98"/>
  179. <Column size="0"/>
  180. <Column size="58"/>
  181. <Column size="64"/>
  182. <Column size="182"/>
  183. <Column size="181"/>
  184. <Column size="46"/>
  185. <Column size="0"/>
  186. <Column size="59"/>
  187. <Column size="38"/>
  188. <Column size="0"/>
  189. <Column size="0"/>
  190. </Columns>
  191. <Rows>
  192. <Row size="26" band="head"/>
  193. <Row size="24"/>
  194. </Rows>
  195. <Band id="head">
  196. <Cell/>
  197. <Cell col="1" text="SemanticType"/>
  198. <Cell col="2" text="smnttypecd"/>
  199. <Cell col="3" text="레벨"/>
  200. <Cell col="4" text="유형"/>
  201. <Cell col="5" text="한글명"/>
  202. <Cell col="6" text="영문명"/>
  203. <Cell col="7" text="동의어유무" wordwrap="word"/>
  204. <Cell col="8" text="fstrgstrid"/>
  205. <Cell col="9" text="등록자"/>
  206. <Cell col="10" text="상태"/>
  207. <Cell col="11" text="localcd"/>
  208. <Cell col="12" text="smnttypecd"/>
  209. </Band>
  210. <Band id="body">
  211. <Cell celltype="head" expr="currow+1"/>
  212. <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:smnttypenm"/>
  213. <Cell col="2" text="bind:smnttypecd"/>
  214. <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:levl"/>
  215. <Cell col="4" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:cdflag" combodataset="ds_cmb_cdflag" combocodecol="value" combodatacol="label"/>
  216. <Cell col="5" style="align:left middle;padding:0 0 0 3;" text="bind:hngnm"/>
  217. <Cell col="6" style="align:left middle;padding:0 0 0 3;" text="bind:engnm"/>
  218. <Cell col="7" text="bind:synomyn"/>
  219. <Cell col="8" text="bind:fstrgstrid"/>
  220. <Cell col="9" text="bind:fstrgstrnm"/>
  221. <Cell col="10" text="bind:valiyn"/>
  222. <Cell col="11" text="bind:localcd"/>
  223. <Cell col="12" text="bind:localcd"/>
  224. </Band>
  225. </Format>
  226. </Formats>
  227. </Grid>
  228. </Layout>
  229. </Layouts>
  230. </Tabpage>
  231. </Tabpages>
  232. </Tab>
  233. <Static id="caption6" text="ICNP 용어관리" class="tit_1" position="absolute 0 0 173 25"/>
  234. <Button id="btn_select" taborder="2" text="선택" class="btn2" position="absolute 403 503 445 522" anchor="left bottom" onclick="btn_select_onclick"/>
  235. <Static id="caption43" text="ICNP 코드상세정보" class="tit_2" position="absolute 0 506 166 527" anchor="left bottom"/>
  236. <Static id="caption44" text="코드구분" class="cell_1" position="absolute 0 527 130 550" anchor="left bottom"/>
  237. <Shape id="line19" linetype="horizontal" class="line_10" position="absolute 0 522 535 528" anchor="left bottom"/>
  238. <Static id="caption45" text="Concept Name(한글)" class="cell_1" position="absolute 0 579 130 602" anchor="left bottom"/>
  239. <Static id="caption46" text="Concept ID" class="cell_1" position="absolute 0 553 130 576" anchor="left bottom"/>
  240. <Static id="caption47" text="Concept Name(영문)" class="cell_1" position="absolute 0 605 130 628" anchor="left bottom"/>
  241. <Static id="caption48" text="Definition" class="cell_1" position="absolute 0 631 130 685" anchor="left bottom"/>
  242. <Static id="caption49" text="단계(Level1)" class="cell_1" position="absolute 0 688 130 711" anchor="left bottom"/>
  243. <Static id="caption50" text="Concept 생성일" class="cell_1" position="absolute 0 714 130 737" anchor="left bottom"/>
  244. <Static id="caption51" text="위치정보(한)" class="cell_1" position="absolute 0 740 130 763" anchor="left bottom"/>
  245. <Static id="caption52" text="위치정보(영)" class="cell_1" position="absolute 0 766 130 789" anchor="left bottom"/>
  246. <Static id="caption53" text="ICNP 동의어 정보" class="tit_2" position="absolute 540 506 714 527" anchor="left bottom"/>
  247. <Shape id="line20" linetype="horizontal" class="line_10" position="absolute 540 522 1195 528" anchor="left right bottom"/>
  248. <Shape id="line21" linetype="horizontal" class="line_2" position="absolute 0 549 535 555" anchor="left bottom"/>
  249. <Shape id="line22" linetype="horizontal" class="line_2" position="absolute 0 575 535 581" anchor="left bottom"/>
  250. <Shape id="line23" linetype="horizontal" class="line_2" position="absolute 0 601 535 607" anchor="left bottom"/>
  251. <Shape id="line24" linetype="horizontal" class="line_2" position="absolute 0 627 535 633" anchor="left bottom"/>
  252. <Shape id="line25" linetype="horizontal" class="line_2" position="absolute 0 684 535 690" anchor="left bottom"/>
  253. <Shape id="line26" linetype="horizontal" class="line_2" position="absolute 0 710 535 716" anchor="left bottom"/>
  254. <Shape id="line27" linetype="horizontal" class="line_2" position="absolute 0 736 535 742" anchor="left bottom"/>
  255. <Shape id="line28" linetype="horizontal" class="line_2" position="absolute 0 762 535 768" anchor="left bottom"/>
  256. <Shape id="line29" linetype="horizontal" class="line_3" position="absolute 0 788 535 794" anchor="left bottom"/>
  257. <Static id="caption59" text="Semantic Type" class="cell_1" position="absolute 285 527 415 550" anchor="left bottom"/>
  258. <Static id="caption60" text="Source of data" class="cell_1" position="absolute 225 688 325 711" anchor="left bottom"/>
  259. <Static id="caption61" text="Concept 만료일" class="cell_1" position="absolute 225 714 325 737" anchor="left bottom"/>
  260. <Static id="caption62" text="Status" class="cell_1" position="absolute 416 714 466 737" anchor="left bottom"/>
  261. <Button id="btn_addicnp" taborder="3" text="추가" class="btn2" position="absolute 448 503 490 522" anchor="left bottom" onclick="btn_addicnp_onclick"/>
  262. <Button id="btn_updticnp" taborder="4" text="수정" class="btn2" position="absolute 493 503 535 522" anchor="left bottom" onclick="btn_updticnp_onclick"/>
  263. <Button id="btn_addsynom" taborder="5" text="추가" class="btn2" position="absolute 1107 503 1149 522" anchor="right bottom" onclick="btn_addsynom_onclick"/>
  264. <Button id="btn_updtsynom" taborder="6" text="수정" class="btn2" position="absolute 1152 503 1194 522" anchor="right bottom" onclick="btn_updtsynom_onclick"/>
  265. <Radio id="rdo_valiyn" taborder="7" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 690 504 845 524" anchor="left bottom" onitemchanged="rdo_valiyn_onitemchanged">
  266. <Dataset id="innerdataset">
  267. <ColumnInfo>
  268. <Column id="codecolumn"/>
  269. <Column id="datacolumn"/>
  270. </ColumnInfo>
  271. <Rows>
  272. <Row>
  273. <Col id="codecolumn">%</Col>
  274. <Col id="datacolumn">전체</Col>
  275. </Row>
  276. <Row>
  277. <Col id="codecolumn">Y</Col>
  278. <Col id="datacolumn">Valid</Col>
  279. </Row>
  280. <Row>
  281. <Col id="codecolumn">N</Col>
  282. <Col id="datacolumn">InValid</Col>
  283. </Row>
  284. </Rows>
  285. </Dataset>
  286. </Radio>
  287. <Radio id="rdo_cdflag" taborder="8" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 132 528 282 548" anchor="left bottom">
  288. <Dataset id="innerdataset">
  289. <ColumnInfo>
  290. <Column id="codecolumn"/>
  291. <Column id="datacolumn"/>
  292. </ColumnInfo>
  293. <Rows>
  294. <Row>
  295. <Col id="codecolumn">1</Col>
  296. <Col id="datacolumn">국가 표준</Col>
  297. </Row>
  298. <Row>
  299. <Col id="codecolumn">2</Col>
  300. <Col id="datacolumn">CMC 표준</Col>
  301. </Row>
  302. </Rows>
  303. </Dataset>
  304. </Radio>
  305. <Edit id="opt_smnttype" taborder="9" readonly="true" position="absolute 418 529 533 548" autoselect="true" autoskip="true" anchor="left bottom" class="output"/>
  306. <Edit id="opt_cnptid" taborder="10" readonly="true" position="absolute 133 556 533 575" autoselect="true" autoskip="true" anchor="left bottom" class="output"/>
  307. <Edit id="opt_hannm" taborder="11" readonly="true" position="absolute 133 582 533 601" autoselect="true" autoskip="true" anchor="left bottom" class="output"/>
  308. <Edit id="opt_engnm" taborder="12" readonly="true" position="absolute 133 608 533 627" autoselect="true" autoskip="true" anchor="left bottom" class="output"/>
  309. <Edit id="opt_levl" taborder="13" readonly="true" position="absolute 133 690 222 709" autoselect="true" autoskip="true" anchor="left bottom" class="output"/>
  310. <Edit id="opt_dataofsrc" taborder="14" readonly="true" position="absolute 329 690 533 709" anchor="left bottom" class="output"/>
  311. <Combo id="cmb_valiyn" taborder="15" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 468 716 533 735" anchor="left bottom">
  312. <Dataset id="innerdataset">
  313. <ColumnInfo>
  314. <Column id="codecolumn"/>
  315. <Column id="datacolumn"/>
  316. </ColumnInfo>
  317. <Rows>
  318. <Row>
  319. <Col id="codecolumn">Y</Col>
  320. <Col id="datacolumn">Valid</Col>
  321. </Row>
  322. <Row>
  323. <Col id="codecolumn">N</Col>
  324. <Col id="datacolumn">InValid</Col>
  325. </Row>
  326. </Rows>
  327. </Dataset>
  328. </Combo>
  329. <Edit id="opt_engposinfo" taborder="16" readonly="true" position="absolute 133 768 533 787" anchor="left bottom" class="output"/>
  330. <Edit id="opt_hngposinfo" taborder="17" readonly="true" position="absolute 133 741 533 760" anchor="left bottom" class="output"/>
  331. <MaskEdit id="opt_fromdd" taborder="18" readonly="true" mask="####-##-##" position="absolute 133 716 222 735" maskchar=" " type="string" trimtype="both" style="align:center middle;" anchor="left bottom"/>
  332. <MaskEdit id="opt_todd" taborder="19" readonly="true" mask="####-##-##" position="absolute 328 716 413 735" maskchar=" " type="string" trimtype="both" style="align:center middle;" anchor="left bottom"/>
  333. <Grid id="grd_icnpsynom" taborder="20" binddataset="ds_main_icnpmngt_synominfo_synomlist" useinputpanel="false" position="absolute 540 527 1194 794" autoenter="select" autofittype="col" cellsizingtype="col" anchor="left right bottom">
  334. <Formats>
  335. <Format id="default">
  336. <Columns>
  337. <Column size="22"/>
  338. <Column size="59"/>
  339. <Column size="89"/>
  340. <Column size="199"/>
  341. <Column size="49"/>
  342. <Column size="80"/>
  343. <Column size="80"/>
  344. <Column size="36"/>
  345. <Column size="38"/>
  346. <Column size="0"/>
  347. <Column size="0"/>
  348. </Columns>
  349. <Rows>
  350. <Row size="24" band="head"/>
  351. <Row size="24"/>
  352. </Rows>
  353. <Band id="head">
  354. <Cell/>
  355. <Cell col="1" text="구분"/>
  356. <Cell col="2" text="동의어 Name"/>
  357. <Cell col="3" text="동의어 ID"/>
  358. <Cell col="4" text="등록자"/>
  359. <Cell col="5" text="생성일"/>
  360. <Cell col="6" text="만료일"/>
  361. <Cell col="7" text="상태"/>
  362. <Cell col="8" text="약어"/>
  363. <Cell col="9" text="fstrgstrid"/>
  364. <Cell col="10" text="localcd"/>
  365. </Band>
  366. <Band id="body">
  367. <Cell celltype="head" expr="currow+1"/>
  368. <Cell col="1" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:cdflag" combodataset="ds_cmb_cdflag" combocodecol="value" combodatacol="label"/>
  369. <Cell col="2" text="bind:hngnm"/>
  370. <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:cnptid"/>
  371. <Cell col="4" text="bind:fstrgstrnm"/>
  372. <Cell col="5" displaytype="date" text="bind:fromdd" calendardisplaynulltype="nulltext"/>
  373. <Cell col="6" displaytype="date" text="bind:todd" calendardisplaynulltype="nulltext"/>
  374. <Cell col="7" text="bind:stat"/>
  375. <Cell col="8" text="bind:abbryn"/>
  376. <Cell col="9" text="bind:fstrgstrid"/>
  377. <Cell col="10" text="bind:localcd"/>
  378. </Band>
  379. </Format>
  380. <Format id="format_copy"/>
  381. </Formats>
  382. </Grid>
  383. <TextArea id="tar_definecnts" taborder="21" position="absolute 133 632 533 684" autoselect="true" autoskip="true" wordwrap="word" anchor="left bottom"/>
  384. </Layout>
  385. </Layouts>
  386. <Objects>
  387. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  388. <ColumnInfo>
  389. <Column id="termnm" type="STRING" size="256"/>
  390. <Column id="codeflag" type="STRING" size="256"/>
  391. <Column id="valiyn" type="STRING" size="256"/>
  392. <Column id="srchscop" type="STRING" size="256"/>
  393. <Column id="synomvaliyn" type="STRING" size="256"/>
  394. </ColumnInfo>
  395. <Rows>
  396. <Row>
  397. <Col id="termnm"/>
  398. <Col id="codeflag"/>
  399. <Col id="valiyn"/>
  400. <Col id="srchscop"/>
  401. <Col id="synomvaliyn"/>
  402. </Row>
  403. </Rows>
  404. </Dataset>
  405. <Dataset id="ds_main_icnpsrchinfo_icnplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  406. <ColumnInfo>
  407. <Column id="smnttypenm" type="STRING" size="256" sumtext="Semantic Type명"/>
  408. <Column id="smnttypecd" type="STRING" size="256" sumtext="Semantic Type Code"/>
  409. <Column id="levl" type="STRING" size="256" sumtext="레벨"/>
  410. <Column id="cdflag" type="STRING" size="256" sumtext="구분"/>
  411. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  412. <Column id="engnm" type="STRING" size="256" sumtext="영문명"/>
  413. <Column id="synomyn" type="STRING" size="256" sumtext="동의어여부"/>
  414. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  415. <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자명"/>
  416. <Column id="valiyn" type="STRING" size="256" sumtext="유효여부"/>
  417. <Column id="localcd" type="STRING" size="256" sumtext="로컬코드"/>
  418. </ColumnInfo>
  419. </Dataset>
  420. <Dataset id="ds_cmb_cdflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  421. <ColumnInfo>
  422. <Column id="label" type="STRING" size="256"/>
  423. <Column id="value" type="STRING" size="256"/>
  424. </ColumnInfo>
  425. <Rows>
  426. <Row>
  427. <Col id="label">국가표준</Col>
  428. <Col id="value">1</Col>
  429. </Row>
  430. <Row>
  431. <Col id="label">CMC표준</Col>
  432. <Col id="value">2</Col>
  433. </Row>
  434. </Rows>
  435. </Dataset>
  436. <Dataset id="ds_main_icnpmngt_icnpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  437. <ColumnInfo>
  438. <Column id="cdflag" type="STRING" size="256" sumtext="코드구분"/>
  439. <Column id="smnttypenm" type="STRING" size="256" sumtext="Semantic Type 명"/>
  440. <Column id="localcd" type="STRING" size="256" sumtext="local code"/>
  441. <Column id="cnptid" type="STRING" size="256" sumtext="concept ID"/>
  442. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  443. <Column id="engnm" type="STRING" size="256" sumtext="영문명"/>
  444. <Column id="definecnts" type="STRING" size="256" sumtext="definition"/>
  445. <Column id="levl" type="STRING" size="256" sumtext="레벨"/>
  446. <Column id="srcofdata" type="STRING" size="256" sumtext="source of data"/>
  447. <Column id="fromdd" type="STRING" size="256" sumtext="Concept 생성일"/>
  448. <Column id="todd" type="STRING" size="256" sumtext="Concept 만료일"/>
  449. <Column id="valiyn" type="STRING" size="256" sumtext="상태"/>
  450. <Column id="hngposinfo" type="STRING" size="256" sumtext="위치정보(한)"/>
  451. <Column id="engposinfo" type="STRING" size="256" sumtext="위치정보(영)"/>
  452. <Column id="reprlocalcd" type="STRING" size="256" sumtext="대표 local code"/>
  453. <Column id="smnttypecd" type="STRING" size="256" sumtext="Semantic Type Code"/>
  454. </ColumnInfo>
  455. </Dataset>
  456. <Dataset id="ds_main_icnpmngt_synominfo_synomlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  457. <ColumnInfo>
  458. <Column id="cdflag" type="STRING" size="256" sumtext="코드구분"/>
  459. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  460. <Column id="cnptid" type="STRING" size="256" sumtext="concept ID"/>
  461. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  462. <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자명"/>
  463. <Column id="fromdd" type="STRING" size="256" sumtext="Concept 생성일"/>
  464. <Column id="todd" type="STRING" size="256" sumtext="Concept 만료일"/>
  465. <Column id="stat" type="STRING" size="256" sumtext="상태"/>
  466. <Column id="abbryn" type="STRING" size="256" sumtext="약어여부"/>
  467. <Column id="localcd" type="STRING" size="256" sumtext="로컬코드"/>
  468. </ColumnInfo>
  469. </Dataset>
  470. <Dataset id="ds_main_smnttypeinfo_smnttypelist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  471. <ColumnInfo>
  472. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  473. <Column id="engnm" type="STRING" size="256" sumtext="영문명"/>
  474. <Column id="fstrgstdt" type="STRING" size="256" sumtext="등록일자"/>
  475. <Column id="smnttypecd" type="STRING" size="256" sumtext="semantic type 코드"/>
  476. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  477. <Column id="smnttypenm" type="STRING" size="256"/>
  478. </ColumnInfo>
  479. </Dataset>
  480. <Dataset id="ds_hidden_uid_children" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  481. <Dataset id="ds_hidden_refinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  482. <Dataset id="ds_hidden_icnpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  483. <Dataset id="ds_main_icnptreeinfo_icnptreelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  484. <ColumnInfo>
  485. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  486. <Column id="localcd" type="STRING" size="256" sumtext="local code"/>
  487. <Column id="cnptid" type="STRING" size="256" sumtext="concept ID"/>
  488. <Column id="supcd" type="STRING" size="256" sumtext="상위 local code"/>
  489. <Column id="supcnptid" type="STRING" size="256" sumtext="상위 Concept ID"/>
  490. <Column id="smnttypecd" type="STRING" size="256" sumtext="Semantic Type Code"/>
  491. <Column id="smnttypenm" type="STRING" size="256" sumtext="Semantic Type 명"/>
  492. <Column id="levl" type="STRING" size="256" sumtext="Tree 레벨"/>
  493. <Column id="todd" type="STRING" size="256" sumtext="만료일"/>
  494. <Column id="hngposinfo" type="STRING" size="256" sumtext="위치정보(한)"/>
  495. <Column id="engposinfo" type="STRING" size="256" sumtext="위치정보(영)"/>
  496. </ColumnInfo>
  497. </Dataset>
  498. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  499. </Objects>
  500. <Bind>
  501. <BindItem id="item0" compid="swt_icnpsrch.icnpcdSrch.grp_sea.ipt_srchtermnm" propid="value" datasetid="ds_main_cond" columnid="termnm"/>
  502. <BindItem id="item1" compid="swt_icnpsrch.icnpcdSrch.grp_sea.radio2" propid="value" datasetid="ds_main_cond" columnid="codeflag"/>
  503. <BindItem id="item2" compid="swt_icnpsrch.icnpcdSrch.grp_sea.radio3" propid="value" datasetid="ds_main_cond" columnid="valiyn"/>
  504. <BindItem id="item3" compid="swt_icnpsrch.icnpcdSrch.grp_sea.radio4" propid="value" datasetid="ds_main_cond" columnid="srchscop"/>
  505. <BindItem id="item4" compid="opt_smnttype" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="smnttypenm"/>
  506. <BindItem id="item5" compid="opt_cnptid" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="cnptid"/>
  507. <BindItem id="item6" compid="rdo_cdflag" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="cdflag"/>
  508. <BindItem id="item7" compid="opt_hannm" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="hngnm"/>
  509. <BindItem id="item8" compid="opt_engnm" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="engnm"/>
  510. <BindItem id="item9" compid="tar_definecnts" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="definecnts"/>
  511. <BindItem id="item10" compid="opt_levl" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="levl"/>
  512. <BindItem id="item11" compid="opt_dataofsrc" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="srcofdata"/>
  513. <BindItem id="item12" compid="opt_fromdd" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="fromdd"/>
  514. <BindItem id="item13" compid="opt_todd" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="todd"/>
  515. <BindItem id="item14" compid="cmb_valiyn" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="valiyn"/>
  516. <BindItem id="item15" compid="opt_hngposinfo" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="hngposinfo"/>
  517. <BindItem id="item16" compid="opt_engposinfo" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="engposinfo"/>
  518. <BindItem id="item17" compid="rdo_valiyn" propid="value" datasetid="ds_main_cond" columnid="synomvaliyn"/>
  519. </Bind>
  520. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  521. * System Name :
  522. * Job Name :
  523. * Creator :
  524. * Make Date : 2015-11-13
  525. * Description :
  526. *---------------------------------------------------------------------------------------
  527. * Modify Date Modifier Modify Description
  528. *---------------------------------------------------------------------------------------
  529. * 2015-11-13 Live Converter TF->XP
  530. *
  531. *---------------------------------------------------------------------------------------
  532. ****************************************************************************************/
  533. include "com_commonxp::comm_main.xjs";
  534. var arErrorCode = new HashArray();
  535. var iICNPTreeRow = -1;
  536. var xICNPInfoPath = ds_main_icnpmngt_icnpinfo;
  537. var xICNPTreePath = ds_main_icnptreeinfo_icnptreelist;
  538. var xSmntTypePath = ds_main_smnttypeinfo_smnttypelist;
  539. var xRefPath = ds_hidden_icnpinfo;
  540. var xSynomInfoPath = ds_main_icnpmngt_synominfo_synomlist;
  541. var xICNPCodePath = ds_main_icnpsrchinfo_icnplist;
  542. var xCondPath = ds_main_cond;
  543. var xRefInfoPath = ds_hidden_refinfo;
  544. function SMMNR01200_oninit(obj:Form, e:InitEventInfo)
  545. {
  546. frmf_initForm(obj);
  547. }
  548. function SMMNR01200_onload(obj:Form, e:LoadEventInfo)
  549. {
  550. grdf_initGrid(swt_icnpsrch.icnpcdSrch.grd_icnp);
  551. grdf_initGrid(swt_icnpsrch.smntTypeSrch.grd_smnttype);
  552. grdf_initGrid(grd_icnpsynom);
  553. try
  554. {
  555. ds_hidden_refinfo.copyData(arg_ds_hidden_refinfo);
  556. }
  557. catch(e)
  558. {
  559. }
  560. fInit();
  561. }
  562. function fInit()
  563. {
  564. dsf_makeValue(ds_hidden_uid_children, "wid", "string","SPMNR02700");
  565. xCondPath.setColumn(0, "synomvaliyn","%");
  566. if(utlf_isNull(ds_hidden_refinfo.getColumn(0, "flag")))
  567. {
  568. btn_select.visible = false
  569. }
  570. fSearch("smnttype");
  571. }
  572. function fSearch(pFlag)
  573. {
  574. if(pFlag == "smnttype")
  575. {
  576. //swt_icnpsrch.tabindex = 0;
  577. xICNPTreePath.clearData();
  578. xSmntTypePath.clearData();
  579. ds_send.clearData()
  580. dsf_makeValue(ds_send, "flag", "String","smnttype");
  581. var oParam = {};
  582. oParam.id = "TRMNR01201";
  583. oParam.service = "carerecapp.ICNPMngt";
  584. oParam.method = "reqGetSemanticTypeList";
  585. oParam.inds = "";
  586. oParam.outds = "ds_main_smnttypeinfo_smnttypelist=smnttypelist";
  587. oParam.async = false;
  588. oParam.callback = "cf_TRMNR01201";
  589. tranf_submit(oParam);
  590. if(arErrorCode.pop("TRMNR01201") > -1)
  591. {
  592. var RowCnt = ds_main_smnttypeinfo_smnttypelist.rowcount;
  593. if(RowCnt > 0)
  594. {
  595. ds_main_smnttypeinfo_smnttypelist.rowposition = 0;
  596. fClicedGrid();
  597. }
  598. }
  599. }
  600. else if(pFlag == "icnpcd")
  601. {
  602. //swt_icnpsrch.tabindex = 1;
  603. xICNPTreePath.clearData();
  604. xICNPCodePath.clearData();
  605. xCondPath.setColumn(0, "termnm","");
  606. xCondPath.setColumn(0, "codeflag","%");
  607. xCondPath.setColumn(0, "valiyn","%");
  608. xCondPath.setColumn(0, "srchscop","1");
  609. swt_icnpsrch.icnpcdSrch.grp_sea.ipt_srchtermnm.setFocus();
  610. }
  611. else if(pFlag == "Synom")
  612. {
  613. var localcd = xICNPInfoPath.getColumn(0, "localcd");
  614. if(utlf_isNull(localcd))
  615. {
  616. sysf_messageBox("ICNP 용어가 선택되지","E007");
  617. return;
  618. }
  619. xSynomInfoPath.clearData();
  620. ds_send.clearData();
  621. dsf_makeValue(ds_send, "synomvaliyn", "string", xCondPath.getColumn(0, "synomvaliyn"));
  622. dsf_makeValue(ds_send, "localcd", "string", localcd);
  623. dsf_makeValue(ds_send, "todd", "string", "");
  624. var oParam = {};
  625. oParam.id = "TRMNR01204";
  626. oParam.service = "carerecapp.ICNPMngt";
  627. oParam.method = "reqGetSynomInfo";
  628. oParam.inds = "reqCond=ds_send";
  629. oParam.outds = "ds_main_icnpmngt_synominfo_synomlist=synomlist";
  630. oParam.async = false;
  631. //oParam.callback = "cf_TRMNR01204";
  632. tranf_submit(oParam);
  633. }
  634. else if(pFlag == "TermSrch")
  635. {
  636. xICNPCodePath.clearData();
  637. xICNPTreePath.clearData();
  638. ds_send.clearData();
  639. dsf_makeValue(ds_send, "termnm","string", xCondPath.getColumn(0, "termnm"));
  640. dsf_makeValue(ds_send, "codeflag","string", xCondPath.getColumn(0, "codeflag"));
  641. dsf_makeValue(ds_send, "valiyn","string", xCondPath.getColumn(0, "valiyn"));
  642. dsf_makeValue(ds_send, "srchscop","string", xCondPath.getColumn(0, "srchscop"));
  643. var oParam = {};
  644. oParam.id = "TRMNR01205";
  645. oParam.service = "carerecapp.ICNPMngt";
  646. oParam.method = "reqGetICNPCodeList";
  647. oParam.inds = "reqCond=ds_send";
  648. oParam.outds = "ds_main_icnpsrchinfo_icnplist=icnplist";
  649. oParam.async = false;
  650. oParam.callback = "cf_TRMNR01205";
  651. tranf_submit(oParam);
  652. if(arErrorCode.pop("TRMNR01205"))
  653. {
  654. if(ds_main_icnpsrchinfo_icnplist.rowcount == 0)
  655. {
  656. sysf_messageBox("조회된 데이터가","I004");
  657. }
  658. ds_main_icnpsrchinfo_icnplist.rowposition = -1;
  659. }
  660. }
  661. if(pFlag != "Synom")
  662. {
  663. fICNPInfoClear();
  664. xSynomInfoPath.clearData();
  665. }
  666. }
  667. function cf_TRMNR01201(sSvcId, nErrorCode, sErrorMsg)
  668. {
  669. arErrorCode.push(sSvcId, nErrorCode);
  670. if(nErrorCode < 0) return;
  671. }
  672. function cf_TRMNR01205(sSvcId, nErrorCode, sErrorMsg)
  673. {
  674. arErrorCode.push(sSvcId, nErrorCode);
  675. if(nErrorCode < 0) return;
  676. }
  677. function fClicedGrid()
  678. {
  679. var idx = swt_icnpsrch.tabindex;
  680. var iRow = -1;
  681. var localcd = "";
  682. if(idx == 1)
  683. {
  684. iRow = ds_main_icnpsrchinfo_icnplist.rowposition;
  685. if(iRow < 0) return;
  686. ds_send.clearData();
  687. dsf_makeValue(ds_send, "smnttypecd", "String", xICNPCodePath.getColumn(iRow, "smnttypecd"));
  688. localcd = xICNPCodePath.getColumn(iRow, "localcd");
  689. }
  690. else if(idx == 0)
  691. {
  692. iRow = ds_main_smnttypeinfo_smnttypelist.rowposition;
  693. if(iRow < 0) return;
  694. ds_send.clearData();
  695. dsf_makeValue(ds_send, "smnttypecd", "string", xSmntTypePath.getColumn(iRow, "smnttypecd"));
  696. }
  697. var oParam = {};
  698. oParam.id = "TRMNR01202";
  699. oParam.service = "carerecapp.ICNPMngt";
  700. oParam.method = "reqGetICNPTreeList";
  701. oParam.inds = "reqCond=ds_send";
  702. oParam.outds = "ds_main_icnptreeinfo_icnptreelist=icnptreelist";
  703. oParam.async = false;
  704. oParam.callback = "cf_TRMNR01202";
  705. tranf_submit(oParam);
  706. if(arErrorCode.pop("TRMNR01202") > -1)
  707. {
  708. iICNPTreeRow = -1;
  709. if(!utlf_isNull(localcd))
  710. {
  711. var path = ds_main_icnptreeinfo_icnptreelist.lookup("localcd", localcd, "path");
  712. path = String(path).split("/");
  713. for(var i = 1; i < path.length-1; i++)
  714. {
  715. var findrow = ds_main_icnptreeinfo_icnptreelist.findRow("localcd", path[i]);
  716. var treerow = swt_icnpsrch.icnpcdSrch.trv_icnptree2.getTreeRow(findrow);
  717. var success = swt_icnpsrch.icnpcdSrch.trv_icnptree2.setTreeStatus(treerow, true);
  718. }
  719. ds_main_icnptreeinfo_icnptreelist.rowposition = ds_main_icnptreeinfo_icnptreelist.findRow("localcd", path[path.length-1]);
  720. swt_icnpsrch.icnpcdSrch.trv_icnptree2.setCellPos(1);
  721. }
  722. }
  723. }
  724. function cf_TRMNR01202(sSvcId, nErrorCode, sErrorMsg)
  725. {
  726. arErrorCode.push(sSvcId, nErrorCode);
  727. if(nErrorCode < 0) return;
  728. }
  729. function fICNPInfoClear()
  730. {
  731. xICNPInfoPath.clearData();
  732. xICNPInfoPath.addRow();
  733. xICNPInfoPath.setColumn(0, "cdflag","");
  734. xICNPInfoPath.setColumn(0, "smnttypenm","");
  735. xICNPInfoPath.setColumn(0, "localcd","");
  736. xICNPInfoPath.setColumn(0, "cnptid","");
  737. xICNPInfoPath.setColumn(0, "hngnm","");
  738. xICNPInfoPath.setColumn(0, "engnm","");
  739. xICNPInfoPath.setColumn(0, "definecnts","");
  740. xICNPInfoPath.setColumn(0, "levl","");
  741. xICNPInfoPath.setColumn(0, "srcofdata","");
  742. xICNPInfoPath.setColumn(0, "fromdd","");
  743. xICNPInfoPath.setColumn(0, "todd","");
  744. xICNPInfoPath.setColumn(0, "valiyn","");
  745. xICNPInfoPath.setColumn(0, "hngposinfo","");
  746. xICNPInfoPath.setColumn(0, "engposinfo","");
  747. xICNPInfoPath.setColumn(0, "reprlocalcd","");
  748. xICNPInfoPath.setColumn(0, "smnttypecd","");
  749. }
  750. function swt_icnpsrch_smntTypeSrch_grd_smnttype_oncellclick(obj:Grid, e:GridClickEventInfo)
  751. {
  752. fClicedGrid();
  753. }
  754. function swt_icnpsrch_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  755. {
  756. if(obj.tabindex == 1)
  757. {
  758. fSearch("icnpcd");
  759. }
  760. else
  761. {
  762. fSearch("smnttype");
  763. }
  764. }
  765. function swt_icnpsrch_icnpcdSrch_grd_icnp_oncellclick(obj:Grid, e:GridClickEventInfo)
  766. {
  767. fClicedGrid();
  768. }
  769. function swt_icnpsrch_icnpcdSrch_trv_icnptree2_oncellclick(obj:Grid, e:GridClickEventInfo)
  770. {
  771. fClickedTreeView();
  772. }
  773. function swt_icnpsrch_smntTypeSrch_trv_icnptree1_oncellclick(obj:Grid, e:GridClickEventInfo)
  774. {
  775. fClickedTreeView();
  776. }
  777. function fClickedTreeView()
  778. {
  779. var iICNPTreeRow = ds_main_icnptreeinfo_icnptreelist.rowposition
  780. if(iICNPTreeRow < 0) return;
  781. ds_send.clearData();
  782. dsf_makeValue(ds_send, "localcd", "string", xICNPTreePath.getColumn(iICNPTreeRow, "localcd"));
  783. dsf_makeValue(ds_send, "todd", "string", xICNPTreePath.getColumn(iICNPTreeRow, "todd"));
  784. dsf_makeValue(ds_send, "synomvaliyn", "string", xCondPath.getColumn(0, "synomvaliyn"));
  785. var oParam = {};
  786. oParam.id = "TRMNR01203";
  787. oParam.service = "carerecapp.ICNPMngt";
  788. oParam.method = "reqGetICNPMngt";
  789. oParam.inds = "reqCond=ds_send";
  790. oParam.outds = "ds_main_icnpmngt_icnpinfo=icnpinfo ds_main_icnpmngt_synominfo_synomlist=synomlist";
  791. oParam.async = false;
  792. oParam.callback = "cf_TRMNR01203";
  793. tranf_submit(oParam);
  794. if(arErrorCode.pop("TRMNR01203") > -1)
  795. {
  796. dsf_makeValue(xICNPInfoPath, "hngposinfo", "string", xICNPTreePath.getColumn(iICNPTreeRow, "hngposinfo"));
  797. dsf_makeValue(xICNPInfoPath, "engposinfo", "string", xICNPTreePath.getColumn(iICNPTreeRow, "engposinfo"));
  798. }
  799. }
  800. function cf_TRMNR01203(sSvcId, nErrorCode, sErrorMsg)
  801. {
  802. arErrorCode.push(sSvcId, nErrorCode);
  803. if(nErrorCode < 0) return;
  804. }
  805. function rdo_valiyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  806. {
  807. fSearch("Synom");
  808. }
  809. function btn_select_onclick(obj:Button, e:ClickEventInfo)
  810. {
  811. fSendITerm();
  812. }
  813. function fSendITerm()
  814. {
  815. var terminfo = xICNPInfoPath.getColumn(0, "smnttypecd")+"▦"+
  816. xICNPInfoPath.getColumn(0, "localcd")+"▦"+
  817. xICNPInfoPath.getColumn(0, "hngnm")+"▦"+
  818. xICNPInfoPath.getColumn(0, "engnm")+"▦"+
  819. xICNPInfoPath.getColumn(0, "cnptid");
  820. opener.frmf_setParameter("terminfo",terminfo);
  821. this.close();
  822. }
  823. function btn_addicnp_onclick(obj:Button, e:ClickEventInfo)
  824. {
  825. fAddTerm("ICNP");
  826. }
  827. function fAddTerm(pFlag)
  828. {
  829. if(pFlag == "ICNP")
  830. {
  831. xRefPath.clearData();
  832. var idx = swt_icnpsrch.tabindex;
  833. if(idx == 1 && ds_main_icnptreeinfo_icnptreelist.rowposition < 0)
  834. {
  835. sysf_messageBox("Tree 정보에서 상위 ICNP 용어가 선택되지 않았습니다.\n(최상위 코드는 ICNP Semantic Type 검색 탭에서만 가능합니다)\n 용어 등록을","E001");
  836. return;
  837. }
  838. if(idx == 0 && ds_main_icnptreeinfo_icnptreelist.rowposition < 0)
  839. {
  840. var iRtn = sysf_messageBox("Tree 정보에서 상위 ICNP 용어가 선택되지 않았습니다.\n최상위 코드만 등록이 가능합니다. ","Q003");
  841. if(iRtn != 6) return;
  842. }
  843. if(ds_main_icnptreeinfo_icnptreelist.rowposition < 0)
  844. {
  845. var sSmntTypeRow = ds_main_smnttypeinfo_smnttypelist.rowposition;
  846. if(sSmntTypeRow < 0)
  847. {
  848. sysf_messageBox("ICNP Semantic Type이 선택되지","E007");
  849. return;
  850. }
  851. dsf_makeValue(xRefPath, "stat", "string", "I");
  852. dsf_makeValue(xRefPath, "supcd", "string", "********");
  853. dsf_makeValue(xRefPath, "supcnptid", "String","");
  854. dsf_makeValue(xRefPath, "smnttypecd", "string", xSmntTypePath.getColumn(sSmntTypeRow, "smnttypecd"));
  855. dsf_makeValue(xRefPath, "smnttypenm", "string", xSmntTypePath.getColumn(sSmntTypeRow, "engnm"));
  856. dsf_makeValue(xRefPath, "levl", "int", 1);
  857. dsf_makeValue(xRefPath, "termflag", "string", "ICNP");
  858. }
  859. else
  860. {
  861. dsf_makeValue(xRefPath, "stat", "string", "I");
  862. dsf_makeValue(xRefPath, "supcd", "string", xICNPInfoPath.getColumn(0, "localcd"));
  863. dsf_makeValue(xRefPath, "supcnptid", "String", xICNPInfoPath.getColumn(0, "cnptid"));
  864. dsf_makeValue(xRefPath, "smnttypecd", "string", xICNPInfoPath.getColumn(sSmntTypeRow, "smnttypecd"));
  865. dsf_makeValue(xRefPath, "smnttypenm", "string", xICNPInfoPath.getColumn(sSmntTypeRow, "smnttypenm"));
  866. dsf_makeValue(xRefPath, "levl", "int", eval(xICNPInfoPath.getColumn(0, "levl"))+1);
  867. dsf_makeValue(xRefPath, "termflag", "string", "ICNP");
  868. }
  869. var objArg = new Object();
  870. objArg.arg_ds_hidden_icnpinfo = xRefPath;
  871. frmf_modal("SPMNR02700", "SPMNR02700", objArg, "", "", "", "", "", "", "", "", "", "M");
  872. if(frmf_getParameter("exec") == "Y")
  873. {
  874. fClicedGrid();
  875. fICNPInfoClear();
  876. xSynomInfoPath.clearData();
  877. }
  878. }
  879. else if(pFlag == "Synom")
  880. {
  881. var localcd = xICNPInfoPath.getColumn(0, "localcd");
  882. xRefPath.clearData();
  883. if(utlf_isNull(localcd))
  884. {
  885. sysf_messageBox("동의어를 등록할 ICNP 용어가 선택되지", "E007");
  886. return;
  887. }
  888. dsf_makeValue(xRefPath, "stat", "string", "I");
  889. dsf_makeValue(xRefPath, "reprlocalcd", "string", xICNPInfoPath.getColumn(0, "localcd"));
  890. dsf_makeValue(xRefPath, "todd", "string", xICNPInfoPath.getColumn(0, "todd"));
  891. dsf_makeValue(xRefPath, "cnptid", "string", xICNPInfoPath.getColumn(0, "cnptid"));
  892. dsf_makeValue(xRefPath, "termflag", "string", "Synom");
  893. var objArg = new Object();
  894. objArg.arg_ds_hidden_icnpinfo = xRefPath;
  895. frmf_modal("SPMNR02700", "SPMNR02700", objArg, "", "", "", "", "", "", "", "", "", "M");
  896. if(frmf_getParameter("exec") == "Y")
  897. {
  898. fSearch("Synom");
  899. }
  900. }
  901. }
  902. function btn_updticnp_onclick(obj:Button, e:ClickEventInfo)
  903. {
  904. fUpdtTerm("ICNP");
  905. }
  906. function fUpdtTerm(pFlag)
  907. {
  908. xRefPath.clearData();
  909. if(pFlag == "ICNP")
  910. {
  911. var localcd = xICNPInfoPath.getColumn(0, "localcd");
  912. if(utlf_isNull(localcd))
  913. {
  914. sysf_messageBox("수정할 ICNP 용어가 선택되지", "E007");
  915. return;
  916. }
  917. dsf_makeValue(xRefPath, "stat", "String", "U");
  918. dsf_makeValue(xRefPath, "localcd", "String", xICNPInfoPath.getColumn(0, "localcd"));
  919. dsf_makeValue(xRefPath, "todd", "String", xICNPInfoPath.getColumn(0, "todd"));
  920. dsf_makeValue(xRefPath, "termflag", "String", "ICNP");
  921. var objArg = new Object();
  922. objArg.arg_ds_hidden_icnpinfo = xRefPath;
  923. frmf_modal("SPMNR02700", "SPMNR02700", objArg, "", "", "", "", "", "", "", "", "", "M");
  924. if(frmf_getParameter("exec") == "Y")
  925. {
  926. fClicedGrid();
  927. fICNPInfoClear();
  928. xSynomInfoPath.clearData();
  929. }
  930. }
  931. else if(pFlag == "Synom")
  932. {
  933. var iRow = ds_main_icnpmngt_synominfo_synomlist.rowposition;
  934. if(iRow < 0)
  935. {
  936. sysf_messageBox("수정할 동의어가 선택되지", "E007");
  937. return;
  938. }
  939. dsf_makeValue(xRefPath, "stat", "string", "U");
  940. dsf_makeValue(xRefPath, "localcd", "string", xSynomInfoPath.getColumn(iRow, "localcd"));
  941. dsf_makeValue(xRefPath, "todd", "string", xSynomInfoPath.getColumn(iRow, "todd"));
  942. dsf_makeValue(xRefPath, "termflag", "String", "");
  943. var objArg = new Object();
  944. objArg.arg_ds_hidden_icnpinfo = xRefPath;
  945. frmf_modal("SPMNR02700", "SPMNR02700", objArg, "", "", "", "", "", "", "", "", "", "M");
  946. if(frmf_getParameter("exec") == "Y")
  947. {
  948. fSearch("Synom");
  949. }
  950. }
  951. }
  952. function btn_addsynom_onclick(obj:Button, e:ClickEventInfo)
  953. {
  954. fAddTerm("Synom");
  955. }
  956. function btn_updtsynom_onclick(obj:Button, e:ClickEventInfo)
  957. {
  958. fUpdtTerm("Synom");
  959. }
  960. function swt_icnpsrch_icnpcdSrch_grp_sea_btn_srch_onclick(obj:Button, e:ClickEventInfo)
  961. {
  962. fSearch("TermSrch");
  963. }
  964. function swt_icnpsrch_icnpcdSrch_grp_sea_ipt_srchtermnm_onkeyup(obj:Edit, e:KeyEventInfo)
  965. {
  966. if(e.keycode == 13)
  967. {
  968. obj.updateToDataset();
  969. swt_icnpsrch.icnpcdSrch.grp_sea.btn_srch.click();
  970. }
  971. }
  972. function swt_icnpsrch_icnpcdSrch_trv_icnptree2_cantreestatuschange(obj:Grid, e:GridTreeStatusEventInfo)
  973. {
  974. obj.userdata = 1;
  975. }
  976. ]]></Script>
  977. </Form>
  978. </FDL>