SPMMO03300_수술팝업.xfdl 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.4">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMO03300" position="absolute 0 0 955 598" titletext="수술팝업">
  5. <Layouts>
  6. <Layout>
  7. <Grid position="absolute 322 43 938 367" id="grd_opcdlist" binddataset="ds_grd_opcdlist" oncelldblclick="grd_opcdlist_oncelldblclick">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="28"/>
  12. <Column size="0"/>
  13. <Column size="111"/>
  14. <Column size="228"/>
  15. <Column size="203"/>
  16. </Columns>
  17. <Rows>
  18. <Row size="24" band="head"/>
  19. <Row size="24"/>
  20. </Rows>
  21. <Band id="head">
  22. <Cell/>
  23. <Cell col="1" text="opcd"/>
  24. <Cell col="2" text="용어코드"/>
  25. <Cell col="3" text="영문명"/>
  26. <Cell col="4" text="한글명"/>
  27. </Band>
  28. <Band id="body">
  29. <Cell text="bind:boolflag" edittype="checkbox" displaytype="checkbox"/>
  30. <Cell col="1" text="bind:opcd"/>
  31. <Cell col="2" text="bind:dispopcd"/>
  32. <Cell col="3" text="bind:opengnm"/>
  33. <Cell col="4" text="bind:ophngnm"/>
  34. </Band>
  35. </Format>
  36. </Formats>
  37. </Grid>
  38. <Shape position="absolute 323 0 938 35" id="roundrect1" type="roundrectangle"/>
  39. <Static text="검색어 :" position="absolute 326 9 412 26" id="caption3" class="tit_3"/>
  40. <Edit position="absolute 414 8 690 27" id="input1" class="input_search" oneditclick="input1_oneditclick"/>
  41. <Shape position="absolute 863 7 869 29" linetype="vertical" id="line4"/>
  42. <Button position="absolute 873 6 929 28" id="btn_req" class="btn1" text="조회" onclick="btn_req_onclick"/>
  43. <Tab position="absolute 0 39 320 569" id="switch1" onchanged="switch1_onchanged">
  44. <Tabpages>
  45. <Tabpage text="개인SET" id="prms">
  46. <Layouts>
  47. <Layout>
  48. <Grid position="absolute 0 0 317 526" treeusecheckbox="false" autofit="col" id="trv_prmsprcpsetlist">
  49. <Formats>
  50. <Format id="default">
  51. <Columns>
  52. <Column size="20"/>
  53. </Columns>
  54. <Rows>
  55. <Row size="24"/>
  56. </Rows>
  57. <Band>
  58. <Cell displaytype="tree" edittype="tree" text="bind:setnm" treelevel="bind:levl"/>
  59. </Band>
  60. </Format>
  61. </Formats>
  62. </Grid>
  63. </Layout>
  64. </Layouts>
  65. </Tabpage>
  66. <Tabpage text="ICD9색인" id="icd9">
  67. <Layouts>
  68. <Layout>
  69. <Grid position="absolute 0 0 317 527" treeusecheckbox="false" autofit="col" id="trv_icd9indxcdlist">
  70. <Formats>
  71. <Format id="default">
  72. <Columns>
  73. <Column size="20"/>
  74. </Columns>
  75. <Rows>
  76. <Row size="24"/>
  77. </Rows>
  78. <Band>
  79. <Cell displaytype="tree" edittype="tree" text="bind:indxhngnm" treelevel="bind:levl"/>
  80. </Band>
  81. </Format>
  82. </Formats>
  83. </Grid>
  84. </Layout>
  85. </Layouts>
  86. </Tabpage>
  87. <Tabpage text="과색인" id="deptindx">
  88. <Layouts>
  89. <Layout>
  90. <Grid position="absolute 0 0 317 527" treeusecheckbox="false" autofit="col" id="trv_deptindxcdlist">
  91. <Formats>
  92. <Format id="default">
  93. <Columns>
  94. <Column size="20"/>
  95. </Columns>
  96. <Rows>
  97. <Row size="24"/>
  98. </Rows>
  99. <Band>
  100. <Cell displaytype="tree" edittype="tree" text="bind:deptindxnm" treelevel="bind:levl"/>
  101. </Band>
  102. </Format>
  103. </Formats>
  104. </Grid>
  105. </Layout>
  106. </Layouts>
  107. </Tabpage>
  108. </Tabpages>
  109. </Tab>
  110. <Shape position="absolute 322 35 938 41" linetype="vertical" id="line2" class="line_1"/>
  111. <Static text="선택수술" position="absolute 326 381 460 394" id="caption1" class="tit_2"/>
  112. <Shape position="absolute 322 393 938 399" linetype="vertical" id="line1" class="line_1"/>
  113. <Button position="absolute 871 369 935 388" id="button2" class="btn2" text="수술추가" onclick="button2_onclick"/>
  114. <Button position="absolute 879 569 935 591" id="btn_diagcncl" class="btn4" text="취소" onclick="btn_diagcncl_onclick"/>
  115. <Button position="absolute 821 569 877 591" id="btn_savediag" class="btn4" text="등록" onclick="btn_savediag_onclick"/>
  116. <Button position="absolute 328 48 344 64" id="btn_expand" class="icon_pre_year" text="" onclick="btn_expand_onclick"/>
  117. <Grid position="absolute 322 401 938 567" id="grd_selectop" binddataset="ds_grd_selectop" onmousedown="grd_selectop_onmousedown" oncelldblclick="grd_selectop_oncelldblclick">
  118. <Formats>
  119. <Format id="default">
  120. <Columns>
  121. <Column size="1"/>
  122. <Column size="111"/>
  123. <Column size="231"/>
  124. <Column size="242"/>
  125. </Columns>
  126. <Rows>
  127. <Row size="24" band="head"/>
  128. <Row size="24"/>
  129. </Rows>
  130. <Band id="head">
  131. <Cell text="opcd"/>
  132. <Cell col="1" text="용어코드"/>
  133. <Cell col="2" text="영문명"/>
  134. <Cell col="3" text="한글명"/>
  135. </Band>
  136. <Band id="body">
  137. <Cell text="bind:opcd"/>
  138. <Cell col="1" text="bind:dispopcd"/>
  139. <Cell col="2" text="bind:opengnm"/>
  140. <Cell col="3" text="bind:ophngnm"/>
  141. </Band>
  142. </Format>
  143. </Formats>
  144. </Grid>
  145. <CheckBox position="absolute 696 7 748 27" id="bool1" text="전체"/>
  146. </Layout>
  147. </Layouts>
  148. <Objects>
  149. <Dataset id="ds_grd_opcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  150. <ColumnInfo>
  151. <Column id="boolflag" type="STRING"/>
  152. <Column id="opcd" type="STRING"/>
  153. <Column id="dispopcd" type="STRING"/>
  154. <Column id="opengnm" type="STRING"/>
  155. <Column id="ophngnm" type="STRING"/>
  156. </ColumnInfo>
  157. </Dataset>
  158. <Dataset id="ds_grd_selectop" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  159. <ColumnInfo>
  160. <Column id="opcd" type="STRING"/>
  161. <Column id="dispopcd" type="STRING"/>
  162. <Column id="opengnm" type="STRING"/>
  163. <Column id="ophngnm" type="STRING"/>
  164. </ColumnInfo>
  165. </Dataset>
  166. </Objects>
  167. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  168. * System Name :
  169. * Job Name :
  170. * Creator :
  171. * Make Date : 2014-09-12
  172. * Description :
  173. *---------------------------------------------------------------------------------------
  174. * Modify Date Modifier Modify Description
  175. *---------------------------------------------------------------------------------------
  176. * 2014-09-12 Live Converter TF->XP
  177. *
  178. *---------------------------------------------------------------------------------------
  179. ****************************************************************************************/
  180. include "com_commonxp::comm_main.xjs"
  181. include "emr_prcpmngtxp::SPMMO03300.xjs"
  182. function grd_selectop_onmousedown(obj:Grid, e:GridMouseEventInfo)
  183. {
  184. setPopupMenu("grd_selectop", false, "/root/popupmenu/menu/item", "label", "func");
  185. }
  186. function grd_selectop_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  187. {
  188. if(isDataCell()){
  189. fSendOpCD(grd_selectop.row);
  190. }
  191. }
  192. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  193. {
  194. if(e.postindex == 0)
  195. {
  196. fReqGetICD9IndxList();
  197. fReqGetICD9CDList();
  198. }
  199. else if(e.postindex == 1)
  200. {
  201. fReqGetDeptOpIndxList();
  202. fReqGetDeptIndxCDList();
  203. }
  204. else if(e.postindex == 2)
  205. {
  206. fReqGetPrmsOpSETList();
  207. fReqGetPrmsOpList();
  208. }
  209. }
  210. function btn_expand_onclick(obj:Button, e:ClickEventInfo)
  211. {
  212. fCtrlSizeOpList();
  213. }
  214. function btn_savediag_onclick(obj:Button, e:ClickEventInfo)
  215. {
  216. fSendOpCDList();
  217. }
  218. function btn_diagcncl_onclick(obj:Button, e:ClickEventInfo)
  219. {
  220. if(frmf_checkOpener()){
  221. frmf_setParameter("SPMMO03300_rtn_useyn", "N");
  222. }else{
  223. messageBox("상위 화면이 변경되어 데이터를 전달", "E001");
  224. }
  225. window.close();
  226. }
  227. function button2_onclick(obj:Button, e:ClickEventInfo)
  228. {
  229. fAppendOpCD();
  230. }
  231. function btn_req_onclick(obj:Button, e:ClickEventInfo)
  232. {
  233. var reqflag = model.getValue("/root/main/cond/reqflag");
  234. if(reqflag == "Y"){
  235. fReqGetTermOpSrch();
  236. }else{
  237. if(btn_icd9.selected == true){
  238. fReqGetTermOpSrch();
  239. }else if(btn_deptindx.selected == true){
  240. fReqGetDeptIndxSrch();
  241. }else if(btn_indset.selected == true){
  242. fReqGetPrmsOpSETSrch();
  243. }
  244. }
  245. }
  246. function input1_oneditclick(obj:Edit, e:EditClickEventInfo)
  247. {
  248. inputEnterKey("btn_req", "DOMActivate");
  249. }
  250. function grd_opcdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  251. {
  252. if(isDataCell()){
  253. fAddOp(grd_opcdlist.row);
  254. }
  255. }
  256. ]]></Script>
  257. </Form>
  258. </FDL>