SMRSD02300_처방전달 물품 응급 불출 등록.xfdl 96 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRSD02300" position="absolute 0 0 1190 790" titletext="처방전달 물품 응급 불출" oninit="SMRSD02300_oninit" onload="SMRSD02300_onload" ontimer="SMRSD02300_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1185 23" id="group1" scrollbars="none">
  8. <Layouts>
  9. <Layout>
  10. <Static text="처방전달 물품 응급 불출" position="absolute 0 0 189 24" id="caption6" class="tit_1" anchor="default"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div position="absolute 0 23 1186 782" id="group5" scrollbars="autoboth">
  15. <Layouts>
  16. <Layout>
  17. <Div position="absolute 5 218 345 755" align="align:center top;" id="grp_detail">
  18. <Layouts>
  19. <Layout>
  20. <Button position="absolute 0 41 97 60" align="align:center middle;" id="btn_searchTree" class="btn2" taborder="18" visible="true" text="트 리 재 구 성" onclick="group5_grp_detail_btn_searchTree_onclick"/>
  21. <Radio position="absolute 100 43 340 58" id="rdo_viewcls" taborder="17" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1" style="textpadding:0 5 0 3;" onitemchanged="group5_grp_detail_rdo_viewcls_onitemchanged">
  22. <Dataset id="innerdataset">
  23. <ColumnInfo>
  24. <Column id="codecolumn"/>
  25. <Column id="datacolumn"/>
  26. </ColumnInfo>
  27. <Rows>
  28. <Row>
  29. <Col id="codecolumn">0</Col>
  30. <Col id="datacolumn">전체</Col>
  31. </Row>
  32. <Row>
  33. <Col id="codecolumn">2</Col>
  34. <Col id="datacolumn">시행부서</Col>
  35. </Row>
  36. <Row>
  37. <Col id="codecolumn">1</Col>
  38. <Col id="datacolumn">처방부서</Col>
  39. </Row>
  40. <Row>
  41. <Col id="codecolumn">3</Col>
  42. <Col id="datacolumn">불출</Col>
  43. </Row>
  44. </Rows>
  45. </Dataset>
  46. </Radio>
  47. <Grid position="absolute 0 65 338 535" treeusecheckbox="false" autofit="col" id="trv_setcode" binddataset="ds_main_PrcpGoodTrees_TreeList" oncellclick="group5_grp_detail_trv_setcode_oncellclick">
  48. <Formats>
  49. <Format id="default">
  50. <Columns>
  51. <Column size="320"/>
  52. </Columns>
  53. <Rows>
  54. <Row size="17"/>
  55. </Rows>
  56. <Band id="body">
  57. <Cell displaytype="tree" edittype="tree" style="line:0 none #808080ff ;" text="bind:dispnm" treestartlevel="1" treelevel="bind:depth"/>
  58. </Band>
  59. </Format>
  60. </Formats>
  61. </Grid>
  62. </Layout>
  63. </Layouts>
  64. </Div>
  65. <Div position="absolute 350 8 1185 755" id="grp_main">
  66. <Layouts>
  67. <Layout>
  68. <Grid position="absolute 0 100 835 415" id="grd_excelgood" visible="false" binddataset="ds_main_list_searchgood_searchgoodlist">
  69. <Formats>
  70. <Format id="default">
  71. <Columns>
  72. <Column size="66"/>
  73. <Column size="69"/>
  74. <Column size="70"/>
  75. <Column size="27"/>
  76. <Column size="183"/>
  77. <Column size="80"/>
  78. <Column size="80"/>
  79. <Column size="50"/>
  80. <Column size="0"/>
  81. <Column size="70"/>
  82. <Column size="55"/>
  83. <Column size="56"/>
  84. <Column size="36"/>
  85. <Column size="55"/>
  86. <Column size="40"/>
  87. <Column size="72"/>
  88. <Column size="76"/>
  89. <Column size="0"/>
  90. <Column size="0"/>
  91. <Column size="0"/>
  92. <Column size="40"/>
  93. <Column size="68"/>
  94. <Column size="82"/>
  95. <Column size="82"/>
  96. <Column size="100"/>
  97. <Column size="0"/>
  98. <Column size="0"/>
  99. <Column size="0"/>
  100. <Column size="0"/>
  101. <Column size="0"/>
  102. <Column size="0"/>
  103. <Column size="0"/>
  104. <Column size="0"/>
  105. <Column size="0"/>
  106. <Column size="100"/>
  107. </Columns>
  108. <Rows>
  109. <Row size="24" band="head"/>
  110. <Row size="24"/>
  111. </Rows>
  112. <Band id="head">
  113. <Cell text="시행일자"/>
  114. <Cell col="1" text="처방일자"/>
  115. <Cell col="2" text="물품코드"/>
  116. <Cell col="3" text="물품코드"/>
  117. <Cell col="4" text="물품명"/>
  118. <Cell col="5" text="규격"/>
  119. <Cell col="6" text="모델"/>
  120. <Cell col="7" text="총수량"/>
  121. <Cell col="8" text="선불출"/>
  122. <Cell col="9" text="단위"/>
  123. <Cell col="10" text="등록번호"/>
  124. <Cell col="11" text="환자명"/>
  125. <Cell col="12" text="입외"/>
  126. <Cell col="13" text="병동"/>
  127. <Cell col="14" text="병실"/>
  128. <Cell col="15" text="처방부서"/>
  129. <Cell col="16" text="시행부서"/>
  130. <Cell col="17" text="수량"/>
  131. <Cell col="18" text="횟수"/>
  132. <Cell col="19" text="일수"/>
  133. <Cell col="20" text="집계"/>
  134. <Cell col="21" text="집계일자"/>
  135. <Cell col="22" text="구매구분"/>
  136. <Cell col="23" text="제조원"/>
  137. <Cell col="24" text="거래처"/>
  138. <Cell col="25"/>
  139. <Cell col="26"/>
  140. <Cell col="27"/>
  141. <Cell col="28"/>
  142. <Cell col="29"/>
  143. <Cell col="30"/>
  144. <Cell col="31"/>
  145. <Cell col="32"/>
  146. <Cell col="33"/>
  147. <Cell col="34" text="불출일시"/>
  148. </Band>
  149. <Band id="body">
  150. <Cell displaytype="date" text="bind:rgstdd" calendardisplaynulltype="none"/>
  151. <Cell col="1" displaytype="date" text="bind:prcpdd" calendardisplaynulltype="none"/>
  152. <Cell col="2" text="bind:goodcd"/>
  153. <Cell col="3" text="bind:allsizespecid"/>
  154. <Cell col="4" text="bind:goodnm"/>
  155. <Cell col="5" text="bind:goodspec"/>
  156. <Cell col="6" text="bind:goodmodel"/>
  157. <Cell col="7" displaytype="number" text="bind:totqty"/>
  158. <Cell col="8" text="bind:beforqty" mask="#,###.#"/>
  159. <Cell col="9" text="bind:setunit"/>
  160. <Cell col="10" text="bind:pid2"/>
  161. <Cell col="11" text="bind:patnm2"/>
  162. <Cell col="12" text="bind:ioflag" enable="false"/>
  163. <Cell col="13" text="bind:wardnm"/>
  164. <Cell col="14" text="bind:room"/>
  165. <Cell col="15" text="bind:orddeptcdnm"/>
  166. <Cell col="16" text="bind:prcpdeptcdnm"/>
  167. <Cell col="17" text="bind:goodqty" mask="#,###.#"/>
  168. <Cell col="18" text="bind:times" mask="#,###"/>
  169. <Cell col="19" text="bind:dayno" mask="#,###"/>
  170. <Cell col="20" text="bind:sumflagnm"/>
  171. <Cell col="21" displaytype="date" text="bind:acptdd" mask="yyyy-mm-dd" calendardisplaynulltype="none"/>
  172. <Cell col="22" text="bind:purcflagnm"/>
  173. <Cell col="23" text="bind:prodcmpynm"/>
  174. <Cell col="24" text="bind:suplplcecdnm"/>
  175. <Cell col="25" text="bind:fstrgstrid"/>
  176. <Cell col="26" text="bind:fstrgstdt" mask="yyyy-mm-dd"/>
  177. <Cell col="27" text="bind:ward"/>
  178. <Cell col="28" text="bind:orddeptcd"/>
  179. <Cell col="29" text="bind:prcpdeptcd"/>
  180. <Cell col="30" text="bind:sumflag"/>
  181. <Cell col="31" text="bind:purcflag"/>
  182. <Cell col="32" text="bind:prodcmpycd"/>
  183. <Cell col="33" text="bind:suplplcecd"/>
  184. <Cell col="34" text="bind:lastupdtdt"/>
  185. </Band>
  186. </Format>
  187. </Formats>
  188. </Grid>
  189. <Grid position="absolute 0 35 833 745" id="grd_searchgood" binddataset="ds_main_list_searchgood_searchgoodlist" oncellclick="group5_grp_main_grd_searchgood_oncellclick" cellsizingtype="col" cellsizebandtype="allband">
  190. <Formats>
  191. <Format id="default">
  192. <Columns>
  193. <Column size="20" band="left"/>
  194. <Column size="24" band="left"/>
  195. <Column size="69" band="left"/>
  196. <Column size="60" band="left"/>
  197. <Column size="60" band="left"/>
  198. <Column size="70" band="left"/>
  199. <Column size="0" band="left"/>
  200. <Column size="165" band="left"/>
  201. <Column size="71"/>
  202. <Column size="45"/>
  203. <Column size="45"/>
  204. <Column size="0"/>
  205. <Column size="40"/>
  206. <Column size="40"/>
  207. <Column size="66"/>
  208. <Column size="80"/>
  209. <Column size="149"/>
  210. <Column size="70"/>
  211. <Column size="58"/>
  212. <Column size="46"/>
  213. <Column size="0"/>
  214. <Column size="60"/>
  215. <Column size="43"/>
  216. <Column size="70"/>
  217. <Column size="76"/>
  218. <Column size="76"/>
  219. <Column size="0"/>
  220. <Column size="0"/>
  221. <Column size="35"/>
  222. <Column size="70"/>
  223. <Column size="25"/>
  224. <Column size="60"/>
  225. <Column size="120"/>
  226. <Column size="0"/>
  227. <Column size="0"/>
  228. <Column size="0"/>
  229. <Column size="0"/>
  230. <Column size="0"/>
  231. <Column size="0"/>
  232. <Column size="0"/>
  233. <Column size="0"/>
  234. <Column size="0"/>
  235. <Column size="0"/>
  236. <Column size="0"/>
  237. <Column size="0"/>
  238. <Column size="0"/>
  239. <Column size="0"/>
  240. <Column size="0"/>
  241. <Column size="0"/>
  242. </Columns>
  243. <Rows>
  244. <Row size="24" band="head"/>
  245. <Row size="24"/>
  246. </Rows>
  247. <Band id="head">
  248. <Cell/>
  249. <Cell col="1"/>
  250. <Cell col="2" text="처방일자"/>
  251. <Cell col="3" text="등록번호"/>
  252. <Cell col="4" text="환자명"/>
  253. <Cell col="5" text="물품코드"/>
  254. <Cell col="6" text="물품코드"/>
  255. <Cell col="7" text="물품명"/>
  256. <Cell col="8" text="규격"/>
  257. <Cell col="9" text="총수량"/>
  258. <Cell col="10" text="불출"/>
  259. <Cell col="11" text="집계"/>
  260. <Cell col="12" text="출력"/>
  261. <Cell col="13" text="대차"/>
  262. <Cell col="14" text="시행일자"/>
  263. <Cell col="15" text="처방코드"/>
  264. <Cell col="16" text="처방명"/>
  265. <Cell col="17" text="모델"/>
  266. <Cell col="18" text="구매구분"/>
  267. <Cell col="19" text="단위"/>
  268. <Cell col="20" text="귀가수량"/>
  269. <Cell col="21" text="입외"/>
  270. <Cell col="22" text="병동"/>
  271. <Cell col="23" text="병실"/>
  272. <Cell col="24" text="처방부서"/>
  273. <Cell col="25" text="시행부서"/>
  274. <Cell col="26" text="수량"/>
  275. <Cell col="27" text="횟수"/>
  276. <Cell col="28" text="일수"/>
  277. <Cell col="29" colspan="2" text="집계일자" taborder="undefined"/>
  278. <Cell col="31" text="불출자"/>
  279. <Cell col="32" text="불출일시"/>
  280. <Cell col="33" text="caption1"/>
  281. <Cell col="34" text="caption2"/>
  282. <Cell col="35"/>
  283. <Cell col="36"/>
  284. <Cell col="37"/>
  285. <Cell col="38"/>
  286. <Cell col="39"/>
  287. <Cell col="40"/>
  288. <Cell col="41"/>
  289. <Cell col="42"/>
  290. <Cell col="43"/>
  291. <Cell col="44"/>
  292. <Cell col="45"/>
  293. <Cell col="46"/>
  294. <Cell col="47"/>
  295. <Cell col="48"/>
  296. </Band>
  297. <Band id="body">
  298. <Cell celltype="head" expr="expr:currow + 1"/>
  299. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == '1' || chk == 'Y' ? '1' : '0'"/>
  300. <Cell col="2" displaytype="date" text="bind:prcpdd" calendardisplaynulltype="none"/>
  301. <Cell col="3" style="align:left;" text="bind:pid"/>
  302. <Cell col="4" style="align:left;" text="bind:patnm" suppress="0"/>
  303. <Cell col="5" style="align:left;" text="bind:goodcd"/>
  304. <Cell col="6" style="align:left;" text="bind:allsizespecid"/>
  305. <Cell col="7" style="align:left;" text="bind:goodnm"/>
  306. <Cell col="8" style="align:left;" text="bind:goodspec"/>
  307. <Cell col="9" displaytype="number" style="background:BIND(backtotqty);background2:BIND(backtotqty);color:BIND(colortotqty);color2:BIND(colortotqty);" text="bind:totqty" mask="#,##0.#"/>
  308. <Cell col="10" displaytype="number" edittype="expr:editbeforqty" style="background:BIND(backbeforqty);background2:BIND(backbeforqty);color:BIND(colorbeforqty);color2:BIND(colorbeforqty);" text="bind:beforqty" mask="#,##0.#"/>
  309. <Cell col="11" text="bind:sumflagnm"/>
  310. <Cell col="12" style="background:BIND(backprntynnm);background2:BIND(backprntynnm);color:BIND(colorprntynnm);color2:BIND(colorprntynnm);" text="bind:prntynnm"/>
  311. <Cell col="13" style="background:BIND(backautdeliveyn);background2:BIND(backautdeliveyn);color:BIND(colorautdeliveyn);color2:BIND(colorautdeliveyn);" text="bind:autdeliveyn"/>
  312. <Cell col="14" displaytype="date" style="padding:2 2 2 2;background:BIND(backrgstdd);background2:BIND(backrgstdd);color:BIND(colorrgstdd);color2:BIND(colorrgstdd);" text="bind:rgstdd" calendardisplaynulltype="none"/>
  313. <Cell col="15" style="align:left;" text="bind:prcpcd"/>
  314. <Cell col="16" style="align:left;" text="bind:prcpnm"/>
  315. <Cell col="17" style="align:left;" text="bind:goodmodel"/>
  316. <Cell col="18" text="bind:purcflagnm"/>
  317. <Cell col="19" text="bind:setunit"/>
  318. <Cell col="20" text="bind:homematrqty" mask="#,###.#"/>
  319. <Cell col="21" style="align:left;" text="bind:ioflag" enable="false"/>
  320. <Cell col="22" text="bind:wardnm"/>
  321. <Cell col="23" style="align:left;" text="bind:room"/>
  322. <Cell col="24" style="align:left;" text="bind:orddeptcdnm"/>
  323. <Cell col="25" style="align:left;" text="bind:prcpdeptcdnm"/>
  324. <Cell col="26" text="bind:goodqty" mask="#,###.#"/>
  325. <Cell col="27" text="bind:times" mask="#,###"/>
  326. <Cell col="28" displaytype="number" text="bind:dayno" mask="#,###"/>
  327. <Cell col="29" displaytype="date" text="bind:acptdd" calendardisplaynulltype="none"/>
  328. <Cell col="30" text="bind:sumcnt"/>
  329. <Cell col="31" text="bind:lastupdtrid"/>
  330. <Cell col="32" displaytype="normal" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
  331. <Cell col="33" text="bind:ward"/>
  332. <Cell col="34" text="bind:orddeptcd"/>
  333. <Cell col="35" text="bind:prcpdeptcd"/>
  334. <Cell col="36" text="bind:sumflag"/>
  335. <Cell col="37" text="bind:instcd"/>
  336. <Cell col="38" text="bind:genrdd"/>
  337. <Cell col="39" text="bind:genrno"/>
  338. <Cell col="40" text="bind:genrseq"/>
  339. <Cell col="41" text="bind:beforqtyold"/>
  340. <Cell col="42" text="bind:homematrflag"/>
  341. <Cell col="43" text="bind:centcd"/>
  342. <Cell col="44" text="bind:subdeptcd"/>
  343. <Cell col="45" text="bind:centcdnm"/>
  344. <Cell col="46" text="bind:subdeptcdnm"/>
  345. <Cell col="47" text="bind:prntyn"/>
  346. <Cell col="48" text="bind:prtndt" mask="yyyy-mm-dd hh:nn:ss"/>
  347. </Band>
  348. </Format>
  349. </Formats>
  350. </Grid>
  351. <Button position="absolute 600 5 653 24" id="btn_excel2" class="btn5" text="Excel" onclick="group5_grp_main_btn_excel2_onclick"/>
  352. <Shape position="absolute 0 30 834 36" linetype="horizontal" id="lin_main" class="line_10"/>
  353. <Button position="absolute 0 11 16 27" id="button57" class="icon_pre_month" visible="false" text="" onclick="group5_grp_main_button57_onclick"/>
  354. <Button position="absolute 20 11 36 27" id="button58" class="icon_next_month" visible="false" text="" onclick="group5_grp_main_button58_onclick"/>
  355. <Static text="처방전달물품내역" position="absolute 5 13 580 29" id="cpt_disp" class="tit_2"/>
  356. <Static text="All Size" position="absolute 555 10 605 25" id="caption5" visible="false"/>
  357. <Static position="absolute 537 9 552 24" id="caption9" class="color_6" visible="false" style="background:#ffff00ff;"/>
  358. <Button position="absolute 542 4 598 26" id="btn_save" class="btn4" enable="true" text="저장" onclick="group5_grp_main_btn_save_onclick"/>
  359. <Button position="absolute 655 5 741 24" id="btn_wardprint" class="btn2" text="환자별 출력" onclick="group5_grp_main_btn_wardprint_onclick" tooltiptext="선불출 내용 변경시 저장 하신 후 선불출서를 출력해 주세요"/>
  360. <CheckBox position="absolute 23 38 43 58" id="chk_allchk" onclick="group5_grp_main_chk_allchk_onclick" truevalue="Y" falsevalue="N"/>
  361. <Button position="absolute 360 5 424 24" id="button3" class="btn2" taborder="20" text="알람설정" onclick="group5_grp_main_button3_onclick"/>
  362. <Button position="absolute 425 5 511 24" id="btn_newercp" class="btn2" taborder="22" text="응급처방(0)" onclick="group5_grp_main_btn_newercp_onclick"/>
  363. <Button position="absolute 743 5 829 24" id="btn_goodprint" class="btn2" text="물품별 출력" onclick="group5_grp_main_btn_goodprint_onclick" tooltiptext="선불출 내용 변경시 저장 하신 후 선불출서를 출력해 주세요"/>
  364. </Layout>
  365. </Layouts>
  366. </Div>
  367. <Div position="absolute 5 8 345 255" align="align:center top;" id="grp_key" class="div_SA">
  368. <Layouts>
  369. <Layout>
  370. <Static text="기관코드 :" position="absolute 6 5 95 22" id="caption10" class="search_name"/>
  371. <Edit readonly="true" position="absolute 215 5 235 24" id="opt_instcd" visible="false" autoselect="true" class="output"/>
  372. <Calendar position="absolute 216 53 315 72" id="ipt_prcpdd2" class="input_essential" taborder="3" autoselect="true"/>
  373. <Calendar position="absolute 85 53 184 72" id="ipt_prcpdd" class="input_essential" taborder="2" autoselect="true"/>
  374. <Static text="~" position="absolute 196 53 211 73" id="caption12"/>
  375. <Static text="시행일자 :" position="absolute 6 53 95 70" id="caption3" class="search_name"/>
  376. <Radio position="absolute 20 180 70 197" id="rdo_sumflag" visible="false" columncount="3" innerdataset="ds_init_sumflag" datacolumn="label" codecolumn="value"/>
  377. <Radio position="absolute 95 77 335 97" id="radio1" visible="false" columncount="5" innerdataset="@ds_init_ioflag" datacolumn="label" codecolumn="value"/>
  378. <Static text="환자구분 :" position="absolute 6 77 95 94" id="caption8" class="search_name" visible="false"/>
  379. <Button position="absolute 260 5 316 27" align="align:left middle;" id="btn_search" class="btn1" taborder="19" visible="false" text="조회" onclick="group5_grp_key_btn_search_onclick"/>
  380. <Button position="absolute 163 77 179 93" id="button1" class="icon_search" taborder="5" text="" onclick="group5_grp_key_button1_onclick"/>
  381. <Static text="시행부서 :" position="absolute 6 77 99 94" id="caption2" class="search_name"/>
  382. <Edit position="absolute 180 77 325 96" id="ipt_prcpdeptnm" taborder="6" autoselect="true" readonly="true" class="output"/>
  383. <Edit position="absolute 85 77 160 96" id="ipt_prcpdeptcd" class="input_fix" taborder="4" autoselect="true"/>
  384. <Edit readonly="true" position="absolute 85 5 210 24" align="align:center middle;" id="opt_instcdnm" autoselect="true" class="output" style="align:center middle;"/>
  385. <Static text="등록번호 :" position="absolute 6 101 99 118" id="caption1" class="search_name"/>
  386. <Static text="환자명 :" position="absolute 170 101 263 118" id="caption4" class="search_name"/>
  387. <Edit position="absolute 85 101 160 120" id="ipt_pid" class="input_fix" taborder="7" autoselect="true" onkeyup="group5_grp_key_ipt_pid_onkeyup"/>
  388. <Edit position="absolute 235 101 325 120" id="ipt_patnm" class="input_fix" taborder="8" autoselect="true" onkeyup="group5_grp_key_ipt_patnm_onkeyup"/>
  389. <Static text="청구구분 :" position="absolute 6 29 92 46" align="align:center middle;" id="caption20" class="search_name"/>
  390. <Combo position="absolute 85 29 210 48" id="cmb_reqflag" class="combo_default" taborder="1" innerdataset="@ds_init_reqflag_reqflaglist" datacolumn="reqflagnm" codecolumn="reqflag"/>
  391. <Static text="구매구분 :" position="absolute 170 125 263 142" id="caption11" class="search_name"/>
  392. <Combo position="absolute 250 125 325 144" id="cmb_purcflag" class="combo_default" taborder="10" innerdataset="@ds_init_purcflag" datacolumn="cdnm" codecolumn="cdid"/>
  393. <Static text="물품코드 :" position="absolute 6 125 99 142" id="caption13" class="search_name"/>
  394. <Edit position="absolute 85 125 160 144" id="ipt_goodcd" class="input_fix" taborder="9" autoselect="true" onkeyup="group5_grp_key_ipt_goodcd_onkeyup"/>
  395. <Radio position="absolute 85 173 255 190" id="rdo_prntyn" taborder="13" columncount="3" innerdataset="@ds_init_prntyn" datacolumn="label" codecolumn="value"/>
  396. <Static text="출력여부 :" position="absolute 6 173 95 190" id="caption14" class="search_name"/>
  397. <Static text="불출여부 :" position="absolute 6 197 95 214" id="caption7" class="search_name"/>
  398. <Radio position="absolute 85 197 255 214" id="rdo_deliveyn" taborder="14" columncount="3" innerdataset="@ds_init_deliveprcsflag" datacolumn="label" codecolumn="value"/>
  399. <CheckBox position="absolute 255 221 330 241" id="chk_prcpinptflag" taborder="16" text="CCD 제외" truevalue="ignore"/>
  400. <Static text="처방구분 :" position="absolute 6 221 95 238" id="caption15" class="search_name"/>
  401. <Radio position="absolute 85 221 210 241" id="rdo_erprcpflag" taborder="15" columncount="2" innerdataset="ds_init_rdo_erprcpflag" datacolumn="label" codecolumn="value"/>
  402. <Edit position="absolute 235 149 325 168" id="ipt_prcpnm" class="input_fix" taborder="12" autoselect="true" onkeyup="group5_grp_key_ipt_prcpnm_onkeyup"/>
  403. <Edit position="absolute 85 149 160 168" id="ipt_prcpcd" class="input_fix" taborder="11" autoselect="true" onkeyup="group5_grp_key_ipt_prcpcd_onkeyup"/>
  404. <Static text="처방명 :" position="absolute 170 149 259 166" id="caption45" class="search_name"/>
  405. <Static text="처방코드 :" position="absolute 6 149 102 166" id="caption46" class="search_name"/>
  406. </Layout>
  407. </Layouts>
  408. </Div>
  409. </Layout>
  410. </Layouts>
  411. </Div>
  412. <Div position="absolute 645 60 890 200" id="group2" visible="false">
  413. <Layouts>
  414. <Layout>
  415. <Shape position="absolute 0 0 245 140" id="roundrect1" type="roundrectangle"/>
  416. <Combo position="absolute 10 110 75 129" id="cmb_alarmsec" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="group2_cmb_alarmsec_onitemchanged">
  417. <Dataset id="innerdataset">
  418. <ColumnInfo>
  419. <Column id="codecolumn"/>
  420. <Column id="datacolumn"/>
  421. </ColumnInfo>
  422. <Rows>
  423. <Row>
  424. <Col id="codecolumn">-1</Col>
  425. <Col id="datacolumn">끄기</Col>
  426. </Row>
  427. <Row>
  428. <Col id="codecolumn">5</Col>
  429. <Col id="datacolumn">5초</Col>
  430. </Row>
  431. <Row>
  432. <Col id="codecolumn">30</Col>
  433. <Col id="datacolumn">30초</Col>
  434. </Row>
  435. <Row>
  436. <Col id="codecolumn">60</Col>
  437. <Col id="datacolumn">1분</Col>
  438. </Row>
  439. <Row>
  440. <Col id="codecolumn">300</Col>
  441. <Col id="datacolumn">5분</Col>
  442. </Row>
  443. </Rows>
  444. </Dataset>
  445. </Combo>
  446. <Button position="absolute 120 109 176 131" id="btn_demon" class="btn1" text="실행" onclick="group2_btn_demon_onclick"/>
  447. <Edit readonly="true" position="absolute 40 85 235 104" id="opt_alarm" class="output"/>
  448. <Button position="absolute 180 109 236 131" id="button2" class="btn1" text="닫기" onclick="group2_button2_onclick"/>
  449. <Edit readonly="true" position="absolute 80 110 115 129" align="align:center middle;" id="opt_alarmcount" class="output"/>
  450. <Button position="absolute 170 60 234 79" id="btn_addfile" class="btn2" taborder="21" text="알람파일" onclick="group2_btn_addfile_onclick"/>
  451. <Edit position="absolute 10 60 165 79" id="opt_alarmfile" enable="false"/>
  452. <Static text="결과" position="absolute 10 82 45 107" id="caption16"/>
  453. <ActiveX position="absolute 10 10 235 55" id="sound1" progid="{6bf52a52-394a-11d3-b153-00c04f79faa6}"/>
  454. </Layout>
  455. </Layouts>
  456. </Div>
  457. <Div position="absolute 650 285 900 430" id="group3" visible="false" style="background:white;">
  458. <Layouts>
  459. <Layout>
  460. <Shape position="absolute 0 0 250 145" id="roundrect3" type="roundrectangle" style="strokepen:2 solid #ff9900ff;"/>
  461. <Radio position="absolute 5 5 180 140" id="rdo_prntlist" columncount="1" innerdataset="@ds_main_list_searchgood_prntlist" datacolumn="prntkey" codecolumn="prntkey" rowcount="0"/>
  462. <Button position="absolute 185 45 241 67" id="button4" class="btn4" text="출력" onclick="group3_button4_onclick"/>
  463. <Button position="absolute 185 75 241 97" id="button5" class="btn4" text="닫기" onclick="group3_button5_onclick"/>
  464. </Layout>
  465. </Layouts>
  466. </Div>
  467. </Layout>
  468. </Layouts>
  469. <Objects>
  470. <Dataset id="ds_init_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  471. <ColumnInfo>
  472. <Column id="label" type="STRING"/>
  473. <Column id="value" type="STRING"/>
  474. </ColumnInfo>
  475. <Rows>
  476. <Row>
  477. <Col id="label">전체</Col>
  478. </Row>
  479. <Row>
  480. <Col id="label">입원</Col>
  481. <Col id="value">I</Col>
  482. </Row>
  483. <Row>
  484. <Col id="label">외래</Col>
  485. <Col id="value">O</Col>
  486. </Row>
  487. <Row>
  488. <Col id="label">건진</Col>
  489. <Col id="value">S</Col>
  490. </Row>
  491. <Row>
  492. <Col id="label">응급</Col>
  493. <Col id="value">E</Col>
  494. </Row>
  495. </Rows>
  496. </Dataset>
  497. <Dataset id="ds_init_reqflag_reqflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  498. <ColumnInfo>
  499. <Column id="reqflagnm" type="STRING"/>
  500. <Column id="reqflag" type="STRING"/>
  501. </ColumnInfo>
  502. </Dataset>
  503. <Dataset id="ds_init_purcflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  504. <ColumnInfo>
  505. <Column id="cdnm" type="STRING"/>
  506. <Column id="cdid" type="STRING"/>
  507. </ColumnInfo>
  508. </Dataset>
  509. <Dataset id="ds_init_prntyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  510. <ColumnInfo>
  511. <Column id="label" type="STRING"/>
  512. <Column id="value" type="STRING"/>
  513. </ColumnInfo>
  514. <Rows>
  515. <Row>
  516. <Col id="label">전체</Col>
  517. </Row>
  518. <Row>
  519. <Col id="label">출력</Col>
  520. <Col id="value">Y</Col>
  521. </Row>
  522. <Row>
  523. <Col id="label">미출력</Col>
  524. <Col id="value">N</Col>
  525. </Row>
  526. </Rows>
  527. </Dataset>
  528. <Dataset id="ds_init_deliveprcsflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  529. <ColumnInfo>
  530. <Column id="label" type="STRING"/>
  531. <Column id="value" type="STRING"/>
  532. </ColumnInfo>
  533. <Rows>
  534. <Row>
  535. <Col id="label">전체</Col>
  536. </Row>
  537. <Row>
  538. <Col id="label">미불출</Col>
  539. <Col id="value">N</Col>
  540. </Row>
  541. <Row>
  542. <Col id="label">불출</Col>
  543. <Col id="value">Y</Col>
  544. </Row>
  545. </Rows>
  546. </Dataset>
  547. <Dataset id="ds_init_rdo_erprcpflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  548. <ColumnInfo>
  549. <Column id="label" type="STRING"/>
  550. <Column id="value" type="STRING"/>
  551. </ColumnInfo>
  552. </Dataset>
  553. <Dataset id="ds_send_searchgood" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  554. <ColumnInfo>
  555. <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
  556. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자 "/>
  557. <Column id="prcpdd2" type="STRING" size="256" sumtext="처방일자 "/>
  558. <Column id="sumflag" type="STRING" size="256" sumtext="집계여부 "/>
  559. <Column id="reqflag" type="STRING" size="256" sumtext="청구구분 "/>
  560. <Column id="reqdeptcd" type="STRING" size="256" sumtext="처방부서 "/>
  561. <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
  562. <Column id="prcpdeptcd" type="STRING" size="256" sumtext="시행부서 "/>
  563. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
  564. <Column id="goodcd_like" type="STRING" size="256" sumtext="물품코드 유사여부"/>
  565. <Column id="ioflag" type="STRING" size="256" sumtext="입외구분 "/>
  566. <Column id="deptgr" type="STRING" size="256" sumtext="부서그룹 "/>
  567. <Column id="allsizespecid" type="STRING" size="256" sumtext="ALL SIZE ID "/>
  568. <Column id="demdkey" type="STRING" size="256" sumtext="청구여부 Y/N "/>
  569. <Column id="pid" type="STRING" size="256" sumtext="등록번호 "/>
  570. <Column id="patnm" type="STRING" size="256" sumtext="환자명 "/>
  571. <Column id="purcflag" type="STRING" size="256" sumtext="구매구분 "/>
  572. <Column id="homematrflag" type="STRING" size="256" sumtext="귀가유치물품flag "/>
  573. <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드 "/>
  574. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명 "/>
  575. <Column id="suplplcecd" type="STRING" size="256" sumtext="주거래처 "/>
  576. <Column id="suplplcecdnm" type="STRING" size="256" sumtext="주거래처명 "/>
  577. <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처 "/>
  578. <Column id="suppcustnm" type="STRING" size="256" sumtext="보조거래처명 "/>
  579. <Column id="prntyn" type="STRING" size="256" sumtext="출력여부 "/>
  580. <Column id="deliveyn" type="STRING" size="256" sumtext="불출여부 "/>
  581. <!-- 선불출 조회 조건 추가 이창록 -->
  582. <Column id="querycls" type="STRING" size="256" sumtext="선불출 조회 조건"/>
  583. <Column id="screen_id" type="STRING" size="256" sumtext="화면ID"/>
  584. <Column id="erprcpflag" type="STRING" size="256" sumtext="응급여부"/>
  585. <Column id="prcpinptflag" type="STRING" size="256" sumtext="처방입력구분"/>
  586. <Column id="wareflagarr" type="STRING" size="256" sumtext="창고구분"/>
  587. <!-- 처방집계 상세조회팝업 조건 추가 -->
  588. <Column id="acptddfr" type="STRING" size="256" sumtext="집계일자Fr "/>
  589. <Column id="acptddto" type="STRING" size="256" sumtext="집계일자To "/>
  590. <Column id="sumcnt" type="STRING" size="256" sumtext="집계횟수 "/>
  591. <Column id="screen_id" type="STRING" size="256" sumtext="화면ID "/>
  592. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드 "/>
  593. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명 "/>
  594. <Column id="genrsumcnt" type="STRING" size="256" sumtext="반납물품발생차수"/>
  595. <Column id="lastsumcnt" type="STRING" size="256" sumtext="반납물품최종차수"/>
  596. <Column id="facptddfr" type="STRING" size="256" sumtext="부모집계일자"/>
  597. <Column id="fsumcnt" type="STRING" size="256" sumtext="부모집계차수"/>
  598. </ColumnInfo>
  599. <Rows>
  600. <Row/>
  601. </Rows>
  602. </Dataset>
  603. <Dataset id="ds_main_list_searchgood_searchgoodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_list_searchgood_searchgoodlist_oncolumnchanged">
  604. <ColumnInfo>
  605. <Column id="chk" type="STRING" size="256" sumtext="선택 "/>
  606. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자 "/>
  607. <Column id="prcpno" type="STRING" size="256" sumtext="처방번호 "/>
  608. <Column id="prcphisno" type="STRING" size="256" sumtext="처방이력번호 "/>
  609. <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
  610. <Column id="ioflag" type="STRING" size="256" sumtext="입원외래구분 "/>
  611. <Column id="pid" type="STRING" size="256" sumtext="등록번호(환자) "/>
  612. <Column id="pid2" type="STRING" size="256" sumtext="등록번호(환자) "/>
  613. <Column id="patnm" type="STRING" size="256" sumtext="환자명 "/>
  614. <Column id="patnm2" type="STRING" size="256" sumtext="환자명 "/>
  615. <Column id="ward" type="STRING" size="256" sumtext="병동 "/>
  616. <Column id="wardnm" type="STRING" size="256" sumtext="병동 "/>
  617. <Column id="room" type="STRING" size="256" sumtext="병실 "/>
  618. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과 "/>
  619. <Column id="orddeptcdnm" type="STRING" size="256" sumtext="진료과 "/>
  620. <Column id="prcpdeptcd" type="STRING" size="256" sumtext="처방부서코드 "/>
  621. <Column id="prcpdeptcdnm" type="STRING" size="256" sumtext="처방부서명 "/>
  622. <Column id="mainmngtdeptcd" type="STRING" size="256" sumtext="관리부서 "/>
  623. <Column id="prcppsn" type="STRING" size="256" sumtext="처방의 "/>
  624. <Column id="indd" type="STRING" size="256" sumtext="입원일자 "/>
  625. <Column id="setflag" type="STRING" size="256" sumtext="재료set구분 "/>
  626. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
  627. <Column id="goodnm" type="STRING" size="256" sumtext="물품코드명 "/>
  628. <Column id="reqflag" type="STRING" size="256" sumtext="청구구분 "/>
  629. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분 "/>
  630. <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
  631. <Column id="reqpridnm" type="STRING" size="256" sumtext="청구주기명 "/>
  632. <Column id="purcflag" type="STRING" size="256" sumtext="구매구분 "/>
  633. <Column id="spec" type="STRING" size="256" sumtext="규격 "/>
  634. <Column id="goodqty" type="STRING" size="256" sumtext="물품수량 "/>
  635. <Column id="times" type="STRING" size="256" sumtext="횟수 "/>
  636. <Column id="dayno" type="STRING" size="256" sumtext="일수 "/>
  637. <Column id="totqty" type="STRING" size="256" sumtext="총수량 "/>
  638. <Column id="beforqty" type="STRING" size="256" sumtext="선불출수량 "/>
  639. <Column id="beforqtyold" type="STRING" size="256" sumtext="선불출수량변경전 "/>
  640. <Column id="rgstdd" type="STRING" size="256" sumtext="등록일자 "/>
  641. <Column id="rgstdeptcd" type="STRING" size="256" sumtext="등록부서코드 "/>
  642. <Column id="sumflag" type="STRING" size="256" sumtext="집계구분 "/>
  643. <Column id="sumflagnm" type="STRING" size="256" sumtext="집계구분 "/>
  644. <Column id="prntyn" type="STRING" size="256" sumtext="출력여부 "/>
  645. <Column id="prntynnm" type="STRING" size="256" sumtext="출력여부명 "/>
  646. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자 "/>
  647. <Column id="demdkey" type="STRING" size="256" sumtext="demdkey(수동여부) "/>
  648. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자id "/>
  649. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시 "/>
  650. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자id "/>
  651. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시 "/>
  652. <Column id="goodspec" type="STRING" size="256" sumtext="규격 "/>
  653. <Column id="goodmodel" type="STRING" size="256" sumtext="모델 "/>
  654. <Column id="allsizespecid" type="STRING" size="256" sumtext="ALL SIZE ID "/>
  655. <Column id="allsizeyn" type="STRING" size="256" sumtext="ALL SIZE 여부 "/>
  656. <Column id="genrdd" type="STRING" size="256" sumtext="생성일자 "/>
  657. <Column id="genrno" type="STRING" size="256" sumtext="생성번호 "/>
  658. <Column id="genrseq" type="STRING" size="256" sumtext="생성순번 "/>
  659. <Column id="setunit" type="STRING" size="256" sumtext="포장구성단위 "/>
  660. <Column id="chk" type="STRING" size="256" sumtext="Grid Check "/>
  661. <Column id="purcflagnm" type="STRING" size="256" sumtext="구매구분명 "/>
  662. <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위 "/>
  663. <Column id="prcpunit2" type="STRING" size="256" sumtext="처방단위 "/>
  664. <Column id="homematrflag" type="STRING" size="256" sumtext="귀가유치물품flag "/>
  665. <Column id="homematrqty" type="STRING" size="256" sumtext="귀가유치물품수량 "/>
  666. <Column id="centcd" type="STRING" size="256" sumtext="센터코드 "/>
  667. <Column id="subdeptcd" type="STRING" size="256" sumtext="세부과코드 "/>
  668. <Column id="centcdnm" type="STRING" size="256" sumtext="센터코드명 "/>
  669. <Column id="subdeptcdnm" type="STRING" size="256" sumtext="세부과코드명 "/>
  670. <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드 "/>
  671. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명 "/>
  672. <Column id="suplplcecd" type="STRING" size="256" sumtext="주거래처 "/>
  673. <Column id="suplplcecdnm" type="STRING" size="256" sumtext="주거래처명 "/>
  674. <Column id="edicd" type="STRING" size="256" sumtext="EDI 코드 "/>
  675. <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처코드 "/>
  676. <Column id="suppcustnm" type="STRING" size="256" sumtext="보조거래처명 "/>
  677. <Column id="goodunitcost" type="STRING" size="256" sumtext="단가 "/>
  678. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  679. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  680. <Column id="prcppsnnm" type="STRING" size="256" sumtext="진료의사명"/>
  681. <Column id="sumcnt" type="STRING" size="256" sumtext="집계차수"/>
  682. <Column id="erprcpflag" type="STRING" size="256" sumtext="처방구분"/>
  683. <Column id="prntkey" type="STRING" size="256" sumtext="출력구분"/>
  684. <Column id="cmt" type="STRING" size="256" sumtext="Remark"/>
  685. <Column id="rtnqty" type="STRING" size="256" sumtext="반납수량"/>
  686. <Column id="autdeliveyn" type="STRING" size="256" sumtext="대차불출여부"/>
  687. <Column id="sumyn" type="STRING" size="256" sumtext="집계여부"/>
  688. <Column id="facptddfr" type="STRING" size="256" sumtext="부모집계일자"/>
  689. <Column id="fsumcnt" type="STRING" size="256" sumtext="부모집계차수"/>
  690. <Column id="execprcpuniqno" type="STRING" size="256" sumtext="처방일련번호"/>
  691. </ColumnInfo>
  692. </Dataset>
  693. <Dataset id="ds_main_list_searchgood_prntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  694. <ColumnInfo>
  695. <Column id="prntkey" type="STRING" size="256" sumtext="출력키 "/>
  696. </ColumnInfo>
  697. </Dataset>
  698. <Dataset id="ds_main_list_searchgood_groupgoodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  699. <ColumnInfo>
  700. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  701. <Column id="prcpdeptcd" type="STRING" size="256" sumtext="처방부서코드"/>
  702. <Column id="prcpdeptcdnm" type="STRING" size="256" sumtext="처방부서명"/>
  703. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  704. <Column id="goodnm" type="STRING" size="256" sumtext="물품코드명"/>
  705. <Column id="beforqty" type="STRING" size="256" sumtext="선불출수량"/>
  706. <Column id="prcpdd" type="STRING" size="256" sumtext="등록일자"/>
  707. <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
  708. <Column id="allsizespecid" type="STRING" size="256" sumtext="ALL SIZE ID"/>
  709. <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위"/>
  710. <Column id="prntkey" type="STRING" size="256" sumtext="출력구분"/>
  711. <Column id="autdeliveyn" type="STRING" size="256" sumtext="대차불출여부"/>
  712. </ColumnInfo>
  713. </Dataset>
  714. <Dataset id="ds_main_list_searchgood_goodsumlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  715. <ColumnInfo>
  716. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  717. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  718. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  719. <Column id="allsizespecid" type="STRING" size="256" sumtext="ALL SIZE ID"/>
  720. <Column id="goodnm" type="STRING" size="256" sumtext="물품코드명"/>
  721. <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
  722. <Column id="i_sum_qty" type="STRING" size="256" sumtext="입원처방수량"/>
  723. <Column id="o_sum_qty" type="STRING" size="256" sumtext="외래처방수량"/>
  724. <Column id="s_sum_qty" type="STRING" size="256" sumtext="건진처방수량"/>
  725. <Column id="e_sum_qty" type="STRING" size="256" sumtext="응급처방수량"/>
  726. <Column id="total_qty" type="STRING" size="256" sumtext="전체수량"/>
  727. </ColumnInfo>
  728. </Dataset>
  729. <Dataset id="ds_send_SearchTree" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_SearchTree_oncolumnchanged">
  730. <ColumnInfo>
  731. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  732. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  733. <Column id="prcpdd2" type="STRING" size="256" sumtext="처방일자"/>
  734. <Column id="sumflag" type="STRING" size="256" sumtext="집계여부"/>
  735. <Column id="prcpdeptcd" type="STRING" size="256" sumtext="시행부서"/>
  736. <Column id="prcpdeptnm" type="STRING" size="256" sumtext="시행부서명"/>
  737. <Column id="ioflag" type="STRING" size="256" sumtext="입외구분"/>
  738. <Column id="querycls" type="STRING" size="256" sumtext="조회구분 1:처방부서,2:시행부서별"/>
  739. <Column id="reqflag" type="STRING" size="256" sumtext="청구구분"/>
  740. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  741. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  742. <Column id="reqprid" type="STRING" size="256" sumtext="청구주기"/>
  743. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  744. <Column id="goodcd_like" type="STRING" size="256" sumtext="물품코드 유사여부"/>
  745. <Column id="purcflag" type="STRING" size="256" sumtext="구매구분"/>
  746. <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드"/>
  747. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
  748. <Column id="suplplcecd" type="STRING" size="256" sumtext="주거래처"/>
  749. <Column id="suplplcecdnm" type="STRING" size="256" sumtext="주거래처명"/>
  750. <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처"/>
  751. <Column id="suppcustnm" type="STRING" size="256" sumtext="보조거래처명"/>
  752. <Column id="prntyn" type="STRING" size="256" sumtext="출력여부"/>
  753. <Column id="deliveyn" type="STRING" size="256" sumtext="불출여부"/>
  754. <Column id="erprcpflag" type="STRING" size="256" sumtext="응급여부"/>
  755. <Column id="prcpinptflag" type="STRING" size="256" sumtext="처방입력구분"/>
  756. <Column id="screen_id" type="STRING" size="256" sumtext="화면ID"/>
  757. <Column id="wareflagarr" type="STRING" size="256" sumtext="창고구분"/>
  758. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  759. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  760. <Column id="instcdnm" type="STRING" size="256"/>
  761. </ColumnInfo>
  762. <Rows>
  763. <Row/>
  764. </Rows>
  765. </Dataset>
  766. <Dataset id="ds_main_PrcpGoodTrees_TreeList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  767. <ColumnInfo>
  768. <Column id="depth" type="STRING" size="256" sumtext=" 01 LEVEL "/>
  769. <Column id="pcode" type="STRING" size="256" sumtext=" 02 상위결합코드 "/>
  770. <Column id="codecd" type="STRING" size="256" sumtext=" 03 코드 "/>
  771. <Column id="codenm" type="STRING" size="256" sumtext=" 04 코드명 "/>
  772. <Column id="dispnm" type="STRING" size="256" sumtext=" 05 DISPLAY 명칭 "/>
  773. <Column id="basecode" type="STRING" size="256" sumtext=" 06 상위코드 "/>
  774. </ColumnInfo>
  775. </Dataset>
  776. <Dataset id="ds_send_save_rsihopmabefore" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  777. <ColumnInfo>
  778. <Column id="instcd" type="STRING" size="256" sumtext="00 기관코드 "/>
  779. <Column id="genrdd" type="STRING" size="256" sumtext="01 생성일자 "/>
  780. <Column id="genrno" type="STRING" size="256" sumtext="02 생성번호 "/>
  781. <Column id="genrseq" type="STRING" size="256" sumtext="03 생성순번 "/>
  782. <Column id="beforqty" type="BIGDECIMAL" size="256" sumtext="04 선불출수량 "/>
  783. </ColumnInfo>
  784. </Dataset>
  785. <Dataset id="ds_send_save_prntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  786. <ColumnInfo>
  787. <Column id="instcd" type="STRING" size="256" sumtext="01 기관코드"/>
  788. <Column id="genrdd" type="STRING" size="256" sumtext="02 생성일자"/>
  789. <Column id="genrno" type="STRING" size="256" sumtext="03 생성번호"/>
  790. <Column id="genrseq" type="STRING" size="256" sumtext="04 생성순번"/>
  791. </ColumnInfo>
  792. </Dataset>
  793. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  794. <ColumnInfo>
  795. <Column id="prntkey" type="STRING" size="256"/>
  796. <Column id="allchk" type="STRING" size="256"/>
  797. <Column id="alarmfile" type="STRING" size="256"/>
  798. <Column id="demonresult" type="STRING" size="256"/>
  799. <Column id="alarmsec" type="STRING" size="256"/>
  800. <Column id="alarmcount" type="STRING" size="256"/>
  801. </ColumnInfo>
  802. <Rows>
  803. <Row/>
  804. </Rows>
  805. </Dataset>
  806. <Dataset id="ds_init_sumflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  807. <ColumnInfo>
  808. <Column id="label" type="STRING" size="256"/>
  809. <Column id="value" type="STRING" size="256"/>
  810. </ColumnInfo>
  811. <Rows>
  812. <Row>
  813. <Col id="label">전체</Col>
  814. </Row>
  815. <Row>
  816. <Col id="label">집계</Col>
  817. <Col id="value">Y</Col>
  818. </Row>
  819. <Row>
  820. <Col id="label">미집계</Col>
  821. <Col id="value">N</Col>
  822. </Row>
  823. </Rows>
  824. </Dataset>
  825. <Dataset id="ds_hidden_checkercpdelivery" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  826. <ColumnInfo>
  827. <Column id="ercpcount" type="STRING" size="256"/>
  828. </ColumnInfo>
  829. </Dataset>
  830. <Dataset id="ds_prcpprntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  831. <ColumnInfo>
  832. <Column id="usernm" type="STRING" size="256"/>
  833. <Column id="erprcpflag" type="STRING" size="256"/>
  834. </ColumnInfo>
  835. <Rows>
  836. <Row/>
  837. </Rows>
  838. </Dataset>
  839. <Dataset id="ds_prtinfo_gooddetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  840. <ColumnInfo>
  841. <Column id="chk" type="STRING" size="256" sumtext="선택 "/>
  842. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자 "/>
  843. <Column id="prcpno" type="STRING" size="256" sumtext="처방번호 "/>
  844. <Column id="prcphisno" type="STRING" size="256" sumtext="처방이력번호 "/>
  845. <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
  846. <Column id="ioflag" type="STRING" size="256" sumtext="입원외래구분 "/>
  847. <Column id="pid" type="STRING" size="256" sumtext="등록번호(환자) "/>
  848. <Column id="pid2" type="STRING" size="256" sumtext="등록번호(환자) "/>
  849. <Column id="patnm" type="STRING" size="256" sumtext="환자명 "/>
  850. <Column id="patnm2" type="STRING" size="256" sumtext="환자명 "/>
  851. <Column id="ward" type="STRING" size="256" sumtext="병동 "/>
  852. <Column id="wardnm" type="STRING" size="256" sumtext="병동 "/>
  853. <Column id="room" type="STRING" size="256" sumtext="병실 "/>
  854. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과 "/>
  855. <Column id="orddeptcdnm" type="STRING" size="256" sumtext="진료과 "/>
  856. <Column id="prcpdeptcd" type="STRING" size="256" sumtext="처방부서코드 "/>
  857. <Column id="prcpdeptcdnm" type="STRING" size="256" sumtext="처방부서명 "/>
  858. <Column id="mainmngtdeptcd" type="STRING" size="256" sumtext="관리부서 "/>
  859. <Column id="prcppsn" type="STRING" size="256" sumtext="처방의 "/>
  860. <Column id="indd" type="STRING" size="256" sumtext="입원일자 "/>
  861. <Column id="setflag" type="STRING" size="256" sumtext="재료set구분 "/>
  862. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
  863. <Column id="goodnm" type="STRING" size="256" sumtext="물품코드명 "/>
  864. <Column id="reqflag" type="STRING" size="256" sumtext="청구구분 "/>
  865. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분 "/>
  866. <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
  867. <Column id="reqpridnm" type="STRING" size="256" sumtext="청구주기명 "/>
  868. <Column id="purcflag" type="STRING" size="256" sumtext="구매구분 "/>
  869. <Column id="spec" type="STRING" size="256" sumtext="규격 "/>
  870. <Column id="goodqty" type="STRING" size="256" sumtext="물품수량 "/>
  871. <Column id="times" type="STRING" size="256" sumtext="횟수 "/>
  872. <Column id="dayno" type="STRING" size="256" sumtext="일수 "/>
  873. <Column id="totqty" type="STRING" size="256" sumtext="총수량 "/>
  874. <Column id="beforqty" type="STRING" size="256" sumtext="선불출수량 "/>
  875. <Column id="beforqtyold" type="STRING" size="256" sumtext="선불출수량변경전 "/>
  876. <Column id="rgstdd" type="STRING" size="256" sumtext="등록일자 "/>
  877. <Column id="rgstdeptcd" type="STRING" size="256" sumtext="등록부서코드 "/>
  878. <Column id="sumflag" type="STRING" size="256" sumtext="집계구분 "/>
  879. <Column id="sumflagnm" type="STRING" size="256" sumtext="집계구분 "/>
  880. <Column id="prntyn" type="STRING" size="256" sumtext="출력여부 "/>
  881. <Column id="prntynnm" type="STRING" size="256" sumtext="출력여부명 "/>
  882. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자 "/>
  883. <Column id="demdkey" type="STRING" size="256" sumtext="demdkey(수동여부) "/>
  884. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자id "/>
  885. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시 "/>
  886. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자id "/>
  887. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시 "/>
  888. <Column id="goodspec" type="STRING" size="256" sumtext="규격 "/>
  889. <Column id="goodmodel" type="STRING" size="256" sumtext="모델 "/>
  890. <Column id="allsizespecid" type="STRING" size="256" sumtext="ALL SIZE ID "/>
  891. <Column id="allsizeyn" type="STRING" size="256" sumtext="ALL SIZE 여부 "/>
  892. <Column id="genrdd" type="STRING" size="256" sumtext="생성일자 "/>
  893. <Column id="genrno" type="STRING" size="256" sumtext="생성번호 "/>
  894. <Column id="genrseq" type="STRING" size="256" sumtext="생성순번 "/>
  895. <Column id="setunit" type="STRING" size="256" sumtext="포장구성단위 "/>
  896. <Column id="chk" type="STRING" size="256" sumtext="Grid Check "/>
  897. <Column id="purcflagnm" type="STRING" size="256" sumtext="구매구분명 "/>
  898. <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위 "/>
  899. <Column id="prcpunit2" type="STRING" size="256" sumtext="처방단위 "/>
  900. <Column id="homematrflag" type="STRING" size="256" sumtext="귀가유치물품flag "/>
  901. <Column id="homematrqty" type="STRING" size="256" sumtext="귀가유치물품수량 "/>
  902. <Column id="centcd" type="STRING" size="256" sumtext="센터코드 "/>
  903. <Column id="subdeptcd" type="STRING" size="256" sumtext="세부과코드 "/>
  904. <Column id="centcdnm" type="STRING" size="256" sumtext="센터코드명 "/>
  905. <Column id="subdeptcdnm" type="STRING" size="256" sumtext="세부과코드명 "/>
  906. <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드 "/>
  907. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명 "/>
  908. <Column id="suplplcecd" type="STRING" size="256" sumtext="주거래처 "/>
  909. <Column id="suplplcecdnm" type="STRING" size="256" sumtext="주거래처명 "/>
  910. <Column id="edicd" type="STRING" size="256" sumtext="EDI 코드 "/>
  911. <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처코드 "/>
  912. <Column id="suppcustnm" type="STRING" size="256" sumtext="보조거래처명 "/>
  913. <Column id="goodunitcost" type="STRING" size="256" sumtext="단가 "/>
  914. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  915. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  916. <Column id="prcppsnnm" type="STRING" size="256" sumtext="진료의사명"/>
  917. <Column id="sumcnt" type="STRING" size="256" sumtext="집계차수"/>
  918. <Column id="erprcpflag" type="STRING" size="256" sumtext="처방구분"/>
  919. <Column id="prntkey" type="STRING" size="256" sumtext="출력구분"/>
  920. <Column id="cmt" type="STRING" size="256" sumtext="Remark"/>
  921. <Column id="rtnqty" type="STRING" size="256" sumtext="반납수량"/>
  922. <Column id="autdeliveyn" type="STRING" size="256" sumtext="대차불출여부"/>
  923. <Column id="sumyn" type="STRING" size="256" sumtext="집계여부"/>
  924. <Column id="facptddfr" type="STRING" size="256" sumtext="부모집계일자"/>
  925. <Column id="fsumcnt" type="STRING" size="256" sumtext="부모집계차수"/>
  926. <Column id="execprcpuniqno" type="STRING" size="256" sumtext="처방일련번호"/>
  927. </ColumnInfo>
  928. </Dataset>
  929. <Dataset id="ds_prtinfo_groupgoodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  930. <ColumnInfo>
  931. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  932. <Column id="prcpdeptcd" type="STRING" size="256" sumtext="처방부서코드"/>
  933. <Column id="prcpdeptcdnm" type="STRING" size="256" sumtext="처방부서명"/>
  934. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  935. <Column id="goodnm" type="STRING" size="256" sumtext="물품코드명"/>
  936. <Column id="beforqty" type="STRING" size="256" sumtext="선불출수량"/>
  937. <Column id="prcpdd" type="STRING" size="256" sumtext="등록일자"/>
  938. <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
  939. <Column id="allsizespecid" type="STRING" size="256" sumtext="ALL SIZE ID"/>
  940. <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위"/>
  941. <Column id="prntkey" type="STRING" size="256" sumtext="출력구분"/>
  942. <Column id="autdeliveyn" type="STRING" size="256" sumtext="대차불출여부"/>
  943. </ColumnInfo>
  944. </Dataset>
  945. </Objects>
  946. <Bind>
  947. <BindItem id="item0" compid="group5.grp_key.opt_instcdnm" propid="value" datasetid="ds_send_SearchTree" columnid="instcdnm"/>
  948. <BindItem id="item1" compid="group5.grp_key.opt_instcd" propid="value" datasetid="ds_send_SearchTree" columnid="instcd"/>
  949. <BindItem id="item2" compid="group5.grp_key.cmb_reqflag" propid="value" datasetid="ds_send_SearchTree" columnid="reqflag"/>
  950. <BindItem id="item3" compid="group5.grp_key.ipt_prcpdd" propid="value" datasetid="ds_send_SearchTree" columnid="prcpdd"/>
  951. <BindItem id="item4" compid="group5.grp_key.ipt_prcpdd2" propid="value" datasetid="ds_send_SearchTree" columnid="prcpdd2"/>
  952. <BindItem id="item5" compid="group5.grp_key.ipt_prcpdeptcd" propid="value" datasetid="ds_send_SearchTree" columnid="prcpdeptcd"/>
  953. <BindItem id="item6" compid="group5.grp_key.ipt_prcpdeptnm" propid="value" datasetid="ds_send_SearchTree" columnid="prcpdeptnm"/>
  954. <BindItem id="item7" compid="group5.grp_key.ipt_pid" propid="value" datasetid="ds_send_SearchTree" columnid="pid"/>
  955. <BindItem id="item8" compid="group5.grp_key.ipt_patnm" propid="value" datasetid="ds_send_SearchTree" columnid="patnm"/>
  956. <BindItem id="item9" compid="group5.grp_key.ipt_goodcd" propid="value" datasetid="ds_send_SearchTree" columnid="goodcd"/>
  957. <BindItem id="item10" compid="group5.grp_key.cmb_purcflag" propid="value" datasetid="ds_send_SearchTree" columnid="purcflag"/>
  958. <BindItem id="item11" compid="group5.grp_key.ipt_prcpcd" propid="value" datasetid="ds_send_SearchTree" columnid="prcpcd"/>
  959. <BindItem id="item12" compid="group5.grp_key.ipt_prcpnm" propid="value" datasetid="ds_send_SearchTree" columnid="prcpnm"/>
  960. <BindItem id="item13" compid="group5.grp_key.rdo_prntyn" propid="value" datasetid="ds_send_SearchTree" columnid="prntyn"/>
  961. <BindItem id="item14" compid="group5.grp_key.rdo_sumflag" propid="value" datasetid="ds_send_SearchTree" columnid="sumflag"/>
  962. <BindItem id="item15" compid="group5.grp_key.rdo_deliveyn" propid="value" datasetid="ds_send_SearchTree" columnid="deliveyn"/>
  963. <BindItem id="item16" compid="group5.grp_key.rdo_erprcpflag" propid="value" datasetid="ds_send_SearchTree" columnid="erprcpflag"/>
  964. <BindItem id="item17" compid="group5.grp_key.chk_prcpinptflag" propid="value" datasetid="ds_send_SearchTree" columnid="prcpinptflag"/>
  965. <BindItem id="item18" compid="group5.grp_detail.rdo_viewcls" propid="value" datasetid="ds_send_SearchTree" columnid="querycls"/>
  966. <BindItem id="item19" compid="group5.grp_key.radio1" propid="value" datasetid="ds_send_SearchTree" columnid="ioflag"/>
  967. <BindItem id="item20" compid="group3.rdo_prntlist" propid="value" datasetid="ds_temp" columnid="prntkey"/>
  968. <BindItem id="item21" compid="group5.grp_main.chk_allchk" propid="value" datasetid="ds_temp" columnid="allchk"/>
  969. <BindItem id="item22" compid="group2.opt_alarmfile" propid="value" datasetid="ds_temp" columnid="alarmfile"/>
  970. <BindItem id="item23" compid="group2.opt_alarm" propid="value" datasetid="ds_temp" columnid="demonresult"/>
  971. <BindItem id="item24" compid="group2.cmb_alarmsec" propid="value" datasetid="ds_temp" columnid="alarmsec"/>
  972. <BindItem id="item25" compid="group2.opt_alarmcount" propid="value" datasetid="ds_temp" columnid="alarmcount"/>
  973. </Bind>
  974. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  975. * System Name : 경대 의료정보시스템
  976. * Job Name : mis_reqxp -> SMRSD02300
  977. * Creator : yjh
  978. * Make Date : 2017-11-01
  979. * Description :
  980. *---------------------------------------------------------------------------------------
  981. * Modify Date Modifier Modify Description
  982. *---------------------------------------------------------------------------------------
  983. * 2017-11-01 yjh TF->XP
  984. *
  985. *---------------------------------------------------------------------------------------
  986. ****************************************************************************************/
  987. //=======================================================================================
  988. // Lib Include
  989. //---------------------------------------------------------------------------------------
  990. include "com_commonxp::comm_main.xjs";
  991. include "mis_reqxp::SMRSD02200.xjs";
  992. include "mis_miscommonxp::MIS.xjs";
  993. include "mis_miscommonxp::RSZ001.xjs";
  994. //=======================================================================================
  995. // Global Form Variable
  996. //---------------------------------------------------------------------------------------
  997. var fv_defaultPath = group5;
  998. var fv_defaultPath2 = group5.grp_key;
  999. var fv_defaultPath3 = group5.grp_key;
  1000. var fv_documentCookie = "";
  1001. var arErrorCode = new HashArray();
  1002. var fv_radioPath = group3;
  1003. //=======================================================================================
  1004. // Function
  1005. //---------------------------------------------------------------------------------------
  1006. var alarmTimer = -1;
  1007. var alarmFile = "c:\\ALARM.wav";
  1008. function fCheckTimer() {
  1009. ds_temp.setColumn(0, "alarmcount", alarmTimer);
  1010. if(alarmTimer != -1) {
  1011. alarmTimer -= 1;
  1012. if(alarmTimer < 0) {
  1013. fSearchNewErprcp();
  1014. alarmTimer = ds_temp.getColumn(0, "alarmsec");
  1015. }
  1016. }
  1017. }
  1018. function fSearchNewErprcp() {
  1019. var oParam = {};
  1020. oParam.id = "TRRSD02211";
  1021. oParam.service = "reqapp.ReqMngt";
  1022. oParam.method = "reqGetCheckErpcDelivery";
  1023. oParam.inds = "req=ds_send_SearchTree";
  1024. oParam.outds = "ds_hidden_checkercpdelivery=checkercpdelivery";
  1025. oParam.async = false;
  1026. oParam.callback = "responseHandlerTRRSD02211";
  1027. tranf_submit(oParam);
  1028. }
  1029. function playsound(){
  1030. group2.sound1.url = alarmFile;
  1031. }
  1032. function responseHandlerTRRSD02211(submitUUID, response, responseType) {
  1033. // 서버에서 전달된 결과를 instance에 맵핑
  1034. //defualtResponseHandler(submitUUID, response, responseType);
  1035. var ercpcount = ds_hidden_checkercpdelivery.getColumn(0, "ercpcount");
  1036. ds_temp.setColumn(0, "demonresult",ercpcount + "건의 미불출 응급처방이 있습니다.");
  1037. group5.grp_main.btn_newercp.text = "응급처방(" + ercpcount + ")";
  1038. if(ercpcount > 0) playsound();
  1039. }
  1040. function setCookie(strName, strValue, intDate)
  1041. {
  1042. var strExpires = "";
  1043. if(!utlf_isNull(intDate) && !isNaN(intDate))
  1044. {
  1045. var dtmToday = new Date();
  1046. dtmToday.setDate(dtmToday.getDate() + parseInt(intDate));
  1047. strExpires = "; expires=" + dtmToday.toGMTString();
  1048. }
  1049. fv_documentCookie = strName + "=" + escape(strValue) + strExpires + "; ";
  1050. }
  1051. function getCookie(strName)
  1052. {
  1053. var arrCookie = fv_documentCookie.split("; ");
  1054. var arrCrumb;
  1055. for (var i=0;i<arrCookie.length;i++)
  1056. {
  1057. arrCrumb = arrCookie[i].split("=");
  1058. if (strName==arrCrumb[0].replace(/^\s+/, ""))
  1059. return unescape(arrCrumb[1]);
  1060. }
  1061. return null;
  1062. }
  1063. //=======================================================================================
  1064. // Event
  1065. //---------------------------------------------------------------------------------------
  1066. /****************************************************************************************
  1067. * Components : Form
  1068. * Components ID : SMRSD02300
  1069. * Event : oninit
  1070. * Argument : 01.obj : Object Event has occurred
  1071. * : 02.e : Event Object
  1072. * Description : 화면 처음 초기화시
  1073. ****************************************************************************************/
  1074. function SMRSD02300_oninit(obj:Form, e:InitEventInfo)
  1075. {
  1076. frmf_initForm(obj); //폼 초기화
  1077. }
  1078. /****************************************************************************************
  1079. * Components : Form
  1080. * Components ID : SMRSD02300
  1081. * Event : onload
  1082. * Argument : 01.obj : Object Event has occurred
  1083. * : 02.e : Event Object
  1084. * Description : 화면 로딩 완료시
  1085. ****************************************************************************************/
  1086. function SMRSD02300_onload(obj:Form, e:LoadEventInfo)
  1087. {
  1088. ds_send_SearchTree.setColumn(0, "querycls", "0");
  1089. ds_send_SearchTree.setColumn(0, "erprcpflag", "Y");
  1090. grdf_setGridSort(group5.grp_main.grd_searchgood);
  1091. grdf_setGridSort(group5.grp_main.grd_excelgood);
  1092. misfComboComCdList("R0111", group5.grp_key.cmb_purcflag, "Y"); //구매구분
  1093. rszfUserReqFlagList("group5.grp_key.cmb_reqflag",sysf_getUserInfo("dutplceinstcd"),sysf_getUserInfo("userid"),"%","B");
  1094. fInit(); // 화면 Control을 초기화한다
  1095. group5.grp_key.cmb_reqflag.index = 0; //청구구분
  1096. vProgramCls = "SMRSD02300";
  1097. this.setTimer(0, 1000);
  1098. if( !utlf_isNull(getCookie("alarmTimer")) ) {
  1099. group2.cmb_alarmsec.value = getCookie("alarmTimer");
  1100. alarmTimer = getCookie("alarmTimer");
  1101. } else {
  1102. group2.cmb_alarmsec.index = 0;
  1103. }
  1104. ds_temp.setColumn(0, "alarmfile", alarmFile);
  1105. fSearchNewErprcp();
  1106. }
  1107. /****************************************************************************************
  1108. * Components : Button
  1109. * Components ID : btn_searchTree
  1110. * Event : onclick
  1111. * Argument : 01.obj : Object Event has occurred
  1112. * : 02.e : Event Object
  1113. * Description : 트리재구성버튼 클릭시
  1114. ****************************************************************************************/
  1115. function group5_grp_detail_btn_searchTree_onclick(obj:Button, e:ClickEventInfo)
  1116. {
  1117. fDataSearchTree();
  1118. ds_prcpprntinfo.setColumn(0, "usernm" ,sysf_getUserInfo("usernm"));
  1119. ds_prcpprntinfo.setColumn(0, "erprcpflag", ds_send_SearchTree.getColumn(0, "erprcpflag"));
  1120. }
  1121. /****************************************************************************************
  1122. * Components : Radio
  1123. * Components ID : rdo_viewcls
  1124. * Event : onitemchanged
  1125. * Argument : 01.obj : Object Event has occurred
  1126. * : 02.e : Event Object
  1127. * Description : 라디오 값 변경시
  1128. ****************************************************************************************/
  1129. function group5_grp_detail_rdo_viewcls_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1130. {
  1131. fDataSearchTree();
  1132. }
  1133. /****************************************************************************************
  1134. * Components : Dataset
  1135. * Components ID : ds_main_list_searchgood_searchgoodlist
  1136. * Event : oncolumnchanged
  1137. * Argument : 01.obj : Object Event has occurred
  1138. * : 02.e : Event Object
  1139. * Description : 데이터셋 값 변경시
  1140. ****************************************************************************************/
  1141. function ds_main_list_searchgood_searchgoodlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1142. {
  1143. if( e.columnid == "chk" ){
  1144. if( e.newvalue == "1" || e.newvalue == "Y" ){
  1145. obj.setColumn(e.row, e.columnid, "Y");
  1146. }else{
  1147. obj.setColumn(e.row, e.columnid, "N");
  1148. }
  1149. }else{
  1150. fBeforQtyOnChange(e.row, 1);
  1151. if(e.row < obj.rowcount){
  1152. obj.rowposition = e.row + 1
  1153. group5.grp_main.grd_searchgood.setCellPos(group5.grp_main.grd_searchgood.getBindCellIndex("body", "beforqty"));
  1154. }
  1155. }
  1156. }
  1157. /****************************************************************************************
  1158. * Components : Grid
  1159. * Components ID : grd_searchgood
  1160. * Event : oncellclick
  1161. * Argument : 01.obj : Object Event has occurred
  1162. * : 02.e : Event Object
  1163. * Description : 그리드 셀 클릭시
  1164. ****************************************************************************************/
  1165. function group5_grp_main_grd_searchgood_oncellclick(obj:Grid, e:GridClickEventInfo)
  1166. {
  1167. switch( e.col ){
  1168. case 1 :
  1169. ds_main_list_searchgood_searchgoodlist.enableevent = false;
  1170. ds_main_list_searchgood_searchgoodlist.updatecontrol = false;
  1171. if( ds_main_list_searchgood_searchgoodlist.getColumn(e.row, "chk") == "Y" ){
  1172. var totqty = ds_main_list_searchgood_searchgoodlist.getColumn(e.row, "totqty");
  1173. ds_main_list_searchgood_searchgoodlist.setColumn(e.row, "beforqty", totqty);
  1174. }else{
  1175. ds_main_list_searchgood_searchgoodlist.setColumn(e.row, "beforqty", "0");
  1176. }
  1177. ds_main_list_searchgood_searchgoodlist.updatecontrol = true;
  1178. ds_main_list_searchgood_searchgoodlist.enableevent = true;
  1179. break;
  1180. default :
  1181. break;
  1182. }
  1183. }
  1184. /****************************************************************************************
  1185. * Components : Button
  1186. * Components ID : btn_excel2
  1187. * Event : onclick
  1188. * Argument : 01.obj : Object Event has occurred
  1189. * : 02.e : Event Object
  1190. * Description : 엑셀버튼 클릭시
  1191. ****************************************************************************************/
  1192. function group5_grp_main_btn_excel2_onclick(obj:Button, e:ClickEventInfo)
  1193. {
  1194. var vdate = new Date();
  1195. var HH = vdate.getHours();
  1196. var MI = vdate.getMinutes();
  1197. var SS = vdate.getSeconds();
  1198. var vTime = HH +"" + MI +"" + SS;
  1199. var vFileNM = "처방전달물품내역_"+utlf_getCurrentDate()+ vTime;
  1200. grdf_exportExcel(group5.grp_main.grd_excelgood, vFileNM, vFileNM, false, "", "user", false);
  1201. }
  1202. /****************************************************************************************
  1203. * Components : Button
  1204. * Components ID : button57
  1205. * Event : onclick
  1206. * Argument : 01.obj : Object Event has occurred
  1207. * : 02.e : Event Object
  1208. * Description : <버튼 클릭시
  1209. ****************************************************************************************/
  1210. function group5_grp_main_button57_onclick(obj:Button, e:ClickEventInfo)
  1211. {
  1212. fDataPartToggle("1");
  1213. }
  1214. /****************************************************************************************
  1215. * Components : Button
  1216. * Components ID : button58
  1217. * Event : onclick
  1218. * Argument : 01.obj : Object Event has occurred
  1219. * : 02.e : Event Object
  1220. * Description : >버튼 클릭시
  1221. ****************************************************************************************/
  1222. function group5_grp_main_button58_onclick(obj:Button, e:ClickEventInfo)
  1223. {
  1224. fDataPartToggle("0");
  1225. }
  1226. /****************************************************************************************
  1227. * Components : Button
  1228. * Components ID : btn_save
  1229. * Event : onclick
  1230. * Argument : 01.obj : Object Event has occurred
  1231. * : 02.e : Event Object
  1232. * Description : 저장버튼 클릭시
  1233. ****************************************************************************************/
  1234. function group5_grp_main_btn_save_onclick(obj:Button, e:ClickEventInfo)
  1235. {
  1236. fBeforQtyDataSave(); // Data를 저장한다.
  1237. fSearchNewErprcp();
  1238. }
  1239. /****************************************************************************************
  1240. * Components : Button
  1241. * Components ID : btn_wardprint
  1242. * Event : onclick
  1243. * Argument : 01.obj : Object Event has occurred
  1244. * : 02.e : Event Object
  1245. * Description : 환자별 출력버튼 클릭시
  1246. ****************************************************************************************/
  1247. function group5_grp_main_btn_wardprint_onclick(obj:Button, e:ClickEventInfo)
  1248. {
  1249. if(grdf_getGridUpdateData(group5.grp_main.grd_searchgood).rowcount > 0) {
  1250. if(sysf_messageBox("변경 된 내용을 ","Q002") == "6"){
  1251. fBeforQtyDataSave();
  1252. } else {
  1253. return;
  1254. }
  1255. }
  1256. ds_prtinfo_gooddetlist.clearData();
  1257. if(ds_main_list_searchgood_searchgoodlist.findRowExpr("beforqty!='0'") < 0){
  1258. sysf_messageBox("출력할 내용이","I004");
  1259. return;
  1260. }
  1261. // copyNodesetType("/root/prtinfo/gooddetlist","/root/main/list/searchgood/searchgoodlist[beforqty != '0' and sumflag == 'N']","replace");
  1262. ds_main_list_searchgood_searchgoodlist.filter("beforqty!='0'");
  1263. ds_prtinfo_gooddetlist.copyData(ds_main_list_searchgood_searchgoodlist, true);
  1264. ds_main_list_searchgood_searchgoodlist.filter("");
  1265. if(ds_prtinfo_gooddetlist.rowcount == 0){
  1266. ds_prtinfo_gooddetlist.addRow();
  1267. }
  1268. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1269. rptf_setNodeListToDOM(objDOM, "/root/prcpprntinfo", ds_prcpprntinfo); // 데이터셋 1
  1270. rptf_setNodeListToDOM(objDOM, "/root/prtinfo/gooddetlist", ds_prtinfo_gooddetlist); // 데이터셋 1
  1271. var objParam = new Object();
  1272. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  1273. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  1274. rptf_exeReportPreview30(["RPRSD02203"],[objParam], option);
  1275. // fBeforQtyDataSave(); // Data를 저장한다.
  1276. fPrntDataSave();
  1277. }
  1278. /****************************************************************************************
  1279. * Components : CheckBox
  1280. * Components ID : chk_allchk
  1281. * Event : onclick
  1282. * Argument : 01.obj : Object Event has occurred
  1283. * : 02.e : Event Object
  1284. * Description : 체크박스 클릭시
  1285. ****************************************************************************************/
  1286. function group5_grp_main_chk_allchk_onclick(obj:CheckBox, e:ClickEventInfo)
  1287. {
  1288. var allchk = ds_temp.getColumn(0, "allchk");
  1289. if(allchk=="Y"){
  1290. for(var i=0; i < ds_main_list_searchgood_searchgoodlist.rowcount;i++){
  1291. ds_main_list_searchgood_searchgoodlist.setColumn(i, "chk", "Y");
  1292. ds_main_list_searchgood_searchgoodlist.setColumn(i, "beforqty", ds_main_list_searchgood_searchgoodlist.getColumn(i, "totqty"));
  1293. }
  1294. }else{
  1295. for(var i=0; i < ds_main_list_searchgood_searchgoodlist.rowcount;i++){
  1296. ds_main_list_searchgood_searchgoodlist.setColumn(i, "chk", "N");
  1297. ds_main_list_searchgood_searchgoodlist.setColumn(i, "beforqty", "0");
  1298. }
  1299. }
  1300. }
  1301. /****************************************************************************************
  1302. * Components : Button
  1303. * Components ID : button3
  1304. * Event : onclick
  1305. * Argument : 01.obj : Object Event has occurred
  1306. * : 02.e : Event Object
  1307. * Description : 알림설정버튼 클릭시
  1308. ****************************************************************************************/
  1309. function group5_grp_main_button3_onclick(obj:Button, e:ClickEventInfo)
  1310. {
  1311. group2.visible = true;
  1312. }
  1313. /****************************************************************************************
  1314. * Components : Button
  1315. * Components ID : btn_newercp
  1316. * Event : onclick
  1317. * Argument : 01.obj : Object Event has occurred
  1318. * : 02.e : Event Object
  1319. * Description : 응급처방(0)버튼 클릭시
  1320. ****************************************************************************************/
  1321. function group5_grp_main_btn_newercp_onclick(obj:Button, e:ClickEventInfo)
  1322. {
  1323. group5.grp_key.ipt_prcpdeptcd.value = "";
  1324. group5.grp_key.ipt_prcpdeptnm.value = "";
  1325. group5.grp_key.ipt_pid.value = "";
  1326. group5.grp_key.ipt_patnm.value = "";
  1327. group5.grp_key.ipt_goodcd.value = "";
  1328. group5.grp_key.cmb_purcflag.value = "";
  1329. group5.grp_key.rdo_prntyn.value = "";
  1330. group5.grp_key.rdo_deliveyn.value = "N";
  1331. group5.grp_key.chk_prcpinptflag.value = "ignore";
  1332. group5.grp_detail.rdo_viewcls.value = "0";
  1333. group5.grp_detail.btn_searchTree.click();
  1334. }
  1335. /****************************************************************************************
  1336. * Components : Button
  1337. * Components ID : btn_goodprint
  1338. * Event : onclick
  1339. * Argument : 01.obj : Object Event has occurred
  1340. * : 02.e : Event Object
  1341. * Description : 물품별 출력버튼 클릭시
  1342. ****************************************************************************************/
  1343. function group5_grp_main_btn_goodprint_onclick(obj:Button, e:ClickEventInfo)
  1344. {
  1345. if(grdf_getGridUpdateData(group5.grp_main.grd_searchgood).rowcount > 0) {
  1346. if(sysf_messageBox("변경 된 내용을 ","Q002") == "6"){
  1347. fBeforQtyDataSave();
  1348. } else {
  1349. return;
  1350. }
  1351. }
  1352. ds_prtinfo_groupgoodlist.clearData();
  1353. if(ds_main_list_searchgood_groupgoodlist.rowcount < 1){
  1354. sysf_messageBox("출력할 내용이","I004");
  1355. return;
  1356. } else {
  1357. if(ds_main_list_searchgood_groupgoodlist.findRowExpr("prntkey==null || prntkey=='' || prntkey=='undefined' || prntkey==' '") > -1) {
  1358. ds_main_list_searchgood_groupgoodlist.filter("prntkey==null || prntkey=='' || prntkey=='undefined' || prntkey==' '");
  1359. ds_prtinfo_groupgoodlist.copyData(ds_main_list_searchgood_groupgoodlist, true);
  1360. ds_main_list_searchgood_groupgoodlist.filter("");
  1361. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1362. rptf_setNodeListToDOM(objDOM, "/root/prtinfo/groupgoodlist", ds_prtinfo_groupgoodlist); // 데이터셋 1
  1363. rptf_setNodeListToDOM(objDOM, "/root/prcpprntinfo", ds_prcpprntinfo); // 데이터셋 1
  1364. var objParam = new Object();
  1365. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  1366. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  1367. rptf_exeReportPreview30(["RPRSD02204"],[objParam], option);
  1368. fPrntDataSave();
  1369. return;
  1370. }
  1371. if(ds_main_list_searchgood_prntlist.rowcount > 1){
  1372. ds_temp.setColumn(0, "prntkey", "");
  1373. group3.rdo_prntlist.index = 0;
  1374. group5.enable = false;
  1375. group3.visible = true;
  1376. return;
  1377. } else {
  1378. ds_prtinfo_groupgoodlist.copyData(ds_main_list_searchgood_groupgoodlist);
  1379. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1380. rptf_setNodeListToDOM(objDOM, "/root/prtinfo/groupgoodlist", ds_prtinfo_groupgoodlist); // 데이터셋 1
  1381. rptf_setNodeListToDOM(objDOM, "/root/prcpprntinfo", ds_prcpprntinfo); // 데이터셋 1
  1382. var objParam = new Object();
  1383. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  1384. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  1385. rptf_exeReportPreview30(["RPRSD02204"],[objParam], option);
  1386. }
  1387. }
  1388. }
  1389. /****************************************************************************************
  1390. * Components : Button
  1391. * Components ID : btn_search
  1392. * Event : onclick
  1393. * Argument : 01.obj : Object Event has occurred
  1394. * : 02.e : Event Object
  1395. * Description : 조회버튼 클릭시
  1396. ****************************************************************************************/
  1397. function group5_grp_key_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1398. {
  1399. misfGridInit(group5.grp_main.grd_searchgood);
  1400. //misfGridInit(grd_orderlist);
  1401. misfMsterDetailRetrieve();
  1402. //fAfterRetrieve();
  1403. misfSetReadOnlyCol(group5.grp_main.grd_searchgood, "sumflag", true);
  1404. }
  1405. /****************************************************************************************
  1406. * Components : Button
  1407. * Components ID : button1
  1408. * Event : onclick
  1409. * Argument : 01.obj : Object Event has occurred
  1410. * : 02.e : Event Object
  1411. * Description : 돋보기버튼 클릭시
  1412. ****************************************************************************************/
  1413. function group5_grp_key_button1_onclick(obj:Button, e:ClickEventInfo)
  1414. {
  1415. var recv_list = "prcpdeptcd,prcpdeptnm";
  1416. misfOpenPopUpList("02", group5.grp_key.ipt_prcpdeptcd,"", recv_list) ;
  1417. fDataSearchTree();
  1418. }
  1419. /****************************************************************************************
  1420. * Components : Dataset
  1421. * Components ID : ds_send_SearchTree
  1422. * Event : oncolumnchanged
  1423. * Argument : 01.obj : Object Event has occurred
  1424. * : 02.e : Event Object
  1425. * Description : 데이터셋 값 변경시
  1426. ****************************************************************************************/
  1427. function ds_send_SearchTree_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1428. {
  1429. switch( e.columnid ){
  1430. case "prcpdeptcd" :
  1431. misfSearchDept(group5.grp_key.ipt_prcpdeptnm);
  1432. break;
  1433. case "prcpinptflag" :
  1434. if( e.newvalue != "ignore" ){
  1435. obj.setColumn(e.row, e.columnid, "");
  1436. }
  1437. break;
  1438. default :
  1439. break;
  1440. }
  1441. }
  1442. /****************************************************************************************
  1443. * Components : Edit
  1444. * Components ID : ipt_pid
  1445. * Event : onkeyup
  1446. * Argument : 01.obj : Object Event has occurred
  1447. * : 02.e : Event Object
  1448. * Description : 에디터 키 입력시
  1449. ****************************************************************************************/
  1450. function group5_grp_key_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  1451. {
  1452. if( e.keycode == 13 ){
  1453. obj.updateToDataset();
  1454. group5.grp_detail.btn_searchTree.click();
  1455. }
  1456. }
  1457. /****************************************************************************************
  1458. * Components : Edit
  1459. * Components ID : ipt_patnm
  1460. * Event : onkeyup
  1461. * Argument : 01.obj : Object Event has occurred
  1462. * : 02.e : Event Object
  1463. * Description : 에디터 키 입력시
  1464. ****************************************************************************************/
  1465. function group5_grp_key_ipt_patnm_onkeyup(obj:Edit, e:KeyEventInfo)
  1466. {
  1467. if( e.keycode == 13 ){
  1468. obj.updateToDataset();
  1469. group5.grp_detail.btn_searchTree.click();
  1470. }
  1471. }
  1472. /****************************************************************************************
  1473. * Components : Edit
  1474. * Components ID : ipt_goodcd
  1475. * Event : onkeyup
  1476. * Argument : 01.obj : Object Event has occurred
  1477. * : 02.e : Event Object
  1478. * Description : 에디터 키 입력시
  1479. ****************************************************************************************/
  1480. function group5_grp_key_ipt_goodcd_onkeyup(obj:Edit, e:KeyEventInfo)
  1481. {
  1482. if( e.keycode == 13 ){
  1483. obj.updateToDataset();
  1484. group5.grp_detail.btn_searchTree.click();
  1485. }
  1486. }
  1487. /****************************************************************************************
  1488. * Components : Edit
  1489. * Components ID : ipt_prcpnm
  1490. * Event : onkeyup
  1491. * Argument : 01.obj : Object Event has occurred
  1492. * : 02.e : Event Object
  1493. * Description : 에디터 키 입력시
  1494. ****************************************************************************************/
  1495. function group5_grp_key_ipt_prcpnm_onkeyup(obj:Edit, e:KeyEventInfo)
  1496. {
  1497. if( e.keycode == 13 ){
  1498. obj.updateToDataset();
  1499. group5.grp_detail.btn_searchTree.click();
  1500. }
  1501. }
  1502. /****************************************************************************************
  1503. * Components : Edit
  1504. * Components ID : ipt_prcpcd
  1505. * Event : onkeyup
  1506. * Argument : 01.obj : Object Event has occurred
  1507. * : 02.e : Event Object
  1508. * Description : 에디터 키 입력시
  1509. ****************************************************************************************/
  1510. function group5_grp_key_ipt_prcpcd_onkeyup(obj:Edit, e:KeyEventInfo)
  1511. {
  1512. if( e.keycode == 13 ){
  1513. obj.updateToDataset();
  1514. group5.grp_detail.btn_searchTree.click();
  1515. }
  1516. }
  1517. /****************************************************************************************
  1518. * Components : Combo
  1519. * Components ID : cmb_alarmsec
  1520. * Event : onitemchanged
  1521. * Argument : 01.obj : Object Event has occurred
  1522. * : 02.e : Event Object
  1523. * Description : 콤보 값 변경시
  1524. ****************************************************************************************/
  1525. function group2_cmb_alarmsec_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1526. {
  1527. alarmTimer = group2.cmb_alarmsec.value;
  1528. setCookie("alarmTimer",group2.cmb_alarmsec.value,30);
  1529. }
  1530. /****************************************************************************************
  1531. * Components : Button
  1532. * Components ID : btn_demon
  1533. * Event : onclick
  1534. * Argument : 01.obj : Object Event has occurred
  1535. * : 02.e : Event Object
  1536. * Description : 실행버튼 클릭시
  1537. ****************************************************************************************/
  1538. function group2_btn_demon_onclick(obj:Button, e:ClickEventInfo)
  1539. {
  1540. fSearchNewErprcp();
  1541. }
  1542. /****************************************************************************************
  1543. * Components : Button
  1544. * Components ID : button2
  1545. * Event : onclick
  1546. * Argument : 01.obj : Object Event has occurred
  1547. * : 02.e : Event Object
  1548. * Description : 닫기버튼 클릭시
  1549. ****************************************************************************************/
  1550. function group2_button2_onclick(obj:Button, e:ClickEventInfo)
  1551. {
  1552. group2.visible = false;
  1553. }
  1554. /****************************************************************************************
  1555. * Components : Button
  1556. * Components ID : btn_addfile
  1557. * Event : onclick
  1558. * Argument : 01.obj : Object Event has occurred
  1559. * : 02.e : Event Object
  1560. * Description : 알림파일버튼 클릭시
  1561. ****************************************************************************************/
  1562. function group2_btn_addfile_onclick(obj:Button, e:ClickEventInfo)
  1563. {
  1564. var fd = new FileDialog;
  1565. var objVFileList = fd.open("FileOpen", FileDialog.SINGLELOAD); // 여러파일 선택 MULTILOAD //Wave Files (*.wav)|*.wav
  1566. if( !utlf_isNull(objVFileList) ){
  1567. ds_temp.setColumn(0, "alarmfile", objVFileList.fullpath);
  1568. alarmFile = objVFileList.fullpath;
  1569. group2.sound1.url = objVFileList.fullpath;
  1570. }
  1571. }
  1572. /****************************************************************************************
  1573. * Components : Button
  1574. * Components ID : button4
  1575. * Event : onclick
  1576. * Argument : 01.obj : Object Event has occurred
  1577. * : 02.e : Event Object
  1578. * Description : 출력버튼 클릭시
  1579. ****************************************************************************************/
  1580. function group3_button4_onclick(obj:Button, e:ClickEventInfo)
  1581. {
  1582. ds_prtinfo_groupgoodlist.clearData();
  1583. group5.enable = false;
  1584. group3.visible = true;
  1585. ds_main_list_searchgood_groupgoodlist.filter("prntkey=='"+ds_temp.getColumn(0, "prntkey")+"'");
  1586. ds_prtinfo_groupgoodlist.copyData(ds_main_list_searchgood_groupgoodlist, true); // 전체 선불출 노드
  1587. ds_main_list_searchgood_groupgoodlist.filter("");
  1588. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1589. rptf_setNodeListToDOM(objDOM, "/root/prtinfo/groupgoodlist", ds_prtinfo_groupgoodlist); // 데이터셋 1
  1590. rptf_setNodeListToDOM(objDOM, "/root/prcpprntinfo", ds_prcpprntinfo); // 데이터셋 1
  1591. var objParam = new Object();
  1592. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  1593. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  1594. rptf_exeReportPreview30(["RPRSD02204"],[objParam], option);
  1595. }
  1596. /****************************************************************************************
  1597. * Components : Button
  1598. * Components ID : button5
  1599. * Event : onclick
  1600. * Argument : 01.obj : Object Event has occurred
  1601. * : 02.e : Event Object
  1602. * Description : 닫기버튼 클릭시
  1603. ****************************************************************************************/
  1604. function group3_button5_onclick(obj:Button, e:ClickEventInfo)
  1605. {
  1606. group5.enable = true;
  1607. group3.visible = false;
  1608. }
  1609. function SMRSD02300_ontimer(obj:Form, e:TimerEventInfo)
  1610. {
  1611. switch( e.timerid ){
  1612. case 0 :
  1613. //this.killTimer(0);
  1614. fCheckTimer();
  1615. break;
  1616. default :
  1617. break;
  1618. }
  1619. }
  1620. /****************************************************************************************
  1621. * Components : Grid
  1622. * Components ID : trv_setcode
  1623. * Event : oncellclick
  1624. * Argument : 01.obj : Object Event has occurred
  1625. * : 02.e : Event Object
  1626. * Description : 그리드 셀 클릭시
  1627. ****************************************************************************************/
  1628. function group5_grp_detail_trv_setcode_oncellclick(obj:Grid, e:GridClickEventInfo)
  1629. {
  1630. fDataSearchDetail(ds_main_PrcpGoodTrees_TreeList.rowposition, "D");
  1631. }
  1632. ]]></Script>
  1633. </Form>
  1634. </FDL>