SPMNW17200_원스탑퇴원정리.xfdl 124 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMNW17200" position="absolute 0 0 1211 900" titletext="원스탑퇴원정리" oninit="SPMNW17200_oninit" onload="SPMNW17200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 15 1211 900" id="group2">
  8. <Layouts>
  9. <Layout>
  10. <Button position="absolute 481 69 556 89" id="button1" class="btn5" text="강제Acting" onclick="group2_button1_onclick" anchor="default"/>
  11. <Grid position="absolute 0 94 600 208" id="grd_actingchklist" binddataset="ds_grd_actingchklist" anchor="default" cellsizingtype="col" cellclickbound="cell" autofittype="col">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="22"/>
  16. <Column size="68"/>
  17. <Column size="72"/>
  18. <Column size="150"/>
  19. <Column size="68"/>
  20. <Column size="102"/>
  21. <Column size="102"/>
  22. <Column size="0"/>
  23. <Column size="0"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. </Columns>
  56. <Rows>
  57. <Row size="24" band="head"/>
  58. <Row size="24"/>
  59. </Rows>
  60. <Band id="head">
  61. <Cell displaytype="checkbox" edittype="checkbox"/>
  62. <Cell col="1" text="처방상태"/>
  63. <Cell col="2" text="처방코드"/>
  64. <Cell col="3" text="처방명"/>
  65. <Cell col="4" text="처방적용일"/>
  66. <Cell col="5" text="예약일시"/>
  67. <Cell col="6" text="처방일시"/>
  68. <Cell col="7" text="caption1"/>
  69. <Cell col="8" text="caption2"/>
  70. <Cell col="9" text="calcscorcd"/>
  71. <Cell col="10" text="caption4"/>
  72. <Cell col="11" text="caption5"/>
  73. <Cell col="12" text="caption6"/>
  74. <Cell col="13" text="caption7"/>
  75. <Cell col="14" text="caption8"/>
  76. <Cell col="15" text="caption9"/>
  77. <Cell col="16" text="caption10"/>
  78. <Cell col="17" text="caption11"/>
  79. <Cell col="18" text="caption12"/>
  80. <Cell col="19" text="caption13"/>
  81. <Cell col="20" text="caption14"/>
  82. <Cell col="21" text="caption15"/>
  83. <Cell col="22" text="caption16"/>
  84. <Cell col="23" text="caption17"/>
  85. <Cell col="24" text="caption18"/>
  86. <Cell col="25" text="caption19"/>
  87. <Cell col="26" text="caption20"/>
  88. <Cell col="27" text="caption21"/>
  89. <Cell col="28" text="caption22"/>
  90. <Cell col="29" text="caption23"/>
  91. <Cell col="30" text="caption24"/>
  92. <Cell col="31" text="caption25"/>
  93. <Cell col="32" text="caption26"/>
  94. <Cell col="33" text="caption27"/>
  95. <Cell col="34" text="caption3"/>
  96. <Cell col="35" text="caption28"/>
  97. <Cell col="36" text="caption29"/>
  98. <Cell col="37" text="caption30"/>
  99. <Cell col="38" text="caption31"/>
  100. <Cell col="39" text="caption32"/>
  101. </Band>
  102. <Band id="body">
  103. <Cell celltype="none" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  104. <Cell col="1" text="bind:execprcpstatcd"/>
  105. <Cell col="2" style="align:left middle;" text="bind:prcpcd"/>
  106. <Cell col="3" style="align:left middle;" text="bind:prcpnm"/>
  107. <Cell col="4" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  108. <Cell col="5" displaytype="date" text="bind:rsrvdt" mask="yyyy-MM-dd hh:mm"/>
  109. <Cell col="6" displaytype="date" text="bind:rgstdt" mask="yyyy-MM-dd hh:mm"/>
  110. <Cell col="7" text="bind:status"/>
  111. <Cell col="8" text="bind:actyn"/>
  112. <Cell col="9" text="bind:calcscorcd"/>
  113. <Cell col="10" text="bind:clscd"/>
  114. <Cell col="11" text="bind:clscd1"/>
  115. <Cell col="12" text="bind:prcpno"/>
  116. <Cell col="13" text="bind:statcd"/>
  117. <Cell col="14" text="bind:prcptoyn"/>
  118. <Cell col="15" text="bind:pid"/>
  119. <Cell col="16" text="bind:prcphistno"/>
  120. <Cell col="17" text="bind:execprcpno"/>
  121. <Cell col="18" text="bind:orddd"/>
  122. <Cell col="19" text="bind:execprcpuniqno"/>
  123. <Cell col="20" text="bind:ekgbaseflag"/>
  124. <Cell col="21" text="bind:cretno"/>
  125. <Cell col="22" text="bind:prcpgenrflag"/>
  126. <Cell col="23" text="bind:rgstdeptcd"/>
  127. <Cell col="24" text="bind:rgstrid"/>
  128. <Cell col="25" text="bind:orddeptcd"/>
  129. <Cell col="26" text="bind:wardcd"/>
  130. <Cell col="27" text="bind:wardnm"/>
  131. <Cell col="28" text="bind:medispclid"/>
  132. <Cell col="29" text="bind:prcpkindcd"/>
  133. <Cell col="30" text="bind:roomcd"/>
  134. <Cell col="31" text="bind:carecnfmdd"/>
  135. <Cell col="32" text="bind:prcpexecdeptcd"/>
  136. <Cell col="33" text="bind:prcphopedd"/>
  137. <Cell col="34" text="bind:rsrvflag"/>
  138. <Cell col="35" text="bind:execprcpstatcd"/>
  139. <Cell col="36" text="bind:dutflag"/>
  140. <Cell col="37" text="bind:enddd"/>
  141. <Cell col="38" text="bind:cvrtbfprcpgenrflag"/>
  142. <Cell col="39" text="bind:instcd"/>
  143. </Band>
  144. </Format>
  145. </Formats>
  146. </Grid>
  147. <Static text="환자정보" position="absolute 0 15 100 35" id="caption3" class="tit_2" anchor="default"/>
  148. <Static text="Acting Check" position="absolute 0 72 134 92" id="caption4" class="tit_2" anchor="default"/>
  149. <Static text="미투약기록" position="absolute 612 356 712 376" id="caption5" class="tit_2" anchor="default"/>
  150. <Grid position="absolute 611 520 1211 614" id="grd_retdruglist" binddataset="ds_grd_retdruglist" autofittype="col" anchor="default" cellsizingtype="col">
  151. <Formats>
  152. <Format id="default">
  153. <Columns>
  154. <Column size="82"/>
  155. <Column size="207"/>
  156. <Column size="68"/>
  157. <Column size="102"/>
  158. <Column size="50"/>
  159. <Column size="38"/>
  160. <Column size="36"/>
  161. </Columns>
  162. <Rows>
  163. <Row size="24" band="head"/>
  164. <Row size="24"/>
  165. </Rows>
  166. <Band id="head">
  167. <Cell text="처방코드"/>
  168. <Cell col="1" text="처방명"/>
  169. <Cell col="2" text="처방적용일"/>
  170. <Cell col="3" text="처방일시"/>
  171. <Cell col="4" text="용량"/>
  172. <Cell col="5" text="수량"/>
  173. <Cell col="6" text="횟수"/>
  174. </Band>
  175. <Band id="body">
  176. <Cell style="align:left middle;" text="bind:prcpcd"/>
  177. <Cell col="1" style="align:left middle;" text="bind:prcpnm"/>
  178. <Cell col="2" text="bind:prcpdd" mask="####-##-##"/>
  179. <Cell col="3" text="bind:rgstdt" mask="####-##-## ##:##"/>
  180. <Cell col="4" text="bind:drprcpetc7"/>
  181. <Cell col="5" text="bind:drprcpetc8"/>
  182. <Cell col="6" text="bind:prcptims"/>
  183. </Band>
  184. </Format>
  185. </Formats>
  186. </Grid>
  187. <Static text="반환예정" position="absolute 611 498 711 518" id="caption7" class="tit_2" anchor="default"/>
  188. <Shape position="absolute 0 89 600 95" linetype="horizontal" id="line3" class="line_10" anchor="default"/>
  189. <Static text="미확인처방" position="absolute 611 72 711 88" id="caption8" class="tit_2" anchor="default"/>
  190. <Shape position="absolute 611 373 1211 379" linetype="horizontal" id="line4" class="line_10" anchor="default"/>
  191. <Shape position="absolute 611 515 1211 521" linetype="horizontal" id="line5" class="line_10" anchor="default"/>
  192. <Grid position="absolute 611 378 1211 492" id="grd_noactdruglist" binddataset="ds_grd_noactdruglist" anchor="default" cellsizingtype="col" autofittype="col">
  193. <Formats>
  194. <Format id="default">
  195. <Columns>
  196. <Column size="60"/>
  197. <Column size="76"/>
  198. <Column size="154"/>
  199. <Column size="50"/>
  200. <Column size="38"/>
  201. <Column size="36"/>
  202. <Column size="68"/>
  203. <Column size="102"/>
  204. </Columns>
  205. <Rows>
  206. <Row size="24" band="head"/>
  207. <Row size="24"/>
  208. </Rows>
  209. <Band id="head">
  210. <Cell text="처방구분"/>
  211. <Cell col="1" text="처방코드"/>
  212. <Cell col="2" text="처방명"/>
  213. <Cell col="3" text="용량"/>
  214. <Cell col="4" text="수량"/>
  215. <Cell col="5" text="횟수"/>
  216. <Cell col="6" text="처방적용일"/>
  217. <Cell col="7" text="처방일시"/>
  218. </Band>
  219. <Band id="body">
  220. <Cell text="bind:prcpkindcdnm"/>
  221. <Cell col="1" style="align:left middle;" text="bind:prcpcd"/>
  222. <Cell col="2" style="align:left middle;background:EXPR(prcpkindcdnm == &quot;수술중&quot; ? &quot;#ffff00&quot; : &quot;&quot;);background2:EXPR(prcpkindcdnm == &quot;수술중&quot; ? &quot;#ffff00&quot; : &quot;&quot;);font:EXPR(prcpkindcdnm == &quot;수술중&quot; ? &quot;arial,9,bold&quot;: &quot;&quot; );" text="bind:prcpnm"/>
  223. <Cell col="3" text="bind:drprcpetc7"/>
  224. <Cell col="4" text="bind:drprcpetc8"/>
  225. <Cell col="5" text="bind:prcptims"/>
  226. <Cell col="6" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  227. <Cell col="7" displaytype="date" text="bind:rgstdt" mask="yyyy-MM-dd hh:mm"/>
  228. </Band>
  229. </Format>
  230. </Formats>
  231. </Grid>
  232. <Edit readonly="true" position="absolute 239 35 355 61" id="output1" anchor="default" class="output"/>
  233. <Shape position="absolute 611 89 1211 95" linetype="horizontal" id="line6" class="line_10" anchor="default"/>
  234. <Edit readonly="true" position="absolute 420 35 528 61" id="output2" anchor="default" class="output"/>
  235. <Grid position="absolute 611 94 1211 208" id="grd_uncnfmlist" binddataset="ds_grd_uncnfmlist" anchor="default" cellsizingtype="col" cellclickbound="cell" autofittype="col">
  236. <Formats>
  237. <Format id="default">
  238. <Columns>
  239. <Column size="22"/>
  240. <Column size="60"/>
  241. <Column size="76"/>
  242. <Column size="134"/>
  243. <Column size="68"/>
  244. <Column size="48"/>
  245. <Column size="38"/>
  246. <Column size="36"/>
  247. <Column size="102"/>
  248. <Column size="0"/>
  249. <Column size="0"/>
  250. <Column size="0"/>
  251. <Column size="0"/>
  252. <Column size="0"/>
  253. <Column size="0"/>
  254. <Column size="0"/>
  255. <Column size="0"/>
  256. <Column size="0"/>
  257. <Column size="0"/>
  258. </Columns>
  259. <Rows>
  260. <Row size="24" band="head"/>
  261. <Row size="24"/>
  262. </Rows>
  263. <Band id="head">
  264. <Cell displaytype="checkbox" edittype="checkbox"/>
  265. <Cell col="1" text="처방구분"/>
  266. <Cell col="2" text="처방코드"/>
  267. <Cell col="3" text="처방명"/>
  268. <Cell col="4" text="처방적용일"/>
  269. <Cell col="5" text="용량"/>
  270. <Cell col="6" text="수량"/>
  271. <Cell col="7" text="횟수"/>
  272. <Cell col="8" text="처방일시"/>
  273. <Cell col="9" text="caption1"/>
  274. <Cell col="10" text="caption2"/>
  275. <Cell col="11" text="caption3"/>
  276. <Cell col="12" text="caption4"/>
  277. <Cell col="13" text="caption5"/>
  278. <Cell col="14" text="caption6"/>
  279. <Cell col="15" text="caption7"/>
  280. <Cell col="16" text="caption8"/>
  281. <Cell col="17" text="caption9"/>
  282. <Cell col="18" text="caption10"/>
  283. </Band>
  284. <Band id="body">
  285. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
  286. <Cell col="1" text="bind:prcpkindcdnm"/>
  287. <Cell col="2" style="align:left middle;" text="bind:prcpcd"/>
  288. <Cell col="3" style="align:left middle;" text="bind:prcpnm"/>
  289. <Cell col="4" text="bind:prcpdd" mask="####-##-##"/>
  290. <Cell col="5" text="bind:drprcpetc7"/>
  291. <Cell col="6" text="bind:drprcpetc8"/>
  292. <Cell col="7" text="bind:prcptims"/>
  293. <Cell col="8" text="bind:rgstdt" mask="####-##-## ##:##"/>
  294. <Cell col="9" text="bind:prcpno"/>
  295. <Cell col="10" text="bind:prcphistno"/>
  296. <Cell col="11" text="bind:userid"/>
  297. <Cell col="12" text="bind:instcd"/>
  298. <Cell col="13" text="bind:pid"/>
  299. <Cell col="14" text="bind:prcpclscd"/>
  300. <Cell col="15" text="bind:hsctlnkno"/>
  301. <Cell col="16" text="bind:hscttempprcpflag"/>
  302. <Cell col="17" text="bind:carecnfmdt"/>
  303. <Cell col="18" text="bind:medireqflag"/>
  304. </Band>
  305. </Format>
  306. </Formats>
  307. </Grid>
  308. <Edit readonly="true" position="absolute 66 35 174 61" id="output3" anchor="default" class="output"/>
  309. <Button position="absolute 1147 69 1211 89" id="button2" class="btn5" text="간호확인" onclick="group2_button2_onclick" anchor="default"/>
  310. <Grid position="absolute 0 520 600 614" id="grd_outdruglist" binddataset="ds_grd_outdruglist" autofittype="col" anchor="default" cellsizingtype="col">
  311. <Formats>
  312. <Format id="default">
  313. <Columns>
  314. <Column size="82"/>
  315. <Column size="163"/>
  316. <Column size="75"/>
  317. <Column size="105"/>
  318. <Column size="56"/>
  319. </Columns>
  320. <Rows>
  321. <Row size="24" band="head"/>
  322. <Row size="24"/>
  323. </Rows>
  324. <Band id="head">
  325. <Cell text="처방코드"/>
  326. <Cell col="1" text="처방명"/>
  327. <Cell col="2" text="처방적용일"/>
  328. <Cell col="3" text="처방일시"/>
  329. <Cell col="4" text="입력자"/>
  330. </Band>
  331. <Band id="body">
  332. <Cell style="align:left middle;" text="bind:prcpcd"/>
  333. <Cell col="1" style="align:left middle;" text="bind:prcpnm"/>
  334. <Cell col="2" text="bind:prcpdd" mask="####-##-##"/>
  335. <Cell col="3" text="bind:rgstdt" mask="####-##-## ##:##"/>
  336. <Cell col="4"/>
  337. </Band>
  338. </Format>
  339. </Formats>
  340. </Grid>
  341. <Static text="외출외박약 정리" position="absolute 0 498 146 518" id="caption10" class="tit_2" anchor="default"/>
  342. <Shape position="absolute 0 515 600 521" linetype="horizontal" id="line8" class="line_10" anchor="default"/>
  343. <Shape position="absolute 611 231 1211 237" linetype="horizontal" id="line9" class="line_10" anchor="default"/>
  344. <Grid position="absolute 611 236 1211 350" id="grd_enddruglist" binddataset="ds_grd_enddruglist" autofittype="col" anchor="default" cellsizingtype="col" cellclickbound="cell">
  345. <Formats>
  346. <Format id="default">
  347. <Columns>
  348. <Column size="22"/>
  349. <Column size="76"/>
  350. <Column size="185"/>
  351. <Column size="68"/>
  352. <Column size="51"/>
  353. <Column size="40"/>
  354. <Column size="40"/>
  355. <Column size="102"/>
  356. <Column size="0"/>
  357. <Column size="0"/>
  358. <Column size="0"/>
  359. <Column size="0"/>
  360. <Column size="0"/>
  361. <Column size="0"/>
  362. <Column size="0"/>
  363. </Columns>
  364. <Rows>
  365. <Row size="24" band="head"/>
  366. <Row size="24"/>
  367. </Rows>
  368. <Band id="head">
  369. <Cell displaytype="checkbox" edittype="checkbox"/>
  370. <Cell col="1" text="처방코드"/>
  371. <Cell col="2" text="처방명"/>
  372. <Cell col="3" text="처방적용일"/>
  373. <Cell col="4" text="용량"/>
  374. <Cell col="5" text="수량"/>
  375. <Cell col="6" text="횟수"/>
  376. <Cell col="7" text="처방일시"/>
  377. <Cell col="8" text="caption7"/>
  378. <Cell col="9" text="caption6"/>
  379. <Cell col="10" text="caption5"/>
  380. <Cell col="11" text="caption4"/>
  381. <Cell col="12" text="caption3"/>
  382. <Cell col="13" text="caption2"/>
  383. <Cell col="14" text="caption1"/>
  384. </Band>
  385. <Band id="body">
  386. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
  387. <Cell col="1" style="align:left middle;" text="bind:prcpcd"/>
  388. <Cell col="2" style="align:left middle;" text="bind:prcpnm"/>
  389. <Cell col="3" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  390. <Cell col="4" style="align:right middle;" text="bind:drprcpetc7"/>
  391. <Cell col="5" style="align:right middle;" text="bind:drprcpetc8"/>
  392. <Cell col="6" style="align:right middle;" text="bind:prcptims"/>
  393. <Cell col="7" displaytype="date" style="align:left middle;" text="bind:rgstdt" mask="yyyy-MM-dd hh:mm"/>
  394. <Cell col="8" text="bind:prcpno"/>
  395. <Cell col="9" text="bind:prcphistno"/>
  396. <Cell col="10" text="bind:execprcpno"/>
  397. <Cell col="11" text="bind:instcd"/>
  398. <Cell col="12" text="bind:execdd"/>
  399. <Cell col="13" text="bind:oiflag"/>
  400. <Cell col="14" text="bind:execdeptcd"/>
  401. </Band>
  402. </Format>
  403. </Formats>
  404. </Grid>
  405. <Static text="미마감내역 조회" position="absolute 612 214 758 234" id="caption11" class="tit_2" anchor="default"/>
  406. <Button position="absolute 1169 211 1211 231" id="button3" class="btn5" text="마감" onclick="group2_button3_onclick" anchor="default"/>
  407. <Radio position="absolute 1077 211 1162 231" id="rdo_duty" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  408. <Dataset id="innerdataset">
  409. <ColumnInfo>
  410. <Column id="codecolumn"/>
  411. <Column id="datacolumn"/>
  412. </ColumnInfo>
  413. <Rows>
  414. <Row>
  415. <Col id="codecolumn">D</Col>
  416. <Col id="datacolumn">D</Col>
  417. </Row>
  418. <Row>
  419. <Col id="codecolumn">E</Col>
  420. <Col id="datacolumn">E</Col>
  421. </Row>
  422. <Row>
  423. <Col id="codecolumn">N</Col>
  424. <Col id="datacolumn">N</Col>
  425. </Row>
  426. </Rows>
  427. </Dataset>
  428. </Radio>
  429. <Grid position="absolute 611 642 1211 738" align="align:center middle;" id="grd_tnsprcplist" binddataset="ds_grd_tnsprcplist" autofittype="col" anchor="default" cellsizingtype="col" cellclickbound="cell">
  430. <Formats>
  431. <Format id="default">
  432. <Columns>
  433. <Column size="22"/>
  434. <Column size="80"/>
  435. <Column size="98"/>
  436. <Column size="63"/>
  437. <Column size="78"/>
  438. <Column size="98"/>
  439. <Column size="0"/>
  440. </Columns>
  441. <Rows>
  442. <Row size="24" band="head"/>
  443. <Row size="24"/>
  444. </Rows>
  445. <Band id="head">
  446. <Cell displaytype="normal" edittype="none"/>
  447. <Cell col="1" text="상태"/>
  448. <Cell col="2" text="신청시간"/>
  449. <Cell col="3" text="처방코드"/>
  450. <Cell col="4" text="처방명"/>
  451. <Cell col="5" text="처방시간"/>
  452. <Cell col="6" text="caption1"/>
  453. </Band>
  454. <Band id="body">
  455. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
  456. <Cell col="1" style="align:left middle;" text="bind:state"/>
  457. <Cell col="2" style="align:left middle;" text="bind:fstrgstdt"/>
  458. <Cell col="3" style="align:left middle;" text="bind:prcpcd"/>
  459. <Cell col="4" style="align:left middle;" text="bind:prcpnm"/>
  460. <Cell col="5" style="align:left middle;" text="bind:rgstddtm"/>
  461. <Cell col="6" text="bind:dcyn"/>
  462. </Band>
  463. </Format>
  464. </Formats>
  465. </Grid>
  466. <Shape position="absolute 611 637 1211 643" linetype="horizontal" id="line10" class="line_10" anchor="default"/>
  467. <Static text="혈액처방" position="absolute 611 620 691 640" id="caption12" class="tit_2" anchor="default"/>
  468. <Shape position="absolute 0 637 600 643" linetype="horizontal" id="line11" class="line_10" anchor="default"/>
  469. <Static text="외래예약" position="absolute 0 620 100 640" id="caption14" class="tit_2" anchor="default"/>
  470. <Grid position="absolute 0 642 600 738" align="align:center middle;" id="grd_outrsrvinfo" binddataset="ds_grd_outrsrvinfolist" autofittype="col" anchor="default" cellsizingtype="col">
  471. <Formats>
  472. <Format id="default">
  473. <Columns>
  474. <Column size="21"/>
  475. <Column size="70"/>
  476. <Column size="36"/>
  477. <Column size="92"/>
  478. <Column size="80"/>
  479. <Column size="80"/>
  480. <Column size="64"/>
  481. </Columns>
  482. <Rows>
  483. <Row size="24" band="head"/>
  484. <Row size="24"/>
  485. </Rows>
  486. <Band id="head">
  487. <Cell/>
  488. <Cell col="1" text="예약일시"/>
  489. <Cell col="2" text="예약일시"/>
  490. <Cell col="3" text="진료과"/>
  491. <Cell col="4" text="센터"/>
  492. <Cell col="5" text="하위부서"/>
  493. <Cell col="6" text="진료의"/>
  494. </Band>
  495. <Band id="body">
  496. <Cell celltype="head" text="expr:currow+1"/>
  497. <Cell col="1" displaytype="date" text="bind:orddd" calendardisplaynulltype="none"/>
  498. <Cell col="2" text="bind:ordtm" mask="expr:utlf_isNull(ordtm) ? '' : '##:##'" maskchar=" "/>
  499. <Cell col="3" text="bind:orddeptnm"/>
  500. <Cell col="4" text="bind:centnm"/>
  501. <Cell col="5" text="bind:subdeptnm"/>
  502. <Cell col="6" text="bind:orddrnm"/>
  503. </Band>
  504. </Format>
  505. </Formats>
  506. </Grid>
  507. <Edit readonly="true" position="absolute 90 617 600 637" id="opt_optpcomment" anchor="default" class="output"/>
  508. <Edit readonly="true" position="absolute 701 617 1211 637" id="opt_tnsprcpcomment" anchor="default" class="output"/>
  509. <Grid position="absolute 0 378 600 492" align="align:center middle;" id="grd_narcprcpinfolist" binddataset="ds_grd_narcprcpinfolist" autofittype="col" anchor="default" cellsizingtype="col">
  510. <Formats>
  511. <Format id="default">
  512. <Columns>
  513. <Column size="24"/>
  514. <Column size="55"/>
  515. <Column size="55"/>
  516. <Column size="55"/>
  517. <Column size="70"/>
  518. <Column size="67"/>
  519. <Column size="128"/>
  520. <Column size="50"/>
  521. <Column size="40"/>
  522. <Column size="40"/>
  523. <Column size="0"/>
  524. <Column size="0"/>
  525. <Column size="0"/>
  526. <Column size="0"/>
  527. <Column size="0"/>
  528. <Column size="0"/>
  529. <Column size="0"/>
  530. <Column size="0"/>
  531. <Column size="0"/>
  532. <Column size="0"/>
  533. <Column size="0"/>
  534. <Column size="0"/>
  535. <Column size="0"/>
  536. <Column size="0"/>
  537. <Column size="0"/>
  538. <Column size="0"/>
  539. <Column size="0"/>
  540. <Column size="0"/>
  541. <Column size="0"/>
  542. <Column size="0"/>
  543. <Column size="0"/>
  544. <Column size="0"/>
  545. <Column size="0"/>
  546. <Column size="0"/>
  547. <Column size="0"/>
  548. <Column size="0"/>
  549. <Column size="0"/>
  550. <Column size="0"/>
  551. <Column size="0"/>
  552. <Column size="0"/>
  553. <Column size="0"/>
  554. <Column size="0"/>
  555. <Column size="0"/>
  556. <Column size="0"/>
  557. <Column size="0"/>
  558. <Column size="0"/>
  559. <Column size="0"/>
  560. <Column size="0"/>
  561. <Column size="0"/>
  562. <Column size="0"/>
  563. <Column size="0"/>
  564. <Column size="0"/>
  565. <Column size="0"/>
  566. <Column size="0"/>
  567. <Column size="0"/>
  568. <Column size="0"/>
  569. <Column size="0"/>
  570. <Column size="0"/>
  571. <Column size="0"/>
  572. <Column size="0"/>
  573. <Column size="0"/>
  574. <Column size="0"/>
  575. <Column size="0"/>
  576. <Column size="0"/>
  577. <Column size="0"/>
  578. <Column size="0"/>
  579. <Column size="0"/>
  580. <Column size="0"/>
  581. <Column size="0"/>
  582. <Column size="0"/>
  583. <Column size="0"/>
  584. <Column size="0"/>
  585. </Columns>
  586. <Rows>
  587. <Row size="24" band="head"/>
  588. <Row size="24"/>
  589. </Rows>
  590. <Band id="head">
  591. <Cell displaytype="checkbox" edittype="checkbox"/>
  592. <Cell col="1" text="불출상태"/>
  593. <Cell col="2" text="반환상태"/>
  594. <Cell col="3" text="상태"/>
  595. <Cell col="4" text="적용일자"/>
  596. <Cell col="5" text="처방코드"/>
  597. <Cell col="6" text="처방명"/>
  598. <Cell col="7" text="용량"/>
  599. <Cell col="8" text="수량"/>
  600. <Cell col="9" text="횟수"/>
  601. <Cell col="10" text="caption26"/>
  602. <Cell col="11" text="caption25"/>
  603. <Cell col="12" text="caption24"/>
  604. <Cell col="13" text="caption23"/>
  605. <Cell col="14" text="caption22"/>
  606. <Cell col="15" text="caption21"/>
  607. <Cell col="16" text="caption20"/>
  608. <Cell col="17" text="caption19"/>
  609. <Cell col="18" text="caption18"/>
  610. <Cell col="19" text="caption17"/>
  611. <Cell col="20" text="caption16"/>
  612. <Cell col="21" text="caption15"/>
  613. <Cell col="22" text="caption13"/>
  614. <Cell col="23" text="caption12"/>
  615. <Cell col="24" text="caption11"/>
  616. <Cell col="25" text="caption10"/>
  617. <Cell col="26" text="caption9"/>
  618. <Cell col="27" text="caption8"/>
  619. <Cell col="28" text="caption7"/>
  620. <Cell col="29" text="caption6"/>
  621. <Cell col="30" text="caption27"/>
  622. <Cell col="31" text="caption44"/>
  623. <Cell col="32" text="caption43"/>
  624. <Cell col="33" text="caption42"/>
  625. <Cell col="34" text="caption41"/>
  626. <Cell col="35" text="caption40"/>
  627. <Cell col="36" text="caption39"/>
  628. <Cell col="37" text="caption38"/>
  629. <Cell col="38" text="caption37"/>
  630. <Cell col="39" text="caption36"/>
  631. <Cell col="40" text="caption35"/>
  632. <Cell col="41" text="caption34"/>
  633. <Cell col="42" text="caption33"/>
  634. <Cell col="43" text="caption32"/>
  635. <Cell col="44" text="caption31"/>
  636. <Cell col="45" text="caption30"/>
  637. <Cell col="46" text="caption29"/>
  638. <Cell col="47" text="caption28"/>
  639. <Cell col="48" text="caption58"/>
  640. <Cell col="49" text="caption57"/>
  641. <Cell col="50" text="caption56"/>
  642. <Cell col="51" text="caption55"/>
  643. <Cell col="52" text="caption54"/>
  644. <Cell col="53" text="caption53"/>
  645. <Cell col="54" text="caption52"/>
  646. <Cell col="55" text="caption51"/>
  647. <Cell col="56" text="caption50"/>
  648. <Cell col="57" text="caption49"/>
  649. <Cell col="58" text="caption48"/>
  650. <Cell col="59" text="caption47"/>
  651. <Cell col="60" text="caption46"/>
  652. <Cell col="61" text="caption59"/>
  653. <Cell col="62" text="caption45"/>
  654. <Cell col="63" text="caption63"/>
  655. <Cell col="64" text="caption62"/>
  656. <Cell col="65" text="caption61"/>
  657. <Cell col="66" text="caption60"/>
  658. <Cell col="67" text="caption5"/>
  659. <Cell col="68" text="caption4"/>
  660. <Cell col="69" text="caption3"/>
  661. <Cell col="70" text="caption2"/>
  662. <Cell col="71" text="caption1"/>
  663. </Band>
  664. <Band id="body">
  665. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
  666. <Cell col="1" displaytype="combo" edittype="combo" text="bind:narcstat" combodataset="ds_cmb_narcstat" combocodecol="value" combodatacol="lavel"/>
  667. <Cell col="2" displaytype="combo" edittype="combo" text="bind:cnclstat" combodataset="ds_cmb_cnclstat" combocodecol="value" combodatacol="label"/>
  668. <Cell col="3" displaytype="combo" edittype="combo" text="bind:rtnstat"/>
  669. <Cell col="4" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  670. <Cell col="5" style="align:left middle;" text="bind:prcpcd"/>
  671. <Cell col="6" style="align:left middle;" text="bind:drugnm"/>
  672. <Cell col="7" text="bind:drprcpetc7"/>
  673. <Cell col="8" text="bind:drprcpetc8"/>
  674. <Cell col="9" text="bind:prcptims"/>
  675. <Cell col="10" text="bind:prnyn"/>
  676. <Cell col="11" text="bind:dcyn"/>
  677. <Cell col="12" text="bind:pid"/>
  678. <Cell col="13" text="bind:returnflag"/>
  679. <Cell col="14" text="bind:returnqty"/>
  680. <Cell col="15" text="bind:returnvol"/>
  681. <Cell col="16" text="bind:drugrec"/>
  682. <Cell col="17" text="bind:dayprcpqty"/>
  683. <Cell col="18" text="bind:prcpqtyunit"/>
  684. <Cell col="19" text="bind:prcpvol"/>
  685. <Cell col="20" text="bind:prcpvolunit"/>
  686. <Cell col="21" text="bind:dayprcpqty"/>
  687. <Cell col="22" text="bind:prcpdayno"/>
  688. <Cell col="23" text="bind:drugdd"/>
  689. <Cell col="24" text="bind:drugno"/>
  690. <Cell col="25" text="bind:ioflag"/>
  691. <Cell col="26" text="bind:prcpno"/>
  692. <Cell col="27" text="bind:prcphistno"/>
  693. <Cell col="28" text="bind:narcflag"/>
  694. <Cell col="29" text="bind:orddd"/>
  695. <Cell col="30" text="bind:ward"/>
  696. <Cell col="31" text="bind:prcpgenrflag"/>
  697. <Cell col="32" text="bind:prcpkindcd"/>
  698. <Cell col="33" text="bind:pain"/>
  699. <Cell col="34" text="bind:orddrnm"/>
  700. <Cell col="35" text="bind:rtnprcpdt"/>
  701. <Cell col="36" text="bind:rtnorddrnm"/>
  702. <Cell col="37" text="bind:sumdt"/>
  703. <Cell col="38" text="bind:reqdt"/>
  704. <Cell col="39" text="bind:reqidnm"/>
  705. <Cell col="40" text="bind:drugdt"/>
  706. <Cell col="41" text="bind:drugidnm"/>
  707. <Cell col="42" text="bind:delivedt"/>
  708. <Cell col="43" text="bind:deliveidnm"/>
  709. <Cell col="44" text="bind:issdeptcdnm"/>
  710. <Cell col="45" text="bind:issdeptcd"/>
  711. <Cell col="46" text="bind:acptdt"/>
  712. <Cell col="47" text="bind:acptidnm"/>
  713. <Cell col="48" text="bind:rtnappdt"/>
  714. <Cell col="49" text="bind:rtnappidnm"/>
  715. <Cell col="50" text="bind:rtncnfmdt"/>
  716. <Cell col="51" text="bind:rtncnfmidnm"/>
  717. <Cell col="52" text="bind:spreqty"/>
  718. <Cell col="53" text="bind:sprevol"/>
  719. <Cell col="54" text="bind:spredt"/>
  720. <Cell col="55" text="bind:spreidnm"/>
  721. <Cell col="56" text="bind:sprecnfmdt"/>
  722. <Cell col="57" text="bind:sprecnfmidnm"/>
  723. <Cell col="58" text="bind:fstrgstdt"/>
  724. <Cell col="59" text="bind:erprcpflag"/>
  725. <Cell col="60" text="bind:prcpdt"/>
  726. <Cell col="61" text="bind:hospnm1"/>
  727. <Cell col="62" text="bind:hospnm2"/>
  728. <Cell col="63" text="bind:medrendyn"/>
  729. <Cell col="64" text="bind:statvisible"/>
  730. <Cell col="65" text="bind:deptchgyn"/>
  731. <Cell col="66" text="bind:nodeliveyn"/>
  732. <Cell col="67" text="bind:inclprcpcd"/>
  733. <Cell col="68" text="bind:rcissdeptcd"/>
  734. <Cell col="69" text="bind:rcprcpexecdeptcd"/>
  735. <Cell col="70" text="bind:rcwardcd"/>
  736. <Cell col="71" text="bind:rcroomcd"/>
  737. </Band>
  738. </Format>
  739. </Formats>
  740. </Grid>
  741. <Edit readonly="true" position="absolute 80 353 281 373" id="opt_narccomment" anchor="default" class="output" style="padding:0 2 0 2;"/>
  742. <Shape position="absolute 0 373 600 379" linetype="horizontal" id="line12" class="line_10" anchor="default"/>
  743. <Static text="마약처방" position="absolute 0 356 146 376" id="caption15" class="tit_2" anchor="default"/>
  744. <Button position="absolute 1147 353 1211 373" id="button4" class="btn2" text="투약기록" onclick="group2_button4_onclick" anchor="default"/>
  745. <Button position="absolute 441 353 505 373" id="button6" class="btn5" text="부서확인" onclick="group2_button6_onclick" anchor="default" visible="false"/>
  746. <Button position="absolute 507 353 600 373" id="button7" class="btn5" text="반납/반환신청" onclick="group2_button7_onclick" anchor="default" visible="false"/>
  747. <Button position="absolute 353 353 439 373" id="btn_drugcncl" class="btn5" text="불출신청취소" onclick="group2_btn_drugcncl_onclick" anchor="default" visible="false"/>
  748. <Button position="absolute 287 353 351 373" id="btn_drug" class="btn5" text="불출신청" onclick="group2_btn_drug_onclick" anchor="default" visible="false"/>
  749. <Button position="absolute 536 38 592 58" id="button5" class="btn1" text="조회" onclick="group2_button5_onclick" anchor="default"/>
  750. <Button position="absolute 558 69 600 89" id="button9" class="btn5" text="반환" onclick="group2_button9_onclick" anchor="default"/>
  751. <Button position="absolute 514 211 600 231" id="button10" class="btn5" text="수행일시변경" anchor="default" onclick="group2_button10_onclick" visible="false"/>
  752. <Grid position="absolute 0 236 600 350" id="grd_execddchklist" binddataset="ds_grd_execddchklist" anchor="default" oncellclick="group2_grd_execddchklist_oncellclick" onexpanddown="group2_grd_execddchklist_onexpanddown" ontextchanged="group2_grd_execddchklist_ontextchanged" cellsizingtype="col" autofittype="col">
  753. <Formats>
  754. <Format id="default">
  755. <Columns>
  756. <Column size="22"/>
  757. <Column size="30"/>
  758. <Column size="76"/>
  759. <Column size="124"/>
  760. <Column size="68"/>
  761. <Column size="102"/>
  762. <Column size="82"/>
  763. <Column size="36"/>
  764. <Column size="0"/>
  765. <Column size="44"/>
  766. <Column size="0"/>
  767. <Column size="0"/>
  768. <Column size="0"/>
  769. <Column size="0"/>
  770. <Column size="0"/>
  771. <Column size="0"/>
  772. <Column size="0"/>
  773. </Columns>
  774. <Rows>
  775. <Row size="24" band="head"/>
  776. <Row size="24"/>
  777. </Rows>
  778. <Band id="head">
  779. <Cell displaytype="checkbox" edittype="checkbox"/>
  780. <Cell col="1" text="상태"/>
  781. <Cell col="2" text="처방코드"/>
  782. <Cell col="3" text="처방명"/>
  783. <Cell col="4" text="처방적용일"/>
  784. <Cell col="5" text="처방일시"/>
  785. <Cell col="6" colspan="2" text="수행일시" taborder="undefined"/>
  786. <Cell col="8" text="수행일시"/>
  787. <Cell col="9" text="수행자"/>
  788. <Cell col="10" text="caption1"/>
  789. <Cell col="11" text="caption2"/>
  790. <Cell col="12" text="caption4"/>
  791. <Cell col="13" text="caption3"/>
  792. <Cell col="14" text="caption5"/>
  793. <Cell col="15" text="caption6"/>
  794. <Cell col="16" text="caption7"/>
  795. </Band>
  796. <Band id="body">
  797. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
  798. <Cell col="1" style="background:EXPR(reqflag == &quot;&quot; ? &quot;#11eeee&quot; : &quot;&quot;);background2:EXPR(reqflag == &quot;&quot; ? &quot;#11eeee&quot; : &quot;&quot;);" text="bind:dcstat"/>
  799. <Cell col="2" style="align:left middle;" text="bind:prcpcd"/>
  800. <Cell col="3" style="align:left middle;" text="bind:prcpnm"/>
  801. <Cell col="4" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  802. <Cell col="5" displaytype="date" text="bind:rgstdt" mask="yyyy-MM-dd hh:mm"/>
  803. <Cell col="6" displaytype="date" edittype="none" text="bind:execdd" mask="yyyy-MM-dd" expandshow="show"/>
  804. <Cell col="7" displaytype="text" edittype="none" text="bind:exectm" mask="##:##"/>
  805. <Cell col="8" text="bind:execdt" mask="yyyy-mm-dd hh:nn"/>
  806. <Cell col="9" text="bind:usernm"/>
  807. <Cell col="10" text="bind:flag"/>
  808. <Cell col="11" text="bind:prcpno"/>
  809. <Cell col="12" text="bind:prcphistno"/>
  810. <Cell col="13" text="bind:execprcpno"/>
  811. <Cell col="14" text="bind:dcyn"/>
  812. <Cell col="15" text="bind:pid"/>
  813. <Cell col="16" text="bind:reqflag"/>
  814. </Band>
  815. </Format>
  816. </Formats>
  817. </Grid>
  818. <Static text="미래일자 Acting" position="absolute 0 214 146 234" id="caption9" class="tit_2" anchor="default"/>
  819. <Shape position="absolute 0 231 600 237" linetype="horizontal" id="line7" class="line_10" anchor="default"/>
  820. <Edit readonly="true" position="absolute 689 20 1211 40" id="output4" anchor="default" class="output"/>
  821. <Button position="absolute 619 20 683 40" align="align:center middle;" id="btn_homecare" class="btn2" text="가정간호" anchor="default" onclick="group2_btn_homecare_onclick"/>
  822. <Edit readonly="true" position="absolute 689 41 1211 61" id="output23" anchor="default" class="output"/>
  823. <Button position="absolute 619 41 683 61" align="align:center middle;" id="button8" class="btn2" text="수혈기록" anchor="default" onclick="group2_button8_onclick"/>
  824. <Button position="absolute 426 211 512 231" id="btn_req" class="btn5" text="처방복구신청" anchor="default" onclick="group2_btn_req_onclick"/>
  825. <Button position="absolute 514 211 600 231" id="btn_cert" class="btn5" text="처방복구승인" anchor="default" onclick="group2_btn_cert_onclick"/>
  826. <Edit readonly="true" position="absolute 145 495 600 515" id="opt_outdrugcmt" anchor="default" class="output"/>
  827. <Static text="의사에게 승인받아 D/C 처리하십시오.(투약기록에서 투약X반환가능한 약,주사)" position="absolute 758 496 1199 516" id="caption16" anchor="default"/>
  828. <Div position="absolute 249 121 595 255" id="group3" visible="false" anchor="default" class="div_SA2" style="shadow:outer 3,3 3 gray;">
  829. <Layouts>
  830. <Layout width="340" height="125">
  831. <Button position="absolute 225 106 281 126" id="button11" class="btn4" text="확인" anchor="default" onclick="group2_group3_button11_onclick"/>
  832. <Button position="absolute 282 106 338 126" id="button12" class="btn4" text="취소" anchor="default" onclick="group2_group3_button12_onclick"/>
  833. <Static text="D/C 처방 복구 사유를 선택하십시오." position="absolute 8 8 260 28" id="caption23" class="tit_2" anchor="default"/>
  834. <Combo position="absolute 8 26 338 45" id="cmb_resncd" innerdataset="ds_init_cmb_resncd" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  835. <TextArea position="absolute 8 46 338 101" id="tar_resnetc" anchor="default"/>
  836. </Layout>
  837. </Layouts>
  838. </Div>
  839. <Button position="absolute 525 12 600 32" id="btn_barcd" class="btn2" text="바코드관리" anchor="default" onclick="group2_btn_barcd_onclick"/>
  840. <Button position="absolute 406 12 522 32" id="btn_mon" class="btn2" visible="false" text="간호처방 모니터링" anchor="default" onclick="group2_btn_mon_onclick"/>
  841. <Shape position="absolute 0 760 1211 766" linetype="horizontal" id="line13" class="line_10" anchor="default"/>
  842. <Static text="미확인 구두처방" position="absolute 0 743 123 763" id="caption17" class="tit_2" anchor="default"/>
  843. <Grid position="absolute 0 765 1211 885" id="grd_tellprcplist" binddataset="ds_grd_tellprcplist" anchor="default" cellsizingtype="col" autofittype="col">
  844. <Formats>
  845. <Format id="default">
  846. <Columns>
  847. <Column size="80"/>
  848. <Column size="675"/>
  849. <Column size="75"/>
  850. <Column size="100"/>
  851. <Column size="40"/>
  852. <Column size="30"/>
  853. <Column size="30"/>
  854. <Column size="100"/>
  855. <Column size="65"/>
  856. <Column size="0"/>
  857. </Columns>
  858. <Rows>
  859. <Row size="24" band="head"/>
  860. <Row size="24"/>
  861. </Rows>
  862. <Band id="head">
  863. <Cell text="처방코드"/>
  864. <Cell col="1" text="처방명"/>
  865. <Cell col="2" text="처방적용일"/>
  866. <Cell col="3" text="처방일시"/>
  867. <Cell col="4" text="용량"/>
  868. <Cell col="5" text="수량"/>
  869. <Cell col="6" text="횟수"/>
  870. <Cell col="7" text="처방부서"/>
  871. <Cell col="8" text="처방의"/>
  872. <Cell col="9" text="prcpno"/>
  873. </Band>
  874. <Band id="body">
  875. <Cell style="align:left middle;" text="bind:prcpcd"/>
  876. <Cell col="1" style="align:left middle;" text="bind:prcpnm"/>
  877. <Cell col="2" text="bind:prcpdd" mask="####-##-##"/>
  878. <Cell col="3" text="bind:rgstdt" mask="####-##-## ##:##"/>
  879. <Cell col="4" text="bind:drprcpetc7"/>
  880. <Cell col="5" text="bind:drprcpetc8"/>
  881. <Cell col="6" text="bind:prcptims"/>
  882. <Cell col="7" text="bind:rgstrdeptnm"/>
  883. <Cell col="8" text="bind:rgstridnm"/>
  884. <Cell col="9" text="bind:prcpno"/>
  885. </Band>
  886. </Format>
  887. </Formats>
  888. </Grid>
  889. <Button id="button13" taborder="2" text="마약처방관리" position="absolute 509 353 600 373" class="btn2" onclick="group2_button13_onclick" anchor="default"/>
  890. <Static id="caption13" text="등록번호" class="cell_1" position="absolute 0 35 67 61"/>
  891. <Static id="caption1" text="환자명" class="cell_1" position="absolute 173 35 240 61"/>
  892. <Static id="caption2" text="병실" class="cell_1" position="absolute 354 35 421 61"/>
  893. <Shape id="line1" class="line_10" position="absolute 0 32 600 38"/>
  894. <Shape id="line2" class="line_3" position="absolute 0 58 600 64"/>
  895. </Layout>
  896. </Layouts>
  897. </Div>
  898. <Static id="caption6" text="퇴원정리 조회" class="tit_1" position="absolute 0 0 116 25"/>
  899. </Layout>
  900. </Layouts>
  901. <Objects>
  902. <Dataset id="ds_grd_actingchklist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  903. <ColumnInfo>
  904. <Column id="chk" type="STRING"/>
  905. <Column id="execprcpstatcd" type="STRING"/>
  906. <Column id="prcpcd" type="STRING"/>
  907. <Column id="prcpnm" type="STRING"/>
  908. <Column id="prcpdd" type="STRING"/>
  909. <Column id="rsrvdt" type="STRING"/>
  910. <Column id="rgstdt" type="STRING"/>
  911. <Column id="status" type="STRING"/>
  912. <Column id="actyn" type="STRING"/>
  913. <Column id="calcscorcd" type="STRING"/>
  914. <Column id="clscd" type="STRING"/>
  915. <Column id="clscd1" type="STRING"/>
  916. <Column id="prcpno" type="STRING"/>
  917. <Column id="statcd" type="STRING"/>
  918. <Column id="prcptoyn" type="STRING"/>
  919. <Column id="pid" type="STRING"/>
  920. <Column id="prcphistno" type="STRING"/>
  921. <Column id="execprcpno" type="STRING"/>
  922. <Column id="orddd" type="STRING"/>
  923. <Column id="execprcpuniqno" type="STRING"/>
  924. <Column id="ekgbaseflag" type="STRING"/>
  925. <Column id="cretno" type="STRING"/>
  926. <Column id="prcpgenrflag" type="STRING"/>
  927. <Column id="rgstdeptcd" type="STRING"/>
  928. <Column id="rgstrid" type="STRING"/>
  929. <Column id="orddeptcd" type="STRING"/>
  930. <Column id="wardcd" type="STRING"/>
  931. <Column id="wardnm" type="STRING"/>
  932. <Column id="medispclid" type="STRING"/>
  933. <Column id="prcpkindcd" type="STRING"/>
  934. <Column id="roomcd" type="STRING"/>
  935. <Column id="carecnfmdd" type="STRING"/>
  936. <Column id="prcpexecdeptcd" type="STRING"/>
  937. <Column id="prcphopedd" type="STRING"/>
  938. <Column id="rsrvflag" type="STRING"/>
  939. <Column id="execprcpstatcd" type="STRING"/>
  940. <Column id="dutflag" type="STRING"/>
  941. <Column id="enddd" type="STRING"/>
  942. <Column id="cvrtbfprcpgenrflag" type="STRING"/>
  943. <Column id="instcd" type="STRING"/>
  944. </ColumnInfo>
  945. </Dataset>
  946. <Dataset id="ds_grd_retdruglist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  947. <ColumnInfo>
  948. <Column id="prcpcd" type="STRING"/>
  949. <Column id="prcpnm" type="STRING"/>
  950. <Column id="prcpdd" type="STRING"/>
  951. <Column id="rgstdt" type="STRING"/>
  952. <Column id="drprcpetc7" type="STRING"/>
  953. <Column id="drprcpetc8" type="STRING"/>
  954. <Column id="prcptims" type="STRING"/>
  955. </ColumnInfo>
  956. </Dataset>
  957. <Dataset id="ds_grd_noactdruglist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  958. <ColumnInfo>
  959. <Column id="prcpkindcdnm" type="STRING"/>
  960. <Column id="prcpcd" type="STRING"/>
  961. <Column id="prcpnm" type="STRING"/>
  962. <Column id="drprcpetc7" type="STRING"/>
  963. <Column id="drprcpetc8" type="STRING"/>
  964. <Column id="prcptims" type="STRING"/>
  965. <Column id="prcpdd" type="STRING"/>
  966. <Column id="rgstdt" type="STRING"/>
  967. </ColumnInfo>
  968. </Dataset>
  969. <Dataset id="ds_grd_uncnfmlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  970. <ColumnInfo>
  971. <Column id="chkyn" type="STRING"/>
  972. <Column id="prcpkindcdnm" type="STRING"/>
  973. <Column id="prcpcd" type="STRING"/>
  974. <Column id="prcpnm" type="STRING"/>
  975. <Column id="prcpdd" type="STRING"/>
  976. <Column id="drprcpetc7" type="STRING"/>
  977. <Column id="drprcpetc8" type="STRING"/>
  978. <Column id="prcptims" type="STRING"/>
  979. <Column id="rgstdt" type="STRING"/>
  980. <Column id="prcpno" type="STRING"/>
  981. <Column id="prcphistno" type="STRING"/>
  982. <Column id="userid" type="STRING"/>
  983. <Column id="instcd" type="STRING"/>
  984. <Column id="pid" type="STRING"/>
  985. <Column id="prcpclscd" type="STRING"/>
  986. <Column id="hsctlnkno" type="STRING"/>
  987. <Column id="hscttempprcpflag" type="STRING"/>
  988. <Column id="carecnfmdt" type="STRING"/>
  989. <Column id="medireqflag" type="STRING"/>
  990. <Column id="userdeptcd" type="STRING" size="256"/>
  991. </ColumnInfo>
  992. </Dataset>
  993. <Dataset id="ds_grd_outdruglist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  994. <ColumnInfo>
  995. <Column id="prcpcd" type="STRING"/>
  996. <Column id="prcpnm" type="STRING"/>
  997. <Column id="prcpdd" type="STRING"/>
  998. <Column id="rgstdt" type="STRING"/>
  999. </ColumnInfo>
  1000. </Dataset>
  1001. <Dataset id="ds_grd_enddruglist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1002. <ColumnInfo>
  1003. <Column id="chkyn" type="STRING"/>
  1004. <Column id="prcpcd" type="STRING"/>
  1005. <Column id="prcpnm" type="STRING"/>
  1006. <Column id="prcpdd" type="STRING"/>
  1007. <Column id="drprcpetc7" type="STRING"/>
  1008. <Column id="drprcpetc8" type="STRING"/>
  1009. <Column id="prcptims" type="STRING"/>
  1010. <Column id="rgstdt" type="STRING"/>
  1011. <Column id="prcpno" type="STRING"/>
  1012. <Column id="prcphistno" type="STRING"/>
  1013. <Column id="execprcpno" type="STRING"/>
  1014. <Column id="instcd" type="STRING"/>
  1015. <Column id="execdd" type="STRING"/>
  1016. <Column id="oiflag" type="STRING"/>
  1017. <Column id="execdeptcd" type="STRING"/>
  1018. </ColumnInfo>
  1019. </Dataset>
  1020. <Dataset id="ds_grd_tnsprcplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1021. <ColumnInfo>
  1022. <Column id="chkyn" type="STRING"/>
  1023. <Column id="state" type="STRING"/>
  1024. <Column id="fstrgstdt" type="STRING"/>
  1025. <Column id="prcpcd" type="STRING"/>
  1026. <Column id="prcpnm" type="STRING"/>
  1027. <Column id="rgstddtm" type="STRING"/>
  1028. <Column id="dcyn" type="STRING"/>
  1029. </ColumnInfo>
  1030. </Dataset>
  1031. <Dataset id="ds_main_outrsrvinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1032. <ColumnInfo>
  1033. <Column id="optpcomment" type="STRING" size="256"/>
  1034. </ColumnInfo>
  1035. </Dataset>
  1036. <Dataset id="ds_grd_narcprcpinfolist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1037. <ColumnInfo>
  1038. <Column id="chkyn" type="STRING"/>
  1039. <Column id="narcstat" type="STRING"/>
  1040. <Column id="cnclstat" type="STRING"/>
  1041. <Column id="rtnstat" type="STRING"/>
  1042. <Column id="prcpdd" type="STRING"/>
  1043. <Column id="prcpcd" type="STRING"/>
  1044. <Column id="drugnm" type="STRING"/>
  1045. <Column id="drprcpetc7" type="STRING"/>
  1046. <Column id="drprcpetc8" type="STRING"/>
  1047. <Column id="prcptims" type="STRING"/>
  1048. <Column id="prnyn" type="STRING"/>
  1049. <Column id="dcyn" type="STRING"/>
  1050. <Column id="pid" type="STRING"/>
  1051. <Column id="returnflag" type="STRING"/>
  1052. <Column id="returnqty" type="STRING"/>
  1053. <Column id="returnvol" type="STRING"/>
  1054. <Column id="drugrec" type="STRING"/>
  1055. <Column id="dayprcpqty" type="STRING"/>
  1056. <Column id="prcpqtyunit" type="STRING"/>
  1057. <Column id="prcpvol" type="STRING"/>
  1058. <Column id="prcpvolunit" type="STRING"/>
  1059. <Column id="dayprcpqty" type="STRING"/>
  1060. <Column id="prcpdayno" type="STRING"/>
  1061. <Column id="drugdd" type="STRING"/>
  1062. <Column id="drugno" type="STRING"/>
  1063. <Column id="ioflag" type="STRING"/>
  1064. <Column id="prcpno" type="STRING"/>
  1065. <Column id="prcphistno" type="STRING"/>
  1066. <Column id="narcflag" type="STRING"/>
  1067. <Column id="orddd" type="STRING"/>
  1068. <Column id="ward" type="STRING"/>
  1069. <Column id="prcpgenrflag" type="STRING"/>
  1070. <Column id="prcpkindcd" type="STRING"/>
  1071. <Column id="pain" type="STRING"/>
  1072. <Column id="orddrnm" type="STRING"/>
  1073. <Column id="rtnprcpdt" type="STRING"/>
  1074. <Column id="rtnorddrnm" type="STRING"/>
  1075. <Column id="sumdt" type="STRING"/>
  1076. <Column id="reqdt" type="STRING"/>
  1077. <Column id="reqidnm" type="STRING"/>
  1078. <Column id="drugdt" type="STRING"/>
  1079. <Column id="drugidnm" type="STRING"/>
  1080. <Column id="delivedt" type="STRING"/>
  1081. <Column id="deliveidnm" type="STRING"/>
  1082. <Column id="issdeptcdnm" type="STRING"/>
  1083. <Column id="issdeptcd" type="STRING"/>
  1084. <Column id="acptdt" type="STRING"/>
  1085. <Column id="acptidnm" type="STRING"/>
  1086. <Column id="rtnappdt" type="STRING"/>
  1087. <Column id="rtnappidnm" type="STRING"/>
  1088. <Column id="rtncnfmdt" type="STRING"/>
  1089. <Column id="rtncnfmidnm" type="STRING"/>
  1090. <Column id="spreqty" type="STRING"/>
  1091. <Column id="sprevol" type="STRING"/>
  1092. <Column id="spredt" type="STRING"/>
  1093. <Column id="spreidnm" type="STRING"/>
  1094. <Column id="sprecnfmdt" type="STRING"/>
  1095. <Column id="sprecnfmidnm" type="STRING"/>
  1096. <Column id="fstrgstdt" type="STRING"/>
  1097. <Column id="erprcpflag" type="STRING"/>
  1098. <Column id="prcpdt" type="STRING"/>
  1099. <Column id="hospnm1" type="STRING"/>
  1100. <Column id="hospnm2" type="STRING"/>
  1101. <Column id="medrendyn" type="STRING"/>
  1102. <Column id="statvisible" type="STRING"/>
  1103. <Column id="deptchgyn" type="STRING"/>
  1104. <Column id="nodeliveyn" type="STRING"/>
  1105. <Column id="inclprcpcd" type="STRING"/>
  1106. <Column id="rcissdeptcd" type="STRING"/>
  1107. <Column id="rcprcpexecdeptcd" type="STRING"/>
  1108. <Column id="rcwardcd" type="STRING"/>
  1109. <Column id="rcroomcd" type="STRING"/>
  1110. </ColumnInfo>
  1111. </Dataset>
  1112. <Dataset id="ds_grd_execddchklist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1113. <ColumnInfo>
  1114. <Column id="chkyn" type="STRING"/>
  1115. <Column id="dcstat" type="STRING"/>
  1116. <Column id="prcpcd" type="STRING"/>
  1117. <Column id="prcpnm" type="STRING"/>
  1118. <Column id="prcpdd" type="STRING"/>
  1119. <Column id="rgstdt" type="STRING"/>
  1120. <Column id="execdd" type="STRING"/>
  1121. <Column id="exectm" type="STRING"/>
  1122. <Column id="execdt" type="STRING"/>
  1123. <Column id="usernm" type="STRING"/>
  1124. <Column id="flag" type="STRING"/>
  1125. <Column id="prcpno" type="STRING"/>
  1126. <Column id="prcphistno" type="STRING"/>
  1127. <Column id="execprcpno" type="STRING"/>
  1128. <Column id="dcyn" type="STRING"/>
  1129. <Column id="pid" type="STRING"/>
  1130. <Column id="reqflag" type="STRING"/>
  1131. </ColumnInfo>
  1132. </Dataset>
  1133. <Dataset id="ds_init_cmb_resncd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1134. <ColumnInfo>
  1135. <Column id="cdnm" type="STRING"/>
  1136. <Column id="cdid" type="STRING"/>
  1137. </ColumnInfo>
  1138. </Dataset>
  1139. <Dataset id="ds_grd_tellprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1140. <ColumnInfo>
  1141. <Column id="prcpcd" type="STRING"/>
  1142. <Column id="prcpnm" type="STRING"/>
  1143. <Column id="prcpdd" type="STRING"/>
  1144. <Column id="rgstdt" type="STRING"/>
  1145. <Column id="drprcpetc7" type="STRING"/>
  1146. <Column id="drprcpetc8" type="STRING"/>
  1147. <Column id="prcptims" type="STRING"/>
  1148. <Column id="rgstrdeptnm" type="STRING"/>
  1149. <Column id="rgstridnm" type="STRING"/>
  1150. <Column id="prcpno" type="STRING"/>
  1151. </ColumnInfo>
  1152. </Dataset>
  1153. <Dataset id="ds_grd_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1154. <ColumnInfo>
  1155. <Column id="cdgrupid" type="STRING" size="256"/>
  1156. <Column id="cdid" type="STRING" size="256"/>
  1157. <Column id="cdnm" type="STRING" size="256"/>
  1158. <Column id="grupdetldesc" type="STRING" size="256"/>
  1159. <Column id="valifromdd" type="STRING" size="256"/>
  1160. <Column id="valitodd" type="STRING" size="256"/>
  1161. <Column id="supcdid" type="STRING" size="256"/>
  1162. </ColumnInfo>
  1163. </Dataset>
  1164. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1165. <ColumnInfo>
  1166. <Column id="pid" type="STRING" size="256"/>
  1167. <Column id="indd" type="STRING" size="256"/>
  1168. <Column id="cretno" type="STRING" size="256"/>
  1169. <Column id="wardcd" type="STRING" size="256"/>
  1170. <Column id="roomcd" type="STRING" size="256"/>
  1171. <Column id="hngnm" type="STRING" size="256"/>
  1172. <Column id="medispclid" type="STRING" size="256"/>
  1173. <Column id="orddeptcd" type="STRING" size="256"/>
  1174. <Column id="dschdclrdt" type="STRING" size="8"/>
  1175. <Column id="duty" type="STRING" size="256"/>
  1176. </ColumnInfo>
  1177. <Rows>
  1178. <Row/>
  1179. </Rows>
  1180. </Dataset>
  1181. <Dataset id="ds_main_tnsprcpcomment" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1182. <ColumnInfo>
  1183. <Column id="tnsprcpcomment" type="STRING" size="256"/>
  1184. </ColumnInfo>
  1185. </Dataset>
  1186. <Dataset id="ds_main_narcprcpcomment" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1187. <ColumnInfo>
  1188. <Column id="narcprcpcomment" type="STRING" size="256"/>
  1189. </ColumnInfo>
  1190. </Dataset>
  1191. <Dataset id="ds_main_homecarecnstlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1192. <ColumnInfo>
  1193. <Column id="cnstinfoyn" type="STRING" size="256"/>
  1194. <Column id="dsrdinfoyn" type="STRING" size="256"/>
  1195. <Column id="cnstcomment" type="STRING" size="256"/>
  1196. </ColumnInfo>
  1197. </Dataset>
  1198. <Dataset id="ds_main_unrecblodinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1199. <ColumnInfo>
  1200. <Column id="unrecblodcomment" type="STRING" size="256"/>
  1201. <Column id="unrecyn" type="STRING" size="256"/>
  1202. </ColumnInfo>
  1203. </Dataset>
  1204. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1205. <ColumnInfo>
  1206. <Column id="cdgrupid" type="STRING" size="256"/>
  1207. <Column id="srchdd" type="STRING" size="256"/>
  1208. <Column id="flag" type="STRING" size="256"/>
  1209. <Column id="allflag" type="STRING" size="256"/>
  1210. </ColumnInfo>
  1211. <Rows>
  1212. <Row/>
  1213. </Rows>
  1214. </Dataset>
  1215. <Dataset id="ds_temp_narcprcpinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1216. <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1217. <ColumnInfo>
  1218. <Column id="narcflag" type="STRING" size="256"/>
  1219. <Column id="timeflag" type="STRING" size="256"/>
  1220. <Column id="fst_dd" type="STRING" size="256"/>
  1221. <Column id="last_dd" type="STRING" size="256"/>
  1222. <Column id="srchpid" type="STRING" size="256"/>
  1223. <Column id="wardcd" type="STRING" size="256"/>
  1224. <Column id="roomcd" type="STRING" size="256"/>
  1225. <Column id="barcode" type="STRING" size="256"/>
  1226. <Column id="drugkind" type="STRING" size="256"/>
  1227. <Column id="srchioflag" type="STRING" size="256"/>
  1228. <Column id="narcstat" type="STRING" size="256"/>
  1229. <Column id="cnclatat" type="STRING" size="256"/>
  1230. <Column id="rtnstat" type="STRING" size="256"/>
  1231. <Column id="drugdeptcd" type="STRING" size="256"/>
  1232. <Column id="acting" type="STRING" size="256"/>
  1233. <Column id="userid" type="STRING" size="256"/>
  1234. <Column id="userdeptcd" type="STRING" size="256"/>
  1235. </ColumnInfo>
  1236. </Dataset>
  1237. <Dataset id="ds_send_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1238. <ColumnInfo>
  1239. <Column id="userid" type="STRING" size="256"/>
  1240. <Column id="userdeptcd" type="STRING" size="256"/>
  1241. </ColumnInfo>
  1242. </Dataset>
  1243. <Dataset id="ds_grd_narclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1244. <Dataset id="ds_temp_actingchklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1245. <Dataset id="ds_temp_actingchklist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1246. <Dataset id="ds_dschyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1247. <ColumnInfo>
  1248. <Column id="pid" type="STRING" size="256"/>
  1249. </ColumnInfo>
  1250. </Dataset>
  1251. <Dataset id="ds_temp_uncnfmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1252. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1253. <ColumnInfo>
  1254. <Column id="deptflg" type="STRING" size="256"/>
  1255. <Column id="pid" type="STRING" size="256"/>
  1256. <Column id="indd" type="STRING" size="256"/>
  1257. <Column id="cretno" type="STRING" size="256"/>
  1258. <Column id="unitflag" type="STRING" size="256"/>
  1259. <Column id="actingchk" type="STRING" size="256"/>
  1260. <Column id="enddruglist" type="STRING" size="256"/>
  1261. <Column id="endflag" type="STRING" size="256"/>
  1262. </ColumnInfo>
  1263. <Rows>
  1264. <Row/>
  1265. </Rows>
  1266. </Dataset>
  1267. <Dataset id="ds_careinrmyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1268. <ColumnInfo>
  1269. <Column id="careinrmyn" type="STRING" size="256"/>
  1270. </ColumnInfo>
  1271. </Dataset>
  1272. <Dataset id="ds_temp_enddruglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1273. <Dataset id="ds_cmb_narcstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1274. <ColumnInfo>
  1275. <Column id="lavel" type="STRING" size="256"/>
  1276. <Column id="value" type="STRING" size="256"/>
  1277. </ColumnInfo>
  1278. <Rows>
  1279. <Row>
  1280. <Col id="lavel">미신청</Col>
  1281. <Col id="value">1</Col>
  1282. </Row>
  1283. <Row>
  1284. <Col id="lavel">불출신청</Col>
  1285. <Col id="value">2</Col>
  1286. </Row>
  1287. <Row>
  1288. <Col id="lavel">출력완료</Col>
  1289. <Col id="value">3</Col>
  1290. </Row>
  1291. <Row>
  1292. <Col id="lavel">조제완료</Col>
  1293. <Col id="value">4</Col>
  1294. </Row>
  1295. <Row>
  1296. <Col id="lavel">불출</Col>
  1297. <Col id="value">5</Col>
  1298. </Row>
  1299. <Row>
  1300. <Col id="lavel">부서확인</Col>
  1301. <Col id="value">6</Col>
  1302. </Row>
  1303. </Rows>
  1304. </Dataset>
  1305. <Dataset id="ds_cmb_cnclstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1306. <ColumnInfo>
  1307. <Column id="label" type="STRING" size="256"/>
  1308. <Column id="value" type="STRING" size="256"/>
  1309. </ColumnInfo>
  1310. <Rows>
  1311. <Row>
  1312. <Col id="label">-</Col>
  1313. </Row>
  1314. <Row>
  1315. <Col id="label">반환대상</Col>
  1316. <Col id="value">0</Col>
  1317. </Row>
  1318. <Row>
  1319. <Col id="label">반환신청</Col>
  1320. <Col id="value">1</Col>
  1321. </Row>
  1322. <Row>
  1323. <Col id="label">반환확인</Col>
  1324. <Col id="value">2</Col>
  1325. </Row>
  1326. <Row>
  1327. <Col id="label">반환종료</Col>
  1328. <Col id="value">7</Col>
  1329. </Row>
  1330. <Row>
  1331. <Col id="label">미불출</Col>
  1332. <Col id="value">10</Col>
  1333. </Row>
  1334. </Rows>
  1335. </Dataset>
  1336. <Dataset id="ds_cmb_rtnstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1337. <ColumnInfo>
  1338. <Column id="label" type="STRING" size="256"/>
  1339. <Column id="value" type="STRING" size="256"/>
  1340. </ColumnInfo>
  1341. <Rows>
  1342. <Row>
  1343. <Col id="label">-</Col>
  1344. </Row>
  1345. <Row>
  1346. <Col id="label">잔량대상</Col>
  1347. <Col id="value">0</Col>
  1348. </Row>
  1349. <Row>
  1350. <Col id="label">잔량신청</Col>
  1351. <Col id="value">1</Col>
  1352. </Row>
  1353. <Row>
  1354. <Col id="label">잔량확인</Col>
  1355. <Col id="value">2</Col>
  1356. </Row>
  1357. <Row>
  1358. <Col id="label">미불출</Col>
  1359. <Col id="value">10</Col>
  1360. </Row>
  1361. </Rows>
  1362. </Dataset>
  1363. <Dataset id="ds_endinfo_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1364. <ColumnInfo>
  1365. <Column id="prcpdd" type="STRING" size="256"/>
  1366. <Column id="prcpno" type="STRING" size="256"/>
  1367. <Column id="prcphistno" type="STRING" size="256"/>
  1368. <Column id="instcd" type="STRING" size="256"/>
  1369. <Column id="userid" type="STRING" size="256"/>
  1370. </ColumnInfo>
  1371. </Dataset>
  1372. <Dataset id="ds_send_FlagInfoData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1373. <ColumnInfo>
  1374. <Column id="savedataflag" type="STRING" size="256"/>
  1375. <Column id="saveflag" type="STRING" size="256"/>
  1376. <Column id="prcpflag" type="STRING" size="256"/>
  1377. <Column id="inptflag" type="STRING" size="256"/>
  1378. <Column id="pamflag" type="STRING" size="256"/>
  1379. <Column id="diagflag" type="STRING" size="256"/>
  1380. <Column id="prcperrflag" type="STRING" size="256"/>
  1381. <Column id="deptcd" type="STRING" size="256"/>
  1382. <Column id="deptnm" type="STRING" size="256"/>
  1383. <Column id="userid" type="STRING" size="256"/>
  1384. <Column id="usernm" type="STRING" size="256"/>
  1385. <Column id="signyn" type="STRING" size="256"/>
  1386. <Column id="xrwid" type="STRING" size="256"/>
  1387. </ColumnInfo>
  1388. <Rows>
  1389. <Row/>
  1390. </Rows>
  1391. </Dataset>
  1392. <Dataset id="ds_send_RgstInfoData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1393. <ColumnInfo>
  1394. <Column id="pid" type="STRING" size="256"/>
  1395. <Column id="orddd" type="STRING" size="256"/>
  1396. <Column id="indd" type="STRING" size="256"/>
  1397. <Column id="cretno" type="STRING" size="256"/>
  1398. <Column id="orddeptcd" type="STRING" size="256"/>
  1399. <Column id="orddrid" type="STRING" size="256"/>
  1400. <Column id="instcd" type="STRING" size="256"/>
  1401. <Column id="admininfo" type="STRING" size="256"/>
  1402. </ColumnInfo>
  1403. <Rows>
  1404. <Row/>
  1405. </Rows>
  1406. </Dataset>
  1407. <Dataset id="ds_send_PrcpInfoData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1408. <ColumnInfo>
  1409. <Column id="status" type="STRING" size="256"/>
  1410. <Column id="rowno" type="STRING" size="256"/>
  1411. <Column id="prcpdd" type="STRING" size="256"/>
  1412. <Column id="prcphistno" type="STRING" size="256"/>
  1413. <Column id="instcd" type="STRING" size="256"/>
  1414. <Column id="pid" type="STRING" size="256"/>
  1415. <Column id="orddd" type="STRING" size="256"/>
  1416. <Column id="cretno" type="STRING" size="256"/>
  1417. <Column id="orddeptcd" type="STRING" size="256"/>
  1418. <Column id="orddrid" type="STRING" size="256"/>
  1419. <Column id="prcpgenrflag" type="STRING" size="256"/>
  1420. <Column id="prcpstatcd" type="STRING" size="256"/>
  1421. <Column id="prcpkindcd" type="STRING" size="256"/>
  1422. <Column id="prcpcd" type="STRING" size="256"/>
  1423. <Column id="calcscorcd" type="STRING" size="256"/>
  1424. <Column id="inclprcpcd" type="STRING" size="256"/>
  1425. <Column id="inclprcpno" type="STRING" size="256"/>
  1426. <Column id="prcpexecdeptcd" type="STRING" size="256"/>
  1427. <Column id="prcphopedd" type="STRING" size="256"/>
  1428. <Column id="prcpqty" type="STRING" size="256"/>
  1429. <Column id="prcpqtyunitflag" type="STRING" size="256"/>
  1430. <Column id="prcptims" type="STRING" size="256"/>
  1431. <Column id="prcpdayno" type="STRING" size="256"/>
  1432. <Column id="payflagcd" type="STRING" size="256"/>
  1433. <Column id="erprcpflag" type="STRING" size="256"/>
  1434. <Column id="precureprcpflag" type="STRING" size="256"/>
  1435. <Column id="nigtprcpflag" type="STRING" size="256"/>
  1436. <Column id="portprcpflag" type="STRING" size="256"/>
  1437. <Column id="fixprcpflag" type="STRING" size="256"/>
  1438. <Column id="choiordflag" type="STRING" size="256"/>
  1439. <Column id="anamneflag" type="STRING" size="256"/>
  1440. <Column id="prcpdirecflag" type="STRING" size="256"/>
  1441. <Column id="angioflagcd" type="STRING" size="256"/>
  1442. <Column id="opansflagcd" type="STRING" size="256"/>
  1443. <Column id="ansttm" type="STRING" size="256"/>
  1444. <Column id="offictourhealexamflag" type="STRING" size="256"/>
  1445. <Column id="stemcellflag" type="STRING" size="256"/>
  1446. <Column id="hosinhosoutflag" type="STRING" size="256"/>
  1447. <Column id="hosinprcpresncd" type="STRING" size="256"/>
  1448. <Column id="issdeptcd" type="STRING" size="256"/>
  1449. <Column id="prcpauthflag" type="STRING" size="256"/>
  1450. <Column id="prcpinptflag" type="STRING" size="256"/>
  1451. <Column id="prcpsignflag" type="STRING" size="256"/>
  1452. <Column id="oprsrvno" type="STRING" size="256"/>
  1453. <Column id="clincstdyflag" type="STRING" size="256"/>
  1454. <Column id="clincstdycd" type="STRING" size="256"/>
  1455. <Column id="drugmthdspccd" type="STRING" size="256"/>
  1456. <Column id="prcpdelivefact" type="STRING" size="256"/>
  1457. <Column id="tootfact" type="STRING" size="256"/>
  1458. <Column id="matrsetprcpspec" type="STRING" size="256"/>
  1459. <Column id="calcflag" type="STRING" size="256"/>
  1460. <Column id="rsrvflag" type="STRING" size="256"/>
  1461. <Column id="rsrvdd" type="STRING" size="256"/>
  1462. <Column id="rsrvtm" type="STRING" size="256"/>
  1463. <Column id="rsrvrid" type="STRING" size="256"/>
  1464. <Column id="execdd" type="STRING" size="256"/>
  1465. <Column id="exectm" type="STRING" size="256"/>
  1466. <Column id="execrid" type="STRING" size="256"/>
  1467. <Column id="direcprcplnkdd" type="STRING" size="256"/>
  1468. <Column id="direcprcplnkno" type="STRING" size="256"/>
  1469. <Column id="ordreqlnkno" type="STRING" size="256"/>
  1470. <Column id="testreqlnkno" type="STRING" size="256"/>
  1471. <Column id="aftcertflag" type="STRING" size="256"/>
  1472. <Column id="aftcertdrid" type="STRING" size="256"/>
  1473. <Column id="dcflag" type="STRING" size="256"/>
  1474. <Column id="execprcpuniqno" type="STRING" size="256"/>
  1475. <Column id="prcpclscd" type="STRING" size="256"/>
  1476. <Column id="prcpno" type="STRING" size="256"/>
  1477. </ColumnInfo>
  1478. <Rows>
  1479. <Row/>
  1480. </Rows>
  1481. </Dataset>
  1482. <Dataset id="ds_send_SignInfoData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1483. <ColumnInfo>
  1484. <Column id="signdd" type="STRING" size="256"/>
  1485. <Column id="signno" type="STRING" size="256"/>
  1486. <Column id="instcd" type="STRING" size="256"/>
  1487. <Column id="pid" type="STRING" size="256"/>
  1488. <Column id="orddd" type="STRING" size="256"/>
  1489. <Column id="cretno" type="STRING" size="256"/>
  1490. <Column id="signflag" type="STRING" size="256"/>
  1491. <Column id="signgenrflag" type="STRING" size="256"/>
  1492. <Column id="rgstdeptcd" type="STRING" size="256"/>
  1493. <Column id="rgstdd" type="STRING" size="256"/>
  1494. <Column id="rgsttm" type="STRING" size="256"/>
  1495. <Column id="rgstrid" type="STRING" size="256"/>
  1496. <Column id="updtdeptcd" type="STRING" size="256"/>
  1497. <Column id="updtdd" type="STRING" size="256"/>
  1498. <Column id="updttm" type="STRING" size="256"/>
  1499. <Column id="updtrid" type="STRING" size="256"/>
  1500. <Column id="fstrgstrid" type="STRING" size="256"/>
  1501. <Column id="fstrgstdt" type="STRING" size="256"/>
  1502. <Column id="lastupdtrid" type="STRING" size="256"/>
  1503. <Column id="lastupdtdt" type="STRING" size="256"/>
  1504. <Column id="signbfcnts" type="STRING" size="256"/>
  1505. <Column id="signaftcnts" type="STRING" size="256"/>
  1506. </ColumnInfo>
  1507. <Rows>
  1508. <Row/>
  1509. </Rows>
  1510. </Dataset>
  1511. <Dataset id="ds_result_prcperrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1512. <ColumnInfo>
  1513. <Column id="prcpcd" type="STRING" size="256"/>
  1514. <Column id="prcpnm" type="STRING" size="256"/>
  1515. <Column id="prcperr" type="STRING" size="256"/>
  1516. <Column id="flag" type="STRING" size="256"/>
  1517. </ColumnInfo>
  1518. </Dataset>
  1519. <Dataset id="ds_temp_execddchklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1520. <Dataset id="ds_send_warddruglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1521. <ColumnInfo>
  1522. <Column id="pid" type="STRING" size="256"/>
  1523. <Column id="check" type="STRING" size="256"/>
  1524. <Column id="prcpdd" type="STRING" size="256"/>
  1525. <Column id="prcpno" type="STRING" size="256"/>
  1526. <Column id="dccountyn" type="STRING" size="256"/>
  1527. <Column id="dcyn" type="STRING" size="256"/>
  1528. <Column id="chkyn" type="STRING" size="256"/>
  1529. <Column id="reqflag" type="STRING" size="256"/>
  1530. <Column id="resncd" type="STRING" size="256"/>
  1531. <Column id="resnetc" type="STRING" size="256"/>
  1532. <Column id="wardcd" type="STRING" size="256"/>
  1533. </ColumnInfo>
  1534. </Dataset>
  1535. <Dataset id="ds_send_saveinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1536. <ColumnInfo>
  1537. <Column id="chngflag" type="STRING" size="256"/>
  1538. <Column id="flag" type="STRING" size="256"/>
  1539. </ColumnInfo>
  1540. <Rows>
  1541. <Row/>
  1542. </Rows>
  1543. </Dataset>
  1544. <Dataset id="ds_grd_outrsrvinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1545. <ColumnInfo>
  1546. <Column id="orddd" type="STRING" size="256"/>
  1547. <Column id="ordtm" type="STRING" size="256"/>
  1548. <Column id="orddeptnm" type="STRING" size="256"/>
  1549. <Column id="orddrnm" type="STRING" size="256"/>
  1550. <Column id="centnm" type="STRING" size="256"/>
  1551. <Column id="subdeptnm" type="STRING" size="256"/>
  1552. </ColumnInfo>
  1553. </Dataset>
  1554. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1555. </Objects>
  1556. <Bind>
  1557. <BindItem id="item0" compid="group2.output3" propid="value" datasetid="ds_main_cond" columnid="pid"/>
  1558. <BindItem id="item1" compid="group2.output1" propid="value" datasetid="ds_main_cond" columnid="hngnm"/>
  1559. <BindItem id="item2" compid="group2.output2" propid="value" datasetid="ds_main_cond" columnid="roomcd"/>
  1560. <BindItem id="item4" compid="group2.output4" propid="value" datasetid="ds_main_homecarecnstlist" columnid="cnstcomment"/>
  1561. <BindItem id="item5" compid="group2.output23" propid="value" datasetid="ds_main_unrecblodinfo" columnid="unrecblodcomment"/>
  1562. <BindItem id="item6" compid="group2.opt_narccomment" propid="value" datasetid="ds_main_narcprcpcomment" columnid="narcprcpcomment"/>
  1563. <BindItem id="item7" compid="group2.opt_tnsprcpcomment" propid="value" datasetid="ds_main_tnsprcpcomment" columnid="tnsprcpcomment"/>
  1564. <BindItem id="item8" compid="group2.opt_optpcomment" propid="value" datasetid="ds_main_outrsrvinfo" columnid="optpcomment"/>
  1565. <BindItem id="item3" compid="group2.rdo_duty" propid="value" datasetid="ds_main_cond" columnid="duty"/>
  1566. </Bind>
  1567. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1568. * System Name :
  1569. * Job Name :
  1570. * Creator :
  1571. * Make Date : 2015-11-13
  1572. * Description :
  1573. *---------------------------------------------------------------------------------------
  1574. * Modify Date Modifier Modify Description
  1575. *---------------------------------------------------------------------------------------
  1576. * 2015-11-13 Live Converter TF->XP
  1577. *
  1578. *---------------------------------------------------------------------------------------
  1579. ****************************************************************************************/
  1580. include "com_commonxp::comm_main.xjs";
  1581. var arErrorCode = new HashArray();
  1582. function cf_TXMNW00305(sSvcId, nErrorCode, sErrorMsg) {
  1583. arErrorCode.push(sSvcId, nErrorCode);
  1584. if(nErrorCode < 0) return;
  1585. utlf_addLog("***** cf_TXMNW00305 *****");
  1586. }
  1587. function SPMNW17200_oninit(obj:Form, e:InitEventInfo)
  1588. {
  1589. frmf_initForm(obj);
  1590. }
  1591. //load
  1592. function SPMNW17200_onload(obj:Form, e:LoadEventInfo)
  1593. {
  1594. grdf_initGrid(group2.grd_actingchklist);
  1595. grdf_initGrid(group2.grd_execddchklist);
  1596. grdf_initGrid(group2.grd_narcprcpinfolist);
  1597. grdf_initGrid(group2.grd_uncnfmlist);
  1598. grdf_initGrid(group2.grd_enddruglist);
  1599. // /root/main/paminfo/list
  1600. var sPamInfo = sysf_getGlobalVariable("paminfo");
  1601. dsf_setCSVToDs("ds_temp_cond", sPamInfo);
  1602. var jobposcd = "";
  1603. ds_send_reqdata.setColumn(0, "cdgrupid", "'U28', 'U29', 'I03'");
  1604. ds_send_reqdata.setColumn(0, "srchdd", utlf_getCurrentDate());
  1605. var oParam = {};
  1606. oParam.id = "TRMNW00001";
  1607. oParam.service = "wardcareapp.WardCareMngt";
  1608. oParam.method = "reqGetNursHardCdInfo";
  1609. oParam.inds = "req=ds_send_reqdata";
  1610. oParam.outds = "ds_grd_codelist=codelist";
  1611. oParam.async = false;
  1612. //oParam.callback = "cf_TRMNW00001";
  1613. tranf_submit(oParam);
  1614. ds_grd_codelist.filter("cdgrupid == 'U28'");
  1615. var useyn = ds_grd_codelist.getColumn(0, "cdid");
  1616. ds_grd_codelist.filter("");
  1617. ds_grd_codelist.filter("cdgrupid == 'I03'");
  1618. var monyn = ds_grd_codelist.getColumn(0, "cdid");
  1619. ds_grd_codelist.filter("");
  1620. if(sysf_getUserInfo("userid")=="ENR"){
  1621. group2.btn_req.visible = true;
  1622. group2.btn_cert.visible = true;
  1623. }else{
  1624. if(useyn =="Y")
  1625. {
  1626. jobposcd = sysf_getUserInfo("jobposcd");
  1627. if(jobposcd == "75"){
  1628. group2.btn_cert.visible = true;
  1629. group2.btn_req.visible = false;
  1630. }else{
  1631. group2.btn_cert.visible = false;
  1632. group2.btn_req.visible = true;
  1633. }
  1634. }else{
  1635. group2.btn_cert.visible = false;
  1636. group2.btn_req.visible = false;
  1637. }
  1638. }
  1639. if(monyn == "Y"){
  1640. group2.btn_mon.visible = true;
  1641. }else{
  1642. group2.btn_mon.visible = false;
  1643. }
  1644. var pid = ds_temp_cond.getColumn(0, "pid");
  1645. var indd = ds_temp_cond.getColumn(0, "indd");
  1646. var cretno = ds_temp_cond.getColumn(0, "cretno");
  1647. var wardcd = ds_temp_cond.getColumn(0, "wardcd");
  1648. var roomcd = ds_temp_cond.getColumn(0, "roomcd");
  1649. var hngnm = ds_temp_cond.getColumn(0, "hngnm");
  1650. var orddeptcd = ds_temp_cond.getColumn(0, "orddeptcd");
  1651. var dschdclrdt = ds_temp_cond.getColumn(0, "dschdclrdt");
  1652. ds_main_cond.setColumn(0, "pid", pid);
  1653. ds_main_cond.setColumn(0, "indd", indd);
  1654. ds_main_cond.setColumn(0, "cretno", cretno);
  1655. ds_main_cond.setColumn(0, "wardcd", wardcd);
  1656. ds_main_cond.setColumn(0, "roomcd", roomcd);
  1657. ds_main_cond.setColumn(0, "hngnm", hngnm);
  1658. ds_main_cond.setColumn(0, "orddeptcd", orddeptcd);
  1659. ds_main_cond.setColumn(0, "dschdclrdt", dschdclrdt.substr(0,8));
  1660. var curTime = utlf_getCurrentTime().substr(0,4);
  1661. if(curTime>"0800" && curTime < "1601"){
  1662. group2.rdo_duty.value = "D";
  1663. }
  1664. else if(curTime>"1600" && curTime < "2301"){
  1665. group2.rdo_duty.value = "E";
  1666. }
  1667. else{
  1668. group2.rdo_duty.value = "N";
  1669. }
  1670. fSearch();
  1671. }
  1672. //조회
  1673. function group2_button5_onclick(obj:Button, e:ClickEventInfo)
  1674. {
  1675. fSearch();
  1676. }
  1677. //조회함수
  1678. function fSearch() {
  1679. ds_send_reqdata.copyData(ds_main_cond);
  1680. sysf_trace("11 >> " + ds_grd_actingchklist.getColumn(0, "statcd"))
  1681. var oParam = {};
  1682. oParam.id = "TRMNW17201";
  1683. oParam.service = "wardcareapp.WardCareMngt";
  1684. oParam.method = "reqGetDschInfoAll";
  1685. oParam.inds = "req=ds_send_reqdata";
  1686. oParam.outds = "ds_grd_actingchklist=actingchklist ds_grd_noactdruglist=noactdruglist ds_grd_retdruglist=retdruglist ds_grd_uncnfmlist=uncnfmlist ds_grd_execddchklist=execddchklist ds_grd_outdruglist=outdruglist ds_grd_enddruglist=enddruglist ds_grd_outrsrvinfolist=outrsrvinfolist ds_main_outrsrvinfo=optpcomment ds_grd_tnsprcplist=tnsprcplist ds_main_tnsprcpcomment=tnsprcpcomment ds_grd_narcprcpinfolist=narcprcplist ds_main_narcprcpcomment=narcprcpcomment ds_main_homecarecnstlist=homecarecnstlist ds_main_unrecblodinfo=unrecblodinfo ds_grd_tellprcplist=tellprcplist";
  1687. oParam.async = false;
  1688. //oParam.callback = "cf_TRMNW17201";
  1689. tranf_submit(oParam);
  1690. sysf_trace("22 >> " + ds_grd_actingchklist.getColumn(0, "statcd"))
  1691. var prcpkindcdnm;
  1692. for(var i = 0; i < ds_grd_noactdruglist.rowcount; i ++) {
  1693. prcpkindcdnm = ds_grd_noactdruglist.getColumn(i, "prcpkindcdnm");
  1694. }
  1695. if(ds_grd_outdruglist.rowcount > 0) {
  1696. group2.opt_outdrugcmt.value = "정리되지 않은 외출외박약이 존재합니다.";
  1697. }
  1698. var reqflag;
  1699. for(var i = 0; i < ds_grd_execddchklist.rowcount; i++) {
  1700. reqflag = ds_grd_execddchklist.getColumn(i,"reqflag");
  1701. }
  1702. }
  1703. //
  1704. function fNarcActing(sActing){
  1705. var chkyn;
  1706. var narcstat;
  1707. var cnclstat;
  1708. var rtnstat;
  1709. var ioflag;
  1710. var inclprcpcd;
  1711. var issdeptcd;
  1712. var deptchgyn;
  1713. var sActing_nm = "";
  1714. var issmsg = "";
  1715. ds_grd_narcprcpinfolist.filter("chkyn =='Y'");
  1716. ds_temp_narcprcpinfolist.copyData(ds_grd_narcprcpinfolist, true);
  1717. ds_grd_narcprcpinfolist.filter("");
  1718. if(ds_temp_narcprcpinfolist.rowcount == 0){
  1719. sysf_messageBox("선택된 데이터가 존재하지 않습니다.", "E");
  1720. return;
  1721. }
  1722. for(var i = 0; i< ds_temp_narcprcpinfolist.rowcount; i++){
  1723. chkyn = ds_temp_narcprcpinfolist.getColumn(i, "chkyn");
  1724. narcstat = ds_temp_narcprcpinfolist.getColumn(i, "narcstat");
  1725. cnclstat = ds_temp_narcprcpinfolist.getColumn(i, "cnclstat");
  1726. rtnstat = ds_temp_narcprcpinfolist.getColumn(i, "rtnstat");
  1727. ioflag = ds_temp_narcprcpinfolist.getColumn(i, "ioflag");
  1728. inclprcpcd = ds_temp_narcprcpinfolist.getColumn(i, "inclprcpcd");
  1729. issdeptcd = ds_temp_narcprcpinfolist.getColumn(i, "issdeptcd");
  1730. deptchgyn = ds_temp_narcprcpinfolist.getColumn(i, "deptchgyn");
  1731. }
  1732. if(chkyn == "Y"){
  1733. if(sActing =="rtn") {
  1734. if(cnclstat != "0" || narcstat=="5") {
  1735. sActing = "spre";
  1736. }
  1737. }
  1738. if(sActing == "drug") {
  1739. if(narcstat != "1") {
  1740. sysf_messageBox("이미 불출신청한 마약은 불출신청 할 수 없습니다.", "E");
  1741. return;
  1742. } else {
  1743. }
  1744. }
  1745. else if(sActing == "drugcncl") {
  1746. if(narcstat!= "2") {
  1747. sysf_messageBox("불출신청 상태가 아니면 불출신청 취소를 할 수 없습니다", "E");
  1748. return;
  1749. }
  1750. }
  1751. else if(sActing =="acpt") {
  1752. if(narcstat != "5" && narcstat > "5") {
  1753. sysf_messageBox("이미 부서확인 된 마약입니다", "E");
  1754. return;
  1755. } else if(narcstat != "5" && narcstat < "5") {
  1756. sysf_messageBox("불출되지 않은 마약은 부서확인 할 수 없습니다", "E");
  1757. return;
  1758. }
  1759. }
  1760. else if(sActing == "spre") {
  1761. if(narcstat != "6") {
  1762. sysf_messageBox("처방 D/C처리 이후에 반납/반환신청이","I006");
  1763. return;
  1764. }
  1765. }
  1766. else if(sActing == "rtn") {
  1767. if(cnclstat == "0" && narcstat !="5") {
  1768. if(rtnstat != "0" || narcstat != "6") {
  1769. sysf_messageBox("처방 D/C처리 이후에 반납/반환신청이","I006");
  1770. return;
  1771. }
  1772. }
  1773. }
  1774. }
  1775. if(sActing == "drug"){
  1776. sActing_nm = "불출신청";
  1777. } else if(sActing == "drugcncl") {
  1778. sActing_nm = "불출신청취소";
  1779. } else if(sActing == "acpt") {
  1780. sActing_nm = "부서확인";
  1781. } else if(sActing == "spre") {
  1782. sActing_nm = "반납/반환신청";
  1783. } else if(sActing == "rtn") {
  1784. sActing_nm = "반납/반환신청";
  1785. }
  1786. var rtn = sysf_messageBox(sActing_nm + " 하시겠습니까?", "Q");
  1787. if(rtn != "6") {
  1788. return;
  1789. }
  1790. var msg_val ="6";
  1791. if(sActing == "drug" || sActing == "spre" || sActing == "rtn") {
  1792. if(sActing == "drug") {
  1793. msg_val = sysf_messageBox("수행부서가 " + getUserInfo("dutplcenm") +"(으)로 불출신청됩니다", "I");
  1794. msg_val = "6";
  1795. } else {
  1796. msg_val = sysf_messageBox(getUserInfo("dutplcenm") +"(으)로 반환/잔량신청","Q003")
  1797. }
  1798. }
  1799. if(msg_val == 6) {
  1800. ds_send_srchinfo.clearData();
  1801. ds_send_userinfo.clearData();
  1802. ds_send_srchinfo.addRow();
  1803. ds_send_userinfo.addRow();
  1804. ds_send_srchinfo.setColumn(0, "narcflag", "M");
  1805. ds_send_srchinfo.setColumn(0, "timeflag", "2");
  1806. ds_send_srchinfo.setColumn(0, "fst_dd", ds_main_cond.getColumn(0, "indd"));
  1807. ds_send_srchinfo.setColumn(0, "last_dd", utlf_getCurrentDate);
  1808. ds_send_srchinfo.setColumn(0, "srchpid", ds_main_cond.getColumn(0, "pid"));
  1809. ds_send_srchinfo.setColumn(0, "wardcd", ds_main_cond.getColumn(0, "wardcd"));
  1810. ds_send_srchinfo.setColumn(0, "roomcd", ds_main_cond.getColumn(0, "roomcd"));
  1811. ds_send_srchinfo.setColumn(0, "barcode", "");
  1812. ds_send_srchinfo.setColumn(0, "drugkind", "I");
  1813. ds_send_srchinfo.setColumn(0, "srchioflag", "MI");
  1814. ds_send_srchinfo.setColumn(0, "narcstat", "I");
  1815. ds_send_srchinfo.setColumn(0, "cnclstat", "I");
  1816. ds_send_srchinfo.setColumn(0, "rtnstat", "I");
  1817. ds_send_srchinfo.setColumn(0, "drugdeptcd", sysf_getUserInfo("dutplcecd"));
  1818. ds_send_srchinfo.setColumn(0, "acting", sActing);
  1819. ds_send_userinfo.setColumn(0, "userid", sysf_getUserInfo("userid"));
  1820. ds_send_userinfo.setColumn(0, "userdeptcd", sysf_getUserInfo("dutplcecd"));
  1821. var oParam = {};
  1822. oParam.id = "TXADT30401";
  1823. oParam.service = "pharmacyprescriptionapp.Narcotics";
  1824. oParam.method = "reqExeNursNarcData";
  1825. oParam.inds = "req=ds_temp_narcprcpinfolist srch=ds_send_srchinfo user=ds_send_userinfo";
  1826. oParam.outds = "ds_grd_narclist=narclist";
  1827. oParam.async = false;
  1828. //oParam.callback = "cf_TXADT30401";
  1829. tranf_submit(oParam);
  1830. fSearch();
  1831. }
  1832. }
  1833. //강제acting
  1834. function group2_button1_onclick(obj:Button, e:ClickEventInfo)
  1835. {
  1836. var curdd = utlf_getCurrentDate();
  1837. ds_grd_actingchklist.filter("chk=='1' && (prcpdd >'"+curdd+"' || prcphopedd > '" + curdd +"')");
  1838. ds_temp_actingchklist2.copyData(ds_grd_actingchklist, true);
  1839. ds_grd_actingchklist.filter("");
  1840. ds_grd_actingchklist.filter("chk== '1'");
  1841. ds_temp_actingchklist.copyData(ds_grd_actingchklist, true);
  1842. ds_grd_actingchklist.filter("");
  1843. if(ds_temp_actingchklist2.rowcount > 0){
  1844. sysf_messageBox("미래일자 처방이 있습니다. Acting이 불가능합니다.", "E");
  1845. return;
  1846. }
  1847. if(ds_temp_actingchklist.rowcount == 0)
  1848. {
  1849. sysf_messageBox("처방이 선택되지 않았습니다.", "I");
  1850. return;
  1851. }
  1852. var calcscorcd;
  1853. var clscd;
  1854. var clscd1;
  1855. var prcpno
  1856. var prcpcd;
  1857. var prcpnm;
  1858. var statcd;
  1859. var chk;
  1860. for(var i = 0; i < ds_grd_actingchklist.rowcount; i++) {
  1861. calcscorcd = ds_grd_actingchklist.getColumn(i, "calcscorcd");
  1862. clscd = ds_grd_actingchklist.getColumn(i, "clscd");
  1863. clscd1 = ds_grd_actingchklist.getColumn(i, "clscd1");
  1864. prcpno = ds_grd_actingchklist.getColumn(i, "prcpno");
  1865. prcpcd = ds_grd_actingchklist.getColumn(i, "prcpcd");
  1866. prcpnm = ds_grd_actingchklist.getColumn(i, "prcpnm");
  1867. statcd = ds_grd_actingchklist.getColumn(i, "statcd");
  1868. chk = ds_grd_actingchklist.getColumn(i, "chk");
  1869. if(chk == "1") {
  1870. if(utlf_isNull(calcscorcd) || calcscorcd == "")
  1871. {
  1872. if(clscd == "B2" || clscd == "B6" || clscd == "D2")
  1873. {
  1874. if(statcd == "000" || statcd == "100") {
  1875. sysf_messageBox("바코드 발행 후에 강제 Acting이 가능합니다.", "I");
  1876. return;
  1877. }
  1878. else
  1879. {
  1880. ds_grd_actingchklist.setColumn(i, "status", "update");
  1881. ds_grd_actingchklist.setColumn(i, "actyn", "Y");
  1882. }
  1883. }
  1884. else if(clscd == "M2" || clscd == "H4" || clscd == "I2")
  1885. {
  1886. if(statcd == "000")
  1887. {
  1888. sysf_messageBox("간호 확인 후 강제 Acting하십시오.", "I");
  1889. return;
  1890. }
  1891. else
  1892. {
  1893. ds_grd_actingchklist.setColumn(i, "status", "update");
  1894. ds_grd_actingchklist.setColumn(i, "actyn", "Y");
  1895. }
  1896. }
  1897. else
  1898. {
  1899. sysf_messageBox("진검, 핵의학검체, 병리가 아닌 처방은 강제Acting할 수 없습니다. ", "E");
  1900. return;
  1901. }
  1902. }
  1903. else
  1904. {
  1905. ds_grd_actingchklist.setColumn(i, "status", "update");
  1906. ds_grd_actingchklist.setColumn(i, "actyn", "Y");
  1907. }
  1908. }
  1909. }
  1910. ds_send_savedata.setColumn(0, "deptflg", "A");
  1911. var updateData = grdf_getGridUpdateData(group2.grd_actingchklist);
  1912. ds_temp_actingchklist.copyData(updateData, true);
  1913. var oParam = {};
  1914. oParam.id = "TXMNW10701";
  1915. oParam.service = "wardorderapp.GnrlPrcpMngt";
  1916. oParam.method = "reqExeSetCareExipActing";
  1917. oParam.inds = "reqdept=ds_send_savedata req=ds_temp_actingchklist";
  1918. oParam.outds = "ds_dschyn=dschyn";
  1919. oParam.async = false;
  1920. //oParam.callback = "cf_TXMNW10701";
  1921. tranf_submit(oParam);
  1922. sysf_messageBox("강제 Acting이 완료되었습니다", "I");
  1923. fSearch();
  1924. }
  1925. //간호확인
  1926. function group2_button2_onclick(obj:Button, e:ClickEventInfo)
  1927. {
  1928. ds_grd_uncnfmlist.filter("chkyn=='1'");
  1929. //ds_temp_uncnfmlist.copyData(ds_grd_uncnfmlist, true);
  1930. var gdcount = ds_grd_uncnfmlist.rowcount;
  1931. ds_grd_uncnfmlist.filter("");
  1932. if(gdcount == 0){
  1933. sysf_messageBox("간호확인할 처방 내역이 존재하지 않습니다", "E");
  1934. return;
  1935. }
  1936. var chkyn = "";
  1937. for(var i = 0; i < ds_grd_uncnfmlist.rowcount; i++){
  1938. chkyn = ds_grd_uncnfmlist.getColumn(i, "chkyn");
  1939. if(chkyn == "1"){
  1940. grdf_setStatus(group2.grd_uncnfmlist,"U",i);
  1941. }
  1942. }
  1943. var userid = "";
  1944. if(ds_grd_uncnfmlist.findRow("chkyn", "1") != -1){
  1945. frmf_clearParameter("userid");
  1946. var monNo = sysf_getCurrentMonitorNumber();
  1947. frmf_modal("SPMNW12000","SPMNW12000",null,"",monNo,400,400,"","","","","","M");
  1948. userid = frmf_getParameter("userid");
  1949. var userdeptcd = frmf_getParameter("userdeptcd");
  1950. if( utlf_isNull(userid) ){
  1951. sysf_messageBox("처방확인을 취소하셨습니다.", "I");
  1952. return;
  1953. }
  1954. else{
  1955. for(var i = 0; i < ds_grd_uncnfmlist.rowcount; i++){
  1956. ds_grd_uncnfmlist.setColumn(i, "userid", userid);
  1957. }
  1958. }
  1959. }
  1960. else{
  1961. sysf_messageBox("간호확인할 처방을 선택하여 주십시오.", "E");
  1962. return;
  1963. }
  1964. var updateData = grdf_getGridUpdateData(group2.grd_uncnfmlist);
  1965. grdf_setStatusColumn(updateData, "status");
  1966. dsf_createDs("ds_send_saveprcpinfo");
  1967. ds_send_saveprcpinfo.copyData(updateData, true);
  1968. ds_send_savedata.setColumn(0, "pid", ds_main_cond.getColumn(0, "pid"));
  1969. ds_send_savedata.setColumn(0, "indd", ds_main_cond.getColumn(0, "indd"));
  1970. ds_send_savedata.setColumn(0, "cretno", ds_main_cond.getColumn(0, "cretno"));
  1971. ds_send_savedata.setColumn(0, "unitflag", "");
  1972. ds_send_savedata.setColumn(0, "actingchk", "N");
  1973. var oParam = {};
  1974. oParam.id = "TXMNW00301";
  1975. oParam.service = "wardorderapp.GnrlPrcpMngt";
  1976. oParam.method = "reqSetCarePrcpCnfm";
  1977. oParam.inds = "saveprcpinfo=ds_send_saveprcpinfo savemediinfo=ds_temp patinfo=ds_send_savedata";
  1978. oParam.outds = "ds_careinrmyn=careinrmyn";
  1979. oParam.async = false;
  1980. //oParam.callback = "cf_TXMNW00301";
  1981. tranf_submit(oParam);
  1982. fSearch();
  1983. }
  1984. //마감
  1985. function group2_button3_onclick(obj:Button, e:ClickEventInfo)
  1986. {
  1987. ds_grd_enddruglist.filter("chkyn=='1'");
  1988. ds_temp_enddruglist.copyData(ds_grd_enddruglist, true);
  1989. ds_grd_enddruglist.filter("");
  1990. if(ds_temp_enddruglist.rowcount == 0){
  1991. sysf_messageBox("마감할 내역이 존재하지 않습니다", "E");
  1992. return;
  1993. }
  1994. var rtn = sysf_messageBox("선택된 처방을 " +group2.rdo_duty.value + "근무로 마감하시겠습니까?", "Q");
  1995. if(rtn != 6) {
  1996. return;
  1997. }
  1998. var duty = group2.rdo_duty.value;
  1999. var chkyn;
  2000. var endListRow = 1;
  2001. var header = "prcpdd▦prcpno▦prcphistno▦execprcpno▦instcd▦execdd▦oiflag▦duty▦execdeptcd▩";
  2002. var data = "";
  2003. for(var i = 0; i < ds_grd_enddruglist.rowcount; i++) {
  2004. chkyn = ds_grd_enddruglist.getColumn(i, "chkyn");
  2005. if(chkyn == "1"){
  2006. data += utlf_transNullToEmpty(ds_grd_enddruglist.getColumn(i, "prcpdd")) + "▦"
  2007. + utlf_transNullToEmpty(ds_grd_enddruglist.getColumn(i, "prcpno")) + "▦"
  2008. + utlf_transNullToEmpty(ds_grd_enddruglist.getColumn(i, "prcphistno")) + "▦"
  2009. + utlf_transNullToEmpty(ds_grd_enddruglist.getColumn(i, "execprcpno")) + "▦"
  2010. + utlf_transNullToEmpty(ds_grd_enddruglist.getColumn(i, "instcd")) + "▦"
  2011. + utlf_getCurrentDate() + "▦"
  2012. + utlf_transNullToEmpty(ds_grd_enddruglist.getColumn(i, "oiflag")) + "▦"
  2013. + utlf_transNullToEmpty(ds_main_cond.getColumn(0, "duty")) + "▦"
  2014. + utlf_transNullToEmpty(ds_temp_cond.getColumn(0, "wardcd")) + "▩"
  2015. }
  2016. }
  2017. dsf_setCSVToDs("ds_send_savedata_enddruglist", header+data);
  2018. ds_send_savedata.setColumn(0, "endflag", "B12");
  2019. var oParam = {};
  2020. oParam.id = "TXMNW17201";
  2021. oParam.service = "wardendapp.WardEnd";
  2022. oParam.method = "reqExeActingEnd";
  2023. oParam.inds = "req=ds_send_savedata_enddruglist flag=ds_send_savedata";
  2024. //oParam.outds = "ds_=ret";
  2025. oParam.async = false;
  2026. //oParam.callback = "cf_TXMNW17201";
  2027. tranf_submit(oParam);
  2028. fSearch();
  2029. }
  2030. //투약기록
  2031. function group2_button4_onclick(obj:Button, e:ClickEventInfo)
  2032. {
  2033. sysf_setModelProperty("noactflag", "Y");
  2034. frmf_modal("SMMNR00600","SMMNR00600",null,"",1,1,1,"","","","","","M");
  2035. sysf_setModelProperty("noactflag", "");
  2036. fSearch();
  2037. }
  2038. //부서확인
  2039. function group2_button6_onclick(obj:Button, e:ClickEventInfo)
  2040. {
  2041. fNarcActing("acpt");
  2042. }
  2043. //반남/반환신청
  2044. function group2_button7_onclick(obj:Button, e:ClickEventInfo)
  2045. {
  2046. fNarcActing("rtn");
  2047. }
  2048. //불춘신청취소
  2049. function group2_btn_drugcncl_onclick(obj:Button, e:ClickEventInfo)
  2050. {
  2051. fNarcActing("drugcncl");
  2052. }
  2053. //불출신청
  2054. function group2_btn_drug_onclick(obj:Button, e:ClickEventInfo)
  2055. {
  2056. fNarcActing("drug");
  2057. }
  2058. //반환
  2059. function group2_button9_onclick(obj:Button, e:ClickEventInfo)
  2060. {
  2061. //ds_send_savedata.clearData();
  2062. var ordtype = "I" ; //환자진료형태(외래 O, 응급 E ,입원 I)
  2063. var deptcd = sysf_getUserInfo("dutplcecd"); //부서코드
  2064. var deptnm = sysf_getUserInfo("dutplcenm"); //부서명
  2065. var indd = ds_main_cond.getColumn(0, "indd");
  2066. var orddd = "-"; //진료일자
  2067. var prcphistno = ""; //처방이력번호
  2068. var prcpno = ""; //처방번호
  2069. var ordindd = indd;
  2070. ds_send_PrcpInfoData.clearData();
  2071. var pid = ds_main_cond.getColumn(0, "pid");
  2072. var cretno = ds_main_cond.getColumn(0, "cretno");
  2073. var wardcd = ds_main_cond.getColumn(0, "wardcd");
  2074. var roomcd = ds_main_cond.getColumn(0, "roomcd");
  2075. var hngnm = ds_main_cond.getColumn(0, "hngnm");
  2076. var orddrid = ds_main_cond.getColumn(0, "medispclid");
  2077. var orddeptcd = ds_main_cond.getColumn(0, "orddeptcd");
  2078. ds_send_FlagInfoData.setColumn(0, "savedataflag", '2');
  2079. ds_send_FlagInfoData.setColumn(0, "saveflag", ordtype);
  2080. ds_send_FlagInfoData.setColumn(0, "prcpflag", '1');
  2081. ds_send_FlagInfoData.setColumn(0, "inptflag", '01');
  2082. ds_send_FlagInfoData.setColumn(0, "pamflag", 'Y');
  2083. ds_send_FlagInfoData.setColumn(0, "diagflag", 'N');
  2084. ds_send_FlagInfoData.setColumn(0, "prcperrflag", 'Y');
  2085. ds_send_FlagInfoData.setColumn(0, "deptcd", deptcd);
  2086. ds_send_FlagInfoData.setColumn(0, "deptnm", deptnm);
  2087. ds_send_FlagInfoData.setColumn(0, "userid", sysf_getUserId());
  2088. ds_send_FlagInfoData.setColumn(0, "usernm", sysf_getUserName());
  2089. ds_send_FlagInfoData.setColumn(0, "signyn", 'N');
  2090. ds_send_FlagInfoData.setColumn(0, "xrwid", 'SPMNW17200');
  2091. ds_send_RgstInfoData.setColumn(0, "pid", pid);
  2092. ds_send_RgstInfoData.setColumn(0, "orddd", orddd);
  2093. ds_send_RgstInfoData.setColumn(0, "indd", indd);
  2094. ds_send_RgstInfoData.setColumn(0, "cretno", cretno);
  2095. ds_send_RgstInfoData.setColumn(0, "orddeptcd", orddeptcd);
  2096. ds_send_RgstInfoData.setColumn(0, "orddrid", orddrid);
  2097. ds_send_RgstInfoData.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  2098. ds_send_RgstInfoData.setColumn(0, "admininfo", "NNNNNNNNNNNNNNNNNNNN");
  2099. var chk;
  2100. var clscd;
  2101. var statcd;
  2102. var prcpdd;
  2103. var prcpno;
  2104. var prcpcd;
  2105. var prcphistno;
  2106. var prcpnm;
  2107. var instcd;
  2108. var execprcpstatcd;
  2109. var rsrvdt;
  2110. var execprcpuniqno;
  2111. var dutflag;
  2112. var enddd;
  2113. var execprcpno;
  2114. var cvrtbfprcpgenrflag;
  2115. var bfprcpdd =""
  2116. var bfprcpno = "";
  2117. var bfprcphistno = "";
  2118. var bfinstcd = "";
  2119. for(var i = 0; i < ds_grd_actingchklist.rowcount; i++) {
  2120. chk = ds_grd_actingchklist.getColumn(i, "chk");
  2121. clscd = ds_grd_actingchklist.getColumn(i,"clscd");
  2122. statcd = ds_grd_actingchklist.getColumn(i,"statcd");
  2123. prcpdd = ds_grd_actingchklist.getColumn(i,"prcpdd");
  2124. prcpno = ds_grd_actingchklist.getColumn(i,"prcpno");
  2125. prcpcd = ds_grd_actingchklist.getColumn(i,"prcpcd");
  2126. prcphistno = ds_grd_actingchklist.getColumn(i,"prcphistno");
  2127. prcpnm = ds_grd_actingchklist.getColumn(i,"prcpnm");
  2128. instcd = ds_grd_actingchklist.getColumn(i,"instcd");
  2129. execprcpstatcd = ds_grd_actingchklist.getColumn(i,"execprcpstatcd");
  2130. rsrvdt = ds_grd_actingchklist.getColumn(i,"rsrvdt");
  2131. execprcpuniqno = ds_grd_actingchklist.getColumn(i,"execprcpuniqno");
  2132. dutflag = ds_grd_actingchklist.getColumn(i,"dutflag");
  2133. enddd = ds_grd_actingchklist.getColumn(i,"enddd");
  2134. execprcpno = ds_grd_actingchklist.getColumn(i,"execprcpno");
  2135. cvrtbfprcpgenrflag = ds_grd_actingchklist.getColumn(i,"cvrtbfprcpgenrflag");
  2136. if(chk == "1") {
  2137. if(clscd == "B2" || clscd == "B6" || clscd =="C4" || clscd=="D2") {
  2138. if( (cvrtbfprcpgenrflag=='-' && Number(statcd)>100) || (cvrtbfprcpgenrflag!='-' && Number(statcd)>230) ){
  2139. sysf_messageBox("처방 " + prcpcd + "는 " + execprcpstatcd+" 상태라 반환 할 수 없습니다.", "E");
  2140. return;
  2141. } else {
  2142. if(rsrvdt == "Y") {
  2143. sysf_messageBox("예약된 처방 " + prcpcd + "는 반환 할 수 없습니다.");
  2144. return;
  2145. }
  2146. }
  2147. } else if(clscd == "C2" || clscd == "C6" || clscd == "E2" || clscd == "F2" || clscd=="G2") {
  2148. if( (cvrtbfprcpgenrflag=='-' && Number(statcd)>100) || (cvrtbfprcpgenrflag!='-' && Number(statcd)>230) ){
  2149. sysf_messageBox("처방 " + prcpcd + "는 " + execprcpstatcd+" 상태라 반환 할 수 없습니다.", "E");
  2150. return;
  2151. }
  2152. }
  2153. if((enddd.substr(0,8) != '99991231') && (enddd != '')){
  2154. ds_endinfo_result.setColumn(0, "prcpdd", prcpdd)
  2155. ds_endinfo_result.setColumn(0, "prcpno", prcpno);
  2156. ds_endinfo_result.setColumn(0, "prcphistno", prcphistno);
  2157. ds_endinfo_result.setColumn(0, "execprcpno", execprcpno);
  2158. ds_endinfo_result.setColumn(0, "instcd", instcd);
  2159. ds_endinfo_result.setColumn(0, "ioflag", "I");
  2160. ds_endinfo_result.setColumn(0, "userid", sysf_getUserId());
  2161. ds_endinfo_result.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  2162. }
  2163. if((bfprcpdd != prcpdd) || (bfprcpno != prcpno) || (bfprcphistno != prcphistno) || (bfinstcd != instcd)) {
  2164. ds_send_PrcpInfoData.addRow();
  2165. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "status", "C");
  2166. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "rowno", i);
  2167. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpdd", prcpdd);
  2168. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpno", prcpno);
  2169. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcphistno", prcphistno);
  2170. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "instcd", instcd);
  2171. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "pid", pid);
  2172. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "orddd", indd);
  2173. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "cretno", cretno);
  2174. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "orddeptcd", orddeptcd);
  2175. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "orddrid", orddrid);
  2176. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpgenrflag", "I");
  2177. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpstatcd", statcd);
  2178. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpkindcd", "20");
  2179. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpcd", "");
  2180. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "calcscorcd", "");
  2181. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "inclprcpcd", "-");
  2182. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "inclprcpno", "0");
  2183. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpexecdeptcd", "-");
  2184. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcphopedd", "");
  2185. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpqty", "");
  2186. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpqtyunitflag", "-");
  2187. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcptims", "1");
  2188. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpdayno", "1");
  2189. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "payflagcd", "");
  2190. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "erprcpflag", "N");
  2191. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "precureprcpflag", "N");
  2192. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "nigtprcpflag", "N");
  2193. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "portprcpflag", "N");
  2194. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "fixprcpflag", "N");
  2195. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "choiordflag", "N");
  2196. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "anamneflag", "N");
  2197. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpdirecflag", "-");
  2198. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "angioflagcd", "-");
  2199. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "opansflagcd", "-");
  2200. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "ansttm", "0000");
  2201. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "offictourhealexamflag", "N");
  2202. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "stemcellflag", "00NNN");
  2203. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "hosinhosoutflag", "-");
  2204. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "hosinprcpresncd", "00");
  2205. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "issdeptcd", deptcd);
  2206. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpauthflag", "1");
  2207. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpinptflag", "09");
  2208. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpsignflag", "1");
  2209. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "oprsrvno", "-");
  2210. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "clincstdyflag", "N");
  2211. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "clincstdycd", "-");
  2212. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "drugmthdspccd", "-");
  2213. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpdelivefact", "");
  2214. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "tootfact", "-");
  2215. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "matrsetprcpspec", "-");
  2216. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "calcflag", "N");
  2217. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "rsrvflag", "N");
  2218. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "rsrvdd", "00000000");
  2219. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "rsrvtm", "000000");
  2220. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "rsrvrid", "-");
  2221. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "execdd", "00000000");
  2222. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "exectm", "000000");
  2223. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "execrid", "");
  2224. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "direcprcplnkdd", "00000000");
  2225. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "direcprcplnkno", '0');
  2226. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "ordreqlnkno", '0');
  2227. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "testreqlnkno", '0');
  2228. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "aftcertflag", "Y");
  2229. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "aftcertdrid", "-");
  2230. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "dcflag", "Y");
  2231. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "execprcpuniqno", execprcpuniqno);
  2232. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "rsrvflag", rsrvdt);
  2233. ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpclscd", clscd);
  2234. bfprcpdd = prcpdd;
  2235. bfprcpno = prcpno;
  2236. bfprcphistno = prcphistno;
  2237. bfinstcd = instcd;
  2238. }
  2239. }
  2240. }
  2241. if ( utlf_isNull(ds_send_PrcpInfoData.getColumn(0, "status")) ) {
  2242. sysf_messageBox("반납할 처방내역이", "I004");
  2243. return;
  2244. }
  2245. if(ds_endinfo_result.rowcount > 0){
  2246. var objArg = new Object();
  2247. objArg.arg_ds_endinfo_result_list = ds_endinfo_result;
  2248. frmf_modal("SPPAS03000", "SPPAS03000", objArg, null, null, null, null, null, null, null, null, null, "M");
  2249. }
  2250. var rtn = sysf_messageBox("반환하시겠습니까?", "Q");
  2251. if(rtn == "6"){
  2252. ds_result_prcperrlist.clearData();
  2253. var oParam = {};
  2254. oParam.id = "TXMNW00305";
  2255. oParam.service = "wardorderapp.GnrlPrcpMngt";
  2256. oParam.method = "reqRtnPRNPrcp";
  2257. oParam.inds = "req_flaginfo=ds_send_FlagInfoData req_rgstinfo=ds_send_RgstInfoData req_prcpinfo=ds_send_PrcpInfoData req_signinfo=ds_send_SignInfoData savemediinfo=ds_endinfo_result";
  2258. oParam.outds = "ds_result_prcperrlist=prcperrlist";
  2259. oParam.async = false;
  2260. oParam.callback = "cf_TXMNW00305";
  2261. tranf_submit(oParam);
  2262. if(arErrorCode.pop("TXMNW00305") > -1){
  2263. if(ds_result_prcperrlist.rowcount > 0){
  2264. var prcpcd = ds_result_prcperrlist.getColumn(0, "prcpcd");
  2265. if(!utlf_isNull(prcpcd)){
  2266. var mon = sysf_getCurrentMonitorNumber();
  2267. var xpt = this.getOwnerFrame().position.x + 100;
  2268. var ypt = this.getOwnerFrame().position.y + 50;
  2269. var objArg = new Object();
  2270. objArg.arg_ds_result_prcperrlist = ds_result_prcperrlist;
  2271. frmf_open("SPMMO00600", "SPMMO00600", objArg, false, mon, xpt, ypt, null, null, null, null, null, "M"); //오류팝업
  2272. //ds_result_prcperrlist.clearData();
  2273. }
  2274. }else{
  2275. sysf_messageBox("처방이 반환 되었습니다.", "I");
  2276. fSearch();
  2277. }
  2278. }
  2279. }
  2280. }
  2281. function group2_button10_onclick(obj:Button, e:ClickEventInfo)
  2282. {
  2283. var updtdata = grdf_getGridUpdateData(group2.grd_execddchklist);
  2284. if(updtdata.rowcount == 0){
  2285. sysf_messageBox("변경된 내역이 존재하지 않습니다.", "E");
  2286. return;
  2287. }
  2288. var oParam = {};
  2289. oParam.id = "TXMNW17203";
  2290. oParam.service = "wardcareapp.WardCareMngt";
  2291. oParam.method = "reqExeChgActingInfo";
  2292. oParam.inds = "req=ds_grd_execddchklist:U";
  2293. oParam.outds = "";
  2294. oParam.async = false;
  2295. //oParam.callback = "cf_TXMNW17203";
  2296. tranf_submit(oParam);
  2297. fSearch();
  2298. }
  2299. function group2_grd_execddchklist_oncellclick(obj:Grid, e:GridClickEventInfo)
  2300. {
  2301. if (obj.currentcol == obj.getBindCellIndex("body","execdd")){
  2302. var iRow = obj.currentrow;
  2303. ds_grd_execddchklist.setColumn(iRow, "execdd", utlf_getCurrentDate());
  2304. ds_grd_execddchklist.setColumn(iRow, "exectm", utlf_getCurrentTime().substr(0,4));
  2305. }
  2306. var chkyn;
  2307. var prcpdd;
  2308. var prcpno;
  2309. if (obj.currentcol == obj.getBindCellIndex("body","chkyn")){
  2310. var iRow = obj.currentrow;
  2311. prcpdd = ds_grd_execddchklist.getColumn(iRow, "prcpdd");
  2312. prcpno = ds_grd_execddchklist.getColumn(iRow, "prcpno");
  2313. chkyn = ds_grd_execddchklist.getColumn(iRow, "chkyn");
  2314. var prcpdd2;
  2315. var prcpno2;
  2316. for(var i = 0; i < ds_grd_execddchklist.rowcount; i++){
  2317. if(i == iRow){
  2318. continue;
  2319. }
  2320. prcpdd2 = ds_grd_execddchklist.getColumn(i, "prcpdd");
  2321. prcpno2 = ds_grd_execddchklist.getColumn(i, "prcpno");
  2322. if(prcpdd == prcpdd2 && prcpno == prcpno2){
  2323. chkyn = ds_grd_execddchklist.getColumn(i, "chkyn");
  2324. }
  2325. }
  2326. }
  2327. }
  2328. function group2_btn_homecare_onclick(obj:Button, e:ClickEventInfo)
  2329. {
  2330. frmf_modal("SMMNF04300","SMMNF04300",null,"","","","","","","","","","M")
  2331. }
  2332. function group2_button8_onclick(obj:Button, e:ClickEventInfo)
  2333. {
  2334. var SMMNR010_Param = "OPRC2";
  2335. frmf_setParameter("SMMNR010_Param", SMMNR010_Param);
  2336. frmf_setParameter("SMMNR010_Param2", ds_main_cond.getColumn(0, "indd"));
  2337. if(ds_main_cond.getColumn(0, "indd") != ""){
  2338. frmf_modal("SMMNR01000","SMMNR01000",null,"","","","","","","","","","M");
  2339. fSearch();
  2340. }else{
  2341. sysf_messageBox("환자를", "C002");
  2342. return;
  2343. }
  2344. }
  2345. function group2_btn_req_onclick(obj:Button, e:ClickEventInfo)
  2346. {
  2347. ds_grd_execddchklist.filter("chkyn =='Y'");
  2348. ds_temp_execddchklist.copyData(ds_grd_execddchklist, true);
  2349. ds_grd_execddchklist.filter("");
  2350. if(ds_temp_execddchklist.rowcount == 0){
  2351. sysf_messageBox("선택된 처방이 없습니다.", "E");
  2352. return;
  2353. }
  2354. group2.group3.visible = true;
  2355. }
  2356. function group2_btn_cert_onclick(obj:Button, e:ClickEventInfo)
  2357. {
  2358. var chkcnt = 0;
  2359. var dccnt = 0;
  2360. var chkyn = "";
  2361. var dcyn = "";
  2362. var reqflag = "";
  2363. for(var i = 0; i < ds_grd_execddchklist.rowcount; i++){
  2364. chkyn = ds_grd_execddchklist.getColumn(i, "chkyn");
  2365. dcyn = ds_grd_execddchklist.getColumn(i, "dcyn");
  2366. reqflag = ds_grd_execddchklist.getColumn(i, "reqflag");
  2367. if(chkyn == "1"){
  2368. if(dcyn == "N" || dcyn == ""){
  2369. sysf_messageBox("D/C난 처방만 처방복구승인이 가능합니다.", "E");
  2370. return;
  2371. }else{
  2372. chkcnt ++;
  2373. ds_grd_execddchklist.setColumn(i, "reqflag", "2");
  2374. }
  2375. if(reqflag == ""){
  2376. sysf_messageBox("처방 복구신청 되지 않은 처방은 승인할 수 없습니다.", "E");
  2377. return;
  2378. } else if(reqflag == "2") {
  2379. sysf_messageBox("이미 복구된 처방입니다.", "E");
  2380. return;
  2381. }
  2382. }
  2383. }
  2384. if(chkcnt > 0){
  2385. var rtn = sysf_messageBox("승인하시겠습니까?", "Q");
  2386. if(rtn == "6"){
  2387. ds_send_warddruglist.copyData(ds_grd_execddchklist);
  2388. ds_send_saveinfo.setColumn(0, "chngflag", "N");
  2389. var oParam = {};
  2390. oParam.id = "TXMNR00601";
  2391. oParam.service = "caremedirecapp.CareMediRec";
  2392. oParam.method = "reqExeRollBackPrcpInfo";
  2393. oParam.inds = "warddruglist=ds_send_warddruglist req=ds_send_saveinfo";
  2394. oParam.outds = "";
  2395. oParam.async = false;
  2396. //oParam.callback = "cf_TXMNR00601";
  2397. tranf_submit(oParam);
  2398. fSearch();
  2399. }
  2400. }
  2401. else{
  2402. sysf_messageBox("복구승인할 처방이 존재하지 않습니다.","E");
  2403. return;
  2404. }
  2405. }
  2406. function group2_group3_button11_onclick(obj:Button, e:ClickEventInfo)
  2407. {
  2408. var chkcnt = 0;
  2409. var dccnt = 0;
  2410. var chkyn = "";
  2411. var dcyn = "";
  2412. var reqflag = "";
  2413. for(var i = 0; ds_grd_execddchklist.rowcount; i++){
  2414. chkyn = ds_grd_execddchklist.getColumn(i, "chkyn");
  2415. dcyn = ds_grd_execddchklist.getColumn(i, "dcyn");
  2416. reqflag = ds_grd_execddchklist.getColumn(i, "reqflag");
  2417. if(chkyn == "1"){
  2418. if(dcyn == "N" || dcyn == ""){
  2419. sysf_messageBox("D/C난 처방만 처방복구신청이 가능합니다.", "E");
  2420. return;
  2421. }else{
  2422. chkcnt ++;
  2423. ds_grd_execddchklist.setColumn(i, "reqflag", "1");
  2424. ds_grd_execddchklist.setColumn(i, "resncd", group2.group3.cmb_resncd.value);
  2425. ds_grd_execddchklist.setColumn(i, "resnetc", group2.group3.tar_resnetc.value);
  2426. }
  2427. }
  2428. if(reqflag == "1"){
  2429. sysf_messageBox("이미 복구신청된 처방입니다", "E");
  2430. return;
  2431. } else if(reqflag == "2") {
  2432. sysf_messageBox("이미 복구승인된 처방입니다", "E");
  2433. return;
  2434. }
  2435. }
  2436. if(chkcnt > 0){
  2437. var rtn = sysf_messageBox("처방복구 신청을 하시겠습니까?", "Q");
  2438. if(rtn == "6"){
  2439. ds_send_warddruglist.copyData(ds_grd_execddchklist);
  2440. ds_send_saveinfo.setColumn(0, "chngflag", "Y");
  2441. ds_send_saveinfo.setColumn(0, "flag", "");
  2442. var oParam = {};
  2443. oParam.id = "TXMNR00601";
  2444. oParam.service = "caremedirecapp.CareMediRec";
  2445. oParam.method = "reqExeRollBackPrcpInfo";
  2446. oParam.inds = "warddruglist=ds_send_warddruglist req=ds_send_saveinfo";
  2447. oParam.outds = "";
  2448. oParam.async = false;
  2449. //oParam.callback = "cf_TXMNR00601";
  2450. tranf_submit(oParam);
  2451. }
  2452. }else{
  2453. sysf_messageBox("복구신청할 처방이 존재하지 않습니다.","E");
  2454. return;
  2455. }
  2456. }
  2457. function group2_group3_button12_onclick(obj:Button, e:ClickEventInfo)
  2458. {
  2459. group2.group3.visible = false;
  2460. }
  2461. function group2_btn_barcd_onclick(obj:Button, e:ClickEventInfo)
  2462. {
  2463. frmf_open("SMLLC00200","SMLLC00200","", 1, 50, 50,"","", "", "", "", "", "M");
  2464. }
  2465. function group2_btn_mon_onclick(obj:Button, e:ClickEventInfo)
  2466. {
  2467. frmf_setParameter("PARAM1", "Y");
  2468. frmf_open("SMMNW10960","SMMNW10960","", 1, 50, 50,"","", "", "", "", "", "M");
  2469. }
  2470. function group2_button13_onclick(obj:Button, e:ClickEventInfo)
  2471. {
  2472. frmf_open("SMADT30400","SMADT30400","", 1, 50, 50,"","", "", "", "", "", "M");
  2473. }
  2474. ]]></Script>
  2475. </Form>
  2476. </FDL>