SMMNP01500_CartMaster등록.xfdl 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.4">
  3. <TypeDefinition url="..\..\default_typedef.xml"/>
  4. <Form id="SMMNP01500" position="absolute 0 0 1190 757" titletext="집도의별 수술명 등록" onload="SMMNP01500_onload" oninit="SMMNP01500_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_sea" taborder="0" class="div_SA" position="absolute 0 24 1190 64">
  8. <Layouts>
  9. <Layout width="1190" height="30">
  10. <Button id="btn_search" taborder="1" text="조회" onclick="grp_sea_btn_search_onclick" class="btn1" position="absolute 385 9 441 31" anchor="default"/>
  11. <Static id="caption2" text="수술명 검색" class="search_name" position="absolute 4 14 100 31" anchor="default"/>
  12. <Edit id="input1" taborder="2" position="absolute 102 11 292 30" anchor="default"/>
  13. <CheckBox id="checkbox1" taborder="3" text="전체검색" position="absolute 298 10 373 30" anchor="default"/>
  14. </Layout>
  15. </Layouts>
  16. </Div>
  17. <Static id="caption8" text="집도과" class="cell_1" position="absolute 460 68 512 88"/>
  18. <Combo id="cmb_orddept" taborder="1" innerdataset="ds_init_orddept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="cmb_orddept_onitemchanged" class="combo_search" position="absolute 514 68 614 88" index="0"/>
  19. <Static id="cap_in_dr" text="집도의" class="cell_1" position="absolute 617 68 669 88"/>
  20. <Combo id="cmb_perf" taborder="2" innerdataset="@ds_init_drid" codecolumn="drid" datacolumn="drnm" class="combo_search" position="absolute 671 68 754 88" index="0"/>
  21. <Combo id="cmb_orddept2" taborder="3" innerdataset="ds_init_orddept2" codecolumn="deptcd" datacolumn="depthngnm" class="combo_search" position="absolute 514 489 614 508" index="0" onitemchanged="cmb_orddept2_onitemchanged"/>
  22. <Static id="caption4" text="집도과" class="cell_1" position="absolute 460 488 512 508"/>
  23. <Static id="caption11" text="집도의" class="cell_1" position="absolute 617 488 669 508"/>
  24. <Combo id="cmb_perf2" taborder="4" innerdataset="@ds_init_drid2" codecolumn="drid" datacolumn="drnm" class="combo_search" position="absolute 671 489 754 508" index="0"/>
  25. <Static id="caption75" text="수술명 복사" class="tit_2" position="absolute 365 492 455 510"/>
  26. <Button id="button7" taborder="6" text="복사" class="btn5" position="absolute 1148 489 1190 508" onclick="button7_onclick"/>
  27. <Button id="button3" taborder="7" text="수술명등록" class="btn5" position="absolute 1112 69 1190 88" onclick="button3_onclick"/>
  28. <Grid id="grd_cartlist" taborder="8" binddataset="ds_main_diagcdlist" useinputpanel="false" position="absolute 360 90 1190 454">
  29. <Formats>
  30. <Format id="default">
  31. <Columns>
  32. <Column size="25" band="left"/>
  33. <Column size="30" band="left"/>
  34. <Column size="90" band="left"/>
  35. <Column size="230" band="left"/>
  36. <Column size="230"/>
  37. <Column size="40"/>
  38. <Column size="38"/>
  39. <Column size="47"/>
  40. <Column size="68"/>
  41. <Column size="72"/>
  42. <Column size="73"/>
  43. <Column size="72"/>
  44. <Column size="80"/>
  45. <Column size="75"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. </Columns>
  50. <Rows>
  51. <Row size="24" band="head"/>
  52. <Row size="24" band="head"/>
  53. <Row size="35"/>
  54. </Rows>
  55. <Band id="head">
  56. <Cell rowspan="2"/>
  57. <Cell col="1" rowspan="2" displaytype="checkbox" edittype="checkbox"/>
  58. <Cell col="2" rowspan="2" text="용어코드"/>
  59. <Cell col="3" rowspan="2" text="영문명"/>
  60. <Cell col="4" rowspan="2" text="한글명"/>
  61. <Cell col="5" rowspan="2" text="사용"/>
  62. <Cell col="6" colspan="2" text="소요시간"/>
  63. <Cell col="8" rowspan="2" text="수술체위"/>
  64. <Cell col="9" rowspan="2" text="수술위치"/>
  65. <Cell col="10" rowspan="2" text="마취방법"/>
  66. <Cell col="11" rowspan="2" text="수술창상"/>
  67. <Cell col="12" rowspan="2" text="적용일자"/>
  68. <Cell col="13" rowspan="2" text="집도의"/>
  69. <Cell col="14" text="uptstat"/>
  70. <Cell col="15" text="카트번호"/>
  71. <Cell col="16" text="dispopcd"/>
  72. <Cell row="1" col="6" text="시"/>
  73. <Cell row="1" col="7" text="분"/>
  74. <Cell row="1" col="14" text="uptstat"/>
  75. <Cell row="1" col="15" text="카트번호"/>
  76. <Cell row="1" col="16" text="dispopcd"/>
  77. </Band>
  78. <Band id="body">
  79. <Cell style="background:URL('theme://images/bg_gridHead.png') stretch 3,3;background2:URL('theme://images/bg_gridHead.png') stretch 3,3;" text="expr:currow+1"/>
  80. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:(chkflag==&quot;true&quot;||chkflag==1)?1:0"/>
  81. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:opcd"/>
  82. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:opengnm"/>
  83. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:ophngnm"/>
  84. <Cell col="5" text="bind:useflag"/>
  85. <Cell col="6" displaytype="text" edittype="text" style="align:center middle;padding:0 3 0 3;" text="bind:usehours" mask="99"/>
  86. <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;padding:0 3 0 3;" text="bind:usemins" combodataset="ds_cmb_usemins" combocodecol="cdid" combodatacol="cdnm"/>
  87. <Cell col="8" displaytype="combo" edittype="combo" style="align:center middle;padding:0 3 0 3;" text="bind:opposturecd" combodataset="ds_init_M0016" combocodecol="cdid" combodatacol="cdnm"/>
  88. <Cell col="9" displaytype="combo" edittype="combo" style="align:center middle;padding:0 3 0 3;" text="bind:opdirecflag" combodataset="ds_init_M0357" combocodecol="cdid" combodatacol="cdnm"/>
  89. <Cell col="10" displaytype="combo" edittype="combo" style="align:center middle;padding:0 3 0 3;" text="bind:anstmthdcd" combodataset="ds_init_M0017" combocodecol="cdid" combodatacol="cdnm"/>
  90. <Cell col="11" displaytype="combo" edittype="combo" style="align:center middle;padding:0 3 0 3;" text="bind:opcntmdg" combodataset="ds_init_M0341" combocodecol="cdid" combodatacol="cdnm"/>
  91. <Cell col="12" displaytype="date" style="align:center middle;padding:0 3 0 3;" text="bind:appdd"/>
  92. <Cell col="13" style="align:center middle;padding:0 3 0 3;" text="bind:perfdrnm"/>
  93. <Cell col="14" text="bind:uptstat"/>
  94. <Cell col="15" text="bind:ccrtno"/>
  95. <Cell col="16" text="bind:dispopcd"/>
  96. </Band>
  97. </Format>
  98. </Formats>
  99. </Grid>
  100. <Static id="caption17" text="수술명 등록" class="tit_2" position="absolute 365 72 455 88"/>
  101. <Button id="bbt_excel" taborder="9" text="Excel" onclick="bbt_excel_onclick" class="btn7" position="absolute 1007 69 1068 88"/>
  102. <Button id="button2" taborder="10" text="출력" class="btn2_letter2" visible="false" position="absolute 964 69 1006 88"/>
  103. <Static id="caption1" text="사용여부" class="cell_1" position="absolute 757 68 817 88"/>
  104. <Grid id="grd_copyoplist" taborder="12" binddataset="ds_main_copydiagcdlist" useinputpanel="false" position="absolute 360 510 1190 757">
  105. <Formats>
  106. <Format id="default">
  107. <Columns>
  108. <Column size="25" band="left"/>
  109. <Column size="30" band="left"/>
  110. <Column size="95" band="left"/>
  111. <Column size="265" band="left"/>
  112. <Column size="265"/>
  113. <Column size="45"/>
  114. <Column size="32"/>
  115. <Column size="47"/>
  116. <Column size="80"/>
  117. <Column size="72"/>
  118. <Column size="72"/>
  119. <Column size="73"/>
  120. <Column size="75"/>
  121. <Column size="0"/>
  122. <Column size="0"/>
  123. </Columns>
  124. <Rows>
  125. <Row size="24" band="head"/>
  126. <Row size="24" band="head"/>
  127. <Row size="24"/>
  128. </Rows>
  129. <Band id="head">
  130. <Cell rowspan="2"/>
  131. <Cell col="1" rowspan="2" displaytype="normal" edittype="none"/>
  132. <Cell col="2" rowspan="2" text="용어코드"/>
  133. <Cell col="3" rowspan="2" text="영문명"/>
  134. <Cell col="4" rowspan="2" text="한글명"/>
  135. <Cell col="5" rowspan="2" text="사용"/>
  136. <Cell col="6" colspan="2" text="소요시간"/>
  137. <Cell col="8" rowspan="2" text="수술체위"/>
  138. <Cell col="9" rowspan="2" text="수술위치"/>
  139. <Cell col="10" rowspan="2" text="마취방법"/>
  140. <Cell col="11" rowspan="2" text="수술창상"/>
  141. <Cell col="12" rowspan="2" text="적용일자"/>
  142. <Cell col="13" text="카트번호"/>
  143. <Cell col="14" text="dispopcd"/>
  144. <Cell row="1" col="6" text="시"/>
  145. <Cell row="1" col="7" text="분"/>
  146. <Cell row="1" col="13" text="카트번호"/>
  147. <Cell row="1" col="14" text="dispopcd"/>
  148. </Band>
  149. <Band id="body">
  150. <Cell style="background:URL('theme://images/bg_gridHead.png') stretch 3,3;background2:URL('theme://images/bg_gridHead.png') stretch 3,3;" text="expr:currow+1"/>
  151. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:(chkflag==&quot;true&quot;||chkflag==1)?1:0"/>
  152. <Cell col="2" style="align:left middle;padding:0 5 0 5;" text="bind:opcd"/>
  153. <Cell col="3" style="align:left middle;padding:0 5 0 5;" text="bind:opengnm"/>
  154. <Cell col="4" style="align:left middle;padding:0 5 0 5;" text="bind:ophngnm"/>
  155. <Cell col="5" text="bind:useflag"/>
  156. <Cell col="6" displaytype="text" edittype="text" style="align:center middle;padding:0 3 0 3;" text="bind:usehours" mask="99"/>
  157. <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;padding:0 3 0 3;" text="bind:usemins" mask="nn" combodataset="ds_cmb_usemins" combocodecol="cdid" combodatacol="cdnm"/>
  158. <Cell col="8" displaytype="combo" edittype="combo" style="align:center middle;padding:0 3 0 3;" text="bind:opposturecd" combodataset="ds_init_M0016" combocodecol="cdid" combodatacol="cdnm"/>
  159. <Cell col="9" displaytype="combo" edittype="combo" style="align:center middle;padding:0 3 0 3;" text="bind:opdirecflag" combodataset="ds_init_M0357" combocodecol="cdid" combodatacol="cdnm"/>
  160. <Cell col="10" displaytype="combo" edittype="combo" style="align:center middle;padding:0 3 0 3;" text="bind:anstmthdcd" combodataset="ds_init_M0017" combocodecol="cdid" combodatacol="cdnm"/>
  161. <Cell col="11" displaytype="combo" edittype="combo" style="align:center middle;padding:0 3 0 3;" text="bind:opcntmdg" combodataset="ds_init_M0341" combocodecol="cdid" combodatacol="cdnm"/>
  162. <Cell col="12" style="align:center middle;padding:0 3 0 3;" text="bind:appdd"/>
  163. <Cell col="13" text="bind:dispopcd"/>
  164. <Cell col="14" text="bind:ccrtno"/>
  165. </Band>
  166. </Format>
  167. </Formats>
  168. </Grid>
  169. <ImageViewer id="img1" taborder="13" image="URL('theme://images/icon_arrowBottom2_N.png')" position="absolute 763 462 789 478" onclick="img1_onclick"/>
  170. <Button id="button5" taborder="14" text="초기화" class="btn2" position="absolute 1091 489 1144 508" onclick="button5_onclick"/>
  171. <Button id="button6" taborder="15" text="삭제" onclick="button6_onclick" class="btn5" position="absolute 1069 69 1111 88"/>
  172. <Div id="grp_grid" taborder="16" position="absolute 0 59 360 757">
  173. <Layouts>
  174. <Layout>
  175. <Tab id="switch1" taborder="1" onchanged="grp_grid_switch1_onchanged" onlbuttondown="grp_grid_switch1_onlbuttondown" tabindex="0" position="absolute 0 10 358 698" anchor="default">
  176. <Tabpages>
  177. <Tabpage id="icd9" text="ICD9 색인" style="anchor:default;margin:0 0 0 0;">
  178. <Layouts>
  179. <Layout>
  180. <Grid id="trv_icd9indxcdlist" taborder="0" binddataset="ds_main_indxcdlist" useinputpanel="false" autofittype="col" treeusecheckbox="false" treeuseexpandkey="true" position="absolute 0 0 358 666" anchor="default" onlbuttonup="grp_grid_switch1_icd9_trv_icd9indxcdlist_onlbuttonup">
  181. <Formats>
  182. <Format id="default">
  183. <Columns>
  184. <Column size="40"/>
  185. </Columns>
  186. <Rows>
  187. <Row size="24"/>
  188. </Rows>
  189. <Band id="body">
  190. <Cell displaytype="tree" edittype="tree" style="align:left;padding:0 0 0 5;" text="bind:indxhngnm" treestartlevel="1" treelevel="bind:levl"/>
  191. </Band>
  192. </Format>
  193. </Formats>
  194. </Grid>
  195. </Layout>
  196. </Layouts>
  197. </Tabpage>
  198. </Tabpages>
  199. </Tab>
  200. <Static id="sta_btntab" onclick="grp_grid_sta_tabbtn_onclick" position="absolute 1 11 80 33" anchor="default"/>
  201. </Layout>
  202. </Layouts>
  203. </Div>
  204. <Button id="button4" taborder="17" text="조회" onclick="button4_onclick" class="btn2_letter2" position="absolute 921 69 963 88"/>
  205. <Static id="caption6" text="집도의별 수술명 등록" class="tit_1" position="absolute 0 0 200 24"/>
  206. <cp_radioList id="radio1" titletext="Radio List" taborder="18" text="radio1" scrollbars="none" position="absolute 818 68 918 88" style="background:transparent; " col="1" row="1"/>
  207. <cp_radioList id="rd_copyflag" titletext="Radio List" taborder="19" text="rd_copyflag" scrollbars="none" position="absolute 757 489 953 509" style="background:transparent; " col="1" row="1"/>
  208. </Layout>
  209. </Layouts>
  210. <Objects>
  211. <Dataset id="ds_init_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  212. <ColumnInfo>
  213. <Column id="depthngnm" type="STRING"/>
  214. <Column id="deptcd" type="STRING"/>
  215. </ColumnInfo>
  216. <Rows>
  217. <Row/>
  218. </Rows>
  219. </Dataset>
  220. <Dataset id="ds_init_orddept2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  221. <ColumnInfo>
  222. <Column id="depthngnm" type="STRING"/>
  223. <Column id="deptcd" type="STRING"/>
  224. </ColumnInfo>
  225. <Rows>
  226. <Row/>
  227. </Rows>
  228. </Dataset>
  229. <Dataset id="ds_main_diagcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_diagcdlist_oncolumnchanged">
  230. <ColumnInfo>
  231. <Column id="chkflag" type="STRING" size="256"/>
  232. <Column id="opcd" type="STRING" size="256"/>
  233. <Column id="opengnm" type="STRING" size="256"/>
  234. <Column id="ophngnm" type="STRING" size="256"/>
  235. <Column id="useflag" type="STRING" size="256"/>
  236. <Column id="appdd" type="STRING" size="256"/>
  237. <Column id="termtodd" type="STRING" size="256"/>
  238. <Column id="perfdrnm" type="STRING" size="256"/>
  239. <Column id="dispopcd" type="STRING" size="256"/>
  240. <Column id="ccrtno" type="STRING" size="256"/>
  241. <Column id="opposturecd" type="STRING" size="256"/>
  242. <Column id="opdirecflag" type="STRING" size="256"/>
  243. <Column id="anstmthdcd" type="STRING" size="256"/>
  244. <Column id="opcntmdg" type="STRING" size="256"/>
  245. <Column id="usehours" type="STRING" size="256"/>
  246. <Column id="usemins" type="STRING" size="256"/>
  247. <Column id="uptstat" type="STRING" size="256"/>
  248. </ColumnInfo>
  249. </Dataset>
  250. <Dataset id="ds_main_copydiagcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_copydiagcdlist_oncolumnchanged">
  251. <ColumnInfo>
  252. <Column id="chkflag" type="STRING" size="256"/>
  253. <Column id="opcd" type="STRING" size="256"/>
  254. <Column id="opengnm" type="STRING" size="256"/>
  255. <Column id="ophngnm" type="STRING" size="256"/>
  256. <Column id="useflag" type="STRING" size="256"/>
  257. <Column id="appdd" type="STRING" size="256"/>
  258. <Column id="dispopcd" type="STRING" size="256"/>
  259. <Column id="ccrtno" type="STRING" size="256"/>
  260. <Column id="opposturecd" type="STRING" size="256"/>
  261. <Column id="opdirecflag" type="STRING" size="256"/>
  262. <Column id="anstmthdcd" type="STRING" size="256"/>
  263. <Column id="opcntmdg" type="STRING" size="256"/>
  264. <Column id="usehours" type="STRING" size="256"/>
  265. <Column id="usemins" type="STRING" size="256"/>
  266. </ColumnInfo>
  267. </Dataset>
  268. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  269. <ColumnInfo>
  270. <Column id="indxflag" type="STRING" size="256" sumtext="indx구분"/>
  271. <Column id="orddept" type="STRING" size="256"/>
  272. <Column id="perfdeptcd" type="STRING" size="256" sumtext="집도과"/>
  273. <Column id="perfdrid" type="STRING" size="256" sumtext="집도의"/>
  274. <Column id="useflag" type="STRING" size="256" sumtext="사용구분"/>
  275. <Column id="cartgubn" type="STRING" size="256" sumtext="카트구분"/>
  276. </ColumnInfo>
  277. <Rows>
  278. <Row/>
  279. </Rows>
  280. </Dataset>
  281. <Dataset id="ds_main_indxcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  282. <ColumnInfo>
  283. <Column id="levl" type="STRING" size="256" sumtext="레벨"/>
  284. <Column id="indxcd" type="STRING" size="256" sumtext="index코드"/>
  285. <Column id="upindxcd" type="STRING" size="256" sumtext="상위index코드"/>
  286. <Column id="hngnm" type="STRING" size="256" sumtext="index한글명"/>
  287. <Column id="engnm" type="STRING" size="256" sumtext="index영문명"/>
  288. </ColumnInfo>
  289. <Rows>
  290. <Row/>
  291. </Rows>
  292. </Dataset>
  293. <Dataset id="ds_init_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  294. <ColumnInfo>
  295. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  296. <Column id="depthngnm" type="STRING" size="256" sumtext="부서코드통합마스터의통합부서명"/>
  297. <Column id="depthngabbr" type="STRING" size="256" sumtext="부서한글약어"/>
  298. <Column id="deptengnm" type="STRING" size="256" sumtext="부서코드의영문명칭"/>
  299. <Column id="deptengabbr" type="STRING" size="256" sumtext="진료과가사용하고있는영문약어"/>
  300. <Column id="deptplce" type="STRING" size="256" sumtext="부서위치(층정보+부서명으로Text구성)"/>
  301. </ColumnInfo>
  302. <Rows>
  303. <Row/>
  304. </Rows>
  305. </Dataset>
  306. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  307. <ColumnInfo>
  308. <Column id="searchitem" type="STRING" size="256" sumtext="부서코드또는부서명"/>
  309. <Column id="flag" type="STRING" size="256" sumtext="부서코드or명flag"/>
  310. <Column id="selectflag" type="STRING" size="256" sumtext="조회구분"/>
  311. <Column id="deptflag" type="STRING" size="256" sumtext="(수술)부서조회구분"/>
  312. </ColumnInfo>
  313. <Rows>
  314. <Row/>
  315. </Rows>
  316. </Dataset>
  317. <Dataset id="ds_init_M0016" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  318. <ColumnInfo>
  319. <Column id="cdid" type="STRING" size="256"/>
  320. <Column id="cdnm" type="STRING" size="256"/>
  321. </ColumnInfo>
  322. </Dataset>
  323. <Dataset id="ds_init_M0357" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  324. <ColumnInfo>
  325. <Column id="cdid" type="STRING" size="256"/>
  326. <Column id="cdnm" type="STRING" size="256"/>
  327. </ColumnInfo>
  328. </Dataset>
  329. <Dataset id="ds_init_M0017" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  330. <ColumnInfo>
  331. <Column id="cdid" type="STRING" size="256"/>
  332. <Column id="cdnm" type="STRING" size="256"/>
  333. </ColumnInfo>
  334. </Dataset>
  335. <Dataset id="ds_init_M0341" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  336. <ColumnInfo>
  337. <Column id="cdid" type="STRING" size="256"/>
  338. <Column id="cdnm" type="STRING" size="256"/>
  339. </ColumnInfo>
  340. </Dataset>
  341. <Dataset id="ds_init_drlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  342. <ColumnInfo>
  343. <Column id="drid" type="STRING" size="256" sumtext="의사아이디"/>
  344. <Column id="drnm" type="STRING" size="256" sumtext="의사명"/>
  345. </ColumnInfo>
  346. <Rows>
  347. <Row/>
  348. </Rows>
  349. </Dataset>
  350. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  351. <ColumnInfo>
  352. <Column id="m" type="STRING" size="256" sumtext="상태값"/>
  353. <Column id="opcd" type="STRING" size="256" sumtext="수술코드"/>
  354. <Column id="orddeptcd" type="STRING" size="256" sumtext="집도과"/>
  355. <Column id="perfid" type="STRING" size="256" sumtext="집도의"/>
  356. <Column id="cartgubn" type="STRING" size="256" sumtext="부서구분(수술:O,마취:A,회복:R)"/>
  357. <Column id="useflag" type="STRING" size="256" sumtext="사용구분"/>
  358. <Column id="deptinit" type="STRING" size="256" sumtext="부서영문약어"/>
  359. <Column id="ccrtno" type="STRING" size="256" sumtext="카트번호"/>
  360. <Column id="opusetm" type="STRING" size="256" sumtext="수술소요시간"/>
  361. <Column id="opposturecd" type="STRING" size="256" sumtext="수술체위"/>
  362. <Column id="opdirecflag" type="STRING" size="256" sumtext="수술위치"/>
  363. <Column id="anstmthdcd" type="STRING" size="256" sumtext="마취방법"/>
  364. <Column id="opcntmdg" type="STRING" size="256" sumtext="수술창상"/>
  365. </ColumnInfo>
  366. <Rows>
  367. <Row/>
  368. </Rows>
  369. </Dataset>
  370. <Dataset id="ds_init_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  371. <ColumnInfo>
  372. <Column id="rgstdeptcd" type="STRING" size="256"/>
  373. <Column id="rgstperf" type="STRING" size="256"/>
  374. <Column id="useflag" type="STRING" size="256"/>
  375. <Column id="copdeptcd" type="STRING" size="256"/>
  376. <Column id="copperf" type="STRING" size="256"/>
  377. <Column id="copgubn" type="STRING" size="256"/>
  378. <Column id="cartgubn" type="STRING" size="256"/>
  379. <Column id="refopnm" type="STRING" size="256"/>
  380. <Column id="refcond" type="STRING" size="256"/>
  381. </ColumnInfo>
  382. <Rows>
  383. <Row>
  384. <Col id="cartgubn">O</Col>
  385. <Col id="refcond">ALL</Col>
  386. </Row>
  387. </Rows>
  388. </Dataset>
  389. <Dataset id="ds_rdo_yn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  390. <ColumnInfo>
  391. <Column id="cdid" type="STRING" size="256"/>
  392. <Column id="cdnm" type="STRING" size="256"/>
  393. </ColumnInfo>
  394. <Rows>
  395. <Row>
  396. <Col id="cdnm">전체</Col>
  397. </Row>
  398. <Row>
  399. <Col id="cdnm">Y</Col>
  400. <Col id="cdid">Y</Col>
  401. </Row>
  402. <Row>
  403. <Col id="cdnm">N</Col>
  404. <Col id="cdid">N</Col>
  405. </Row>
  406. </Rows>
  407. </Dataset>
  408. <Dataset id="ds_init_drid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  409. <ColumnInfo>
  410. <Column id="drid" type="STRING" size="256" sumtext="의사아이디"/>
  411. <Column id="drnm" type="STRING" size="256" sumtext="의사명"/>
  412. </ColumnInfo>
  413. <Rows>
  414. <Row/>
  415. </Rows>
  416. </Dataset>
  417. <Dataset id="ds_init_drid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  418. <ColumnInfo>
  419. <Column id="drid" type="STRING" size="256" sumtext="의사아이디"/>
  420. <Column id="drnm" type="STRING" size="256" sumtext="의사명"/>
  421. </ColumnInfo>
  422. <Rows>
  423. <Row/>
  424. </Rows>
  425. </Dataset>
  426. <Dataset id="ds_hidden_updatelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  427. <Dataset id="ds_rdo_cart" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  428. <ColumnInfo>
  429. <Column id="cdid" type="STRING" size="256"/>
  430. <Column id="cdnm" type="STRING" size="256"/>
  431. </ColumnInfo>
  432. <Rows>
  433. <Row>
  434. <Col id="cdid">N</Col>
  435. <Col id="cdnm">수술명</Col>
  436. </Row>
  437. <Row>
  438. <Col id="cdid">C</Col>
  439. <Col id="cdnm">수술명+Cart물품</Col>
  440. </Row>
  441. </Rows>
  442. </Dataset>
  443. <Dataset id="ds_cmb_usemins" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  444. <ColumnInfo>
  445. <Column id="cdid" type="STRING" size="256"/>
  446. <Column id="cdnm" type="STRING" size="256"/>
  447. </ColumnInfo>
  448. <Rows>
  449. <Row>
  450. <Col id="cdid">00</Col>
  451. <Col id="cdnm">00</Col>
  452. </Row>
  453. <Row>
  454. <Col id="cdid">10</Col>
  455. <Col id="cdnm">10</Col>
  456. </Row>
  457. <Row>
  458. <Col id="cdid">20</Col>
  459. <Col id="cdnm">20</Col>
  460. </Row>
  461. <Row>
  462. <Col id="cdid">30</Col>
  463. <Col id="cdnm">30</Col>
  464. </Row>
  465. <Row>
  466. <Col id="cdid">40</Col>
  467. <Col id="cdnm">40</Col>
  468. </Row>
  469. <Row>
  470. <Col id="cdid">50</Col>
  471. <Col id="cdnm">50</Col>
  472. </Row>
  473. </Rows>
  474. </Dataset>
  475. <Dataset id="ds_send_copylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  476. </Objects>
  477. <Bind>
  478. <BindItem id="item0" compid="cmb_orddept" propid="value" datasetid="ds_init_cond" columnid="rgstdeptcd"/>
  479. <BindItem id="item1" compid="cmb_perf" propid="value" datasetid="ds_init_cond" columnid="rgstperf"/>
  480. <BindItem id="item3" compid="cmb_orddept2" propid="value" datasetid="ds_init_cond" columnid="copdeptcd"/>
  481. <BindItem id="item4" compid="cmb_perf2" propid="value" datasetid="ds_init_cond" columnid="copperf"/>
  482. <BindItem id="item2" compid="grp_sea.checkbox1" propid="value" datasetid="ds_init_cond" columnid="refcond"/>
  483. <BindItem id="item5" compid="grp_sea.input1" propid="value" datasetid="ds_init_cond" columnid="refopnm"/>
  484. </Bind>
  485. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  486. * System Name :
  487. * Job Name :
  488. * Creator :
  489. * Make Date : 2014-09-03
  490. * Description :
  491. *---------------------------------------------------------------------------------------
  492. * Modify Date Modifier Modify Description
  493. *---------------------------------------------------------------------------------------
  494. * 2014-09-03 Live Converter TF->XP
  495. *
  496. *---------------------------------------------------------------------------------------
  497. ****************************************************************************************/
  498. //=======================================================================================
  499. // Lib Include
  500. //---------------------------------------------------------------------------------------
  501. include "com_commonxp::comm_main.xjs"
  502. include "emr_prcpmngtxp::MMO001.xjs"
  503. include "emr_opanstxp::SMMNP01500.xjs"
  504. include "com_departmentcodexp::ZSD001.xjs"
  505. include "emr_carecomxp::CareCom.xjs"
  506. include "emr_carecomxp::SPMNZ001.xjs"
  507. //=======================================================================================
  508. // Event
  509. //---------------------------------------------------------------------------------------
  510. /****************************************************************************************
  511. * Components : Form
  512. * Components ID : SMMNP01500
  513. * Event : oninit
  514. * Argument : 01.obj : Object Event has occurred
  515. * : 02.e : Event Object
  516. * Description : 화면 처음 열릴때 초기화 실행
  517. ****************************************************************************************/
  518. function SMMNP01500_oninit(obj:Form, e:InitEventInfo)
  519. {
  520. frmf_initForm(obj); // 폼 초기화
  521. grdf_initGrid(grd_cartlist);
  522. }
  523. /****************************************************************************************
  524. * Components : Form
  525. * Components ID : SMMNP01500
  526. * Event : onload
  527. * Argument : 01.obj : Object Event has occurred
  528. * : 02.e : Event Object
  529. * Description : 화면오픈시 폼load이후 실행
  530. ****************************************************************************************/
  531. function SMMNP01500_onload(obj:Form, e:LoadEventInfo)
  532. {
  533. radio1.setInitComp("col=3,row=1,cellspacing=2", ds_rdo_yn,"cdid","cdnm","fn_rdoEvent_yn");
  534. rd_copyflag.setInitComp("col=3,row=1,cellspacing=6", ds_rdo_cart,"cdid","cdnm","fn_rdoEvent_cart");
  535. fFormInit();
  536. }
  537. /****************************************************************************************
  538. * Components : Combo
  539. * Components ID : cmb_orddept
  540. * Event : onitemchanged
  541. * Argument : 01.obj : Object Event has occurred
  542. * : 02.e : Event Object
  543. * Description :
  544. ****************************************************************************************/
  545. function cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  546. {
  547. fDrCombo(1, ds_init_cond.getColumn(0,"rgstdeptcd")); // 수술명 등록용 집도(마취의) 가져오기
  548. }
  549. /****************************************************************************************
  550. * Components : Button
  551. * Components ID : button4
  552. * Event : onclick
  553. * Argument : 01.obj : Object Event has occurred
  554. * : 02.e : Event Object
  555. * Description :
  556. ****************************************************************************************/
  557. function button4_onclick(obj:Button, e:ClickEventInfo)
  558. {
  559. fSearchCartList();
  560. }
  561. /****************************************************************************************
  562. * Components : Button
  563. * Components ID : grp_sea.btn_search
  564. * Event : onclick
  565. * Argument : 01.obj : Object Event has occurred
  566. * : 02.e : Event Object
  567. * Description :
  568. ****************************************************************************************/
  569. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  570. {
  571. fReqGetICD9CDList("1");
  572. }
  573. /****************************************************************************************
  574. * Components : Button
  575. * Components ID : grp_grid.sta_tabbtn
  576. * Event : onclick
  577. * Argument : 01.obj : Object Event has occurred
  578. * : 02.e : Event Object
  579. * Description :
  580. ****************************************************************************************/
  581. function grp_grid_sta_tabbtn_onclick(obj:Static, e:ClickEventInfo)
  582. {
  583. grp_grid.switch1.tabindex = 0;
  584. fReqGetIndxList();
  585. }
  586. /****************************************************************************************
  587. * Components : Button
  588. * Components ID : bbt_excel
  589. * Event : onclick
  590. * Argument : 01.obj : Object Event has occurred
  591. * : 02.e : Event Object
  592. * Description :
  593. ****************************************************************************************/
  594. function bbt_excel_onclick(obj:Button, e:ClickEventInfo)
  595. {
  596. if(ds_main_diagcdlist.rowcount > 0) {
  597. grdf_exportExcel(grd_cartlist,"수술명등록리스트","sheet1");
  598. sysf_messageBox("저장이 ", "I002");
  599. } else {
  600. sysf_messageBox("조회된 데이터가 ", "I004");
  601. }
  602. }
  603. /****************************************************************************************
  604. * Components : Button
  605. * Components ID : button6
  606. * Event : onclick
  607. * Argument : 01.obj : Object Event has occurred
  608. * : 02.e : Event Object
  609. * Description :
  610. ****************************************************************************************/
  611. function button6_onclick(obj:Button, e:ClickEventInfo)
  612. {
  613. fOpNmSave("D");
  614. }
  615. /****************************************************************************************
  616. * Components : cp_radioList
  617. * Components ID : fn_rdoEvent_yn
  618. * Event :
  619. * Argument :
  620. * Description : 사용여부 세팅
  621. ****************************************************************************************/
  622. function fn_rdoEvent_yn(){
  623. ds_init_cond.setColumn(0,"useflag",radio1.getData());
  624. }
  625. /****************************************************************************************
  626. * Components : cp_radioList
  627. * Components ID : fn_rdoEvent_yn
  628. * Event :
  629. * Argument :
  630. * Description : 수술명 조회조건
  631. ****************************************************************************************/
  632. function fn_rdoEvent_cart(){
  633. ds_init_cond.setColumn(0,"copgubn",ds_rdo_cart.getData());
  634. }
  635. /****************************************************************************************
  636. * Components : Combo
  637. * Components ID : cmb_orddept2
  638. * Event : onitemchanged
  639. * Argument : 01.obj : Object Event has occurred
  640. * : 02.e : Event Object
  641. * Description : 복사데이터 집도과 조회조건 변경
  642. ****************************************************************************************/
  643. function cmb_orddept2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  644. {
  645. fDrCombo(2, ds_init_cond.getColumn(0,"copdeptcd")); //수술명 복사용 집도(마취의) 가져오기
  646. }
  647. /****************************************************************************************
  648. * Components : Grid
  649. * Components ID : grp_grid.switch1.icd9.trv_icd9indxcdlist
  650. * Event : onlbuttonup
  651. * Argument : 01.obj : Object Event has occurred
  652. * : 02.e : Event Object
  653. * Description : ICD9 색인 선택시 수술명 조회
  654. ****************************************************************************************/
  655. function grp_grid_switch1_icd9_trv_icd9indxcdlist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  656. {
  657. if(e.row > -1) {
  658. fReqGetICD9CDList("2");
  659. }
  660. }
  661. /****************************************************************************************
  662. * Components : Button
  663. * Components ID : button3
  664. * Event : onclick
  665. * Argument : 01.obj : Object Event has occurred
  666. * : 02.e : Event Object
  667. * Description : 수술명 등록 버튼 클릭
  668. ****************************************************************************************/
  669. function button3_onclick(obj:Button, e:ClickEventInfo)
  670. {
  671. fOpNmSave("I");
  672. }
  673. /****************************************************************************************
  674. * Components : Dataset
  675. * Components ID : ds_main_diagcdlist
  676. * Event : oncolumnchanged
  677. * Argument : 01.obj : Object Event has occurred
  678. * : 02.e : Event Object
  679. * Description : 수술명 등록할 데이터 수정
  680. ****************************************************************************************/
  681. function ds_main_diagcdlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  682. {
  683. var selRow = e.row;
  684. var selCol = e.col;
  685. if(e.columnid == "usehours" ){
  686. obj.setColumn(selRow,"usehours",fCheckUseHours("original", selRow));
  687. }
  688. if(e.columnid != "chkflag" ){
  689. dsf_makeValue(obj,"chkflag","string","true" ,selRow);
  690. dsf_makeValue(obj,"uptstat","string","U" ,selRow);
  691. }
  692. if(e.columnid == "chkflag") {
  693. obj.setColumn(selRow,"chkflag",(e.newvalue=="true"||e.newvalue==1)?"true":"false");
  694. }
  695. }
  696. /****************************************************************************************
  697. * Components : Button
  698. * Components ID : button5
  699. * Event : onclick
  700. * Argument : 01.obj : Object Event has occurred
  701. * : 02.e : Event Object
  702. * Description : 초기화 버튼 클릭
  703. ****************************************************************************************/
  704. function button5_onclick(obj:Button, e:ClickEventInfo)
  705. {
  706. fClear();
  707. }
  708. /****************************************************************************************
  709. * Components : Button
  710. * Components ID : button7
  711. * Event : onclick
  712. * Argument : 01.obj : Object Event has occurred
  713. * : 02.e : Event Object
  714. * Description : 복사 버튼 클릭
  715. ****************************************************************************************/
  716. function button7_onclick(obj:Button, e:ClickEventInfo)
  717. {
  718. fOpCopy();
  719. }
  720. /****************************************************************************************
  721. * Components : ImageViewer
  722. * Components ID : img1onclick
  723. * Event : onclick
  724. * Argument : 01.obj : Object Event has occurred
  725. * : 02.e : Event Object
  726. * Description : 아래 화살표 클릭
  727. ****************************************************************************************/
  728. function img1_onclick(obj:ImageViewer, e:ClickEventInfo)
  729. {
  730. fSelectOpNm();
  731. }
  732. /****************************************************************************************
  733. * Components : Dataset
  734. * Components ID : ds_main_copydiagcdlist
  735. * Event : oncolumnchanged
  736. * Argument : 01.obj : Object Event has occurred
  737. * : 02.e : Event Object
  738. * Description : 체크박스 설정
  739. ****************************************************************************************/
  740. function ds_main_copydiagcdlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  741. {
  742. if(e.columnid == "chkflag") {
  743. obj.setColumn(e.row,e.columnid,(e.newvalue=="true"||e.newvalue==1)?"true":"false");
  744. }
  745. }
  746. ]]></Script>
  747. </Form>
  748. </FDL>