SMADT12003_통합마약불출점검.xfdl 72 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMADT12003" classname="SMADT12000_통합마약조회" inheritanceid="" position="absolute 0 0 1197 888" titletext="New Form" oninit="SMADT12003_oninit" onload="SMADT12003_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text=" 통합 마약 불출,반환,잔량 현황" class="tit_1" position="absolute 3 1 256 26" onclick="caption6_onclick"/>
  8. <Static id="caption00" text="처방정보" class="tit_2" position="absolute 7 32 89 53"/>
  9. <Static id="caption01" text="마약 현황" class="tit_2" position="absolute 7 375 145 396"/>
  10. <Shape id="line01" class="line_1" position="absolute 5 364 1181 370"/>
  11. <Grid id="grd_narclist00" class="grd_orderlist" taborder="21" binddataset="ds_adnmstoclist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 610 325 744 392" visible="false">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="77" band="left"/>
  16. <Column size="67" band="left"/>
  17. <Column size="123" band="left"/>
  18. <Column size="34" band="left"/>
  19. <Column size="24" band="left"/>
  20. <Column size="70" band="left"/>
  21. <Column size="109"/>
  22. <Column size="69"/>
  23. <Column size="28"/>
  24. <Column size="13"/>
  25. <Column size="36"/>
  26. <Column size="29"/>
  27. <Column size="35"/>
  28. <Column size="31"/>
  29. <Column size="40"/>
  30. <Column size="28"/>
  31. <Column size="40"/>
  32. <Column size="29"/>
  33. <Column size="54"/>
  34. <Column size="32"/>
  35. <Column size="69"/>
  36. <Column size="28"/>
  37. <Column size="29"/>
  38. <Column size="32"/>
  39. <Column size="35"/>
  40. <Column size="8"/>
  41. <Column size="70"/>
  42. <Column size="8"/>
  43. <Column size="70"/>
  44. <Column size="8"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="70"/>
  48. <Column size="9"/>
  49. <Column size="70"/>
  50. <Column size="9"/>
  51. <Column size="70"/>
  52. <Column size="9"/>
  53. <Column size="70"/>
  54. <Column size="0"/>
  55. <Column size="0"/>
  56. <Column size="7"/>
  57. <Column size="70"/>
  58. <Column size="100"/>
  59. <Column size="7"/>
  60. <Column size="85"/>
  61. <Column size="7"/>
  62. <Column size="85"/>
  63. <Column size="0"/>
  64. <Column size="0"/>
  65. <Column size="0"/>
  66. <Column size="0"/>
  67. <Column size="0"/>
  68. <Column size="0"/>
  69. <Column size="0"/>
  70. <Column size="0"/>
  71. <Column size="0"/>
  72. <Column size="0"/>
  73. <Column size="0"/>
  74. <Column size="0"/>
  75. <Column size="0"/>
  76. <Column size="0"/>
  77. <Column size="0"/>
  78. <Column size="0"/>
  79. <Column size="0"/>
  80. <Column size="0"/>
  81. <Column size="0"/>
  82. <Column size="40"/>
  83. </Columns>
  84. <Rows>
  85. <Row size="30" band="head"/>
  86. <Row size="22"/>
  87. </Rows>
  88. <Band id="head">
  89. <Cell text="처방&#10;코드" wordwrap="char"/>
  90. <Cell col="1" text="입고구분" wordwrap="char"/>
  91. <Cell col="2" text="제품번호" wordwrap="char"/>
  92. <Cell col="3" colspan="2" taborder="undefined">
  93. <Cell/>
  94. <Cell col="1"/>
  95. </Cell>
  96. <Cell col="5" text="유효기간" wordwrap="char"/>
  97. <Cell col="6" text="제조번호" wordwrap="char"/>
  98. <Cell col="7" text="일련번호" wordwrap="char"/>
  99. <Cell col="8" colspan="2" text="seq" wordwrap="char" taborder="undefined"/>
  100. <Cell col="10" colspan="2" text="바코드_RFID" wordwrap="char" taborder="undefined"/>
  101. <Cell col="12" colspan="2" text="저장소_NO" wordwrap="char" taborder="undefined"/>
  102. <Cell col="14" colspan="2" text="유통수량" wordwrap="char" taborder="undefined"/>
  103. <Cell col="16" colspan="2" text="낱개수량" wordwrap="char" taborder="undefined"/>
  104. <Cell col="18" text="입고수량" wordwrap="char"/>
  105. <Cell col="19" colspan="2" text="입고일자" wordwrap="char" taborder="undefined"/>
  106. <Cell col="21" colspan="2" text="반환횟수" wordwrap="char" taborder="undefined"/>
  107. <Cell col="23" colspan="2" text="반환수량" wordwrap="char" taborder="undefined"/>
  108. <Cell col="25" style="align:left;padding:0 0 0 8;" text="불출신청일자" wordwrap="char"/>
  109. <Cell col="26" text="불출&#10;신청자" wordwrap="char"/>
  110. <Cell col="27" style="align:left;padding:0 0 0 8;" text="조제일시" wordwrap="char"/>
  111. <Cell col="28" text="조제&#10;약사" wordwrap="char"/>
  112. <Cell col="29" style="align:left;padding:0 0 0 8;" text="투약일시" wordwrap="char"/>
  113. <Cell col="30" text="투약&#10;약사" wordwrap="char"/>
  114. <Cell col="31" text="수령일시" wordwrap="char"/>
  115. <Cell col="32" text="수령&#10;담당자" wordwrap="char"/>
  116. <Cell col="33" style="align:left;padding:0 0 0 8;" text="병동수령일시" wordwrap="char"/>
  117. <Cell col="34" text="부서확인&#10;간호사" wordwrap="char"/>
  118. <Cell col="35" style="align:left;padding:0 0 0 8;" text="간호투약일시" wordwrap="char"/>
  119. <Cell col="36" text="간호투약&#10;간호사" wordwrap="char"/>
  120. <Cell col="37" style="align:left;padding:0 0 0 8;" text="반환신청일시" wordwrap="char"/>
  121. <Cell col="38" text="반환신청&#10;간호사" wordwrap="char"/>
  122. <Cell col="39" text="반환일시" wordwrap="char"/>
  123. <Cell col="40" text="반환&#10;담당자" wordwrap="char"/>
  124. <Cell col="41" style="align:left;padding:0 0 0 8;" text="반환확인일시" wordwrap="char"/>
  125. <Cell col="42" text="반환확인&#10;약사" wordwrap="char"/>
  126. <Cell col="43" text="반환사유" wordwrap="char"/>
  127. <Cell col="44" style="align:left;padding:0 0 0 8;" text="잔량반납&#10;신청일시" wordwrap="char"/>
  128. <Cell col="45" text="잔량반납신청&#10;간호사" wordwrap="char"/>
  129. <Cell col="46" style="align:left;padding:0 0 0 8;" text="잔량반납&#10;확인일시" wordwrap="char"/>
  130. <Cell col="47" text="잔량반납확인&#10;약사" wordwrap="char"/>
  131. <Cell col="48" text="prcpno"/>
  132. <Cell col="49" text="prcphistno"/>
  133. <Cell col="50" text="drugdd"/>
  134. <Cell col="51" text="drugno"/>
  135. <Cell col="52" text="ioflag"/>
  136. <Cell col="53" text="instcd"/>
  137. <Cell col="54" text="narcflag"/>
  138. <Cell col="55" text="prntflag"/>
  139. <Cell col="56" text="orddd"/>
  140. <Cell col="57" text="orddeptcd"/>
  141. <Cell col="58" text="prcpgenrflag"/>
  142. <Cell col="59" text="prntdt"/>
  143. <Cell col="60" text="caption1"/>
  144. <Cell col="61" text="반납반환&#10;표시여부"/>
  145. <Cell col="62" text="투약기록&#10;완료여부"/>
  146. <Cell col="63" text="간호&#10;실시횟수"/>
  147. <Cell col="64" text="간호&#10;반환횟수"/>
  148. <Cell col="65" text="투약x반환불가&#10;횟수"/>
  149. <Cell col="66"/>
  150. <Cell col="67"/>
  151. </Band>
  152. <Band id="body">
  153. <Cell style="align:center top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
  154. <Cell col="1" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:infg" wordwrap="char" mask="expr:utlf_isNull(prcpdd) || prcpdd=='-' ? '' : '####/##/##'" autosizerow="limitmin"/>
  155. <Cell col="2" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
  156. <Cell col="3" text="bind:seq"/>
  157. <Cell col="4" text="bind:histno"/>
  158. <Cell col="5" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
  159. <Cell col="6" displaytype="text" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
  160. <Cell col="7" displaytype="text" style="align:left top;padding:4 2 1 2;background2:#f0f0f0ff;" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
  161. <Cell col="8" colspan="2" style="background2:#f0f0f0ff;" text="bind:seq" taborder="undefined">
  162. <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
  163. <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
  164. </Cell>
  165. <Cell col="10" colspan="2" style="background2:#f0f0f0ff;" text="bind:prd_sgtin" taborder="undefined">
  166. <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:dayprcpqty"/>
  167. <Cell col="1" style="background2:#f0f0f0ff;" text="bind:dayprcpqtyunit"/>
  168. </Cell>
  169. <Cell col="12" colspan="2" style="background2:#f0f0f0ff;" text="bind:storge_no" taborder="undefined">
  170. <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prcpqty2"/>
  171. <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit2"/>
  172. </Cell>
  173. <Cell col="14" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_min_distb_qy"/>
  174. <Cell col="15" style="background2:#f0f0f0ff;" text="bind:prd_min_distb_unit"/>
  175. <Cell col="16" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_tot_pce_qy"/>
  176. <Cell col="17" style="background2:#f0f0f0ff;" text="bind:prd_pce_unit"/>
  177. <Cell col="18" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:in_pce_qy"/>
  178. <Cell col="19" colspan="2" style="background2:#f0f0f0ff;" text="bind:indd" taborder="undefined">
  179. <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:spreqty"/>
  180. <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpvolunit"/>
  181. </Cell>
  182. <Cell col="21" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:rtnqty" mask="99999999999"/>
  183. <Cell col="22" style="background2:#f0f0f0ff;" text="bind:rtnunit"/>
  184. <Cell col="23" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:returnqty"/>
  185. <Cell col="24" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
  186. <Cell col="25" style="background2:#f0f0f0ff;" text="bind:reqdt" mask="expr:utlf_isNull(reqdt) || reqdt=='-' ? '' : '####/##/## ##:##'"/>
  187. <Cell col="26" style="background2:#f0f0f0ff;" text="bind:reqidnm"/>
  188. <Cell col="27" style="background2:#f0f0f0ff;" text="bind:prcpdt" mask="expr:utlf_isNull(prcpdt) || prcpdt=='-' ? '' : '####/##/## ##:##'"/>
  189. <Cell col="28" style="background2:#f0f0f0ff;" text="bind:prcpidnm"/>
  190. <Cell col="29" style="background2:#f0f0f0ff;" text="bind:drugdt" mask="expr:utlf_isNull(drugdt) || drugdt=='-' ? '' : '####/##/## ##:##'"/>
  191. <Cell col="30" style="background2:#f0f0f0ff;" text="bind:drugidnm"/>
  192. <Cell col="31" style="background2:#f0f0f0ff;" text="bind:delivedt" mask="expr:utlf_isNull(delivedt) || delivedt=='-' ? '' : '####/##/##'"/>
  193. <Cell col="32" style="background2:#f0f0f0ff;" text="bind:deliveidnm"/>
  194. <Cell col="33" style="background2:#f0f0f0ff;" text="bind:acptdt" mask="expr:utlf_isNull(acptdt) || acptdt=='-' ? '' : '####/##/## ##:##'"/>
  195. <Cell col="34" style="background2:#f0f0f0ff;" text="bind:acptidnm"/>
  196. <Cell col="35" style="background2:#f0f0f0ff;" text="bind:nrexecdt" mask="expr:utlf_isNull(nrexecdt) || nrexecdt=='-' ? '' : '####/##/## ##:##'"/>
  197. <Cell col="36" style="background2:#f0f0f0ff;" text="bind:nrexecridnm"/>
  198. <Cell col="37" style="background2:#f0f0f0ff;" text="bind:rtnappdt" mask="expr:utlf_isNull(rtnappdt) || rtnappdt=='-' ? '' : '####/##/## ##:##'"/>
  199. <Cell col="38" style="background2:#f0f0f0ff;" text="bind:rtnappidnm"/>
  200. <Cell col="39" style="background2:#f0f0f0ff;" text="bind:rtndt" mask="expr:utlf_isNull(rtndt) || rtndt=='-' ? '' : '####/##/##''"/>
  201. <Cell col="40" style="background2:#f0f0f0ff;" text="bind:rtnidnm"/>
  202. <Cell col="41" style="background2:#f0f0f0ff;" text="bind:rtncnfmdt" mask="expr:utlf_isNull(rtncnfmdt) || rtncnfmdt=='-' ? '' : '####/##/## ##:##'"/>
  203. <Cell col="42" style="background2:#f0f0f0ff;" text="bind:rtncnfmidnm"/>
  204. <Cell col="43" displaytype="text" style="background2:#f0f0f0ff;" text="bind:rtnresn"/>
  205. <Cell col="44" style="background2:#f0f0f0ff;" text="bind:spredt" mask="expr:utlf_isNull(spredt) || spredt=='-' ? '' : '####/##/## ##:##'"/>
  206. <Cell col="45" style="background2:#f0f0f0ff;" text="bind:spreidnm"/>
  207. <Cell col="46" style="background2:#f0f0f0ff;" text="bind:sprecnfmdt" mask="expr:utlf_isNull(sprecnfmdt) || sprecnfmdt=='-' ? '' : '####/##/## ##:##'"/>
  208. <Cell col="47" style="background2:#f0f0f0ff;" text="bind:sprecnfmidnm"/>
  209. <Cell col="48" text="bind:prcpno"/>
  210. <Cell col="49" text="bind:prcphistno"/>
  211. <Cell col="50" text="bind:drugdd"/>
  212. <Cell col="51" text="bind:drugno"/>
  213. <Cell col="52" text="bind:ioflag"/>
  214. <Cell col="53" text="bind:instcd"/>
  215. <Cell col="54" text="bind:narcflag"/>
  216. <Cell col="55" text="bind:prntflag"/>
  217. <Cell col="56" text="bind:orddd"/>
  218. <Cell col="57" text="bind:orddeptcd"/>
  219. <Cell col="58" text="bind:prcpgenrflag"/>
  220. <Cell col="59" text="bind:prntdt"/>
  221. <Cell col="60" text="bind:presqty2"/>
  222. <Cell col="61" text="bind:statvisible"/>
  223. <Cell col="62" text="bind:medrendyn"/>
  224. <Cell col="63" text="bind:medrqty"/>
  225. <Cell col="64" text="bind:medrtims"/>
  226. <Cell col="65" text="bind:medrx"/>
  227. <Cell col="66" text="bind:drugseqno"/>
  228. <Cell col="67"/>
  229. </Band>
  230. </Format>
  231. </Formats>
  232. </Grid>
  233. <Grid id="grd_narclist01" class="grd_orderlist" taborder="22" binddataset="ds_adnmstocorder" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 7 396 1180 864">
  234. <Formats>
  235. <Format id="default">
  236. <Columns>
  237. <Column size="27" band="left"/>
  238. <Column size="58" band="left"/>
  239. <Column size="60" band="left"/>
  240. <Column size="54" band="left"/>
  241. <Column size="77" band="left"/>
  242. <Column size="62" band="left"/>
  243. <Column size="108" band="left"/>
  244. <Column size="90" band="left"/>
  245. <Column size="63" band="left"/>
  246. <Column size="139"/>
  247. <Column size="101"/>
  248. <Column size="30"/>
  249. <Column size="19"/>
  250. <Column size="49"/>
  251. <Column size="73"/>
  252. <Column size="69"/>
  253. <Column size="81"/>
  254. </Columns>
  255. <Rows>
  256. <Row size="30" band="head"/>
  257. <Row size="22"/>
  258. </Rows>
  259. <Band id="head">
  260. <Cell/>
  261. <Cell col="1" text=" 등록번호"/>
  262. <Cell col="2" text="환자명"/>
  263. <Cell col="3" text="투약번호"/>
  264. <Cell col="4" text="처방&#10;코드" wordwrap="char"/>
  265. <Cell col="5" text="불출저장소"/>
  266. <Cell col="6" text="LabelNo"/>
  267. <Cell col="7" text="제품번호" wordwrap="char"/>
  268. <Cell col="8" text="유효기간" wordwrap="char"/>
  269. <Cell col="9" text="제조번호" wordwrap="char"/>
  270. <Cell col="10" text="일련번호" wordwrap="char"/>
  271. <Cell col="11" colspan="2" text="seq" taborder="undefined">
  272. <Cell text="seq" wordwrap="char" taborder="undefined"/>
  273. <Cell col="1"/>
  274. </Cell>
  275. <Cell col="13" text="잔량"/>
  276. <Cell col="14" text="불출일자"/>
  277. <Cell col="15" text="반환일자"/>
  278. <Cell col="16" text="잔량처리일자"/>
  279. </Band>
  280. <Band id="body">
  281. <Cell celltype="head" text="expr:currow + 1"/>
  282. <Cell col="1" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:pid"/>
  283. <Cell col="2" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:pat_nm"/>
  284. <Cell col="3" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:drugno"/>
  285. <Cell col="4" style="align:center top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
  286. <Cell col="5" text="bind:storge_no"/>
  287. <Cell col="6" text="bind:labelno" mask="@@@@-@@-@@ @@@"/>
  288. <Cell col="7" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
  289. <Cell col="8" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
  290. <Cell col="9" displaytype="text" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
  291. <Cell col="10" displaytype="text" style="align:left top;padding:4 2 1 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
  292. <Cell col="11" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:seq" taborder="undefined">
  293. <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
  294. </Cell>
  295. <Cell col="12" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:histno"/>
  296. <Cell col="13" text="bind:spreqy"/>
  297. <Cell col="14" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:outdd"/>
  298. <Cell col="15" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:rtndd"/>
  299. <Cell col="16" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:spredd"/>
  300. </Band>
  301. </Format>
  302. <Format id="format_copy"/>
  303. </Formats>
  304. </Grid>
  305. <Button id="Button00" taborder="24" text="화면닫기" position="absolute 1074 24 1174 44" onclick="Button00_onclick"/>
  306. <Grid id="grd_narclist02" class="grd_orderlist" taborder="25" binddataset="ds_main_narclist_narclist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 6 52 1184 361" anchor="all">
  307. <Formats>
  308. <Format id="default">
  309. <Columns>
  310. <Column size="30" band="left"/>
  311. <Column size="20" band="left"/>
  312. <Column size="26" band="left"/>
  313. <Column size="67" band="left"/>
  314. <Column size="44" band="left"/>
  315. <Column size="51" band="left"/>
  316. <Column size="30" band="left"/>
  317. <Column size="57" band="left"/>
  318. <Column size="41" band="left"/>
  319. <Column size="68"/>
  320. <Column size="130"/>
  321. <Column size="28"/>
  322. <Column size="30"/>
  323. <Column size="27"/>
  324. <Column size="30"/>
  325. <Column size="28"/>
  326. <Column size="31"/>
  327. <Column size="40"/>
  328. <Column size="31"/>
  329. <Column size="40"/>
  330. <Column size="31"/>
  331. <Column size="28"/>
  332. <Column size="39"/>
  333. <Column size="27"/>
  334. <Column size="28"/>
  335. <Column size="29"/>
  336. <Column size="32"/>
  337. <Column size="33"/>
  338. <Column size="8"/>
  339. <Column size="70"/>
  340. <Column size="8"/>
  341. <Column size="70"/>
  342. <Column size="8"/>
  343. <Column size="0"/>
  344. <Column size="0"/>
  345. <Column size="70"/>
  346. <Column size="9"/>
  347. <Column size="70"/>
  348. <Column size="9"/>
  349. <Column size="70"/>
  350. <Column size="9"/>
  351. <Column size="70"/>
  352. <Column size="0"/>
  353. <Column size="0"/>
  354. <Column size="7"/>
  355. <Column size="70"/>
  356. <Column size="100"/>
  357. <Column size="7"/>
  358. <Column size="85"/>
  359. <Column size="7"/>
  360. <Column size="85"/>
  361. <Column size="0"/>
  362. <Column size="0"/>
  363. <Column size="0"/>
  364. <Column size="0"/>
  365. <Column size="0"/>
  366. <Column size="0"/>
  367. <Column size="0"/>
  368. <Column size="0"/>
  369. <Column size="0"/>
  370. <Column size="0"/>
  371. <Column size="0"/>
  372. <Column size="0"/>
  373. <Column size="0"/>
  374. <Column size="0"/>
  375. <Column size="0"/>
  376. <Column size="0"/>
  377. <Column size="0"/>
  378. <Column size="0"/>
  379. <Column size="0"/>
  380. </Columns>
  381. <Rows>
  382. <Row size="30" band="head"/>
  383. <Row size="24"/>
  384. </Rows>
  385. <Band id="head">
  386. <Cell/>
  387. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  388. <Cell col="2" text="처방&#10;상태" wordwrap="char"/>
  389. <Cell col="3" text="처방일자" wordwrap="char"/>
  390. <Cell col="4" text="투약번호" wordwrap="char"/>
  391. <Cell col="5" text="수행부서" wordwrap="char"/>
  392. <Cell col="6" text="병실" wordwrap="char"/>
  393. <Cell col="7" text="환자번호" wordwrap="char"/>
  394. <Cell col="8" text="환자명" wordwrap="char"/>
  395. <Cell col="9" text="약품코드" wordwrap="char"/>
  396. <Cell col="10" text="약품명" wordwrap="char"/>
  397. <Cell col="11" colspan="2" text="총량" wordwrap="char" taborder="undefined"/>
  398. <Cell col="13" colspan="2" text="일수량" wordwrap="char" taborder="undefined"/>
  399. <Cell col="15" colspan="2" text="1회수량" wordwrap="char" taborder="undefined"/>
  400. <Cell col="17" colspan="2" text="일용량" wordwrap="char" taborder="undefined"/>
  401. <Cell col="19" colspan="2" text="1회용량" wordwrap="char" taborder="undefined"/>
  402. <Cell col="21" text="횟수" wordwrap="char"/>
  403. <Cell col="22" colspan="2" text="잔량" wordwrap="char" taborder="undefined"/>
  404. <Cell col="24" colspan="2" text="반환횟수" wordwrap="char" taborder="undefined"/>
  405. <Cell col="26" colspan="2" text="반환수량" wordwrap="char" taborder="undefined"/>
  406. <Cell col="28" style="align:left;padding:0 0 0 8;" text="불출신청일자" wordwrap="char"/>
  407. <Cell col="29" text="불출&#10;신청자" wordwrap="char"/>
  408. <Cell col="30" style="align:left;padding:0 0 0 8;" text="조제일시" wordwrap="char"/>
  409. <Cell col="31" text="조제&#10;약사" wordwrap="char"/>
  410. <Cell col="32" style="align:left;padding:0 0 0 8;" text="투약일시" wordwrap="char"/>
  411. <Cell col="33" text="투약&#10;약사" wordwrap="char"/>
  412. <Cell col="34" text="수령일시" wordwrap="char"/>
  413. <Cell col="35" text="수령&#10;담당자" wordwrap="char"/>
  414. <Cell col="36" style="align:left;padding:0 0 0 8;" text="병동수령일시" wordwrap="char"/>
  415. <Cell col="37" text="부서확인&#10;간호사" wordwrap="char"/>
  416. <Cell col="38" style="align:left;padding:0 0 0 8;" text="간호투약일시" wordwrap="char"/>
  417. <Cell col="39" text="간호투약&#10;간호사" wordwrap="char"/>
  418. <Cell col="40" style="align:left;padding:0 0 0 8;" text="반환신청일시" wordwrap="char"/>
  419. <Cell col="41" text="반환신청&#10;간호사" wordwrap="char"/>
  420. <Cell col="42" text="반환일시" wordwrap="char"/>
  421. <Cell col="43" text="반환&#10;담당자" wordwrap="char"/>
  422. <Cell col="44" style="align:left;padding:0 0 0 8;" text="반환확인일시" wordwrap="char"/>
  423. <Cell col="45" text="반환확인&#10;약사" wordwrap="char"/>
  424. <Cell col="46" text="반환사유" wordwrap="char"/>
  425. <Cell col="47" style="align:left;padding:0 0 0 8;" text="잔량반납&#10;신청일시" wordwrap="char"/>
  426. <Cell col="48" text="잔량반납신청&#10;간호사" wordwrap="char"/>
  427. <Cell col="49" style="align:left;padding:0 0 0 8;" text="잔량반납&#10;확인일시" wordwrap="char"/>
  428. <Cell col="50" text="잔량반납확인&#10;약사" wordwrap="char"/>
  429. <Cell col="51" text="prcpno"/>
  430. <Cell col="52" text="prcphistno"/>
  431. <Cell col="53" text="drugdd"/>
  432. <Cell col="54" text="drugno"/>
  433. <Cell col="55" text="ioflag"/>
  434. <Cell col="56" text="instcd"/>
  435. <Cell col="57" text="narcflag"/>
  436. <Cell col="58" text="prntflag"/>
  437. <Cell col="59" text="orddd"/>
  438. <Cell col="60" text="orddeptcd"/>
  439. <Cell col="61" text="prcpgenrflag"/>
  440. <Cell col="62" text="prntdt"/>
  441. <Cell col="63" text="caption1"/>
  442. <Cell col="64" text="반납반환&#10;표시여부"/>
  443. <Cell col="65" text="투약기록&#10;완료여부"/>
  444. <Cell col="66" text="간호&#10;실시횟수"/>
  445. <Cell col="67" text="간호&#10;반환횟수"/>
  446. <Cell col="68" text="투약x반환불가&#10;횟수"/>
  447. <Cell col="69"/>
  448. </Band>
  449. <Band id="body">
  450. <Cell celltype="head" text="expr:currow+1"/>
  451. <Cell col="1" displaytype="checkbox" edittype="expr:utlf_isNull(getColumn(currow, 'narcstat')) || getColumn(currow, 'narcstat') == '1' ? 'none' : 'checkbox'" style="background:EXPR(sel = 'Y' ? f0f0f0ff'' : '');background2:#f0f0f0ff;controlbackground:EXPR(utlf_isNull(getColumn(currow, 'narcstat')) || getColumn(currow, 'narcstat') == '1' ? 'silver' : '');controlborder:EXPR(utlf_isNull(getColumn(currow, 'narcstat')) || getColumn(currow, 'narcstat') == '1' ? '1 solid #708090cc' : ''));" text="bind:sel" expr="expr:(sel==&quot;Y&quot;||sel==1)?1:0"/>
  452. <Cell col="2" style="align:center top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcphistcd" wordwrap="char" autosizerow="limitmin"/>
  453. <Cell col="3" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpdd" wordwrap="char" mask="expr:utlf_isNull(prcpdd) || prcpdd=='-' ? '' : '####/##/##'" autosizerow="limitmin"/>
  454. <Cell col="4" displaytype="text" style="align:center top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:drugno" wordwrap="char" autosizerow="limitmin"/>
  455. <Cell col="5" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:issdeptcdnm" wordwrap="char" autosizerow="limitmin"/>
  456. <Cell col="6" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:roomcd" wordwrap="char" autosizerow="limitmin"/>
  457. <Cell col="7" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:pid" wordwrap="char" autosizerow="limitmin"/>
  458. <Cell col="8" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:patnm" wordwrap="char" autosizerow="limitmin"/>
  459. <Cell col="9" displaytype="text" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpcd" wordwrap="char" autosizerow="limitmin"/>
  460. <Cell col="10" displaytype="text" style="align:left top;padding:4 2 1 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:drugnm" wordwrap="char" autosizerow="limitmin"/>
  461. <Cell col="11" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:totdrugqty"/>
  462. <Cell col="12" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpqtyunit"/>
  463. <Cell col="13" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:dayprcpqty"/>
  464. <Cell col="14" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:dayprcpqtyunit"/>
  465. <Cell col="15" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpqty2"/>
  466. <Cell col="16" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpqtyunit2"/>
  467. <Cell col="17" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvol"/>
  468. <Cell col="18" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvolunit"/>
  469. <Cell col="19" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvol2"/>
  470. <Cell col="20" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvolunit2"/>
  471. <Cell col="21" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcptims"/>
  472. <Cell col="22" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:spreqty"/>
  473. <Cell col="23" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvolunit"/>
  474. <Cell col="24" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:rtnqty" mask="99999999999"/>
  475. <Cell col="25" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:rtnunit"/>
  476. <Cell col="26" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:returnqty"/>
  477. <Cell col="27" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpqtyunit"/>
  478. <Cell col="28" style="background2:#f0f0f0ff;" text="bind:reqdt" mask="expr:utlf_isNull(reqdt) || reqdt=='-' ? '' : '####/##/## ##:##'"/>
  479. <Cell col="29" style="background2:#f0f0f0ff;" text="bind:reqidnm"/>
  480. <Cell col="30" style="background2:#f0f0f0ff;" text="bind:prcpdt" mask="expr:utlf_isNull(prcpdt) || prcpdt=='-' ? '' : '####/##/## ##:##'"/>
  481. <Cell col="31" style="background2:#f0f0f0ff;" text="bind:prcpidnm"/>
  482. <Cell col="32" style="background2:#f0f0f0ff;" text="bind:drugdt" mask="expr:utlf_isNull(drugdt) || drugdt=='-' ? '' : '####/##/## ##:##'"/>
  483. <Cell col="33" style="background2:#f0f0f0ff;" text="bind:drugidnm"/>
  484. <Cell col="34" style="background2:#f0f0f0ff;" text="bind:delivedt" mask="expr:utlf_isNull(delivedt) || delivedt=='-' ? '' : '####/##/##'"/>
  485. <Cell col="35" style="background2:#f0f0f0ff;" text="bind:deliveidnm"/>
  486. <Cell col="36" style="background2:#f0f0f0ff;" text="bind:acptdt" mask="expr:utlf_isNull(acptdt) || acptdt=='-' ? '' : '####/##/## ##:##'"/>
  487. <Cell col="37" style="background2:#f0f0f0ff;" text="bind:acptidnm"/>
  488. <Cell col="38" style="background2:#f0f0f0ff;" text="bind:nrexecdt" mask="expr:utlf_isNull(nrexecdt) || nrexecdt=='-' ? '' : '####/##/## ##:##'"/>
  489. <Cell col="39" style="background2:#f0f0f0ff;" text="bind:nrexecridnm"/>
  490. <Cell col="40" style="background2:#f0f0f0ff;" text="bind:rtnappdt" mask="expr:utlf_isNull(rtnappdt) || rtnappdt=='-' ? '' : '####/##/## ##:##'"/>
  491. <Cell col="41" style="background2:#f0f0f0ff;" text="bind:rtnappidnm"/>
  492. <Cell col="42" style="background2:#f0f0f0ff;" text="bind:rtndt" mask="expr:utlf_isNull(rtndt) || rtndt=='-' ? '' : '####/##/##''"/>
  493. <Cell col="43" style="background2:#f0f0f0ff;" text="bind:rtnidnm"/>
  494. <Cell col="44" style="background2:#f0f0f0ff;" text="bind:rtncnfmdt" mask="expr:utlf_isNull(rtncnfmdt) || rtncnfmdt=='-' ? '' : '####/##/## ##:##'"/>
  495. <Cell col="45" style="background2:#f0f0f0ff;" text="bind:rtncnfmidnm"/>
  496. <Cell col="46" displaytype="text" style="background2:#f0f0f0ff;" text="bind:rtnresn"/>
  497. <Cell col="47" style="background2:#f0f0f0ff;" text="bind:spredt" mask="expr:utlf_isNull(spredt) || spredt=='-' ? '' : '####/##/## ##:##'"/>
  498. <Cell col="48" style="background2:#f0f0f0ff;" text="bind:spreidnm"/>
  499. <Cell col="49" style="background2:#f0f0f0ff;" text="bind:sprecnfmdt" mask="expr:utlf_isNull(sprecnfmdt) || sprecnfmdt=='-' ? '' : '####/##/## ##:##'"/>
  500. <Cell col="50" style="background2:#f0f0f0ff;" text="bind:sprecnfmidnm"/>
  501. <Cell col="51" text="bind:prcpno"/>
  502. <Cell col="52" text="bind:prcphistno"/>
  503. <Cell col="53" text="bind:drugdd"/>
  504. <Cell col="54" text="bind:drugno"/>
  505. <Cell col="55" text="bind:ioflag"/>
  506. <Cell col="56" text="bind:instcd"/>
  507. <Cell col="57" text="bind:narcflag"/>
  508. <Cell col="58" text="bind:prntflag"/>
  509. <Cell col="59" text="bind:orddd"/>
  510. <Cell col="60" text="bind:orddeptcd"/>
  511. <Cell col="61" text="bind:prcpgenrflag"/>
  512. <Cell col="62" text="bind:prntdt"/>
  513. <Cell col="63" text="bind:presqty2"/>
  514. <Cell col="64" text="bind:statvisible"/>
  515. <Cell col="65" text="bind:medrendyn"/>
  516. <Cell col="66" text="bind:medrqty"/>
  517. <Cell col="67" text="bind:medrtims"/>
  518. <Cell col="68" text="bind:medrx"/>
  519. <Cell col="69" text="bind:drugseqno"/>
  520. </Band>
  521. </Format>
  522. </Formats>
  523. </Grid>
  524. <Grid id="grd_narclist05" class="grd_orderlist" taborder="28" binddataset="ds_adnmstoclistmachi" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" visible="false" position="absolute 466 325 600 392">
  525. <Formats>
  526. <Format id="default">
  527. <Columns>
  528. <Column size="77" band="left"/>
  529. <Column size="67" band="left"/>
  530. <Column size="123" band="left"/>
  531. <Column size="34" band="left"/>
  532. <Column size="24" band="left"/>
  533. <Column size="70" band="left"/>
  534. <Column size="109"/>
  535. <Column size="69"/>
  536. <Column size="28"/>
  537. <Column size="13"/>
  538. <Column size="36"/>
  539. <Column size="29"/>
  540. <Column size="35"/>
  541. <Column size="31"/>
  542. <Column size="40"/>
  543. <Column size="28"/>
  544. <Column size="40"/>
  545. <Column size="29"/>
  546. <Column size="54"/>
  547. <Column size="32"/>
  548. <Column size="69"/>
  549. <Column size="28"/>
  550. <Column size="29"/>
  551. <Column size="32"/>
  552. <Column size="35"/>
  553. <Column size="8"/>
  554. <Column size="70"/>
  555. <Column size="8"/>
  556. <Column size="70"/>
  557. <Column size="8"/>
  558. <Column size="0"/>
  559. <Column size="0"/>
  560. <Column size="70"/>
  561. <Column size="9"/>
  562. <Column size="70"/>
  563. <Column size="9"/>
  564. <Column size="70"/>
  565. <Column size="9"/>
  566. <Column size="70"/>
  567. <Column size="0"/>
  568. <Column size="0"/>
  569. <Column size="7"/>
  570. <Column size="70"/>
  571. <Column size="100"/>
  572. <Column size="7"/>
  573. <Column size="85"/>
  574. <Column size="7"/>
  575. <Column size="85"/>
  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. <Column size="0"/>
  586. <Column size="0"/>
  587. <Column size="0"/>
  588. <Column size="0"/>
  589. <Column size="0"/>
  590. <Column size="0"/>
  591. <Column size="0"/>
  592. <Column size="0"/>
  593. <Column size="0"/>
  594. <Column size="0"/>
  595. <Column size="40"/>
  596. </Columns>
  597. <Rows>
  598. <Row size="30" band="head"/>
  599. <Row size="22"/>
  600. </Rows>
  601. <Band id="head">
  602. <Cell text="처방&#10;코드" wordwrap="char"/>
  603. <Cell col="1" text="입고구분" wordwrap="char"/>
  604. <Cell col="2" text="제품번호" wordwrap="char"/>
  605. <Cell col="3" colspan="2" taborder="undefined">
  606. <Cell/>
  607. <Cell col="1"/>
  608. </Cell>
  609. <Cell col="5" text="유효기간" wordwrap="char"/>
  610. <Cell col="6" text="제조번호" wordwrap="char"/>
  611. <Cell col="7" text="일련번호" wordwrap="char"/>
  612. <Cell col="8" colspan="2" text="seq" wordwrap="char" taborder="undefined"/>
  613. <Cell col="10" colspan="2" text="바코드_RFID" wordwrap="char" taborder="undefined"/>
  614. <Cell col="12" colspan="2" text="저장소_NO" wordwrap="char" taborder="undefined"/>
  615. <Cell col="14" colspan="2" text="유통수량" wordwrap="char" taborder="undefined"/>
  616. <Cell col="16" colspan="2" text="낱개수량" wordwrap="char" taborder="undefined"/>
  617. <Cell col="18" text="입고수량" wordwrap="char"/>
  618. <Cell col="19" colspan="2" text="입고일자" wordwrap="char" taborder="undefined"/>
  619. <Cell col="21" colspan="2" text="반환횟수" wordwrap="char" taborder="undefined"/>
  620. <Cell col="23" colspan="2" text="반환수량" wordwrap="char" taborder="undefined"/>
  621. <Cell col="25" style="align:left;padding:0 0 0 8;" text="불출신청일자" wordwrap="char"/>
  622. <Cell col="26" text="불출&#10;신청자" wordwrap="char"/>
  623. <Cell col="27" style="align:left;padding:0 0 0 8;" text="조제일시" wordwrap="char"/>
  624. <Cell col="28" text="조제&#10;약사" wordwrap="char"/>
  625. <Cell col="29" style="align:left;padding:0 0 0 8;" text="투약일시" wordwrap="char"/>
  626. <Cell col="30" text="투약&#10;약사" wordwrap="char"/>
  627. <Cell col="31" text="수령일시" wordwrap="char"/>
  628. <Cell col="32" text="수령&#10;담당자" wordwrap="char"/>
  629. <Cell col="33" style="align:left;padding:0 0 0 8;" text="병동수령일시" wordwrap="char"/>
  630. <Cell col="34" text="부서확인&#10;간호사" wordwrap="char"/>
  631. <Cell col="35" style="align:left;padding:0 0 0 8;" text="간호투약일시" wordwrap="char"/>
  632. <Cell col="36" text="간호투약&#10;간호사" wordwrap="char"/>
  633. <Cell col="37" style="align:left;padding:0 0 0 8;" text="반환신청일시" wordwrap="char"/>
  634. <Cell col="38" text="반환신청&#10;간호사" wordwrap="char"/>
  635. <Cell col="39" text="반환일시" wordwrap="char"/>
  636. <Cell col="40" text="반환&#10;담당자" wordwrap="char"/>
  637. <Cell col="41" style="align:left;padding:0 0 0 8;" text="반환확인일시" wordwrap="char"/>
  638. <Cell col="42" text="반환확인&#10;약사" wordwrap="char"/>
  639. <Cell col="43" text="반환사유" wordwrap="char"/>
  640. <Cell col="44" style="align:left;padding:0 0 0 8;" text="잔량반납&#10;신청일시" wordwrap="char"/>
  641. <Cell col="45" text="잔량반납신청&#10;간호사" wordwrap="char"/>
  642. <Cell col="46" style="align:left;padding:0 0 0 8;" text="잔량반납&#10;확인일시" wordwrap="char"/>
  643. <Cell col="47" text="잔량반납확인&#10;약사" wordwrap="char"/>
  644. <Cell col="48" text="prcpno"/>
  645. <Cell col="49" text="prcphistno"/>
  646. <Cell col="50" text="drugdd"/>
  647. <Cell col="51" text="drugno"/>
  648. <Cell col="52" text="ioflag"/>
  649. <Cell col="53" text="instcd"/>
  650. <Cell col="54" text="narcflag"/>
  651. <Cell col="55" text="prntflag"/>
  652. <Cell col="56" text="orddd"/>
  653. <Cell col="57" text="orddeptcd"/>
  654. <Cell col="58" text="prcpgenrflag"/>
  655. <Cell col="59" text="prntdt"/>
  656. <Cell col="60" text="caption1"/>
  657. <Cell col="61" text="반납반환&#10;표시여부"/>
  658. <Cell col="62" text="투약기록&#10;완료여부"/>
  659. <Cell col="63" text="간호&#10;실시횟수"/>
  660. <Cell col="64" text="간호&#10;반환횟수"/>
  661. <Cell col="65" text="투약x반환불가&#10;횟수"/>
  662. <Cell col="66"/>
  663. <Cell col="67"/>
  664. </Band>
  665. <Band id="body">
  666. <Cell style="align:center top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
  667. <Cell col="1" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:infg" wordwrap="char" mask="expr:utlf_isNull(prcpdd) || prcpdd=='-' ? '' : '####/##/##'" autosizerow="limitmin"/>
  668. <Cell col="2" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
  669. <Cell col="3" text="bind:seq"/>
  670. <Cell col="4" text="bind:histno"/>
  671. <Cell col="5" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
  672. <Cell col="6" displaytype="text" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
  673. <Cell col="7" displaytype="text" style="align:left top;padding:4 2 1 2;background2:#f0f0f0ff;" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
  674. <Cell col="8" colspan="2" style="background2:#f0f0f0ff;" text="bind:seq" taborder="undefined">
  675. <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
  676. <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
  677. </Cell>
  678. <Cell col="10" colspan="2" style="background2:#f0f0f0ff;" text="bind:prd_sgtin" taborder="undefined">
  679. <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:dayprcpqty"/>
  680. <Cell col="1" style="background2:#f0f0f0ff;" text="bind:dayprcpqtyunit"/>
  681. </Cell>
  682. <Cell col="12" colspan="2" style="background2:#f0f0f0ff;" text="bind:storge_no" taborder="undefined">
  683. <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prcpqty2"/>
  684. <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit2"/>
  685. </Cell>
  686. <Cell col="14" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_min_distb_qy"/>
  687. <Cell col="15" style="background2:#f0f0f0ff;" text="bind:prd_min_distb_unit"/>
  688. <Cell col="16" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_tot_pce_qy"/>
  689. <Cell col="17" style="background2:#f0f0f0ff;" text="bind:prd_pce_unit"/>
  690. <Cell col="18" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:in_pce_qy"/>
  691. <Cell col="19" colspan="2" style="background2:#f0f0f0ff;" text="bind:indd" taborder="undefined">
  692. <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:spreqty"/>
  693. <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpvolunit"/>
  694. </Cell>
  695. <Cell col="21" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:rtnqty" mask="99999999999"/>
  696. <Cell col="22" style="background2:#f0f0f0ff;" text="bind:rtnunit"/>
  697. <Cell col="23" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:returnqty"/>
  698. <Cell col="24" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
  699. <Cell col="25" style="background2:#f0f0f0ff;" text="bind:reqdt" mask="expr:utlf_isNull(reqdt) || reqdt=='-' ? '' : '####/##/## ##:##'"/>
  700. <Cell col="26" style="background2:#f0f0f0ff;" text="bind:reqidnm"/>
  701. <Cell col="27" style="background2:#f0f0f0ff;" text="bind:prcpdt" mask="expr:utlf_isNull(prcpdt) || prcpdt=='-' ? '' : '####/##/## ##:##'"/>
  702. <Cell col="28" style="background2:#f0f0f0ff;" text="bind:prcpidnm"/>
  703. <Cell col="29" style="background2:#f0f0f0ff;" text="bind:drugdt" mask="expr:utlf_isNull(drugdt) || drugdt=='-' ? '' : '####/##/## ##:##'"/>
  704. <Cell col="30" style="background2:#f0f0f0ff;" text="bind:drugidnm"/>
  705. <Cell col="31" style="background2:#f0f0f0ff;" text="bind:delivedt" mask="expr:utlf_isNull(delivedt) || delivedt=='-' ? '' : '####/##/##'"/>
  706. <Cell col="32" style="background2:#f0f0f0ff;" text="bind:deliveidnm"/>
  707. <Cell col="33" style="background2:#f0f0f0ff;" text="bind:acptdt" mask="expr:utlf_isNull(acptdt) || acptdt=='-' ? '' : '####/##/## ##:##'"/>
  708. <Cell col="34" style="background2:#f0f0f0ff;" text="bind:acptidnm"/>
  709. <Cell col="35" style="background2:#f0f0f0ff;" text="bind:nrexecdt" mask="expr:utlf_isNull(nrexecdt) || nrexecdt=='-' ? '' : '####/##/## ##:##'"/>
  710. <Cell col="36" style="background2:#f0f0f0ff;" text="bind:nrexecridnm"/>
  711. <Cell col="37" style="background2:#f0f0f0ff;" text="bind:rtnappdt" mask="expr:utlf_isNull(rtnappdt) || rtnappdt=='-' ? '' : '####/##/## ##:##'"/>
  712. <Cell col="38" style="background2:#f0f0f0ff;" text="bind:rtnappidnm"/>
  713. <Cell col="39" style="background2:#f0f0f0ff;" text="bind:rtndt" mask="expr:utlf_isNull(rtndt) || rtndt=='-' ? '' : '####/##/##''"/>
  714. <Cell col="40" style="background2:#f0f0f0ff;" text="bind:rtnidnm"/>
  715. <Cell col="41" style="background2:#f0f0f0ff;" text="bind:rtncnfmdt" mask="expr:utlf_isNull(rtncnfmdt) || rtncnfmdt=='-' ? '' : '####/##/## ##:##'"/>
  716. <Cell col="42" style="background2:#f0f0f0ff;" text="bind:rtncnfmidnm"/>
  717. <Cell col="43" displaytype="text" style="background2:#f0f0f0ff;" text="bind:rtnresn"/>
  718. <Cell col="44" style="background2:#f0f0f0ff;" text="bind:spredt" mask="expr:utlf_isNull(spredt) || spredt=='-' ? '' : '####/##/## ##:##'"/>
  719. <Cell col="45" style="background2:#f0f0f0ff;" text="bind:spreidnm"/>
  720. <Cell col="46" style="background2:#f0f0f0ff;" text="bind:sprecnfmdt" mask="expr:utlf_isNull(sprecnfmdt) || sprecnfmdt=='-' ? '' : '####/##/## ##:##'"/>
  721. <Cell col="47" style="background2:#f0f0f0ff;" text="bind:sprecnfmidnm"/>
  722. <Cell col="48" text="bind:prcpno"/>
  723. <Cell col="49" text="bind:prcphistno"/>
  724. <Cell col="50" text="bind:drugdd"/>
  725. <Cell col="51" text="bind:drugno"/>
  726. <Cell col="52" text="bind:ioflag"/>
  727. <Cell col="53" text="bind:instcd"/>
  728. <Cell col="54" text="bind:narcflag"/>
  729. <Cell col="55" text="bind:prntflag"/>
  730. <Cell col="56" text="bind:orddd"/>
  731. <Cell col="57" text="bind:orddeptcd"/>
  732. <Cell col="58" text="bind:prcpgenrflag"/>
  733. <Cell col="59" text="bind:prntdt"/>
  734. <Cell col="60" text="bind:presqty2"/>
  735. <Cell col="61" text="bind:statvisible"/>
  736. <Cell col="62" text="bind:medrendyn"/>
  737. <Cell col="63" text="bind:medrqty"/>
  738. <Cell col="64" text="bind:medrtims"/>
  739. <Cell col="65" text="bind:medrx"/>
  740. <Cell col="66" text="bind:drugseqno"/>
  741. <Cell col="67"/>
  742. </Band>
  743. </Format>
  744. </Formats>
  745. </Grid>
  746. </Layout>
  747. </Layouts>
  748. <Bind>
  749. <BindItem id="item12" compid="SMADT12003" propid="text" datasetid="ds_main_prntlist_patinfo" columnid=""/>
  750. </Bind>
  751. <Objects>
  752. <Dataset id="ds_srchbarcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  753. <ColumnInfo>
  754. <Column id="barcode" type="STRING" size="256"/>
  755. </ColumnInfo>
  756. <Rows>
  757. <Row/>
  758. </Rows>
  759. </Dataset>
  760. <Dataset id="ds_senddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  761. <ColumnInfo>
  762. <Column id="type" type="STRING" size="256"/>
  763. <Column id="ioflag" type="STRING" size="256"/>
  764. <Column id="prcpdd" type="STRING" size="256"/>
  765. <Column id="prcpno" type="STRING" size="256"/>
  766. </ColumnInfo>
  767. <Rows>
  768. <Row/>
  769. </Rows>
  770. </Dataset>
  771. <Dataset id="ds_finddrugno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  772. <ColumnInfo>
  773. <Column id="pid" type="STRING" size="256"/>
  774. <Column id="drugdd" type="STRING" size="256"/>
  775. <Column id="drugno" type="STRING" size="256"/>
  776. <Column id="prcpno" type="STRING" size="256"/>
  777. <Column id="ioflag" type="STRING" size="256"/>
  778. <Column id="prcphistno" type="STRING" size="256"/>
  779. <Column id="drugseqno" type="STRING" size="256"/>
  780. <Column id="drugkind" type="STRING" size="256"/>
  781. <Column id="drugflag" type="STRING" size="256"/>
  782. <Column id="drugstat" type="STRING" size="256"/>
  783. <Column id="prcpdd" type="STRING" size="256"/>
  784. <Column id="orddd" type="STRING" size="256"/>
  785. </ColumnInfo>
  786. <Rows>
  787. <Row/>
  788. </Rows>
  789. </Dataset>
  790. <Dataset id="ds_send_prntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  791. <Dataset id="ds_main_narclist_narclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  792. <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  793. <Dataset id="ds_send_stoc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  794. <ColumnInfo>
  795. <Column id="drugcd" type="STRING" size="256"/>
  796. <Column id="storge_no" type="STRING" size="256"/>
  797. <Column id="prcpno" type="STRING" size="256"/>
  798. <Column id="seltype" type="STRING" size="256"/>
  799. <Column id="pid" type="STRING" size="256"/>
  800. </ColumnInfo>
  801. <Rows>
  802. <Row/>
  803. </Rows>
  804. </Dataset>
  805. <Dataset id="ds_adnmstoclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  806. <ColumnInfo>
  807. <column id="instcd" type="STRING" size="256"/>
  808. <column id="drugcd" type="STRING" size="256"/>
  809. <column id="infg" type="STRING" size="256"/>
  810. <column id="histno" type="STRING" size="256"/>
  811. <column id="gtin" type="STRING" size="256"/>
  812. <column id="prd_valid_de" type="STRING" size="256"/>
  813. <column id="mnf_no" type="STRING" size="256"/>
  814. <column id="mnf_seq" type="STRING" size="256"/>
  815. <column id="seq" type="STRING" size="256"/>
  816. <column id="prd_sgtin" type="STRING" size="256"/>
  817. <column id="storge_no" type="STRING" size="256"/>
  818. <column id="prtm_se_nm" type="STRING" size="256"/>
  819. <column id="prd_min_distb_qy" type="STRING" size="256"/>
  820. <column id="prd_min_distb_unit" type="STRING" size="256"/>
  821. <column id="prd_tot_pce_qy" type="STRING" size="256"/>
  822. <column id="prd_pce_unit" type="STRING" size="256"/>
  823. <column id="in_pce_qy" type="STRING" size="256"/>
  824. <column id="indd" type="STRING" size="256"/>
  825. <column id="opp_bssh_cd" type="STRING" size="256"/>
  826. <column id="opp_bssh_nm" type="STRING" size="256"/>
  827. <column id="opp_storge_no" type="STRING" size="256"/>
  828. <column id="in_dtl_cd" type="STRING" size="256"/>
  829. <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
  830. <column id="out_fg" type="STRING" size="256"/>
  831. <column id="out_pce_qy" type="STRING" size="256"/>
  832. <column id="fnshfg" type="STRING" size="256"/>
  833. <column id="prcpno" type="STRING" size="256"/>
  834. <column id="drugdd" type="STRING" size="256"/>
  835. <column id="drugno" type="STRING" size="256"/>
  836. <column id="ioflag" type="STRING" size="256"/>
  837. <column id="drugseqno" type="STRING" size="256"/>
  838. <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
  839. <column id="pat_id_no" type="STRING" size="256"/>
  840. <column id="pat_in" type="STRING" size="256"/>
  841. <column id="lcns_asort_cd" type="STRING" size="256"/>
  842. <column id="lcns_no" type="STRING" size="256"/>
  843. <column id="prsc_doc_nm" type="STRING" size="256"/>
  844. <column id="prsc_ord_no" type="STRING" size="256"/>
  845. <column id="diss_code" type="STRING" size="256"/>
  846. <column id="once_qy" type="STRING" size="256"/>
  847. <column id="ade_cnt" type="STRING" size="256"/>
  848. <column id="tot_dcnt" type="STRING" size="256"/>
  849. <column id="sum_qy" type="STRING" size="256"/>
  850. <column id="aft_dsuse_qy" type="STRING" size="256"/>
  851. <column id="dsuse_se_cd" type="STRING" size="256"/>
  852. <column id="dsuse_prv_cd" type="STRING" size="256"/>
  853. <column id="dsuse_mth_cd" type="STRING" size="256"/>
  854. <column id="dsuse_loc" type="STRING" size="256"/>
  855. <column id="dsuse_de" type="STRING" size="256"/>
  856. <column id="dsuse_instt_cd" type="STRING" size="256"/>
  857. <column id="dsuse_doc_de" type="STRING" size="256"/>
  858. <column id="outdd" type="STRING" size="256"/>
  859. <column id="out_bssh_cd" type="STRING" size="256"/>
  860. <column id="out_bssh_nm" type="STRING" size="256"/>
  861. <column id="out_storge_no" type="STRING" size="256"/>
  862. <column id="out_dtl_cd" type="STRING" size="256"/>
  863. <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
  864. <column id="insendfg" type="STRING" size="256"/>
  865. <column id="outsendfg" type="STRING" size="256"/>
  866. <column id="spreqy" type="STRING" size="256"/>
  867. <column id="spredd" type="STRING" size="256"/>
  868. <column id="spredt" type="STRING" size="256"/>
  869. <column id="rtnfg" type="STRING" size="256"/>
  870. <column id="rtndd" type="STRING" size="256"/>
  871. <column id="rtndt" type="STRING" size="256"/>
  872. <Column id="pid" type="STRING" size="256"/>
  873. <Column id="labelno" type="STRING" size="256"/>
  874. </ColumnInfo>
  875. <Rows>
  876. <Row/>
  877. </Rows>
  878. </Dataset>
  879. <Dataset id="ds_adnmstocorder" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  880. <ColumnInfo>
  881. <column id="instcd" type="STRING" size="256"/>
  882. <column id="drugcd" type="STRING" size="256"/>
  883. <column id="infg" type="STRING" size="256"/>
  884. <column id="histno" type="STRING" size="256"/>
  885. <column id="gtin" type="STRING" size="256"/>
  886. <column id="prd_valid_de" type="STRING" size="256"/>
  887. <column id="mnf_no" type="STRING" size="256"/>
  888. <column id="mnf_seq" type="STRING" size="256"/>
  889. <column id="seq" type="STRING" size="256"/>
  890. <column id="prd_sgtin" type="STRING" size="256"/>
  891. <column id="storge_no" type="STRING" size="256"/>
  892. <column id="prtm_se_nm" type="STRING" size="256"/>
  893. <column id="prd_min_distb_qy" type="STRING" size="256"/>
  894. <column id="prd_min_distb_unit" type="STRING" size="256"/>
  895. <column id="prd_tot_pce_qy" type="STRING" size="256"/>
  896. <column id="prd_pce_unit" type="STRING" size="256"/>
  897. <column id="in_pce_qy" type="STRING" size="256"/>
  898. <column id="indd" type="STRING" size="256"/>
  899. <column id="opp_bssh_cd" type="STRING" size="256"/>
  900. <column id="opp_bssh_nm" type="STRING" size="256"/>
  901. <column id="opp_storge_no" type="STRING" size="256"/>
  902. <column id="in_dtl_cd" type="STRING" size="256"/>
  903. <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
  904. <column id="out_fg" type="STRING" size="256"/>
  905. <column id="out_pce_qy" type="STRING" size="256"/>
  906. <column id="fnshfg" type="STRING" size="256"/>
  907. <column id="prcpno" type="STRING" size="256"/>
  908. <column id="drugdd" type="STRING" size="256"/>
  909. <column id="drugno" type="STRING" size="256"/>
  910. <column id="ioflag" type="STRING" size="256"/>
  911. <column id="drugseqno" type="STRING" size="256"/>
  912. <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
  913. <column id="pat_id_no" type="STRING" size="256"/>
  914. <column id="pat_nm" type="STRING" size="256"/>
  915. <column id="lcns_asort_cd" type="STRING" size="256"/>
  916. <column id="lcns_no" type="STRING" size="256"/>
  917. <column id="prsc_doc_nm" type="STRING" size="256"/>
  918. <column id="prsc_ord_no" type="STRING" size="256"/>
  919. <column id="diss_code" type="STRING" size="256"/>
  920. <column id="once_qty" type="STRING" size="256"/>
  921. <column id="ade_cnt" type="STRING" size="256"/>
  922. <column id="tot_dcnt" type="STRING" size="256"/>
  923. <column id="sum_qy" type="STRING" size="256"/>
  924. <column id="aft_dsuse_qy" type="STRING" size="256"/>
  925. <column id="dsuse_se_cd" type="STRING" size="256"/>
  926. <column id="dsuse_prv_cd" type="STRING" size="256"/>
  927. <column id="dsuse_mth_cd" type="STRING" size="256"/>
  928. <column id="dsuse_loc" type="STRING" size="256"/>
  929. <column id="dsuse_de" type="STRING" size="256"/>
  930. <column id="dsuse_instt_cd" type="STRING" size="256"/>
  931. <column id="dsuse_doc_de" type="STRING" size="256"/>
  932. <column id="outdd" type="STRING" size="256"/>
  933. <column id="out_bssh_cd" type="STRING" size="256"/>
  934. <column id="out_bssh_nm" type="STRING" size="256"/>
  935. <column id="out_storge_no" type="STRING" size="256"/>
  936. <column id="out_dtl_cd" type="STRING" size="256"/>
  937. <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
  938. <column id="insendfg" type="STRING" size="256"/>
  939. <column id="outsendfg" type="STRING" size="256"/>
  940. <column id="spreqy" type="STRING" size="256"/>
  941. <column id="spredd" type="STRING" size="256"/>
  942. <column id="spredt" type="STRING" size="256"/>
  943. <column id="rtnfg" type="STRING" size="256"/>
  944. <column id="rtndd" type="STRING" size="256"/>
  945. <column id="rtndt" type="STRING" size="256"/>
  946. <Column id="pid" type="STRING" size="256"/>
  947. <Column id="labelno" type="STRING" size="256"/>
  948. </ColumnInfo>
  949. <Rows>
  950. <Row/>
  951. </Rows>
  952. </Dataset>
  953. <Dataset id="ds_sendstocupdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  954. <ColumnInfo>
  955. <Column id="instcd" type="STRING" size="255" value=""/>
  956. <Column id="infg" type="STRING" size="255" value=""/>
  957. <Column id="histno" type="STRING" size="255" value=""/>
  958. <Column id="gtin" type="STRING" size="255" value=""/>
  959. <Column id="prd_valid_de" type="STRING" size="255" value=""/>
  960. <Column id="mnf_no" type="STRING" size="255" value=""/>
  961. <Column id="mnf_seq" type="STRING" size="255" value=""/>
  962. <Column id="seq" type="STRING" size="255" value=""/>
  963. <Column id="prcpno" type="STRING" size="255" value=""/>
  964. <Column id="drugdd" type="STRING" size="255" value=""/>
  965. <Column id="drugno" type="STRING" size="255" value=""/>
  966. <Column id="ioflag" type="STRING" size="255" value=""/>
  967. <Column id="drugseqno" type="STRING" size="255" value=""/>
  968. <Column id="pat_id_no_ty_cd" type="STRING" size="255" value=""/>
  969. <Column id="pat_id_no" type="STRING" size="255" value=""/>
  970. <Column id="pat_nm" type="STRING" size="255" value=""/>
  971. <Column id="lcns_asort_cd" type="STRING" size="255" value=""/>
  972. <Column id="lcns_no" type="STRING" size="255" value=""/>
  973. <Column id="prsc_doc_nm" type="STRING" size="255" value=""/>
  974. <Column id="prsc_ord_no" type="STRING" size="255" value=""/>
  975. <Column id="diss_code" type="STRING" size="255" value=""/>
  976. <Column id="once_qy" type="STRING" size="255" value=""/>
  977. <Column id="ade_cnt" type="STRING" size="255" value=""/>
  978. <Column id="tot_dcnt" type="STRING" size="255" value=""/>
  979. <Column id="sum_qy" type="STRING" size="255" value=""/>
  980. <Column id="spreqy" type="STRING" size="256"/>
  981. <Column id="rtnqy" type="STRING" size="256"/>
  982. <Column id="pid" type="STRING" size="256"/>
  983. <Column id="labelno" type="STRING" size="256"/>
  984. </ColumnInfo>
  985. <Rows>
  986. <Row/>
  987. </Rows>
  988. </Dataset>
  989. <Dataset id="ds_sumlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  990. <ColumnInfo>
  991. <Column id="code" type="STRING" size="256"/>
  992. <Column id="order" type="STRING" size="256"/>
  993. <Column id="outsum" type="STRING" size="256"/>
  994. <Column id="jaegosum" type="STRING" size="256"/>
  995. </ColumnInfo>
  996. <Rows>
  997. <Row/>
  998. </Rows>
  999. </Dataset>
  1000. <Dataset id="ds_send_selstoc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onload="ds_send_selstoc_onload">
  1001. <ColumnInfo>
  1002. <Column id="drugcd" type="STRING" size="256"/>
  1003. <Column id="prcpno" type="STRING" size="256"/>
  1004. <Column id="drugno" type="STRING" size="256"/>
  1005. <Column id="pat_id_no" type="STRING" size="256"/>
  1006. <Column id="seltype" type="STRING" size="256"/>
  1007. <Column id="drugdd" type="STRING" size="256"/>
  1008. <Column id="pid" type="STRING" size="256"/>
  1009. </ColumnInfo>
  1010. <Rows>
  1011. <Row/>
  1012. </Rows>
  1013. </Dataset>
  1014. </Objects>
  1015. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1016. * System Name :
  1017. * Job Name :
  1018. * Creator :
  1019. * Make Date : 2018-03-08
  1020. * Description :
  1021. ****************************************************************************************/
  1022. //=======================================================================================
  1023. // Lib Include
  1024. //---------------------------------------------------------------------------------------
  1025. include "com_commonxp::comm_main.xjs"
  1026. include "ast_commonxp::AST.xjs"
  1027. var ArSendFlag = "";
  1028. var Arstorge_no = "";
  1029. function SMADT12003_oninit(obj:Form, e:InitEventInfo)
  1030. {
  1031. frmf_initForm(obj); // 폼 초기화
  1032. grdf_setGridSort(grd_narclist02);
  1033. grdf_setGridSort(grd_narclist01);
  1034. var Vdeptcd = ds_main_narclist_narclist.getColumn(0, "stocdeptcd");
  1035. if ( Vdeptcd == '3240300000') {
  1036. Arstorge_no = "S0002";
  1037. } else if ( Vdeptcd == '3240400000') {
  1038. Arstorge_no = "S0003";
  1039. } else if ( Vdeptcd == '3240807000') {
  1040. Arstorge_no = "S0004";
  1041. } else {
  1042. Arstorge_no = "S0001";
  1043. }
  1044. }
  1045. function SMADT12003_onload(obj:Form, e:LoadEventInfo)
  1046. {
  1047. ds_main_narclist_narclist.clearData()
  1048. ds_adnmstocorder.clearData();
  1049. ds_main_narclist_narclist.copyData(arg_ds_sendnarcstoc);
  1050. ArSendFlag = arg_flag ;
  1051. ds_send_prntinfo.clear();
  1052. dsf_copyColInfo(ds_send_prntinfo,ds_finddrugno);
  1053. ds_send_prntinfo.addRow();
  1054. ////Prcp , Rtn 넘어오는 Flag 값//
  1055. //alert(ArSendFlag) ;
  1056. for(var i = 0; i < ds_main_narclist_narclist.rowcount ; i++){
  1057. var Fpid = ds_main_narclist_narclist.getColumn(i, "pid");
  1058. var Fdrugdd = ds_main_narclist_narclist.getColumn(i, "drugdd");
  1059. var Fprcpdd = ds_main_narclist_narclist.getColumn(i, "prcpdd");
  1060. var Fprcpcd = ds_main_narclist_narclist.getColumn(i, "prcpcd");
  1061. var Forddd = ds_main_narclist_narclist.getColumn(i, "orddd");
  1062. var Fdrugno = ds_main_narclist_narclist.getColumn(i, "drugno");
  1063. var Fprcpno = ds_main_narclist_narclist.getColumn(i, "prcpno");
  1064. var Fioflag = ds_main_narclist_narclist.getColumn(i, "ioflag");
  1065. var Fprcphistno = ds_main_narclist_narclist.getColumn(i, "prcphistno");
  1066. var Fdrugseqno = ds_main_narclist_narclist.getColumn(i, "drugseqno");
  1067. var Fisdeptnm = ds_main_narclist_narclist.getColumn(i, "issdeptcdnm");
  1068. ds_send_prntinfo.setColumn(0,"pid" , Fpid );
  1069. ds_send_prntinfo.setColumn(0,"drugdd" , Fdrugdd );
  1070. ds_send_prntinfo.setColumn(0,"prcpdd" , Fprcpdd );
  1071. ds_send_prntinfo.setColumn(0,"orddd" , Forddd );
  1072. ds_send_prntinfo.setColumn(0,"drugno" , Fdrugno );
  1073. ds_send_prntinfo.setColumn(0,"prcpno" , Fprcpno );
  1074. ds_send_prntinfo.setColumn(0,"ioflag" , Fioflag );
  1075. ds_send_prntinfo.setColumn(0,"prcphistno" , Fprcphistno );
  1076. ds_send_prntinfo.setColumn(0,"drugseqno" , Fdrugseqno );
  1077. var sPrcpcd = ds_main_narclist_narclist.getColumn(i, "prcpcd"); // 처방코드명
  1078. var sPrcpno = ds_main_narclist_narclist.getColumn(i, "prcpno"); // 처방코드명
  1079. var sTotdrugqty = parseInt(ds_main_narclist_narclist.getColumn(i, "totdrugqty")); // 처방코드명
  1080. // alert(sPrcpcd);
  1081. ds_send_stoc.setColumn(0,"drugcd" , Fprcpcd );
  1082. ds_send_stoc.setColumn(0,"storge_no" , Arstorge_no );
  1083. ds_send_stoc.setColumn(0,"prcpno" , Fprcpno );
  1084. ds_send_stoc.setColumn(0,"pid" , Fpid );
  1085. var oParam = {};
  1086. oParam.id = "TRADT12007";
  1087. oParam.service = "pharmacydrugsumapp.NarcManagent";
  1088. oParam.method = "reqGetNarcStocOkList";
  1089. oParam.inds = "req=ds_send_stoc";
  1090. oParam.outds = "ds_adnmstoclist=stocdata";
  1091. oParam.async = false;
  1092. tranf_submit(oParam);
  1093. if ( ds_adnmstoclist.rowcount >= sTotdrugqty ){
  1094. ds_main_narclist_narclist.setColumn(i,"sel" , "Y" );
  1095. }else{
  1096. ds_main_narclist_narclist.setColumn(i,"sel" , "N" );
  1097. }
  1098. for(var k = 0; k < ds_adnmstoclist.rowcount ; k++){
  1099. var nRow = ds_adnmstocorder.addRow();
  1100. ds_adnmstocorder.copyRow(nRow, ds_adnmstoclist, k);
  1101. }
  1102. }
  1103. }
  1104. function Button00_onclick(obj:Button, e:ClickEventInfo)
  1105. {
  1106. this.close();
  1107. }
  1108. ]]></Script>
  1109. </Form>
  1110. </FDL>