SPMNP01802_수술마취CART복사조회IMPORT.xfdl 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMNP01802" position="absolute 0 0 1136 620" titletext="Cart복사 조회" oninit="SPMNP01802_oninit" onload="SPMNP01802_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1135 620" id="grp_cartmain" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 0 415 620" id="group2" anchor="left top bottom">
  11. <Layouts>
  12. <Layout>
  13. <Static text="집도과" position="absolute 0 4 65 20" align="align:center middle;" id="caption2" class="tit_2" anchor="default"/>
  14. <Grid position="absolute 207 22 412 252" id="grd_perfid" binddataset="ds_main_MnpmcartList_perfid_codelist" oncellclick="grp_cartmain_group2_grd_perfid_oncellclick" anchor="default" autofittype="col" selecttype="multirow" cellsizingtype="both">
  15. <Formats>
  16. <Format id="default">
  17. <Columns>
  18. <Column size="70"/>
  19. <Column size="70"/>
  20. <Column size="40"/>
  21. <Column size="0"/>
  22. <Column size="0"/>
  23. </Columns>
  24. <Rows>
  25. <Row size="24" band="head"/>
  26. <Row size="24"/>
  27. </Rows>
  28. <Band id="head">
  29. <Cell text="사번"/>
  30. <Cell col="1" text="이름"/>
  31. <Cell col="2" text="사용"/>
  32. <Cell col="3"/>
  33. <Cell col="4"/>
  34. </Band>
  35. <Band id="body">
  36. <Cell style="align:left;" text="bind:datacd" tooltiptext="bind:datacd"/>
  37. <Cell col="1" style="align:left;" text="bind:datanm" tooltiptext="bind:datanm"/>
  38. <Cell col="2" style="align:right;" text="bind:ncnt" tooltiptext="bind:ncnt"/>
  39. <Cell col="3" text="bind:ucnt"/>
  40. <Cell col="4" text="bind:tcnt"/>
  41. </Band>
  42. </Format>
  43. </Formats>
  44. </Grid>
  45. <CheckBox position="absolute 68 4 203 19" id="chk_useyn" text="사용중인 처방만 보기" onclick="grp_cartmain_group2_chk_useyn_onclick" anchor="default"/>
  46. <Grid position="absolute 0 22 204 252" id="grd_orddept" binddataset="ds_main_MnpmcartList_orddeptcd_codelist" oncellclick="grp_cartmain_group2_grd_orddept_oncellclick" anchor="default" autofittype="col" selecttype="multirow" cellsizingtype="both">
  47. <Formats>
  48. <Format id="default">
  49. <Columns>
  50. <Column size="139"/>
  51. <Column size="45"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. </Columns>
  56. <Rows>
  57. <Row size="24" band="head"/>
  58. <Row size="24"/>
  59. </Rows>
  60. <Band id="head">
  61. <Cell text="집도과"/>
  62. <Cell col="1" text="사용"/>
  63. <Cell col="2"/>
  64. <Cell col="3"/>
  65. <Cell col="4"/>
  66. </Band>
  67. <Band id="body">
  68. <Cell style="align:left top;padding:5 2 0 2;" text="bind:datanm" wordwrap="char" tooltiptext="bind:datanm"/>
  69. <Cell col="1" style="align:right;" text="bind:tcnt" tooltiptext="bind:tcnt"/>
  70. <Cell col="2" text="bind:datacd"/>
  71. <Cell col="3" text="bind:ucnt"/>
  72. <Cell col="4" text="bind:ncnt"/>
  73. </Band>
  74. </Format>
  75. </Formats>
  76. </Grid>
  77. <Grid position="absolute 0 275 412 620" id="grd_ccrtno" binddataset="ds_main_MnpmcartList_ccrtno_codelist" oncellclick="grp_cartmain_group2_grd_ccrtno_oncellclick" onheaddblclick="grp_cartmain_group2_grd_ccrtno_onheaddblclick" anchor="left top bottom" autofittype="col" selecttype="multirow" cellsizingtype="both">
  78. <Formats>
  79. <Format id="default">
  80. <Columns>
  81. <Column size="95"/>
  82. <Column size="238"/>
  83. <Column size="238"/>
  84. <Column size="52"/>
  85. <Column size="0"/>
  86. <Column size="0"/>
  87. </Columns>
  88. <Rows>
  89. <Row size="24" band="head"/>
  90. <Row size="24"/>
  91. </Rows>
  92. <Band id="head">
  93. <Cell text="Cart코드"/>
  94. <Cell col="1" text="수술한글명(더블클릭시영문명이보임)"/>
  95. <Cell col="2" text="수술영문명(더블클릭시한글명이보임)"/>
  96. <Cell col="3" text="사용"/>
  97. <Cell col="4"/>
  98. <Cell col="5"/>
  99. </Band>
  100. <Band id="body">
  101. <Cell style="align:left;" text="bind:datacd" tooltiptext="bind:datacd"/>
  102. <Cell col="1" style="align:left top;padding:5 2 0 2;" text="bind:datanm" wordwrap="char" tooltiptext="bind:datanm"/>
  103. <Cell col="2" style="align:left top;padding:5 2 0 2;" text="bind:opengnm" wordwrap="char" tooltiptext="bind:opengnm"/>
  104. <Cell col="3" style="align:right;" text="bind:tcnt"/>
  105. <Cell col="4" text="bind:ucnt"/>
  106. <Cell col="5" text="bind:ncnt"/>
  107. </Band>
  108. </Format>
  109. </Formats>
  110. </Grid>
  111. <Edit position="absolute 75 253 368 273" id="ipt_opnm" onkeydown="grp_cartmain_group2_ipt_opnm_onkeydown" anchor="default" autoselect="true"/>
  112. <Button position="absolute 370 254 412 274" id="button1" class="btn2" text="조회" onclick="grp_cartmain_group2_button1_onclick" anchor="default"/>
  113. <Static text="수술명" position="absolute 0 253 73 273" align="align:center middle;" id="caption1" class="cell_1" anchor="default"/>
  114. </Layout>
  115. </Layouts>
  116. </Div>
  117. <Grid position="absolute 415 22 1135 620" id="grd_good" binddataset="ds_main_MnphcagoLists_mnphcagolist" autosizingtype="row" onheadclick="grp_cartmain_grd_good_onheadclick" anchor="all" autofittype="col" selecttype="multirow" cellsizingtype="both" extendsizetype="row">
  118. <Formats>
  119. <Format id="default">
  120. <Columns>
  121. <Column size="22"/>
  122. <Column size="67"/>
  123. <Column size="35"/>
  124. <Column size="35"/>
  125. <Column size="210"/>
  126. <Column size="85"/>
  127. <Column size="80"/>
  128. <Column size="80"/>
  129. <Column size="50"/>
  130. <Column size="0"/>
  131. <Column size="40"/>
  132. <Column size="0"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. <Column size="0"/>
  139. <Column size="0"/>
  140. <Column size="0"/>
  141. <Column size="0"/>
  142. <Column size="0"/>
  143. <Column size="0"/>
  144. <Column size="0"/>
  145. <Column size="0"/>
  146. <Column size="0"/>
  147. <Column size="0"/>
  148. <Column size="0"/>
  149. <Column size="0"/>
  150. <Column size="0"/>
  151. <Column size="0"/>
  152. </Columns>
  153. <Rows>
  154. <Row size="24" band="head"/>
  155. <Row size="24"/>
  156. </Rows>
  157. <Band id="head">
  158. <Cell displaytype="checkbox" edittype="checkbox" expr="0"/>
  159. <Cell col="1" text="물품"/>
  160. <Cell col="2" text="SUB"/>
  161. <Cell col="3" text="산정"/>
  162. <Cell col="4" text="물품명"/>
  163. <Cell col="5" text="규격"/>
  164. <Cell col="6" text="모델"/>
  165. <Cell col="7" text="제조원"/>
  166. <Cell col="8" text="단위"/>
  167. <Cell col="9" text="급여"/>
  168. <Cell col="10" text="수량"/>
  169. <Cell col="11" text="CaseCart 번호"/>
  170. <Cell col="12" text="Cart물품순번"/>
  171. <Cell col="13" text="기관코드"/>
  172. <Cell col="14" text="물품구분"/>
  173. <Cell col="15" text="불출단위"/>
  174. <Cell col="16" text="물품등록일자"/>
  175. <Cell col="17" text="물품종료일자"/>
  176. <Cell col="18" text="체크"/>
  177. <Cell col="19" text="기록상태"/>
  178. <Cell col="20" text="거래처명"/>
  179. <Cell col="21" text="사용구분"/>
  180. <Cell col="22" text="물품구분"/>
  181. <Cell col="23" text="처방구분"/>
  182. <Cell col="24" text="Drug용법코드"/>
  183. <Cell col="25" text="재고량"/>
  184. <Cell col="26" text="기준누적수량"/>
  185. <Cell col="27" text="청구구분"/>
  186. <Cell col="28" text="구매구분"/>
  187. <Cell col="29" text="산정여부"/>
  188. <Cell col="30" text="수가코드"/>
  189. </Band>
  190. <Band id="body">
  191. <Cell displaytype="checkbox" edittype="checkbox" text="bind:fcheck"/>
  192. <Cell col="1" style="align:center top;padding:5 2 0 2;" text="bind:goodcd" wordwrap="word" tooltiptext="bind:goodcd" autosizerow="limitmin"/>
  193. <Cell col="2" text="bind:allsizespecid"/>
  194. <Cell col="3" text="bind:calculyn"/>
  195. <Cell col="4" style="align:left top;padding:5 2 0 2;" text="bind:goodengnm" wordwrap="word" tooltiptext="bind:goodengnm" autosizerow="limitmin"/>
  196. <Cell col="5" style="align:left top;padding:5 2 0 2;" text="bind:goodspec" wordwrap="word" tooltiptext="bind:goodspec" autosizerow="limitmin"/>
  197. <Cell col="6" style="align:left top;padding:5 2 0 2;" text="bind:goodmodel" wordwrap="word" tooltiptext="bind:goodmodel" autosizerow="limitmin"/>
  198. <Cell col="7" style="align:left top;padding:5 2 0 2;" text="bind:makernm" wordwrap="word" tooltiptext="bind:makernm" autosizerow="limitmin"/>
  199. <Cell col="8" text="bind:prcpunit" tooltiptext="bind:prcpunit"/>
  200. <Cell col="9" displaytype="combo" text="bind:payflagcd" combodataset="ds_payflagcd" combocodecol="value" combodatacol="label" enable="false"/>
  201. <Cell col="10" text="bind:goodqty" tooltiptext="bind:goodqty"/>
  202. <Cell col="11" text="bind:ccrtno"/>
  203. <Cell col="12" text="bind:cartgoodseq"/>
  204. <Cell col="13" text="bind:instcd"/>
  205. <Cell col="14" text="bind:goodcls"/>
  206. <Cell col="15" text="bind:deliveunit"/>
  207. <Cell col="16" text="bind:fromdd"/>
  208. <Cell col="17" text="bind:todd"/>
  209. <Cell col="18" text="bind:fcheck"/>
  210. <Cell col="19" text="bind:recstat"/>
  211. <Cell col="20" text="bind:custnm"/>
  212. <Cell col="21" text="bind:useflag"/>
  213. <Cell col="22" text="bind:goodflag"/>
  214. <Cell col="23" text="bind:prcpclscd"/>
  215. <Cell col="24" text="bind:drugmthdspccd"/>
  216. <Cell col="25" text="bind:stocqty"/>
  217. <Cell col="26" text="bind:acmlbaseqty"/>
  218. <Cell col="27" text="bind:reqmthd"/>
  219. <Cell col="28" text="bind:purcflag"/>
  220. <Cell col="29" text="bind:calcscorcd"/>
  221. <Cell col="30" text="bind:insuyn"/>
  222. </Band>
  223. </Format>
  224. </Formats>
  225. </Grid>
  226. <Button position="absolute 1093 0 1135 20" id="bbt_append2" class="btn2" text="추가" onclick="grp_cartmain_bbt_append2_onclick" anchor="top right"/>
  227. <Button position="absolute 1027 0 1091 20" id="button12" class="btn2" text="엑셀저장" onclick="grp_cartmain_button12_onclick" anchor="top right"/>
  228. <Combo position="absolute 925 0 1025 20" id="cmb_grupcd" innerdataset="@ds_init_basecodeinfo_baseinfolist" datacolumn="cdnm" codecolumn="cdid" anchor="top right"/>
  229. </Layout>
  230. </Layouts>
  231. </Div>
  232. </Layout>
  233. </Layouts>
  234. <Objects>
  235. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  236. <ColumnInfo>
  237. <Column id="cdgrupid" type="STRING" size="256" sumtext="그룹아이디"/>
  238. <Column id="cdid" type="STRING" size="256" sumtext="아이디"/>
  239. <Column id="supcdid" type="STRING" size="256" sumtext="상위"/>
  240. <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
  241. </ColumnInfo>
  242. <Rows>
  243. <Row/>
  244. </Rows>
  245. </Dataset>
  246. <Dataset id="ds_init_hardcodeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  247. <ColumnInfo>
  248. <Column id="cdid" type="STRING" size="256" sumtext="단위코드"/>
  249. <Column id="cdnm" type="STRING" size="256" sumtext="단위명"/>
  250. </ColumnInfo>
  251. </Dataset>
  252. <Dataset id="ds_main_baseinfo_baseinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  253. <ColumnInfo>
  254. <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
  255. <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
  256. <Column id="valifromdd" type="STRING" size="256" sumtext="유효시작일자"/>
  257. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  258. <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
  259. <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
  260. <Column id="sortseq" type="STRING" size="256" sumtext="정렬순서"/>
  261. <Column id="valitodd" type="STRING" size="256" sumtext="유효종료일자"/>
  262. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자"/>
  263. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  264. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
  265. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  266. <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
  267. </ColumnInfo>
  268. </Dataset>
  269. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  270. <ColumnInfo>
  271. <Column id="orddeptcd" type="STRING" size="256" sumtext=" 진료과 "/>
  272. <Column id="perfid" type="STRING" size="256" sumtext=" 집도의 "/>
  273. <Column id="ccrtno" type="STRING" size="256" sumtext=" CaseCart 번호 "/>
  274. <Column id="useflag" type="STRING" size="256" sumtext=" 사용여부 "/>
  275. <Column id="qryflag" type="STRING" size="256" sumtext=" Query 구분 1:진료과,2:집도의,2:CART 코드"/>
  276. <Column id="countyn" type="STRING" size="256" sumtext=" CART물품여부 "/>
  277. <Column id="cartgubn" type="STRING" size="256" sumtext=" Cart구분(O:수술,A:마취) "/>
  278. <Column id="anstkind" type="STRING" size="256" sumtext=" 마취종류(코드정의서 M0017 참조) "/>
  279. <Column id="anstageflag" type="STRING" size="256" sumtext=" 수술마취나이구분(코드 M0246 참조) "/>
  280. <Column id="callflag" type="STRING" size="256" sumtext="호출구분(CCDS:카트물픔등록 페이지)"/>
  281. <Column id="rgstyn" type="STRING" size="256" sumtext="등록여부"/>
  282. <Column id="refnm" type="STRING" size="256" sumtext="검색명"/>
  283. <Column id="condflag" type="STRING" size="256" sumtext="한글영문구분"/>
  284. <Column id="opuseflag" type="STRING" size="256" sumtext="수술명사용구분"/>
  285. <Column id="opnm" type="STRING" size="256" sumtext="수술명사용구분"/>
  286. <Column id="cartgoodseq" type="STRING" size="256" sumtext=" Cart물품순번 "/>
  287. <Column id="oprsrvno" type="STRING" size="256" sumtext=" 수술예약번호 "/>
  288. <Column id="selectflag" type="STRING" size="256" sumtext=" 발췌테이블구분 "/>
  289. <Column id="prcpflag" type="STRING" size="256" sumtext=" 진료처방자료존재구분 "/>
  290. <Column id="oproomcd" type="STRING" size="256" sumtext=" 수술방코드 "/>
  291. <Column id="menuparam" type="STRING" size="256" sumtext=" 사용구분 "/>
  292. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  293. <Column id="payflagcd" type="STRING" size="256" sumtext="급비여부"/>
  294. <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
  295. <Column id="purcflag" type="STRING" size="256" sumtext="그룹코드"/>
  296. <Column id="instcd" type="STRING" size="256"/>
  297. </ColumnInfo>
  298. <Rows>
  299. <Row/>
  300. </Rows>
  301. </Dataset>
  302. <Dataset id="ds_init_Wk1802_codelists_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  303. <ColumnInfo>
  304. <Column id="datacd" type="STRING" size="256" sumtext="진료과,집도의,CART 코드"/>
  305. <Column id="datanm" type="STRING" size="256" sumtext="진료과,집도의,CART 명칭"/>
  306. <Column id="opengnm" type="STRING" size="256" sumtext="진료과,집도의,CART 명칭"/>
  307. <Column id="ophngnm" type="STRING" size="256" sumtext="진료과,집도의,CART 명칭"/>
  308. <Column id="ucnt" type="STRING" size="256" sumtext="CART 사용건수 "/>
  309. <Column id="ncnt" type="STRING" size="256" sumtext="CART 미사용건수 "/>
  310. <Column id="tcnt" type="STRING" size="256" sumtext="총건수 "/>
  311. </ColumnInfo>
  312. </Dataset>
  313. <Dataset id="ds_init_Wk1802_MnphcagoLists_mnphcagolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  314. <ColumnInfo>
  315. <Column id="goodengnm" type="STRING" size="256" sumtext=" 01 물품명 "/>
  316. <Column id="makernm" type="STRING" size="256" sumtext=" 02 제조원 "/>
  317. <Column id="goodqty" type="STRING" size="256" sumtext=" 03 수량 "/>
  318. <Column id="ccrtno" type="STRING" size="256" sumtext=" 04 Cart No "/>
  319. <Column id="cartgoodseq" type="STRING" size="256" sumtext=" 05 물품순번 "/>
  320. <Column id="goodcd" type="STRING" size="256" sumtext=" 07 물품코드 "/>
  321. <Column id="allsizespecid" type="STRING" size="256" sumtext=" 08 Size 코드 "/>
  322. <Column id="payflagcd" type="STRING" size="256" sumtext=" 09 급여구분 "/>
  323. <Column id="goodcls" type="STRING" size="256" sumtext=" 10 물품(처치)구분 "/>
  324. <Column id="goodspec" type="STRING" size="256" sumtext=" 11 Size내역 "/>
  325. <Column id="goodmodel" type="STRING" size="256" sumtext=" 12 물품모델 "/>
  326. <Column id="deliveunit" type="STRING" size="256" sumtext=" 13 물품단위 "/>
  327. <Column id="prcpunit" type="STRING" size="256" sumtext=" 14 처방단위 "/>
  328. <Column id="fromdd" type="STRING" size="256" sumtext=" 15 시작일자 "/>
  329. <Column id="todd" type="STRING" size="256" sumtext=" 16 종료일자 "/>
  330. <Column id="fcheck" type="STRING" size="256" sumtext=" 17 Check Flag "/>
  331. <Column id="recstat" type="STRING" size="256" sumtext=" 18 Record 구분 "/>
  332. <Column id="custnm" type="STRING" size="256" sumtext=" 19 제조원 "/>
  333. <Column id="useflag" type="STRING" size="256" sumtext=" 20 사용구분 "/>
  334. <Column id="goodflag" type="STRING" size="256" sumtext=" 21 물품구분 "/>
  335. <Column id="prcpclscd" type="STRING" size="256" sumtext=" 22 처방분류 "/>
  336. <Column id="drugmthdspccd" type="STRING" size="256" sumtext=" 23 투여방법 및 검체코드 "/>
  337. <Column id="stocqty" type="STRING" size="256" sumtext=" 24 해당 수술방의 실재고 "/>
  338. <Column id="acmlbaseqty" type="STRING" size="256" sumtext=" 25 물품 기준수량 "/>
  339. <Column id="reqmthd" type="STRING" size="256" sumtext=" 26 청구방법 "/>
  340. <Column id="purcflag" type="STRING" size="256" sumtext=" 27 구매구분 "/>
  341. <Column id="calculyn" type="STRING" size="256" sumtext=" 28 산정여부 "/>
  342. <Column id="insuyn" type="STRING" size="256" sumtext=" 29 수가여부"/>
  343. <Column id="calcscorcd" type="STRING" size="256" sumtext=" 30 수가코드"/>
  344. <Column id="grupcd" type="STRING" size="256" sumtext=" 31 그룹코드 "/>
  345. <Column id="cartgubn" type="STRING" size="256" sumtext=" 31 그룹코드 "/>
  346. </ColumnInfo>
  347. </Dataset>
  348. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  349. <ColumnInfo>
  350. <Column id="cartgubn" type="STRING" size="256"/>
  351. </ColumnInfo>
  352. <Rows>
  353. <Row/>
  354. </Rows>
  355. </Dataset>
  356. <Dataset id="ds_init_Wk1802_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  357. <ColumnInfo>
  358. <Column id="insukind" type="STRING" size="256"/>
  359. <Column id="payflagcd" type="STRING" size="256"/>
  360. <Column id="useflag" type="STRING" size="256"/>
  361. <Column id="qryflag" type="STRING" size="256"/>
  362. <Column id="opnm" type="STRING" size="256"/>
  363. <Column id="ccrtno" type="STRING" size="256"/>
  364. <Column id="useyn" type="STRING" size="256"/>
  365. </ColumnInfo>
  366. <Rows>
  367. <Row/>
  368. </Rows>
  369. </Dataset>
  370. <Dataset id="ds_init_basecodeinfo_baseinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  371. <ColumnInfo>
  372. <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
  373. <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
  374. <Column id="valifromdd" type="STRING" size="256" sumtext="유효시작일자"/>
  375. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  376. <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
  377. <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
  378. <Column id="sortseq" type="STRING" size="256" sumtext="정렬순서"/>
  379. <Column id="valitodd" type="STRING" size="256" sumtext="유효종료일자"/>
  380. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자"/>
  381. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  382. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
  383. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  384. <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
  385. </ColumnInfo>
  386. </Dataset>
  387. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  388. <ColumnInfo>
  389. <Column id="grupcd" type="STRING" size="256"/>
  390. </ColumnInfo>
  391. <Rows>
  392. <Row/>
  393. </Rows>
  394. </Dataset>
  395. <Dataset id="ds_main_MnpmcartList_orddeptcd_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  396. <ColumnInfo>
  397. <Column id="datacd" type="STRING" size="256" sumtext="진료과,집도의,CART 코드"/>
  398. <Column id="datanm" type="STRING" size="256" sumtext="진료과,집도의,CART 명칭"/>
  399. <Column id="opengnm" type="STRING" size="256" sumtext="진료과,집도의,CART 명칭"/>
  400. <Column id="ophngnm" type="STRING" size="256" sumtext="진료과,집도의,CART 명칭"/>
  401. <Column id="ucnt" type="STRING" size="256" sumtext="CART 사용건수 "/>
  402. <Column id="ncnt" type="STRING" size="256" sumtext="CART 미사용건수 "/>
  403. <Column id="tcnt" type="STRING" size="256" sumtext="총건수 "/>
  404. </ColumnInfo>
  405. </Dataset>
  406. <Dataset id="ds_main_MnpmcartList_perfid_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  407. <ColumnInfo>
  408. <Column id="datacd" type="STRING" size="255"/>
  409. <Column id="datanm" type="STRING" size="255"/>
  410. <Column id="ucnt" type="BIGDECIMAL" size="255"/>
  411. <Column id="ncnt" type="BIGDECIMAL" size="255"/>
  412. <Column id="tcnt" type="BIGDECIMAL" size="255"/>
  413. </ColumnInfo>
  414. </Dataset>
  415. <Dataset id="ds_main_MnpmcartList_ccrtno_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  416. <ColumnInfo>
  417. <Column id="datacd" type="STRING" size="255"/>
  418. <Column id="datanm" type="STRING" size="255"/>
  419. <Column id="ophngnm" type="STRING" size="255"/>
  420. <Column id="opengnm" type="STRING" size="255"/>
  421. <Column id="ucnt" type="BIGDECIMAL" size="255"/>
  422. <Column id="ncnt" type="BIGDECIMAL" size="255"/>
  423. <Column id="tcnt" type="BIGDECIMAL" size="255"/>
  424. </ColumnInfo>
  425. </Dataset>
  426. <Dataset id="ds_main_MnphcagoLists_mnphcagolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_MnphcagoLists_mnphcagolist_oncolumnchanged">
  427. <ColumnInfo>
  428. <Column id="goodcd" type="STRING" size="255"/>
  429. <Column id="prcpunit" type="STRING" size="255"/>
  430. <Column id="drugmthdspccd" type="STRING" size="255"/>
  431. <Column id="calcscorcd" type="STRING" size="255"/>
  432. <Column id="fromdd" type="STRING" size="255"/>
  433. <Column id="prcpnm" type="STRING" size="255"/>
  434. <Column id="goodcls" type="STRING" size="255"/>
  435. <Column id="purcflag" type="STRING" size="255"/>
  436. <Column id="goodmodel" type="STRING" size="255"/>
  437. <Column id="goodspec" type="STRING" size="255"/>
  438. <Column id="ccrtno" type="STRING" size="255"/>
  439. <Column id="goodhngnm" type="STRING" size="255"/>
  440. <Column id="prcpclscd" type="STRING" size="255"/>
  441. <Column id="reqmthd" type="STRING" size="255"/>
  442. <Column id="goodename" type="STRING" size="255"/>
  443. <Column id="useflag" type="STRING" size="255"/>
  444. <Column id="grupcd" type="STRING" size="255"/>
  445. <Column id="cartgoodseq" type="BIGDECIMAL" size="255"/>
  446. <Column id="makernm" type="STRING" size="255"/>
  447. <Column id="payflagcd" type="STRING" size="255"/>
  448. <Column id="instcd" type="STRING" size="255"/>
  449. <Column id="goodengnm" type="STRING" size="255"/>
  450. <Column id="recstat" type="STRING" size="255"/>
  451. <Column id="insuyn" type="STRING" size="255"/>
  452. <Column id="goodqty" type="BIGDECIMAL" size="255"/>
  453. <Column id="goodflag" type="STRING" size="255"/>
  454. <Column id="allsizespecid" type="STRING" size="255"/>
  455. <Column id="fcheck" type="INT" size="255"/>
  456. <Column id="cartgubn" type="STRING" size="255"/>
  457. <Column id="calculyn" type="STRING" size="255"/>
  458. <Column id="todd" type="STRING" size="255"/>
  459. <Column id="custnm" type="STRING" size="255"/>
  460. <Column id="stocqty" type="STRING" size="256"/>
  461. <Column id="acmlbaseqty" type="STRING" size="256"/>
  462. </ColumnInfo>
  463. </Dataset>
  464. <Dataset id="ds_payflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  465. <ColumnInfo>
  466. <Column id="value" type="STRING" size="256"/>
  467. <Column id="label" type="STRING" size="256"/>
  468. </ColumnInfo>
  469. <Rows>
  470. <Row>
  471. <Col id="value">0</Col>
  472. <Col id="label">급여</Col>
  473. </Row>
  474. <Row>
  475. <Col id="value">1</Col>
  476. <Col id="label">본인부담</Col>
  477. </Row>
  478. <Row>
  479. <Col id="value">2</Col>
  480. <Col id="label">일반</Col>
  481. </Row>
  482. </Rows>
  483. </Dataset>
  484. </Objects>
  485. <Bind>
  486. <BindItem id="item0" compid="grp_cartmain.cmb_grupcd" propid="value" datasetid="ds_init" columnid="grupcd"/>
  487. <BindItem id="item1" compid="grp_cartmain.group2.chk_useyn" propid="value" datasetid="ds_init_Wk1802_cond" columnid="useyn"/>
  488. <BindItem id="item2" compid="grp_cartmain.group2.ipt_opnm" propid="value" datasetid="ds_init_Wk1802_cond" columnid="opnm"/>
  489. </Bind>
  490. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  491. * System Name : 경대 의료정보시스템
  492. * Job Name : emr_opanstxp -> SPMNP01802
  493. * Creator : yjh
  494. * Make Date : 2016-02-15
  495. * Description :
  496. *---------------------------------------------------------------------------------------
  497. * Modify Date Modifier Modify Description
  498. *---------------------------------------------------------------------------------------
  499. * 2016-02-15 yjh TF->XP
  500. *
  501. *---------------------------------------------------------------------------------------
  502. ****************************************************************************************/
  503. //=======================================================================================
  504. // Lib Include
  505. //---------------------------------------------------------------------------------------
  506. include "com_commonxp::comm_main.xjs";
  507. include "emr_opanstxp::SPMNP01802.xjs"; //yjh : 커밋
  508. //=======================================================================================
  509. // Global Form Variable
  510. //---------------------------------------------------------------------------------------
  511. //=======================================================================================
  512. // Function
  513. //---------------------------------------------------------------------------------------
  514. /****************************************************************************************
  515. * Argument : N/A
  516. * Description :
  517. ****************************************************************************************/
  518. //=======================================================================================
  519. // Event
  520. //---------------------------------------------------------------------------------------
  521. /****************************************************************************************
  522. * Components : Form
  523. * Components ID : SPMNP01802
  524. * Event : oninit
  525. * Argument : 01.obj : Object Event has occurred
  526. * : 02.e : Event Object
  527. * Description : 화면 처음 초기화시
  528. ****************************************************************************************/
  529. function SPMNP01802_oninit(obj:Form, e:InitEventInfo)
  530. {
  531. frmf_initForm(obj); //폼 초기화
  532. }
  533. /****************************************************************************************
  534. * Components : Form
  535. * Components ID : SPMNP01802
  536. * Event : onload
  537. * Argument : 01.obj : Object Event has occurred
  538. * : 02.e : Event Object
  539. * Description : 화면 로딩 완료시
  540. ****************************************************************************************/
  541. function SPMNP01802_onload(obj:Form, e:LoadEventInfo)
  542. {
  543. fInit1802();
  544. grp_cartmain.group2.grd_ccrtno.setFormatColProperty(1, "size", 0);
  545. }
  546. /****************************************************************************************
  547. * Components : Grid
  548. * Components ID : grd_orddept
  549. * Event : oncellclick
  550. * Argument : 01.obj : Object Event has occurred
  551. * : 02.e : Event Object
  552. * Description : 그리드 셀 클릭시
  553. ****************************************************************************************/
  554. function grp_cartmain_group2_grd_orddept_oncellclick(obj:Grid, e:GridClickEventInfo)
  555. {
  556. ds_init_Wk1802_cond.setColumn(0, "qryflag", "2");
  557. fMnpmcartData_Read(1, grp_cartmain.group2.grd_perfid, ds_main_MnpmcartList_orddeptcd_codelist.getColumn(ds_main_MnpmcartList_orddeptcd_codelist.rowposition, "datacd"), "", "");
  558. }
  559. /****************************************************************************************
  560. * Components : Grid
  561. * Components ID : grd_perfid
  562. * Event : oncellclick
  563. * Argument : 01.obj : Object Event has occurred
  564. * : 02.e : Event Object
  565. * Description : 그리드 셀 클릭시
  566. ****************************************************************************************/
  567. function grp_cartmain_group2_grd_perfid_oncellclick(obj:Grid, e:GridClickEventInfo)
  568. {
  569. fSearchOpnm();
  570. }
  571. /****************************************************************************************
  572. * Components : Grid
  573. * Components ID : grd_ccrtno
  574. * Event : oncellclick
  575. * Argument : 01.obj : Object Event has occurred
  576. * : 02.e : Event Object
  577. * Description : 그리드 셀 클릭시
  578. ****************************************************************************************/
  579. function grp_cartmain_group2_grd_ccrtno_oncellclick(obj:Grid, e:GridClickEventInfo)
  580. {
  581. fRemoveNode(3);
  582. ds_init_Wk1802_cond.setColumn(0, "ccrtno", ds_main_MnpmcartList_ccrtno_codelist.getColumn(ds_main_MnpmcartList_ccrtno_codelist.rowposition, "datacd"));
  583. fMnphcagoRead(0, grp_cartmain.grd_good, ds_init_Wk1802_cond.getColumn(0, "ccrtno"), "");
  584. }
  585. /****************************************************************************************
  586. * Components : Grid
  587. * Components ID : grd_ccrtno
  588. * Event : onheaddblclick
  589. * Argument : 01.obj : Object Event has occurred
  590. * : 02.e : Event Object
  591. * Description : 그리드 헤더 더블클릭시
  592. ****************************************************************************************/
  593. function grp_cartmain_group2_grd_ccrtno_onheaddblclick(obj:Grid, e:GridClickEventInfo)
  594. {
  595. switch( e.col ){
  596. case 1 :
  597. grp_cartmain.group2.grd_ccrtno.setFormatColProperty(1, "size", 0); //datanm
  598. grp_cartmain.group2.grd_ccrtno.setFormatColProperty(2, "size", 238); //opengnm
  599. break;
  600. case 2 :
  601. grp_cartmain.group2.grd_ccrtno.setFormatColProperty(1, "size", 238); //datanm
  602. grp_cartmain.group2.grd_ccrtno.setFormatColProperty(2, "size", 0); //opengnm
  603. break;
  604. default :
  605. break;
  606. }
  607. }
  608. /****************************************************************************************
  609. * Components : Grid
  610. * Components ID : grd_good
  611. * Event : onheadclick
  612. * Argument : 01.obj : Object Event has occurred
  613. * : 02.e : Event Object
  614. * Description : 그리드 헤더 클릭시
  615. ****************************************************************************************/
  616. function grp_cartmain_grd_good_onheadclick(obj:Grid, e:GridClickEventInfo)
  617. {
  618. switch( e.col ){
  619. case 0 :
  620. if( obj.getCellProperty("Head", e.col, "expr") == "0" ){
  621. obj.setCellProperty("Head", e.col, "expr", "1");
  622. }else{
  623. obj.setCellProperty("Head", e.col, "expr", "0");
  624. }
  625. grdf_setGridCheckAll(obj, e);
  626. break;
  627. default :
  628. break;
  629. }
  630. }
  631. /****************************************************************************************
  632. * Components : Dataset
  633. * Components ID : ds_main_MnphcagoLists_mnphcagolist
  634. * Event : oncolumnchanged
  635. * Argument : 01.obj : Object Event has occurred
  636. * : 02.e : Event Object
  637. * Description : 데이터셋 값 변경시
  638. ****************************************************************************************/
  639. function ds_main_MnphcagoLists_mnphcagolist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  640. {
  641. switch( e.columnid ){
  642. case "fcheck" :
  643. if( e.newvalue == "0" ){
  644. grp_cartmain.grd_good.setCellProperty("Head", 0, "expr", "0");
  645. }
  646. break;
  647. default :
  648. break;
  649. }
  650. }
  651. /****************************************************************************************
  652. * Components : CheckBox
  653. * Components ID : chk_useyn
  654. * Event : onclick
  655. * Argument : 01.obj : Object Event has occurred
  656. * : 02.e : Event Object
  657. * Description : 체크박스 클릭시
  658. ****************************************************************************************/
  659. function grp_cartmain_group2_chk_useyn_onclick(obj:CheckBox, e:ClickEventInfo)
  660. {
  661. fRemoveNode(1);
  662. fRemoveNode(2);
  663. fRemoveNode(3);
  664. ds_init_Wk1802_cond.setColumn(0, "qryflag", "1");
  665. fMnpmcartData_Read(0, grp_cartmain.group2.grd_orddept, "", "", ""); // Cart정보 가져오기
  666. }
  667. /****************************************************************************************
  668. * Components : Edit
  669. * Components ID : ipt_opnm
  670. * Event : onkeydown
  671. * Argument : 01.obj : Object Event has occurred
  672. * : 02.e : Event Object
  673. * Description : 키 입력시
  674. ****************************************************************************************/
  675. function grp_cartmain_group2_ipt_opnm_onkeydown(obj:Edit, e:KeyEventInfo)
  676. {
  677. if(e.keycode == 13) {
  678. grp_cartmain.group2.ipt_opnm.updateToDataset();
  679. fSearchOpnm();
  680. }
  681. }
  682. /****************************************************************************************
  683. * Components : Button
  684. * Components ID : button1
  685. * Event : onclick
  686. * Argument : 01.obj : Object Event has occurred
  687. * : 02.e : Event Object
  688. * Description : 조회버튼 클릭시
  689. ****************************************************************************************/
  690. function grp_cartmain_group2_button1_onclick(obj:Button, e:ClickEventInfo)
  691. {
  692. if( grp_cartmain.group2.grd_perfid.currentrow > -1) {
  693. fSearchOpnm();
  694. }
  695. }
  696. /****************************************************************************************
  697. * Components : Button
  698. * Components ID : bbt_append2
  699. * Event : onclick
  700. * Argument : 01.obj : Object Event has occurred
  701. * : 02.e : Event Object
  702. * Description : 추가버튼 클릭시
  703. ****************************************************************************************/
  704. function grp_cartmain_bbt_append2_onclick(obj:Button, e:ClickEventInfo)
  705. {
  706. fCopyGood();
  707. }
  708. /****************************************************************************************
  709. * Components : Button
  710. * Components ID : button12
  711. * Event : onclick
  712. * Argument : 01.obj : Object Event has occurred
  713. * : 02.e : Event Object
  714. * Description : 엑셀저장버튼 클릭시
  715. ****************************************************************************************/
  716. function grp_cartmain_button12_onclick(obj:Button, e:ClickEventInfo)
  717. {
  718. if( ds_main_MnphcagoLists_mnphcagolist.rowcount > 0 ){
  719. grdf_exportExcel(grp_cartmain.grd_good, "Cart복사물품리스트_", "SheetName", false, "", "user", false);
  720. } else {
  721. sysf_messageBox("자료가 존재하지 않습니다.", "E999", "");
  722. }
  723. }
  724. ]]></Script>
  725. </Form>
  726. </FDL>